/* Cuelyst. Precise, dark, product-first.
   One accent: amber, the "cue light". It only ever means "a question was heard".
   Everything else is graphite, hairlines and type. No decorative gradients. */

/* ===================== Fonts (self-hosted, OFL; see assets/fonts) ===================== */
/* Bricolage Grotesque: display (variable weight, animated in the hero). Manrope: text, UI.
   Instrument Serif Italic: the hero's accent line. Geist Mono: data. Latin + Latin Extended (covers ₹). */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("/assets/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("/assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-display: swap; font-weight: 400; src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-display: swap; font-weight: 400; src: url("/assets/fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/geist-mono-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ===================== Tokens ===================== */
:root {
  color-scheme: dark;
  interpolate-size: allow-keywords;

  --bg: #08090b;
  --bg-2: #0b0c0f;
  --panel: #111216;
  --panel-2: #16171c;
  --panel-3: #1c1d23;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.11);
  --line-3: rgba(255, 255, 255, 0.18);

  --text: #f5f5f6;     /* 18.6:1 on --bg */
  --text-2: #a8a8b3;   /*  8.3:1 */
  --text-3: #80808b;   /*  4.9:1 */

  --cue: #ffb224;
  --cue-2: rgba(255, 178, 36, 0.12);
  --cue-3: rgba(255, 178, 36, 0.35);
  --ok: #3ecf8e;
  --ok-2: rgba(62, 207, 142, 0.12);
  --red: #ff5d5d;
  --link: #9ab8ff;

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Noto Sans Devanagari", "Noto Sans Gujarati", sans-serif;
  --display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Noto Sans Devanagari", "Noto Sans Gujarati", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;

  --nav-h: 60px;
  --sec-pad: clamp(56px, 6vw, 88px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --r: 20px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 40px 80px -24px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* ===================== Base ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  letter-spacing: -0.006em;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Fine grain so large dark areas don't look flat or banded */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; color: var(--text); text-wrap: balance; font-kerning: normal; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--cue); color: #111; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 8px; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: -0.02em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--text); color: var(--bg); transform: translateY(-160%); transition: transform 200ms var(--ease-out); }
.skip:focus { transform: none; text-decoration: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ===================== Shared ===================== */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--text-3); font-size: 14px; font-weight: 550; }
.live { position: relative; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--cue); box-shadow: 0 0 12px var(--cue-3); }
.live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--cue); opacity: 0; animation: ping 2.2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(0.5); opacity: 0.8; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  cursor: pointer; text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn--light { background: var(--text); color: #0a0a0c; }
.btn--ghost { background: rgba(255, 255, 255, 0.03); border-color: var(--line-2); color: var(--text); }
.btn__icon { width: 16px; height: 16px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .btn--light:hover { background: #ffffff; }
  .btn--ghost:hover { border-color: var(--line-3); background: rgba(255, 255, 255, 0.06); }
}
.linkbtn { padding: 6px 4px; border: 0; background: none; color: var(--text-3); font-size: 13.5px; cursor: pointer; }
.linkbtn:hover { color: var(--text); }

.tag { display: inline-flex; padding: 2px 8px; border-radius: 6px; background: var(--panel-3); color: var(--text-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.tag--ok { background: var(--ok-2); color: var(--ok); }

/* ===================== Navigation ===================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 9, 11, 0.6);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.nav[data-scrolled] { border-bottom-color: var(--line); background: rgba(8, 9, 11, 0.78); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--display); font-weight: 650; font-size: 17px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 26px; height: 26px; }
.brand__tile { fill: #1b1c22; stroke: rgba(255, 255, 255, 0.12); stroke-width: 1; }
.brand__cue { fill: var(--cue); }
.nav__links { display: flex; gap: 4px; margin: 0 auto; }
.nav__links a { padding: 6px 12px; border-radius: 999px; color: var(--text-2); font-size: 14px; font-weight: 500; transition: color 200ms ease, background-color 200ms ease; }
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); text-decoration: none; }
.nav__toggle { display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; cursor: pointer; }
.nav__toggle span[aria-hidden] { display: block; width: 18px; height: 1.5px; margin: 5px auto; border-radius: 2px; background: var(--text); transition: transform 240ms var(--ease-out); }
.nav__toggle[aria-expanded="true"] span[aria-hidden]:first-of-type { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span[aria-hidden]:last-of-type { transform: translateY(-3.25px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav__inner { gap: 12px; }
  .nav__toggle { display: block; }
  .nav__cta { margin-left: auto; }
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    padding: 8px var(--gutter) 18px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-6px); visibility: hidden; pointer-events: none;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .nav__links[data-open] { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
  .nav__links a { padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 16px; }
}

/* ===================== Hero ===================== */
.hero { position: relative; padding: clamp(32px, 4.5vw, 60px) 0 clamp(48px, 5.5vw, 80px); overflow: hidden; }
.hero__grid-bg {
  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: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 65% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 13px; font-weight: 550;
  transition: border-color 200ms ease, color 200ms ease;
}
.badge:hover { color: var(--text); border-color: var(--line-3); text-decoration: none; }
.badge svg { width: 14px; height: 14px; transition: transform 200ms var(--ease-out); }
.badge:hover svg { transform: translateX(2px); }
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cue); box-shadow: 0 0 10px var(--cue-3); }
.hero__title {
  margin-top: 22px;
  font-size: clamp(40px, 4.3vw, 64px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.cue-dot { color: var(--cue); font-style: normal; }

/* Hero type. Line 1: variable-weight characters (main.js wraps them) that ink in from
   hairline to bold, a rotating word, and weight that responds to the pointer.
   Line 2: Instrument Serif italic rising through masks, then an amber underline draws itself. */
.ht-line { display: block; }
.ht-line--sans { white-space: nowrap; }
.ht-line--serif { margin-top: 0.02em; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.16em; line-height: 1; letter-spacing: -0.025em; }
.ch { display: inline-block; white-space: pre; transition: font-weight 380ms var(--ease-out); }
.ht-intro .ch { animation: chIn 1100ms var(--ease-out) both; animation-delay: calc(80ms + var(--ci, 0) * 34ms); }
@keyframes chIn {
  from { opacity: 0; transform: translateY(0.32em); filter: blur(10px); font-weight: 200; }
  60% { opacity: 1; filter: blur(0); }
  to { opacity: 1; transform: none; filter: blur(0); font-weight: 700; }
}
.ht-rot { display: inline-block; white-space: nowrap; transition: width 520ms var(--ease-in-out); }
.ch[data-out] { animation: chOut 420ms var(--ease-in-out) both; animation-delay: calc(var(--ci, 0) * 22ms); }
@keyframes chOut { to { opacity: 0; transform: translateY(-0.3em); filter: blur(8px); font-weight: 200; } }
.ch[data-in] { animation: chIn 820ms var(--ease-out) both; animation-delay: calc(var(--ci, 0) * 30ms); }

.ht-mask { display: inline-block; overflow: hidden; padding: 0 0.1em 0.12em 0.02em; margin: 0 -0.1em -0.12em -0.02em; vertical-align: top; }
.ht-word { position: relative; display: inline-block; animation: wordRise 1100ms var(--ease-out) both; animation-delay: calc(560ms + var(--wi, 0) * 110ms); }
.ht-word[data-i="1"] { --wi: 1; } .ht-word[data-i="2"] { --wi: 2; }
@keyframes wordRise { from { transform: translateY(105%) rotate(4deg); } to { transform: none; } }
.ht-underline { position: absolute; left: 0; right: 0.15em; bottom: -0.02em; width: calc(100% - 0.15em); height: 0.16em; overflow: visible; }
.ht-underline path { fill: none; stroke: var(--cue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 900ms var(--ease-in-out) 1500ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ht-cue .cue-dot { display: inline-block; animation: dotPop 600ms var(--ease-out) 1350ms both; }
@keyframes dotPop { from { opacity: 0; transform: scale(0.6) translateY(-0.2em); } to { opacity: 1; transform: none; } }
.hero__lede { margin-top: 22px; max-width: 520px; color: var(--text-2); font-size: 18px; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero__platform { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; color: var(--text-2); font-size: 14px; }
.hero__platform svg { width: 18px; height: 18px; color: var(--ok); }
.hero__platform strong { color: var(--text); font-weight: 650; }
.hero__platform > span[aria-hidden], .hero__soon { color: var(--text-3); }
.facts { display: flex; gap: 0; margin: 40px 0 0; padding: 0; }
.facts > div { padding: 0 22px; border-left: 1px solid var(--line-2); }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.facts dt { color: var(--text-3); font-size: 12.5px; }
.facts dd { margin: 4px 0 0; font-size: 24px; font-weight: 600; color: var(--text); }
.facts small { margin-left: 2px; color: var(--text-3); font-size: 14px; }

.rise { opacity: 0; transform: translateY(12px); animation: rise 900ms var(--ease-out) forwards; }
.rise[data-i="0"] { animation-delay: 40ms; }
.rise[data-i="2"] { animation-delay: 260ms; }
.rise[data-i="3"] { animation-delay: 520ms; }
.rise[data-i="4"] { animation-delay: 600ms; }
.rise[data-i="5"] { animation-delay: 680ms; }
.rise[data-i="6"] { animation-delay: 820ms; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ===================== Stage (signature) ===================== */
.stage { position: relative; }
.stage::before {
  /* One soft light behind the product, nothing else */
  content: ""; position: absolute; inset: -12% -8% -18%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.07), transparent);
  pointer-events: none;
}
.window { position: relative; border-radius: 16px; background: var(--panel); box-shadow: var(--shadow); overflow: hidden; isolation: isolate; }
.window::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--red); opacity: 0; transition: opacity 300ms var(--ease-out); pointer-events: none; z-index: 3; }
.window[data-view-state="them"]::after { opacity: 1; }
.window__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 12.5px; }
.window__dots { display: flex; gap: 6px; }
.window__dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2b31; }
.window__title { color: var(--text); font-weight: 550; }
.window__share { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 3px 9px; border-radius: 999px; background: rgba(255, 93, 93, 0.1); color: #ff8f8f; font-weight: 600; }
.rec { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: blinkRec 1.6s steps(2, start) infinite; }
@keyframes blinkRec { to { opacity: 0.25; } }
.window__body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 10px; padding: 10px; min-height: 420px; }

.call { position: relative; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(90% 70% at 50% 25%, #1b1d24, #0e0f13 75%); overflow: hidden; }
.call__main { display: grid; justify-items: center; gap: 12px; transform: translateY(-26px); }
.avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #2a2c34; color: #e8e8ec; font-size: 14px; font-weight: 650; }
.avatar--lg { width: 96px; height: 96px; font-size: 28px; background: #2c2f38; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); transition: box-shadow 300ms var(--ease-out); }
.call__main[data-speaking] .avatar--lg { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12); }
.call__name { color: var(--text-2); font-size: 13px; font-weight: 550; }
.voice { display: flex; align-items: center; gap: 3px; height: 16px; opacity: 0.35; transition: opacity 200ms ease; }
.voice i { width: 3px; height: 4px; border-radius: 2px; background: var(--text); }
.call__main[data-speaking] .voice { opacity: 1; }
.call__main[data-speaking] .voice i { animation: vbar 800ms var(--ease-in-out) infinite; }
.voice i:nth-child(2) { animation-delay: -150ms; } .voice i:nth-child(3) { animation-delay: -420ms; } .voice i:nth-child(4) { animation-delay: -260ms; } .voice i:nth-child(5) { animation-delay: -560ms; }
@keyframes vbar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(3.4); } }
.call__self { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 120px; height: 76px; border-radius: 10px; background: #15161b; border: 1px solid var(--line); }
.call__self .avatar { width: 34px; height: 34px; font-size: 11px; }
.caption { position: absolute; left: 50%; bottom: 16px; max-width: min(74%, 460px); margin: 0; padding: 8px 14px; border-radius: 10px; background: rgba(0, 0, 0, 0.72); color: #fff; font-size: 14px; line-height: 1.45; text-align: center; transform: translate(-50%, 6px); opacity: 0; transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out); }
.caption[data-show] { opacity: 1; transform: translate(-50%, 0); }

.cue { display: flex; flex-direction: column; min-height: 0; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); overflow: hidden; }
.window .cue { transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out), filter 320ms var(--ease-out); }
.window[data-view-state="them"] .cue { opacity: 0; transform: scale(0.97); filter: blur(10px); }
.cue__head { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.cue__mark { width: 18px; height: 18px; }
.cue__status { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: var(--text-3); font-size: 12px; font-weight: 550; }
.cue__body { display: flex; flex-direction: column; gap: 10px; padding: 14px; font-size: 13.5px; line-height: 1.5; transition: opacity 240ms var(--ease-out); }
.cue__body[data-stale] { opacity: 0.4; }
.cue__empty { color: var(--text-3); }
.a-q { display: flex; align-items: baseline; gap: 8px; color: var(--text-3); font-size: 12.5px; }
.pill { flex: none; padding: 1px 7px; border-radius: 6px; background: var(--cue-2); color: var(--cue); font-size: 11px; font-weight: 700; }
.pill--resume { background: rgba(154, 184, 255, 0.12); color: var(--link); }
.a-quick { color: var(--text); font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.a-points { margin: 0; padding-left: 16px; color: var(--text-2); }
.a-points li + li { margin-top: 3px; }
.a-points li::marker { color: var(--text-3); }
.a-say { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--text); }
.a-say b { display: block; margin-bottom: 2px; color: var(--text-3); font-size: 11.5px; font-weight: 600; }
.a-meta { display: flex; gap: 10px; color: var(--text-3); font-size: 11.5px; font-family: var(--mono); }
.a-meta .conf { color: var(--ok); }
.thinking { color: var(--text-3); font-size: 12.5px; }
.thinking::after { content: "…"; display: inline-block; width: 1.2em; overflow: hidden; vertical-align: bottom; animation: dots 1.2s steps(4, end) infinite; }
@keyframes dots { from { width: 0; } to { width: 1.2em; } }
.in { animation: inUp 420ms var(--ease-out) both; }
@keyframes inUp { from { opacity: 0; transform: translateY(5px); filter: blur(3px); } to { opacity: 1; transform: none; filter: blur(0); } }

.ghostnote { position: absolute; top: 10px; right: 10px; bottom: 10px; width: 280px; display: grid; place-items: center; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, 0.16); color: var(--text-3); font-size: 13px; opacity: 0; transform: scale(1.02); transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out); pointer-events: none; }
.window[data-view-state="them"] .ghostnote { opacity: 1; transform: none; transition-delay: 120ms; }

.stage__controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line-2); }
.seg__thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--text); transition: transform 300ms var(--ease-in-out); }
.seg[data-them] .seg__thumb { transform: translateX(100%); }
.seg__btn { position: relative; z-index: 1; min-height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: color 250ms ease; }
.seg__btn[aria-pressed="true"] { color: #0a0a0c; }

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

/* The hero product settles back as you scroll past (where supported) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .window { animation: settle linear both; animation-timeline: view(); animation-range: exit 10% exit 90%; }
    @keyframes settle { to { transform: scale(0.94) translateY(-24px); opacity: 0.4; } }
  }
}

/* ===================== Sections ===================== */
.section { position: relative; padding: var(--sec-pad) 0; }
/* Menu links land with the section heading just under the sticky nav, so as much of the section as possible is in view */
.section[id] { scroll-margin-top: calc(20px - var(--sec-pad)); }
.section--panel { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: clamp(28px, 3.5vw, 40px); }
.head h2 { font-size: clamp(30px, 3.7vw, 48px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 650; }
.head__lede { margin-top: 16px; color: var(--text-2); font-size: 17.5px; max-width: 620px; }
.head__lede strong { color: var(--text); }
.head--split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; max-width: none; }
.head--split .head__lede { margin: 0; }

.reveal, [data-spot].reveal { opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out), filter 800ms var(--ease-out), border-color 300ms ease; }
.reveal.is-in, [data-spot].reveal.is-in { opacity: 1; transform: none; filter: blur(0); }

