/* ════════════════════════════════════════════════════════════
   VTS landing — design system (Claude Design handoff: sage/coral,
   Nunito + Plus Jakarta Sans). The block at the end re-themes the
   functional app components (flow zone, paywall/top-up modals) via
   token aliases so they inherit this palette automatically.
   ════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:        #4a7870;
  --brand-dark:   #335c56;
  --brand-mid:    #6b9e96;
  --brand-light:  #e3efed;
  --brand-pale:   #f1f7f6;
  --cta:          #d86035;
  --cta-dark:     #b84d25;
  --cta-glow:     rgba(216,96,53,.26);
  --ink:          #19201f;
  --ink-2:        #5b706c;
  --ink-3:        #9ab5b1;
  --surface:      #ffffff;
  --bg:           #f5f4f1;
  --border:       #dae6e4;
  --border-faint: #ecf3f2;
  --r1: 12px; --r2: 20px; --r3: 28px; --r4: 36px;
  --font-heading: 'Nunito', sans-serif;
  --sh-xs: 0 1px 4px rgba(25,32,31,.05);
  --sh-sm: 0 2px 12px rgba(25,32,31,.07);
  --sh-md: 0 6px 30px rgba(25,32,31,.10);
  --sh-lg: 0 16px 64px rgba(25,32,31,.13);

  /* Compatibility aliases: the functional components (flow zone,
     modals, badges) were written against the old token names. Map
     them onto this palette so they re-theme with zero edits. */
  --bg-card:     var(--surface);
  --border-2:    var(--border);
  --accent:      var(--brand);
  --accent-pale: var(--brand-light);
  --text:        var(--ink);
  --text-2:      var(--ink-2);
  --text-3:      var(--ink-3);
  --ok:        #0d8a4f; --ok-pale:   #e6f6ee;
  --warn:      #c47a1e; --warn-pale: #fbf0e0;
  --err:       #cf3030; --err-pale:  #fbe9e9;
  --fH: var(--font-heading);
  --fB: 'Plus Jakarta Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── NAV ─────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: 62px; padding: 0 52px;
  display: flex; align-items: center; gap: 36px;
  background: rgba(245,244,241,.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-color: var(--border-faint); box-shadow: 0 2px 24px rgba(25,32,31,.08); }
.nav-logo {
  font-family: var(--font-heading); font-size: 21px; font-weight: 800;
  color: var(--ink); text-decoration: none; letter-spacing: .025em;
  display: inline-flex; align-items: center; gap: 9px;
}
.nav-logo-img {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
  flex-shrink: 0; display: block;
}
.nav-center {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 24px;
}
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav-link { font-size: 14px; font-weight: 400; color: var(--ink-2); text-decoration: none; transition: color .15s; }
.nav-link:hover { color: var(--ink); }
.nav-balance {
  font-size: 12px; font-weight: 500; color: var(--brand);
  background: var(--brand-light); padding: 5px 14px; border-radius: 100px;
  white-space: nowrap;
}
.hdr-pro-chip {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  color: var(--cta); background: rgba(216,96,53,.12);
  border: 1px solid rgba(216,96,53,.30);
  padding: 3px 8px; border-radius: 100px;
  margin-right: 8px; line-height: 1;
}

/* ── BUTTONS (design sections / nav / CTA) ─────────── */
.btn-base {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 500;
  cursor: pointer; border: none; text-decoration: none;
  white-space: nowrap; transition: all .18s;
}
.btn-sm  { font-size: 13px; padding: 7px 18px; border-radius: 100px; }
/* Header auth actions swap at the mobile breakpoint: "Start free" (desktop)
   focuses the hero input; "Login" (mobile) goes straight to /login since
   the "Sign in" nav-link is hidden there. !important so the toggle beats the
   `.btn-sm{display:inline-flex}` rule below (equal specificity, declared later)
   — without it the mobile "Login" leaked onto desktop as a second sign-in. */
