/*
 * Mamba marketing site. One stylesheet, no framework.
 * Ink and Paper with one signal (cyan #00C2FF), Geist throughout, heavy italic for display moments, mono labels,
 * the slash and the diagonal shard as graphic language (docs/BRAND.md). Scroll-linked motion reads one custom
 * property, --p (0..1), that src/client.ts writes; without JavaScript every --p falls back to 1 (the settled state).
 */

@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/geist-normal.woff2") format("woff2-variations"); }
@font-face { font-family: "Geist"; font-style: italic; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/geist-italic.woff2") format("woff2-variations"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/geist-mono.woff2") format("woff2-variations"); }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.26s cubic-bezier(0.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

:root {
  --ink: #0a0a0a;
  --ink-2: #121213;
  --ink-3: #1b1b1d;
  --bone: #f3f2ee;
  --bone-2: #b3b2ad;
  --bone-3: #7a7976;
  --signal: #00c2ff;
  --signal-hot: #5ad8ff;
  --signal-deep: #0077a8;

  --bg: #f7f5f2;
  --bg-2: #ffffff;
  --bg-3: #ecebe6;
  --fg: #0a0a0a;
  --fg-2: #4b4b50;
  --fg-3: #85858b;
  --line: rgb(10 10 10 / 0.09);
  --line-2: rgb(10 10 10 / 0.16);
  --accent: var(--signal-deep);
  --shot-shadow: 0 1px 2px rgb(10 10 10 / 0.06), 0 30px 60px -24px rgb(10 10 10 / 0.28), 0 90px 140px -50px rgb(10 10 10 / 0.3);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(20px, 4.4vw, 56px);
  --max: 1320px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0a0a0a; --bg-2: #121213; --bg-3: #1b1b1d;
  --fg: #f3f2ee; --fg-2: #a8a7a2; --fg-3: #6f6e6b;
  --line: rgb(243 242 238 / 0.08); --line-2: rgb(243 242 238 / 0.15);
  --accent: var(--signal);
  --shot-shadow: 0 0 0 1px rgb(243 242 238 / 0.07), 0 40px 100px -30px rgb(0 0 0 / 0.9), 0 0 140px -50px rgb(0 194 255 / 0.22);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0a0a; --bg-2: #121213; --bg-3: #1b1b1d;
    --fg: #f3f2ee; --fg-2: #a8a7a2; --fg-3: #6f6e6b;
    --line: rgb(243 242 238 / 0.08); --line-2: rgb(243 242 238 / 0.15);
    --accent: var(--signal);
    --shot-shadow: 0 0 0 1px rgb(243 242 238 / 0.07), 0 40px 100px -30px rgb(0 0 0 / 0.9), 0 0 140px -50px rgb(0 194 255 / 0.22);
    color-scheme: dark;
  }
}
/* The page colour, frozen at the root so ink sections can still reach it. */
:root { --page: var(--bg); }
.ink {
  --bg: var(--ink); --bg-2: var(--ink-2); --bg-3: var(--ink-3);
  --fg: var(--bone); --fg-2: var(--bone-2); --fg-3: var(--bone-3);
  --line: rgb(243 242 238 / 0.09); --line-2: rgb(243 242 238 / 0.18);
  --accent: var(--signal);
  background: var(--ink); color: var(--bone); color-scheme: dark;
}

/* Screenshots follow the theme: two images, one shown. */
.only-dark { display: none !important; }
:root[data-theme="dark"] .only-dark { display: block !important; }
:root[data-theme="dark"] .only-light { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-dark { display: block !important; }
  :root:not([data-theme="light"]) .only-light { display: none !important; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font);
  font-size: 17.5px; line-height: 1.55; letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
/* Film grain, barely there. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code, kbd, pre { font-family: var(--mono); font-size: 0.9em; }
kbd { padding: 1px 6px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--line-2); }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 1020px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--signal); color: var(--ink); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- type */

.eyebrow { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-3); }
.eyebrow .sep { margin-inline: 0.75em; color: var(--accent); }
.display { font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -0.05em; line-height: 0.86; }
.display .s, .s-signal { color: var(--signal); }
.h2 { font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 0.98; letter-spacing: -0.048em; font-weight: 600; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.5; color: var(--fg-2); max-width: 34em; letter-spacing: -0.012em; }
.muted { color: var(--fg-2); }
.subtle { color: var(--fg-3); }
.accent { color: var(--accent); }
.mono { font-family: var(--mono); }
.slash { color: var(--signal); font-weight: 300; font-style: normal; margin-right: 0.14em; display: inline-block; }

/* Line-by-line reveal: each .ln clips its inner span, which rises in. */
.ln { display: block; overflow: hidden; padding: 0.04em 0.08em 0.08em 0; margin: -0.04em -0.08em -0.08em 0; }
.ln > span { display: inline-block; }
.js .lines .ln > span { transform: translateY(110%) skewY(4deg); transition: transform 1.15s var(--ease); transition-delay: calc(var(--i, 0) * 85ms + 60ms); }
.js .lines.in .ln > span { transform: none; }

