/* Finalist AI — Apple-style: system type, black ink on pure white, Apple greys for secondary text and
   hairlines, one accent: a soft yellow highlighter on key words (<mark>). Liquid Glass on floating
   surfaces. Pages and sections are always pure white — cards are separated by hairlines and soft shadows. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --card: #ffffff;
  --hover: #f5f5f7;         /* hover/pressed fills only — never a section background */
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --rule: #d2d2d7;
  --line: rgba(0,0,0,.08);
  --border: var(--line);
  --hl: #ffe99a;
  --hl-ink: #1d1d1f;
  --focus: #1d1d1f;
  --red: #ff3b30;
  --live: var(--red);

  /* Material */
  --glass: rgba(255, 255, 255, .72);
  --glass-strong: rgba(255, 255, 255, .84);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, .9);
  --shadow-sm: 0 1px 2px rgba(15, 15, 15, .05);
  --shadow: 0 1px 2px rgba(15, 15, 15, .06), 0 8px 24px rgba(15, 15, 15, .06);
  --shadow-lg: 0 1px 2px rgba(15, 15, 15, .06), 0 10px 30px rgba(15, 15, 15, .07), 0 28px 64px rgba(15, 15, 15, .07);
  --shadow-hover: 0 2px 4px rgba(15, 15, 15, .06), 0 14px 34px rgba(15, 15, 15, .09);

  /* Motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur: 180ms;

  --gutter: clamp(16px, 4vw, 32px);
  --max: 1040px;
  --radius-lg: clamp(20px, 3vw, 28px);
  --radius: 16px;
  --r-xl: clamp(20px, 2.4vw, 24px);

  --fs-body: clamp(16px, 0.35vw + 15px, 18px);
  --fs-small: clamp(13px, 0.2vw + 12.5px, 14px);
  --fs-h1: clamp(40px, 7.2vw, 80px);
  --fs-h2: clamp(30px, 4.6vw, 48px);
  --fs-h3: clamp(19px, 1vw + 15px, 22px);
  --fs-lede: clamp(18px, 1.4vw + 13px, 24px);
  --space-section: clamp(64px, 10vw, 120px);

  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --card: #1d1d1f;
    --hover: #2c2c2e;
    --ink: #f5f5f7;
    --muted: #a1a1a6;
    --rule: #333336;
    --line: rgba(255,255,255,.1);
    --focus: #f5f5f7;
    --glass: rgba(11, 11, 12, .72);
    --glass-strong: rgba(29, 29, 31, .84);
    --glass-hi: inset 0 1px 0 rgba(255, 255, 255, .06);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 8px 24px rgba(0, 0, 0, .4);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 24px 70px rgba(0, 0, 0, .6);
    --shadow-hover: 0 2px 4px rgba(0, 0, 0, .5), 0 14px 34px rgba(0, 0, 0, .5);
    /* Logo on dark: white blades, highlighter leaf, white "Finalist", silver "AI" (design/finalist-brand). */
    --fm-blade: #ffffff;
    --fm-leaf: #ffe99a;
    --fm-overlap-o: .22;
    --fw-ink: #ffffff;
    --fw-ai: #a1a1a6;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--bg); }
body {
  margin: 0;
  font: 400 var(--fs-body)/1.55 var(--font-text);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a {
  color: var(--ink);
  text-underline-offset: 0.2em; text-decoration-thickness: 1px;
  text-decoration-thickness: 1px;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.022em; line-height: 1.08; text-wrap: balance; }
p { text-wrap: pretty; }
mark { background: var(--hl); color: var(--hl-ink); padding: 0 .18em; border-radius: .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
strong { font-weight: 600; }
kbd { font: 500 0.88em var(--font-text); color: var(--ink); border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 6px; padding: 0 .35em; background: var(--card); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--hl); color: #1d1d1f; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 800px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.small { font-size: var(--fs-small); color: var(--muted); }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Brand logo (inline SVG sprite: #fmark symbol, #fmark16 small-size symbol, #flogo lockup;
   outlined from design/finalist-brand/svg — colours switch for dark mode through --fm-* / --fw-*) ---------- */
.mark { display: block; flex: none; width: 21px; height: 26px; }
.lockup { display: block; flex: none; height: 28px; width: auto; aspect-ratio: 784.64 / 210; }
.mark-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Header / nav (Liquid Glass, solid fallback) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--glass-hi);
}
/* The glass lives on a pseudo-element so the header itself is not a backdrop root —
   otherwise the mobile menu's own glass could only blur the header, not the page. */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: transparent; }
  .site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--glass);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
  }
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px;
  color: var(--muted); text-decoration: none; font-size: 14px; border-radius: 10px; white-space: nowrap;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 10px; height: 1.5px; border-radius: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: center; opacity: 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); opacity: 1; }
.nav-links a.nav-cta {
  color: var(--bg); background: var(--ink); border-radius: 980px; padding: 0 16px; margin-left: 8px; font-weight: 500;
  min-height: 36px; box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}
