/* HearItAloud marketing site. Warm editorial paper + precision hardware. */
:root {
  --paper: #FAF9F6;
  --paper-2: #F3F1EC;
  --card: #FFFFFF;
  --ink: #141518;
  --ink-2: #3C3E44;
  --muted: #6B6A66;
  --line: #E7E5E0;
  --line-2: #D9D6CF;
  --amber: #F59E0B;
  --amber-soft: #FDE7B0;
  --amber-ink: #7A4A00;
  --emerald: #0E9F6E;
  --emerald-soft: #DDF5EA;
  --blue: #3B64DB;
  --danger: #B4402F;
  --shadow: 0 1px 2px rgba(20,21,24,.04), 0 8px 24px -8px rgba(20,21,24,.10);
  --shadow-lg: 0 2px 4px rgba(20,21,24,.04), 0 30px 60px -20px rgba(20,21,24,.22);
  --r: 14px;
  --r-lg: 22px;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0D0E11; --paper-2: #14161A; --card: #17191E; --ink: #F1EFEA; --ink-2: #C9C7C1; --muted: #9A988F;
    --line: #26282E; --line-2: #34363D; --amber: #FBBF24; --amber-soft: #4A3608; --amber-ink: #FCD679;
    --emerald: #34D399; --emerald-soft: #0F2E23; --blue: #7B9BF0; --danger: #F08A78;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -8px rgba(0,0,0,.5);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 30px 60px -20px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0D0E11; --paper-2: #14161A; --card: #17191E; --ink: #F1EFEA; --ink-2: #C9C7C1; --muted: #9A988F;
  --line: #26282E; --line-2: #34363D; --amber: #FBBF24; --amber-soft: #4A3608; --amber-ink: #FCD679;
  --emerald: #34D399; --emerald-soft: #0F2E23; --blue: #7B9BF0; --danger: #F08A78;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -8px rgba(0,0,0,.5);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 30px 60px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
  transition: background-color .3s, color .3s;
}
/* faint paper grain */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .5;
  background: radial-gradient(1200px 600px at 50% -10%, var(--amber-soft), transparent 60%);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.1; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; cursor: pointer; }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 0; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
kbd { font: 500 12px var(--mono); padding: 1px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; background: var(--card); margin: 0 1px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent;
  transition: transform .18s var(--ease), background-color .2s, box-shadow .2s, border-color .2s; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 18px -6px rgba(20,21,24,.45); }