/* Generic fade-up reveal. */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- buttons */

.btn {
  --h: 50px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.4s var(--ease), background-color 0.25s, color 0.25s, box-shadow 0.4s var(--ease);
}
.btn svg { width: 17px; height: 17px; transition: transform 0.4s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn-signal { background: var(--signal); color: var(--ink); box-shadow: 0 12px 34px -12px rgb(0 194 255 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.45); }
.btn-signal:hover { background: var(--signal-hot); box-shadow: 0 18px 44px -12px rgb(0 194 255 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.45); }
.btn-solid { background: var(--fg); color: var(--bg); }
.btn-ghost { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; background: var(--signal); }
.dot.live { animation: live 1.8s ease-in-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgb(0 194 255 / 0.55); } 70%, 100% { box-shadow: 0 0 0 8px rgb(0 194 255 / 0); } }

/* ---------------------------------------------------------------- nav: a floating pill */

.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 60; pointer-events: none; view-transition-name: nav; }
.nav-pill {
  pointer-events: auto; margin-inline: auto; width: min(100% - 24px, 1180px); height: 58px; padding: 0 8px 0 16px;
  display: flex; align-items: center; gap: 18px; border-radius: 999px;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: inset 0 0 0 1px var(--line), 0 12px 32px -20px rgb(0 0 0 / 0.4);
  transition: width 0.7s var(--ease), background-color 0.4s, box-shadow 0.4s;
}
.nav.compact .nav-pill { width: min(100% - 24px, 940px); }
.nav.on-ink .nav-pill {
  --bg: #0a0a0a; --fg: var(--bone); --fg-2: var(--bone-2); --fg-3: var(--bone-3); --line: rgb(243 242 238 / 0.1); --line-2: rgb(243 242 238 / 0.2);
  color: var(--bone); background: rgb(18 18 19 / 0.55);
}
.lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); }
.mtile { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgb(243 242 238 / 0.13); flex: none; }
.mtile svg { width: 72%; height: 72%; }
.word { font-weight: 900; font-style: italic; letter-spacing: -0.05em; text-transform: uppercase; font-size: 21px; line-height: 1; padding-right: 0.08em; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { position: relative; padding: 8px 13px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--fg-2); transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover { color: var(--fg); background: color-mix(in oklab, var(--fg) 7%, transparent); }
.nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--signal); transform: translateX(-50%); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; color: var(--fg-2); transition: color 0.2s, background-color 0.2s; }
.icon-btn:hover { color: var(--fg); background: color-mix(in oklab, var(--fg) 8%, transparent); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}
.menu-btn { display: none; }
.menu-btn .close, .nav-open .menu-btn .open { display: none; }
.nav-open .menu-btn .close { display: block; }
.mobile-menu { display: none; }
@media (max-width: 920px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-btn { display: grid; }
  .nav-open { overflow: hidden; }
  .mobile-menu {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 55; padding: 100px var(--gutter) 32px;
    background: var(--ink); color: var(--bone); pointer-events: none; visibility: hidden; clip-path: circle(0 at calc(100% - 46px) 43px);
    transition: clip-path 0.75s var(--ease-in-out), visibility 0s 0.75s;
  }
  .nav-open .mobile-menu { pointer-events: auto; visibility: visible; clip-path: circle(150% at calc(100% - 46px) 43px); transition: clip-path 0.75s var(--ease-in-out); }
  .nav-open .nav-pill { --fg: var(--bone); --fg-2: var(--bone-2); color: var(--bone); background: transparent; box-shadow: none; backdrop-filter: none; }
  .mobile-menu a.big { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgb(243 242 238 / 0.1); font-size: clamp(34px, 9vw, 54px); font-weight: 900; font-style: italic; letter-spacing: -0.05em; text-transform: uppercase; line-height: 1; }
  .mobile-menu a.big small { font: 500 11px var(--mono); letter-spacing: 0.2em; color: var(--bone-3); font-style: normal; }
  .mobile-menu .btn { margin-top: auto; width: 100%; }
}

/* ---------------------------------------------------------------- graphic language */

.shard { position: absolute; top: -10%; bottom: -10%; clip-path: polygon(62% 0, 100% 0, 38% 100%, 0 100%); pointer-events: none; }
.shard.a { right: 2%; width: 17%; background: linear-gradient(180deg, var(--signal) 10%, rgb(0 194 255 / 0.08)); transform: translateY(calc((1 - var(--p, 1)) * 80px)); }
.shard.b { right: 20%; width: 6%; background: var(--bone); opacity: 0.07; transform: translateY(calc((1 - var(--p, 1)) * 40px)); }
.signal-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.signal-lines path { fill: none; stroke: var(--signal); stroke-width: 1.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.signal-lines .base { opacity: 0.14; }
.signal-lines .pulse { stroke-dasharray: 140 2400; animation: flow 8s linear infinite; filter: drop-shadow(0 0 5px rgb(0 194 255 / 0.9)); }
.signal-lines .pulse:nth-of-type(4) { animation-duration: 10s; animation-delay: -4s; }
.signal-lines .pulse:nth-of-type(6) { animation-duration: 12s; animation-delay: -7s; }
@keyframes flow { from { stroke-dashoffset: 2540; } to { stroke-dashoffset: 0; } }
.grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgb(243 242 238 / 0.045) 1px, transparent 1px), linear-gradient(90deg, rgb(243 242 238 / 0.045) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 70% at 30% 30%, black, transparent 75%); }
.spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(640px circle at var(--mx, 72%) var(--my, 18%), rgb(0 194 255 / 0.14), transparent 62%); }