.hdr-mobile-only { display: none !important; }
.btn-md  { font-size: 14px; padding: 12px 24px; border-radius: var(--r1); }
.btn-lg  { font-size: 16px; padding: 16px 38px; border-radius: var(--r1); }
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-dark); transform: translateY(-1px); box-shadow: 0 6px 22px var(--cta-glow); }
.btn-outline { background: var(--surface); color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--ink-2); }
.btn-sm, .btn-md, .btn-lg {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 500;
  cursor: pointer; border: none; text-decoration: none;
  white-space: nowrap; transition: all .18s;
}

/* ── LAYOUT ──────────────────────────── */
.sec { padding: 100px 52px; }
.sec-white  { background: var(--surface); }
.sec-tinted { background: var(--brand-pale); }
.sec-muted  { background: var(--bg); }
.wrap    { max-width: 1120px; margin: 0 auto; }
.wrap-sm { max-width: 760px;  margin: 0 auto; }

/* ── SECTION HEADER ──────────────────── */
.sh { margin-bottom: 60px; }
.sh-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.sh-label::before { content: ''; width: 20px; height: 1.5px; background: var(--brand); }
.sh-title {
  font-family: var(--font-heading);
  font-size: 46px; font-weight: 700; line-height: 1.1;
  color: var(--ink); margin-bottom: 14px;
}
.sh-title em { font-style: normal; color: var(--brand); font-weight: 400; }
.sh-sub { font-size: 17px; color: var(--ink-2); line-height: 1.76; max-width: 560px; }

/* ══════════════ HERO ══════════════ */
.hero {
  background: linear-gradient(150deg, #e9f4f2 0%, var(--bg) 52%, #faf0e8 100%);
  padding: 56px 52px 60px; text-align: center;
}
.hero-h1 {
  font-family: var(--font-heading);
  font-size: 58px; font-weight: 700; line-height: 1.08;
  letter-spacing: -.015em; color: var(--ink);
  max-width: 760px; margin: 0 auto 16px;
}
.hero-h1 em { font-style: normal; color: var(--brand); font-weight: 400; }
.hero-sub {
  font-size: 17px; color: var(--ink-2); line-height: 1.72;
  max-width: 480px; margin: 0 auto 32px;
}
.hero-form { max-width: 600px; margin: 0 auto; }
.hero-row {
  display: flex; background: var(--surface); border-radius: 100px;
  box-shadow: var(--sh-md), 0 0 0 1.5px var(--border);
  overflow: hidden; margin-bottom: 10px;
}
.hero-row input {
  flex: 1; min-width: 0; padding: 17px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px;
  color: var(--ink); border: none; outline: none; background: transparent;
}
.hero-row input::placeholder { color: var(--ink-3); }
.hero-row .btn {
  margin: 6px; border-radius: 100px; font-size: 14px; padding: 11px 22px;
  background: var(--cta); color: #fff;
}
.hero-row .btn:hover { background: var(--cta-dark); }
.hero-tabs {
  display: inline-flex; background: var(--surface);
  border: 1.5px solid var(--border); border-radius: 100px;
  padding: 4px; gap: 3px; margin-bottom: 16px;
}
.hero-tab {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 22px; border-radius: 100px; border: none;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 500;
  color: var(--ink-2); background: transparent; cursor: pointer; transition: all .18s;
}
.hero-tab.is-active { background: var(--brand); color: #fff; }
.hero-tab:disabled { opacity: .55; cursor: default; }
.hero-tab svg { flex-shrink: 0; }
.hero-panel { display: none; }
.hero-panel.is-active { display: block; }
#hero-upload-btn {
  width: 100%; border: 2px dashed var(--border); border-radius: var(--r1);
  padding: 40px 32px; text-align: center; cursor: pointer;
  background: var(--surface); transition: border-color .2s, background .2s;
  display: block;
}
#hero-upload-btn:hover, #hero-upload-btn.is-drag { border-color: var(--brand); background: var(--brand-pale); }
#hero-upload-btn:disabled { opacity: .55; cursor: default; }
.dropzone-title {
  font-family: var(--font-heading); font-size: 17px; font-weight: 700;
  color: var(--ink); margin: 14px 0 6px;
}
.dropzone-sub { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.hero-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; margin-top: 24px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.trust-item svg { color: var(--brand); flex-shrink: 0; }

/* Cumulative-usage stat — a quiet counter readout, not a card or
   button. Sits under the trust row as a single big number with a tiny
   icon and caption underneath. */
.hero-stat {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin: 32px auto 0;
  background: none; padding: 0; box-shadow: none; border: 0;
}
.hero-stat-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); opacity: .85;
}
.hero-stat-text {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--font-heading); line-height: 1;
}
.hero-stat-num {
  font-size: 42px; font-weight: 800; letter-spacing: -1px;
  line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hero-stat-unit { font-size: 22px; font-weight: 700; color: var(--ink); }
.hero-stat-label { font-size: 22px; font-weight: 500; color: var(--ink-2); }

/* ══════════════ HOW IT WORKS ══════════════ */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.step { background: var(--bg); border-radius: var(--r2); padding: 30px 26px 28px; }
.step-num {
  width: 34px; height: 34px; background: var(--brand); color: #fff;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; margin-bottom: 18px;
}
.step-title { font-family: var(--font-heading); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--ink-2); line-height: 1.68; }

