/* cuAlign landing, version 2.
   Black canvas, left-aligned tight type and thin dividers; a single accent (#76b900). */

:root {
  --bg: #050605;
  --bg-2: #0a0c0b;
  --surface: #0f1211;
  --surface-2: #151917;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f5f2;
  --text-2: #a4aaa5;
  --muted: #6c736e;
  --accent: #76b900;
  --accent-hi: #93d61a;
  --accent-ink: #0b1200;
  --accent-soft: rgba(118, 185, 0, 0.09);
  --accent-line: rgba(118, 185, 0, 0.38);
  --red: #ff6166;
  --red-soft: rgba(229, 72, 77, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans); letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
code { font: 500 0.88em var(--mono); color: var(--text); }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.dim { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent;
  font: 500 15px/1 var(--sans); letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.btn-sm { height: 34px; padding: 0 13px; font-size: 14px; border-radius: 8px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 1px rgba(147, 214, 26, .5) inset, 0 8px 30px -8px rgba(118, 185, 0, .55); }
.btn-primary:hover { background: var(--accent-hi); }
.btn-primary:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { background: rgba(255, 255, 255, .03); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .24); }

/* Access note next to the launch buttons */
.access-note { display: inline-flex; align-items: center; gap: 6px; font: 500 11.5px var(--mono); color: var(--muted); white-space: nowrap; }
.access-note svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.hero-access { margin-top: 12px; white-space: normal; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.is-scrolled { background: rgba(5, 6, 5, .72); border-color: var(--line); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand img { width: 112px; height: auto; }
.nav-links { display: flex; gap: 26px; margin-right: auto; }
.nav-links a { font-size: 14px; color: var(--text-2); white-space: nowrap; transition: color .2s; }
.brand { flex: none; }
@media (max-width: 1200px) { .nav-access, .nav-gh { display: none; } }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 8px; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span[aria-hidden]::before, .nav-toggle span[aria-hidden]::after { content: ''; position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--text); transition: transform .2s; }
.nav-toggle span[aria-hidden]::before { top: 14px; }
.nav-toggle span[aria-hidden]::after { top: 20px; }
.nav-toggle[aria-expanded="true"] span[aria-hidden]::before { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span[aria-hidden]::after { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu { display: grid; padding: 8px var(--gutter) 20px; background: rgba(5, 6, 5, .96); border-bottom: 1px solid var(--line); }
.mobile-menu a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }

/* Hero */
.hero { position: relative; padding: clamp(40px, 7vw, 104px) 0 clamp(28px, 4vw, 40px); overflow: clip; }
.hero-grid-bg {
  position: absolute; inset: -64px 0 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .45;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 38%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 38%, #000 10%, transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin-top: 0; font-size: clamp(42px, 5vw, 72px); line-height: .98; letter-spacing: -0.045em; }
.lead { margin-top: 24px; max-width: 460px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--text-2); }

/* Prompt field motif */
.prompt {
  margin-top: 32px; max-width: 540px; display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 16px; border-radius: 14px;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(120deg, rgba(118, 185, 0, .55), rgba(255, 255, 255, .1) 40%, rgba(255, 255, 255, .06) 70%, rgba(118, 185, 0, .35)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 20px 60px -24px rgba(118, 185, 0, .35), 0 1px 0 rgba(255, 255, 255, .05) inset;
  transition: box-shadow .25s;
}
.prompt:hover { box-shadow: 0 26px 70px -22px rgba(118, 185, 0, .5), 0 1px 0 rgba(255, 255, 255, .05) inset; }
.prompt-label { flex: none; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-hi); padding: 6px 8px; border-radius: 6px; background: var(--accent-soft); }
.prompt-text { flex: 1; min-width: 0; font: 400 14.5px/1.4 var(--mono); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { display: inline-block; width: 8px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.prompt-send { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--accent); }
.prompt-send svg { width: 18px; height: 18px; fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

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

.hero-visual { position: relative; }
.hero-glow {
  position: absolute; inset: -18% -22% -10%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(closest-side at 50% 55%, rgba(118, 185, 0, .42), rgba(118, 185, 0, .12) 45%, transparent 72%),
    conic-gradient(from 200deg at 50% 55%, transparent 0deg, rgba(147, 214, 26, .16) 40deg, transparent 90deg, transparent 180deg, rgba(118, 185, 0, .12) 230deg, transparent 290deg);
  filter: blur(36px);
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
.hero-stage { position: relative; z-index: 1; aspect-ratio: 1 / 0.9; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-canvas { opacity: 0; transition: opacity .2s linear; cursor: grab; touch-action: pan-y; }
.hero-canvas.is-dragging { cursor: grabbing; }
.hero-stage.is-live .hero-canvas { opacity: 1; }


/* Status strip under the hero */

/* Sections */
.section { position: relative; padding: clamp(80px, 11vw, 144px) 0; border-top: 1px solid var(--line); }
.split-head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); row-gap: 22px; align-items: end; margin-bottom: clamp(48px, 7vw, 80px); }
.split-head h2, .scrub h2, .limits h2, .faq h2, .cta h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; }
.split-copy { display: grid; gap: 14px; color: var(--text-2); font-size: 16.5px; max-width: 480px; }

/* Problem */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pcell { padding: 36px 32px 40px; border-left: 1px solid var(--line); }
.pcell:first-child { border-left: 0; padding-left: 0; }
.pcell-art { width: 120px; height: 80px; margin-bottom: 28px; }
.pcell-art g { fill: none; stroke: var(--text-2); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.pcell-art .soft { stroke: rgba(164, 170, 165, .55); }
.pcell-art .soft2 { stroke: rgba(164, 170, 165, .3); }
.pcell-art .soft3 { stroke: var(--accent); }
.pcell-art .fill { fill: var(--accent); stroke: none; }
.pcell:nth-child(1) .pcell-art path:first-child { stroke: var(--accent); }
.pcell:nth-child(3) .pcell-art path:first-child { stroke: var(--accent); }
.pcell h3, .step h3, .gcell h3 { font-size: 18px; letter-spacing: -0.02em; line-height: 1.25; }
.pcell p, .step p, .gcell p { margin-top: 10px; font-size: 15px; color: var(--text-2); }
.field-note { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 24px; margin-top: clamp(40px, 6vw, 64px); }
.field-label { font: 500 12.5px/1.8 var(--mono); color: var(--muted); }
.field-quote { position: relative; padding-left: 24px; font: 500 clamp(20px, 2.3vw, 28px)/1.35 var(--display); letter-spacing: -0.025em; color: var(--text); max-width: 860px; }
.field-quote::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 16px rgba(118, 185, 0, .7); }

/* Solution steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step { position: relative; padding: 28px 24px 8px 0; border-top: 1px solid var(--line-strong); }
.steps { margin-bottom: 40px; }
.step { transition: opacity .4s; }
.step::before { content: ''; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--accent); box-shadow: 0 0 12px var(--accent); transition: width .6s var(--ease); }
.step.is-done::before { width: calc(100% - 24px); box-shadow: none; opacity: .5; }
.step.is-active::before { width: calc(100% - 24px); }
.step h3 { transition: color .3s; }
.js .steps .step:not(.is-active):not(.is-done) h3 { color: var(--text-2); }
.step.is-active .step-num::after { content: ' ●'; color: var(--accent); }
.who-tag { display: inline-block; margin-top: 14px; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line-strong); font: 500 11px var(--mono); color: var(--text-2); }
.who-tag.who-you { border-color: var(--accent-line); color: var(--accent-hi); background: var(--accent-soft); }
.step-num { display: block; margin-bottom: 14px; font: 500 12.5px var(--mono); color: var(--accent-hi); }

/* Agent demo */
.section-agent { overflow: clip; }
.demo { position: relative; }
.demo-backdrop {
  position: absolute; inset: -40px -3vw -30px; border-radius: 28px; pointer-events: none;
  background:
    radial-gradient(60% 70% at 18% 20%, rgba(118, 185, 0, .30), transparent 60%),
    radial-gradient(50% 60% at 85% 80%, rgba(40, 110, 90, .35), transparent 65%),
    radial-gradient(40% 40% at 70% 10%, rgba(147, 214, 26, .12), transparent 70%),
    linear-gradient(160deg, #0d140a, #070907 60%);
  border: 1px solid var(--line);
}
.demo-window { position: relative; border-radius: 16px; overflow: hidden; background: rgba(12, 14, 13, .88); border: 1px solid var(--line-strong); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.demo-bar { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.lights { display: flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.demo-title { font: 500 12.5px var(--mono); color: var(--text-2); margin-right: auto; }
.demo-replay { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 7px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); font-size: 13px; cursor: pointer; transition: background .2s; }
.demo-replay:hover { background: rgba(255, 255, 255, .08); }
.demo-replay svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.demo.is-playing .demo-replay svg { animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-body { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); min-height: 540px; }

.chat { list-style: none; margin: 0; padding: 20px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); background: rgba(0, 0, 0, .18); }
.msg { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; line-height: 1.5; color: var(--text-2); cursor: default; transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .3s; }
.msg.is-shown { cursor: pointer; }
.msg p + p, .msg p + ul, .msg ul + p { margin-top: 8px; }
.who { display: block; margin-bottom: 4px; font: 500 11.5px var(--mono); color: var(--muted); }
.msg-user { align-self: flex-end; max-width: 88%; background: var(--surface-2); border-color: var(--line-strong); }
.msg-user p { color: var(--text); font-family: var(--mono); font-size: 13.5px; }
.msg-user.is-typing p::after { content: ''; display: inline-block; width: 7px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(1) infinite; }
.msg-warn { border-color: rgba(229, 72, 77, .35); background: linear-gradient(var(--red-soft), var(--red-soft)), var(--surface); }
.msg-ok { border-color: var(--accent-line); background: linear-gradient(var(--accent-soft), var(--accent-soft)), var(--surface); }
.bad { color: var(--red); font-weight: 600; }
.good { color: var(--accent-hi); font-weight: 600; }
.muted { color: var(--muted); font-size: 13px; }
.chip { display: inline-block; padding: 1px 7px; margin: 2px 0; border-radius: 6px; border: 1px solid var(--line-strong); font: 500 11.5px/1.6 var(--mono); color: var(--text); }
.chip-new { border-color: var(--accent-line); color: var(--accent-hi); }

/* Messages wait for the replay only when scripting runs. */
.js .demo .msg:not(.is-shown) { opacity: 0; transform: translateY(8px); visibility: hidden; }

.demo-media { position: relative; padding: 20px; display: grid; }
.demo-media figure { grid-area: 1 / 1; margin: 0; display: grid; align-content: center; gap: 12px; opacity: 0; transform: scale(.985); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.demo-media figure.is-active { opacity: 1; transform: none; }
.demo-media img { width: 100%; max-height: 480px; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); background: #0b0d0c; }
.demo-media figcaption { font-size: 13px; color: var(--text-2); }
.demo-note { position: relative; margin-top: 44px; font-size: 13px; color: var(--muted); max-width: 720px; }

/* Review scrubber */
.scrub { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.scrub h2 { margin-top: 0; }
.scrub-copy > p { margin-top: 20px; color: var(--text-2); font-size: 16.5px; max-width: 480px; }
.scrub-control { margin-top: 32px; max-width: 440px; }
/* Scrubber: play/pause + track */
.scrub-row { display: flex; align-items: flex-start; gap: 14px; }
.scrub-track { flex: 1; min-width: 0; }
.scrub-play { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -4px; border-radius: 8px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); cursor: pointer; transition: background .2s; }
.scrub-play:hover { background: rgba(255, 255, 255, .08); }
.scrub-play svg { width: 14px; height: 14px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.scrub-play .i-play { display: none; fill: var(--text); stroke: none; }
.scrub-play.is-paused .i-play { display: block; }
.scrub-play.is-paused .i-pause { display: none; }
.scrub-media img { transition-duration: .25s; }

/* Scrubber ends */
.scrub-ends { display: flex; justify-content: space-between; margin-top: 4px; font-size: 13px; color: var(--text-2); }
input[type="range"] { width: 100%; accent-color: var(--accent); height: 24px; cursor: pointer; }
.scrub-media { position: relative; display: grid; aspect-ratio: 1000 / 830; }
.scrub-glow { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(118, 185, 0, .22), transparent); filter: blur(30px); }
.scrub-media img { position: relative; grid-area: 1 / 1; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .4s; }
.scrub-media img.is-active { opacity: 1; }

/* Line grids (NVIDIA, Safety) */
.grid-lines { display: grid; border-top: 1px solid var(--line); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.gcell { position: relative; padding: 32px 28px 36px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); transition: background .3s; }
.grid-3 .gcell:nth-child(3n + 1), .grid-4 .gcell:nth-child(4n + 1) { border-left: 0; }
.gcell:hover { background: linear-gradient(180deg, rgba(118, 185, 0, .05), transparent 70%); }
.gcell h3 { margin-top: 18px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 500 11.5px/1 var(--mono); padding: 5px 8px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--text-2); }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.tag-live { color: var(--accent-hi); border-color: var(--accent-line); }
.tag-live::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.gicon { width: 26px; height: 26px; fill: none; stroke: var(--accent-hi); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.footnote { margin-top: 24px; font-size: 13.5px; color: var(--muted); max-width: 820px; }
.footnote a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.footnote code { font-size: 12.5px; color: var(--text-2); }
.gnum { font: 500 11.5px var(--mono); color: var(--accent-hi); text-transform: uppercase; letter-spacing: .08em; }
.gnum + h3 { margin-top: 14px; }

/* Compatibility */
.io { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: center; }
.io-card { padding: 28px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.io-out { border-color: var(--accent-line); background: linear-gradient(160deg, rgba(118, 185, 0, .08), transparent 60%), var(--surface); }
.io-label { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.io-card h3 { margin-top: 12px; font-size: 20px; letter-spacing: -0.02em; }
.io-card p:last-child { margin-top: 8px; font-size: 15px; color: var(--text-2); }
.io-arrow svg { width: 40px; margin: 0 auto; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Team */
.section-tight { padding: clamp(64px, 8vw, 104px) 0; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(32px, 6vw, 96px); margin-top: 28px; }
.team-title { font-size: clamp(28px, 3.4vw, 40px); }
.team-grid h3 { font-size: 22px; letter-spacing: -0.02em; }
.team-grid p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; max-width: 480px; }

/* Limits & FAQ */
.limits, .faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.limits h2, .faq h2 { margin-top: 0; }
.limit-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.limit-list li { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 15px; }
.limit-list strong { color: var(--text); font-weight: 600; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font: 500 17px var(--display); letter-spacing: -0.015em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; flex: none; font: 400 22px/1 var(--sans); color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--accent-hi); }
.faq-list details p a { color: var(--accent-hi); }
.faq-list details p { padding: 0 0 22px; color: var(--text-2); font-size: 15px; max-width: 640px; }

/* CTA */
.cta-section { position: relative; padding: clamp(96px, 13vw, 176px) 0; border-top: 1px solid var(--line); overflow: clip; text-align: center; }
.cta-glow { position: absolute; left: 50%; top: 58%; width: min(900px, 120vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(118, 185, 0, .3), rgba(118, 185, 0, .06) 55%, transparent); filter: blur(30px); pointer-events: none; }
.cta { position: relative; }
.cta p { margin: 22px auto 0; max-width: 460px; color: var(--text-2); font-size: 17px; }
.cta .hero-actions { justify-content: center; margin-top: 32px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.footer-inner p { margin-top: 12px; font-size: 14px; color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer nav a { font-size: 14px; color: var(--text-2); }
.footer nav a:hover { color: var(--text); }
.footer-note { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px !important; }

/* Consent dialog */
.consent { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); color: var(--text); box-shadow: 0 40px 120px rgba(0, 0, 0, .7), 0 0 80px -20px rgba(118, 185, 0, .25); }
.consent::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); }
.consent[open] { animation: pop .2s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.consent-inner { padding: 28px; display: grid; gap: 14px; }
.consent h2 { font-size: 24px; }
.consent p, .consent li { color: var(--text-2); font-size: 15px; }
.consent a { color: var(--accent-hi); }
.consent ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-size: 15px; }
.check:has(input:checked) { border-color: var(--accent-line); background: var(--accent-soft); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.consent-dest { font-size: 13px !important; color: var(--muted) !important; }
.consent-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.problem-grid .pcell:nth-child(2), .grid-lines .gcell:nth-child(2) { transition-delay: .06s; }
.problem-grid .pcell:nth-child(3), .grid-lines .gcell:nth-child(3) { transition-delay: .12s; }
.grid-lines .gcell:nth-child(4) { transition-delay: .18s; }

/* Responsive */
@media (max-width: 1100px) {
  .nav-links { gap: 18px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 .gcell:nth-child(4n + 1) { border-left: 1px solid var(--line); }
  .grid-4 .gcell:nth-child(2n + 1) { border-left: 0; }
  .demo-body { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav-gh, .nav-demo, .nav-access { display: none; }
  .nav-toggle { display: inline-block; }
  .nav-inner { justify-content: space-between; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .split-head { grid-template-columns: minmax(0, 1fr); }
  .problem-grid { grid-template-columns: 1fr; }
  .pcell { border-left: 0; padding: 28px 0 32px; border-top: 1px solid var(--line); }
  .pcell:first-child { border-top: 0; }
  .field-note { grid-template-columns: 1fr; gap: 12px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .demo-body { grid-template-columns: 1fr; min-height: 0; }
  .chat { border-right: 0; border-bottom: 1px solid var(--line); }
  .demo-media { min-height: 0; }
  .demo-media img { max-height: 360px; }
  .scrub, .limits, .faq { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 .gcell:nth-child(3n + 1) { border-left: 1px solid var(--line); }
  .grid-3 .gcell:nth-child(2n + 1) { border-left: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .io { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .io-arrow svg { transform: rotate(90deg); width: 28px; }
  .team-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .nav-actions .btn-primary { display: none; }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); }
      .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gcell, .grid-3 .gcell:nth-child(n), .grid-4 .gcell:nth-child(n) { border-left: 0; padding: 28px 0 30px; }
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 16px; row-gap: 4px; }
  .step { padding: 18px 0 10px; }
  .step-num { margin-bottom: 8px; }
  .step p { font-size: 13.5px; margin-top: 4px; }
  .prompt-text { font-size: 13px; }
  .demo-backdrop { inset: -20px -8px; border-radius: 20px; }
  .chat { padding: 14px; }
  .demo-media { padding: 14px; }
  .prompt-label { display: none; }
  .btn { height: 46px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

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