/* Voice Studio public site. Same brand as the studio: slate console, amber signal
   (the playhead), cyan for sound. One moving thing: the take being read in the hero. */
:root {
  --bg: #12161d;
  --panel: #1a2029;
  --panel-2: #212833;
  --line: #2c3442;
  --text: #ece7dd;
  --muted: #a0a8b5;
  --faint: #6f7888;
  --amber: #f0b03c;
  --amber-ink: #241a06;
  --cyan: #79c3e6;
  --red: #ef5a5a;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
code { font-family: var(--mono); font-size: .88em; background: var(--panel-2); padding: 1px 6px; border-radius: 4px; color: var(--text); }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

/* ---- header */
.top { max-width: var(--max); margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; font-size: 1.05rem; }
.brand-mark { width: 22px; height: 22px; border-radius: 50%; background: var(--panel-2); box-shadow: inset 0 0 0 6px var(--panel-2), inset 0 0 0 11px var(--amber); }
.top nav { display: flex; gap: 22px; margin-left: 12px; }
.top nav a, .link { text-decoration: none; color: var(--muted); font-size: .95rem; }
.top nav a:hover, .link:hover { color: var(--text); }
.top-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }

/* ---- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 8px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.btn.sm { padding: 8px 14px; font-size: .92rem; }
.btn.primary { background: var(--amber); color: var(--amber-ink); }
.btn.primary:hover { background: #f6c262; }
.btn.ghost { border-color: var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--faint); }

/* ---- hero */
main { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 64px 0 72px; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -0.025em; font-weight: 700; }
.lead { margin-top: 22px; font-size: 1.15rem; color: var(--muted); max-width: 33em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fine { margin-top: 14px; font-size: .88rem; color: var(--faint); }
.muted { color: var(--muted); }

/* the take: a script line being read, word by word */
.take { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px 18px; }
.take-head { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.tc { margin-left: auto; font-family: var(--mono); color: var(--text); }
.script { margin: 20px 0 22px; font-size: 1.32rem; line-height: 1.55; color: var(--faint); }
.script .w { transition: color .18s; }
.script .w.on { color: var(--text); }
.script .w.now { color: var(--amber); }
.wave { display: flex; align-items: center; gap: 3px; height: 54px; }
.wave i { flex: 1; min-width: 2px; border-radius: 2px; background: var(--line); transition: background .18s; }
.wave i.on { background: var(--cyan); }
.take figcaption { margin-top: 16px; font-size: .85rem; color: var(--faint); }

/* ---- facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 26px 22px 28px 0; display: flex; flex-direction: column; gap: 6px; }
.facts div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.facts b { font-weight: 600; }
.facts span { color: var(--muted); font-size: .95rem; }

/* ---- how */
section h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.02em; }
.how, .pricing, .faq { padding: 88px 0 0; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--amber); color: var(--amber); font-weight: 600; margin-bottom: 16px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* ---- pricing */
.section-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: end; }
.section-head p { color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 36px; align-items: stretch; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan.hl { border-color: var(--amber); }
.plan .flag { position: absolute; top: -12px; left: 22px; background: var(--amber); color: var(--amber-ink); font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.plan h3 { font-size: 1.2rem; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 2.1rem; font-weight: 700; letter-spacing: -0.02em; }
.price span { color: var(--faint); font-size: .9rem; }
.plan .tag { color: var(--muted); font-size: .95rem; min-height: 3em; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.plan li { padding-left: 20px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 2px; background: var(--cyan); }
.plan .btn { margin-top: auto; }

/* ---- faq */
.faq h2 { margin-bottom: 24px; }
details { border-top: 1px solid var(--line); padding: 18px 0; max-width: 780px; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--amber); font-weight: 400; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; color: var(--muted); max-width: 65ch; }

/* ---- closing + footer */
.closing { margin: 96px 0 0; padding: 56px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.closing h2 { max-width: 20em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.foot { max-width: var(--max); margin: 0 auto; padding: 28px 24px 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: .88rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 36px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .closing { flex-direction: column; align-items: flex-start; }
  .top nav { display: none; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div + div { padding: 20px 0; border-left: 0; }
  .facts div + div { border-top: 1px solid var(--line); }
  .script { font-size: 1.12rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .script .w, .wave i { transition: none; }
}