/* ══════════════ WHY VTS ══════════════ */
.feats { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feat {
  background: var(--surface); border-radius: var(--r2);
  padding: 30px; border: 1px solid var(--border-faint);
  box-shadow: var(--sh-xs); transition: box-shadow .2s, transform .2s;
}
.feat:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.feat-icon {
  width: 42px; height: 42px; background: var(--brand-light);
  border-radius: 11px; display: flex; align-items: center; justify-content: center;
  color: var(--brand); margin-bottom: 18px;
}
.feat-title { font-family: var(--font-heading); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feat-desc { font-size: 14px; color: var(--ink-2); line-height: 1.72; }

/* ══════════════ OUTPUT TYPES ══════════════ */
.outputs { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.out-card {
  border: 1.5px solid var(--border); border-radius: var(--r2);
  padding: 34px; position: relative; overflow: hidden; background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
.out-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--brand);
}
.out-card:hover { border-color: var(--brand); box-shadow: var(--sh-md); }
.out-type {
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 10px;
}
.out-title { font-family: var(--font-heading); font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.out-desc { font-size: 14px; color: var(--ink-2); line-height: 1.72; }

/* ══════════════ USE CASES ══════════════ */
.usecases { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.uc {
  background: var(--surface); border-radius: var(--r1);
  padding: 24px; display: flex; align-items: flex-start; gap: 16px;
  border: 1px solid var(--border-faint); transition: all .18s;
}
.uc:hover { border-color: var(--brand-light); box-shadow: var(--sh-sm); }
.uc-ico {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--brand-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--brand);
}
.uc-title { font-family: var(--font-heading); font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.uc-desc { font-size: 13px; color: var(--ink-2); line-height: 1.65; }

/* ══════════════ PRICING ══════════════ */
.prices { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; align-items: start; }
.price-card { background: var(--surface); border-radius: var(--r3); padding: 36px; border: 1.5px solid var(--border); }
.price-card.featured {
  border-color: var(--brand);
  background: linear-gradient(150deg, var(--brand-pale) 0%, var(--surface) 100%);
  box-shadow: 0 8px 48px rgba(74,120,112,.16); transform: scale(1.04);
}
.price-badge {
  display: inline-flex; background: var(--brand); color: #fff;
  font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 18px;
}
.price-name { font-family: var(--font-heading); font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.price-val {
  font-size: 44px; font-weight: 300; line-height: 1;
  color: var(--ink); margin-bottom: 6px; display: flex; align-items: baseline; gap: 3px;
}
.price-val .sup { font-size: 22px; font-weight: 400; }
.price-val .per { font-size: 15px; color: var(--ink-2); font-weight: 400; }
.price-per-min { font-size: 12px; color: var(--ink-2); font-family: var(--fB); margin: -2px 0 12px; letter-spacing: 0.02em; }
.price-desc {
  font-size: 14px; color: var(--ink-2); line-height: 1.65;
  padding-bottom: 22px; margin-bottom: 22px;
  border-bottom: 1px solid var(--border-faint);
}
.price-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.price-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--ink-2); }
.price-list .ck { color: var(--brand); flex-shrink: 0; margin-top: 1px; font-weight: 700; }
.price-note { text-align: center; margin-top: 28px; font-size: 13px; color: var(--ink-3); }

/* ══════════════ COMPARISON ══════════════ */
.comp {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--surface); border-radius: var(--r2); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--sh-sm);
}
.comp th {
  padding: 16px 28px; text-align: left;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); border-bottom: 1px solid var(--border-faint);
}
.comp th.vc { background: var(--brand-light); color: var(--brand); }
.comp td { padding: 15px 28px; font-size: 14px; border-bottom: 1px solid var(--border-faint); }
.comp td.vc { background: rgba(227,239,237,.45); font-weight: 500; }
.comp tr:last-child td { border-bottom: none; }
.comp .yes { color: var(--brand); font-weight: 600; }
.comp .no  { color: var(--ink-3); }
.comp-wrap { overflow-x: auto; }

