@font-face { font-family: Inter; src: url(assets/fonts/inter.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: JBMono; src: url(assets/fonts/mono.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #05070f;
  --bg-2: #0a0f1e;
  --panel: rgb(255 255 255 / 0.028);
  --panel-2: rgb(255 255 255 / 0.05);
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.14);
  --ink: #f1f5f9;
  --ink-2: #cbd5e1;
  --muted: #94a3b8;
  --faint: #64748b;
  --brand: #6366f1;
  --brand-2: #8b5cf6;
  --brand-3: #a5b4fc;
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --grad: linear-gradient(135deg, #4f46e5, #7c3aed);
  --grad-text: linear-gradient(100deg, #c7d2fe 0%, #a5b4fc 30%, #c4b5fd 60%, #f0abfc 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-xl: 0 40px 120px -30px rgb(0 0 0 / 0.8), 0 0 0 1px var(--line);
  --mono: JBMono, ui-monospace, "SF Mono", Menlo, monospace;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgb(99 102 241 / 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-3); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient .glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.35; }
.ambient .g1 { width: 900px; height: 900px; background: #4f46e5; left: -300px; top: -420px; animation: drift1 22s ease-in-out infinite alternate; }
.ambient .g2 { width: 800px; height: 800px; background: #7c3aed; right: -320px; top: -200px; animation: drift2 26s ease-in-out infinite alternate; opacity: 0.25; }
.ambient .noise { position: absolute; inset: 0; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes drift1 { to { transform: translate(180px, 120px) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-160px, 200px) scale(0.9); } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: rgb(5 7 15 / 0.6); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgb(5 7 15 / 0.82); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; font-size: 17px; }
.logo img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 6px 24px -6px rgb(124 58 237 / 0.8); }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 550; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 12px; padding: 11px 18px; font-weight: 650; font-size: 15px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--panel-2); color: var(--ink);
  transition: transform .15s, background .15s, border-color .15s, box-shadow .2s; white-space: nowrap;
}
.btn:hover { background: rgb(255 255 255 / 0.09); border-color: rgb(255 255 255 / 0.22); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad); border-color: transparent; color: #fff;
  box-shadow: 0 10px 40px -10px rgb(99 102 241 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.btn-primary:hover { background: linear-gradient(135deg, #5b53f0, #8b4cf0); box-shadow: 0 14px 50px -10px rgb(124 58 237 / 1), inset 0 1px 0 rgb(255 255 255 / 0.3); }
.btn-lg { padding: 15px 24px; font-size: 16.5px; border-radius: 14px; }
.btn-sm { padding: 7px 12px; font-size: 13.5px; border-radius: 10px; }
.btn svg { flex: none; }
.btn .sub { font-weight: 500; opacity: .75; font-size: 13px; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 88px 0 40px; text-align: center; }
.hero-grid {
  position: absolute; left: 50%; top: 0; width: 2400px; height: 900px; transform: translateX(-50%); z-index: -1;
  background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 50% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 30%, #000 30%, transparent 75%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--panel); font-size: 13.5px; color: var(--ink-2); font-weight: 550;
}
.eyebrow b { background: var(--grad); color: #fff; font-size: 11.5px; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; font-weight: 750; }
.eyebrow:hover { border-color: rgb(255 255 255 / .24); }
h1.display .br { display: block; }
@media (max-width: 640px) { h1.display .br { display: inline; } }
h1.display {
  font-size: clamp(44px, 7.4vw, 92px); line-height: 1; letter-spacing: -0.052em; font-weight: 850;
  margin: 26px auto 0; max-width: 1000px; text-wrap: balance;
}
.lede { font-size: clamp(17px, 1.9vw, 21px); color: var(--muted); max-width: 680px; margin: 26px auto 0; line-height: 1.55; text-wrap: pretty; }
.lede b { color: var(--ink-2); font-weight: 600; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.hero-meta { margin-top: 18px; font-size: 13.5px; color: var(--faint); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); display: block; }

/* word reveal */
.reveal-words .w { display: inline-block; opacity: 0; transform: translateY(0.4em) rotate(4deg); filter: blur(8px); animation: wordIn .9s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }
.fade-up { opacity: 0; transform: translateY(16px); animation: fadeUp .9s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- hero stage (app mock) ---------- */
.stage { position: relative; margin: 64px auto 0; max-width: 1180px; perspective: 2400px; }
.stage-steps { display: flex; justify-content: center; gap: 6px; margin-bottom: 22px; flex-wrap: wrap; }
.stage-step {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line);
  background: var(--panel); border-radius: 999px; padding: 8px 16px; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.stage-step .n { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.stage-step.active { color: #fff; border-color: rgb(165 180 252 / .45); background: rgb(99 102 241 / .14); }
.stage-step.active .n { color: var(--brand-3); }
.stage-step .bar { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--grad); width: 0; }
.mock-frame { position: relative; transform-style: preserve-3d; transition: transform .2s ease-out; will-change: transform; }
.mock-glow { position: absolute; inset: 8% 6% -6%; background: radial-gradient(closest-side, rgb(99 102 241 / .55), transparent); filter: blur(60px); z-index: -1; }
.mock-scaler { position: relative; width: 100%; }
.mock-scaler > .win { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: rgb(12 17 32 / .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); box-shadow: 0 20px 60px -12px rgb(0 0 0 / .7); font-size: 14px; font-weight: 650; text-align: left;
  opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .5s, transform .6s cubic-bezier(.2, .9, .3, 1.3);
}
.float-chip.on { opacity: 1; transform: none; }
.float-chip small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; margin-top: 1px; }
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; color: #fff; }

/* ======= in-app UI (mirrors src/app/styles.css tokens) ======= */
.win {
  width: 1200px; height: 740px; border-radius: 16px; overflow: hidden; background: #edf1f7; color: #0f172a; text-align: left;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 50px 120px -20px rgb(0 0 0 / .85), 0 0 140px -40px rgb(99 102 241 / .7);
  font-size: 14.5px; line-height: 1.5;
  --surface: #fff; --ink: #0f172a; --muted: #64748b; --border: #e2e8f0; --brand: #4f46e5; --brand-tint: #eef2ff;
  --shadow: 0 1px 2px rgb(15 23 42 / .06), 0 4px 16px -4px rgb(15 23 42 / .08);
}
.win .titlebar { height: 36px; background: #070b16; display: flex; align-items: center; padding: 0 14px; gap: 8px; border-bottom: 1px solid rgb(255 255 255 / .06); }
.win .titlebar i { width: 11px; height: 11px; border-radius: 50%; background: #1e293b; display: block; }
.win .titlebar span { flex: 1; text-align: center; font-size: 12.5px; color: #64748b; font-weight: 600; margin-right: 50px; }
.win .layout { display: flex; height: 704px; }
.win .sidebar { width: 236px; flex: none; background: #0b1120; color: #e2e8f0; display: flex; flex-direction: column; padding: 20px 12px; }
.win .brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; }
.win .brand-mark { width: 32px; height: 32px; border-radius: 10px; flex: none; background: linear-gradient(135deg, #4f46e5, #7c3aed); display: flex; align-items: center; justify-content: center; }
.win .brand-name { font-weight: 800; font-size: 15px; line-height: 1.1; display: block; }
.win .brand-sub { font-size: 11px; color: #94a3b8; }
.win .navl { display: flex; flex-direction: column; gap: 3px; margin-top: 22px; }
.win .nav-label { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #64748b; padding: 0 10px; margin-bottom: 4px; }
.win .nav-item { display: flex; align-items: center; gap: 10px; color: #cbd5e1; border-radius: 10px; padding: 9px 12px; font-weight: 600; font-size: 14px; }
.win .nav-item.active { background: rgb(255 255 255 / .1); color: #fff; }
.win .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #f87171; margin: 0 5px 0 4px; animation: pulse 1.4s infinite; }
.win .sidebar-footer { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.win .model-chip { display: flex; align-items: center; gap: 8px; font-size: 12.5px; background: rgb(255 255 255 / .06); border-radius: 10px; padding: 9px 12px; color: #cbd5e1; }
.win .model-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; flex: none; }
.win .model-dot.working { background: #fbbf24; animation: pulse 1.2s infinite; }
.win .privacy-note { font-size: 11px; color: #64748b; padding: 0 4px; }
.win .main { flex: 1; position: relative; overflow: hidden; }
.win .screen { position: absolute; inset: 0; padding: 30px 38px; opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .2, 1), filter .5s; pointer-events: none; }
.win .screen.on { opacity: 1; transform: none; filter: none; }
.win h3 { font-size: 26px; letter-spacing: -.02em; font-weight: 800; margin: 0; }
.win .muted { color: #64748b; font-size: 14px; margin: 4px 0 0; }
.win .card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px; box-shadow: var(--shadow); margin-bottom: 14px; }
.win .ubtn { border: 1px solid #e2e8f0; background: #fff; color: #0f172a; border-radius: 10px; padding: 8px 14px; font-size: 13.5px; font-weight: 650; display: inline-flex; align-items: center; gap: 7px; transition: transform .1s, border-color .2s; }
.win .ubtn-primary { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.win .ubtn-lg { padding: 12px 20px; font-size: 15px; border-radius: 12px; }
.win .ubtn.press { transform: scale(.95); }
.win .pill { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0; white-space: nowrap; }
.win .pill-dual { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.win .pill-completed { background: #dcfce7; color: #15803d; border-color: #bbf7d0; }
.win .pill-processing { background: #fef9c3; color: #b45309; border-color: #fde68a; }
.win .steps { display: flex; gap: 8px; margin: 14px 0 4px; }
.win .step { flex: 1; height: 4px; border-radius: 2px; background: #e2e8f0; transition: background .3s; }
.win .step.done { background: #4f46e5; }
.win .source-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.win .source-card { border: 2px solid #e2e8f0; border-radius: 14px; background: #fff; padding: 16px 14px; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s, transform .2s; }
.win .source-card .icon { width: 42px; height: 42px; border-radius: 12px; background: #eef2ff; color: #4f46e5; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; transition: background .2s, color .2s; }
.win .source-card strong { display: block; font-size: 15px; }
.win .source-card small { display: block; color: #64748b; margin-top: 4px; font-size: 12.5px; line-height: 1.4; }
.win .source-card.selected { border-color: #4f46e5; box-shadow: 0 0 0 3px rgb(79 70 229 / .15), var(--shadow); }
.win .source-card.selected .icon { background: #4f46e5; color: #fff; }
.win .field-label { display: block; font-weight: 700; margin: 16px 0 8px; font-size: 14px; }
.win .input { width: 100%; padding: 0 14px; font-size: 14.5px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; height: 42px; display: flex; align-items: center; }
.win .caret { display: inline-block; width: 2px; height: 17px; background: #4f46e5; margin-left: 1px; animation: blink 1s steps(1) infinite; vertical-align: -3px; }
.win .rec-hero { background: linear-gradient(160deg, #111a30, #0b1120); color: #fff; border-radius: 20px; padding: 34px 24px 28px; text-align: center; }
.win .rec-hero .src { font-size: 12.5px; color: #94a3b8; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.win .rec-hero h3 { color: #fff; margin-top: 6px; }
.win .rec-orb { width: 18px; height: 18px; border-radius: 50%; background: #ef4444; margin: 20px auto 4px; animation: orb 1.6s infinite; }
.win .timer { font-family: var(--mono); font-size: 64px; font-weight: 800; letter-spacing: .02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.win .rec-state { color: #cbd5e1; font-weight: 600; }
.win .meters { display: flex; gap: 28px; justify-content: center; margin-top: 20px; }
.win .meter { display: flex; align-items: center; gap: 10px; }
.win .meter b { font-size: 11px; letter-spacing: .1em; color: #94a3b8; width: 52px; text-align: right; }
.win .meter .lv { display: flex; gap: 3px; align-items: center; height: 36px; }
.win .meter .lv i { display: block; width: 5px; border-radius: 3px; background: #818cf8; height: 4px; transition: height .09s linear; }
.win .meter.o .lv i { background: #34d399; }
.win .rec-btns { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.win .btn-stop { background: #ef4444; border-color: #ef4444; color: #fff; padding: 11px 24px; font-size: 15px; border-radius: 12px; }
.win .btn-ghost { background: transparent; border-color: rgb(255 255 255 / .25); color: #fff; padding: 11px 20px; border-radius: 12px; }
.win .saved-note { display: flex; align-items: center; justify-content: center; gap: 6px; color: #86efac; font-size: 12.5px; margin-top: 16px; font-family: var(--mono); }
.win .pill-row { display: flex; gap: 6px; margin-top: 10px; }
.win .track { display: flex; align-items: center; gap: 12px; height: 38px; }
.win .track-label { width: 58px; font-size: 11.5px; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: .06em; }
.win .wave { flex: 1; height: 32px; display: flex; align-items: center; gap: 2px; }
.win .wave i { display: block; flex: 1; border-radius: 2px; background: #c7d2fe; transition: background .15s; }
.win .wave i.on { background: #4f46e5; }
.win .loader-head { display: flex; align-items: center; gap: 10px; }
.win .spinner { width: 18px; height: 18px; border: 3px solid #e2e8f0; border-top-color: #4f46e5; border-radius: 50%; animation: spin .8s linear infinite; }
.win .prog { height: 9px; border-radius: 5px; background: #e2e8f0; margin-top: 12px; overflow: hidden; }
.win .prog i { display: block; height: 100%; background: linear-gradient(90deg, #4f46e5, #7c3aed); border-radius: 5px; width: 0; }
.win .ubadge { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; border: 1px solid #c7d2fe; background: #eef2ff; color: #4338ca; text-transform: uppercase; letter-spacing: .04em; }
.win .transcript { list-style: none; margin: 10px 0 0; padding: 0; }
.win .transcript li { padding: 9px 12px; font-size: 14px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; margin-bottom: 6px; white-space: nowrap; overflow: hidden; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .5s cubic-bezier(.2, .8, .2, 1), border-color .6s; }
.win .transcript li.in { opacity: 1; transform: none; }
.win .transcript li.hot { border-color: #a5b4fc; }
.win .ts { color: #4f46e5; font-family: var(--mono); margin-right: 10px; font-size: 12px; font-weight: 700; }
.win .who { font-weight: 700; font-size: 12px; margin-right: 8px; text-transform: uppercase; letter-spacing: .04em; }
.win .who.me { color: #4338ca; } .win .who.ot { color: #047857; }
.win .kp { list-style: none; margin: 10px 0 0; padding: 0; }
.win .kp li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; padding: 5px 0; opacity: 0; transform: translateX(-16px); transition: opacity .4s, transform .5s cubic-bezier(.2, .9, .3, 1.4); }
.win .kp li.in { opacity: 1; transform: none; }
.win .kp .ck { width: 20px; height: 20px; border-radius: 6px; background: #dcfce7; color: #15803d; display: flex; align-items: center; justify-content: center; flex: none; }
.win .h4 { font-size: 16px; font-weight: 750; margin: 18px 0 0; }
.win .cursor { position: absolute; z-index: 20; width: 24px; height: 24px; left: 0; top: 0; transition: transform .7s cubic-bezier(.65, 0, .35, 1), opacity .3s; pointer-events: none; filter: drop-shadow(0 3px 6px rgb(0 0 0 / .35)); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes orb { 0% { box-shadow: 0 0 0 0 rgb(239 68 68 / .45); } 70% { box-shadow: 0 0 0 18px rgb(239 68 68 / 0); } 100% { box-shadow: 0 0 0 0 rgb(239 68 68 / 0); } }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 120px 0; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .2em; color: var(--brand-3); font-weight: 650; text-transform: uppercase; display: inline-flex; align-items: center; gap: 12px; }
.kicker::before, .kicker::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--brand-3)); }
.kicker::after { transform: scaleX(-1); }
h2.title { font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 820; margin: 18px 0 0; text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 18.5px; margin: 20px auto 0; max-width: 640px; text-wrap: pretty; }

/* scroll reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv, .reveal-words .w, .fade-up { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; transition: none !important; }
  .ambient .glow { animation: none; }
}

/* trust strip */
.strip { padding: 34px 0 20px; }
.strip p { text-align: center; color: var(--faint); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 650; margin: 0 0 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.tech { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.tech i { width: 7px; height: 7px; border-radius: 50%; display: block; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .marquee-track [aria-hidden] { display: none; } }

/* showreel */
.reel-box { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); background: #000; aspect-ratio: 16 / 9; }
.reel-box video { width: 100%; height: 100%; object-fit: cover; }
.reel-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgb(0 0 0 / .25);
  border: 0; cursor: pointer; transition: background .2s;
}
.reel-play:hover { background: rgb(0 0 0 / .1); }
.reel-play span { width: 96px; height: 96px; border-radius: 50%; background: rgb(255 255 255 / .12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgb(255 255 255 / .3); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.reel-play:hover span { transform: scale(1.08); }
.reel-box.playing .reel-play { display: none; }

/* how it works */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.flow-card { position: relative; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border-radius: var(--radius-lg); padding: 30px; overflow: hidden; }
.flow-card .idx { font-family: var(--mono); font-size: 13px; color: var(--brand-3); letter-spacing: .15em; font-weight: 650; }
.flow-card h3 { font-size: 26px; letter-spacing: -.03em; margin: 12px 0 8px; font-weight: 780; }
.flow-card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.flow-viz { height: 150px; margin: -6px -6px 22px; border-radius: 16px; background: rgb(0 0 0 / .25); border: 1px solid var(--line); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.eq { display: flex; gap: 5px; align-items: center; height: 90px; }
.eq i { width: 7px; border-radius: 4px; background: linear-gradient(180deg, #a5b4fc, #6366f1); animation: eq 1.1s ease-in-out infinite alternate; }
.eq.o i { background: linear-gradient(180deg, #6ee7b7, #10b981); }
@keyframes eq { from { height: 10%; } to { height: 100%; } }
.typing { font-family: var(--mono); font-size: 13.5px; color: var(--ink-2); text-align: left; padding: 0 20px; width: 100%; line-height: 1.9; }
.typing .t { color: var(--brand-3); margin-right: 8px; }
.typing .row { white-space: nowrap; overflow: hidden; width: 0; animation: type 1.2s steps(40) forwards; }
.typing .row:nth-child(2) { animation-delay: 1.3s; } .typing .row:nth-child(3) { animation-delay: 2.6s; }
@keyframes type { to { width: 100%; } }
.fly { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px; width: 100%; }
.fly span { border: 1px solid var(--line-2); background: var(--panel-2); border-radius: 12px; padding: 10px 6px; text-align: center; font-size: 12.5px; font-weight: 650; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 6px; animation: bob 3s ease-in-out infinite; }
.fly span:nth-child(2) { animation-delay: .4s; } .fly span:nth-child(3) { animation-delay: .8s; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.flow-arrow { position: absolute; top: 50%; width: 18px; height: 18px; right: -18px; color: var(--faint); z-index: 2; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; grid-column: span 2; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgb(255 255 255 / .045), rgb(255 255 255 / .015)); padding: 28px; overflow: hidden; min-height: 260px;
  transition: border-color .3s, transform .3s;
}
.tile:hover { border-color: var(--line-2); }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgb(99 102 241 / .14), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile:hover::before { opacity: 1; }
.tile.w3 { grid-column: span 3; } .tile.w4 { grid-column: span 4; } .tile.w6 { grid-column: span 6; }
.tile h3 { font-size: 21px; letter-spacing: -.025em; margin: 0 0 8px; font-weight: 750; }
.tile p { color: var(--muted); margin: 0; font-size: 15px; max-width: 460px; }
.tile .ico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; background: rgb(99 102 241 / .14); color: var(--brand-3); border: 1px solid rgb(165 180 252 / .2); }
.tile .viz { margin-top: 24px; }
.tracks2 { display: grid; gap: 10px; }
.tracks2 .tr { display: flex; align-items: center; gap: 12px; }
.tracks2 b { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: var(--muted); width: 58px; }
.tracks2 .w { flex: 1; height: 36px; display: flex; gap: 2px; align-items: center; }
.tracks2 .w i { flex: 1; border-radius: 2px; background: #818cf8; opacity: .85; }
.tracks2 .tr.o .w i { background: #34d399; }
.chunks { display: flex; flex-wrap: wrap; gap: 6px; }
.chunks span { font-family: var(--mono); font-size: 11.5px; padding: 5px 8px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); background: var(--panel); animation: chunk 6s infinite; }
@keyframes chunk { 0%, 100% { border-color: var(--line); color: var(--muted); } 8% { border-color: rgb(52 211 153 / .6); color: #6ee7b7; } }
.tiers { display: flex; flex-direction: column; gap: 8px; }
.tiers div { display: flex; align-items: center; gap: 12px; font-size: 14px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.tiers b { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-weight: 850; flex: none; }
.tiers span { color: var(--ink-2); font-weight: 600; }
.tiers em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.gpu { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1px solid rgb(251 191 36 / .25); background: rgb(251 191 36 / .06); }
.gpu code { font-family: var(--mono); font-size: 13px; color: #fde68a; }
.sum-card { border-radius: 16px; border: 1px solid var(--line); background: rgb(0 0 0 / .25); padding: 16px 18px; font-size: 14px; color: var(--ink-2); }
.sum-card .h { display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.sum-card .tag2 { font-family: var(--mono); font-size: 11px; color: var(--brand-3); border: 1px solid rgb(165 180 252 / .3); padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.sum-card ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.sum-card li { display: flex; gap: 8px; align-items: center; }
.sum-card li::before { content: "✓"; color: var(--ok); font-weight: 800; font-size: 13px; }
.dest { display: flex; gap: 8px; flex-wrap: wrap; }
.dest span { font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; }
.mini-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; max-width: 320px; }
.mini-cal span { aspect-ratio: 1; border-radius: 9px; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.mini-cal span i { width: 5px; height: 5px; border-radius: 50%; display: block; }
.mini-cal .rec i { background: var(--brand); } .mini-cal .srv i { background: var(--ok); }
.mini-cal .today { border-color: var(--brand); color: #fff; background: rgb(99 102 241 / .2); }
.search-demo { border-radius: 14px; border: 1px solid var(--line-2); background: rgb(0 0 0 / .3); padding: 12px 14px; font-size: 14.5px; display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.search-demo .q::after { content: "|"; color: var(--brand-3); animation: blink 1s steps(1) infinite; margin-left: 1px; }
.hits { margin-top: 10px; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.hits div { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); }
.hits mark { background: rgb(99 102 241 / .35); color: #fff; border-radius: 4px; padding: 0 3px; }
.exports { display: flex; gap: 8px; flex-wrap: wrap; }
.exports span { font-family: var(--mono); font-size: 12.5px; padding: 7px 11px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); color: var(--ink-2); }

/* privacy */
.privacy { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.vault { position: relative; aspect-ratio: 1; max-width: 480px; margin: 0 auto; width: 100%; }
.vault .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgb(255 255 255 / .12); animation: spin 60s linear infinite; }
.vault .ring.r2 { inset: 12%; border-style: solid; border-color: transparent; background: conic-gradient(from 0deg, transparent, rgb(129 140 248 / .7), rgb(52 211 153 / .6), transparent 60%) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; border-width: 2px; animation-duration: 9s; }
.vault .ring.r3 { inset: 24%; border-color: rgb(255 255 255 / .08); border-style: solid; animation: none; }
.vault .core { position: absolute; inset: 34%; border-radius: 30%; background: var(--grad); display: flex; align-items: center; justify-content: center; box-shadow: 0 30px 120px -10px rgb(124 58 237 / .9), inset 0 1px 0 rgb(255 255 255 / .3); }
.vault .orbit { position: absolute; left: 50%; top: 50%; width: 0; height: 0; animation: spin 24s linear infinite; }
.vault .orbit span { position: absolute; transform: translate(-50%, -50%); font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 6px 10px; border-radius: 999px; background: rgb(12 17 32 / .9); border: 1px solid var(--line-2); white-space: nowrap; }
.vault .orbit span b { display: inline-block; animation: spin 24s linear infinite reverse; font-weight: 600; }
.ledger { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); }
.ledger-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 18px 22px; align-items: center; }
.ledger-row + .ledger-row { border-top: 1px solid var(--line); }
.ledger-row strong { display: block; font-size: 16px; font-weight: 650; }
.ledger-row small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.status { font-family: var(--mono); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; letter-spacing: .04em; }
.status.never { color: #6ee7b7; background: rgb(52 211 153 / .1); border: 1px solid rgb(52 211 153 / .3); }
.status.optin { color: #fde68a; background: rgb(251 191 36 / .08); border: 1px solid rgb(251 191 36 / .28); }
.privacy-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.privacy-points span { text-align: center; padding: 14px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.privacy-points span b { display: block; font-size: 24px; letter-spacing: -.03em; color: #fff; }

/* ---------- download ---------- */
.dl { border: 1px solid var(--line-2); border-radius: 32px; background: linear-gradient(180deg, rgb(99 102 241 / .08), rgb(255 255 255 / .015) 40%); padding: 44px; position: relative; overflow: hidden; }
.dl::before { content: ""; position: absolute; left: 50%; top: -240px; width: 800px; height: 400px; transform: translateX(-50%); background: radial-gradient(closest-side, rgb(124 58 237 / .35), transparent); pointer-events: none; }
.dl-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; }
.rel-chip { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.rel-chip .v { font-family: var(--mono); background: var(--grad); color: #fff; padding: 4px 10px; border-radius: 8px; font-size: 13px; font-weight: 700; }
.rel-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.rel-chip .dot.pending { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.os-tabs { display: inline-flex; padding: 5px; border-radius: 14px; background: rgb(0 0 0 / .3); border: 1px solid var(--line); gap: 4px; }
.os-tab { border: 0; background: transparent; padding: 9px 16px; border-radius: 10px; font-weight: 650; font-size: 14.5px; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s; }
.os-tab:hover { color: var(--ink); }
.os-tab[aria-selected="true"] { background: rgb(255 255 255 / .1); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .08); }
.os-tab .you { font-size: 10.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--ok); }
.dl-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; margin-top: 30px; position: relative; }
.primary-dl { min-width: 0; border: 1px solid var(--line-2); border-radius: 22px; background: rgb(0 0 0 / .28); padding: 28px; display: flex; flex-direction: column; }
.primary-dl .os-name { display: flex; align-items: center; gap: 14px; }
.primary-dl .os-name svg { width: 40px; height: 40px; }
.primary-dl h3 { margin: 0; font-size: 26px; letter-spacing: -.03em; font-weight: 800; }
.primary-dl .req { color: var(--muted); font-size: 14px; margin: 2px 0 0; }
.primary-dl .btn { margin-top: 24px; width: 100%; white-space: normal; flex-wrap: wrap; text-align: center; }
.primary-dl .fname { font-family: var(--mono); font-size: 12.5px; color: var(--faint); margin-top: 10px; text-align: center; word-break: break-all; }
.install-steps { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.install-steps li { counter-increment: s; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.install-steps li > div { min-width: 0; }
.install-steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 8px; background: rgb(99 102 241 / .18); color: var(--brand-3); font-weight: 750; font-size: 13px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); }
.code { position: relative; font-family: var(--mono); font-size: 13px; background: rgb(0 0 0 / .45); border: 1px solid var(--line); border-radius: 10px; padding: 10px 44px 10px 12px; margin-top: 8px; color: #e0e7ff; overflow-x: auto; white-space: pre; }
.code .copy { position: absolute; right: 6px; top: 6px; }
.copy { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; width: 30px; height: 28px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--muted); transition: color .15s, border-color .15s; }
.copy:hover { color: #fff; border-color: var(--line-2); }
.copy.done { color: var(--ok); border-color: rgb(52 211 153 / .4); }
.bin-table { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgb(0 0 0 / .2); }
.bin-table h4 { margin: 0; padding: 16px 20px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.bin { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 20px; transition: background .15s; }
.bin + .bin { border-top: 1px solid var(--line); }
.bin:hover { background: rgb(255 255 255 / .025); }
.bin .nm { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bin .nm strong { font-size: 15px; font-weight: 650; }
.bin .ext { font-family: var(--mono); font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: rgb(99 102 241 / .16); color: var(--brand-3); border: 1px solid rgb(165 180 252 / .25); }
.bin .arch { font-family: var(--mono); font-size: 11.5px; color: var(--muted); border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; }
.bin .rec { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ok); }
.bin .meta { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 4px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.bin .meta .sha { display: inline-flex; align-items: center; gap: 6px; }
.bin .meta .sha .copy { width: 24px; height: 22px; }
.dl-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid rgb(251 191 36 / .25); background: rgb(251 191 36 / .05); }
.dl-note[hidden] { display: none; }
.dl-note svg { flex: none; color: var(--warn); margin-top: 2px; }
.dl-note a { color: #fde68a; text-decoration: underline; text-underline-offset: 3px; }

.backend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; position: relative; }
.backend-card { border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: var(--panel); }
.backend-card h4 { margin: 0 0 4px; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.backend-card h4 svg { width: 20px; height: 20px; }
.backend-card p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* matrix / history */
.matrix-wrap { margin-top: 56px; }
.matrix-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.matrix-head h3 { margin: 0; font-size: 28px; letter-spacing: -.03em; font-weight: 800; }
.matrix-head p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.filter { display: flex; gap: 8px; flex-wrap: wrap; }
.filter button { border: 1px solid var(--line); background: var(--panel); color: var(--muted); padding: 7px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.filter button[aria-pressed="true"] { color: #fff; border-color: rgb(165 180 252 / .45); background: rgb(99 102 241 / .16); }
.release { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); margin-bottom: 12px; overflow: hidden; }
.release > summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.release > summary::-webkit-details-marker { display: none; }
.release > summary .v { font-family: var(--mono); font-weight: 800; font-size: 17px; }
.release > summary .latest { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 3px 9px; border-radius: 999px; }
.release > summary .pre { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fde68a; border: 1px solid rgb(251 191 36 / .35); padding: 2px 8px; border-radius: 999px; }
.release > summary .date { color: var(--muted); font-size: 14px; }
.release > summary .count { margin-left: auto; color: var(--faint); font-size: 13.5px; font-family: var(--mono); }
.release > summary .chev { transition: transform .2s; color: var(--faint); }
.release[open] > summary .chev { transform: rotate(90deg); }
.release[open] > summary { border-bottom: 1px solid var(--line); }
.matrix { width: 100%; border-collapse: collapse; font-size: 14px; }
.matrix th { text-align: left; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 700; padding: 12px 22px; }
.matrix td { padding: 12px 22px; border-top: 1px solid var(--line); vertical-align: middle; }
.matrix td.f { font-family: var(--mono); font-size: 13px; color: var(--ink-2); word-break: break-all; }
.matrix td.s { font-family: var(--mono); color: var(--muted); font-size: 13px; white-space: nowrap; }
.matrix td.a { text-align: right; white-space: nowrap; }
.plat { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; white-space: nowrap; }
.plat svg { width: 16px; height: 16px; }
.rel-notes { padding: 4px 22px 18px; color: var(--muted); font-size: 14px; }
.rel-notes a { color: var(--brand-3); }

/* source */
.source-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.terminal { border-radius: 18px; border: 1px solid var(--line); background: #070a14; overflow: hidden; }
.terminal .bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); align-items: center; }
.terminal .bar i { width: 10px; height: 10px; border-radius: 50%; background: #1e293b; display: block; }
.terminal .bar span { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.terminal pre { margin: 0; padding: 18px; font-family: var(--mono); font-size: 13.5px; line-height: 1.8; color: #cbd5e1; overflow-x: auto; }
.terminal .c { color: #64748b; } .terminal .p { color: var(--brand-3); user-select: none; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; flex: none; transition: transform .25s, background .2s; color: var(--muted); }
.faq details[open] summary .pm { transform: rotate(45deg); background: rgb(99 102 241 / .2); color: #fff; }
.faq details p { margin: -6px 0 22px; color: var(--muted); font-size: 16px; max-width: 700px; }
.faq code { font-family: var(--mono); font-size: 13.5px; background: var(--panel-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: #e0e7ff; }

/* final cta */
.final { text-align: center; padding: 140px 0 120px; position: relative; overflow: hidden; }
.final .big-logo { width: 96px; height: 96px; margin: 0 auto 30px; border-radius: 28px; box-shadow: 0 30px 100px -10px rgb(124 58 237 / .9); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px) rotate(-3deg); } }
.final h2 { font-size: clamp(40px, 6.5vw, 84px); letter-spacing: -.05em; line-height: 1; margin: 0; font-weight: 850; text-wrap: balance; }
.final p { color: var(--muted); font-size: 19px; margin: 22px auto 0; max-width: 560px; }
.final .hero-ctas { margin-top: 34px; }

footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a:hover { color: var(--ink); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; background: rgb(15 23 42 / .95); border: 1px solid var(--line-2); padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; transition: opacity .25s, transform .25s; z-index: 100; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.w3, .tile.w4 { grid-column: span 1; }
  .tile.w6, .tile.wide-md { grid-column: span 2; }
  .dl-main { grid-template-columns: minmax(0, 1fr); }
  .privacy { grid-template-columns: 1fr; }
  .backend { grid-template-columns: 1fr; }
  .float-chip { display: none; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta .btn:not(.btn-primary) { display: none; }
  .nav.open .nav-links { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgb(5 7 15 / .97); border-bottom: 1px solid var(--line); padding: 8px 24px 18px; margin: 0; }
  .nav.open .nav-links a { padding: 12px 0; font-size: 16px; }
  .menu-btn { display: inline-flex; margin-left: 0; }
  .nav-cta { margin-left: auto; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { display: none; }
  .source-grid2 { grid-template-columns: 1fr; }
  .section { padding: 88px 0; }
  .dl { padding: 22px; border-radius: 24px; }
  .matrix thead { display: none; }
  .matrix tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-top: 1px solid var(--line); }
  .matrix td { border: 0; padding: 3px 18px; }
  .matrix td.f { grid-column: 1 / -1; }
  .matrix td.a { grid-row: 1; grid-column: 2; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 56px; }
  .bento { grid-template-columns: 1fr; }
  .tile, .tile.w3, .tile.w4, .tile.w6, .tile.wide-md { grid-column: span 1; min-height: 0; padding: 22px; }
  .os-tabs { width: 100%; }
  .os-tab { flex: 1; justify-content: center; padding: 9px 6px; }
  .os-tab .you { display: none; }
  .bin { grid-template-columns: 1fr; }
  .bin .btn { width: 100%; }
  .privacy-points { grid-template-columns: 1fr; }
  .primary-dl { padding: 20px; }
  .stage-step { padding: 7px 12px; font-size: 12.5px; }
  .nav-cta .btn-primary .lbl { display: none; }
}
