:root {
  --bg:        #0a0b0d;
  --bg-2:      #0f1115;
  --panel:     #14171d;
  --line:      #1f242d;
  --line-2:    #2a3240;
  --ink:       #e8ebf0;
  --ink-dim:   #9aa3b2;
  --ink-mute:  #7a8499;   /* bumped from #5f6876 for WCAG AA against --bg (~5.3:1) */
  --accent:     #d4ff3a;   /* lime — reserved for primary CTA, positive chips, progress bar */
  --accent-dim: #8aa828;   /* hover/dark companion to accent */
  --accent-mute:#b6c08a;   /* desaturated sage — decorative labels, eyebrow, italic ems */
  --danger:    #ff6b5c;
  --ok:        #6cd4a8;
  --warn:      #ffb84d;

  --serif: "Instrument Serif", "Apple Garamond", Georgia, serif;
  --sans:  "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 4px;
  --r:    8px;
  --r-lg: 14px;

  --grid-max: 1200px;
  --pad-x: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

/* keyboard focus indicator — only shown for keyboard navigation, not mouse clicks */
:focus { outline: none; }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
.waitlist input:focus-visible { outline: none; } /* form-level :focus-within indicator */

/* ------- subtle grid + noise background ------- */
.bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(212,255,58,.06), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(60,80,120,.08), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 100%);
}
.bg::after {
  content: ""; position: absolute; inset: 0; opacity: .35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.25'/></svg>");
}

.wrap { max-width: var(--grid-max); margin: 0 auto; padding: 0 var(--pad-x); }

/* ---------- NAV ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(10,11,13,.7);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  letter-spacing: -.01em; color: var(--ink);
  text-decoration: none;
}
.logo-mark {
  width: 22px; height: 22px;
  display: grid; place-items: center;
}
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-word { font-family: var(--sans); font-weight: 600; }
.logo-word em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); margin-right: 1px;}
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-right a {
  color: var(--ink-dim); text-decoration: none; font-size: 14px;
  transition: color .15s ease;
}
.nav-right a:hover { color: var(--ink); }
.btn-nav {
  padding: 7px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  color: var(--ink); font-size: 13px; font-weight: 500;
  transition: border-color .15s ease, background .15s ease;
}
.btn-nav:hover { border-color: var(--accent); background: rgba(212,255,58,.06); }

/* ---------- HERO ---------- */
.hero {
  padding: clamp(80px, 14vh, 140px) 0 clamp(60px, 10vh, 100px);
  position: relative;
}
.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-mute);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .5; transform: scale(.85); }
  50%      { opacity: 1;  transform: scale(1); }
}

h1 {
  font-family: var(--sans);
  font-size: clamp(38px, 5.6vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.035em;
  margin: 0 0 28px;
  max-width: 26ch;
  text-wrap: balance;
}
h1 .serif {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-top: 4px;
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-dim);
  max-width: 54ch;
  line-height: 1.5;
  margin: 0 0 44px;
  font-weight: 300;
}
.hero-sub strong { color: var(--ink); font-weight: 500; }

/* waitlist form */
.waitlist {
  display: flex; align-items: stretch;
  max-width: 460px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
  background: rgba(20,23,29,.6);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.waitlist:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(212,255,58,.1);
}
.waitlist input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--ink); font-family: var(--sans); font-size: 15px;
  padding: 14px 16px;
}
.waitlist input::placeholder { color: var(--ink-mute); }
.waitlist button {
  background: var(--accent); color: #0a0b0d;
  border: 0; font-family: var(--sans); font-weight: 600; font-size: 14px;
  padding: 0 22px; cursor: pointer;
  letter-spacing: -.005em;
  transition: background .15s ease, transform .15s ease;
}
.waitlist button:hover { background: #e4ff5a; }
.waitlist button:active { transform: scale(.98); }
.waitlist-meta {
  margin-top: 14px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-mute);
  display: flex; align-items: center; gap: 10px;
}
.waitlist-meta .dot { width: 3px; height: 3px; background: var(--ink-mute); border-radius: 50%; }
.waitlist-status {
  margin: 14px 0 0;
  font-family: var(--mono); font-size: 12px; color: var(--ok);
  line-height: 1.5;
  outline: none;
}
.waitlist-status:empty { display: none; }
/* Turnstile widget container — width-matched to the form, normal flow alignment.
   Centered variant under .cta is set in the CTA section below. */