/* ---------------------------------------------------------------- home hero */

.hero { --under: clamp(120px, 20vw, 300px); position: relative; isolation: isolate; padding-top: clamp(124px, 16vh, 180px); background: linear-gradient(to bottom, var(--ink) calc(100% - var(--under)), var(--page) calc(100% - var(--under))); }
.hero-bg { position: absolute; left: 0; right: 0; top: 0; bottom: var(--under); z-index: -1; overflow: hidden; }
.hero-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px 64px; align-items: end; }
.hero h1 { font-size: clamp(3.4rem, 7.6vw, 8.4rem); color: var(--bone); white-space: nowrap; }
@media (max-width: 560px) { .hero h1 { white-space: normal; font-size: 15.5vw; } }
.hero-side { padding-bottom: 0.9em; }
.hero-side .lede { color: var(--bone-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ink .btn-ghost { color: var(--bone); box-shadow: inset 0 0 0 1px rgb(243 242 238 / 0.24); }
.ink .btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--bone); }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(243 242 238 / 0.14); background: rgb(243 242 238 / 0.04); font-size: 13px; color: var(--bone-2); margin-bottom: 30px; transition: box-shadow 0.3s; }
.badge:hover { box-shadow: inset 0 0 0 1px rgb(243 242 238 / 0.3); }
.badge .tag { font: 600 10px var(--mono); letter-spacing: 0.16em; padding: 5px 9px; border-radius: 999px; background: var(--signal); color: var(--ink); }
.badge svg { width: 14px; height: 14px; }
@media (max-width: 960px) { .hero-head { grid-template-columns: 1fr; } .hero-side { padding-bottom: 0; } }