/* ===================== Get it: product type + OS availability ===================== */
.isit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.isit__item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: var(--text-3); }
.isit__item strong { display: block; color: var(--text-2); font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.isit__item small { font-size: 13px; }
.isit__item:not(.isit__item--yes) strong { text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.28); text-decoration-thickness: 1.5px; }
.isit__item--yes { border-color: rgba(62, 207, 142, 0.35); box-shadow: 0 0 0 4px var(--ok-2); }
.isit__item--yes strong { color: var(--text); }
.isit__item--yes small { color: var(--text-2); }
.isit__mark { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; }
.isit__mark--no { background: var(--panel-3); }
.isit__mark--no::before, .isit__mark--no::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.6px; margin: -0.8px 0 0 -5.5px; border-radius: 2px; background: var(--text-3); transform: rotate(45deg); }
.isit__mark--no::after { transform: rotate(-45deg); }
.isit__mark--yes { background: var(--ok); }
.isit__mark--yes::after { content: ""; position: absolute; left: 9px; top: 8px; width: 10px; height: 6px; border-left: 2px solid #06281a; border-bottom: 2px solid #06281a; transform: rotate(-45deg); }

.osgrid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px; }
.oscard { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.oscard--win { border-color: rgba(62, 207, 142, 0.28); }
.oscard--mac { border-style: dashed; border-color: var(--line-3); }
.oscard__body { display: flex; flex-direction: column; padding: 20px 24px 24px; }
.oscard h3 { margin-top: 10px; font-size: 24px; letter-spacing: -0.03em; }
.oscard__text { margin-top: 8px; color: var(--text-2); font-size: 15.5px; max-width: 520px; }
.oscard__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: auto; padding-top: 18px; }
.oscard__req { color: var(--text-3); font-size: 13px; }
.soonlist { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.soonlist li { position: relative; padding-left: 22px; color: var(--text-2); font-size: 14.5px; }
.soonlist li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 10px; height: 10px; border-radius: 50%; border: 1.5px dashed var(--text-3); }
.ospill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.ospill--on { background: var(--ok-2); color: var(--ok); }
.ospill--soon { border: 1px dashed var(--line-3); color: var(--text-2); }
.live--ok { background: var(--ok); box-shadow: 0 0 12px rgba(62, 207, 142, 0.5); }
.live--ok::after { border-color: var(--ok); }