.waitlist-turnstile {
  margin-top: 12px;
  max-width: 460px;
  min-height: 65px; /* prevents layout jump while Turnstile script loads */
}

/* ---------- PRODUCT VISUAL ---------- */
.product {
  margin-top: clamp(60px, 8vh, 100px);
  position: relative;
}
.product-frame {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,.03) inset,
    0 40px 80px -20px rgba(0,0,0,.6),
    0 0 0 1px rgba(212,255,58,.04);
}
.chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
}
.dots { display: flex; gap: 6px; }
.dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line-2);
}
.chrome-title {
  font-family: var(--mono); font-size: 12px; color: var(--ink-mute);
  margin-left: 8px;
}
.chrome-right {
  margin-left: auto; display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-mute);
}
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 10.5px;
}
.status-pill::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 6px var(--ok);
}

.tui {
  display: grid;
  grid-template-columns: 1fr 360px;
  min-height: 460px;
}
.tui-main {
  padding: 24px 28px;
  font-family: var(--mono); font-size: 13px; line-height: 1.6;
  color: var(--ink-dim);
  border-right: 1px solid var(--line);
  overflow: hidden;
}
.tui-side {
  padding: 20px; background: rgba(255,255,255,.015);
}
.tui-line { display: flex; gap: 10px; }
.tui-line .prompt { color: var(--accent-dim); }
.tui-line .text { color: var(--ink); }
.tui-line + .tui-line { margin-top: 4px; }

.tool-call {
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: rgba(0,0,0,.25);
}
.tool-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.tool-tag {
  font-family: var(--mono); font-weight: 600; letter-spacing: .02em;
  padding: 2px 8px; border-radius: var(--r-sm);
  font-size: 10.5px;
}
.tool-tag.bash { background: rgba(255,184,77,.12); color: var(--warn); border: 1px solid rgba(255,184,77,.25); }
.tool-tag.edit { background: rgba(108,212,168,.12); color: var(--ok); border: 1px solid rgba(108,212,168,.25); }
.tool-tag.net  { background: rgba(255,107,92,.12); color: var(--danger); border: 1px solid rgba(255,107,92,.25); }
.tool-desc { color: var(--ink); font-family: var(--mono); font-size: 12px; }
.tool-body { padding: 12px 14px; font-size: 12.5px; color: var(--ink-dim); }
.tool-body code {
  display: block; color: var(--ink);
  font-family: var(--mono); font-size: 12px;
  padding: 8px 10px; background: rgba(0,0,0,.4);
  border-left: 2px solid var(--accent-mute); border-radius: 0 4px 4px 0;
  white-space: pre;
  overflow-x: auto;
}
.tool-actions {
  display: flex; gap: 8px; padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.01);
}
.tool-btn {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  padding: 5px 10px; border-radius: var(--r-sm); cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink-dim);
}
.tool-btn.primary { background: var(--accent); color: #0a0b0d; border-color: var(--accent); font-weight: 600; }
.tool-btn.deny { color: var(--danger); border-color: rgba(255,107,92,.3); }

/* tool-call state variants */
.tool-status {
  margin-left: auto;
  font-family: var(--mono); font-size: 11px;
}
.tool-status.ok     { color: var(--ok); }
.tool-status.warn   { color: var(--warn); }
.tool-status.danger { color: var(--danger); }

.tool-call.warn {
  border-color: rgba(255,184,77,.35);
  box-shadow: 0 0 0 1px rgba(255,184,77,.08);
}
.tool-call.blocked {
  border-color: rgba(255,107,92,.3);
  opacity: .85;
}

.tool-body.meta { font-size: 12px; }
.tool-body.meta code {
  display: inline; padding: 0;
  background: transparent; border: 0;
  border-radius: 0; white-space: normal; overflow: visible;
}
.tool-body.meta .ok     { color: var(--ok); }
.tool-body.meta .warn   { color: var(--warn); }
.tool-body.meta .danger { color: var(--danger); }
.tool-body.meta code.ink    { color: var(--ink); }
.tool-body.meta code.danger { color: var(--danger); }

.tui-line.agent { margin-top: 8px; }
.tui-line.agent .prompt { color: var(--ink-mute); }
.tui-line.agent .text   { color: var(--ink-dim); }
.tui-line .text code {
  color: var(--ink); font-family: var(--mono); font-size: inherit;
}

.side-title {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-mute);
  margin: 0 0 14px;
}
.side-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.side-item:last-child { border-bottom: 0; }
.side-item .label { color: var(--ink-dim); font-family: var(--mono); }
.side-item .val   { color: var(--ink); font-family: var(--mono); font-size: 12px; }
.side-item .val.ok    { color: var(--ok); }
.side-item .val.warn  { color: var(--warn); }
.side-item .val.danger{ color: var(--danger); }