/* The product rises and flattens as the page scrolls. */
.stage { position: relative; margin-top: clamp(48px, 6vw, 84px); perspective: 2200px; }
.stage::before { content: ""; position: absolute; left: 8%; right: 8%; top: 6%; height: 60%; background: radial-gradient(closest-side, rgb(0 194 255 / 0.5), transparent); filter: blur(60px); opacity: calc(0.35 + var(--p, 1) * 0.45); z-index: -1; }
.stage-inner { transform-origin: 50% 0; transform: rotateX(calc((1 - var(--p, 1)) * 22deg)) scale(calc(0.92 + var(--p, 1) * 0.08)); will-change: transform; }
.stage .callout { position: absolute; z-index: 2; border-radius: 14px; padding: 12px 14px; font-size: 13px; line-height: 1.35; background: rgb(18 18 19 / 0.78); color: var(--bone); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgb(243 242 238 / 0.14), 0 24px 50px -20px rgb(0 0 0 / 0.6); opacity: calc(var(--p, 1) * 1.4 - 0.4); transform: translateY(calc((1 - var(--p, 1)) * 30px)); }
.stage .callout b { display: block; font-weight: 600; }
.stage .callout small { color: var(--bone-3); font: 500 10.5px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.stage .callout.one { left: -2.5%; top: 26%; }
.stage .callout.two { right: -2.5%; top: 58%; }
@media (max-width: 900px) { .stage .callout { display: none; } }

/* A window frame around a screenshot. */
.window { position: relative; border-radius: 14px; overflow: hidden; background: var(--bg-2); box-shadow: var(--shot-shadow); isolation: isolate; }
.window-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: color-mix(in oklab, var(--bg-2) 94%, var(--fg) 6%); border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.window-bar span { margin-inline: auto; transform: translateX(-27px); font: 500 11px var(--mono); color: var(--fg-3); letter-spacing: 0.06em; }
.window img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: var(--bg-3); }
.ink .window, .hero .window { --bg-2: #121213; --fg: var(--bone); --fg-3: var(--bone-3); --line: rgb(243 242 238 / 0.09); --line-2: rgb(243 242 238 / 0.18); }
:root:not([data-theme="dark"]) .hero .window { --bg-2: #ffffff; --fg: var(--ink); --fg-3: #85858b; --line: rgb(10 10 10 / 0.08); --line-2: rgb(10 10 10 / 0.14); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero .window { --bg-2: #121213; --fg: var(--bone); --fg-3: var(--bone-3); --line: rgb(243 242 238 / 0.09); --line-2: rgb(243 242 238 / 0.18); } }
.window::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px var(--line); }

/* ---------------------------------------------------------------- strip */

.strip { padding-block: 40px 36px; }
.strip-inner { display: flex; align-items: center; gap: 44px; }
.strip .eyebrow { flex: none; line-height: 1.7; font-size: 10.5px; }
.marquee { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 22px; font-weight: 650; letter-spacing: -0.045em; color: var(--fg-3); white-space: nowrap; transition: color 0.3s; }
.marquee-track span:hover { color: var(--fg); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 760px) { .strip-inner { flex-direction: column; align-items: flex-start; gap: 18px; } .marquee { width: 100%; } }

/* ---------------------------------------------------------------- sections */

.section { padding-block: clamp(96px, 13vw, 184px); position: relative; }
.section.tight { padding-top: 0; }
.section-head { max-width: 900px; margin-bottom: clamp(48px, 7vw, 92px); }
.section-head .h2 { margin-top: 20px; }
.section-head .lede { margin-top: 22px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

/* Manifesto: words light up as you scroll past. */
.manifesto { font-size: clamp(2rem, 4.3vw, 3.9rem); line-height: 1.1; letter-spacing: -0.045em; font-weight: 600; max-width: 21em; }
.js .manifesto .w { opacity: 0.14; transition: opacity 0.5s, color 0.5s; }
.js .manifesto .w.lit { opacity: 1; }
.manifesto .w.k { color: var(--accent); }
.manifesto-foot { margin-top: 48px; display: flex; gap: 14px; align-items: center; color: var(--fg-3); }

/* Sticky story: chapters on the left, one frame on the right that swaps shots. */
.story { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.45fr); gap: clamp(32px, 6vw, 96px); }
.chapter { min-height: 82vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.25; transition: opacity 0.7s var(--ease); }
.chapter:first-child { min-height: 60vh; justify-content: flex-start; padding-top: 12vh; }
.chapter.on { opacity: 1; }
.chapter .n { font: 500 12px var(--mono); letter-spacing: 0.22em; color: var(--accent); }
.chapter h3 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -0.05em; line-height: 1; margin-top: 18px; }
.chapter p { color: var(--fg-2); margin-top: 18px; font-size: 18px; max-width: 25em; }
.ticks { margin-top: 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; color: var(--fg-2); font-size: 16px; }
.ticks li::before { content: "/"; color: var(--accent); font-weight: 600; flex: none; }
.ticks li b { color: var(--fg); font-weight: 600; }
.story-frame { position: sticky; top: max(96px, calc(50vh - 22vw)); align-self: start; margin-top: 12vh; }
.layers { display: grid; }
.layers > * { grid-area: 1 / 1; opacity: 0; transform: translateY(14px) scale(0.985); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
.layers > .on { opacity: 1; transform: none; }
.no-js .layers > :first-child { opacity: 1; transform: none; }
.story-progress { display: flex; gap: 6px; margin-top: 24px; }
.story-progress i { flex: 1; height: 2px; border-radius: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.story-progress i::after { content: ""; position: absolute; inset: 0; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.story-progress i.on::after { transform: scaleX(1); }
.story-progress-labels { display: flex; margin-top: 10px; }
.story-progress-labels span { flex: 1; font: 500 10px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); transition: color 0.4s; }
.story-progress-labels span.on { color: var(--fg); }
.chapter-shot { display: none; }
@media (max-width: 960px) {
  .story { grid-template-columns: 1fr; }
  .story-frame { display: none; }
  .chapter, .chapter:first-child { min-height: 0; opacity: 1; padding: 0 0 88px; }
  .chapter-shot { display: block; margin-top: 30px; }
}

/* Numbers. */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.stat { padding: 30px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(3.4rem, 6.4vw, 6rem); font-weight: 900; font-style: italic; letter-spacing: -0.065em; line-height: 0.88; font-variant-numeric: tabular-nums; padding-right: 0.1em; }
.stat b .u { color: var(--accent); }
.stat > span { display: block; margin-top: 14px; color: var(--fg-2); font-size: 15px; max-width: 15em; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat:nth-child(n + 3) { margin-top: 36px; } }

/* Devices collage. */
.devices { position: relative; padding-bottom: 8%; }
.devices > .window { width: 86%; transform: translateY(calc((1 - var(--p, 1)) * 50px)); }
.phone { position: absolute; right: 0; bottom: 0; width: clamp(190px, 22%, 300px); z-index: 2; border-radius: 17% / 8%; padding: 2.8%; background: #0b0b0c; box-shadow: inset 0 0 0 1.5px #2c2c2f, 0 0 0 1px rgb(0 0 0 / 0.5), 0 50px 100px -30px rgb(0 0 0 / 0.65); transform: translateY(calc((1 - var(--p, 1)) * 150px)); }
.phone img { border-radius: 14% / 6.5%; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: var(--bg-3); }
.term { position: absolute; left: 5%; bottom: 0; width: min(430px, 44%); z-index: 3; border-radius: 14px; overflow: hidden; background: rgb(13 13 14 / 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--bone); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7), inset 0 0 0 1px rgb(243 242 238 / 0.11); font: 12.5px/1.75 var(--mono); transform: translateY(calc((1 - var(--p, 1)) * 100px)); }
.term-top { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgb(243 242 238 / 0.08); }
.term-top i { width: 9px; height: 9px; border-radius: 50%; background: #333; }
.term-top span { margin-left: 8px; color: var(--bone-3); font-size: 11px; }
.term-body { padding: 14px 16px 16px; white-space: pre; overflow: hidden; min-height: 196px; }
.term .p { color: var(--signal); } .term .o { color: var(--bone-2); } .term .g { color: #3ecf8e; } .term .a { color: #f5a524; } .term .d { color: var(--bone-3); }
.js .term [data-line] { opacity: 0; }
.js .term [data-line].shown { opacity: 1; }
.caret { display: inline-block; width: 7px; height: 1.05em; background: var(--signal); vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 860px) {
  .devices { padding-bottom: 0; }
  .devices > .window { width: 100%; }
  .phone { position: relative; width: 58%; margin: -22% 0 0 auto; }
  .term { position: relative; left: 0; width: 100%; margin-top: 24px; }
}

/* Feature list: no boxes, just rhythm. */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.feat { padding: 28px 0 44px; border-top: 1px solid var(--line); }
.feat svg { width: 21px; height: 21px; color: var(--accent); stroke-width: 1.7; }
.feat h3 { font-size: 19px; letter-spacing: -0.025em; margin-top: 18px; }
.feat p { color: var(--fg-2); font-size: 15.5px; margin-top: 8px; max-width: 26em; }
@media (max-width: 900px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } }

/* Statement band and principles. */
.statement { overflow: hidden; isolation: isolate; }
.statement .shard.a { right: -3%; width: 26%; }
.statement .shard.b { right: 26%; }
.statement h2 { font-size: clamp(3.2rem, 9.6vw, 9.8rem); position: relative; }
.statement .lede { color: var(--bone-2); margin-top: 32px; position: relative; }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(64px, 8vw, 110px); position: relative; }
.principle { padding: 26px 28px 0 0; border-top: 1px solid var(--line-2); }
.principle + .principle { padding-left: 28px; }
.principle h3 { font-size: 18px; letter-spacing: -0.02em; }
.principle h3::before { content: "/ "; color: var(--signal); font-weight: 400; }
.principle p { color: var(--fg-2); font-size: 15px; margin-top: 10px; }
@media (max-width: 960px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 0; } .principle:nth-child(3) { padding-left: 0; } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } .principle + .principle { padding-left: 0; } }