.steps { display: grid; gap: 4px; margin: 16px 0 0; padding: 0; list-style: none; }
.step { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--text-2); font-size: 14.5px; transition: background-color 300ms ease, color 300ms ease; }
.step__n { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--panel-3); border: 1px solid var(--line-2); color: var(--text-3); font-size: 12px; transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease; }
.step[data-active] { background: var(--panel-2); color: var(--text); }
.step[data-active] .step__n { background: var(--ok); border-color: var(--ok); color: #06281a; }
.step[data-done] .step__n { color: var(--ok); border-color: rgba(62, 207, 142, 0.35); }

/* Device illustrations */
.dev { position: relative; display: grid; justify-items: center; padding: 22px 22px 0; background: radial-gradient(70% 90% at 50% 100%, rgba(255, 255, 255, 0.045), transparent 70%); border-bottom: 1px solid var(--line); }
.dev__screen { position: relative; width: 100%; max-width: 340px; aspect-ratio: 16 / 9.4; border-radius: 10px 10px 4px 4px; background: #0b0c10; border: 5px solid #1d1e24; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.9); overflow: hidden; }
.dev__neck { width: 46px; height: 16px; background: linear-gradient(#1a1b20, #141519); }
.dev__base { width: 150px; height: 8px; border-radius: 6px 6px 0 0; background: #1d1e24; }
.dev--mac .dev__screen { max-width: 310px; border-radius: 12px 12px 0 0; border-bottom-width: 10px; }
.dev__hinge { width: min(356px, 100%); height: 12px; border-radius: 0 0 14px 14px; background: linear-gradient(#24252c, #16171b); }
.dev__call { position: absolute; left: 6%; top: 9%; width: 56%; height: 68%; display: grid; place-items: center; border-radius: 8px; background: radial-gradient(80% 70% at 50% 35%, #1b1d24, #111217); }
.dev__avatar { width: 34px; height: 34px; border-radius: 50%; background: #2c2f38; }
.dev__cap { position: absolute; left: 8%; right: 8%; bottom: 8%; padding: 4px 6px; border-radius: 6px; background: rgba(0, 0, 0, 0.75); color: #e9e9ee; font-size: 9.5px; line-height: 1.3; text-align: center; }
.dev__panel { position: absolute; right: 5%; top: 9%; width: 30%; height: 68%; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.9); }
.dev__brand { display: flex; align-items: center; gap: 5px; color: var(--text); font-size: 8.5px; font-weight: 700; }
.dev__brand i { width: 6px; height: 6px; border-radius: 50%; background: var(--cue); }
.dev__heard { align-self: flex-start; padding: 0 5px; border-radius: 4px; background: var(--cue-2); color: var(--cue); font-size: 7.5px; font-weight: 700; }
.dev__ln { height: 4px; border-radius: 3px; background: #3a3c46; transform-origin: left; }
.dev__ln--s { width: 70%; }
.dev__ln--m { width: 85%; }
.dev__taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 12%; display: flex; align-items: center; justify-content: center; gap: 5px; background: rgba(255, 255, 255, 0.04); border-top: 1px solid var(--line); }
.dev__taskbar i { width: 9px; height: 9px; border-radius: 3px; background: #2c2e36; }
.dev__taskbar .dev__app { position: relative; background: #2a2412; box-shadow: inset 0 0 0 1px var(--cue-3); }
.dev__taskbar .dev__app::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: -3px; height: 1.5px; border-radius: 2px; background: var(--cue); }
.dev__clock { position: absolute; right: 8px; color: var(--text-3); font-size: 7.5px; }
.dev__menubar { position: absolute; left: 0; right: 0; top: 0; height: 9%; display: flex; align-items: center; gap: 6px; padding: 0 8px; background: rgba(255, 255, 255, 0.04); }
.dev__menubar i { width: 14px; height: 3px; border-radius: 2px; background: #2c2e36; }
.dev__skel { position: absolute; left: 10%; right: 10%; top: 20%; display: grid; gap: 7px; opacity: 0.6; }
.dev__skel i { height: 6px; border-radius: 4px; background: linear-gradient(90deg, #1c1d23 30%, #2a2c34 50%, #1c1d23 70%) 0 0 / 300% 100%; }
.dev__skel .s { width: 60%; }
.dev__skel .m { width: 80%; }
.dev__build { position: absolute; left: 10%; right: 10%; bottom: 14%; display: grid; gap: 7px; color: var(--text-3); font-size: 9.5px; font-weight: 600; }
.dev__bar { height: 4px; border-radius: 3px; background: #1c1d23; overflow: hidden; }
.dev__bar i { display: block; width: 62%; height: 100%; border-radius: 3px; background: var(--text-2); transform-origin: left; }

@media (prefers-reduced-motion: no-preference) {
  /* Windows: the panel arrives beside the call, the answer fills in, repeat */
  .dev--win .dev__panel { animation: devPanel 6s var(--ease-out) infinite; }
  .dev--win .dev__heard { animation: devHeard 6s var(--ease-out) infinite; }
  .dev--win .dev__ln { animation: devLine 6s var(--ease-out) infinite; }
  .dev--win .dev__ln:nth-of-type(2) { animation-delay: 120ms; }
  .dev--win .dev__ln:nth-of-type(3) { animation-delay: 240ms; }
  .dev--win .dev__ln:nth-of-type(4) { animation-delay: 360ms; }
  @keyframes devPanel { 0%, 8% { opacity: 0; transform: translateX(12px) scale(0.97); } 18%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(12px) scale(0.97); } }
  @keyframes devHeard { 0%, 18% { opacity: 0; } 24%, 88% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes devLine { 0%, 26% { transform: scaleX(0); } 44%, 88% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
  /* Mac: work in progress */
  .dev__skel i { animation: shimmer 2.4s linear infinite; }
  @keyframes shimmer { to { background-position: -150% 0; } }
  .dev__bar i { animation: building 3.2s var(--ease-in-out) infinite alternate; }
  @keyframes building { from { transform: scaleX(0.75); } to { transform: scaleX(1.1); } }
}

/* ===================== Platforms ===================== */
.pshare { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 12px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; }
.pshare .rec { flex: none; }
.pshare__label { color: var(--text-3); }
.pshare__name { min-width: 128px; color: var(--text); font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.pshare__line { position: relative; flex: 1; height: 1px; background: var(--line-2); overflow: hidden; }
.pshare__line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--ok), transparent); transform: translateX(-100%); animation: pscan 1900ms var(--ease-in-out) infinite; }
@keyframes pscan { to { transform: translateX(100%); } }
.pshare__ok { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--ok-2); color: var(--ok); font-size: 13px; font-weight: 700; }
.pshare__ok svg { width: 14px; height: 14px; }

.ptiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ptile { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 12px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.ptile__logo { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--panel-3); border: 1px solid var(--line); color: var(--text-2); transition: transform 300ms var(--ease-out); }
.ptile__logo img { width: 26px; height: 26px; object-fit: contain; }
.ptile__logo svg { width: 24px; height: 24px; }
.ptile__text { display: grid; min-width: 0; }
.ptile__text strong { overflow: hidden; color: var(--text); font-family: var(--display); font-size: 15.5px; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; text-overflow: ellipsis; }
.ptile__text small { overflow: hidden; color: var(--text-3); font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; }
.ptile__state { margin-left: auto; flex: none; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-3); font-size: 11.5px; font-weight: 600; transition: color 300ms ease, background-color 300ms ease, border-color 300ms ease; }
.ptile[data-active] { border-color: rgba(62, 207, 142, 0.35); }
.ptile[data-active] .ptile__state { color: var(--ok); background: var(--ok-2); border-color: transparent; }
.ptile[data-active] .ptile__logo { transform: scale(1.06); }
@media (hover: hover) and (pointer: fine) { .ptile:hover .ptile__logo { transform: scale(1.06); } }
#platforms .fine { text-align: left; }

/* ===================== Pipeline ===================== */
.pipe { position: relative; }
.pipe__rail { position: absolute; top: 20px; left: 20px; right: 20px; height: 1px; background: var(--line-2); }
.pipe__fill { position: absolute; inset: 0; background: var(--cue); box-shadow: 0 0 12px var(--cue-3); transform-origin: left; transform: scaleX(0); transition: transform 700ms var(--ease-in-out); }
.pipe__stages { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.pstage { position: relative; padding-right: 8px; }
.pstage__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); color: var(--text-3); transition: color 300ms ease, border-color 300ms ease, background-color 300ms ease, box-shadow 300ms ease; }
.pstage__icon svg { width: 20px; height: 20px; }
.pstage__time { display: block; margin-top: 18px; color: var(--text-3); font-size: 12.5px; transition: color 300ms ease; }
.pstage h3 { margin-top: 4px; font-size: 19px; letter-spacing: -0.02em; color: var(--text-2); transition: color 300ms ease; }
.pstage p { margin-top: 6px; color: var(--text-3); font-size: 15px; }
.pstage[data-active] .pstage__icon { color: var(--cue); border-color: var(--cue-3); background: #1a160d; box-shadow: 0 0 0 4px var(--cue-2); }
.pstage[data-active] .pstage__time { color: var(--cue); }
.pstage[data-active] h3 { color: var(--text); }

.pipe__demo { margin-top: 32px; padding: 18px 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.ptrace { display: flex; align-items: center; gap: 14px; min-height: 30px; font-size: 14.5px; }
.ptrace__label { flex: none; color: var(--text-3); font-size: 12.5px; font-weight: 600; }
.ptrace > [data-ptrace] { opacity: 0.18; transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out), filter 400ms var(--ease-out); }
.ptrace > [data-ptrace][data-on] { opacity: 1; }
.ptrace__wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.ptrace__wave i { width: 3px; height: 6px; border-radius: 2px; background: var(--text-2); }
.ptrace__wave[data-on] i { animation: vbar 700ms var(--ease-in-out) infinite; }
.ptrace__wave i:nth-child(odd) { animation-delay: -220ms; } .ptrace__wave i:nth-child(3n) { animation-delay: -480ms; }
.ptrace__text { color: var(--text); font-family: var(--mono); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ptrace__chip { flex: none; padding: 2px 9px; border-radius: 6px; background: var(--cue-2); color: var(--cue); font-size: 12px; font-weight: 700; }
.ptrace__answer { color: var(--text-2); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===================== Detector playground ===================== */
.play { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.play__intro h2 { font-size: clamp(30px, 3.7vw, 46px); line-height: 1.06; letter-spacing: -0.04em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text-2); font-size: 13.5px; text-align: left; cursor: pointer; transition: border-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.chip:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--line-3); color: var(--text); } }
.chip[aria-pressed="true"] { border-color: var(--line-3); color: var(--text); background: var(--panel-2); }
.play__box { padding: 22px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.play__label { display: block; margin-bottom: 8px; color: var(--text-3); font-size: 13px; font-weight: 600; }
.play__box textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font-size: 18px; line-height: 1.5; resize: none; transition: border-color 200ms ease, box-shadow 200ms ease; }
.play__box textarea:focus { outline: none; border-color: var(--line-3); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05); }
.verdict { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); min-height: 132px; }
.verdict__row { display: flex; align-items: center; gap: 12px; }
.verdict__badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 650; transition: background-color 250ms ease, color 250ms ease; }
.verdict__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.verdict[data-kind="question"] .verdict__badge { background: var(--cue-2); color: var(--cue); }
.verdict[data-kind="maybe"] .verdict__badge { background: rgba(154, 184, 255, 0.12); color: var(--link); }
.verdict[data-kind="none"] .verdict__badge { background: var(--panel-3); color: var(--text-2); }
.verdict__reason { color: var(--text-3); font-size: 13.5px; }
.verdict__q { margin-top: 14px; color: var(--text); font-size: 16px; }
.verdict__next { margin-top: 8px; color: var(--text-2); font-size: 14.5px; }
.verdict [data-swap] { animation: swap 360ms var(--ease-out); }
@keyframes swap { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: blur(0); } }

/* ===================== Features (bento) ===================== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.card {
  position: relative;
  display: flex; flex-direction: column; gap: 22px;
  grid-column: span 2;
  padding: 26px;
  border-radius: var(--r);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 300ms ease;
}
.card--compare { grid-column: span 4; }
.bento .card:nth-child(2) { grid-column: span 2; }
/* Pointer spotlight on every box marked [data-spot]: a soft light inside plus a lit
   rim that follows the pointer. main.js adds the .spot layer and sets --mx / --my. */
[data-spot] { position: relative; transition: border-color 300ms ease; }
.spot { position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 300ms ease; }
.spot::before, .spot::after { content: ""; position: absolute; border-radius: inherit; }
.spot::before { inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.055), transparent 65%); }
.spot::after {
  inset: 0; padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.42), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.plan--featured .spot::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 178, 36, 0.7), transparent 70%); }
@media (hover: hover) and (pointer: fine) {
  [data-spot]:hover { border-color: var(--line-2); }
  [data-spot]:hover > .spot { opacity: 1; }
}
.card__text h3 { font-size: 19px; letter-spacing: -0.02em; }
.card__text p { margin-top: 8px; color: var(--text-2); font-size: 15px; }

.compare { position: relative; flex: 1; min-height: 240px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); touch-action: pan-y; cursor: ew-resize; user-select: none; }
.compare__layer { position: absolute; inset: 0; background: #0d0e12; }
.compare__them { clip-path: inset(0 0 0 55%); }
.mini { position: absolute; inset: 14px; display: grid; grid-template-columns: 1fr 38%; gap: 10px; }
.mini__call { border-radius: 10px; background: radial-gradient(80% 70% at 50% 30%, #1d1f26, #111216); display: grid; place-items: center; }
.mini__call span { width: 44px; height: 44px; border-radius: 50%; background: #2c2f38; }
.mini__panel { display: flex; flex-direction: column; gap: 9px; padding: 14px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line-2); }
.mini__panel i { height: 7px; border-radius: 4px; background: #2e3038; }
.mini__panel .mini__heard { width: 42%; background: var(--cue); }
.mini__panel .mini__short { width: 60%; }
.mini--shared { outline: 2px solid var(--red); outline-offset: 6px; border-radius: 10px; }
.mini__empty { border-radius: 10px; border: 1px dashed rgba(255, 255, 255, 0.14); }
.compare__tag { position: absolute; left: 22px; bottom: 22px; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, 0.6); color: var(--text-2); font-size: 12px; font-weight: 600; }
.compare__tag--right { left: auto; right: 22px; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--text); transform: translateX(var(--x, 0px)); pointer-events: none; }
.compare__handle i { position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--text); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5); }
.compare__handle i::before, .compare__handle i::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-left: 1.5px solid #111; border-bottom: 1.5px solid #111; }
.compare__handle i::before { left: 8px; transform: rotate(45deg); }
.compare__handle i::after { right: 8px; transform: rotate(-135deg); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:has(.compare__range:focus-visible) { outline: 2px solid var(--text); outline-offset: 3px; }

.story { display: grid; gap: 10px; margin-top: auto; }
.story__files { display: flex; flex-wrap: wrap; gap: 6px; }
.file { padding: 4px 9px; border-radius: 8px; background: var(--panel-3); border: 1px solid var(--line); color: var(--text-2); font-size: 12px; font-weight: 600; }
.story__q { color: var(--text-3); font-size: 13.5px; }
.story__a { padding: 12px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text); font-size: 14px; min-height: 64px; }
.story__a.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--cue); animation: caret 1s steps(2, start) infinite; }
@keyframes caret { to { visibility: hidden; } }