.side-meter {
  margin-top: 20px;
}
.meter-bar {
  height: 6px; background: var(--line); border-radius: 3px; overflow: hidden;
  margin: 6px 0 4px;
}
.meter-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-dim)); width: 34%; }
.meter-label {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-mute);
}

/* ---------- THE PROBLEM ---------- */
section.problem { padding: clamp(80px, 12vh, 140px) 0; }
.section-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent-mute);
  margin-bottom: 18px;
}
.problem h2 {
  font-family: var(--sans);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.1;
  max-width: 22ch;
  margin: 0 0 24px;
}
.problem h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--accent-mute);
}
.problem-lead {
  font-size: 19px; color: var(--ink-dim); max-width: 58ch;
  font-weight: 300; line-height: 1.55;
}
.problem-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.problem-cell {
  background: var(--bg-2);
  padding: 32px 28px 36px;
  min-height: 220px;
  display: flex; flex-direction: column;
}
.problem-cell .num {
  font-family: var(--mono); font-size: 11px; color: var(--accent-mute);
  letter-spacing: .1em; margin-bottom: 18px;
}
.problem-cell h3 {
  font-family: var(--sans); font-weight: 500; font-size: 18px;
  color: var(--ink); margin: 0 0 10px; letter-spacing: -.01em;
  line-height: 1.3;
}
.problem-cell p {
  font-size: 14px; color: var(--ink-dim); margin: 0;
  line-height: 1.55; font-weight: 300;
}

/* ---------- CONTROLS (features) ---------- */
section.controls { padding: clamp(80px, 12vh, 140px) 0; border-top: 1px solid var(--line); }
.controls h2 {
  font-family: var(--sans);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.1;
  max-width: 22ch;
  margin: 0 0 64px;
}
.controls h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--accent-mute);
}
.control-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.control-row:last-child { border-bottom: 1px solid var(--line); }
.control-row .key {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-mute);
  padding-top: 6px;
}
.control-row h3 {
  font-family: var(--sans); font-size: 22px; font-weight: 500;
  letter-spacing: -.015em; color: var(--ink);
  margin: 0 0 10px;
}
.control-row p {
  font-size: 15.5px; color: var(--ink-dim); max-width: 62ch;
  font-weight: 300; line-height: 1.6; margin: 0;
}
.control-row p code {
  font-family: var(--mono); font-size: 13px;
  background: rgba(182,192,138,.12); color: var(--accent-mute);
  padding: 1px 6px; border-radius: 3px;
}

/* control-row demo elements */
.control-demo { margin-top: 22px; }
.control-demo.line {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(0,0,0,.25);
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-dim);
}
.control-demo.line code {
  display: inline; padding: 0;
  background: transparent; border: 0;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink);
}
.approval-cmd  { flex: 1; min-width: 0; color: var(--ink); }
.approval-keys { color: var(--ink-mute); font-size: 11px; }
.code-label    { color: var(--accent-mute); letter-spacing: .04em; }
.code-text     { flex: 1; min-width: 0; color: var(--ink); }
.code-text .redacted {
  color: var(--ok);
  background: rgba(108,212,168,.1);
  border: 1px solid rgba(108,212,168,.25);
  padding: 1px 6px; border-radius: 3px;
  font-size: 11.5px;
}
.audit-time    { color: var(--ink-mute); }
.audit-text    { flex: 1; min-width: 0; }
.audit-sink    { color: var(--ok); font-size: 11.5px; }
.injection-text{ flex: 1; min-width: 0; color: var(--ink-dim); }