/* ══════════════ FAQ ══════════════ */
.faq { border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; background: var(--surface); }
.faq-item { border-bottom: 1px solid var(--border-faint); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 28px; text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 500;
  color: var(--ink); background: none; border: none; cursor: pointer; transition: background .15s;
}
.faq-q:hover { background: var(--bg); }
.faq-plus {
  width: 26px; height: 26px; flex-shrink: 0;
  background: var(--brand-light); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); font-size: 17px; transition: transform .25s;
}
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-body-inner { padding: 0 28px 22px; font-size: 15px; color: var(--ink-2); line-height: 1.78; }

/* ══════════════ CTA + FOOTER ══════════════ */
.cta-sec { background: var(--ink); text-align: center; padding: 108px 52px; }
.cta-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-mid); margin-bottom: 20px; }
.cta-h2 {
  font-family: var(--font-heading); font-size: 58px; font-weight: 700;
  line-height: 1.11; color: #fff; margin-bottom: 18px;
}
.cta-p { font-size: 18px; color: rgba(255,255,255,.5); max-width: 420px; margin: 0 auto 44px; line-height: 1.72; }
.cta-note { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.3); }
.site-footer {
  background: var(--ink); border-top: 1px solid rgba(255,255,255,.06);
  padding: 22px 52px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.site-footer p, .site-footer a { font-size: 13px; color: rgba(255,255,255,.3); text-decoration: none; }
.site-footer a:hover { color: rgba(255,255,255,.55); }
.site-footer .foot-links { display: flex; gap: 18px; }

/* ── RESPONSIVE ──────────────────────── */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2,1fr); }
  .feats, .outputs, .usecases, .prices { grid-template-columns: repeat(2,1fr); }
  .price-card.featured { transform: none; }
}
@media (max-width: 720px) {
  .nav { padding: 0 22px; gap: 16px; }
  .nav-right { gap: 14px; }
  .nav-center { display: none; }
  .nav-link, .nav-balance { display: none; }
  .hdr-desktop-only { display: none !important; }
  .hdr-mobile-only { display: inline-flex !important; }
  .sec { padding: 64px 22px; }
  .hero { padding: 40px 22px 48px; }
  .hero-h1 { font-size: 38px; }
  .sh-title, .cta-h2 { font-size: 32px; }
  .steps, .feats, .outputs, .usecases, .prices { grid-template-columns: 1fr; }
  .hero-trust { gap: 12px; }
  .hero-stat-icon { width: 30px; height: 30px; }
  .hero-stat-num { font-size: 34px; }
  .hero-stat-unit, .hero-stat-label { font-size: 18px; }
  .comp th, .comp td { padding: 12px 16px; }
  .site-footer { padding: 22px; }
}

