/* Neo — landing page. Dark, single look; colour from the icon (rose → amber). */

:root {
  --bg: #08080a;
  --bg-2: #0e0e12;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --muted: #a1a1aa;
  --dim: #6b6b75;
  --rose: #e11d48;
  --amber: #f59e0b;
  --rose-soft: #fb7185;
  --amber-soft: #fbbf24;
  --grad: linear-gradient(120deg, #e11d48 0%, #f59e0b 100%);
  --grad-soft: linear-gradient(120deg, #fb7185 0%, #fbbf24 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --max: 1200px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(225, 29, 72, 0.45); color: #fff; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.grad-text {
  background: var(--grad-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Grain over everything, very faint. */
body::before {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8, 8, 10, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 8px 30px -10px rgba(225, 29, 72, 0.6);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 14px 40px -10px rgba(245, 158, 11, 0.55);
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--line-2); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 96px);
  padding-bottom: 40px;
  min-height: 100vh;
  overflow: clip;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-bg .glow {
  position: absolute;
  left: 50%;
  top: -10%;
  width: 1200px;
  height: 900px;
  transform: translateX(-50%);
  background:
    radial-gradient(45% 45% at 40% 35%, rgba(225, 29, 72, 0.28), transparent 70%),
    radial-gradient(40% 40% at 65% 30%, rgba(245, 158, 11, 0.22), transparent 70%);
  filter: blur(40px);
  opacity: 0.9;
}
.hero-bg .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(60% 55% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(60% 55% at 50% 30%, #000 30%, transparent 100%);
}

.hero-copy {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 6px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  color: var(--muted);
}
.eyebrow .pill {
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--grad);
}
.eyebrow .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--dim);
}

h1 {
  margin: 28px 0 0;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1.0;
  font-weight: 600;
  letter-spacing: -0.035em;
}
h1 .serif { font-weight: 400; }
.hero-sub {
  margin: 26px auto 0;
  max-width: 640px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--muted);
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 18px;
  font-size: 13px;
  color: var(--dim);
}
.hero-meta a { color: var(--muted); border-bottom: 1px solid var(--line-2); }

/* Word reveal */
.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.split .w > span {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}
.no-motion .split .w > span { transform: none; }

/* App window */
.hero-stage {
  position: relative;
  margin-top: 84px;
  perspective: 1600px;
}
.window {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: #0d0d10;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 40px 120px -30px rgba(0, 0, 0, 0.9),
    0 0 120px -30px rgba(225, 29, 72, 0.35);
  overflow: hidden;
  transform-origin: 50% 0%;
}
.window-bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.window-bar i {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.window-bar i:nth-child(1) { background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar span {
  margin-left: auto; margin-right: auto;
  font-size: 12px; color: var(--dim);
  transform: translateX(-30px);
}
.window img { width: 100%; height: auto; aspect-ratio: 1440 / 940; }
.hero-stage .window { transform: rotateX(14deg) scale(0.96); }
.no-motion .hero-stage .window { transform: none; }

.hero-fade {
  position: absolute;
  left: -5%; right: -5%; bottom: -2px;
  height: 45%;
  background: linear-gradient(to bottom, transparent, var(--bg) 85%);
  pointer-events: none;
}

/* Floating fact chips */
.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(20, 20, 24, 0.82);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.9);
  font-size: 13px;
  white-space: nowrap;
  will-change: transform;
}
.chip small {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 600;
}
.chip b { font-weight: 500; color: var(--text); }
.chip .warn { color: var(--rose-soft); }
.chip .ok { color: #4ade80; }
.chip .due { color: var(--amber-soft); }
.chip-1 { left: -3%; top: 14%; }
.chip-2 { right: -3%; top: 30%; }
.chip-3 { left: 6%; top: 62%; }
.chip-4 { right: 4%; top: 68%; }

/* ---------- Marquee ---------- */

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 40s linear infinite;
}
.marquee ul {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
  gap: 48px;
  padding-right: 48px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 500;
}
.marquee li { display: flex; align-items: center; gap: 48px; }
.marquee li::after {
  content: "";
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--rose);
  opacity: 0.7;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.no-motion .marquee { animation: none; }

/* ---------- Sections ---------- */

