:root {
  color-scheme: dark;
  --navy-950: #030b12;
  --navy-900: #07131f;
  --navy-850: #0b1c2a;
  --teal: #46d7c7;
  --white: #f4f8fb;
  --mist: #b8cfdd;
  --muted: #9bb2c0;
  --line: rgba(184, 207, 221, 0.18);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 12%, rgba(70, 215, 199, 0.14), transparent 26rem),
    radial-gradient(circle at 14% 80%, rgba(100, 181, 246, 0.08), transparent 28rem),
    var(--navy-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 207, 221, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 207, 221, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.transition-card {
  position: relative;
  width: min(100%, 560px);
  overflow: hidden;
  padding: clamp(30px, 6vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(16, 40, 56, 0.9), rgba(7, 19, 31, 0.96));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.transition-card::after {
  position: absolute;
  top: -110px;
  right: -90px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(70, 215, 199, 0.16);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 48px rgba(70, 215, 199, 0.025);
}

.brand-lockup {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: clamp(42px, 8vw, 66px);
}

.brand-lockup img {
  width: 66px;
  height: auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.brand-copy span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
}

.status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--teal);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(70, 215, 199, 0.42);
  animation: pulse 1.2s ease-out infinite;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.supporting-copy {
  position: relative;
  z-index: 1;
  max-width: 430px;
  margin: 18px 0 30px;
  color: var(--mist);
  font-size: 0.98rem;
  line-height: 1.65;
}

.progress {
  position: relative;
  z-index: 1;
  height: 2px;
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 999px;
  background: rgba(184, 207, 221, 0.12);
}

.progress::after {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), #64b5f6);
  content: "";
  transform: translateX(-100%);
  animation: progress 1.1s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

.fallback {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.fallback span {
  color: var(--teal);
  transition: transform 160ms ease;
}

.fallback:hover span {
  transform: translateX(4px);
}

.fallback:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 6px;
  border-radius: 3px;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(70, 215, 199, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(70, 215, 199, 0);
  }
}

@keyframes progress {
  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 520px) {
  body {
    padding: 14px;
  }

  .transition-card {
    border-radius: 22px;
  }

  .brand-lockup {
    margin-bottom: 40px;
  }

  .brand-lockup img {
    width: 58px;
  }
}