/* ════════════════════════════════════════════════════════════
   FUNCTIONAL APP COMPONENTS — carried from the working page,
   unmodified except via the token aliases above. These drive the
   live transcribe flow and payment modals; do not restyle ad hoc.
   ════════════════════════════════════════════════════════════ */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes vts-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(.8); } }
@keyframes vts-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes vts-pop { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--fB); font-weight: 600; cursor: pointer;
  border: none; outline: none; transition: all 0.12s ease;
  white-space: nowrap; text-decoration: none; box-sizing: border-box;
  padding: 11px 22px; font-size: 14px; border-radius: 100px;
  background: var(--cta); color: #fff;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:disabled { opacity: 0.48; cursor: not-allowed; transform: none; filter: none; }
.btn--sm { padding: 7px 16px; font-size: 13px; }
.btn--lg { padding: 14px 30px; font-size: 15px; }
.btn--secondary { background: var(--surface); color: var(--ink); border: 1.5px solid var(--border); }
.btn--secondary:hover { background: var(--bg); filter: none; }
.btn--full { width: 100%; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 100px; line-height: 1.4;
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em;
  font-family: var(--fB);
  background: var(--bg); color: var(--text-2); border: 1px solid var(--border);
}
.badge--success { background: var(--ok-pale); color: var(--ok); border-color: transparent; }
.badge--warning { background: var(--warn-pale); color: var(--warn); border-color: transparent; }
.badge--accent  { background: var(--accent-pale); color: var(--accent); border-color: transparent; }

.flow-zone {
  display: none;
  background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.flow-zone.is-active { display: block; }
.flow-inner { max-width: 620px; margin: 0 auto; padding: 40px 24px; }
.flow-state { display: none; }
.flow-state.is-active { display: block; }
.flow-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 32px 24px; text-align: center;
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--accent-pale); border-top-color: var(--accent);
  border-radius: 50%; margin: 0 auto 14px;
  animation: spin 0.75s linear infinite;
}
.flow-card p { font-family: var(--fB); margin: 0; }
.flow-card .title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.flow-card .url   { font-size: 12px; color: var(--text-3); word-break: break-all; }

.quote-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; margin-top: 4px;
}
.quote-head { padding: 18px 20px 16px; background: var(--bg); border-bottom: 1px solid var(--border); }
.quote-head .label {
  font-family: var(--fB); font-size: 11px; font-weight: 600;
  color: var(--text-3); letter-spacing: 0.07em;
  text-transform: uppercase; margin: 0 0 6px;
}
.quote-head .title {
  font-family: var(--fH); font-size: 15px; font-weight: 700;
  color: var(--text); margin: 0 0 10px; letter-spacing: -0.01em;
}
.quote-head .badges { display: flex; gap: 7px; flex-wrap: wrap; }
.quote-body { padding: 14px 20px 20px; }
.quote-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.quote-row:last-of-type { border-bottom: none; }
.quote-row span { font-family: var(--fB); font-size: 14px; color: var(--text-2); }
.quote-row span.dim { color: var(--text-3); }
.quote-row strong { font-family: var(--fH); font-size: 15px; font-weight: 700; color: var(--text); }
.quote-row strong.hi { color: var(--ok); }
.quote-row strong.warn { color: var(--warn); }
.quote-row strong.strong { font-weight: 800; }
.quote-note { font-family: var(--fB); font-size: 12px; color: var(--text-3); line-height: 1.55; margin: 12px 0 0; }
.quote-note.center { text-align: center; margin: 10px 0 0; }