section { position: relative; }
.section { padding: 140px 0; }
.section-head {
  max-width: 720px;
}
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.label::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--grad);
}
h2 {
  margin: 18px 0 0;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.lede {
  margin: 20px 0 0;
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
}

.reveal { opacity: 0; transform: translateY(28px); will-change: transform, opacity; }
.no-motion .reveal { opacity: 1; transform: none; }

/* ---------- Manifesto (pinned, highlighted text) ---------- */

.manifesto { padding: 120px 0; }
.manifesto-inner {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.manifesto p {
  margin: 0;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -0.025em;
  max-width: 1080px;
}
.manifesto p .w { color: var(--dim); transition: none; }
.manifesto mark {
  color: inherit;
  background-color: transparent;
  padding: 0.02em 0.12em;
  margin: 0 -0.12em;
  border-radius: 0.18em;
  background-image: var(--grad);
  background-repeat: no-repeat;
  background-size: calc(var(--fill, 0) * 100%) 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.manifesto .serif { font-weight: 400; letter-spacing: 0; }

/* ---------- Three questions (pinned swap) ---------- */

.questions .wrap {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: center;
  min-height: 100vh;
}
.q-list { display: flex; flex-direction: column; gap: 8px; }
.q {
  position: relative;
  padding: 22px 0 22px 34px;
  cursor: default;
}
.q::before {
  content: "";
  position: absolute;
  left: 0; top: 22px; bottom: 22px;
  width: 2px;
  background: var(--line);
}
.q::after {
  content: "";
  position: absolute;
  left: 0; top: 22px;
  width: 2px;
  height: calc(100% - 44px);
  background: var(--grad);
  transform: scaleY(var(--p, 0));
  transform-origin: 0 0;
}
.q .num {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--dim);
  font-weight: 600;
}
.q h3 {
  margin: 8px 0 0;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--dim);
  transition: color 0.4s ease;
}
.q p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 420px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
}
.q.is-active h3 { color: var(--text); }
.q.is-active p { max-height: 200px; opacity: 1; }

.q-stage {
  position: relative;
  display: grid;
}
.q-stage .window {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.q-stage .window.is-active {
  opacity: 1;
  transform: none;
}
.q-stage::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(225, 29, 72, 0.18), transparent 70%);
  filter: blur(30px);
  z-index: -1;
}

/* ---------- Feature cards (pinned stack) ---------- */

.features { padding: 120px 0 80px; }
.features .section-head { margin-bottom: 64px; }
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  perspective: 1400px;
}
.card {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  min-height: 240px;
  display: flex;
  flex-direction: column;
  will-change: transform, opacity;
  overflow: hidden;
  transition: border-color 0.3s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 40% at 20% 0%, rgba(225, 29, 72, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover { border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card .ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  margin-bottom: auto;
}
.card .ico svg { width: 20px; height: 20px; stroke: url(#ico-grad); }
.card h3 {
  margin: 28px 0 0;
  font-size: 18px;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.card p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.card.wide { grid-column: span 2; }

/* ---------- Horizontal gallery ---------- */

.gallery { padding: 0; }
.gallery-pin {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: calc(var(--nav-h) + 40px);
  overflow: hidden;
}
.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
}
.gallery-head h2 { font-size: clamp(28px, 3.4vw, 44px); }
.gallery-head .hint {
  font-size: 13px;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 10px;
}
.gallery-head .hint svg { width: 18px; height: 18px; }
.track {
  display: flex;
  gap: 28px;
  padding-left: calc((100vw - min(var(--max), 100vw - 48px)) / 2);
  padding-right: 10vw;
  will-change: transform;
}
.slide {
  flex: none;
  width: min(880px, 78vw, (100vh - 380px) * 1.53);
}
.slide .window img { width: 108%; max-width: none; margin-left: -4%; }
.slide .window { box-shadow: 0 30px 90px -30px rgba(0, 0, 0, 0.9); }
.slide figcaption {
  display: flex;
  gap: 18px;
  align-items: baseline;
  margin-top: 18px;
  padding-left: 4px;
}
.slide figcaption b {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.slide figcaption span { color: var(--muted); font-size: 14px; }
.slide figcaption .k {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  padding: 2px 7px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--muted);
}
.gallery-progress {
  height: 2px;
  background: var(--line);
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}
.gallery-progress i {
  position: absolute;
  inset: 0;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- Recording pipeline ---------- */

.record .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.record .section-head { margin-bottom: 48px; }
.steps {
  position: relative;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.steps::before {
  content: "";
  position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--line);
}
.steps .line {
  position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--grad);
  transform: scaleY(0);
  transform-origin: 0 0;
}
.step { position: relative; }
.step::before {
  content: "";
  position: absolute;
  left: -40px; top: 6px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line-2);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.step.is-on::before {
  border-color: var(--rose-soft);
  box-shadow: 0 0 0 5px rgba(225, 29, 72, 0.18);
}
.step h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.step p { margin: 8px 0 0; color: var(--muted); font-size: 15px; max-width: 480px; }
.record-visual {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}
.record-visual .window { box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.95); }
.transcript {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}
.transcript b { color: var(--text); font-weight: 600; }
.transcript .tag {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  color: var(--amber-soft);
  font-size: 12px;
  font-weight: 600;
}
.transcript .row { display: flex; gap: 10px; }
.transcript .row + .row { margin-top: 8px; }
.transcript .who {
  flex: none; width: 56px;
  color: var(--dim); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
  padding-top: 3px;
}

/* ---------- Your data ---------- */

.data { padding: 140px 0; }
.data-panel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  padding: 64px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  overflow: hidden;
}
.data-panel > * { min-width: 0; }
.data-panel::before {
  content: "";
  position: absolute;
  right: -20%; top: -40%;
  width: 700px; height: 700px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(245, 158, 11, 0.16), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.data-points {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}
.data-points li {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 15px;
}
.data-points li b { color: var(--text); font-weight: 600; display: block; }
.data-points svg { width: 20px; height: 20px; flex: none; margin-top: 2px; stroke: url(#ico-grad); }
.tree {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
  padding: 26px 28px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
  align-self: center;
  overflow-x: auto;
  margin: 0;
}
.tree .d { color: var(--amber-soft); }
.tree .c { color: var(--dim); }
.tree .ln { display: block; opacity: 0; transform: translateX(-8px); }
.no-motion .tree .ln { opacity: 1; transform: none; }

/* ---------- Assistant ---------- */

.ai .duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 56px;
}
.duo .card { min-height: 0; padding: 32px; }
.duo .card h3 { margin-top: 20px; font-size: 22px; }
.duo .card p { font-size: 15px; }
.duo .card .ico { margin-bottom: 0; }
.confirm {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.35);
  font-size: 14px;
  color: var(--muted);
}
.confirm b { color: var(--text); font-weight: 500; }
.confirm .row {
  display: flex; gap: 8px; margin-top: 12px;
}
.confirm .row span {
  height: 30px; padding: 0 12px;
  display: inline-flex; align-items: center;
  border-radius: 8px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--line-2);
}
.confirm .row span.yes { background: var(--grad); border-color: transparent; color: #fff; }

/* ---------- Download ---------- */

.download { padding: 160px 0 120px; text-align: center; overflow: clip; }
.download-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 45% at 50% 60%, rgba(225, 29, 72, 0.22), transparent 70%),
    radial-gradient(40% 40% at 60% 55%, rgba(245, 158, 11, 0.16), transparent 70%);
  filter: blur(40px);
}
.download .icon-lg {
  width: 96px; height: 96px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 20px 40px rgba(225, 29, 72, 0.35));
}
.download h2 { font-size: clamp(36px, 5.5vw, 72px); }
.download .lede { margin-inline: auto; }
.download-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.download-cta .version {
  font-size: 13px;
  color: var(--dim);
}
.platforms {
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 920px;
}
.platform {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.platform:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-2px); }
.platform.is-current { border-color: rgba(251, 113, 133, 0.5); }
.platform svg { width: 22px; height: 22px; margin-bottom: 8px; }
.platform b { font-size: 15px; font-weight: 600; }
.platform span { font-size: 13px; color: var(--muted); }
.platform .file {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  color: var(--dim);
  margin-top: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.platform.is-missing { opacity: 0.55; }
.unsigned {
  margin: 36px auto 0;
  max-width: 680px;
  font-size: 14px;
  color: var(--dim);
  line-height: 1.6;
}
.unsigned b { color: var(--muted); font-weight: 500; }
.unsigned code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--muted);
}
.source {
  margin: 56px auto 0;
  max-width: 560px;
  text-align: left;
}
.source pre {
  margin: 12px 0 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  overflow-x: auto;
}
.source pre b { color: var(--text); font-weight: 500; }
.source .label { color: var(--dim); }