.pill {
  display: inline-flex;
  padding: 3px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
}
.pill.ok     { border-color: rgba(108,212,168,.35); color: var(--ok); }
.pill.warn   { border-color: rgba(255,184,77,.35);  color: var(--warn); }
.pill.danger { border-color: rgba(255,107,92,.35);  color: var(--danger); }

.state-ladder { display: flex; flex-wrap: wrap; gap: 8px; }
.state-chip {
  display: inline-flex; flex-direction: column; gap: 2px;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: rgba(0,0,0,.2);
  font-family: var(--mono);
}
.state-chip .chip-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: .04em; color: var(--ink);
}
.state-chip .chip-desc {
  font-size: 10.5px; color: var(--ink-mute);
  font-weight: 400; letter-spacing: 0; text-transform: none;
}
.state-chip.ok      { border-color: rgba(108,212,168,.35); }
.state-chip.ok      .chip-label { color: var(--ok); }
.state-chip.warn    { border-color: rgba(255,184,77,.35); }
.state-chip.warn    .chip-label { color: var(--warn); }
.state-chip.danger  { border-color: rgba(255,107,92,.3); }
.state-chip.danger  .chip-label { color: var(--danger); }
.state-chip.blocked { border-color: rgba(255,107,92,.55); background: rgba(255,107,92,.1); }
.state-chip.blocked .chip-label { color: var(--danger); }

/* ---------- HOW IT SITS ---------- */
section.arch { padding: clamp(80px, 12vh, 140px) 0; border-top: 1px solid var(--line); }
.arch h2 {
  font-family: var(--sans);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 500; letter-spacing: -.03em; line-height: 1.1;
  max-width: 22ch; margin: 0 0 16px;
}
.arch h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent-mute); }
.arch-lead { color: var(--ink-dim); font-weight: 300; font-size: 17px; max-width: 56ch; margin-bottom: 56px; }

.arch-figure {
  margin: 0;
  padding: 24px 16px 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.arch-svg {
  display: block;
  width: 100%;
  min-width: 720px;
  height: auto;
}
.arch-svg text       { font-family: var(--mono); }
.arch-svg .label-eye { fill: var(--ink-mute);    font-size: 10.5px; letter-spacing: .14em; }
.arch-svg .label-acc { fill: var(--accent-mute); font-size: 10.5px; letter-spacing: .14em; font-weight: 600; }
.arch-svg .name      { fill: var(--ink);         font-size: 14px; }
.arch-svg .detail    { fill: var(--ink-mute);    font-size: 11px; }
.arch-svg .endpoint  { fill: rgba(0,0,0,.2);     stroke: var(--line-2); stroke-width: 1; }
.arch-svg .boundary  { fill: rgba(212,255,58,.03); stroke: var(--accent); stroke-width: 1.5; }
.arch-svg .agent-box { fill: rgba(0,0,0,.3);     stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 3; }
.arch-svg .ctrl-pill { fill: rgba(212,255,58,.06); stroke: rgba(212,255,58,.25); stroke-width: 1; }
.arch-svg .ctrl-text { fill: var(--ink);         font-size: 11px; }
.arch-svg .conn      { stroke: var(--ink-mute);  stroke-width: 1.2; fill: none; }
.arch-svg .arrow-mute{ fill: var(--ink-mute); }
.arch-svg .conn-text { fill: var(--ink-mute);    font-size: 10.5px; letter-spacing: .12em; }
.arch-svg .divider   { stroke: var(--line-2);    stroke-width: 1; }
.arch-caption {
  margin: 18px 0 24px;
  padding: 0 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
  text-align: center;
  line-height: 1.6;
}

/* ---------- SOC TRUST ---------- */
section.trust { padding: 80px 0; border-top: 1px solid var(--line); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px;
}
.trust-cell .label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 10px;
}
.trust-cell .val {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  font-weight: 400; line-height: 1.4;
}
.trust-cell .val em { font-family: var(--serif); font-style: italic; color: var(--accent-mute); }

/* ---------- FINAL CTA ---------- */
section.cta {
  padding: clamp(100px, 15vh, 160px) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta h2 {
  font-family: var(--sans);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -.035em; line-height: 1.05;
  max-width: 18ch; margin: 0 auto 24px;
}
.cta h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--accent-mute);
}
.cta p {
  color: var(--ink-dim); font-size: 18px; max-width: 50ch;
  margin: 0 auto 40px; font-weight: 300;
}
.cta .waitlist { margin: 0 auto; }
.cta .waitlist-turnstile { margin-left: auto; margin-right: auto; }

