:root {
  --ink: #f5f7f2;
  --muted: #a7ada4;
  --quiet: #808880;
  --ground: #090c12;
  --ground-soft: #0d1119;
  --panel: #111720;
  --panel-light: #171e28;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --signal: #a8ff4f;
  --signal-dark: #79c933;
  --danger: #ff8d7b;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  --radius: 18px;
  --shell: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 12%, rgba(168, 255, 79, 0.08), transparent 27rem),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: auto, 52px 52px, 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

::selection { background: var(--signal); color: #0a0d09; }

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

button, input, select, textarea { font: inherit; }

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--signal);
  color: #071006;
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(9, 12, 18, 0.78);
  backdrop-filter: blur(18px);
  transition: border-color .2s ease, background .2s ease;
}

.site-header.scrolled,
.compact-header { border-bottom-color: var(--line); background: rgba(9, 12, 18, .94); }

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand-mark { width: 31px; height: 31px; }
.brand-mark path { fill: none; stroke: var(--signal); stroke-width: 3.2; stroke-linecap: round; }

nav { display: flex; align-items: center; gap: 28px; }
nav a { color: #c6cbc3; font-size: .85rem; font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--ink); }

.nav-cta {
  padding: 9px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.nav-cta:hover { border-color: var(--signal); color: var(--signal); }

.hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 96px 0 112px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--signal);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow span { width: 29px; height: 1px; background: currentColor; }

h1, h2, h3, p { overflow-wrap: break-word; }

h1, h2, h3 {
  margin-top: 0;
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.hero h1 { max-width: 780px; margin-bottom: 28px; font-size: clamp(3.15rem, 6.3vw, 6rem); }
.hero h1 em { color: var(--signal); font-style: normal; }
.hero-lede { max-width: 650px; margin: 0; color: #b7bdb4; font-size: clamp(1.05rem, 1.5vw, 1.3rem); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 820;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--signal); color: #071006; }
.button-primary:hover { background: #bdff7a; }
.button-secondary { border-color: var(--line-strong); background: rgba(255,255,255,.025); color: var(--ink); }
.button-secondary:hover { border-color: rgba(255,255,255,.45); }

.hero-note { margin: 24px 0 0; color: var(--quiet); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.hero-note span { margin-right: 8px; color: var(--signal); }

.signal-card {
  position: relative;
  padding: 21px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(24,31,41,.98), rgba(12,16,23,.98));
  box-shadow: var(--shadow);
}

.signal-card::before {
  position: absolute;
  z-index: -1;
  inset: -35px;
  content: "";
  border-radius: 50%;
  background: rgba(168,255,79,.08);
  filter: blur(48px);
}

.signal-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; color: #e6eae4; font-size: .72rem; font-weight: 850; letter-spacing: .14em; }
.live-pill { padding: 6px 9px; border: 1px solid rgba(168,255,79,.32); border-radius: 999px; color: var(--signal); font-size: .57rem; }
.track { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; }
.track strong, .track small { display: block; }
.track strong { color: #edf0eb; font-size: .86rem; letter-spacing: -.01em; }
.track small { margin-top: 2px; color: var(--quiet); font-size: .68rem; }
.track-number { color: var(--quiet); font-size: .62rem; font-weight: 800; letter-spacing: .08em; }
.track.current { min-height: 92px; margin-bottom: 20px; background: rgba(255,255,255,.025); }
.bars { height: 34px; display: flex; align-items: center; gap: 3px; }
.bars i { width: 3px; border-radius: 2px; background: var(--signal); opacity: .8; }
.bars i:nth-child(1) { height: 30%; }
.bars i:nth-child(2) { height: 75%; }
.bars i:nth-child(3) { height: 100%; }
.bars i:nth-child(4) { height: 55%; }
.bars i:nth-child(5) { height: 85%; }
.signal-label { margin: 0 0 8px; color: var(--quiet); font-size: .59rem; font-weight: 850; letter-spacing: .13em; }
.track.option { margin-top: 8px; padding-block: 13px; }
.track.option.selected { border-color: rgba(168,255,79,.45); background: rgba(168,255,79,.055); }
.fit { color: #929991; font-size: .53rem; font-weight: 850; letter-spacing: .09em; }
.selected .fit { color: var(--signal); }
.signal-decision { margin: 19px 0 0; color: #828981; font-size: .72rem; text-align: center; }
.signal-decision strong { color: var(--signal); }

.section { padding: clamp(84px, 10vw, 140px) 0; }
.section-heading { max-width: 760px; margin-bottom: 55px; }
.section-heading h2, .beta h2, .apply h2 { margin-bottom: 20px; font-size: clamp(2.35rem, 4.6vw, 4.4rem); }
.section-heading > p:last-child { max-width: 600px; margin: 0; color: var(--muted); font-size: 1.08rem; }

.workflow { background: var(--ground-soft); border-bottom: 1px solid var(--line); }
.workflow-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin: 0;
  padding: 1px;
  border-radius: var(--radius);
  background: var(--line);
  list-style: none;
  overflow: hidden;
}

.workflow-line li { position: relative; min-height: 170px; padding: 25px 20px; background: #10161f; }
.workflow-line li:not(:last-child)::after { position: absolute; z-index: 2; top: 50%; right: -9px; content: "→"; color: var(--signal); font-size: .8rem; transform: translateY(-50%); }
.workflow-line span, .workflow-line strong, .workflow-line small { display: block; }
.workflow-line span { margin-bottom: 28px; color: var(--quiet); font-size: .62rem; font-weight: 850; letter-spacing: .1em; }
.workflow-line strong { font-size: 1rem; letter-spacing: -.02em; text-transform: uppercase; }
.workflow-line small { margin-top: 7px; color: var(--quiet); font-size: .67rem; line-height: 1.4; }
.workflow-line .decide { background: var(--signal); color: #081006; }
.workflow-line .decide span, .workflow-line .decide small { color: rgba(8,16,6,.65); }
.control-note { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 19px 23px; border: 1px solid var(--line); border-radius: 11px; }
.control-note svg { width: 28px; min-width: 28px; fill: none; stroke: var(--signal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.control-note p { margin: 0; color: var(--muted); font-size: .88rem; }
.control-note strong { color: var(--ink); }

.features { border-bottom: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-card { min-height: 265px; padding: 33px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, rgba(23,30,40,.8), rgba(13,17,24,.8)); }
.feature-card:hover { border-color: rgba(168,255,79,.35); }
.feature-index { display: block; margin-bottom: 58px; color: var(--signal); font-size: .62rem; font-weight: 850; letter-spacing: .12em; }
.feature-card h3 { margin-bottom: 13px; font-size: 1.55rem; }
.feature-card p { max-width: 540px; margin: 0; color: var(--muted); }
.feature-wide { grid-column: 1 / -1; min-height: 220px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.feature-wide .feature-index { align-self: flex-start; margin: 0; }
.local-badge { align-self: center; padding: 9px 13px; border: 1px solid rgba(168,255,79,.3); border-radius: 999px; color: var(--signal); font-size: .61rem; font-weight: 850; letter-spacing: .11em; white-space: nowrap; }

.beta { background: #0d121a; border-bottom: 1px solid var(--line); }
.beta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(60px, 9vw, 130px); align-items: start; }
.beta-copy > p:not(.eyebrow) { max-width: 660px; color: var(--muted); font-size: 1.05rem; }
.cohort { padding: 33px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.cohort h3 { margin-bottom: 23px; font-size: 1.2rem; }
.cohort ul { margin: 0; padding: 0; list-style: none; }
.cohort li { position: relative; padding: 12px 0 12px 27px; border-top: 1px solid var(--line); color: #c0c6bd; font-size: .9rem; }
.cohort li::before { position: absolute; left: 2px; content: "✓"; color: var(--signal); font-weight: 900; }
.cohort > p { margin: 22px 0 0; color: var(--quiet); font-size: .77rem; }

.apply { border-bottom: 1px solid var(--line); }
.apply-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(55px, 8vw, 110px); align-items: start; }
.apply-intro { position: sticky; top: 120px; }
.apply-intro > p:not(.eyebrow) { color: var(--muted); }
.application-facts { margin-top: 37px; padding-top: 14px; border-top: 1px solid var(--line); }
.application-facts p { margin: 19px 0; color: var(--quiet); font-size: .79rem; }
.application-facts strong { color: var(--ink); font-size: .86rem; }
.form-card { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
fieldset { margin: 0 0 41px; padding: 0; border: 0; }
legend { width: 100%; margin-bottom: 23px; padding-bottom: 11px; border-bottom: 1px solid var(--line); color: var(--signal); font-size: .74rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; color: #d7dcd4; font-size: .77rem; font-weight: 760; }
.field label span { color: var(--signal); }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #39414d;
  border-radius: 7px;
  background: #0b1017;
  color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #616b62; }
input:hover, select:hover, textarea:hover { border-color: #56606d; }
input:focus, select:focus, textarea:focus { border-color: var(--signal); outline: 2px solid rgba(168,255,79,.19); outline-offset: 0; }
.consent-field { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; margin: 0 0 24px; }
.consent-field input { width: 18px; min-height: 18px; margin: 3px 0 0; accent-color: var(--signal); }
.consent-field label { color: var(--muted); font-size: .76rem; }
.consent-field a { color: var(--ink); }
.submit-button { width: 100%; border: 0; }
.submit-button[disabled] { cursor: wait; opacity: .65; transform: none; }
.form-status { min-height: 1.5em; margin: 12px 0 0; color: var(--danger); font-size: .8rem; }
.success-panel { padding: 58px 20px; text-align: center; }
.success-panel:focus { outline: none; }
.success-panel h3 { margin: 18px 0 13px; font-size: 2rem; }
.success-panel p { max-width: 500px; margin: 9px auto; color: var(--muted); }
.success-icon { width: 53px; height: 53px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--signal); color: #071006; font-size: 1.5rem; font-weight: 900; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.faq { background: var(--ground-soft); }
.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(50px, 8vw, 120px); align-items: start; }
.faq-grid .section-heading { position: sticky; top: 120px; margin: 0; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 48px 24px 0; cursor: pointer; font-size: 1.03rem; font-weight: 760; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 22px; right: 3px; content: "+"; color: var(--signal); font-size: 1.45rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -4px 0 25px; padding-right: 40px; color: var(--muted); font-size: .9rem; }
.faq-list details a { color: var(--signal); }

.site-footer { padding: 62px 0 29px; background: #070a0f; }
.footer-grid { display: flex; justify-content: space-between; gap: 50px; padding-bottom: 50px; }
.footer-grid > div:first-child p { color: var(--quiet); font-size: .84rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 38px; }
.footer-links a { color: var(--muted); font-size: .79rem; text-decoration: none; }
.footer-links a:hover { color: var(--signal); }
.legal-line { display: flex; justify-content: space-between; gap: 40px; padding-top: 25px; border-top: 1px solid var(--line); }
.legal-line p { max-width: 750px; margin: 0; color: var(--quiet); font-size: .68rem; }
.legal-line p:last-child { flex: 0 0 auto; }

.legal-page { min-height: 72vh; padding: 105px 0; }
.legal-content { max-width: 780px; }
.legal-content h1 { margin-bottom: 22px; font-size: clamp(2.7rem, 6vw, 5rem); }
.legal-content h2 { margin: 43px 0 10px; font-size: 1.35rem; letter-spacing: -.025em; }
.legal-content p { color: var(--muted); }
.legal-content .legal-intro { color: #d2d7cf; font-size: 1.2rem; }
.legal-caveat { margin: 45px 0 30px; padding: 20px; border-left: 2px solid var(--signal); background: rgba(168,255,79,.045); font-size: .85rem; }
.simple-footer { padding-top: 30px; }

.status-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; }
.status-wrap { width: min(600px, 100%); }
.status-card { padding: clamp(35px, 7vw, 70px); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel); text-align: center; box-shadow: var(--shadow); }
.centered-brand { margin-bottom: 45px; }
.status-card h1 { margin: 22px 0 14px; font-size: clamp(2.2rem, 6vw, 3.5rem); }
.status-card p { color: var(--muted); }
.status-card .button { margin-top: 18px; }

.reveal { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
.motion-ready .reveal { opacity: 0; transform: translateY(12px); }
.motion-ready .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 75px; }
  .hero-grid { grid-template-columns: 1fr; }
  .signal-card { width: min(620px, 100%); }
  .workflow-line { grid-template-columns: 1fr; overflow: visible; }
  .workflow-line li { min-height: auto; display: grid; grid-template-columns: 44px 1fr; padding: 20px; }
  .workflow-line li:not(:last-child)::after { top: auto; right: 22px; bottom: -10px; transform: rotate(90deg); }
  .workflow-line span { grid-row: 1 / span 2; margin: 3px 0 0; }
  .workflow-line small { grid-column: 2; }
  .feature-wide { align-items: flex-start; flex-wrap: wrap; }
  .beta-grid, .apply-grid, .faq-grid { grid-template-columns: 1fr; }
  .apply-intro, .faq-grid .section-heading { position: static; }
  .application-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 28px, 1160px); }
  body { font-size: 16px; }
  .nav-wrap { min-height: 67px; }
  nav { gap: 16px; }
  nav a:not(.nav-cta) { display: none; }
  .hero { padding: 67px 0 85px; }
  .hero h1 { font-size: clamp(2.8rem, 13.5vw, 4.5rem); }
  .track { grid-template-columns: 34px 1fr; }
  .track > :last-child { grid-column: 2; }
  .bars { display: none; }
  .control-note { align-items: flex-start; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; }
  .feature-card { min-height: 230px; padding: 26px; }
  .feature-index { margin-bottom: 43px; }
  .form-row, .application-facts { grid-template-columns: 1fr; gap: 0; }
  .footer-grid, .legal-line { flex-direction: column; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .legal-line { gap: 12px; }
}

@media (max-width: 390px) {
  .brand { font-size: .9rem; }
  .nav-cta { padding: 7px 13px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .signal-card { padding: 14px; }
  .signal-top { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .actions, .submit-button { display: none; }
  body { background: white; color: black; }
}