.btn-ink:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 10px 24px -8px rgba(20,21,24,.5); }
.btn-ghost { background: var(--card); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-amber { background: var(--amber); color: #1D1400; box-shadow: 0 6px 18px -6px rgba(245,158,11,.6); }
.btn-amber:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn-paper { background: #FAF9F6; color: #141518; }
.btn-paper:hover { transform: translateY(-1px); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--card); transition: border-color .2s; }
.icon-btn:hover { border-color: var(--line-2); }
.ic-sun { display: none; }
:root[data-theme="dark"] .ic-sun { display: block; } :root[data-theme="dark"] .ic-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ic-sun { display: block; } :root:not([data-theme="light"]) .ic-moon { display: none; } }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--paper) 78%, transparent); border-bottom: 1px solid transparent; transition: border-color .25s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { min-width: 0; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 17px; }
.nav-links { display: none; gap: 4px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: background-color .2s, color .2s; }
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.show-xs { display: inline; } .hide-xs { display: none; }
@media (min-width: 560px) { .show-xs { display: none; } .hide-xs { display: inline; } }
@media (min-width: 860px) { .nav-links { display: flex; } }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
@media (min-width: 900px) { .hero { padding: 88px 0 64px; } }
.hero-in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.pill-trust { background: var(--emerald-soft); color: var(--emerald); border: 1px solid color-mix(in srgb, var(--emerald) 25%, transparent); flex-wrap: wrap; justify-content: center; }
.pill-trust i { font-style: normal; opacity: .5; }
.pill-trust .ic { width: 16px; height: 16px; }
@media (max-width: 420px) { .pill-trust { font-size: 12px; padding: 6px 12px; } }
h1 { font-size: clamp(42px, 8.4vw, 88px); font-weight: 800; letter-spacing: -.045em; line-height: 1.0; margin-top: 26px; }
h1 span { display: block; }
h1 span:last-child { color: var(--muted); }
.hl-word { font-style: normal; position: relative; white-space: nowrap; background: linear-gradient(transparent 58%, var(--amber-soft) 58%, var(--amber-soft) 92%, transparent 92%); }
.lede { max-width: 640px; margin-top: 24px; font-size: clamp(17px, 2vw, 19px); color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.micro { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* ---------- Demo ---------- */
.demo { margin: 56px auto 0; max-width: 940px; }
.browser { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.dots { display: inline-flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 8px; background: var(--card); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.url .ic { width: 13px; height: 13px; color: var(--emerald); }
.ext { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); }
.page { padding: 36px 24px 120px; text-align: left; font-family: var(--serif); font-size: 19px; line-height: 1.65; color: var(--ink-2); max-width: 720px; }
@media (min-width: 720px) { .page { padding: 48px 120px 56px 56px; font-size: 21px; } }
.page h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 36px); color: var(--ink); letter-spacing: -.015em; margin: 6px 0 20px; }
.page .kicker { font: 600 12px var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.page p + p { margin-top: 16px; }
.para { transition: opacity .5s var(--ease), filter .5s var(--ease); }
.page.focus .para:not(.active-para) { opacity: .2; filter: blur(.4px); }
.active-para { color: var(--ink); }
.s { transition: background-color .25s; border-radius: 4px; }
.s.on { background: color-mix(in srgb, var(--amber-soft) 55%, transparent); }
.w { border-radius: 4px; transition: background-color .12s, color .12s; padding: 0 1px; margin: 0 -1px; }
.w.on { background: var(--amber); color: #1D1400; }

/* phones: the dock sits at the top of the card so Play is visible without scrolling */
@media (max-width: 719px) { .browser { display: flex; flex-direction: column; } .browser-bar { order: 0; } .dock { order: 1; } .page { order: 2; padding-bottom: 32px; padding-top: 24px; } }
.dock { position: relative; align-self: center; margin-top: 16px; display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: var(--ink); color: var(--paper);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); }
@media (min-width: 720px) { .dock { position: absolute; margin: 0; flex-direction: column; left: auto; right: 18px; bottom: auto; top: 50%; transform: translateY(-40%); padding: 8px 6px; border-radius: 28px; gap: 8px; } }
.dock-play { position: relative; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--amber); color: #1D1400; display: grid; place-items: center; transition: transform .18s var(--ease); }
.dock-play:hover { transform: scale(1.05); } .dock-play:active { transform: scale(.96); }
.dock-play .ic { width: 22px; height: 22px; position: relative; } .dock-play .ic-pause { display: none; }
.dock-play.playing .ic-play { display: none; } .dock-play.playing .ic-pause { display: block; }
.dock-play:not(.playing)::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--amber); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { opacity: .8; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.25); } }
.ring { position: absolute; inset: 0; width: 52px; height: 52px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; } .ring-bg { stroke: rgba(0,0,0,.12); }
.ring-fg { stroke: #1D1400; stroke-linecap: round; stroke-dasharray: 144.5; stroke-dashoffset: 144.5; transition: stroke-dashoffset .2s linear; }
.dock-sep { width: 1px; height: 26px; background: rgba(127,127,127,.35); }
@media (min-width: 720px) { .dock-sep { width: 26px; height: 1px; } }
.speeds { display: flex; gap: 2px; } @media (min-width: 720px) { .speeds { flex-direction: column; } }
.speeds button, .dock-btn { min-height: 40px; min-width: 48px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; color: inherit; opacity: .7;
  font: 500 13px var(--mono); transition: background-color .2s, opacity .2s, color .2s; }
.speeds button:hover, .dock-btn:hover { opacity: 1; background: rgba(127,127,127,.18); }
.speeds button[aria-checked="true"] { opacity: 1; background: var(--paper); color: var(--ink); }
.dock-btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-weight: 600; }
@media (min-width: 720px) { .dock-btn { flex-direction: column; gap: 2px; font-size: 11px; padding: 6px 4px; } }
.dock-btn[aria-pressed="true"] { opacity: 1; background: var(--emerald); color: #04150E; }
.demo-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.voices { display: flex; flex-wrap: wrap; gap: 8px; }
.voices button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 14px 4px 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  font-size: 14px; font-weight: 600; transition: border-color .2s, box-shadow .2s; }
.voices button img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--paper-2); }
.voices button small { color: var(--muted); font-weight: 500; font-size: 11px; margin-left: 2px; }
.voices button:hover { border-color: var(--line-2); }
.voices button[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.demo-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); }
.ok { color: var(--emerald); }
.demo-note { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
@media (min-width: 720px) { .demo-note { text-align: left; } }

/* ---------- Steps ---------- */
.steps-sec { padding-top: 32px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--card); padding: 28px 26px; }
.num { display: inline-block; font-size: 12.5px; color: var(--amber-ink); background: var(--amber-soft); padding: 3px 9px; border-radius: 999px; font-weight: 600; }
.steps h3 { font-size: 19px; margin: 16px 0 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- Section heads ---------- */
.sec-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.sec-head h2, .calc h2 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 800; letter-spacing: -.035em; }
.sec-head p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); font-size: 17px; }
.sec-head-left { text-align: left; margin: 0; }
.eyebrow { font: 600 12.5px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--amber-ink); margin-bottom: 14px; }
.eyebrow-ok { color: var(--emerald); }