.code { margin: 0; padding: 14px 16px; border-radius: 12px; background: #0b0c0f; border: 1px solid var(--line); color: #d4d4d8; font: 12px/1.65 var(--mono); overflow-x: auto; }
.tok-k { color: #ffcb6b; }
.tok-f { color: #9ab8ff; }
.code__hl { display: inline-block; width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px; background: rgba(255, 178, 36, 0.07); box-shadow: inset 2px 0 0 var(--cue); }
.keys { display: flex; align-items: center; gap: 6px; margin-top: auto; }
.keys kbd { min-width: 38px; padding: 4px 8px; border-radius: 8px; background: var(--panel-3); border: 1px solid var(--line-2); border-bottom-width: 2px; color: var(--text); font: 12px var(--mono); text-align: center; }
.keys__note { margin-left: auto; color: var(--text-3); font-size: 12px; }

.lang { margin-top: auto; padding: 16px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); min-height: 108px; }
.lang__tag { display: inline-block; padding: 1px 7px; border-radius: 6px; background: var(--cue-2); color: var(--cue); font-size: 11px; font-weight: 700; }
.lang__q { margin-top: 10px; color: var(--text); font-size: 17px; font-weight: 550; line-height: 1.4; transition: opacity 280ms var(--ease-out), filter 280ms var(--ease-out), transform 280ms var(--ease-out); }
.lang__q[data-out] { opacity: 0; filter: blur(6px); transform: translateY(-4px); }

.queue { display: grid; gap: 6px; margin: auto 0 0; padding: 0; list-style: none; counter-reset: q; }
.queue li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text-2); font-size: 13.5px; }
.queue li .mono { margin-left: auto; color: var(--text-3); font-size: 12px; opacity: 0; transition: opacity 300ms ease; }
.queue__dot { width: 7px; height: 7px; border-radius: 50%; background: #3a3b42; transition: background-color 300ms ease, box-shadow 300ms ease; }
.queue li[data-done] { color: var(--text); }
.queue li[data-done] .queue__dot { background: var(--ok); box-shadow: 0 0 10px rgba(62, 207, 142, 0.5); }
.queue li[data-done] .mono { opacity: 1; }

/* ===================== Sample player ===================== */
.player { padding: 22px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.player__top { display: flex; align-items: center; gap: 16px; }
.playbtn { position: relative; display: grid; place-items: center; flex: none; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--text); color: #0a0a0c; cursor: pointer; transition: transform 160ms var(--ease-out); }
.playbtn:active { transform: scale(0.95); }
.playbtn svg { width: 22px; height: 22px; }
.playbtn__play { margin-left: 2px; }
.playbtn__stop { display: none; }
.playbtn[aria-pressed="true"] .playbtn__play { display: none; }
.playbtn[aria-pressed="true"] .playbtn__stop { display: block; }
.player__meta { min-width: 0; }
.player__title { font-weight: 600; }
.player__sub { color: var(--text-3); font-size: 13.5px; }
.wave { flex: 1; display: flex; align-items: center; justify-content: center; gap: 3px; height: 40px; min-width: 0; overflow: hidden; }
.wave i { flex: none; width: 3px; height: 40px; border-radius: 2px; background: var(--line-3); transform: scaleY(0.08); transform-origin: center; transition: transform 140ms var(--ease-out), background-color 300ms ease; }
.wave[data-live] i { background: var(--text-2); }
.switch { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 13.5px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--panel-3); border: 1px solid var(--line-2); transition: background-color 200ms ease; }
.switch__track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--text); transition: transform 220ms var(--ease-out); }
.switch input:checked + .switch__track { background: var(--ok); border-color: var(--ok); }
.switch input:checked + .switch__track::after { transform: translateX(16px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--text); outline-offset: 2px; }
.progress { height: 2px; margin: 18px 0 0; border-radius: 2px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--cue); transform: scaleX(0); transform-origin: left; }
.player__body { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.transcript { display: flex; flex-direction: column; gap: 8px; min-height: 290px; margin: 0; padding: 0; list-style: none; }
.transcript li { max-width: 90%; padding: 9px 13px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); font-size: 14.5px; }
.transcript li b { display: block; color: var(--text-3); font-size: 11.5px; font-weight: 600; }
.transcript li.is-you { align-self: flex-end; background: #151a24; border-color: rgba(154, 184, 255, 0.15); }
.transcript__empty { color: var(--text-3); background: none !important; border: 0 !important; padding-left: 0 !important; }
.cue--inset { background: var(--bg-2); }
.player__note { margin-top: 16px; color: var(--text-3); font-size: 13px; }

/* ===================== Privacy ledger ===================== */
.privacy { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.privacy__intro h2 { font-size: clamp(30px, 3.7vw, 46px); line-height: 1.06; letter-spacing: -0.04em; }
.ledger { border-radius: var(--r); border: 1px solid var(--line-2); overflow: hidden; background: var(--panel); }
.ledger__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; padding: 16px 20px; border-top: 1px solid var(--line); font-size: 15px; }
.ledger__row:first-child { border-top: 0; }
.ledger__row > span:first-child { color: var(--text); font-weight: 550; }
.ledger__row > span:last-child { color: var(--text-2); }
.ledger__row .tag { margin-right: 8px; }
.ledger__row--head { padding-top: 12px; padding-bottom: 12px; background: var(--bg-2); }
.ledger__row--head > span { color: var(--text-3) !important; font-size: 12.5px; font-weight: 600 !important; }

/* ===================== Pricing ===================== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color 300ms ease; }
.plan h3 { font-size: 16px; color: var(--text-2); font-weight: 600; letter-spacing: -0.01em; }
.plan__top { display: flex; align-items: center; justify-content: space-between; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; }
.plan__amount { font-family: var(--display); font-size: 44px; font-weight: 650; letter-spacing: -0.045em; }
.plan__per { color: var(--text-3); font-size: 14px; }
.plan__desc { margin-top: 4px; color: var(--text-2); font-size: 15px; }
.plan ul { display: grid; gap: 10px; margin: 22px 0 26px; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.plan li { position: relative; padding-left: 24px; color: var(--text-2); font-size: 14.5px; }
.plan li::before { content: ""; position: absolute; left: 3px; top: 0.45em; width: 10px; height: 5px; border-left: 1.6px solid var(--text); border-bottom: 1.6px solid var(--text); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--panel-2); border-color: var(--cue-3); box-shadow: 0 0 0 1px var(--cue-2), 0 30px 60px -30px rgba(255, 178, 36, 0.25); }
.plan--featured::after { content: ""; position: absolute; top: 0; left: 15%; right: 15%; height: 1px; background: linear-gradient(90deg, transparent, var(--cue), transparent); }
/* Pricing is hidden until launch: placeholder cards (no real numbers) under a "Coming soon" card */
.soon { position: relative; }
.plan--ghost { gap: 14px; min-height: 360px; pointer-events: none; }
.plan--ghost-featured { border-color: var(--line-2); }
.sk { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #17181d 30%, #22232a 50%, #17181d 70%) 0 0 / 300% 100%; }
.sk--title { width: 38%; height: 12px; }
.sk--price { width: 52%; height: 34px; border-radius: 8px; }
.sk--line { width: 70%; }
.sk--s { width: 60%; }
.sk--btn { height: 42px; margin-top: auto; border-radius: 999px; }
.sk-list { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.soon__overlay {
  position: absolute; inset: -12px; display: grid; place-items: center; padding: 16px;
  background: radial-gradient(closest-side, rgba(11, 12, 15, 0.94), rgba(11, 12, 15, 0.55));
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.soon__card { position: relative; width: min(440px, 100%); padding: 26px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow); overflow: hidden; }
.soon__card h3 { margin-top: 12px; font-size: 24px; letter-spacing: -0.03em; }
.soon__list { display: grid; gap: 10px; margin: 16px 0 22px; padding: 0; list-style: none; }
.soon__list li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 15px; }
.soon__list li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 16px; height: 16px; border-radius: 50%; background: var(--ok-2); }
.soon__list li::after { content: ""; position: absolute; left: 5px; top: 0.45em; width: 6px; height: 3px; border-left: 1.5px solid var(--ok); border-bottom: 1.5px solid var(--ok); transform: rotate(-45deg); }
@media (prefers-reduced-motion: no-preference) {
  .sk { animation: shimmer 2.4s linear infinite; }
}
.plan__badge { padding: 3px 9px; border-radius: 999px; background: var(--cue-2); color: var(--cue); font-size: 12px; font-weight: 700; }
.fine { margin-top: 22px; color: var(--text-3); font-size: 13.5px; text-align: center; }

/* ===================== FAQ ===================== */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq .head { position: sticky; top: calc(var(--nav-h) + 24px); margin-bottom: 0; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { position: relative; padding: 20px 40px 20px 0; font-size: 16.5px; font-weight: 550; letter-spacing: -0.012em; list-style: none; cursor: pointer; transition: color 200ms ease; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--text); }
.faq__list summary::before, .faq__list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 1.5px; background: var(--text-2); transition: transform 300ms var(--ease-out); }
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0deg); }
.faq__a p { padding: 0 40px 22px 0; color: var(--text-2); font-size: 15.5px; }
/* Smooth open/close where ::details-content is supported */
.faq__list details::details-content { block-size: 0; overflow: hidden; transition: block-size 320ms var(--ease-out), content-visibility 320ms allow-discrete; }
.faq__list details[open]::details-content { block-size: auto; }

