@font-face { font-family: "Geist"; src: url(fonts/geist-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215; }
@font-face { font-family: "Geist"; src: url(fonts/geist-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; src: url(fonts/geist-mono-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --s1: 2px; --s2: 4px; --s3: 6px; --s4: 8px; --s5: 10px; --s6: 12px; --s7: 16px; --s8: 20px; --s9: 24px; --s10: 32px; --s11: 48px; --s12: 64px; --s13: 96px; --s14: 128px;
  --r6: 6px; --r8: 8px; --r10: 10px; --r12: 12px; --r14: 14px; --r18: 18px; --r24: 24px;
  --fast: 100ms; --base: 150ms; --enter: 200ms; --panel: 300ms;
  --ease: cubic-bezier(.4,0,.2,1); --ease-in: cubic-bezier(.22,1,.36,1); --ease-panel: cubic-bezier(.32,.72,0,1);

  --bg: #0A0A0A; --bg-2: #0D0D0E; --sidebar: #111112; --card: #141415; --surface: #1A1A1C; --selected: #1F1F22;
  --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.11); --hover: rgba(255,255,255,.05); --press: rgba(255,255,255,.08);
  --text: #F1F3F7; --text-2: #D4D4D8; --muted: #A3A3A3; --faint: #737373;
  --ok: #6EE7B7; --ok-bg: rgba(110,231,183,.14); --warn: #FCD34D; --warn-bg: rgba(252,211,77,.14); --err: #FCA5A5;
  --silver: #D4D4D8;
  --ring: rgba(255,255,255,.4);
  --lift: inset 0 1px rgba(255,255,255,.04), 0 24px 72px -20px rgba(0,0,0,.9);
  --beam-a: rgba(255,255,255,.95); --beam-b: rgba(220,220,228,.30); --beam-c: rgba(212,212,216,.10);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #FAFAFA; --bg-2: #F4F4F5; --sidebar: #F4F4F5; --card: #FFFFFF; --surface: #FFFFFF; --selected: #E4E4E7;
  --line: #E4E4E7; --line-strong: #D4D4D8; --hover: rgba(0,0,0,.04); --press: rgba(0,0,0,.07);
  --text: #18181B; --text-2: #3F3F46; --muted: #606068; --faint: #71717A;
  --ok: #047857; --ok-bg: rgba(4,120,87,.10); --warn: #92400E; --warn-bg: rgba(146,64,14,.10); --err: #B91C1C;
  --silver: #71717A;
  --ring: rgba(0,0,0,.35);
  --lift: 0 1px 2px rgba(0,0,0,.06), 0 12px 32px -8px rgba(0,0,0,.18);
  --beam-a: rgba(24,24,27,.55); --beam-b: rgba(24,24,27,.10); --beam-c: rgba(24,24,27,.04);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/24px var(--font); -webkit-font-smoothing: antialiased; font-feature-settings: "ss01"; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: color-mix(in oklab, var(--text) 22%, transparent); }
:focus-visible { outline: none; box-shadow: 0 0 0 1px var(--bg), 0 0 0 3px var(--ring); border-radius: var(--r8); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s7); top: -48px; z-index: 100; background: var(--text); color: var(--bg); padding: var(--s4) var(--s6); border-radius: var(--r8); font-size: 14px; text-decoration: none; }
.skip:focus { top: var(--s7); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--s9); }
.mono { font-family: var(--mono); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; transition: background var(--base) var(--ease), box-shadow var(--base) var(--ease); }
.top.scrolled { background: color-mix(in oklab, var(--bg) 78%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.bar { display: flex; align-items: center; gap: var(--s9); height: 64px; }
.logo { display: inline-flex; align-items: center; gap: var(--s4); text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.logo img { width: 30px; height: 30px; margin: -3px; }
.nav { display: flex; gap: var(--s1); margin: 0 auto; padding: var(--s1); border-radius: 999px; background: var(--hover); box-shadow: inset 0 0 0 1px var(--line); }
.nav a { font-size: 13px; line-height: 20px; color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 999px; transition: color var(--fast) var(--ease), background var(--fast) var(--ease); }
.nav a:hover { color: var(--text); background: var(--hover); }
.nav a[aria-current="true"] { color: var(--text); background: var(--selected); }
.bar-r { display: flex; align-items: center; gap: var(--s4); }
.icon-btn { width: 36px; height: 36px; border-radius: 999px; border: 0; background: var(--hover); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; cursor: pointer; color: var(--text-2); transition: background var(--fast) var(--ease); }
.icon-btn:hover { background: var(--press); }
.icon-btn svg { width: 16px; height: 16px; }
.menu-btn { display: none; }
.sun { display: none; } [data-theme="light"] .sun { display: block; } [data-theme="light"] .moon { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s4); height: 40px; padding: 0 var(--s8); border-radius: 999px; font: 500 14px/20px var(--font); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform var(--fast) var(--ease), background var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.btn:active { transform: scale(.98); }
.btn svg { width: 16px; height: 16px; }
.btn.primary { background: var(--text); color: var(--bg); box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 8px 24px -8px rgba(255,255,255,.25); }
[data-theme="light"] .btn.primary { box-shadow: 0 8px 24px -10px rgba(0,0,0,.45); }
.btn.primary:hover { background: color-mix(in oklab, var(--text) 88%, var(--bg)); }
.btn.ghost { background: var(--hover); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn.ghost:hover { background: var(--press); }
.btn.sm { height: 34px; padding: 0 var(--s7); font-size: 13px; }

/* Hero */
.hero { position: relative; padding: var(--s13) 0 var(--s11); text-align: center; isolation: isolate; }
.beam { position: absolute; inset: -64px 0 auto; height: 980px; z-index: -1; pointer-events: none; overflow: hidden; }
.beam .core { position: absolute; left: 50%; top: 0; width: 2px; height: 620px; transform: translateX(-50%); background: linear-gradient(to bottom, var(--beam-a), color-mix(in oklab, var(--beam-a) 40%, transparent) 55%, transparent); box-shadow: 0 0 18px 2px var(--beam-b), 0 0 60px 8px var(--beam-c); animation: core 6s var(--ease) infinite alternate; }
.beam .cone { position: absolute; left: 50%; top: 0; width: 1200px; height: 900px; transform: translateX(-50%); background:
  radial-gradient(ellipse 9% 72% at 50% 0%, var(--beam-b), transparent 70%),
  radial-gradient(ellipse 26% 56% at 50% 0%, var(--beam-c), transparent 75%),
  radial-gradient(ellipse 60% 34% at 50% 0%, var(--beam-c), transparent 80%);
  animation: breathe 7s var(--ease) infinite alternate; }
.beam .flare { position: absolute; left: 50%; top: 0; width: 520px; height: 120px; transform: translateX(-50%); background: radial-gradient(ellipse 50% 50% at 50% 0%, var(--beam-a), transparent 70%); opacity: .55; }
.beam .dots { position: absolute; inset: 0; background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 28px 28px; mask: radial-gradient(55% 50% at 50% 28%, #000, transparent 75%); opacity: .8; }
@keyframes core { from { opacity: .7; } to { opacity: 1; } }
@keyframes breathe { from { opacity: .75; transform: translateX(-50%) scaleX(.94); } to { opacity: 1; transform: translateX(-50%) scaleX(1.04); } }
.pill { display: inline-flex; align-items: center; gap: var(--s4); font-size: 13px; line-height: 20px; color: var(--text-2); padding: 4px 12px 4px 4px; border-radius: 999px; background: color-mix(in oklab, var(--card) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line-strong); backdrop-filter: blur(8px); text-decoration: none; transition: box-shadow var(--fast) var(--ease); }
.pill:hover { box-shadow: inset 0 0 0 1px var(--ring); }
.pill b { font-weight: 500; font-size: 11px; line-height: 16px; padding: 2px 8px; border-radius: 999px; background: var(--text); color: var(--bg); }
.pill svg { width: 14px; height: 14px; color: var(--muted); }
.title { margin: var(--s9) auto 0; font-size: clamp(48px, 8.4vw, 104px); line-height: .98; font-weight: 600; letter-spacing: -.045em; display: flex; align-items: center; justify-content: center; gap: .18em; flex-wrap: wrap; }
.title img { width: 1.05em; height: 1.05em; margin: -.06em -.03em; filter: drop-shadow(0 12px 32px rgba(0,0,0,.5)); animation: float 6s var(--ease) infinite alternate; }
@keyframes float { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-6px) rotate(2deg); } }
.title .shine { background: linear-gradient(100deg, var(--text) 30%, color-mix(in oklab, var(--text) 55%, var(--bg)) 50%, var(--text) 70%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.sub { max-width: 680px; margin: var(--s9) auto 0; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--text-2); }
.tool { display: inline-flex; align-items: baseline; gap: .28em; color: var(--text); font-weight: 500; white-space: nowrap; }
.tool img { width: .95em; height: .95em; align-self: center; border-radius: 4px; }
.cta { margin-top: var(--s10); display: flex; gap: var(--s6); justify-content: center; flex-wrap: wrap; }
.fine { margin-top: var(--s7); font-size: 13px; line-height: 20px; color: var(--muted); }

/* App preview */
.stage { position: relative; margin-top: var(--s12); perspective: 1600px; }
.stage::before { content: ""; position: absolute; inset: 8% 6% -4%; background: radial-gradient(50% 50% at 50% 50%, color-mix(in oklab, var(--text) 9%, transparent), transparent 70%); filter: blur(40px); z-index: -1; }
.win { position: relative; text-align: left; border-radius: var(--r18); background: var(--bg-2); box-shadow: 0 0 0 1px var(--line-strong), var(--lift), 0 60px 120px -40px rgba(0,0,0,.8); overflow: hidden; transform: rotateX(10deg) scale(.96); transform-origin: 50% 0; opacity: .6; transition: transform 900ms var(--ease-in), opacity 900ms var(--ease-in); }
.win.in { transform: none; opacity: 1; }
[data-theme="light"] .win { box-shadow: 0 0 0 1px var(--line-strong), 0 40px 100px -40px rgba(0,0,0,.35); }
.win-body { display: grid; grid-template-columns: 220px minmax(0, 1fr) 236px; height: 600px; }
.w-side { background: var(--sidebar); border-right: 1px solid var(--line); padding: var(--s6) var(--s4); display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.lights { display: flex; gap: 8px; padding: 4px 6px 14px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; } .lights i:nth-child(2) { background: #FEBC2E; } .lights i:nth-child(3) { background: #28C840; }
.w-brand { display: flex; align-items: center; gap: var(--s4); padding: 0 var(--s4) var(--s6); font-size: 13px; font-weight: 600; }
.w-brand img { width: 20px; height: 20px; margin: -2px; }
.w-brand span { font-size: 10px; font-weight: 500; color: var(--muted); padding: 0 6px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-strong); line-height: 16px; }
.w-new { display: flex; align-items: center; gap: var(--s4); font-size: 12.5px; padding: 7px var(--s4); border-radius: var(--r8); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: var(--s6); }
.w-new kbd { margin-left: auto; font: 11px var(--mono); color: var(--faint); }
.w-label { font-size: 11px; color: var(--faint); padding: var(--s4) var(--s4) var(--s2); }
.w-chat { display: flex; align-items: center; gap: var(--s4); font-size: 12.5px; line-height: 18px; color: var(--text-2); padding: 6px var(--s4); border-radius: var(--r8); border: 0; background: none; text-align: left; cursor: pointer; width: 100%; transition: background var(--fast) var(--ease); }
.w-chat:hover { background: var(--hover); }
.w-chat[aria-current="true"] { background: var(--selected); color: var(--text); }
.w-chat .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-chat .d { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); flex: none; }
.w-chat .d.run { background: var(--silver); box-shadow: 0 0 0 3px color-mix(in oklab, var(--silver) 20%, transparent); animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite; }
.w-chat .d.wait { background: var(--warn); }
.w-chat small { font: 11px var(--mono); color: var(--faint); }
@keyframes pulse { 50% { opacity: .35; } }
.w-foot { margin-top: auto; font-size: 11.5px; color: var(--muted); padding: var(--s4); display: flex; align-items: center; gap: var(--s3); }
.w-foot img { width: 13px; height: 13px; border-radius: 3px; }
.w-main { display: flex; flex-direction: column; min-width: 0; }
.w-head { display: flex; align-items: center; gap: var(--s4); height: 44px; padding: 0 var(--s7); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.w-head .chip { font: 11px var(--mono); color: var(--muted); padding: 1px 7px; border-radius: 6px; background: var(--hover); font-weight: 400; }
.w-feed { flex: 1; min-height: 0; overflow: hidden; padding: var(--s8) var(--s9) var(--s4); display: flex; flex-direction: column; gap: var(--s6); font-size: 13.5px; line-height: 21px; mask: linear-gradient(to bottom, transparent, #000 24px); }
.m { opacity: 0; transform: translateY(6px); transition: opacity var(--enter) var(--ease-in), transform var(--enter) var(--ease-in); }
.m.show { opacity: 1; transform: none; }
.m.gone { display: none; }
.u { align-self: flex-end; max-width: 78%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: var(--s4) var(--s6); border-radius: var(--r14) var(--r14) var(--r6) var(--r14); color: var(--text); }
.step { display: flex; align-items: center; gap: var(--s4); font-size: 12.5px; color: var(--muted); }
.step svg { width: 14px; height: 14px; flex: none; }
.step b { font-weight: 400; color: var(--text-2); }
.step code { font: 11.5px var(--mono); color: var(--text-2); background: var(--hover); padding: 0 5px; border-radius: 5px; }
.step .ok { color: var(--ok); }
.a { color: var(--text-2); }
.a b { color: var(--text); font-weight: 500; }
.approve { border-radius: var(--r10); background: color-mix(in oklab, var(--warn) 6%, var(--card)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--warn) 30%, transparent); padding: var(--s6); display: grid; gap: var(--s4); max-width: 520px; }
.approve .q { font-size: 12.5px; font-weight: 500; display: flex; align-items: center; gap: var(--s4); }
.approve .q i { width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }
.approve pre { margin: 0; font: 12px/18px var(--mono); color: var(--text-2); background: var(--bg-2); border-radius: var(--r8); padding: var(--s4) var(--s5); white-space: pre-wrap; }
.approve .acts { display: flex; gap: var(--s4); }
.approve .acts span { font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: var(--r8); box-shadow: inset 0 0 0 1px var(--line-strong); transition: transform var(--fast) var(--ease), background var(--fast) var(--ease); }
.approve .acts .y { background: var(--text); color: var(--bg); box-shadow: none; }
.approve .acts .y.press { transform: scale(.94); }
.approve.done { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.approve.done .acts { display: none; }
.approve .res { display: none; font-size: 12px; color: var(--ok); }
.approve.done .res { display: block; }
.switch { align-self: center; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: var(--s4); padding: 4px 12px; border-radius: 999px; background: var(--hover); }
.switch img { width: 14px; height: 14px; border-radius: 3px; }
.typing::after { content: "▍"; color: var(--muted); animation: blink 1s steps(1) infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.w-comp { margin: 0 var(--s9) var(--s7); border-radius: var(--r14); background: var(--sidebar); box-shadow: inset 0 0 0 1px var(--line-strong); padding: var(--s6) var(--s7) var(--s4); }
.w-comp p { margin: 0 0 var(--s6); font-size: 13px; color: var(--faint); min-height: 20px; }
.w-comp .row { display: flex; align-items: center; gap: var(--s4); }
.model { display: inline-flex; align-items: center; gap: var(--s3); font-size: 12px; color: var(--text-2); padding: 3px 9px; border-radius: 999px; background: var(--hover); transition: background var(--base) var(--ease); }
.model img { width: 13px; height: 13px; border-radius: 3px; }
.model.flash { background: var(--press); }
.w-comp .send { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; }
.w-comp .send svg { width: 14px; height: 14px; }
.w-detail { border-left: 1px solid var(--line); padding: var(--s7) var(--s7); display: flex; flex-direction: column; gap: var(--s8); font-size: 12px; min-width: 0; }
.w-detail h4 { margin: 0 0 var(--s4); font-size: 11px; font-weight: 500; color: var(--faint); }
.kv { display: flex; align-items: center; gap: var(--s4); color: var(--text-2); padding: 3px 0; }
.kv .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.kv small { margin-left: auto; color: var(--faint); font: 11px var(--mono); }
.kv img { width: 14px; height: 14px; border-radius: 3px; }
.meter { height: 4px; border-radius: 4px; background: var(--hover); overflow: hidden; margin-top: var(--s3); }
.meter i { display: block; height: 100%; width: 8%; background: var(--silver); border-radius: inherit; transition: width 1200ms var(--ease); }
.preview-cap { margin-top: var(--s7); font-size: 13px; color: var(--muted); text-align: center; }

/* Logos strip */
.trust { padding: var(--s11) 0 var(--s7); text-align: center; }
.trust p { margin: 0 0 var(--s8); font-size: 13px; color: var(--muted); }
.marquee { display: flex; overflow: hidden; mask: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent); }
.marquee-track { display: flex; gap: var(--s6); padding-right: var(--s6); animation: slide 28s linear infinite; flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }
.logo-chip { display: inline-flex; align-items: center; gap: var(--s4); padding: var(--s4) var(--s7) var(--s4) var(--s4); border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; white-space: nowrap; }
.logo-chip img { width: 24px; height: 24px; border-radius: 6px; }
.logo-chip small { font-weight: 400; color: var(--muted); font-size: 12px; }
.logo-chip.soon { opacity: .55; }

/* Sections */
.sec { padding: var(--s14) 0 0; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s4); font-size: 13px; line-height: 20px; color: var(--muted); margin: 0 0 var(--s7); }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--silver); box-shadow: 0 0 0 3px color-mix(in oklab, var(--silver) 18%, transparent); }
h2 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; max-width: 820px; }
h2 .dim { color: var(--muted); }
.lead { margin: var(--s8) 0 0; font-size: 18px; line-height: 28px; color: var(--text-2); max-width: 640px; }
.center { text-align: center; }
.center h2, .center .lead { margin-left: auto; margin-right: auto; }

/* Bento */
.bento { margin-top: var(--s11); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s6); }
.card { position: relative; border-radius: var(--r24); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); padding: var(--s9); overflow: hidden; display: flex; flex-direction: column; min-height: 360px; transition: box-shadow var(--base) var(--ease), transform var(--base) var(--ease); }
.card:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), color-mix(in oklab, var(--text) 6%, transparent), transparent 60%); opacity: 0; transition: opacity var(--base) var(--ease); }
.card:hover::after { opacity: 1; }
.c4 { grid-column: span 4; } .c2 { grid-column: span 2; } .c3 { grid-column: span 3; }
.card h3 { margin: auto 0 0; padding-top: var(--s9); font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -.015em; }
.card p { margin: var(--s3) 0 0; font-size: 15px; line-height: 23px; color: var(--muted); max-width: 520px; }
.viz { position: relative; flex: none; }
.card.silver { background: linear-gradient(160deg, #E9E9EC, #BDBDC3 60%, #A9A9B0); color: #18181B; box-shadow: none; }
.card.silver p { color: #3F3F46; }
[data-theme="light"] .card.silver { background: linear-gradient(160deg, #27272A, #18181B); color: #F4F4F5; }
[data-theme="light"] .card.silver p { color: #A1A1AA; }

/* Bento visuals */
.mini { border-radius: var(--r14); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); padding: var(--s7); display: grid; gap: var(--s5); font-size: 13px; line-height: 20px; }
.mini .who { display: flex; align-items: center; gap: var(--s4); font-size: 12px; color: var(--muted); }
.mini .who img { width: 16px; height: 16px; border-radius: 4px; }
.mini .who b { color: var(--text); font-weight: 500; }
.mini .msg { color: var(--text-2); padding-left: 24px; }
.mini .u2 { justify-self: end; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: 6px 12px; border-radius: 12px 12px 4px 12px; color: var(--text); }
.mini .hand { justify-self: center; font-size: 11.5px; color: var(--muted); padding: 3px 10px; border-radius: 999px; background: var(--hover); display: inline-flex; gap: 6px; align-items: center; }
.mini .hand img { width: 13px; height: 13px; border-radius: 3px; }
.picker { position: absolute; right: var(--s7); top: var(--s7); width: 200px; border-radius: var(--r12); background: var(--card); box-shadow: 0 0 0 1px var(--line-strong), var(--lift); padding: var(--s2); font-size: 12px; }
.picker div { display: flex; align-items: center; gap: var(--s4); padding: 6px 8px; border-radius: var(--r8); color: var(--text-2); }
.picker div img { width: 14px; height: 14px; border-radius: 3px; }
.picker div.on { background: var(--selected); color: var(--text); }
.picker div small { margin-left: auto; color: var(--faint); font-size: 10.5px; }
.ap-viz { display: grid; gap: var(--s5); }
.ap-viz .approve { max-width: none; }
.ap-viz .approve .acts .y { animation: tap 4s var(--ease) infinite; }
@keyframes tap { 0%, 60%, 100% { transform: none; } 66% { transform: scale(.92); } 72% { transform: none; } }
.vault { display: grid; gap: var(--s3); border-radius: var(--r14); background: rgba(255,255,255,.55); padding: var(--s6); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
[data-theme="light"] .vault { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.vault .h { display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; padding: 0 var(--s2) var(--s2); }
.vault .h svg { width: 14px; height: 14px; }
.vault .r { display: flex; align-items: center; gap: var(--s4); font-size: 13px; padding: 7px var(--s5); border-radius: var(--r8); background: rgba(255,255,255,.6); }
[data-theme="light"] .vault .r { background: rgba(255,255,255,.07); }
.vault .r svg { width: 14px; height: 14px; opacity: .6; }
.machines { display: grid; gap: var(--s3); }
.mach { display: flex; align-items: center; gap: var(--s5); padding: var(--s5) var(--s6); border-radius: var(--r12); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; }
.mach svg { width: 16px; height: 16px; color: var(--muted); }
.mach b { font-weight: 500; }
.mach small { color: var(--muted); font-size: 12px; }
.mach .st { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.mach .st i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.mach .st.off i { background: var(--faint); }
.ctx { display: grid; gap: var(--s6); }
.ctx-num { font: 600 44px/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ctx-num small { font-size: 15px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.ctx .meter { height: 8px; }
.ctx .meter i { width: 0; }
.ctx .legend { display: flex; justify-content: space-between; font: 11.5px var(--mono); color: var(--faint); }
.steps-viz { display: grid; gap: var(--s4); }
.steps-viz .step { padding: 6px var(--s5); border-radius: var(--r8); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }

/* Tunnel story */
.tunnel { margin-top: var(--s11); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s11); align-items: center; }
.tsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); counter-reset: s; }
.tsteps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: var(--s6); padding: var(--s7); border-radius: var(--r14); transition: background var(--base) var(--ease), box-shadow var(--base) var(--ease); cursor: default; }
.tsteps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 500; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-strong); }
.tsteps li.on { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.tsteps li.on::before { background: var(--text); color: var(--bg); box-shadow: none; }
.tsteps b { display: block; font-weight: 500; font-size: 16px; }
.tsteps span { display: block; margin-top: 2px; color: var(--muted); font-size: 14.5px; line-height: 22px; }
.tsteps code { font: 13px var(--mono); color: var(--text-2); }
.diagram { position: relative; border-radius: var(--r24); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); padding: var(--s10); min-height: 400px; display: grid; place-items: center; overflow: hidden; }
.diagram::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 22px 22px; mask: radial-gradient(70% 60% at 50% 50%, #000, transparent); }
.nodes { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s6); width: 100%; max-width: 560px; }
.node { position: relative; display: grid; justify-items: center; gap: var(--s4); text-align: center; z-index: 1; }
.node .box { width: 88px; height: 88px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong), var(--lift); display: grid; place-items: center; transition: box-shadow var(--panel) var(--ease); }
.node .box svg { width: 34px; height: 34px; color: var(--text-2); }
.node .box img { width: 60px; height: 60px; }
.node b { font-size: 14px; font-weight: 500; }
.node small { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.node.lit .box { box-shadow: inset 0 0 0 1px var(--ring), 0 0 0 6px color-mix(in oklab, var(--text) 6%, transparent), var(--lift); }
.wire { position: relative; height: 2px; }
.wire svg { position: absolute; inset: -10px 0; width: 100%; height: 22px; overflow: visible; }
.wire path { stroke: var(--line-strong); stroke-width: 2; fill: none; stroke-dasharray: 2 7; stroke-linecap: round; }
.wire .flow { stroke: var(--text); opacity: 0; stroke-dasharray: 2 7; animation: flow 1.2s linear infinite; }
.diagram.s2 .wire .flow, .diagram.s3 .wire .flow { opacity: .9; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.wire .tag { position: absolute; left: 50%; top: -34px; transform: translateX(-50%); font: 11.5px var(--mono); color: var(--muted); white-space: nowrap; padding: 2px 8px; border-radius: 6px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: color var(--base); }
.diagram.s2 .wire .tag, .diagram.s3 .wire .tag { color: var(--text); }
.wire .lock { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); font-size: 11.5px; color: var(--muted); white-space: nowrap; opacity: 0; transition: opacity var(--base); }
.diagram.s3 .wire .lock { opacity: 1; }
.packet { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--text); box-shadow: 0 0 12px var(--text); opacity: 0; }
.diagram.s2 .packet, .diagram.s3 .packet { animation: travel 2.4s var(--ease) infinite; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
.d-cap { position: absolute; bottom: var(--s8); left: 0; right: 0; text-align: center; font-size: 13px; color: var(--muted); }

/* Privacy */
.never { margin-top: var(--s10); display: flex; flex-wrap: wrap; gap: var(--s4); }
.never span { display: inline-flex; align-items: center; gap: var(--s4); padding: 8px 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--text-2); }
.never svg { width: 14px; height: 14px; color: var(--muted); }
.pgrid { margin-top: var(--s10); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.pcell { padding: var(--s9); border-radius: var(--r18); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.pcell svg { width: 20px; height: 20px; color: var(--text-2); }
.pcell h3 { margin: var(--s7) 0 var(--s3); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.pcell p { margin: 0; color: var(--muted); font-size: 15px; line-height: 23px; }
.pcell a { color: var(--text-2); }

/* Releases */
.rel { margin-top: var(--s11); display: grid; gap: 0; position: relative; }
.rel::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: var(--line-strong); }
.ritem { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--s9); padding: 0 0 var(--s10) 40px; }
.ritem::before { content: ""; position: absolute; left: 2px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line-strong); }
.ritem:first-child::before { background: var(--text); box-shadow: 0 0 0 4px color-mix(in oklab, var(--text) 12%, transparent); }
.ritem .v { font: 500 14px/24px var(--mono); }
.ritem .v small { display: block; font: 13px var(--font); color: var(--muted); }
.ritem h3 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -.015em; }
.ritem ul { margin: var(--s4) 0 0; padding-left: 18px; color: var(--text-2); font-size: 15px; line-height: 24px; }
.ritem li + li { margin-top: 4px; }

/* FAQ */
.faq { margin-top: var(--s10); max-width: 820px; margin-left: auto; margin-right: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--s6); padding: var(--s8) var(--s2); font-size: 17px; font-weight: 500; border-radius: var(--r8); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform var(--base) var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .ans { padding: 0 var(--s2) var(--s8); color: var(--muted); font-size: 15.5px; line-height: 25px; max-width: 700px; }
.faq .ans p { margin: 0; }
.faq .ans p + p { margin-top: var(--s4); }
.faq code { font: 14px var(--mono); color: var(--text-2); }

/* Get it */
.plats { margin-top: var(--s11); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.plat { padding: var(--s9); border-radius: var(--r18); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: var(--s4); min-height: 230px; }
.plat .badge { align-self: flex-start; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: var(--hover); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.plat .badge.live { background: var(--ok-bg); color: var(--ok); box-shadow: none; }
.plat svg.os { width: 28px; height: 28px; margin-top: var(--s4); color: var(--text-2); }
.plat h3 { margin: var(--s4) 0 0; font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.plat p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 22px; }
.plat .btn { margin-top: auto; align-self: flex-start; }

/* Final */
.final { position: relative; margin-top: var(--s14); padding: var(--s14) 0; text-align: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.final .beam { inset: auto 0 0; height: 760px; transform: rotate(180deg); }
.final img.big { width: 112px; height: 112px; margin: 0 auto var(--s9); filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.final h2 { margin: 0 auto; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: var(--s11) 0; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: var(--s9); font-size: 14px; }
.foot p { margin: var(--s6) 0 0; color: var(--muted); font-size: 13.5px; line-height: 21px; max-width: 280px; }
.foot h4 { margin: 0 0 var(--s6); font-size: 13px; font-weight: 500; color: var(--faint); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.foot a { color: var(--text-2); text-decoration: none; }
.foot a:hover { color: var(--text); }
.legal { margin-top: var(--s10); padding-top: var(--s8); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--s7); font-size: 13px; color: var(--faint); flex-wrap: wrap; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-in), transform 700ms var(--ease-in); }
.rv.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .win-body { grid-template-columns: 200px minmax(0, 1fr); }
  .w-detail { display: none; }
  .c4, .c2, .c3 { grid-column: span 3; }
  .tunnel { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .bar-r { margin-left: auto; }
  .bar-r .btn { display: none; }
  .top.open .nav { display: flex; position: absolute; top: 64px; left: var(--s7); right: var(--s7); flex-direction: column; padding: var(--s4); border-radius: var(--r18); background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--lift); }
  .top.open .nav a { font-size: 16px; padding: 12px 16px; border-radius: var(--r12); }
  .bento { grid-template-columns: 1fr; }
  .c4, .c2, .c3 { grid-column: auto; }
  .pgrid, .plats { grid-template-columns: 1fr; }
  .ritem { grid-template-columns: 1fr; gap: var(--s3); }
  .foot { grid-template-columns: 1fr 1fr; }
  .sec { padding-top: var(--s13); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 var(--s7); }
  .hero { padding-top: var(--s11); }
  .win-body { grid-template-columns: 1fr; height: 520px; }
  .w-side { display: none; }
  .w-feed { padding: var(--s7); }
  .w-comp { margin: 0 var(--s4) var(--s4); }
  .nodes { grid-template-columns: 1fr; justify-items: center; gap: var(--s11); }
  .wire { width: 2px; height: 80px; }
  .wire svg, .packet { display: none; }
  .wire::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, var(--line-strong) 0 3px, transparent 3px 9px); }
  .wire .tag { top: 50%; left: 16px; transform: translateY(-50%); }
  .wire .lock { display: none; }
  .diagram { padding: var(--s9) var(--s7) var(--s12); }
  .picker { display: none; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  .rv, .win, .m { opacity: 1 !important; transform: none !important; }
}
.os-row { display: flex; gap: var(--s5); align-items: center; }
.os-row svg.os { margin-top: var(--s4); }

/* Document pages (privacy) */
.doc { max-width: 760px; padding-top: var(--s12); padding-bottom: var(--s13); }
.doc h1 { margin: 0; font-size: clamp(36px, 5vw, 52px); line-height: 1.05; font-weight: 600; letter-spacing: -.035em; }
.doc .meta { margin: var(--s6) 0 var(--s10); font-size: 14px; color: var(--muted); }
.doc h2 { margin: var(--s11) 0 var(--s6); font-size: 22px; line-height: 30px; letter-spacing: -.015em; }
.doc p, .doc li { font-size: 16.5px; line-height: 27px; color: var(--text-2); }
.doc p { margin: 0 0 var(--s7); }
.doc ul { margin: 0 0 var(--s7); padding-left: 20px; display: grid; gap: var(--s4); }
.doc b { color: var(--text); font-weight: 500; }
.doc code { font: 14.5px var(--mono); color: var(--text); background: var(--hover); padding: 1px 6px; border-radius: 6px; }
.doc a { color: var(--text); text-underline-offset: 3px; }
.doc .note { padding: var(--s8) var(--s9); border-radius: var(--r14); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; line-height: 26px; color: var(--text-2); }
.doc .callout { padding: var(--s5) var(--s7); border-radius: var(--r10); background: var(--hover); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