.nav-links a.nav-cta:hover { color: var(--bg); opacity: .86; }
.nav-links a.nav-cta:active { transform: scale(.98); }
/* Keep a 44 px tap target around the slimmer 36 px capsule. */
.nav-links li { display: flex; align-items: center; min-height: 44px; }

/* Mobile menu: a native <details> disclosure — works without JavaScript. */
.nav-menu { display: none; position: relative; }
.nav-menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; color: var(--ink);
  transition: background-color var(--dur) var(--ease);
}
.nav-menu summary:hover { background: var(--hover); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary .bars { width: 18px; height: 12px; position: relative; display: block; }
.nav-menu summary .bars::before, .nav-menu summary .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform var(--dur) var(--ease), top var(--dur) var(--ease); }
.nav-menu summary .bars::before { top: 2px; }
.nav-menu summary .bars::after { top: 9px; }
.nav-menu[open] summary .bars::before { top: 5.5px; transform: rotate(45deg); }
.nav-menu[open] summary .bars::after { top: 5.5px; transform: rotate(-45deg); }
.nav-menu ul {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 2 * var(--gutter)));
  list-style: none; margin: 0; padding: 6px;
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--glass-hi), var(--shadow-lg);
  transform-origin: top right;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav-menu ul {
    background: var(--glass-strong);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
  }
}
@starting-style { .nav-menu[open] ul { opacity: 0; transform: translateY(-6px) scale(.98); } }
.nav-menu li a {
  display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 10px;
  text-decoration: none; color: var(--ink); font-size: 17px;
  transition: background-color var(--dur) var(--ease);
}
.nav-menu li a:hover { background: var(--hover); }
.nav-menu li + li { border-top: 1px solid var(--border); }

@media (max-width: 760px) {
  .nav-links .hide-sm { display: none; }
  .nav-menu { display: block; }
  .nav-links a.nav-cta { margin-left: 0; }
}
@media (max-width: 360px) {
  .logo .lockup { height: 26px; }
  .nav-links a.nav-cta { padding: 0 13px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 980px;
  font: 500 17px/1.2 var(--font-text); text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 4px 14px rgba(0, 0, 0, .08); }
.btn-primary:hover { color: var(--bg); opacity: .86; box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 8px 22px rgba(0, 0, 0, .12); }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--rule); }
.btn-secondary:hover { color: var(--ink); border-color: var(--ink); background: var(--hover); }
.btn-invert { background: var(--bg); color: var(--ink); }
.btn-invert:hover { color: var(--ink); opacity: .9; }
.btn-lg { min-height: 52px; padding: 14px 30px; }
.btn[aria-disabled="true"] { background: var(--card); color: var(--muted); border: 1px dashed var(--rule); box-shadow: none; cursor: not-allowed; opacity: 1; }
.btn[aria-disabled="true"]:hover { background: var(--card); color: var(--muted); box-shadow: none; opacity: 1; }
.btn[aria-disabled="true"]:active { transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: flex-start; }
.btn-group { display: flex; flex-direction: column; align-items: center; }
@media (max-width: 480px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row > .btn, .btn-row > .btn-group > .btn { width: 100%; }
}

/* Inline status note created by site.js next to a clicked download button. */
.status-note {
  margin: 14px auto 0; max-width: 520px; text-align: left;
  font-size: 15px; line-height: 1.5;
  background: var(--card); border: 1px solid var(--rule); border-left: 3px solid var(--ink); box-shadow: var(--shadow-sm);
  padding: 12px 16px; border-radius: 12px; color: var(--ink);
}
.status-note:empty { display: none; }
.status-banner { padding-top: 12px; }
.status-banner .status-note { margin: 0 auto; }

.lede { color: var(--muted); font-size: var(--fs-lede); line-height: 1.38; margin: 0 auto; max-width: 32em; }
.lede strong { color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding-bottom: var(--space-section); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 5vw, 52px); }
.section-head h2 { font-size: var(--fs-h2); margin: 0 0 14px; }
.section-head p { color: var(--muted); font-size: clamp(17px, 0.8vw + 14px, 21px); line-height: 1.45; margin: 0 auto; max-width: 36em; }
.section-head p.kicker { margin: 0 0 12px; font-size: 15px; font-weight: 600; }

/* Shared card surface: white, hairline, soft layered shadow — never a grey fill. */
.bcard, .see, .keys-card, .how li, .fair, .plan, .trial-strip, .box, .req li, .mini-features li, .guarantees li, .built li, .mini-packs li {
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow);
}