.proc-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 24px;
}
.proc-title { font-family: var(--fH); font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 20px; letter-spacing: -0.01em; }
.proc-bar { height: 3px; background: var(--border); border-radius: 99px; margin-bottom: 20px; overflow: hidden; }
.proc-bar-fill { height: 100%; width: 0%; background: var(--accent); border-radius: 99px; transition: width 0.5s ease; }
.proc-steps { display: grid; gap: 2px; }
.proc-step { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; transition: background 0.3s; }
.proc-step.is-active { background: var(--accent-pale); }
.proc-step-dot {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--border); transition: all 0.3s;
}
.proc-step.is-done .proc-step-dot { background: var(--ok); }
.proc-step.is-active .proc-step-dot { background: var(--accent); }
.proc-step-label { font-family: var(--fB); font-size: 14px; font-weight: 400; color: var(--text-3); }
.proc-step.is-done .proc-step-label { color: var(--text); font-weight: 500; }
.proc-step.is-active .proc-step-label { color: var(--accent); font-weight: 600; }
.proc-pulse { width: 6px; height: 6px; border-radius: 50%; background: white; animation: vts-pulse 1.1s ease-in-out infinite; }

.result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.result-head .title { font-family: var(--fH); font-size: 16px; font-weight: 800; color: var(--text); margin: 0 0 6px; letter-spacing: -0.01em; }
.result-head .badges { display: flex; gap: 6px; flex-wrap: wrap; }
.result-restart {
  background: none; border: none; cursor: pointer;
  font-family: var(--fB); font-size: 13px; color: var(--text-3);
  padding: 4px; white-space: nowrap;
}
.result-restart:hover { color: var(--text); }
.topup-toast {
  max-width: 760px; margin: 16px auto 0; padding: 12px 16px;
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46;
  border-radius: 12px; font-family: var(--fB); font-size: 14px; text-align: center;
}
.topup-toast strong { color: #047857; }
.transcript-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 10px; }
.tab-bar { display: flex; border-bottom: 1px solid var(--border); padding-left: 4px; }
.tab-btn {
  padding: 11px 15px; border: none; background: none; cursor: pointer;
  font-family: var(--fB); font-size: 13px; font-weight: 450; color: var(--text-2);
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.12s; white-space: nowrap;
}
.tab-btn.is-active { color: var(--accent); font-weight: 600; border-bottom-color: var(--accent); }
.transcript-body { padding: 20px 22px; max-height: 280px; overflow-y: auto; }
.transcript-body pre { font-family: var(--fB); font-size: 14px; line-height: 1.85; color: var(--text); margin: 0; white-space: pre-wrap; word-break: break-word; }
.transcript-body pre.mono { font-family: "Fira Code", ui-monospace, monospace; }
.download-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.download-row .btn { padding: 8px 16px; }
.download-row .ext { opacity: 0.5; margin-left: 2px; }
.signup-nudge {
  display: flex; gap: 16px; align-items: center; padding: 16px 20px;
  background: var(--accent-pale); border: 1px solid var(--brand-light);
  border-radius: 12px; flex-wrap: wrap;
}
.signup-nudge .text { flex: 1; min-width: 180px; }
.signup-nudge .text p:first-child { font-family: var(--fB); font-weight: 600; font-size: 14px; color: var(--text); margin: 0 0 2px; }
.signup-nudge .text p:last-child { font-family: var(--fB); font-size: 13px; color: var(--text-2); margin: 0; }
.signup-nudge-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.flow-error { background: var(--err-pale); border: 1px solid rgba(207,48,48,0.25); border-radius: 14px; padding: 16px 20px; }
.flow-error p { font-family: var(--fB); font-size: 14px; color: var(--err); margin: 0; }