/* ---------- Footer ---------- */

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

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card.wide { grid-column: span 2; }
  .record .wrap { grid-template-columns: 1fr; gap: 48px; }
  .record-visual { position: static; }
  .data-panel { grid-template-columns: 1fr; padding: 40px; gap: 40px; }
  .platforms { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 64px); }
  .hero-stage { margin-top: 56px; }
  .chip { display: none; }
  .section { padding: 96px 0; }
  .questions .wrap {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 32px;
    padding-block: 80px;
  }
  .q-stage { display: none; }
  .q h3 { color: var(--text); }
  .q p { max-height: none; opacity: 1; }
  .q::after { display: none; }
  .q .shot { display: block; margin-top: 20px; }
  .gallery-pin { height: auto; padding: 96px 0 0; overflow: visible; }
  .slide .window img { width: 100%; margin-left: 0; }
  .track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-right: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .track::-webkit-scrollbar { display: none; }
  .track { gap: 16px; }
  .slide { scroll-snap-align: start; width: 76vw; }
  .gallery-progress { display: none; }
  .gallery-head .hint { display: none; }
  .data { padding: 96px 0; }
  .download { padding: 110px 0 90px; }
  .manifesto { padding: 80px 0; }
  .ai .duo { grid-template-columns: 1fr; }
  .download-cta .btn-lg { width: 100%; max-width: 360px; }
}
@media (min-width: 861px) { .q .shot { display: none; } }

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .cards { grid-template-columns: 1fr; }
  .card.wide { grid-column: span 1; }
  .platforms { grid-template-columns: 1fr; }
  .btn-ghost.hide-sm { display: none; }
  .window-bar { height: 34px; }
  .window-bar span { display: none; }
  .eyebrow { font-size: 12px; }
  .eyebrow .hide-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { animation: none; }
}