/* ---------- Home: hero ---------- */
.hero2 { text-align: center; padding-top: clamp(40px, 8vw, 96px); padding-bottom: clamp(32px, 5vw, 60px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 clamp(18px, 2.4vw, 26px);
  padding: 6px 14px 6px 11px; border: 1px solid var(--border); border-radius: 980px; background: var(--card);
  box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 500; color: var(--muted); line-height: 1.3;
}
.eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hl); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); flex: none; }
.hero2 h1 { font-size: clamp(40px, 7.4vw, 86px); line-height: 1.02; letter-spacing: -0.04em; margin: 0 auto 20px; max-width: 11.5em; }
.hero2 h1 mark { padding: 0 .08em; border-radius: .12em; }
.hero2 .lede { max-width: 31em; }
.hero2 .btn-row { margin-top: clamp(26px, 4vw, 38px); }
.hero2 .meta { margin: 18px auto 0; max-width: 34em; }
.kicker { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: .01em; }

/* ---------- Home: hero demo ---------- */
.hero-stage {
  position: relative; margin: 0; overflow: hidden; isolation: isolate;
  border-radius: 20px; border: 1px solid var(--border);
  background: var(--card); box-shadow: var(--shadow);
  padding: clamp(12px, 4vw, 48px) clamp(12px, 4vw, 48px) clamp(16px, 3vw, 32px);
}
.stage-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 32px); align-items: center; }