/* ---------- Calculator ---------- */
.calc { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1.05fr; gap: 64px; } }
.calc-copy p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); font-size: 17px; max-width: 460px; }
.calc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 0 0 10px; }
.calc-label + .select { margin-bottom: 22px; }
.calc-label output { font-size: 20px; color: var(--ink); font-weight: 600; }
.select { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font: 500 16px var(--sans); }
input[type=range] { width: 100%; height: 44px; accent-color: var(--amber); cursor: pointer; }
.bars { display: grid; gap: 14px; margin-top: 20px; }
.bar-row { display: grid; grid-template-columns: 96px 1fr 64px; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
@media (min-width: 480px) { .bar-row { grid-template-columns: 110px 1fr 70px; } }
.bar-row b { text-align: right; font-weight: 600; }
.bar { height: 12px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--line-2); transition: width .35s var(--ease); transform-origin: left; }
.bar-amber i { background: var(--amber); }
.calc-foot { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: 14px; color: var(--emerald); }

/* ---------- Comparison ---------- */
.cmp { max-width: 900px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow: hidden; box-shadow: var(--shadow); }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
.cmp-row > span { min-width: 0; padding: 14px 16px; display: flex; align-items: center; gap: 8px; font-size: 14.5px; overflow-wrap: anywhere; }
.cmp-row > span[role=rowheader] { grid-column: 1 / -1; padding-bottom: 0; color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.cmp-row > span[role=rowheader] .ic { width: 16px; height: 16px; }
.cmp-head { border-top: 0; background: var(--paper-2); }
.cmp-head > span { font-weight: 700; font-size: 15px; padding: 18px; }
.cmp-head > span:first-child { display: none; }
.cmp-row .us { background: color-mix(in srgb, var(--amber-soft) 28%, transparent); font-weight: 500; }
.cmp-row:not(.cmp-head) > span:last-child { color: var(--muted); }
.ic.ok { color: var(--emerald); } .ic.no { color: var(--danger); }
@media (min-width: 720px) {
  .cmp-row { grid-template-columns: 200px 1fr 1fr; }
  .cmp-row > span[role=rowheader] { grid-column: auto; padding-bottom: 16px; }
  .cmp-head > span:first-child { display: block; }
  .cmp-row > span { padding: 20px 24px; }
}

/* ---------- Bento ---------- */
.tags { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tags li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, 1fr); } .card-wide { grid-column: span 2; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card h3 { font-size: 22px; letter-spacing: -.025em; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line);
  font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.chip .ic { width: 14px; height: 14px; }
.card-wide { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .card-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.card-copy { display: flex; flex-direction: column; gap: 12px; }
.mini-page { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; font-family: var(--serif); font-size: 17px; line-height: 1.6; }
.mini-page p + p { margin-top: 10px; }
.m-dim { opacity: .22; }
.m-on span { border-radius: 3px; transition: background-color .15s; }
.m-on span.on { background: var(--amber); color: #1D1400; }
.strike { margin-top: auto; padding: 16px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); font-family: var(--serif); font-size: 16px; color: var(--ink); }
.strike s { color: var(--danger); text-decoration-thickness: 2px; opacity: .75; }
.ramp { margin-top: auto; padding: 18px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.ramp-val { font-size: 34px; font-weight: 600; letter-spacing: -.02em; }
.ramp-track { height: 8px; border-radius: 999px; background: var(--paper-2); margin: 10px 0 8px; overflow: hidden; border: 1px solid var(--line); }
.ramp-track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--amber-soft), var(--amber)); border-radius: inherit; }
.ramp-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.exports { display: grid; gap: 12px; }
.file { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.file .ic { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--amber-soft); color: var(--amber-ink); }
.file span { display: flex; flex-direction: column; min-width: 0; } .file b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file small, .clip small { color: var(--muted); font-size: 12px; }
.clip { max-width: 260px; border: 1px solid #2E3036; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 18px; border-radius: var(--r); background: #141518; color: #F1EFEA; min-height: 130px; width: 62%; justify-self: end; }
.clip-q { font: 500 18px/1.35 var(--serif); }
.clip mark { background: #F59E0B; color: #1D1400; border-radius: 3px; padding: 0 2px; }
.clip small { color: #9A988F; }
.minis { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .minis { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .minis { grid-template-columns: repeat(4, 1fr); } }
.minis li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.minis .ic { grid-row: span 2; width: 22px; height: 22px; color: var(--amber-ink); margin-top: 2px; }
.minis b { font-size: 15px; } .minis span { color: var(--muted); font-size: 14px; }

/* ---------- Voices marquee ---------- */
.voices-sec .sec-head { margin-bottom: 40px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; padding: 4px 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.vcard { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); white-space: nowrap; }
.vcard img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--paper-2); }
.vcard b { display: block; font-size: 15px; } .vcard small { color: var(--muted); font-size: 12.5px; }
.vcard .free { font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--emerald); background: var(--emerald-soft); padding: 2px 6px; border-radius: 6px; margin-left: 6px; vertical-align: 2px; }

/* ---------- Privacy ---------- */
.privacy { background: var(--paper-2); border-block: 1px solid var(--line); }
.flow { display: grid; gap: 0; max-width: 940px; margin: 0 auto; grid-template-columns: 1fr; justify-items: center; }
@media (min-width: 800px) { .flow { grid-template-columns: 1fr 80px 1fr 80px 1fr; align-items: center; } }
.node { width: 100%; max-width: 320px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.node .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--paper-2); color: var(--ink-2); margin-bottom: 6px; }
.node b { font-size: 17px; } .node small { color: var(--muted); font-size: 13.5px; }
.node-core { border-color: color-mix(in srgb, var(--emerald) 45%, transparent); box-shadow: 0 0 0 4px var(--emerald-soft); }
.node-core .ic { background: var(--emerald-soft); color: var(--emerald); }
.link { width: 2px; height: 36px; position: relative; background: var(--line-2); overflow: hidden; }
.link i { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, var(--emerald), transparent); animation: flowv 1.8s linear infinite; }
@keyframes flowv { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
@media (min-width: 800px) { .link { width: 100%; height: 2px; } .link i { background: linear-gradient(90deg, transparent, var(--emerald), transparent); animation-name: flowh; } }
@keyframes flowh { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.term { max-width: 640px; margin: 40px auto 0; border-radius: var(--r); background: #0F1013; color: #D7D5CF; border: 1px solid #26282E; overflow: hidden; box-shadow: var(--shadow-lg); }
.term-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #26282E; font-size: 12px; color: #8A887F; }
.term-bar .dots i { background: #34363D; }
.term pre { margin: 0; padding: 18px 20px; font-size: 13px; line-height: 1.75; overflow-x: auto; }
.t-dim { color: #75736C; } .t-ok { color: #34D399; }
.caret { display: inline-block; width: 8px; height: 15px; background: #34D399; vertical-align: -2px; margin-left: 4px; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.fine { max-width: 640px; margin: 20px auto 0; text-align: center; color: var(--muted); font-size: 14.5px; }

/* ---------- Pricing ---------- */
.early { display: inline-flex !important; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--emerald-soft); color: var(--emerald) !important; font-size: 14px !important; font-weight: 600; }
.early .ic { width: 16px; height: 16px; }
.toggle { display: inline-flex; margin-top: 24px; padding: 4px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); }
.toggle button { min-height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: 14px; color: var(--muted); transition: background-color .2s, color .2s; }
.toggle button[aria-checked="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.prices { display: grid; gap: 16px; grid-template-columns: 1fr; max-width: 1040px; margin: 0 auto; align-items: stretch; }
@media (min-width: 900px) { .prices { grid-template-columns: repeat(3, 1fr); } }
.price { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; display: flex; flex-direction: column; }
.price h3 { font-size: 18px; }
.amt { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.amt b { font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.amt span { color: var(--muted); font-weight: 500; }
.price .sub { color: var(--muted); font-size: 14.5px; margin: 8px 0 22px; min-height: 1.6em; }
.price ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; font-size: 15px; }
.price li { display: flex; gap: 10px; align-items: flex-start; }
.price li .ic { color: var(--emerald); margin-top: 3px; width: 17px; height: 17px; }
.price li.all { font-weight: 700; font-size: 14px; color: var(--ink-2); }
.price-pro { border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .price-pro { transform: translateY(-12px); } }
.badge { position: absolute; top: -13px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--amber); color: #1D1400; font: 600 11.5px var(--mono); letter-spacing: .02em; }
.badge-soft { background: var(--ink); color: var(--paper); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 1fr 1.6fr; gap: 64px; } }
.sec-head-left a { color: var(--ink); font-weight: 600; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 2px; font-weight: 600; font-size: 17px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 20px; height: 20px; color: var(--muted); transition: transform .25s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 2px 22px; color: var(--ink-2); max-width: 640px; }

/* ---------- Final CTA ---------- */
.final { padding-top: 24px; }
.final-card { position: relative; overflow: hidden; text-align: center; padding: 64px 24px; border-radius: 28px; background: #141518; color: #F1EFEA; display: flex; flex-direction: column; align-items: center; gap: 18px; }
:root[data-theme="dark"] .final-card { border: 1px solid var(--line-2); background: #17191E; }
.final-card::before { content: ''; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, rgba(245,158,11,.28), transparent); pointer-events: none; }
.final-card > * { position: relative; }
.final-card h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -.04em; max-width: 720px; }
.final-card p { color: #B9B7B0; font-size: 17px; }
.final-card .micro { color: #8A887F; font-size: 13px; margin: 0; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; margin-top: 72px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot nav a { text-decoration: none; color: var(--muted); font-size: 14px; padding: 6px 0; }
.foot nav a:hover { color: var(--ink); }
.foot p { font-size: 12.5px; color: var(--muted); }
.sprite { position: absolute; }

/* ---------- Legal & thank-you pages ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 48px 16px 0; }
.doc h1 { font-size: clamp(34px, 6vw, 52px); margin-top: 0; }
.doc .updated { margin-top: 12px; color: var(--muted); font-size: 14px; }
.doc h2 { font-size: 22px; margin-top: 40px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p { margin: 14px 0 0; }
.doc ul, .doc ol { margin: 14px 0 0; padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--ink); text-underline-offset: 3px; }
.doc .note { margin-top: 24px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.doc .btn { margin-top: 28px; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}