/* ---------- FOOTER ---------- */
footer {
  padding: 40px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
}
footer .wrap {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
footer .links { display: flex; gap: 28px; }
footer .links a { color: var(--ink-mute); text-decoration: none; transition: color .15s; }
footer .links a:hover { color: var(--ink); }
footer .mono { font-family: var(--mono); font-size: 11px; margin-left: 14px; color: var(--ink-mute); }

/* ---------- responsive ---------- */

/* desktop: place hero copy and terminal side-by-side */
@media (min-width: 1024px) {
  .hero { padding: clamp(60px, 9vh, 110px) 0 clamp(40px, 7vh, 80px); }
  .wrap.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
    align-items: center;
  }
  .hero-copy h1 {
    font-size: clamp(34px, 3.4vw, 50px);
    max-width: 18ch;
  }
  .hero-copy .hero-sub {
    font-size: 16.5px;
    margin-bottom: 32px;
  }
  .product { margin-top: 0; }
  .tui {
    grid-template-columns: minmax(0, 1fr) clamp(220px, 22vw, 300px);
    min-height: 420px;
  }
  .tui-main { padding: 22px 24px; }
}

@media (max-width: 900px) {
  .tui { grid-template-columns: 1fr; }
  .tui-main { border-right: 0; border-bottom: 1px solid var(--line); }
  .problem-grid { grid-template-columns: 1fr; }
  .control-row { grid-template-columns: 1fr; gap: 14px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  footer .wrap { flex-direction: column; gap: 18px; }
}

/* ---------- FAQ ---------- */
section.faq { padding: clamp(80px, 12vh, 140px) 0; border-top: 1px solid var(--line); }
.faq h2 {
  font-family: var(--sans);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 500; letter-spacing: -.03em; line-height: 1.1;
  max-width: 22ch; margin: 0 0 16px;
}
.faq h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent-mute); }
.faq-lead { color: var(--ink-dim); font-weight: 300; font-size: 17px; max-width: 58ch; margin: 0 0 56px; }

.faq-list {
  border-top: 1px solid var(--line);
  counter-reset: qa;
}
details.qa {
  border-bottom: 1px solid var(--line);
  counter-increment: qa;
}
details.qa summary {
  display: flex; align-items: center; gap: 20px;
  padding: 32px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--sans); font-weight: 500; font-size: 21px;
  letter-spacing: -.014em; line-height: 1.35;
  color: var(--ink);
  transition: color .15s ease;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::before {
  content: counter(qa, decimal-leading-zero);
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: .14em;
  color: var(--ink-mute);
  flex-shrink: 0;
  width: 28px;
  transition: color .15s ease;
}
details.qa[open] summary::before,
details.qa summary:hover::before { color: var(--accent-mute); }
details.qa summary:hover { color: var(--accent-mute); }
details.qa summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mono); font-size: 22px; font-weight: 300;
  color: var(--ink-mute);
  width: 24px; height: 24px;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform .25s ease, color .15s ease;
}
details.qa[open] summary::after {
  content: "\2212";
  color: var(--accent-mute);
}
details.qa .answer {
  padding: 0 4px 36px 52px;
  color: var(--ink-dim);
  font-size: 15.5px; font-weight: 300; line-height: 1.65;
  max-width: 72ch;
}
details.qa .answer p { margin: 0 0 12px; }
details.qa .answer p:last-child { margin-bottom: 0; }
details.qa .answer code {
  font-family: var(--mono); font-size: 13px;
  background: rgba(182,192,138,.12); color: var(--accent-mute);
  padding: 1px 6px; border-radius: 3px;
}
details.qa .answer strong { color: var(--ink); font-weight: 500; }
details.qa .answer a {
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  transition: border-color .15s ease;
}
details.qa .answer a:hover { border-color: var(--accent); }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* honor reduced-motion across every animated/transitioned surface */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in { transition: none; transform: none; opacity: 1; }
  .eyebrow::before { animation: none; }
  .waitlist button:active { transform: none; }
  details.qa summary::after { transition: none; }
}
