:root {
  color-scheme: dark;
  --bg: #070909;
  --bg-raised: #0b0e0e;
  --panel: #0e1212;
  --panel-strong: #121717;
  --text: #f0f3ed;
  --text-soft: #b5bdb8;
  --muted: #89938e;
  --line: rgba(223, 235, 227, 0.14);
  --line-strong: rgba(223, 235, 227, 0.28);
  --accent: #b9ee72;
  --accent-ink: #10150b;
  --warning: #f0c278;
  --max: 1160px;
  --gutter: clamp(20px, 4vw, 52px);
  --font-display: "Aptos Display", "SF Pro Display", "Segoe UI Variable Display", "Avenir Next", system-ui, sans-serif;
  --font-body: "Aptos", "SF Pro Text", "Segoe UI Variable Text", system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(222, 235, 226, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(222, 235, 226, 0.026) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0, transparent 54rem);
}

::selection { background: var(--accent); color: var(--accent-ink); }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
strong { color: var(--text); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 9px 13px;
  background: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 70px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 9, 0.94);
  backdrop-filter: blur(16px);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.12em;
}
.brand-mark {
  width: 24px;
  height: 24px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line-strong);
}
.brand-mark span {
  display: block;
  height: 2px;
  background: var(--accent);
}
.brand-mark span:nth-child(2) { width: 72%; }
.brand-mark span:nth-child(3) { width: 46%; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-soft);
  font-size: 13px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover { color: var(--text); border-color: var(--accent); }
.header-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}
.header-action:hover { background: #c8f58b; }
.header-action:active { transform: translateY(1px); }

.trial-hero {
  min-height: calc(100dvh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(310px, 0.88fr);
  gap: clamp(42px, 8vw, 104px);
  align-items: center;
  padding-block: clamp(54px, 8vw, 88px);
}
.hero-copy { max-width: 670px; }
.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1 {
  margin-bottom: 23px;
  max-width: 670px;
  font-family: var(--font-display);
  font-size: clamp(48px, 6.8vw, 84px);
  font-weight: 710;
  letter-spacing: -0.062em;
  line-height: 0.96;
  text-wrap: balance;
}
.lede {
  max-width: 625px;
  margin-bottom: 28px;
  color: var(--text-soft);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 740;
  white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}
.button-primary:hover { background: #c8f58b; }
.button-secondary { color: var(--text); background: transparent; }
.button-secondary:hover { border-color: var(--accent); color: var(--accent); }
.button:active { transform: translateY(1px); }

.trial-brief {
  border: 1px solid var(--line-strong);
  background: var(--panel);
}
.brief-head {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line-strong);
}
.brief-head span {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.brief-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.brief-row:last-of-type { border-bottom: 0; }
.brief-row span { color: var(--text-soft); font-size: 13px; }
.brief-row strong {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}
.brief-row strong.accent { color: var(--accent); }
.brief-note {
  margin: 0;
  padding: 20px 22px;
  border-top: 1px solid var(--line-strong);
  background: rgba(185, 238, 114, 0.035);
  color: var(--muted);
  font-size: 12px;
}
.brief-note a { color: var(--text); border-bottom: 1px solid var(--accent); }

.page-section {
  padding-block: clamp(74px, 10vw, 120px);
  border-top: 1px solid var(--line);
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 6vw, 58px);
}
.section-head h2,
.eligibility-copy h2,
.faq-section h2 {
  margin-bottom: 17px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.7vw, 56px);
  font-weight: 690;
  letter-spacing: -0.048em;
  line-height: 1.02;
  text-wrap: balance;
}
.section-head p,
.eligibility-copy > p {
  max-width: 680px;
  color: var(--text-soft);
}

.trial-facts {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.fact {
  min-height: 240px;
  padding: 28px 26px 32px;
  border-right: 1px solid var(--line);
}
.fact:last-child { border-right: 0; }
.fact-marker {
  width: 30px;
  height: 3px;
  margin-bottom: 34px;
  background: var(--accent);
}
.fact h3 {
  margin-bottom: 13px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -0.025em;
}
.fact p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.timeline {
  max-width: 920px;
  border-top: 1px solid var(--line-strong);
}
.timeline-item {
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(26px, 6vw, 76px);
  padding: 27px 0 30px;
  border-bottom: 1px solid var(--line);
}
.timeline-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 660;
  letter-spacing: -0.03em;
}
.timeline-item p { margin: 0; color: var(--text-soft); }
code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.eligibility {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(40px, 9vw, 110px);
  align-items: start;
}
.eligibility-copy > p { margin-bottom: 0; }
.region-panel {
  border-left: 2px solid var(--warning);
  padding: 4px 0 4px 24px;
}
.region-panel h3 {
  margin-bottom: 10px;
  color: var(--warning);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.region-panel p { margin-bottom: 16px; color: var(--text-soft); font-size: 14px; }
.region-panel a {
  display: inline-block;
  margin: 0 16px 6px 0;
  color: var(--text);
  border-bottom: 1px solid var(--warning);
}

.needs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--line-strong);
}
.need {
  padding: 22px 24px 4px 0;
  color: var(--text-soft);
  font-size: 14px;
}
.need + .need { padding-left: 24px; border-left: 1px solid var(--line); }
.need strong { display: block; margin-bottom: 7px; }

.human-note {
  max-width: 920px;
  margin-top: 54px;
  padding: 22px 24px;
  border: 1px solid var(--line-strong);
  background: rgba(185, 238, 114, 0.035);
}
.human-note p { margin: 0; color: var(--text-soft); font-size: 14px; }

.faq-section {
  padding-block: clamp(74px, 10vw, 120px);
  border-top: 1px solid var(--line);
}
.faq-section h2 { margin-bottom: 38px; }
.faq-list { max-width: 880px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  padding: 22px 44px 22px 0;
  color: var(--text);
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 2px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 20px;
}
.faq-item[open] summary::after { content: "x"; }
.faq-item p {
  max-width: 720px;
  margin: 0;
  padding: 0 36px 22px 0;
  color: var(--text-soft);
  font-size: 14px;
}

.site-footer {
  padding-block: 52px 30px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.7fr);
  gap: 38px;
  padding-bottom: 42px;
}
.footer-brand p {
  max-width: 320px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.footer-col h3 {
  margin-bottom: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 8px 0;
  color: var(--text-soft);
  font-size: 13px;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .trial-hero { grid-template-columns: 1fr 0.72fr; gap: 36px; }
  .trial-facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  body::before { background-size: 32px 32px; }
  .site-header { height: 64px; }
  .header-action { min-height: 36px; padding-inline: 12px; }
  .trial-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 50px 68px;
  }
  h1 { font-size: clamp(44px, 14vw, 62px); }
  .button { width: 100%; }
  .trial-facts { grid-template-columns: 1fr; }
  .fact,
  .fact:nth-child(2),
  .fact:last-child {
    min-height: auto;
    grid-column: auto;
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .fact:first-child { border-top: 0; }
  .timeline-item { grid-template-columns: 1fr; gap: 12px; }
  .eligibility { grid-template-columns: 1fr; }
  .needs { grid-template-columns: 1fr; }
  .need + .need { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); backdrop-filter: none; }
}