/* ===================== Join ===================== */
.join { padding-bottom: clamp(64px, 7vw, 100px); }
.join__layout { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.join__copy h2 { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; }
.perks { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.perks li { position: relative; padding-left: 28px; color: var(--text-2); }
.perks li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 16px; height: 16px; border-radius: 50%; background: var(--cue-2); }
.perks li::after { content: ""; position: absolute; left: 5px; top: 0.55em; width: 6px; height: 3px; border-left: 1.5px solid var(--cue); border-bottom: 1.5px solid var(--cue); transform: rotate(-45deg); }
.join__card { padding: 28px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; color: var(--text-2); font-size: 13.5px; font-weight: 550; }
.field em { color: var(--text-3); font-style: normal; font-weight: 400; margin-left: 4px; }
.field input, .field select {
  width: 100%; min-height: 46px; padding: 0 14px;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg);
  color: var(--text); font-size: 15.5px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 19px) 52%, calc(100% - 14px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus { outline: none; border-color: var(--line-3); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.turnstile:empty { display: none; }
.form .btn { min-height: 48px; margin-top: 4px; }
.form__msg { min-height: 1.4em; font-size: 14px; }
.form__msg[data-tone="error"] { color: var(--red); }
.form__fine { color: var(--text-3); font-size: 12.5px; }
.btn__label { transition: filter 200ms ease, opacity 200ms ease; }
.btn[data-busy] .btn__label { filter: blur(2px); opacity: 0.6; }
.done { padding: 20px 4px; text-align: center; }
.done__check { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--ok); }
.done__check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 600ms var(--ease-out) forwards; }
.done__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 400ms var(--ease-out) 450ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { font-size: 24px; letter-spacing: -0.03em; }
.done p { margin-top: 6px; color: var(--text-2); }