/* CTA. */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(24px, 3vw, 36px); padding: clamp(60px, 9vw, 136px) clamp(24px, 6vw, 92px); }
.cta .shard.a { right: 5%; width: 30%; }
.cta .shard.b { right: 33%; width: 8%; }
.cta h2 { font-size: clamp(3.2rem, 8.4vw, 8rem); max-width: 7em; position: relative; }
.cta p { color: var(--bone-2); margin-top: 26px; max-width: 28em; font-size: 18.5px; position: relative; }
.cta .hero-cta { position: relative; }
.install { position: relative; display: inline-flex; align-items: center; max-width: 100%; margin-top: 32px; border-radius: 999px; background: rgb(243 242 238 / 0.06); box-shadow: inset 0 0 0 1px rgb(243 242 238 / 0.13); font: 14px var(--mono); color: var(--bone); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.install code { padding: 14px 6px 14px 22px; overflow-x: auto; white-space: nowrap; font-size: 14px; scrollbar-width: none; }
.install code .p { color: var(--signal); margin-right: 12px; }
.copy { flex: none; display: inline-flex; align-items: center; gap: 6px; margin: 5px; padding: 0 16px; height: 40px; border-radius: 999px; color: var(--bone-2); font: 600 13px var(--font); background: rgb(243 242 238 / 0.07); transition: color 0.2s, background-color 0.2s; }
.copy:hover { color: var(--ink); background: var(--signal); }
.copy svg { width: 14px; height: 14px; }
.copy .done { display: none; }
.copy.copied .done { display: inline; }
.copy.copied .idle { display: none; }
@media (max-width: 760px) { .cta .shard.a { width: 60%; right: -30%; opacity: 0.5; } .cta .shard.b { display: none; } }

/* Footer. */
.foot { position: relative; overflow: hidden; padding-top: clamp(80px, 10vw, 140px); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; margin-top: clamp(72px, 9vw, 120px); }
.foot-grid h4 { font: 500 11px var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 18px; }
.foot-grid li + li { margin-top: 11px; }
.foot-grid a { color: var(--fg-2); font-size: 15px; transition: color 0.2s; }
.foot-grid a:hover { color: var(--fg); }
.foot-note { color: var(--fg-2); font-size: 15px; margin-top: 18px; max-width: 24em; }
.foot-word {
  margin-top: clamp(64px, 9vw, 120px); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -0.07em; line-height: 0.8;
  font-size: clamp(5rem, 25.5vw, 25rem); white-space: nowrap; user-select: none; text-align: center; padding-right: 0.06em;
  background: linear-gradient(to bottom, var(--fg) 30%, color-mix(in oklab, var(--fg) 0%, transparent) 95%); -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(calc((1 - var(--p, 1)) * 28%)); margin-bottom: -0.14em;
}
.foot-bar { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); background: var(--bg); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: span 2; } }

