/* PeakFlow homepage v2 (index.html only). Other pages keep styles.css. */
:root {
  --ink: #0f1115;
  --ink-2: #2b3038;
  --muted: #5d636d;
  --faint: #8a9099;
  --line: #e7e8eb;
  --line-2: #f0f1f3;
  --bg: #ffffff;
  --soft: #f6f7f9;
  --yellow: #ffe17c;
  --yellow-2: #ffd43b;
  --yellow-ink: #6b5300;
  --dark: #0b0c0f;
  --app: #0a0a0a;
  --app-2: #141414;
  --app-3: #1c1c1c;
  --app-line: #262626;

  --fd: #7b6cf6; --fd-ink: #4d3fd0; --fd-soft: #efedff;
  --ss: #ff5a5f; --ss-ink: #c4262c; --ss-soft: #fff0ef;
  --qb: #3b9cff; --qb-ink: #1767c9; --qb-soft: #e8f3ff;
  --mr: #22c272; --mr-ink: #11804a; --mr-soft: #e6f8ee;
  --lf: #ff7a3d; --lf-ink: #c24c12; --lf-soft: #fff0e6;
  --sp: #14b8a6; --sp-ink: #0b7d71; --sp-soft: #e3f7f4;

  /* Same fonts as iter0: Geist for text, Fraunces for headings, Geist Mono for keys. */
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Fraunces', Georgia, serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --pixel: 'Silkscreen', 'Courier New', monospace;
  --appfont: 'Be Vietnam Pro', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
h1, h2 { font-family: var(--display); font-variation-settings: "opsz" 72, "SOFT" 35, "WONK" 0; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 11px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 16px rgba(15,17,21,.18); }
.btn-dark:hover { background: #262a31; }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 6px 18px rgba(170,130,0,.22); }
.btn-yellow:hover { background: var(--yellow-2); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: 0 1px 2px rgba(15,17,21,.05); }
.btn-light:hover { border-color: #d3d5da; background: #fbfbfc; }
.btn-ghost-dark { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.14); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.14); }
.btn-sm { height: 34px; padding: 0 13px; font-size: 14px; border-radius: 9px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 13px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; }
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header (iter0-style menu) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: 56px;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(15,17,21,.07);
}
.site-header .bar { position: relative; height: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; height: 44px; padding: 0 6px; }
.brand img { height: 24px; width: auto; }
.nav { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px; border-radius: 8px;
  background: none; border: 0; cursor: pointer; text-decoration: none;
  font-size: 14px; font-weight: 500; color: #4b5058; transition: color .15s, background-color .15s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--ink); }
.nav-link svg { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 0; background: none; cursor: pointer; color: #3e434b; }
.icon-btn::before { content: ""; position: absolute; inset: -4px; }
.icon-btn:hover { background: rgba(15,17,21,.05); color: var(--ink); }
.icon-btn svg { width: 17px; height: 17px; }
.kbd { font: 500 11px/1 var(--mono); border: 1px solid var(--line); border-radius: 5px; padding: 4px 6px; color: var(--faint); background: #fff; }
.menu-btn { display: none; }

/* Mega menu */
.mega {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, 6px); opacity: 0; visibility: hidden;
  display: grid; grid-template-columns: 268px 330px; gap: 8px; padding: 8px;
  background: #fff; border: 1px solid rgba(15,17,21,.09); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15,17,21,.14), 0 2px 6px rgba(15,17,21,.05);
  transition: opacity .18s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.mega.narrow { grid-template-columns: 300px; }
.mega.open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .18s var(--ease), transform .25s var(--ease), visibility 0s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.mega-list { position: relative; list-style: none; margin: 0; padding: 4px; }
.mega-hl { position: absolute; left: 4px; right: 4px; top: 0; height: 0; border-radius: 10px; background: rgba(15,17,21,.045); transition: transform .22s var(--ease), height .22s var(--ease); pointer-events: none; }
.mega-item { position: relative; display: flex; gap: 11px; align-items: flex-start; padding: 9px 11px; border-radius: 10px; text-decoration: none; }
.mega-item b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.mega-item span { display: block; margin-top: 1px; font-size: 12px; line-height: 16px; color: #6b7079; }
.mega-ico { width: 30px; height: 30px; flex: none; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.mega-ico svg { width: 16px; height: 16px; }
.mega-preview { display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: var(--soft); }
.mega-shot { position: relative; height: 196px; overflow: hidden; background: #17181b; }
.mega-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; animation: swap .35s var(--ease); }
@keyframes swap { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }
.mega-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 12px 14px 10px; }
.mega-meta b { display: block; font-size: 14px; font-weight: 600; }
.mega-meta p { margin: 2px 0 0; font-size: 12px; line-height: 16px; color: #6b7079; }
.mega-meta .open { font-size: 13px; font-weight: 600; white-space: nowrap; }
.mega-checks { list-style: none; margin: 0; padding: 10px 14px 13px; border-top: 1px solid rgba(15,17,21,.06); display: grid; gap: 6px; }
.mega-checks li { display: flex; gap: 8px; font-size: 12px; line-height: 16px; color: #3f444c; }
.mega-checks svg { width: 12px; height: 12px; margin-top: 2px; flex: none; }

/* Phone sheet */
.sheet {
  position: fixed; left: 0; right: 0; top: 56px; bottom: 0; z-index: 59; overflow-y: auto; overscroll-behavior: contain;
  background: #fff; padding: 8px 20px calc(24px + env(safe-area-inset-bottom));
  display: none; flex-direction: column;
}
.sheet.open { display: flex; animation: sheetIn .3s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.sheet-row { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--line-2); background: none; font-size: 18px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; text-align: left; cursor: pointer; }
.sheet-row svg { width: 16px; height: 16px; color: #a1a1a6; transition: transform .3s var(--ease); }
.sheet-row[aria-expanded="true"] svg { transform: rotate(180deg); }
.sheet-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.sheet-sub.open { grid-template-rows: 1fr; }
.sheet-sub > ul { min-height: 0; overflow: hidden; list-style: none; margin: 0; padding: 0; }
.sheet-sub a { display: flex; gap: 12px; align-items: center; padding: 10px 6px; border-radius: 12px; text-decoration: none; }
.sheet-sub a b { display: block; font-size: 16px; font-weight: 600; }
.sheet-sub a span { display: block; font-size: 13px; color: #6b7079; }
.sheet-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
.sheet-foot .legal { display: flex; justify-content: center; gap: 14px; font-size: 12px; color: #6b7079; }
.sheet-foot .legal a { text-decoration: none; }

/* Search palette */
.palette { position: fixed; inset: 0; z-index: 100; display: none; }
.palette.open { display: block; }
.palette-scrim { position: absolute; inset: 0; background: rgba(17,17,17,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.palette-box {
  position: absolute; left: 50%; top: 14vh; transform: translateX(-50%); width: min(600px, calc(100vw - 24px));
  max-height: 70vh; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid rgba(15,17,21,.1); border-radius: 16px; box-shadow: 0 30px 80px rgba(15,17,21,.25);
  animation: palIn .25s var(--ease);
}
@keyframes palIn { from { opacity: 0; transform: translate(-50%, 8px) scale(.98); } }
.palette-head { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.palette-head svg { width: 18px; height: 18px; color: var(--faint); flex: none; }
.palette-head input { flex: 1; height: 100%; border: 0; outline: 0; font: 400 15px var(--font); background: none; }
.palette-list { overflow-y: auto; padding: 6px; }
.palette-group { padding: 10px 10px 4px; font-size: 12px; font-weight: 500; color: var(--faint); }
.palette-item { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 10px; text-decoration: none; font-size: 14px; }
.palette-item b { font-weight: 500; white-space: nowrap; }
.palette-item span { margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--faint); }
.palette-item.active { background: rgba(15,17,21,.05); }
.palette-empty { padding: 28px; text-align: center; color: var(--faint); font-size: 14px; }
.palette-foot { display: flex; gap: 14px; padding: 10px 16px; border-top: 1px solid var(--line); font: 500 11.5px ui-monospace, Menlo, monospace; color: var(--faint); }

/* ---------- Reveal (content is visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 0; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 900px; z-index: -1;
  background:
    radial-gradient(40% 50% at 50% 40%, rgba(255,225,124,.38), transparent 70%),
    radial-gradient(30% 40% at 20% 30%, rgba(123,108,246,.10), transparent 70%),
    radial-gradient(30% 40% at 80% 30%, rgba(59,156,255,.10), transparent 70%);
}
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 6px 0 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; text-decoration: none; box-shadow: 0 6px 18px rgba(15,17,21,.16); }
.pill .tag { height: 22px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center; background: rgba(255,255,255,.12); font-size: 12px; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255,225,124,.18); }
.hero h1 { max-width: 1000px; margin: 0 auto; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.04; font-weight: 600; letter-spacing: -.01em; }
.hero h1 .mark { position: relative; white-space: nowrap; z-index: 0; }
.hero h1 .pencil { position: absolute; left: -2%; width: 104%; bottom: -.16em; height: .36em; z-index: -1; overflow: visible; pointer-events: none; }
.hero h1 .pencil path { fill: none; stroke: #f5c518; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hero h1 .pencil .p1 { stroke-width: 9px; opacity: .95; }
.hero h1 .pencil .p2 { stroke-width: 6px; opacity: .7; }
/* Reveal left to right with a clip, not dash offsets: dashes misbehave with non-scaling strokes and stopped short. */
.js .hero h1 .pencil { clip-path: inset(-60% 100% -60% -4%); animation: pencilIn 1.1s cubic-bezier(.6,0,.3,1) .45s forwards; }
@keyframes pencilIn { to { clip-path: inset(-60% -4% -60% -4%); } }
@media (prefers-reduced-motion: reduce) { .js .hero h1 .pencil { animation: none; clip-path: none; } }
@media (max-width: 760px) { .hero h1 .pencil .p1 { stroke-width: 6px; } .hero h1 .pencil .p2 { stroke-width: 4px; } }
.hero .lede { max-width: 680px; margin: 22px auto 0; font-size: 17px; line-height: 1.55; color: var(--muted); letter-spacing: -.01em; }
.hero-cta { display: flex; justify-content: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--faint); }
.hero-note .tour-link { display: inline-flex; align-items: center; gap: 5px; margin-left: 14px; color: var(--ink); font-weight: 600; text-decoration: none; }
.hero-note .tour-link svg { width: 11px; height: 11px; }
.hero-note > span + span::before { content: "·"; margin: 0 8px; color: #c7c9ce; }

/* Hero video wrapper */
.stage-wrap { position: relative; max-width: 1120px; margin: 56px auto 0; padding: 0 24px; }

/* Facts strip */
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 44px 24px 8px; color: var(--muted); font-size: 14px; font-weight: 500; }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 16px; height: 16px; color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: -.005em; }
.eyebrow .mega-ico { width: 26px; height: 26px; border-radius: 7px; }
.eyebrow .mega-ico svg { width: 14px; height: 14px; }
h2.h2 { margin: 14px 0 0; font-size: clamp(32px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -.01em; font-weight: 600; }
.sub { margin: 16px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); letter-spacing: -.01em; }
.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.split.flip { grid-template-columns: 1.1fr .9fr; }
.split.flip .copy { order: 2; }
.split > * { min-width: 0; }
.copy { max-width: 470px; }
.copy .link-arrow { margin-top: 28px; }
.media { position: relative; border-radius: 28px; overflow: hidden; isolation: isolate; aspect-ratio: 1.22; display: flex; align-items: center; justify-content: center; padding: 6%; }
.media .shot { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(15,17,21,.08), 0 28px 56px -18px rgba(20,16,60,.5); }
.media .shot.panel { width: 64%; border-radius: 16px; }
.media.fd { background: linear-gradient(155deg, #f2f0ff 0%, #c9c1ff 55%, #8f80f7 100%); }
.media.ss { background: linear-gradient(155deg, #fff2ef 0%, #ffc1bd 55%, #ff7a7e 100%); }
.media.lf { background: linear-gradient(155deg, #fff4ec 0%, #ffd0ae 55%, #ff9a5c 100%); }
.btn[aria-disabled="true"] { opacity: .45; cursor: default; pointer-events: none; }

/* QuickBoard dark showcase */
.dark { background: var(--dark); color: #fff; border-radius: 36px; margin: 0 16px; padding: 110px 0; overflow: hidden; position: relative; isolation: isolate; }
.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 85% 40%, rgba(59,156,255,.22), transparent 70%), radial-gradient(40% 50% at 10% 100%, rgba(255,225,124,.10), transparent 70%); }
.dark .sub { color: #a4a8b0; }
.dark .checks li { color: #d8dadf; }
.qb-wrap { position: relative; display: flex; justify-content: center; }
.qb-wrap .shot { width: min(420px, 100%); height: auto; border-radius: 20px; box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); }
.qb-float { position: absolute; z-index: 2; border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.35); background: rgba(28,30,36,.82) !important; padding: 12px 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); font-size: 13px; color: #c9ccd2; display: flex; align-items: center; gap: 10px; }
.qb-float b { color: #fff; font-weight: 600; }
.qb-float.a { left: -9%; bottom: 26%; animation: bob 6s ease-in-out infinite; }
.qb-float.b { right: -9%; top: 9%; animation: bob 7s ease-in-out -2s infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Bento */
.bento-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card { position: relative; overflow: hidden; border-radius: 26px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; isolation: isolate; }
.card .txt { padding: 28px 28px 0; }
.card h3 { margin: 12px 0 0; font-size: 23px; line-height: 1.18; letter-spacing: -.03em; font-weight: 700; }
.card p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.card .link-arrow { margin-top: 14px; font-size: 14px; }
.card .viz { position: relative; flex: 1; min-height: 300px; margin-top: 24px; display: flex; align-items: flex-end; justify-content: center; container-type: inline-size; }
.card.sp { grid-column: span 6; flex-direction: row; background: linear-gradient(120deg, #fff 30%, var(--sp-soft)); }
.card.sp .txt { width: 40%; padding: 40px; align-self: center; }
.card.sp .viz { margin: 0; padding: 32px 40px 0 0; align-items: flex-end; }
.card.mr { grid-column: span 3; background: linear-gradient(180deg, #fff 40%, var(--mr-soft)); }
.card.lf { grid-column: span 3; background: linear-gradient(180deg, #fff 40%, var(--lf-soft)); }
.app-win { width: 88%; max-width: 440px; border-radius: 20px 20px 0 0; background: var(--app); border: 1px solid #222; border-bottom: 0; box-shadow: 0 30px 70px rgba(15,17,21,.28); padding: 18px 20px 22px; color: #fff; font-family: var(--appfont); }
.app-win .ttl { display: flex; align-items: center; justify-content: space-between; font: 400 13px var(--pixel); letter-spacing: .26em; color: #c9c9c9; }
.app-win .ttl .x { display: flex; gap: 14px; color: #666; font-family: var(--appfont); letter-spacing: 0; }
.lbl { font: 600 11px var(--appfont); letter-spacing: .2em; color: #4d4d4d; text-transform: uppercase; }
/* SoundSplit */
.sp-win { max-width: 560px; width: 100%; }
.sp-row { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: #121212; }
.sp-row .av { width: 38px; height: 38px; flex: none; border-radius: 10px; background: #1d1d1d; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 15px; }
.sp-row .nm { width: 108px; flex: none; font-weight: 600; font-size: 15px; }
.sp-row .track { position: relative; flex: 1; height: 5px; border-radius: 4px; background: #262626; }
.sp-row .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: #fff; width: var(--v, 50%); transition: width 1.1s var(--ease); }
.sp-row .fill::after { content: ""; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.sp-row .pct { width: 42px; text-align: right; font-size: 14px; color: #8a8a8a; font-variant-numeric: tabular-nums; }
.sp-row .vu { display: flex; gap: 2px; align-items: flex-end; height: 18px; width: 30px; }
.sp-row .vu i { flex: 1; border-radius: 1px; background: var(--sp); height: 20%; transition: height .12s linear; }
.sp-row.muted .fill, .sp-row.muted .fill::after { background: #555; }
.sp-row.muted .vu i { background: #333; height: 10% !important; }
.sp-row .mute { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #8fd0ff; }
.sp-row.muted .mute { color: var(--ss); }
.sp-row .mute svg { width: 18px; height: 18px; }
/* MeetReady */
.mr-cam { position: relative; height: 170px; margin-top: 14px; border-radius: 14px; overflow: hidden; background: #2b2f2a; }
.mr-cam .blob { position: absolute; border-radius: 50%; filter: blur(22px); }
.mr-cam .b1 { width: 46%; height: 70%; left: 30%; top: 22%; background: #d9c6d6; animation: drift 6s ease-in-out infinite; }
.mr-cam .b2 { width: 40%; height: 90%; left: -6%; top: 0; background: #c9d2c4; opacity: .7; }
.mr-cam .b3 { width: 30%; height: 80%; right: -4%; top: 6%; background: #8f9a7f; opacity: .7; }
.mr-cam .rec { position: absolute; left: 12px; top: 10px; display: flex; align-items: center; gap: 6px; font-size: 11px; color: #fff; background: rgba(0,0,0,.4); padding: 4px 8px; border-radius: 99px; }
.mr-cam .rec i { width: 6px; height: 6px; border-radius: 50%; background: #4ae08a; }
@keyframes drift { 50% { transform: translate(4%, -3%) scale(1.03); } }
.mr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.mr-grid div { padding: 12px 14px; border-radius: 14px; background: #121212; }
.mr-grid b { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 15px; font-weight: 600; }
.mr-grid b i { width: 8px; height: 8px; border-radius: 50%; background: #4ae08a; }
.mr-meter { margin-top: 10px; height: 6px; border-radius: 4px; background: #222; overflow: hidden; }
.mr-meter i { display: block; height: 100%; width: 20%; border-radius: 4px; background: #4ae08a; transition: width .12s linear; }
.mr-ok { margin-top: 12px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; background: #12261b; color: #4ae08a; font-weight: 700; letter-spacing: .04em; font-size: 15px; transition: opacity .4s, transform .4s var(--ease); }
.mr-ok.wait { opacity: .35; transform: scale(.98); }
/* Everyday grid */
.every-head { max-width: 640px; }
.every { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; margin-top: 52px; }
.every .it svg { width: 22px; height: 22px; }
.every .it b { display: block; margin-top: 14px; font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.every .it p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* Review */
.review-wrap { padding: 0 24px 96px; }
.review { max-width: 640px; margin: 0 auto; padding: 34px 36px; border: 1px solid var(--line); border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 18px 50px rgba(15,17,21,.06); }
.review .stars { color: #f5b400; font-size: 18px; letter-spacing: .18em; }
.review blockquote { margin: 14px 0 0; font-size: 20px; line-height: 1.5; font-weight: 500; letter-spacing: -.015em; }
.review figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.review figcaption b { color: var(--ink); font-weight: 600; }
/* Pricing */
.pricing { background: var(--soft); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.price-head { text-align: center; max-width: 640px; margin: 0 auto; }
.toggle { display: inline-flex; gap: 4px; padding: 4px; margin-top: 26px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.toggle button { height: 34px; padding: 0 14px; border: 0; border-radius: 9px; background: none; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.toggle .save { font-size: 11px; padding: 2px 6px; border-radius: 6px; background: var(--yellow); color: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.plan.best { border-color: #ead27a; box-shadow: 0 0 0 1px #ead27a, 0 24px 60px rgba(150,115,0,.14); position: relative; }
.plan.best .badge { position: absolute; top: -12px; left: 30px; height: 24px; padding: 0 10px; border-radius: 99px; background: var(--yellow); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; }
.plan .nm { font-size: 15px; font-weight: 600; }
.plan .pr { margin-top: 16px; display: flex; align-items: baseline; gap: 6px; }
.plan .pr b { font-size: 46px; line-height: 1; font-weight: 700; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.plan .pr span { font-size: 15px; color: var(--muted); }
.plan .bill { min-height: 22px; margin-top: 8px; font-size: 14px; color: var(--muted); }
.plan .quip { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #fff8dc; color: var(--yellow-ink); font-size: 13.5px; font-weight: 600; }
.plan .checks { margin: 22px 0 26px; gap: 10px; }
.plan .checks li { font-size: 14.5px; }
.plan .cta { margin-top: auto; display: grid; gap: 8px; }
.plan .cta .btn { width: 100%; }
.price-note { margin-top: 26px; text-align: center; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 68px; cursor: pointer; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; color: var(--faint); transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .ans { padding: 0 40px 22px 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* Final CTA */
.final { margin: 0 16px; border-radius: 36px; background: var(--dark); color: #fff; text-align: center; padding: 110px 24px; position: relative; overflow: hidden; isolation: isolate; }
.final::before { content: ""; position: absolute; left: 50%; top: -40%; width: 900px; height: 700px; transform: translateX(-50%); z-index: -1; background: radial-gradient(closest-side, rgba(255,225,124,.28), transparent); }
.final h2 { margin: 0 auto; max-width: 760px; font-size: clamp(36px, 5vw, 60px); line-height: 1.06; letter-spacing: -.01em; font-weight: 600; }
.final p { margin: 18px auto 0; max-width: 520px; color: #a9adb5; font-size: 18px; }
.final .hero-cta { margin-top: 32px; }
.final .tiny { margin-top: 18px; font-size: 13.5px; color: #80848c; }
.final .tiny a { color: #d7d9de; }
.tool-row { display: flex; justify-content: center; gap: 12px; margin-bottom: 30px; }
.tool-row .mega-ico { width: 46px; height: 46px; border-radius: 13px; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.tool-row .mega-ico svg { width: 22px; height: 22px; }
.js .tool-row .mega-ico { animation: rise .8s var(--ease) both; }

/* Footer */
.footer { padding: 72px 0 36px; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot-brand img { height: 24px; width: auto; }
.foot-brand p { margin: 14px 0 0; max-width: 280px; font-size: 14px; color: var(--muted); }
.foot-col h4 { margin: 4px 0 14px; font-size: 13px; font-weight: 600; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-col a { font-size: 14px; color: var(--muted); text-decoration: none; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.foot-bottom a { color: var(--muted); text-decoration: none; }
.foot-bottom .langs { display: flex; gap: 12px; }

/* Tool colours */
.c-fd { background: var(--fd); } .c-ss { background: var(--ss); } .c-qb { background: var(--qb); }
.c-mr { background: var(--mr); } .c-lf { background: var(--lf); } .c-sp { background: var(--sp); }
.t-fd { color: var(--fd-ink); } .t-ss { color: var(--ss-ink); } .t-qb { color: var(--qb-ink); }
.t-mr { color: var(--mr-ink); } .t-lf { color: var(--lf-ink); } .t-sp { color: var(--sp-ink); }
.dark .t-qb { color: #7cc0ff; }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.9); } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .split, .split.flip { grid-template-columns: 1fr; gap: 44px; }
  .split.flip .copy { order: 0; }
  .copy { max-width: 620px; }
  .card.sp { flex-direction: column; }
  .card.sp .txt { width: auto; padding: 28px 28px 0; }
  .card.sp .viz { padding: 24px 24px 0; }
  .every { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav, .actions .kbd, .actions .hide-sm { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: clamp(32px, 11vw, 40px); }
  .hero .lede { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-note { font-size: 13px; }
  .stage-wrap { margin-top: 40px; padding: 0 12px; }
  .pill .tag { display: none; }
  .facts { gap: 10px 20px; font-size: 13px; padding-top: 32px; }
  .section { padding: 80px 0; }
  .sub { font-size: 16.5px; }
  .media { border-radius: 22px; aspect-ratio: auto; padding: 8% 6%; }
  .media .shot.panel { width: 76%; }
  .dark, .final { margin: 0 8px; border-radius: 26px; padding: 76px 0; }
  .final { padding: 76px 20px; }
  .qb-float { display: none; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .card.sp, .card.mr, .card.lf { grid-column: auto; }
  .card .txt, .card.sp .txt { padding: 24px 22px 0; }
  .card h3 { font-size: 22px; }
  .card.sp .viz { padding: 20px 16px 0; }
  .sp-row { gap: 10px; padding: 12px; }
  .sp-row .nm { width: 70px; font-size: 13.5px; }
  .sp-row .vu, .sp-row .pct { display: none; }
  .every { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .plan { padding: 24px; }
  .faq summary { font-size: 16px; }
  .faq .ans { padding-right: 8px; }
  .foot-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Hero video: real footage on white, blends into the page */
.hero-video { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; background: var(--bg); }
@media (max-width: 760px) { .hero-video { aspect-ratio: 4 / 5; max-width: 480px; margin: 0 auto; } }

/* Platform variants (platform.js): a hidden variant stays hidden even where a rule sets display. */
[hidden] { display: none !important; }