.flow-blocked { background: var(--warn-pale); border: 1px solid rgba(196,122,30,0.28); border-radius: 14px; padding: 20px 22px; text-align: center; }
.flow-blocked-title { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.flow-blocked-msg { font-family: var(--fB); font-size: 14px; color: var(--text); margin: 0; }
.flow-blocked-reset { font-family: var(--fB); font-size: 13px; color: var(--text-2); margin: 6px 0 0; }
.flow-blocked-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
.flow-blocked-actions .btn { display: inline-flex; justify-content: center; align-items: center; text-decoration: none; }

.ad-slot { margin: 28px auto; max-width: 1120px; padding: 12px 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; text-align: center; }
.ad-slot .ad-label { display: block; font-family: var(--fB); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.ad-slot ins { min-height: 90px; }
.ad-slot:empty { display: none; }

.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 14, 13, 0.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 24px;
  animation: vts-fade-in 0.2s ease-out;
}
.modal-overlay.is-active { display: flex; }
.modal-card {
  background: var(--bg-card); border-radius: 18px; max-width: 460px; width: 100%;
  padding: 32px 28px 26px; box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  animation: vts-pop 0.22s ease-out; position: relative;
}
.modal-card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-pale); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.modal-card h3 { font-family: var(--fH); font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; margin: 0 0 8px; }
.modal-card p.reason { font-family: var(--fB); font-size: 14px; color: var(--text-2); line-height: 1.6; margin: 0 0 18px; }
.modal-video { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--bg); border-radius: 10px; margin-bottom: 18px; }
.modal-video .title-text { font-family: var(--fB); font-size: 13px; font-weight: 600; color: var(--text); margin: 0 0 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.modal-video .duration { font-family: var(--fB); font-size: 12px; color: var(--text-3); }
.modal-cost-row { display: flex; justify-content: space-between; padding: 8px 0; font-family: var(--fB); font-size: 14px; }
.modal-cost-row.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; font-weight: 600; }
.modal-cost-row span { color: var(--text-2); }
.modal-cost-row strong { color: var(--text); font-family: var(--fH); font-weight: 800; }
.modal-cost-row.modal-cost-sub { padding: 4px 0 4px 14px; font-size: 13px; }
.modal-cost-row.modal-cost-sub span { color: var(--text-3); }
.modal-cost-row.modal-cost-sub strong { color: var(--text-2); font-weight: 600; font-family: var(--fB); }
#paywall-breakdown { border-left: 2px solid var(--border-faint); margin-left: 4px; padding-left: 8px; margin-bottom: 6px; }
.modal-diarize { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.modal-diarize input { margin-top: 2px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--brand, #4a7870); cursor: pointer; }
.modal-diarize-text { display: flex; flex-direction: column; gap: 2px; }
.modal-diarize-text strong { font-family: var(--fH); font-size: 13.5px; font-weight: 800; color: var(--text); }
.modal-diarize-note { font-family: var(--fB); font-size: 12px; color: var(--text-2); }
.modal-cta-row { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.modal-micro { font-family: var(--fB); font-size: 12px; color: var(--text-3); text-align: center; margin: 10px 0 0; line-height: 1.5; }
.modal-login { font-family: var(--fB); font-size: 13px; color: var(--text-2); text-align: center; margin: 12px 0 0; }
.modal-login a { color: var(--accent); font-weight: 600; text-decoration: none; }
.modal-login a:hover { text-decoration: underline; }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer; padding: 6px; color: var(--text-3); border-radius: 8px; display: flex; }
.modal-close:hover { background: var(--bg); color: var(--text); }
.topup-field { display: block; text-align: left; margin: 14px 0 6px; }
.topup-field > span { display: block; font-family: var(--fB); font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.topup-input-wrap { display: flex; align-items: center; gap: 6px; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 14px; background: #fff; }
.topup-input-wrap:focus-within { border-color: var(--accent); }
.topup-cur { font-family: var(--fB); font-size: 18px; color: var(--text-2); }
#topup-amount { flex: 1; border: 0; outline: 0; background: transparent; font-family: var(--fB); font-size: 20px; font-weight: 700; color: var(--text); min-width: 0; }
.topup-err { color: var(--err); font-family: var(--fB); font-size: 13px; margin: 8px 0 0; text-align: left; }

/* ── Dark top navigation (#1f2c29 @ ~90%) ── */
.nav { background: #1f2c29e6; }
.nav-logo { color: #fff; }
.nav-link { color: rgba(255,255,255,.70); }
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; font-weight: 500; }
.nav-balance { color: rgba(255,255,255,.88); background: rgba(255,255,255,.10); }
.nav .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.nav .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.nav.scrolled { border-color: rgba(255,255,255,.12); box-shadow: 0 2px 24px rgba(0,0,0,.22); }
