:root {
  --basic-bg-color-1: #1e1e1e;
  --text-color-1: #ffffff;
  --text-color-2: #b7b7b7;
  --link-color: #36a1e3;
  --banner-text-color: #191919;
  --banner-perimeter-color: #93456e;
  --signin-wrapper-border-glow-gradient: radial-gradient(
    100% 100% at 0% 0%,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.32) 14%,
    rgba(255, 255, 255, 0.16) 28%,
    rgba(255, 255, 255, 0.08) 40%,
    rgba(255, 255, 255, 0.02) 64%,
    rgba(255, 255, 255, 0) 74%,
    rgba(255, 255, 255, 0) 100%
  );
  --signin-wrapper-border-line-gradient: linear-gradient(
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.06)
  );
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-color-1);
  background: #080708;
}

.banner {
  backface-visibility: hidden;
  color: var(--banner-text-color);
  display: block;
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transform: translate3d(0, -8px, 0);
  transform-origin: center top;
  width: 100vw;
  z-index: 0;
}

.banner__perimeter {
  fill: none;
  stroke: var(--banner-perimeter-color);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 0.01 960;
  animation: banner-perimeter-run 60s linear infinite;
}

@keyframes banner-perimeter-run {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -1920;
  }
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 16px;
  overflow: hidden;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(100%, 596px);
  min-height: min(100%, 640px);
  padding: 24px;
  text-align: center;
  background: var(--basic-bg-color-1);
  border-radius: 0;
}

@media (min-width: 768px) {
  .card {
    border: 1px solid transparent;
    border-radius: 4px;
    background:
      linear-gradient(var(--basic-bg-color-1), var(--basic-bg-color-1)) padding-box,
      var(--signin-wrapper-border-glow-gradient) border-box,
      var(--signin-wrapper-border-line-gradient) border-box;
  }
}

.card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
}

.card__logo {
  width: 220px;
  height: 75px;
}

.card__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 424px;
}

.card__illustration {
  display: block;
  width: 175px;
  height: 175px;
}

.card__title {
  margin: 0;
  max-width: 424px;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.card__subtitle {
  margin: 0;
  max-width: 424px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: var(--text-color-2);
}

.card__support {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin: 24px auto 0;
  padding: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: var(--text-color-2);
  text-align: center;
}

.card__support svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--text-color-2);
}

.card__support a {
  color: #93456e;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

.card__support a:hover {
  text-decoration: underline;
}

a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .banner {
    display: none;
  }

  .page {
    padding: 0;
    align-items: stretch;
  }

  .card {
    width: 100%;
    min-height: 100%;
    padding: 12px;
    border-radius: 0;
  }

  .card__content {
    justify-content: space-between;
  }

  .card__heading {
    margin-top: auto;
  }

  .card__subtitle {
    margin-bottom: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner__perimeter {
    animation: none;
    display: none;
  }
}