/* ===================== Footer ===================== */
.footer { padding: 32px 0 44px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; margin-left: auto; }
.footer nav a { color: var(--text-2); font-size: 14px; }
.footer__fine { width: 100%; color: var(--text-3); font-size: 12.5px; }

/* ===================== Document pages ===================== */
.doc { max-width: 760px; padding-top: clamp(48px, 8vw, 88px); padding-bottom: 96px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.04em; line-height: 1.08; }
.doc__meta { margin: 12px 0 32px; color: var(--text-3); font-size: 14.5px; }
.doc h2 { margin: 40px 0 10px; font-size: 21px; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--text-2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; }
.doc li + li { margin-top: 8px; }
.doc strong { color: var(--text); }
.doc code { font-family: var(--mono); font-size: 0.9em; }
.notfound { text-align: center; }
.notfound .btn { margin-top: 28px; }
.stats { display: grid; gap: 24px; margin-top: 28px; }
.stats__total { font-size: 56px; font-weight: 650; letter-spacing: -0.04em; color: var(--text); }
.stats table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.stats th, .stats td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; }
.stats td:last-child, .stats th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.form--inline { display: flex; gap: 10px; margin-top: 20px; }
.form--inline input { flex: 1; min-height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); }

/* ===================== Responsive ===================== */
@media (max-width: 1080px) {
  .hero__layout { grid-template-columns: 1fr; }
  .hero__copy { max-width: 680px; }
  .play, .privacy, .faq, .join__layout { grid-template-columns: 1fr; }
  .faq .head { position: static; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card, .card--compare, .bento .card:nth-child(2) { grid-column: span 1; }
  .card--compare { grid-column: span 2; }
  .head--split { grid-template-columns: 1fr; }
  .ptiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .osgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .pipe__rail { display: none; }
  .pipe__stages { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .plans--ghost { max-width: none; }
  .plans--ghost .plan--ghost:not(:first-child) { display: none; }
  .plan--ghost { min-height: 460px; }
  .player__body { grid-template-columns: 1fr; }
  .transcript { min-height: 0; }
  .wave { display: none; }
  .ptrace__answer { display: none; }
  .ptiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pshare__line { display: none; }
  .osgrid, .isit { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .window__body { grid-template-columns: 1fr; min-height: 0; }
  .call { min-height: 300px; align-items: start; padding-top: 40px; }
  .call__main { transform: none; }
  .avatar--lg { width: 76px; height: 76px; font-size: 22px; }
  .call__self { top: 10px; bottom: auto; width: 72px; height: 50px; }
  .call__self .avatar { width: 28px; height: 28px; font-size: 10px; }
  .caption { max-width: 88%; font-size: 13.5px; }
  .cue { min-height: 240px; }
  .ghostnote { top: auto; left: 10px; width: auto; height: 240px; }
  .window__title { display: none; }
  .bento { grid-template-columns: 1fr; }
  .card, .card--compare, .bento .card:nth-child(2) { grid-column: auto; }
  .facts > div { padding: 0 14px; }
  .facts dd { font-size: 20px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .pipe__stages { grid-template-columns: 1fr; }
  .form__pair { grid-template-columns: 1fr; }
  .ledger__row { grid-template-columns: 1fr; gap: 6px; }
  .ledger__row--head { display: none; }
  .stage__controls { flex-direction: column; }
  .footer nav { margin-left: 0; }
  .ptrace__text { font-size: 12.5px; }
  .ptiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ptile { gap: 10px; padding: 10px; }
  .ptile__logo { width: 38px; height: 38px; border-radius: 10px; }
  .ptile__logo img { width: 22px; height: 22px; }
  .ptile__text strong { font-size: 14px; }
  .ptile__text small, .ptile__state { display: none; }
  .pshare__label { display: none; }
  .pshare__name { min-width: 0; flex: 1; }
}

/* ===================== Reduced motion ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ht-intro .ch, .ch[data-in], .ht-word, .ht-cue .cue-dot { animation: none; }
  .ht-underline path { animation: none; stroke-dashoffset: 0; }
  .rise { animation: fade 300ms ease forwards; transform: none; }
  @keyframes fade { to { opacity: 1; } }
  .reveal, [data-spot].reveal { transform: none; filter: none; transition: opacity 300ms ease; }
  .pshare__line::after, .live::after, .rec, .voice i, .ptrace__wave i, .thinking::after, .story__a.typing::after { animation: none !important; }
  .in, .verdict [data-swap] { animation: fade 200ms ease both; }
  .window .cue, .ghostnote, .seg__thumb, .pipe__fill { transition-duration: 1ms; }
}