/* The video call illustrates a third-party call app, so it keeps its dark look. */
.call { align-self: stretch; display: flex; flex-direction: column; background: #1c1c1e; color: #f5f5f7; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.call-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 12px; color: #a1a1a6; }
.call-rec { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.call-time { margin-left: auto; font-variant-numeric: tabular-nums; }
.call-main { position: relative; flex: 1; min-height: 240px; margin: 0 10px; border-radius: 12px; background: linear-gradient(160deg, #2c2c2e, #222224); display: grid; place-items: center; }
.tile-them { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.avatar { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #3a3a3c; font: 600 26px/1 var(--font-display); color: #f5f5f7; }
.avatar.small { width: auto; height: auto; background: none; font-size: 12px; color: #c7c7cc; }
.tile-name { font-size: 13px; color: #d1d1d6; }
.speaking { display: flex; gap: 3px; align-items: flex-end; height: 14px; }
.speaking i { width: 3px; height: 100%; border-radius: 2px; background: #f5f5f7; transform-origin: bottom; animation: talk 1s ease-in-out infinite; }
.speaking i:nth-child(2) { animation-delay: .2s; }
.speaking i:nth-child(3) { animation-delay: .4s; }
@keyframes talk { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.tile-you { position: absolute; right: 12px; bottom: 12px; width: 28%; aspect-ratio: 4 / 3; border-radius: 10px; background: #3a3a3c; border: 1px solid rgba(255,255,255,.08); display: grid; place-items: center; }
.call-bar { display: flex; justify-content: center; gap: 10px; padding: 12px; }
.call-bar i { width: 30px; height: 30px; border-radius: 50%; background: #3a3a3c; }
.call-bar i.end { width: 44px; border-radius: 15px; background: var(--red); }

/* The answer panel: a floating glass surface. */
.panel {
  position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--glass-hi), var(--shadow-lg); overflow: hidden; text-align: left;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .panel { background: var(--glass-strong); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
}
.panel-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.lights { display: flex; gap: 7px; flex: none; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: var(--rule); display: block; }
.panel-title { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,59,48,.45); } 70% { box-shadow: 0 0 0 7px rgba(255,59,48,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,48,0); } }
.panel-body { padding: clamp(16px, 2.6vw, 22px); }
.scenes { display: grid; }
.scene { grid-area: 1 / 1; transition: opacity .42s var(--ease), visibility .42s; }
.scene.is-off { visibility: hidden; opacity: 0; }
.heard { margin: 0 0 12px; padding: 0 0 14px; border-bottom: 1px solid var(--border); }
.who { margin: 0 0 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.heard-text { margin: 0; font-size: clamp(15px, 1.3vw + 10px, 17px); line-height: 1.45; }
.detected { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 12px; padding: 3px 10px; border-radius: 980px; background: var(--card); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--muted); }
.spark { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.lbl { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.lbl.muted { color: var(--muted); }
.ans { margin: 0 0 14px; padding-left: 12px; border-left: 3px solid var(--ink); font: 600 clamp(17px, 1.2vw + 12px, 20px)/1.35 var(--font-display); letter-spacing: -0.01em; }
.ans mark { white-space: nowrap; padding: 0 .08em; }
.say { list-style: none; margin: 0 0 14px; padding: 0; }
.say li { margin: 6px 0; padding-left: 10px; border-left: 2px solid var(--rule); font-size: 15px; line-height: 1.45; }
.mini-steps { list-style: none; margin: 0; padding: 0; counter-reset: ms; }
.mini-steps li { counter-increment: ms; position: relative; margin: 6px 0; padding-left: 28px; font-size: 15px; line-height: 1.45; }
.mini-steps li::before { content: counter(ms); position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid var(--ink); font: 600 11px/16px var(--font-display); text-align: center; }
.why, .why-right { color: var(--muted); }
.why-right { margin: 0; font-size: 15px; }
.panel-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 0 clamp(16px, 2.6vw, 22px) 16px; }
.seg { display: inline-flex; padding: 3px; border-radius: 980px; background: var(--card); border: 1px solid var(--line); font-size: 12px; }
.seg span { padding: 3px 10px; border-radius: 980px; color: var(--muted); }
.seg .on { background: var(--ink); color: var(--bg); font-weight: 600; }
.key-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.key-chip kbd { font-size: 11.5px; }
.stage-caption { position: relative; text-align: center; margin: 18px auto 0; max-width: 540px; }
.works-with { text-align: center; margin: 22px auto var(--space-section); max-width: 40em; }
.works-with strong { color: var(--ink); font-weight: 600; }

/* Streaming demo — only active when site.js adds .anim (never under reduced motion).
   Words fade and un-blur in, so the stream reads as one smooth flow rather than flicker. */
.anim [data-step] { opacity: 0; transform: translateY(4px); transition: opacity .32s var(--ease), transform .32s var(--ease); }
.anim [data-step].on { opacity: 1; transform: none; }
.anim .w { opacity: 0; filter: blur(3px); transition: opacity .26s var(--ease), filter .26s var(--ease); }
.anim .w.on { opacity: 1; filter: none; }
.anim [data-step="type"] .w:not(.on) { display: none; }
.anim mark { background: transparent; transition: background-color .4s var(--ease); }
.anim mark.on { background: var(--hl); }
.typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; border-radius: 1px; background: var(--ink); animation: blink 1.1s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ---------- Home: feature bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bcard {
  min-width: 0; display: flex; flex-direction: column; gap: 24px; overflow: hidden;
  padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-xl);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.bcard h3 { margin: 14px 0 10px; font-size: clamp(22px, 1.2vw + 15px, 28px); line-height: 1.12; letter-spacing: -0.025em; }
.bcard-text p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.tag { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 980px; background: var(--card); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink); }
.mock {
  margin: auto 0 0; padding: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; font-size: 13px;
  box-shadow: var(--glass-hi), 0 1px 2px rgba(15,15,15,.04), 0 10px 28px rgba(15,15,15,.06); min-width: 0;
}
.b-code { grid-column: span 2; display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(20px, 3vw, 32px); }
.b-every { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(20px, 3vw, 32px); }
.b-code .mock, .b-every .mock { margin: 0; }

.code-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 10px; padding: 0 0 10px; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.code-lang { padding: 1px 8px; border: 1px solid var(--border); border-radius: 980px; }
.code-mock pre { margin: 0; overflow-x: auto; font: 12px/1.65 ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace; color: var(--ink); }
.code-mock .k { font-weight: 700; }
.code-notes { margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid var(--border); }
.code-notes p { margin: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.code-notes b { color: var(--ink); margin-right: 4px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { padding: 3px 10px; border-radius: 980px; border: 1px solid var(--border); font-size: 12px; color: var(--muted); white-space: nowrap; }
.pill.on { background: var(--hl); color: var(--hl-ink); border-color: transparent; font-weight: 600; }

.ln { display: block; height: 7px; border-radius: 4px; background: var(--rule); }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.mini-win { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--card); }
.mini-bar { display: flex; gap: 5px; padding: 7px 9px; border-bottom: 1px solid var(--border); }
.mini-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--rule); }
.mini-doc { display: flex; flex-direction: column; gap: 7px; padding: 12px; }
.grab { position: relative; display: flex; flex-direction: column; gap: 7px; margin: 3px -4px; padding: 9px; border: 1.5px dashed var(--ink); border-radius: 6px; background: rgba(255,233,154,.4); }
.grab .h { position: absolute; width: 8px; height: 8px; background: var(--card); border: 1.5px solid var(--ink); border-radius: 2px; }
.grab .tl { top: -5px; left: -5px; } .grab .tr { top: -5px; right: -5px; } .grab .bl { bottom: -5px; left: -5px; } .grab .br { bottom: -5px; right: -5px; }
.queue { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; }
.q { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; border: 1px solid var(--border); background: var(--card); font-size: 11px; font-weight: 600; }
.q-text { margin-left: 4px; font-size: 12px; color: var(--muted); }
.q-text kbd { font-size: 11px; }

.wave { display: flex; align-items: center; justify-content: space-between; gap: 4px; height: 46px; padding: 0 2px; }
.wave i { flex: 1; max-width: 6px; height: 100%; border-radius: 3px; background: var(--ink); opacity: .85; transform: scaleY(.35); animation: wave 1.4s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.7s; } .wave i:nth-child(4n) { animation-delay: -1s; }
.wave i:nth-child(5n) { animation-duration: 1.1s; } .wave i:nth-child(7n) { animation-duration: 1.7s; }
@keyframes wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(.95); } }
.stats { display: grid; gap: 6px; margin: 14px 0 0; }
.stats div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; padding: 7px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--border); }
.stats dt { font: 600 15px/1.2 var(--font-display); letter-spacing: -0.01em; white-space: nowrap; }
.stats dd { margin: 0; text-align: right; font-size: 11.5px; line-height: 1.3; color: var(--muted); }

.ctx-mock { display: flex; flex-wrap: wrap; gap: 8px; }
.file { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 6px 10px 6px 6px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); font-size: 13px; font-weight: 500; }
.file b { padding: 3px 5px; border-radius: 5px; background: var(--ink); color: var(--bg); font-size: 9.5px; letter-spacing: .04em; }
.file.role { padding-left: 10px; background: var(--hl); color: var(--hl-ink); border-color: transparent; }
.formats { flex-basis: 100%; font-size: 12px; color: var(--muted); }

.star-mock { list-style: none; padding: 8px 12px; }
.star-mock li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; padding: 7px 0; border-top: 1px solid var(--border); }
.star-mock li:first-child { border-top: 0; }
.star-mock b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: var(--bg); font: 700 13px/1 var(--font-display); }
.star-mock li:last-child b { background: var(--hl); color: var(--hl-ink); }
.star-mock span { padding-top: 3px; font-size: 13px; line-height: 1.4; }

.menubar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--glass-hi); font-size: 12px; font-weight: 500; }
.mb-left b { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 3px; background: var(--ink); vertical-align: -1px; }
.mb-right { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
/* Menu-bar glyph: the 16 px symbol in ink, its middle leaf red while listening (docs/BRAND.md). */
.mb-u { display: grid; place-items: center; width: 18px; height: 18px; }
.mb-u .mark { width: 13px; height: 16px; --fm16-blade: var(--ink); --fm16-leaf: var(--red); }
.apps { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.apps span { padding: 6px 12px; border-radius: 980px; border: 1px solid var(--border); background: var(--card); font-size: 13px; }
.apps span:last-child { border-style: dashed; color: var(--muted); }

.mini-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 16px 0 0; padding: 0; }
.mini-features li { padding: 18px 20px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.mini-features strong { display: block; margin: 0 0 4px; font-size: 16px; }
.mini-features span { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.45; }

/* ---------- Home: what you see / what they see ---------- */
.seesplit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.see { margin: 0; padding: clamp(16px, 2.6vw, 28px); border-radius: var(--r-xl); }
.see figcaption { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; font: 600 clamp(17px, 0.6vw + 15px, 19px)/1.2 var(--font-display); }
.see-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.see-dot.you { background: var(--hl); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.see-dot.them { background: var(--rule); }
.screen { position: relative; display: flex; flex-direction: column; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--card); border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(15,15,15,.04), 0 10px 28px rgba(15,15,15,.06); }
.screen-bar { display: flex; justify-content: space-between; align-items: center; height: 16px; padding: 0 8px; background: var(--card); border-bottom: 1px solid var(--border); flex: none; }
.screen-bar > span { display: block; height: 5px; border-radius: 3px; background: var(--rule); }
.screen-bar > span:first-child { width: 26%; }
.screen-bar .sb-r { width: 12%; }
.screen-bar .rec { display: none; }
.screen-doc { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 7% 7% 0; min-height: 0; }
.doc-title { display: block; width: 45%; height: 11px; margin-bottom: 4px; border-radius: 4px; background: var(--ink); opacity: .85; }
.doc-chart { flex: 1; min-height: 30px; display: flex; align-items: flex-end; gap: 6%; margin-top: 6px; }
.doc-chart i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: var(--rule); }
.float-panel {
  position: absolute; right: 5%; top: 20%; width: 44%;
  display: flex; flex-direction: column; gap: 5px; padding: 9px;
  border-radius: 10px; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 0 0 3px var(--hl), var(--shadow-lg);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .float-panel { background: var(--glass-strong); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); }
}
.fp-lbl { font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fp-ans { padding-left: 6px; border-left: 2px solid var(--ink); font: 600 clamp(10.5px, 0.6vw + 7px, 13px)/1.3 var(--font-display); }
.float-panel .ln { height: 5px; }
.sharing-pill { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); padding: 4px 10px; border-radius: 980px; background: rgba(28,28,30,.86); color: #fff; font-size: 11px; white-space: nowrap; }
.see-note { margin: 12px 0 0; }

.guarantees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 16px 0 0; padding: 0; counter-reset: g; }
.guarantees li { counter-increment: g; padding: 22px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.guarantees li::before { content: counter(g, decimal-leading-zero); display: block; margin: 0 0 12px; font: 600 13px/1 var(--font-display); color: var(--muted); font-variant-numeric: tabular-nums; }
.guarantees strong { display: block; margin: 0 0 6px; font-size: 17px; line-height: 1.3; }
.guarantees span { display: block; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ---------- Home: shortcuts ---------- */
.keys-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(24px, 4.4vw, 52px); border-radius: var(--r-xl); }
.keys-intro h2 { margin: 0 0 12px; font-size: var(--fs-h2); }
.keys-intro p:last-child { margin: 0; color: var(--muted); font-size: clamp(17px, 0.6vw + 15px, 19px); }
.keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; margin: 0; }
.keys > div { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); min-width: 0; transition: background-color var(--dur) var(--ease); }
@media (hover: hover) { .keys > div:hover { background: var(--hover); } }
.keys dt kbd { display: inline-block; min-width: 56px; padding: 3px 6px; text-align: center; font-size: 13px; }
.keys dd { margin: 0; font-size: 14.5px; line-height: 1.35; min-width: 0; }