/* ---------------------------------------------------------------- inner pages */

.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(150px, 21vh, 230px) clamp(80px, 10vw, 130px); }
.page-hero h1 { font-size: clamp(3.2rem, 8.8vw, 8.8rem); margin-top: 28px; max-width: 10.5em; position: relative; }
.page-hero .lede { margin-top: 32px; color: var(--bone-2); position: relative; }
.page-hero .shard.a { right: 3%; width: 20%; }
.page-hero .shard.b { right: 23%; width: 6%; }
.page-hero .hero-cta, .page-hero .install { position: relative; }
@media (max-width: 760px) { .page-hero .shard.a { right: -12%; width: 46%; opacity: 0.55; } .page-hero .shard.b { display: none; } }

.row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.row.flip { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); }
.row.flip > :first-child { order: 2; }
.row + .row { margin-top: clamp(120px, 15vw, 210px); }
.row .h2 { font-size: clamp(2.1rem, 3.8vw, 3.5rem); margin-top: 20px; }
.row .lede { margin-top: 20px; font-size: 18px; }
@media (max-width: 900px) { .row, .row.flip { grid-template-columns: 1fr; } .row.flip > :first-child { order: 0; } }

.loops { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.loops th { text-align: left; font: 500 11px var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-3); padding: 0 16px 16px 0; border-bottom: 1px solid var(--line-2); }
.loops td { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--fg-2); transition: color 0.2s; }
.loops tr:hover td { color: var(--fg); }
.loops td:first-child { color: var(--fg); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 24px; letter-spacing: -0.045em; white-space: nowrap; line-height: 1.1; }
.loops td:first-child::before { content: "/ "; color: var(--signal); font-style: normal; font-weight: 300; }
.table-scroll { overflow-x: auto; }
@media (max-width: 760px) {
  .loops thead { display: none; }
  .loops tr { display: grid; padding-block: 16px; border-bottom: 1px solid var(--line); }
  .loops td { border: 0; padding: 3px 0; }
  .loops td[data-label]::before { content: attr(data-label) "  "; font: 500 10.5px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
}

.arch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.arch-col { padding: 30px 30px 0 0; }
.arch-col + .arch-col { padding-left: 30px; border-left: 1px solid var(--line); }
.arch-col ul { margin-top: 24px; display: grid; gap: 22px; }
.arch-col li { display: flex; gap: 14px; }
.arch-col li svg { width: 19px; height: 19px; color: var(--fg-3); flex: none; margin-top: 2px; stroke-width: 1.7; }
.arch-col.core li svg { color: var(--accent); }
.arch-col li b { display: block; font-size: 17px; letter-spacing: -0.02em; font-weight: 600; }
.arch-col li small { display: block; color: var(--fg-3); font-size: 14px; margin-top: 3px; }
.flow { display: flex; align-items: center; gap: 12px; margin-top: 64px; font: 500 11px var(--mono); color: var(--fg-3); letter-spacing: 0.16em; flex-wrap: wrap; }
.flow i { flex: 1; min-width: 18px; height: 1px; background: linear-gradient(90deg, var(--line-2) 0 40%, var(--signal) 50%, var(--line-2) 60% 100%); background-size: 300% 100%; animation: shimmer 3.2s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -200% 0; } }
@media (max-width: 900px) { .arch { grid-template-columns: 1fr; } .arch-col + .arch-col { padding-left: 0; border-left: 0; margin-top: 18px; } }

.steps8 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 36px; counter-reset: s; }
.steps8 li { counter-increment: s; border-top: 1px solid var(--line-2); padding: 24px 0 48px; }
.steps8 li::before { content: "0" counter(s); font-weight: 900; font-style: italic; font-size: 40px; letter-spacing: -0.06em; line-height: 1; color: var(--signal); }
.steps8 h3 { font-size: 19px; letter-spacing: -0.025em; margin-top: 18px; }
.steps8 p { color: var(--fg-2); font-size: 15px; margin-top: 8px; }
@media (max-width: 960px) { .steps8 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps8 { grid-template-columns: 1fr; } }

.agents { border-top: 1px solid var(--line-2); }
.agent { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); transition: background-color 0.3s; }
.agent h3 { font-size: 22px; letter-spacing: -0.04em; display: flex; align-items: center; gap: 14px; }
.agent h3 i { font: 900 italic 13px var(--font); width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--bone); letter-spacing: -0.04em; flex: none; font-style: italic; box-shadow: inset 0 0 0 1px rgb(243 242 238 / 0.1); }
.agent .proto { font: 12px var(--mono); color: var(--fg-3); letter-spacing: 0.04em; margin: 6px 0 0 50px; }
.caps { display: flex; flex-wrap: wrap; gap: 6px; }
.cap { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; color: var(--fg-3); box-shadow: inset 0 0 0 1px var(--line); }
.cap.on { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.cap.on::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); margin-right: 7px; vertical-align: middle; }
.agent .scope { grid-column: 2; color: var(--fg-3); font-size: 13.5px; margin-top: -8px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 13.5px; color: var(--fg-3); }
@media (max-width: 860px) { .agent { grid-template-columns: 1fr; gap: 12px; } .agent .scope { grid-column: 1; margin-top: 0; } .agent .proto { margin-left: 50px; } }

