/* ViewBack.AI. One brand palette built from #725aff. Every color on the site comes from the --brand-* scale below. */
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  color-scheme: dark;
  /* Brand palette: #725aff and its shades, all the same hue (~249deg).
     Tints mix #725aff with white, shades mix it with black. No other purples. */
  --brand-50: #f4f2ff;
  --brand-100: #eae6ff;
  --brand-200: #d5ceff;
  --brand-300: #b8acff;
  --brand-400: #9583ff;
  --brand-500: #725aff;
  --brand-600: #6751e6;
  --brand-700: #5644bf;
  --brand-800: #3f328c;
  --brand-900: #282059;
  --brand-950: #171233;
  --brand-ink: #0e0b1f;
  --brand-500-rgb: 114, 90, 255;
  --brand-200-rgb: 213, 206, 255;
  --brand-700-rgb: 86, 68, 191;
  --brand-300-rgb: 184, 172, 255;
  --brand-400-rgb: 149, 131, 255;
  --brand-800-rgb: 63, 50, 140;
  --brand-ink-rgb: 14, 11, 31;
  --brand-900-rgb: 40, 32, 89;
  --ink: #0b0a10;
  --panel: #15141c;
  --panel-2: #1e1c27;
  --panel-3: #292635;
  --text: #f4f3f8;
  --muted: #fbfaff;
  --app-muted: #aeacbb;
  --glass: rgba(var(--brand-700-rgb), 0.45);
  --well: rgba(var(--brand-700-rgb), 0.6);
  --peach: var(--brand-50);
  --line: rgba(255, 255, 255, 0.2);
  --violet: var(--brand-500);
  --lilac: var(--brand-100);
  --spark: var(--brand-50);
  --good: #4cd964;
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --body: "Figtree", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--brand-500); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: transparent; color: var(--text); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; font-synthesis: none; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(3rem, 6.5vw, 6rem); line-height: 1.04; }
h2 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.06; }
h3 { font-size: 1.5rem; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 4px; }
.bg { position: fixed; z-index: -1; left: 0; right: 0; top: 0; height: 440vh; pointer-events: none; will-change: transform;
  background:
    radial-gradient(60vw 60vh at 10% 46%, rgba(var(--brand-200-rgb), 0.16), transparent 70%),
    linear-gradient(180deg, var(--brand-500) 0%, var(--brand-500) 24%, var(--brand-600) 46%, var(--brand-500) 64%, var(--brand-600) 82%, var(--brand-500) 100%); }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 40; background: var(--panel); padding: 8px 12px; }
.skip:focus { left: 12px; }
.tag { font: 500 0.78rem var(--mono); color: var(--muted); }
.lead { margin-top: 18px; max-width: 34em; font-size: 1.2rem; line-height: 1.5; color: var(--muted); }