/* ---------- Home: how it works / built for ---------- */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.how li { padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-xl); }
.how-n { display: grid; place-items: center; width: 36px; height: 36px; margin: 0 0 18px; border-radius: 50%; background: var(--ink); color: var(--bg); font: 600 16px/1 var(--font-display); }
.how h3 { margin: 0 0 8px; font-size: var(--fs-h3); }
.how p { margin: 0; color: var(--muted); }

.built { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.built li { padding: 22px 20px; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.built li::before { content: ""; display: block; width: 28px; height: 6px; margin: 0 0 16px; border-radius: 3px; background: var(--hl); }
.built strong { display: block; margin: 0 0 6px; font: 600 18px/1.25 var(--font-display); letter-spacing: -0.01em; }
.built span { display: block; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ---------- Home: fair use + final CTA ---------- */
.fair { max-width: 780px; margin: clamp(32px, 5vw, 48px) auto 0; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); text-align: center; box-shadow: var(--shadow-sm); }
.fair h3 { margin: 0 0 14px; font-size: clamp(18px, 0.6vw + 15px, 21px); }
.fair-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.fair-list li { padding: 7px 14px; border-radius: 16px; border: 1px solid var(--border); background: var(--card); font-size: 14.5px; }

.final-wrap { padding-bottom: var(--space-section); }
.final-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(44px, 7vw, 92px) clamp(20px, 5vw, 64px); border-radius: var(--r-xl);
  background: var(--ink); color: var(--bg); text-align: center; box-shadow: var(--shadow-lg);
}
.final-card::before { content: ""; position: absolute; z-index: -1; width: 80%; aspect-ratio: 1; left: 50%; top: -55%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,233,154,.12), rgba(255,233,154,0)); pointer-events: none; }
.final-card h2 { margin: 0 0 14px; font-size: var(--fs-h2); }
.final-card > p { max-width: 32em; margin: 0 auto 28px; font-size: clamp(17px, 0.8vw + 14px, 20px); opacity: .75; }
.final-card > p.final-meta { margin: 18px auto 0; font-size: var(--fs-small); opacity: .65; }
.final-card .status-note { color: var(--ink); background: var(--card); }