.code { font: 13px/1.85 var(--mono); border-radius: 16px; background: #0d0d0e; color: var(--bone-2); padding: 22px 24px; overflow-x: auto; white-space: pre; box-shadow: inset 0 0 0 1px rgb(243 242 238 / 0.09), 0 40px 80px -40px rgb(0 0 0 / 0.6); }
.code .k { color: var(--signal); } .code .s { color: var(--bone); } .code .c { color: var(--bone-3); }

.steps-v { border-top: 1px solid var(--line-2); }
.step-v { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding-block: 38px; border-bottom: 1px solid var(--line); }
.step-v .n { font-weight: 900; font-style: italic; font-size: 56px; letter-spacing: -0.07em; line-height: 0.9; color: var(--accent); }
.step-v h3 { font-size: 25px; letter-spacing: -0.035em; }
.step-v p { color: var(--fg-2); margin-top: 8px; max-width: 40em; }
.step-v .install { background: var(--ink); margin-top: 20px; }
@media (max-width: 700px) { .step-v { grid-template-columns: 1fr; gap: 8px; } .step-v .n { font-size: 40px; } }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--fg-3); transition: transform 0.45s var(--ease), color 0.2s; flex: none; }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--accent); }
.faq details p { color: var(--fg-2); padding-bottom: 28px; max-width: 44em; }
.faq details[open] p { animation: faq-in 0.5s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* A permission prompt, drawn: on the Security page, beside the real screen. */
.prompt-card { border-radius: 18px; padding: 22px; background: var(--bg-2); box-shadow: var(--shot-shadow); }
.prompt-card .top { display: flex; justify-content: space-between; gap: 12px; font: 500 11px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); }
.prompt-card .top span:first-child { display: flex; align-items: center; gap: 8px; color: #d48806; }
.prompt-card .top .dot { background: #f5a524; }
.prompt-card p { margin-top: 16px; font-size: 16px; }
.prompt-card .cmd { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: #0d0d0e; color: var(--bone); font: 13.5px var(--mono); }
.prompt-card .cmd::before { content: "$ "; color: var(--signal); }
.prompt-card small { display: block; color: var(--fg-3); font: 12px var(--mono); margin-top: 10px; }
.prompt-card .acts { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }

/* Brand page. */
.marks { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 14px; }
.mark-card { position: relative; border-radius: 24px; min-height: 340px; display: grid; place-items: center; padding: 28px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.mark-card .eyebrow { position: absolute; left: 22px; bottom: 18px; font-size: 10px; }
.mark-card.paper { background: #f7f5f2; color: var(--ink); }
.mark-card.paper .eyebrow { color: #77767a; }
.mark-card.sig { background: var(--signal); color: var(--ink); }
.mark-card.sig .eyebrow { color: rgb(10 10 10 / 0.62); }
.big-lockup { display: flex; align-items: center; gap: 0.3em; font-size: clamp(46px, 6vw, 86px); }
.big-lockup .mtile { width: 1.12em; height: 1.12em; border-radius: 0.27em; }
.big-lockup .word { font-size: 1em; }
.app-icon { width: 156px; height: 156px; border-radius: 35px; background: linear-gradient(#18181b, #0a0a0a); display: grid; place-items: center; box-shadow: 0 30px 50px -16px rgb(0 0 0 / 0.55), inset 0 0 0 1px rgb(243 242 238 / 0.1); }
.app-icon svg { width: 64%; }
@media (max-width: 900px) { .marks { grid-template-columns: 1fr; } }
.anatomy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.anatomy-art { border-radius: 24px; aspect-ratio: 1; display: grid; place-items: center; position: relative; overflow: hidden; }
.anatomy-art svg { width: 78%; overflow: visible; }
.anatomy-art .guide { fill: none; stroke: rgb(243 242 238 / 0.18); stroke-width: 0.08; stroke-dasharray: 0.4 0.4; }
.anatomy-art .label { font: 500 1.05px var(--mono); letter-spacing: 0.12em; fill: var(--bone-3); text-transform: uppercase; }
@media (max-width: 860px) { .anatomy { grid-template-columns: 1fr; } }
.swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.swatch i { display: block; height: 160px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.swatch b { display: block; font-size: 15px; margin-top: 14px; }
.swatch small { font: 12px var(--mono); color: var(--fg-3); }
.swatch p { color: var(--fg-3); font-size: 13px; margin-top: 4px; }
@media (max-width: 900px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.specimen { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: end; }
.specimen .aa { font-size: clamp(130px, 17vw, 250px); font-weight: 650; letter-spacing: -0.07em; line-height: 0.78; }
.weights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.weights div { border-top: 1px solid var(--line-2); padding-top: 14px; }
.weights b { display: block; font-size: 36px; letter-spacing: -0.045em; }
.weights small { color: var(--fg-3); font-size: 13px; }
@media (max-width: 700px) { .specimen { grid-template-columns: 1fr; } .weights { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.voice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.voice div { border-top: 1px solid var(--line); padding: 24px 0 32px; }
.voice p:last-child { margin-top: 12px; font-size: 21px; letter-spacing: -0.025em; font-weight: 500; }
.voice .do .eyebrow { color: var(--accent); }
.voice .dont p:last-child { color: var(--fg-3); text-decoration: line-through; text-decoration-color: rgb(242 85 90 / 0.6); text-decoration-thickness: 1.5px; }
@media (max-width: 700px) { .voice { grid-template-columns: 1fr; } }
.pattern { height: 300px; border-radius: 24px; position: relative; overflow: hidden; }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split2 .h2 { margin-top: 20px; font-size: clamp(2.1rem, 3.8vw, 3.5rem); }
.split2 .lede { margin-top: 20px; }
@media (max-width: 860px) { .split2 { grid-template-columns: 1fr; } }

.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; position: relative; overflow: hidden; isolation: isolate; }
.nf h1 { font-size: clamp(7rem, 28vw, 22rem); position: relative; }
.nf p { margin-top: 18px; color: var(--bone-2); position: relative; }
.nf .btn { margin-top: 32px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .js [data-reveal], .js .lines .ln > span { opacity: 1; transform: none; }
  .js .manifesto .w { opacity: 1; }
  .marquee-track { animation: none; }
  .stage-inner, .shard, .phone, .term, .devices > .window, .foot-word, .stage .callout { transform: none !important; opacity: 1; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Early access form. Sits on ink (hero, CTA band) or paper (privacy). */
.join { position: relative; margin-top: 32px; max-width: 640px; }
.join-row { display: flex; align-items: center; gap: 6px; padding: 5px; border-radius: 999px; background: rgb(243 242 238 / 0.06); box-shadow: inset 0 0 0 1px rgb(243 242 238 / 0.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow 0.25s; }
.join-row:focus-within { box-shadow: inset 0 0 0 1px var(--signal), 0 0 0 4px rgb(0 194 255 / 0.16); }
.join-row input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border: 0; background: transparent; color: var(--bone); font: 16px var(--font); outline: none; }
.join-row input::placeholder { color: var(--bone-3); }
.join-row .btn { flex: none; }
.join-note { margin-top: 14px; font-size: 14px; color: var(--bone-3); max-width: 40em; }
.join-note a { color: var(--bone-2); text-decoration: underline; text-underline-offset: 3px; }
.join-note[data-tone="ok"] { color: var(--signal-hot); font-weight: 600; }
.join-note[data-tone="error"] { color: #ff8a7a; font-weight: 600; }
.join.joined .join-row, .join.joined .join-more { display: none; }
.join.joined .join-note { margin-top: 0; font-size: 18px; }
.join-more { display: grid; gap: 8px; margin-top: 22px; }
.join-more label { font-size: 14px; color: var(--bone-2); margin-top: 8px; }
.join-more label span { color: var(--bone-3); font: 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; margin-left: 8px; }
.join-more input, .join-more textarea { width: 100%; padding: 12px 16px; border: 0; border-radius: 14px; background: rgb(243 242 238 / 0.06); box-shadow: inset 0 0 0 1px rgb(243 242 238 / 0.13); color: var(--bone); font: 15px var(--font); outline: none; resize: vertical; }
.join-more input:focus, .join-more textarea:focus { box-shadow: inset 0 0 0 1px var(--signal); }
.join-more ::placeholder { color: var(--bone-3); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cta .join { position: relative; }
.join.plain .join-row { background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: none; }
.join.plain .join-row:focus-within { box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 4px rgb(0 194 255 / 0.14); }
.join.plain input { color: var(--fg); }
.join.plain input::placeholder { color: var(--fg-3); }
.join.plain .join-note { color: var(--fg-2); }
.join.plain .join-note[data-tone="ok"] { color: var(--accent); }
.join.plain .join-note[data-tone="error"] { color: #c2412d; }
@media (max-width: 560px) {
  .join-row { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 6px; }
  .join-row input { height: 48px; text-align: center; }
  .join-row .btn { justify-content: center; }
}
.download { margin-top: 32px; }
.download .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; box-shadow: none; }
.download .btn svg { width: 18px; height: 18px; }

/* Long-form text (privacy). */
.prose-block + .prose-block { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.035em; font-weight: 600; line-height: 1.1; }
.prose p { color: var(--fg-2); margin-top: 14px; max-width: 44em; font-size: 17px; line-height: 1.6; }
#join, #forget, #faq { scroll-margin-top: 120px; }
