:root {
  --bg: #08090b;
  --surface: rgba(16, 18, 22, .82);
  --surface-strong: #111419;
  --text: #f5f5f0;
  --muted: #9b9ea6;
  --muted-2: #666a72;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.17);
  --accent: #b8ff2c;
  --accent-soft: rgba(184,255,44,.11);
  --danger: #ff9b9b;
  --max: 1420px;
  --gutter: clamp(18px, 3vw, 48px);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
html { overflow-x: hidden; overflow-y: auto; }
body {
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::selection { background: var(--accent); color: #08090b; }
a { color: inherit; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--accent);
  color: #08090b;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.page-shell { min-height: 100svh; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  margin: 0 auto;
  padding-top: clamp(18px, 3vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.brand{ pointer-events: auto; }
.brand {
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
}
.brand span { color: var(--accent); }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(184,255,44,.7);
}

.hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-background { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 73% 48%, rgba(184,255,44,.12), transparent 25%),
    radial-gradient(circle at 10% 78%, rgba(75,100,255,.08), transparent 30%),
    linear-gradient(125deg, #07080a 0%, #0a0c0f 50%, #08090b 100%);
}
.grid {
  position: absolute;
  inset: -20%;
  opacity: .23;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 58px 58px;
  transform: perspective(700px) rotateX(60deg) translateY(18%);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, rgba(0,0,0,.8), transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(20px); }
.glow-one { width: 34vw; height: 34vw; right: 3vw; top: 16vh; background: rgba(184,255,44,.06); }
.glow-two { width: 30vw; height: 30vw; left: -12vw; bottom: -15vw; background: rgba(77,93,255,.05); }
.ring {
  position: absolute;
  border: 1px solid rgba(184,255,44,.12);
  border-radius: 50%;
  transform: rotateX(68deg);
}
.ring-one { width: min(42vw, 600px); aspect-ratio: 1; right: 5%; top: 25%; }
.ring-two { width: min(28vw, 420px); aspect-ratio: 1; right: 13%; top: 35%; border-color: rgba(255,255,255,.06); }

.hero-layout {
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(86px, 9vh, 110px) 0 clamp(48px, 6vh, 70px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
}

.hero-copy { min-width: 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 clamp(16px, 2vh, 26px);
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow > span { width: 24px; height: 1px; background: var(--accent); }

.headline-wrap { position: relative; }
/* Keep the content below the animated title in a stable position. */
.headline-wrap h1 { min-height: 1.84em; }
h1 {
  max-width: 890px;
  margin: 0;
  font-size: clamp(44px, 6.8vw, 98px);
  line-height: .92;
  letter-spacing: -.06em;
  font-weight: 700;
}
h1 em, h2 em { color: var(--accent); font-style: normal; }
.headline-count {
  position: absolute;
  top: 8px;
  right: 0;
  color: #fff;
  font-size: 10px;
  letter-spacing: .1em;
}
#headline-current { color: var(--text); }
.headline-timeline {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 330px);
  margin-top: 25px;
}
.headline-step {
  display: grid;
  grid-template-columns: minmax(20px, 1fr) auto;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  cursor: pointer;
  text-align: left;
}
.headline-step-track {
  display: block;
  height: 2px;
  overflow: hidden;
  background: #34373d;
}
.headline-step-progress {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width 220ms ease;
}
.headline-step.is-active .headline-step-progress { width: 100%; }
.headline-step-label { font-size: 9px; letter-spacing: .08em; }
.headline-step.is-active .headline-step-label,
.headline-step:hover .headline-step-label,
.headline-step:focus-visible .headline-step-label { color: var(--text); }
.headline-step:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.hero-description {
  max-width: 730px;
  margin: clamp(22px, 3vh, 34px) 0 0;
  color: #c2c5ca;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.55;
  min-height: 4.65em;
}

.expectation {
  margin-top: clamp(20px, 3vh, 32px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.expectation > span { color: var(--accent); font-weight: 800; }
.expectation-items { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.expectation b { color: #b7bac0; font-weight: 600; }
.expectation i { width: 3px; height: 3px; border-radius: 50%; background: #4d5056; }

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(28px, 4vh, 44px);
  border-top: 1px solid var(--line);
}
.benefit {
  min-width: 0;
  padding: 16px 18px 0 0;
}
.benefit + .benefit { padding-left: 18px; border-left: 1px solid var(--line); }
.benefit-number { display: block; color: var(--accent); font-size: 9px; letter-spacing: .12em; margin-bottom: 10px; }
.benefit strong { display: block; font-size: 13px; line-height: 1.25; }
.benefit small { display: block; margin-top: 6px; color: var(--muted-2); font-size: 11px; line-height: 1.45; }

.signup-card {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(20,23,28,.93), rgba(13,15,18,.95));
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  box-shadow: 0 24px 90px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.04);
}
.signup-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(184,255,44,.03), 0 0 60px rgba(184,255,44,.05);
}
.signup-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.signup-label { color: var(--muted-2); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.signup-mark { color: var(--accent); font-size: 18px; }
.signup-card h2 {
  margin: clamp(22px, 3vh, 30px) 0 12px;
  font-size: clamp(29px, 3vw, 43px);
  line-height: .97;
  letter-spacing: -.045em;
}
.signup-card > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.signup-form { margin-top: 24px; }
.field label { display: block; margin-bottom: 8px; color: #c7c9cd; font-size: 11px; font-weight: 700; }
.field input[type="email"] {
  display: block;
  width: 100%;
  height: 53px;
  padding: 0 15px;
  border: 1px solid #2a2e35;
  border-radius: 12px;
  outline: none;
  background: #0a0c0f;
  color: var(--text);
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input[type="email"]::placeholder { color: #5f636b; }
.field input[type="email"]:focus { border-color: var(--accent); background: #0b0e10; box-shadow: 0 0 0 3px rgba(184,255,44,.08); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.consent { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0; color: #777b83; font-size: 10px; line-height: 1.45; }
.consent input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.consent a { color: #b8bbc1; }
.submit-button {
  width: 100%;
  min-height: 53px;
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--accent);
  color: #08090b;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  transition: transform .18s ease, filter .18s ease;
}
.submit-button:hover { transform: translateY(-2px); filter: brightness(1.05); }
.submit-button:active { transform: translateY(0); }
.submit-button:disabled { opacity: .65; cursor: wait; transform: none; }
.submit-button b { font-size: 18px; font-weight: 500; }
.button-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(8,9,11,.25);
  border-top-color: #08090b;
  border-radius: 50%;
}
.signup-form.is-submitting .button-spinner { display: inline-block; animation: submit-spinner .75s linear infinite; }
.signup-form.is-submitting .button-arrow { display: none; }
@keyframes submit-spinner { to { transform: rotate(360deg); } }
.form-status { min-height: 18px; margin: 9px 0 0; font-size: 11px; }
.form-status.is-loading { color: #c2c5ca; }
.form-status.is-success { color: var(--accent); }
.form-status.is-error { color: var(--danger); }

.newsletter-result {
  width: min(680px, calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 12vh 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.newsletter-result .eyebrow { margin-top: 56px; }
.newsletter-result h1 { margin: 0; font-size: clamp(40px, 8vw, 76px); line-height: .98; letter-spacing: -.055em; }
.newsletter-result [role="status"] { max-width: 560px; margin: 24px 0; color: var(--muted); }
.newsletter-result > a:last-child { color: var(--accent); }
.newsletter-result[data-state="error"] > a:last-child { color: var(--text); }
body:has(.newsletter-result), html:has(.newsletter-result) { min-height: 100%; overflow: auto; }

.hero-footer {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(16px, 2.5vh, 28px);
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #555961;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-footer a { color: inherit; text-decoration: none; }
.hero-footer a:hover { color: var(--text); }

@media (max-width: 980px) {
  html, body { overflow-x: hidden; overflow-y: auto; }
  .hero { min-height: 100svh; overflow: hidden; }
  .hero-layout { min-height: 100svh; grid-template-columns: 1fr; padding-top: 86px; padding-bottom: 54px; }
  .signup-card { max-width: 620px; width: 100%; }
  .hero-footer { position: static; width: min(calc(100% - (var(--gutter) * 2)), var(--max)); margin: 0 auto; padding: 0 0 18px; }
  .ring-one { right: -14%; top: 22%; width: 60vw; }
  .ring-two { right: 0; top: 34%; width: 45vw; }
}

@media (max-width: 620px) {
  .hero-layout { gap: 28px; padding-top: 85px; }
  h1 { font-size: clamp(41px, 12.5vw, 64px); }
  .headline-count { top: -20px; right: 2px; }
  .headline-timeline { margin-top: 18px; }
  .hero-description { min-height: 6.2em; font-size: 14px; }
  .expectation { gap: 10px; }
  .hero-layout { gap: 18px; padding-top: 72px; padding-bottom: 44px; }
  .hero-description { min-height: 6.2em; margin-top: 14px; font-size: 13px; }
  .expectation { margin-top: 14px; font-size: 8px; line-height: 1.4; }
  .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; }
  .benefit, .benefit + .benefit { padding: 9px 8px 0 0; border-left: 0; }
  .benefit + .benefit { border-left: 1px solid var(--line); padding-left: 8px; }
  .benefit-number { margin-bottom: 5px; font-size: 8px; }
  .benefit strong { font-size: 10px; }
  .benefit small { margin-top: 3px; font-size: 8px; line-height: 1.3; }
  .signup-card { padding: 18px; }
  .signup-card h2 { margin-top: 14px; font-size: 27px; }
  .signup-card > p { font-size: 11px; line-height: 1.4; }
  .signup-form { margin-top: 13px; }
  .field label { margin-bottom: 5px; font-size: 10px; }
  .field input[type="email"], .submit-button { min-height: 46px; height: 46px; }
  .consent { margin: 9px 0; font-size: 8px; }
  .signup-card { border-radius: 17px; }
  .hero-footer { align-items: flex-start; flex-wrap: wrap; line-height: 1.5; }
}

@media (max-height: 760px) and (min-width: 981px) {
  .hero-layout { padding-top: 74px; padding-bottom: 46px; }
  .hero-description { margin-top: 18px; }
  .expectation { margin-top: 18px; }
  .benefits { margin-top: 24px; }
  .signup-card h2 { margin-top: 19px; }
  .signup-form { margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .signup-form.is-submitting .button-spinner { animation: none; }
}

/* Legal pages contain long text and must scroll independently of the landing hero. */
html.legal-document {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
body.legal-page {
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
}
.legal-main {
  min-height: calc(100svh - 70px);
  padding: clamp(112px, 15vh, 150px) 0 48px;
}
.legal-container {
  width: min(880px, calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}
.legal-title {
  max-width: 100%;
  font-size: clamp(2.35rem, 8vw, 5.25rem);
  line-height: 1;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.legal-copy {
  max-width: 760px;
  margin-top: clamp(24px, 5vw, 38px);
  color: #c2c5ca;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.legal-copy p { margin: 0 0 1.15em; }
.legal-copy a { color: var(--accent); text-underline-offset: .18em; }
.legal-copy code {
  color: var(--text);
  font-family: inherit;
  font-size: .95em;
  overflow-wrap: anywhere;
}
.legal-footer {
  width: min(880px, calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: 20px 0 max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--muted-2);
  font-size: 12px;
}
.legal-footer a { color: var(--text); text-underline-offset: .18em; }