/* Card hover: lift ≤ 1 px and a slightly deeper shadow. */
@media (hover: hover) {
  .bcard:hover, .built li:hover, .packs .plan:hover, .mini-packs li:hover { transform: translateY(-1px); box-shadow: var(--shadow-hover); }
}

/* ---------- Scroll reveal (site.js adds .pre only to elements below the fold) ---------- */
.reveal { transition: opacity .6s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms); }
.reveal.pre { opacity: 0; transform: translateY(14px); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.plan { border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; }
.plan.pro { border-color: var(--ink); }
.plan h3 { font-size: var(--fs-h3); margin: 0; }
.plan .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 14px 0 6px; }
.plan .amount { font: 600 clamp(44px, 6vw, 60px)/1 var(--font-display); letter-spacing: -0.035em; }
.plan .per { color: var(--muted); font-size: 17px; }
.plan .trial { margin: 0 0 20px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; }
.plan li { padding: 9px 0 9px 26px; position: relative; border-top: 1px solid var(--rule); font-size: 16px; }
.plan li:first-child { border-top: 0; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 11px; height: 6px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.plan .actions { margin-top: auto; display: flex; flex-direction: column; align-items: stretch; }
.plan .btn { width: 100%; }
.plan .fine { margin: 14px 0 0; }
.soon-note { margin: 12px 0 0; font-size: 15px; color: var(--muted); }

/* One-time packs (pricing page) and the compact version on the home page */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.packs .plan { position: relative; padding: clamp(22px, 2.6vw, 32px); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.packs .plan.featured { background: var(--card); border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.packs .plan .amount { font-size: clamp(38px, 4.2vw, 52px); }
.plan .minutes { margin: 0 0 6px; font: 600 19px/1.3 var(--font-display); letter-spacing: -0.01em; }
.plan .pitch { margin: 0 0 18px; color: var(--muted); }
.packs .btn { padding-left: 16px; padding-right: 16px; }
.badge { display: inline-block; align-self: flex-start; margin: 0 0 12px; padding: 3px 10px; border-radius: 980px; background: var(--hl); color: var(--hl-ink); font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.badge.plain { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.plan-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.plan-head .badge { margin: 0; }
.packs .featured .badge { position: absolute; top: 0; left: clamp(20px, 2.6vw, 30px); transform: translateY(-50%); margin: 0; }
.pack-notes { text-align: center; max-width: 640px; margin: clamp(22px, 3vw, 30px) auto 0; }
.pack-notes .lead-note { font: 600 clamp(17px, 0.6vw + 15px, 19px)/1.4 var(--font-display); margin: 0 0 10px; }
.pack-notes p { margin: 0 0 8px; color: var(--muted); }
.pack-notes p.lead-note { color: var(--ink); }
.pack-notes p:last-child { margin-bottom: 0; }
.pack-notes .soon-note { margin: 0 0 8px; }

.page-head { text-align: center; padding-top: clamp(40px, 7vw, 84px); padding-bottom: clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.035em; margin: 0 auto 16px; max-width: 14em; }

.trial-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  border-radius: var(--radius-lg); padding: clamp(20px, 3.4vw, 32px) clamp(20px, 4vw, 40px);
  margin: 0 0 clamp(28px, 4vw, 44px);
}
.trial-strip h2 { font-size: clamp(22px, 1.6vw + 15px, 30px); margin: 0 0 4px; }
.trial-strip p { margin: 0; color: var(--muted); }
.trial-strip .btn-group { align-items: stretch; }
.trial-strip .status-note { margin: 12px 0 0; flex-basis: 100%; }

.plus-section { margin-top: var(--space-section); }
.plus-intro { text-align: center; max-width: 720px; margin: 0 auto; }
.plus-intro h2 { font-size: var(--fs-h2); margin: 0 0 14px; }
.plus-intro p { color: var(--muted); font-size: clamp(17px, 0.8vw + 14px, 21px); line-height: 1.45; margin: 0 auto 26px; }
.plus-card { max-width: 560px; margin: clamp(24px, 4vw, 40px) auto 0; scroll-margin-top: 84px; border-color: var(--ink); box-shadow: var(--shadow-lg); transition: opacity .22s var(--ease), transform .22s var(--ease); }
@starting-style { .plus-card { opacity: 0; transform: translateY(8px); } }
.plus-card:focus { outline: none; }
.plus-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.recurring { margin: 0 0 18px; padding: 10px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--ink); font-size: 15px; }

/* Comparison table — a real table on wide screens, stacked rows on phones (no sideways scroll). */
.compare-table { width: 100%; max-width: 860px; margin: 0 auto; border-collapse: collapse; font-size: 16px; }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid var(--rule); }
.compare-table thead th { font: 600 var(--fs-h3)/1.2 var(--font-display); letter-spacing: -0.015em; border-bottom: 1.5px solid var(--ink); }
.compare-table tbody th { font-weight: 600; color: var(--ink); width: 24%; }
.compare-table td { color: var(--muted); width: 38%; }
@media (max-width: 600px) {
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: auto; }
  .compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .compare-table tr { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .compare-table tr:first-child { border-top: 1.5px solid var(--ink); }
  .compare-table tbody th { padding: 0 0 6px; border: 0; font-size: 17px; }
  .compare-table td { padding: 4px 0; border: 0; display: grid; grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr); gap: 12px; }
  .compare-table td::before { content: attr(data-label); color: var(--ink); font-weight: 500; }
}

.mini-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 860px; margin: 0 auto; list-style: none; padding: 0; }
.mini-packs li { border-radius: var(--radius); padding: 20px; text-align: center; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.mini-packs li.featured { background: var(--card); border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.mini-packs .name { display: block; font-weight: 600; }
.mini-packs .amount { display: block; font: 600 clamp(32px, 3.6vw, 40px)/1.1 var(--font-display); letter-spacing: -0.03em; margin: 6px 0 2px; }
.mini-packs .mins { color: var(--muted); font-size: 15px; }
.mini-packs .badge { margin: 0 0 8px; }
.pricing-foot { text-align: center; max-width: 640px; margin: 22px auto 0; }
.pricing-foot p { color: var(--muted); margin: 0 0 8px; }
.pricing-foot .btn-row { margin-top: 22px; }
.free-line { text-align: center; margin: 0 auto 22px; font-weight: 600; }

/* ---------- FAQ (smooth open where ::details-content is supported) ---------- */
.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 14px 8px; margin: 0 -4px; border-radius: 10px;
  font: 600 clamp(17px, 0.6vw + 15px, 19px)/1.3 var(--font-display);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
@media (hover: hover) { .faq summary:hover { background: var(--hover); } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform .22s var(--ease); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq .a { padding: 0 4px 20px; color: var(--muted); }
.faq .a p { margin: 0 0 10px; }
.faq .a p:last-child { margin-bottom: 0; }
@supports selector(::details-content) {
  .faq details::details-content {
    block-size: 0; overflow: clip; opacity: 0;
    transition: block-size .22s var(--ease), opacity .22s var(--ease), content-visibility .22s allow-discrete;
  }
  .faq details[open]::details-content { block-size: auto; opacity: 1; }
}

/* ---------- Closing CTA ---------- */
.final { text-align: center; padding-bottom: var(--space-section); }
.final h2 { font-size: var(--fs-h2); margin: 0 0 12px; }
.final p { color: var(--muted); margin: 0 auto 26px; max-width: 32em; font-size: clamp(17px, 0.8vw + 14px, 20px); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); background: var(--bg); color: var(--muted); font-size: 13px; padding: 20px 0 36px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: center; }
.site-footer .logo .lockup { height: 24px; }
.footer-links { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 0 -10px; padding: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.site-footer p { margin: 0; }

/* ---------- Document pages (privacy, terms, support, welcome) ---------- */
.doc { padding-top: clamp(36px, 7vw, 72px); padding-bottom: clamp(48px, 8vw, 96px); }
.doc h1 { font-size: clamp(36px, 5.5vw, 56px); letter-spacing: -0.03em; margin: 0 0 12px; }
.doc h2 { font-size: clamp(22px, 2vw + 14px, 28px); margin: clamp(36px, 5vw, 52px) 0 12px; }
.doc h3 { font-size: 19px; margin: 24px 0 6px; }
.doc p, .doc li { max-width: 68ch; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 8px 0; }
.doc .lede { margin: 0 0 8px; }
.note { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--ink); padding: 12px 16px; border-radius: 10px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 24px 0 0; }
.toc li { margin: 0; }
.toc a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 980px;
  background: var(--card); color: var(--ink); text-decoration: none; font-size: 15px; box-shadow: var(--shadow-sm);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.toc a:hover { border-color: var(--ink); background: var(--hover); }
.toc a:active { transform: scale(.98); }
.box { border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); margin: 20px 0; }
.box > :first-child { margin-top: 0; }
.box > :last-child { margin-bottom: 0; }
.numbered { list-style: none; padding: 0 !important; counter-reset: n; }
.numbered > li { counter-increment: n; position: relative; padding: 16px 0 16px 50px; border-top: 1px solid var(--border); margin: 0; }
.numbered > li:first-child { border-top: 0; }
.numbered > li::before { content: counter(n); position: absolute; left: 0; top: 14px; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 600 15px/1 var(--font-display); }
.numbered .step { display: block; font-weight: 600; font-size: 18px; margin-bottom: 2px; }
.numbered ul { margin: 6px 0 0; }
.qa p { margin: 0 0 18px; }
.qa strong:first-child { display: block; }
.req { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; list-style: none; padding: 0 !important; }
.req li { border-radius: var(--radius); padding: 16px; margin: 0; box-shadow: var(--shadow-sm); }
.req strong { display: block; }
.req span { color: var(--muted); font-size: 15px; }
.welcome-hero { text-align: center; }
.welcome-hero .icon { width: 88px; margin: 0 auto 18px; }
.welcome-hero .lede { margin: 0 auto; }
.welcome-hero .btn-row { margin-top: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-features, .guarantees { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keys-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .stage-grid { grid-template-columns: minmax(0, 1fr); }
  .call { display: none; }
  .panel { width: 100%; max-width: 580px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .how, .plans, .req { grid-template-columns: minmax(0, 1fr); }
  .how li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .how-n { margin: 0; grid-row: span 2; }
  .how h3 { margin-top: 6px; }
}
@media (max-width: 700px) {
  .packs { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin: 0 auto; }
  .trial-strip { flex-direction: column; align-items: stretch; text-align: center; }
  .trial-strip .btn { width: 100%; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .b-code, .b-every { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .seesplit { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .mini-packs { grid-template-columns: minmax(0, 1fr); }
  .mini-packs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; text-align: left; padding: 16px 18px; }
  .mini-packs .badge { grid-column: 1 / -1; justify-self: start; }
  .mini-packs .name, .mini-packs .mins { grid-column: 1; }
  .mini-packs .amount { grid-row: span 2; grid-column: 2; margin: 0; font-size: 30px; }
  .mini-features, .guarantees { grid-template-columns: minmax(0, 1fr); }
  .hero-stage .lights { display: none; }
  .hero-stage { border-radius: 16px; }
}
@media (max-width: 480px) {
  .code-mock { padding: 12px; }
  .code-mock pre { font-size: 11px; }
}
@media (max-width: 400px) {
  .hide-xs { display: none; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pre { opacity: 1; transform: none; }
  .bcard:hover, .built li:hover, .packs .plan:hover, .mini-packs li:hover { transform: none; }
  .btn:active, .toc a:active, .nav-links a.nav-cta:active { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .btn, .nav-menu, .skip { display: none !important; }
  body { color: #000; background: #fff; }
}
.release-info { color: var(--muted); margin-top: 8px; }
.release-info .sha { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-size: 12px; margin-top: 6px; }