.progress { opacity: calc(1 - var(--dock)); position: fixed; inset: 0 0 auto 0; z-index: 31; height: 2px; background: linear-gradient(90deg, #fff, var(--spark)); transform: scaleX(0); transform-origin: left; }
/* The header eases into a floating dock as --dock goes from 0 to 1 with scroll. */
:root { --dock: 0; }
.nav { position: fixed; z-index: 30; top: calc(var(--dock) * 12px); left: 50%; transform: translateX(-50%); width: calc(100% - var(--dock) * (100% - min(880px, 100% - 24px))); border-radius: calc(var(--dock) * 20px); background: rgba(var(--brand-700-rgb), calc(0.35 + var(--dock) * 0.5)); backdrop-filter: blur(calc(14px + var(--dock) * 10px)) saturate(160%); -webkit-backdrop-filter: blur(calc(14px + var(--dock) * 10px)) saturate(160%); box-shadow: 0 1px 0 rgba(255, 255, 255, calc(0.2 - var(--dock) * 0.2)), 0 0 0 1px rgba(255, 255, 255, calc(var(--dock) * 0.2)), inset 0 1px 0 rgba(255, 255, 255, calc(var(--dock) * 0.16)), 0 18px 44px rgba(var(--brand-ink-rgb), calc(var(--dock) * 0.5)); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; width: min(var(--wrap), 100% - calc(40px - var(--dock) * 8px)); min-height: calc(56px - var(--dock) * 6px); }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand .bi { width: 38px; height: 19px; overflow: visible; }
.bi .m1 { fill: #fff; }
.bi .m2 { fill: var(--peach); }
.bi .w { transform-box: fill-box; transform-origin: center; }
.brand:hover .w { animation: logo-wave 0.8s ease-in-out infinite alternate; }
.brand:hover .w:nth-of-type(3) { animation-delay: 0.12s; }
.brand:hover .w:nth-of-type(4) { animation-delay: 0.24s; }
.brand:hover .w:nth-of-type(5) { animation-delay: 0.36s; }
@keyframes logo-wave { to { transform: scaleY(0.55); } }
.brand .wm { height: 15px; width: auto; }
.foot-wm { height: 16px; width: auto; align-self: center; opacity: 0.85; }
.ap-wm { height: 13px; width: auto; }
.nav nav { display: flex; align-items: center; gap: 24px; font-size: 0.86rem; white-space: nowrap; flex-wrap: nowrap; }
.nav .brand { flex: none; }
.nav nav a:not(.btn) { color: var(--brand-100); text-decoration: none; white-space: nowrap; transition: color 0.15s; }
.nav nav a:not(.btn):hover { color: #fff; }
/* Current-page underline only for text links. On a .btn (white pill), forcing
   color: #fff collapsed the label into the background — Download was invisible. */
.nav nav > a[aria-current="page"]:not(.btn) { color: #fff; box-shadow: inset 0 -2px 0 var(--brand-400); }
.nav nav > a.btn[aria-current="page"] { background: var(--brand-100); color: var(--brand-800); box-shadow: inset 0 0 0 1px var(--brand-300); }
.nav nav > a { transform-origin: 50% 70%; will-change: transform; }
.nav nav > a:not(.btn) { display: inline-block; }
.nav nav > a.btn { display: inline-flex; line-height: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border: 1px solid transparent; border-radius: 12px; background: #fff; color: var(--brand-700); font: 600 1rem var(--body); text-decoration: none; cursor: pointer; transition: background 0.15s; }
.btn:hover { background: var(--brand-100); }
.os-ic { flex: none; width: 16px; height: 16px; margin-right: 8px; fill: currentColor; }
.btn.small { min-height: 34px; padding: 5px 13px; border-radius: 10px; font-size: 0.82rem; white-space: nowrap; }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: var(--text); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.14); }

.menu { display: none; position: relative; }
.menu summary { display: grid; place-content: center; gap: 6px; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 10px; cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 1px; }
.menu-panel { position: absolute; right: 0; top: 50px; display: grid; min-width: 220px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--brand-700); box-shadow: 0 20px 50px rgba(var(--brand-ink-rgb), 0.5); }
.nav nav .menu-panel a { display: block; padding: 10px 12px; color: var(--text); border-radius: 8px; }
.nav nav .menu-panel a:hover { background: rgba(255, 255, 255, 0.12); }
.flow-note { display: none; margin: 0; padding-left: 20px; color: var(--muted); }

/* Hero */
.hero { position: relative; height: 100vh; height: max(100svh, 640px); overflow: hidden; }
#ribbon { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-copy { position: relative; z-index: 2; padding: clamp(84px, 13vh, 118px) 0 0; }
.hero .lede { margin-top: 24px; max-width: 36em; font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.5; color: var(--muted); }
.actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-after { position: absolute; z-index: 2; left: 0; right: 0; top: calc(46% + 4.4vw + 34px); padding: 0 20px; text-align: center; color: #fff; visibility: hidden; }
.hero-after p { font: 600 clamp(1.6rem, 2.5vw, 2.25rem)/1.25 var(--body); letter-spacing: -0.01em; text-shadow: 0 2px 18px rgba(var(--brand-ink-rgb), 0.45), 0 0 2px rgba(var(--brand-ink-rgb), 0.3); }
.ha-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.ha-chips li { padding: 6px 14px; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px; background: rgba(var(--brand-700-rgb), 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font: 500 0.92rem var(--body); white-space: nowrap; }
/* The pinned stage behind the forming words: a spotlight, a vignette and a slow aurora, all in brand shades. */
.hero-stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; visibility: hidden; overflow: hidden;
  background:
    radial-gradient(ellipse 46% 34% at 50% 46%, rgba(var(--brand-400-rgb), 0.95) 0%, rgba(var(--brand-400-rgb), 0.55) 38%, transparent 72%),
    radial-gradient(ellipse 110% 90% at 50% 46%, transparent 34%, rgba(var(--brand-800-rgb), 0.7) 80%, rgba(var(--brand-900-rgb), 0.92) 100%),
    var(--brand-600); }
.hero-stage::before, .hero-stage::after { content: ""; position: absolute; width: 60vw; height: 60vw; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.hero-stage::before { left: -12vw; top: -22vw; background: radial-gradient(circle, rgba(var(--brand-300-rgb), 0.55), transparent 65%); }
.hero-stage::after { right: -14vw; bottom: -30vw; background: radial-gradient(circle, rgba(var(--brand-500-rgb), 0.7), transparent 65%); }
@media (prefers-reduced-motion: no-preference) {
  .hero-stage::before { animation: aurora-a 18s ease-in-out infinite alternate; }
  .hero-stage::after { animation: aurora-b 22s ease-in-out infinite alternate; }
}
@keyframes aurora-a { to { transform: translate(18vw, 10vw) scale(1.15); } }
@keyframes aurora-b { to { transform: translate(-16vw, -8vw) scale(1.1); } }
@media (max-width: 760px) { .hero-after { top: auto; bottom: 12vh; } .ha-chips li { font-size: 0.8rem; padding: 4px 11px; } }

section.band { position: relative; z-index: 3; padding: clamp(72px, 11vw, 150px) 0; }
.hero + section.band { padding-top: clamp(48px, 6vw, 88px); }
.head { max-width: 50rem; margin-bottom: clamp(36px, 6vw, 64px); }
.eyebrow { display: block; margin-bottom: 14px; font: 600 0.85rem var(--mono); color: #fff; }

/* App frame */
.frame { --muted: #8a8a8a; --line: rgba(255, 255, 255, 0.08); --panel: #1a1a1a; --panel-2: #252525; --panel-3: #333; --lilac: var(--brand-100); font-family: "Inter", var(--body); letter-spacing: -0.011em; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px rgba(var(--brand-ink-rgb), 0.5); font-size: 0.93rem; line-height: 1.45; }
.frame-bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: var(--panel-2); border-bottom: 1px solid var(--line); font-size: 0.84rem; color: var(--muted); }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.frame-bar { background: #1f1f1f !important; }
.frame-bar strong { color: var(--text); font: 700 0.92rem "Plus Jakarta Sans", var(--body); letter-spacing: -0.02em; }
.frame-bar .tag { margin-left: auto; }
.frame-body { flex: 1; padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; }
.card { padding: 14px; background: var(--panel-2); border-radius: 10px; }
.sub { margin-bottom: 6px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); }
.card ul, .note ul { margin: 0; padding-left: 18px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 2px 10px; border-radius: 999px; background: var(--panel-3); font-size: 0.82rem; }
.chip.me { background: rgba(var(--brand-500-rgb), 0.26); }
.rec { display: flex; align-items: center; gap: 10px; font: 500 0.82rem var(--mono); color: var(--muted); }
.rec b { width: 9px; height: 9px; border-radius: 50%; background: #ff453a; }
.bars { display: flex; align-items: center; gap: 3px; height: 30px; flex: 1; min-width: 0; overflow: hidden; }
.bars i { flex: 0 0 3px; border-radius: 2px; background: linear-gradient(var(--lilac), var(--violet)); transform-origin: center; }
.cap { display: grid; grid-template-columns: 72px 1fr; gap: 10px; }
.cap b { font-size: 0.84rem; font-weight: 600; color: var(--muted); }
.cap.you b { color: var(--lilac); }
.split-note { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.pad { padding: 12px; border-left: 1px solid var(--line); }
.note { display: grid; gap: 12px; }
.note .ai { color: var(--muted); }
.note em { color: var(--muted); }
.todo { display: flex; align-items: center; gap: 10px; }
.todo i { width: 15px; height: 15px; border: 1.5px solid var(--lilac); border-radius: 4px; flex: none; }
.draft { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--ink); }

.hero h1 { font-size: clamp(2.5rem, min(5.2vw, 9.5vh), 4.1rem); line-height: 1.08; letter-spacing: -0.015em; }
.hero-sub { margin-top: 12px; font: 500 clamp(1.1rem, 1.85vw, 1.5rem)/1.4 var(--body); letter-spacing: -0.005em; }
.hero-lower { display: grid; grid-template-columns: 464px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(28px, 5vh, 52px); align-items: center; }
.hero-cta { font-weight: 500; }
.hero-cta .btn { flex: 1 1 auto; padding-inline: 14px; font-size: 0.98rem; font-weight: 600; white-space: nowrap; }
.see-how { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--text); font-size: 0.97rem; text-decoration: none; }
.see-how .arrow { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 50%; transition: background 0.2s, color 0.2s, transform 0.2s; }
.see-how svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.see-how:hover .arrow { background: #fff; color: var(--brand-700); transform: translateY(2px); }
.feat { position: relative; display: flex; justify-content: space-between; gap: 10px; margin-top: clamp(36px, 5vh, 52px); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.feat-b { padding: 2px 0; border: 0; background: none; color: var(--muted); font: 400 1.42rem/1.2 var(--display); letter-spacing: -0.005em; white-space: nowrap; cursor: pointer; transition: color 0.2s; }
.feat-b:hover { color: #fff; }
.feat-b.on { color: var(--peach); font-style: italic; }
.feat-ind { position: absolute; left: 0; bottom: -1px; width: 60px; height: 2px; background: rgba(var(--brand-200-rgb), 0.35); transition: left 0.45s cubic-bezier(0.34, 1.3, 0.64, 1), width 0.45s cubic-bezier(0.34, 1.3, 0.64, 1); }
.feat-ind::after { content: ""; position: absolute; inset: 0; background: var(--peach); transform-origin: left; }
.feat.auto .feat-ind::after { animation: feat-run 5s linear forwards; }
@keyframes feat-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.feat-ds { position: relative; min-height: 3.2em; margin-top: 22px; font-size: 1rem; line-height: 1.5; }
.feat-d { position: absolute; inset: 0; color: var(--muted); opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s; }
.feat-d.on { opacity: 1; transform: none; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 6px; margin: 30px 0 0; padding: 0; list-style: none; }
.hero-trust li { padding: 4px 11px; border: 1px solid rgba(var(--brand-200-rgb), 0.45); border-radius: 999px; background: rgba(var(--brand-700-rgb), 0.55); color: var(--text); font-size: 0.8rem; white-space: nowrap; box-shadow: 0 4px 14px rgba(var(--brand-ink-rgb), 0.35); }
.hero-app { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ln { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.ln > span { display: block; }
.rot { display: inline-block; overflow: hidden; overflow: clip; color: var(--peach); }
.rot-word { display: inline-block; }
.hl { color: var(--peach); }
.hero .eyebrow { margin-bottom: 18px; }

/* Hero app: the Meetings dashboard design, drawn at full size and scaled to fit */
.hero-app { --s: 0.7; --iw: 1080px; --ih: 696px; position: relative; width: 100%; height: calc(var(--ih) * var(--s)); margin: 0; border-radius: 14px; box-shadow: 0 40px 100px rgba(var(--brand-ink-rgb), 0.55); }
.ap-scale { position: absolute; left: 0; top: 0; width: var(--iw); height: var(--ih); transform: scale(var(--s)); transform-origin: 0 0; }
.ap { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 20px; background: #1a1a1a; color: #f0f0f0; font: 400 13px/1.45 "Inter", var(--body); letter-spacing: -0.011em; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.ap .ic { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ap h4 { margin: 0; font: 700 28px/1.14 "Plus Jakarta Sans", var(--body); letter-spacing: -0.02em; }
.ap em { font-style: normal; color: #8a8a8a; font-size: 12px; }
.ap code { font: 500 12px "JetBrains Mono", monospace; color: var(--brand-300); }
.ap-title { flex: none; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px 0 16px; background: #1f1f1f; border-bottom: 0.5px solid rgba(255, 255, 255, 0.08); }
.ap-lights { display: flex; gap: 8px; margin-right: 8px; }
.ap-lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.ap-lights i:nth-child(2) { background: #febc2e; }
.ap-lights i:nth-child(3) { background: #28c840; }
.ap-title strong { font: 700 14px "Plus Jakarta Sans", var(--body); letter-spacing: -0.02em; }
.ap-ex { color: #8a8a8a; font-size: 12px; }
.ap-gap { flex: 1; }
.ap-ib { display: grid; place-items: center; width: 32px; height: 32px; color: #b8b8b8; }
.ap-zoe { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 6px; background: rgba(var(--brand-500-rgb), 0.15); color: var(--brand-300); font-weight: 500; }
.ap-body { flex: 1; min-height: 0; display: flex; }
.ap-rail { flex: none; width: 74px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 0; background: #111; border-right: 0.5px solid rgba(255, 255, 255, 0.08); }
.ap-rail span { display: grid; justify-items: center; align-content: center; gap: 4px; width: 68px; height: 52px; border-radius: 8px; color: #8a8a8a; font-size: 11px; font-weight: 500; }
.ap-rail .on { background: rgba(var(--brand-500-rgb), 0.15); color: var(--brand-300); }
.ap-rail .ap-set { margin-top: auto; }
.ap-side { position: relative; flex: none; width: 250px; padding: 0; background: #111; border-right: 0.5px solid rgba(255, 255, 255, 0.08); }
.ap-sv { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; padding: 16px 12px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.35s, transform 0.35s, visibility 0s 0.35s; }
.ap-sv.on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s, transform 0.35s, visibility 0s; }
.ap-btn .ic { fill: none; stroke: currentColor; stroke-width: 2; }
.ap-k .ic { color: #cfcfcf; }
.ap-row.sel .ap-k .ic { color: var(--brand-300); }
.ap-badge { flex: none; align-self: center; margin-left: auto; padding: 2px 7px; border-radius: 999px; background: rgba(76, 217, 100, 0.13); color: #b3f2bd; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.ap-badge.wait { background: rgba(var(--brand-500-rgb), 0.18); color: var(--brand-300); }
.ap-livedot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #ff453a; animation: ap-blink 1.4s infinite; }
.ap-count { flex: none; align-self: center; margin-left: auto; font: 500 12px "JetBrains Mono", monospace; color: #8a8a8a; }
.ap-ws b { font: 700 16px var(--body); color: #fff; }
.ap-ws { background: #725aff !important; }
.ap-ws.b { background: #5644bf !important; }
.ap-ws.c { background: #9583ff !important; }
.ap-ws.d { background: #3f328c !important; }
.ap-score b { font: 600 15px "JetBrains Mono", monospace; color: #b3f2bd !important; }
.ap-score.mid b { color: #ffd60a !important; }
.ap-score { font-size: 9px; }
.ap-zoe.on { background: #725aff; color: #fff; }
.ap-rec { display: flex; align-items: center; justify-content: center; gap: 8px; height: 36px; margin-bottom: 8px; border-radius: 8px; background: #725aff; color: #fff; font-weight: 600; }
.ap-rec i { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.ap-group { display: flex; justify-content: space-between; padding: 8px 2px 2px; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; color: #8a8a8a; }
.ap-group b { font: 400 12px "JetBrains Mono", monospace; }
.ap-row { display: flex; align-items: flex-start; gap: 10px; padding: 8px; border-radius: 10px; background: #1e1e1e; }
.ap-row.sel { background: rgba(var(--brand-500-rgb), 0.15); }
.ap-time { flex: none; display: grid; place-content: center; justify-items: center; width: 42px; height: 42px; border-radius: 8px; background: #333; color: #8a8a8a; font-size: 11px; }
.ap-time b { font: 500 12px "JetBrains Mono", monospace; color: #f0f0f0; }
.ap-row.sel .ap-time { background: rgba(var(--brand-500-rgb), 0.15); }
.ap-row.sel .ap-time b { color: var(--brand-300); }
.ap-rt { min-width: 0; display: grid; }
.ap-rt strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-rt em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-new { flex: none; width: 7px; height: 7px; margin: 6px 0 0 auto; border-radius: 50%; background: #725aff; }
.ap-foot { display: flex; align-items: center; gap: 6px; margin-top: auto; padding: 12px 2px; font-size: 12px; color: #8a8a8a; white-space: nowrap; }
.ap-foot .ic { color: #4cd964; }
.ap-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 20px 24px 0; overflow: hidden; }
.ap-head { display: flex; align-items: center; gap: 20px; }
.ap-head > div:first-child span { font-size: 13px; color: #8a8a8a; }
.ap-ask { flex: 1; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 10px 0 14px; border-radius: 12px; background: #252525; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.08); color: #8a8a8a; font-size: 14px; white-space: nowrap; overflow: hidden; }
.ap-ask .ic { color: var(--brand-300); }
.ap-ask span { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.ap-ask kbd { padding: 2px 6px; border-radius: 5px; background: #333; font: 400 12px "JetBrains Mono", monospace; }
.ap-tabs { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 14px; background: #111; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.08); }
.ap-tabs button { position: relative; z-index: 1; flex: 1 1 auto; height: 36px; padding: 0 9px; border: 0; background: none; color: #8a8a8a; font: 500 13px "Inter", var(--body); letter-spacing: -0.011em; white-space: nowrap; transition: color 0.2s; }
.ap-tabs button.on { color: #f0f0f0; font-weight: 600; }
.ap-tabs b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #333; color: #b8b8b8; font-size: 12px; font-weight: 600; }
.ap-tabs button.on b { background: #725aff; color: #fff; }
.ap-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 90px; border-radius: 10px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)); box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 0.5px rgba(255, 255, 255, 0.1), 0 6px 16px rgba(0, 0, 0, 0.45); transition: left 0.48s cubic-bezier(0.34, 1.4, 0.64, 1), width 0.48s cubic-bezier(0.34, 1.4, 0.64, 1); }
.ap-panels { position: relative; flex: 1; min-height: 0; }
.ap-panel { position: absolute; inset: 0; display: grid; gap: 12px; align-content: start; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s, visibility 0.3s; }
.ap-panel.on { opacity: 1; visibility: visible; transform: none; }
.ap-card { border-radius: 12px; background: #252525; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24), 0 0 0 0.5px rgba(255, 255, 255, 0.06); }
.ap-lab { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; color: #8a8a8a; }
.ap-next { display: flex; align-items: center; gap: 16px; padding: 14px 18px; }
.ap-count { display: grid; justify-items: center; align-content: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(var(--brand-500-rgb), 0.15); color: var(--brand-300); font-size: 12px; }
.ap-count b { font: 700 20px/1 "Plus Jakarta Sans", var(--body); }
.ap-nt { flex: 1; min-width: 0; display: grid; }
.ap-nt strong { font: 600 18px "Plus Jakarta Sans", var(--body); letter-spacing: -0.02em; }
.ap-nt em { color: #b8b8b8; }
.ap-btn { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 10px; background: #725aff; color: #fff; font-weight: 600; white-space: nowrap; }
.ap-brief { padding: 12px 18px; border-radius: 12px; background: #1e1e1e; color: #8a8a8a; font-size: 12px; }
.ap-brief .ic { color: var(--brand-300); vertical-align: -2px; }
.ap-brief ul { margin: 6px 0 0; padding-left: 16px; color: #b8b8b8; font-size: 13px; }
.ap-chart { display: flex; gap: 24px; align-items: flex-end; padding: 14px 18px; }
.ap-chart strong { display: block; margin-top: 2px; font: 700 30px "Plus Jakarta Sans", var(--body); letter-spacing: -0.02em; }
.ap-bars { flex: 1; display: flex; align-items: flex-end; justify-content: space-around; gap: 10px; }
.ap-bar { display: grid; justify-items: center; gap: 4px; width: 44px; opacity: 0.55; color: #8a8a8a; font-size: 12px; }
.ap-bar.now { opacity: 1; color: #f0f0f0; font-weight: 600; }
.ap-stack { display: flex; flex-direction: column; gap: 2px; width: 100%; }
.ap-stack i { display: block; border-radius: 2px; }
.ap-stack i:first-child { border-radius: 5px 5px 2px 2px; }
.ap-stack i { max-height: 26px; }
.ap-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ap-cards .ap-card { display: grid; gap: 5px; padding: 14px; }
.ap-p { display: flex; align-items: center; gap: 6px; color: #8a8a8a; font-size: 12px; }
.ap-p i { width: 8px; height: 8px; border-radius: 3px; }
.ap-cards strong { font-size: 15px; font-weight: 600; }
.ap-cards p { margin: 0; color: #b8b8b8; }
.ap-cards small { padding-top: 8px; border-top: 0.5px solid rgba(255, 255, 255, 0.08); color: #8a8a8a; font-size: 12px; }
.ap-week { padding: 10px 12px; }
.ap-wh, .ap-wg { display: grid; grid-template-columns: 50px repeat(5, minmax(0, 1fr)); gap: 0 4px; }
.ap-wh span { padding-bottom: 8px; font-size: 12px; font-weight: 600; color: #8a8a8a; }
.ap-wh .t { color: var(--brand-300); }
.ap-wg { height: 262px; }
.ap-hrs { display: grid; align-content: space-between; height: 220px; color: #8a8a8a; font-size: 12px; }
.ap-col { position: relative; border-left: 0.5px solid rgba(255, 255, 255, 0.08); }
.ap-col b { position: absolute; left: 3px; right: 3px; padding: 4px 6px; border-radius: 6px; background: rgba(var(--brand-500-rgb), 0.3); color: #f0f0f0; font-size: 12px; font-weight: 600; overflow: hidden; }
.ap-col b.past { background: #333; color: #b8b8b8; }
.ap-col u { position: absolute; left: 0; right: 0; top: 186px; height: 1.5px; background: #ff453a; }
.ap-list { padding: 6px; }
.ap-list div { display: flex; align-items: center; gap: 10px; padding: 11px 12px; }
.ap-list i { width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.ap-list em { margin-left: auto; }
.ap-list .done { color: #8a8a8a; text-decoration: line-through; }
.ap-list .done i { background: #725aff; box-shadow: none; }
.ap-list .done em { text-decoration: none; }
.ap-spoke { display: grid; gap: 12px; padding: 16px 18px; }
.ap-spoke > div { display: grid; grid-template-columns: 130px 1fr 44px; gap: 14px; align-items: center; }
.ap-tr { position: relative; height: 8px; border-radius: 4px; background: #333; }
.ap-tr u { position: absolute; left: 30%; width: 20%; top: -4px; bottom: -4px; background: rgba(52, 199, 89, 0.12); }
.ap-tr i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: #725aff; }
.ap-tr i.hi { background: #ff9f0a; }
.ap-spoke code.hi { color: #ff9f0a; }
.ap-tip { display: flex; justify-content: space-between; gap: 14px; padding: 12px 16px; color: #b8b8b8; }
.hero-app.narrow { --iw: 660px; --ih: 640px; }
.hero-app.narrow .ap-rail, .hero-app.narrow .ap-side, .hero-app.narrow .ap-ex, .hero-app.narrow .ap-ask kbd { display: none; }
.hero-app.narrow .ap-main { padding-inline: 16px; }

.ap-main.no-tabs .ap-tabs { display: none; }
.ap-inbox { padding: 6px; }
.ap-inbox div { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 12px; border-bottom: 0.5px solid rgba(255, 255, 255, 0.08); }
.ap-inbox div:last-child { border-bottom: 0; }
.ap-inbox b { font: 500 12px "JetBrains Mono", monospace; color: var(--brand-300); }
.ap-rec.rec { background: rgba(255, 69, 58, 0.12); color: #ff6961; }
.ap-rec.rec i { background: #ff453a; animation: ap-blink 1.4s infinite; }
@keyframes ap-blink { 50% { opacity: 0.3; } }
.ap-live { padding: 18px 20px; box-shadow: inset 0 0 0 0.5px rgba(255, 69, 58, 0.35); }
.ap-lt { display: flex; align-items: center; gap: 14px; }
.ap-lt code { color: #f0f0f0; font-size: 15px; }
.ap-wave { display: flex; align-items: center; gap: 3px; height: 28px; }
.ap-wave i { width: 3px; height: 28px; border-radius: 2px; background: #ff453a; animation: ap-w 0.9s ease-in-out infinite alternate; }
@keyframes ap-w { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
.ap-caps { display: grid; gap: 8px; margin-top: 14px; }
.ap-caps p { display: grid; grid-template-columns: 70px 1fr; margin: 0; color: #b8b8b8; }
.ap-caps b { font-weight: 600; color: #5ac8fa; }
.ap-caps b.me { color: var(--brand-300); }
.ap-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ap-stats .ap-card { display: grid; padding: 12px 14px; color: #8a8a8a; font-size: 12px; }
.ap-stats b { font: 700 24px "Plus Jakarta Sans", var(--body); color: #f0f0f0; letter-spacing: -0.02em; }
.ap-answer { display: grid; gap: 10px; padding: 18px 20px; box-shadow: inset 0 0 0 0.5px rgba(var(--brand-500-rgb), 0.3), 0 2px 8px rgba(0, 0, 0, 0.24); }
.ap-answer strong { font-weight: 600; }
.ap-answer strong .ic { color: var(--brand-300); vertical-align: -2px; }
.ap-answer p { margin: 0; font-size: 15px; line-height: 1.55; }
.ap-answer div { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-answer code { padding: 3px 9px; border-radius: 999px; background: rgba(var(--brand-500-rgb), 0.1); }
.ap-list i.dot { width: 7px; height: 7px; border-radius: 50%; background: #725aff; box-shadow: none; }

/* Everything grid */
/* Everything it does: one glass card per category. */
.fcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.fc { display: flex; flex-direction: column; padding: 22px 22px 20px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 20px; background: rgba(var(--brand-700-rgb), 0.42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 14px 34px rgba(var(--brand-ink-rgb), 0.16); transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; }
.fc:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.42); box-shadow: 0 22px 44px rgba(var(--brand-ink-rgb), 0.22); }
.fc-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(var(--brand-200-rgb), 0.2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.fc-ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fc h3 { margin-top: 18px; font: 400 1.75rem/1.1 var(--display); color: #fff; }
.fc p { margin-top: 8px; font-size: 1rem; line-height: 1.45; color: var(--brand-50); }
.fc ul { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 18px 0 0; list-style: none; }
.fc li { padding: 3px 10px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 0.78rem; font-weight: 500; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .fcards.fc-js .fc { opacity: 0; transform: translateY(18px); }
  .fcards.fc-js.fc-seen .fc { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.4s ease, box-shadow 0.4s ease; transition-delay: calc(var(--i) * 60ms), calc(var(--i) * 60ms), 0s, 0s; }
  .fcards.fc-js.fc-seen .fc:hover { transform: translateY(-4px); transition-delay: 0s; }
}
@media (max-width: 1199px) { .fcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .fcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 599px) { .fcards { grid-template-columns: minmax(0, 1fr); } .fc { padding: 18px; } .fc h3 { margin-top: 14px; font-size: 1.55rem; } }
.all { display: grid; border-bottom: 1px solid var(--line); }
.all-g { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px 32px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); transition: padding 0.3s ease, background 0.3s ease; }
.all-g h3 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; transition: color 0.2s; }
.all-g ul { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 1.08rem; line-height: 1.45; color: var(--muted); }
.all-g li { white-space: nowrap; }
.all-g li:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--peach); }
.all-g:hover { padding-left: 16px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.07), transparent 70%); }
.all-g:hover h3 { color: var(--peach); font-style: italic; }
.all-g:hover ul { color: var(--text); }

/* Zoe */
.zoe-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.zoe-ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
.zoe-stage { position: relative; display: grid; justify-items: center; gap: 14px; padding: 30px 26px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--glass); backdrop-filter: blur(10px); }
.orb { position: relative; width: 150px; height: 150px; }
.orb i, .orb b { position: absolute; inset: 0; border-radius: 50%; }
.orb i { background: radial-gradient(circle, rgba(var(--brand-200-rgb), 0.38), transparent 68%); }
.orb b { inset: 42px; background: radial-gradient(circle at 35% 30%, #fff, var(--brand-200) 45%, var(--brand-300) 100%); box-shadow: 0 0 40px rgba(var(--brand-200-rgb), 0.7); }
.zoe-state { font: 500 0.82rem var(--mono); color: var(--peach); }
.zoe-lines { display: grid; gap: 10px; width: 100%; min-height: 216px; align-content: start; }
.zl { max-width: 86%; padding: 9px 13px; border-radius: 13px; font-size: 0.97rem; line-height: 1.4; }
.zl.you { justify-self: end; background: rgba(255, 255, 255, 0.18); }
.zl.zo { justify-self: start; background: var(--well); }
.zoe-ex { color: var(--muted); }

/* Organize hub */
.hub { display: grid; grid-template-columns: minmax(150px, 2fr) minmax(60px, 2fr) minmax(0, 6fr); align-items: center; }
.sources { display: grid; gap: 14px; }
.src { padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--glass); font-weight: 600; }
.hub-lines { width: 100%; height: 360px; display: block; }
.hub-lines path { fill: none; stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; padding-bottom: 0; }
.kind { font: 500 0.78rem/1.7 var(--mono); color: var(--lilac); }

/* Search */
.search-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.ask { min-height: 48px; padding: 12px 14px; border: 1px solid var(--lilac); border-radius: 10px; font-weight: 500; }
.ask-text::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.14em; background: var(--lilac); }
.srcs { display: flex; flex-wrap: wrap; gap: 6px; }

/* Topic timeline */
.tl { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 34px; }
.tl-line { position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: rgba(255, 255, 255, 0.25); }
.tl-line i { display: block; height: 100%; background: #fff; transform-origin: left; }
.tl-node { position: relative; }
.tl-node b { position: absolute; left: 0; top: -33px; width: 16px; height: 16px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 0 5px rgba(var(--brand-200-rgb), 0.25); }
.tl-node .tag { display: block; margin-bottom: 6px; color: var(--muted); }
.tl-node p { margin-top: 6px; color: var(--muted); font-size: 0.97rem; }

/* Pinned story */
.story { position: relative; z-index: 3; padding-top: clamp(72px, 10vw, 130px); }
.story > .wrap > .head { margin-bottom: 40px; }
.chapter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: 28px; }
.chapter .copy h3 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.08; }
.chapter .copy p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; max-width: 26em; }
.steps-rail { display: none; }
.stage.pinned { position: relative; height: 100vh; display: flex; align-items: center; }
.stage.pinned .wrap { position: relative; height: min(520px, 80vh); }
.stage.pinned .chapter { position: absolute; inset: 0 0 0 110px; padding: 0; }
.stage.pinned .frame { height: min(480px, 76vh); font-size: 1rem; }
.stage.pinned .steps-rail { display: block; position: absolute; left: 0; top: 50%; transform: translateY(-50%); margin: 0; padding: 0 0 0 16px; list-style: none; font-size: 0.86rem; color: var(--muted); }
.steps-rail li { padding: 8px 0; transition: color 0.2s; }
.steps-rail li.on { color: var(--text); font-weight: 600; }
.steps-rail::before, .steps-rail .fill { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line); }
.steps-rail .fill { background: #fff; transform-origin: top; transform: scaleY(0); padding: 0; }

/* Dictation */
.dict-stage { position: relative; display: grid; gap: 18px; padding: clamp(18px, 3vw, 32px); border-radius: 20px; background: var(--glass); backdrop-filter: blur(10px); border: 1px solid var(--line); }
.dict-tabs { display: flex; gap: 6px; }
.dict-tab { padding: 5px 12px; white-space: nowrap; border-radius: 8px; color: var(--muted); font-size: 0.9rem; }
.dict-tab.on { background: var(--well); color: var(--text); }
.dict-doc { min-height: 170px; padding: 20px; background: var(--well); border: 1px solid var(--line); border-radius: 12px; }
.dict-to { display: block; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font: 500 0.82rem var(--mono); color: var(--muted); }
.dict-out { font: 400 clamp(1.5rem, 2.9vw, 2.2rem)/1.25 var(--display); letter-spacing: -0.005em; min-height: 1.3em; }
.dict-out.code { font: 500 clamp(1rem, 2vw, 1.4rem)/1.4 var(--mono); color: #b3f2bd; letter-spacing: 0; }
.dict-out::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -0.12em; background: var(--lilac); }
.dict-pill { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--well); }
.dict-pill .bars { flex: 0 0 90px; height: 24px; }
.dict-raw { color: var(--muted); font-size: 0.98rem; line-height: 1.45; }
s.cut, .hedge { --cut: 1; text-decoration: none; background: linear-gradient(var(--spark), var(--spark)) left 55% / calc(var(--cut, 1) * 100%) 2px no-repeat; }
html.anim .hedge { --cut: 0; }
.ticks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; margin-top: 40px; }
.ticks p { margin-top: 6px; color: var(--muted); font-size: 0.97rem; }

/* Languages */
.marquee { position: relative; z-index: 3; padding: 20px 0 clamp(60px, 9vw, 110px); overflow: hidden; }
.marquee-row { overflow: hidden; }
.marquee-track { display: flex; width: max-content; gap: 48px; padding-right: 48px; font: 400 clamp(2.8rem, 6.6vw, 5rem)/1.3 var(--display); letter-spacing: -0.005em; white-space: nowrap; }
.marquee-row:nth-child(even) .marquee-track { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.7); }

/* Coaching */
.coach { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.coach-card { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--glass); }
.score-ring { position: relative; width: 150px; height: 150px; margin: 0 auto; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 9; }
.score-ring .sr-track { stroke: rgba(255, 255, 255, 0.16); }
.score-ring .sr-val { stroke: #fff; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 61; }
.score-num { position: absolute; inset: 0; display: grid; place-items: center; font: 400 3.2rem var(--display); font-variant-numeric: tabular-nums; }
.skill { display: grid; grid-template-columns: 30px 92px minmax(0, 1fr) 28px; gap: 10px; align-items: center; margin-top: 12px; font-size: 0.92rem; color: #fff; }
.skill b { font-weight: 500; }
.skill em { font: 500 0.82rem var(--mono); font-style: normal; text-align: right; color: var(--brand-50); }
.sk-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(var(--brand-200-rgb), 0.18); }
.sk-ic svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sk-bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.skill i { display: block; height: 100%; border-radius: 3px; background: #fff; transform-origin: left; }
.coach-head { max-width: 46rem; margin-inline: auto; text-align: center; }
.coach-head .lead { margin-inline: auto; }
.coach-card { display: flex; flex-direction: column; box-shadow: 0 14px 34px rgba(var(--brand-ink-rgb), 0.16); border-radius: 20px; }
.coach-score { align-items: stretch; }
.score-cap { margin: 12px 0 10px; text-align: center; font-weight: 600; color: #fff; }
.score-cap small { display: block; font-weight: 400; font-size: 0.85rem; color: var(--brand-100); }
.coach-said { justify-content: center; }
.coach-said .stronger { color: #fff; }
section.band.band-tight { padding-bottom: clamp(48px, 6vw, 80px); }
.said { font: 500 clamp(1.15rem, 2.1vw, 1.5rem)/1.45 var(--display); color: var(--muted); }
.stronger { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font: 400 clamp(1.7rem, 3.2vw, 2.5rem)/1.2 var(--display); }

/* Privacy flow */
.private-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.flow { width: 100%; height: auto; display: block; font-family: var(--body); }
.flow .tile rect { fill: rgba(var(--brand-ink-rgb), 0.4); stroke: var(--line); }
.flow text { fill: var(--text); font-size: 15px; font-weight: 500; }
.flow text.dim { fill: var(--muted); font-size: 14px; }
.flow path.draw { fill: none; stroke: #fff; stroke-width: 2; }
.flow .mac rect { fill: rgba(var(--brand-ink-rgb), 0.34); stroke: #fff; }
.flow .mh { font: 400 30px var(--display); fill: #fff; }
.flow .msub { font-size: 14px; font-weight: 500; fill: var(--peach); }
.flow .mline { stroke: rgba(255, 255, 255, 0.2); stroke-width: 1; }
.flow .mck circle { fill: rgba(var(--brand-200-rgb), 0.16); stroke: rgba(var(--brand-200-rgb), 0.5); }
.flow .mck path { fill: none; stroke: var(--peach); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flow text.dim { fill: #fff; font-size: 15px; }
.flow .mac .mpill rect { fill: var(--peach); stroke: none; }
.flow .mpill text { fill: var(--brand-700); font-size: 15px; font-weight: 600; }
.flow .nobot rect { fill: none; stroke: var(--peach); stroke-dasharray: 5 5; }
.flow .nobot text { fill: var(--peach); }
.flow .nobot line { stroke: var(--peach); stroke-width: 2; }
/* How Zoe works: inputs flow into Zoe on your computer, Zoe's help flows out. Live packets run along the lines. */
.zf-head { max-width: 52rem; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.zf-head .lead { margin-inline: auto; }
.zflow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 330px) minmax(0, 1fr); gap: var(--zf-gap); align-items: start; --zf-gap: clamp(56px, 8vw, 130px); }
.zf-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.zf-lines .zf-base { fill: none; stroke: rgba(var(--brand-200-rgb), 0.5); stroke-width: 1.75; }
.zf-lines .zf-dash { fill: none; stroke: rgba(255, 255, 255, 0.6); stroke-width: 1.75; stroke-dasharray: 2 12; stroke-linecap: round; animation: zf-dash 2.6s linear infinite; }
.zf-lines .zf-halo { fill: rgba(var(--brand-200-rgb), 0.45); }
.zf-lines .zf-dot { fill: #fff; }
@keyframes zf-dash { to { stroke-dashoffset: -28; } }
.zf-col { position: relative; z-index: 1; }
.zf-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.zf-label-old { display: block; margin-bottom: 14px; font: 600 0.8rem var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand-50); }
.zf-hd { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 64px; margin-bottom: 16px; }
.zf-num { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--brand-700); font: 700 1rem var(--body); box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.14); }
.zf-hd strong { display: block; font: 600 1.3rem/1.2 var(--body); color: #fff; letter-spacing: -0.01em; }
.zf-hd small { display: block; margin-top: 3px; font-size: 0.875rem; line-height: 1.35; color: var(--brand-100); }
.zf-hd.a::after { content: ""; position: absolute; top: 12px; right: calc(var(--zf-gap) * -0.5 - 9px); width: 18px; height: 10px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M1 5h15M12 1l4 4-4 4' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' opacity='.75'/%3E%3C/svg%3E"); }
.zf-node { --glow: 0; display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 8px 14px 8px 8px; border: 1px solid rgba(255, 255, 255, calc(0.22 + var(--glow) * 0.6)); border-radius: 14px; background: rgba(var(--brand-700-rgb), 0.5); box-shadow: 0 8px 24px rgba(var(--brand-ink-rgb), 0.18); color: #fff; font-size: 0.95rem; font-weight: 500; line-height: 1.25; transition: border-color 1.4s ease-in-out, box-shadow 1.4s ease-in-out; }
.zf-node.glow { border-color: rgba(255, 255, 255, 0.5); box-shadow: 0 8px 24px rgba(var(--brand-ink-rgb), 0.18), 0 0 18px rgba(var(--brand-200-rgb), 0.2); }
.zf-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, 0.14); }
.zf-ic svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.zf-core { position: relative; z-index: 1; padding: 30px 26px 26px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 24px; background: linear-gradient(160deg, rgba(var(--brand-400-rgb), 0.55), rgba(var(--brand-700-rgb), 0.85)); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.05), 0 30px 80px rgba(var(--brand-ink-rgb), 0.35), 0 0 60px rgba(var(--brand-200-rgb), 0.18); text-align: left; transition: box-shadow 0.6s; }
.zf-core h3 { font: 400 2rem/1.1 var(--display); color: #fff; }
.zf-sub { margin-top: 6px; font-size: 0.92rem; font-weight: 500; color: var(--brand-50); }
.zf-checks { display: grid; gap: 10px; margin: 18px 0 20px; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.22); list-style: none; color: #fff; font-size: 0.95rem; }
.zf-checks li { display: flex; align-items: center; gap: 10px; }
.zf-checks svg { flex: none; width: 18px; height: 18px; }
.zf-checks circle { fill: rgba(255, 255, 255, 0.16); stroke: rgba(255, 255, 255, 0.6); }
.zf-checks path { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.zf-pill { display: block; padding: 11px 16px; border-radius: 999px; background: #fff; color: var(--brand-700); font-weight: 700; font-size: 0.95rem; text-align: center; }
.zf-orb { position: relative; width: 56px; height: 56px; margin-bottom: 16px; }
.zf-orb i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.5); }
.zf-orb i:nth-child(2) { inset: 8px; border-color: rgba(255, 255, 255, 0.7); }
.zf-orb i:nth-child(3) { inset: 16px; border-color: #fff; }
.zf-orb b { position: absolute; inset: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 18px #fff; }
.zf-center { position: relative; z-index: 1; display: flex; flex-direction: column; }
.zf-link { position: relative; align-self: center; width: 2px; height: 30px; background: rgba(var(--brand-200-rgb), 0.55); }
.zf-link i { position: absolute; left: 50%; top: 0; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(var(--brand-200-rgb), 0.6); }
.zf-aibox { padding: 16px 16px 14px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 18px; background: rgba(var(--brand-700-rgb), 0.6); }
.zf-ai-h { font: 600 0.95rem var(--body); color: #fff; }
.zf-aibox .models { gap: 6px; margin-top: 10px; }
.zf-aibox .model-row { display: grid; gap: 1px; padding: 7px 11px; border-radius: 9px; font-size: 0.9rem; line-height: 1.3; }
.zf-aibox .model-row .tag { font-size: 0.72rem; color: var(--brand-50); }
.zf-fine { max-width: 60rem; margin: clamp(36px, 5vw, 56px) auto 0; text-align: center; font-size: 0.9rem; color: var(--brand-50); }
@media (prefers-reduced-motion: no-preference) { .zf-link i { animation: zf-link 1.6s ease-in infinite; } }
@keyframes zf-link { 0% { top: -4px; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: calc(100% - 3px); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .zf-orb i { animation: zf-ring 5s ease-out infinite; }
  .zf-orb i:nth-child(2) { animation-delay: 0.6s; }
  .zf-orb i:nth-child(3) { animation-delay: 1.2s; }
  .zf-core { animation: zf-breathe 7s ease-in-out infinite; }
  .zflow.zf-js .zf-node, .zflow.zf-js .zf-core { opacity: 0; transform: translateY(16px); }
  .zflow.zf-js.zf-seen .zf-node { opacity: 1; transform: none; transition: opacity 0.6s, transform 0.6s, border-color 0.5s, background 0.5s, box-shadow 0.5s; transition-delay: calc(var(--i) * 70ms), calc(var(--i) * 70ms), 0s, 0s, 0s; transition-duration: 0.6s, 0.6s, 1.4s, 1.4s, 1.4s; }
  .zflow.zf-js.zf-seen .zf-outs .zf-node { transition-delay: calc(var(--i) * 70ms + 450ms), calc(var(--i) * 70ms + 450ms), 0s, 0s, 0s; }
  .zflow.zf-js.zf-seen .zf-core { opacity: 1; transform: none; transition: opacity 0.7s 0.25s, transform 0.7s 0.25s, box-shadow 0.6s; }
  .zflow.zf-js .zf-link, .zflow.zf-js .zf-aibox { opacity: 0; transition: opacity 0.6s 0.7s; }
  .zflow.zf-js.zf-seen .zf-link, .zflow.zf-js.zf-seen .zf-aibox { opacity: 1; }
  .zflow.zf-js .zf-lines { opacity: 0; transition: opacity 0.8s 0.6s; }
  .zflow.zf-js.zf-seen .zf-lines { opacity: 1; }
}
@keyframes zf-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes zf-ring { 0% { transform: scale(0.85); opacity: 0.9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes zf-breathe { 0%, 100% { scale: 1; } 50% { scale: 1.006; } }
@media (prefers-reduced-motion: reduce) { .zf-lines .zf-dash { animation: none; } }
@media (max-width: 899px) {
  .zflow { grid-template-columns: minmax(0, 1fr); gap: 56px; max-width: 560px; margin-inline: auto; }
  .zf-col ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .zf-node { min-height: 0; padding: 8px 10px 8px 7px; gap: 9px; font-size: 0.84rem; }
  .zf-ic { width: 28px; height: 28px; border-radius: 8px; }
  .zf-ic svg { width: 16px; height: 16px; }
  .zf-hd { justify-content: center; min-height: 0; text-align: left; }
  .zf-hd.a::after { display: none; }
  /* Stacked: a short live connector between inputs, core and outputs. */
  .zf-ins::after, .zf-center::after { content: ""; position: absolute; left: 50%; bottom: -46px; width: 2px; height: 36px; margin-left: -1px; border-radius: 2px; background: repeating-linear-gradient(to bottom, #fff 0 4px, transparent 4px 12px); opacity: 0.75; }
}
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
  .zf-ins::after, .zf-center::after { animation: zf-drop 0.8s linear infinite; background-size: 2px 12px; }
}
@keyframes zf-drop { to { background-position: 0 12px; } }
@media (max-width: 420px) {
  .zf-node { font-size: 0.8rem; }
  .zf-core { padding: 24px 20px 20px; }
}
.models { display: grid; gap: 8px; margin-top: 26px; }
.model-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.model-row.on { background: rgba(var(--brand-ink-rgb), 0.45); border-color: #fff; color: var(--text); }
.fine { margin-top: 16px; font-size: 0.92rem; color: var(--muted); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cell { position: relative; grid-column: span 2; min-height: 230px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--glass); overflow: hidden; }
.cell.wide { grid-column: span 3; }
.cell::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.25s; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--brand-200-rgb), 0.22), transparent 70%); }
.cell:hover::before { opacity: 1; }
.cell p { margin-top: 8px; color: var(--muted); font-size: 0.97rem; }
.morph { position: relative; margin-top: 16px; height: 118px; font: 400 0.86rem/1.5 var(--mono); }
.morph > div { position: absolute; inset: 0; padding: 12px; background: var(--brand-ink); border-radius: 8px; border: 1px solid var(--line); overflow: hidden; }
.morph-fmt { font-family: var(--body); opacity: 0; visibility: hidden; }
.morph-fmt strong { display: block; font: 400 1.3rem var(--display); }
html:not(.anim) .morph-fmt { display: none; }
.diff { margin-top: 16px; font: 400 0.86rem/1.6 var(--mono); }
.diff div { padding: 2px 8px; border-radius: 4px; }
.diff .old { background: rgba(255, 69, 58, 0.14); color: #ffb0ab; }
.diff .new { background: rgba(76, 217, 100, 0.13); color: #b3f2bd; }
.file-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.file-chips span { padding: 3px 10px; border: 1px solid var(--line); border-radius: 7px; font: 500 0.8rem var(--mono); color: var(--muted); }

/* Pricing and download */
.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.price { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--glass); }
.price .amt { display: block; margin-top: 8px; font: 400 2.8rem var(--display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.price p { margin-top: 6px; font-size: 0.94rem; color: var(--muted); }
.price.hl { border-color: #fff; }
.bill { position: relative; display: inline-flex; gap: 4px; margin: 0 0 22px; padding: 4px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; background: rgba(var(--brand-700-rgb), 0.5); }
.bill button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--brand-50); font: 600 0.95rem var(--body); cursor: pointer; transition: background 0.25s, color 0.25s; }
.bill button.on { background: #fff; color: var(--brand-700); }
.bill .save { padding: 2px 8px; border-radius: 999px; background: rgba(var(--brand-200-rgb), 0.25); color: inherit; font-size: 0.75rem; }
.bill button.on .save { background: var(--brand-100); }
.prices.prices-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price .per { display: block; margin-top: 2px; font-size: 0.85rem; color: var(--brand-100); }
.prices[data-bill="monthly"] .py, .prices[data-bill="yearly"] .pm { display: none; }
.dl { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.form-note { min-height: 1.5em; margin-top: 12px; font-size: 0.94rem; font-weight: 500; }
.register { display: grid; gap: 14px; max-width: 420px; margin-top: 22px; }
.register label { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 600; }
.register input,
.register select {
  font: inherit;
  color: inherit;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.register .btn { width: fit-content; }
.register-done { margin-top: 18px; max-width: 42rem; font-size: 1.05rem; }

.foot { position: relative; z-index: 3; padding: 40px 0 48px; border-top: 1px solid var(--line); font-size: 0.93rem; color: var(--muted); }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.foot-note { flex-basis: 100%; font-size: 0.82rem; }

/* Rewind: the page plays like a recording. Scroll fills the waveform; the button rewinds it. */
.rewind { position: fixed; z-index: 29; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 18px; background: rgba(var(--brand-700-rgb), 0.92); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 18px 44px rgba(var(--brand-ink-rgb), 0.5); transform: translateY(calc((1 - var(--rw, 0)) * 90px)) scale(calc(0.9 + var(--rw, 0) * 0.1)); opacity: var(--rw, 0); pointer-events: none; transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.3s; }
.rewind.on { --rw: 1; pointer-events: auto; }
.rw-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 12px; background: var(--peach); color: var(--brand-700); cursor: pointer; transition: background 0.15s, transform 0.2s; }
.rw-btn svg { fill: currentColor; transition: transform 0.25s; }
.rw-btn:hover { background: #fff; }
.rw-btn:hover svg { transform: translateX(-3px); }
.rw-wave { display: flex; align-items: center; gap: 3px; width: 128px; height: 34px; cursor: pointer; }
.rw-wave i { flex: 1 1 0; min-width: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.28); transform-origin: center; transition: background 0.15s; }
.rw-wave i.on { background: var(--peach); }
.rw-time { min-width: 42px; font: 500 0.78rem var(--mono); font-variant-numeric: tabular-nums; color: var(--muted); }
.rewind.rewinding .rw-wave i { animation: rw-bar 0.42s ease-in-out infinite alternate; }
.rewind.rewinding .rw-btn svg { animation: rw-nudge 0.32s ease-in-out infinite alternate; }
@keyframes rw-bar { to { transform: scaleY(0.35); } }
@keyframes rw-nudge { to { transform: translateX(-4px); } }
@media (max-width: 600px) {
  .all-g li { white-space: normal; }
  .all-g ul { font-size: 1rem; }
  .feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; }
  .feat-ind { display: none; }
  .feat-b { text-align: left; font-size: 1.35rem; }
  .feat-ds { min-height: 4.6em; }
  .rewind { right: 12px; bottom: 12px; gap: 8px; padding: 6px 12px 6px 6px; }
  .rw-btn { width: 36px; height: 36px; }
  .rw-wave { width: 74px; height: 28px; }
  .rw-time { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rewind.rewinding .rw-wave i, .rewind.rewinding .rw-btn svg { animation: none; } .rewind { transition: opacity 0.15s; } }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.prose { max-width: 42rem; padding-block: 120px 80px; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.prose h2 { font-size: 1.3rem; margin-top: 32px; }
.prose p, .prose ul { margin-top: 12px; color: var(--muted); }
.badge { display: inline-block; margin-bottom: 16px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 6px; font: 600 0.8rem var(--mono); }

@media (max-width: 1100px) {
  .nav nav { gap: 18px; }
}
@media (max-width: 899px) {
  .nav nav > a:not(.btn) { display: none; }
  .menu { display: block; }
  .nav nav { gap: 10px; }
}
@media (max-width: 959px) {
  .hero { height: auto; min-height: 100svh; padding-bottom: 32px; }
  .chapter, .coach, .private-grid, .search-grid, .hero-lower, .zoe-grid { grid-template-columns: minmax(0, 1fr); }
  .all-g { grid-template-columns: minmax(0, 1fr); }
  .hub { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hub-lines { display: none; }
  .sources { display: flex; flex-wrap: wrap; gap: 8px; }
  .src { padding: 7px 12px; font-size: 0.93rem; }
  .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell, .cell.wide { grid-column: span 3; }
}
@media (max-width: 600px) {
  .brand { gap: 8px; }
  .brand .bi { width: 34px; height: 17px; }
  .brand .wm { height: 14px; }
  body { font-size: 16px; }
  .ticks, .prices, .prices.prices-3, .split-note { grid-template-columns: minmax(0, 1fr); }
  .tl { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 30px; gap: 22px; }
  .tl-line { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .tl-line i { width: 100%; height: 100%; transform-origin: top; }
  .tl-node b { left: -30px; top: 2px; }
  .pad { border-left: 0; border-top: 1px solid var(--line); }
  .cell, .cell.wide { grid-column: 1 / -1; min-height: 0; }
  .flow-note { display: block; }
  .flow .dim, .flow .msub, .flow .mline, .flow .mck, .flow .mpill { display: none; }
  .flow text { font-size: 21px; }
  .flow .mh { font-size: 40px; transform: translateY(90px); }
  .flow { max-width: 460px; margin-inline: auto; }
  .dict-tabs .tag { display: none; }
  .dict-pill { flex-wrap: wrap; }
  .dict-pill .bars { flex-basis: 100%; }
  .coach-card { padding: 20px; }
  .frame-body { padding: 14px; }
  .cap { grid-template-columns: 58px minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .nav nav > a.btn { display: none; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero-app { display: none; }
  .hero-copy { padding-top: 76px; }
  .hero h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
  .hero-after { top: auto; bottom: 8vh; }
}
@media (min-width: 1600px) {
  :root { --wrap: 1360px; }
  body { font-size: 18px; }
  .hero h1 { font-size: 4.1rem; }
  .hero-sub { font-size: 1.55rem; }
}
@media (prefers-reduced-motion: reduce) { #ribbon { display: none; } .hero-after, .hero-stage { display: none; } }
