/* HearYourDocs theme v10 — shared by every page, loaded after each page's own styles.
   Brand: Orange #FF5A36 (always with ink text on it), Ink #17130F, Blush #FFEDE7, Sand #F6F1EE, Rust #B8361A.
   Type: Rubik 800 headings, Figtree body, IBM Plex Mono for data and timings.
   Signature effect (thick outline + offset shadow) only on the tool card and the play button. */
:root{
  --bg:#F6F1EE; --surface:#FFFFFF; --surface-2:#FFEDE7; --ink:#17130F; --mist:#5E544B;
  --accent:#FF5A36; --accent-text:#B8361A; --accent-soft:#FFEDE7; --hair:#E2D7CF;
  --red:#C22E2E; --green:#187A54;
  --f-head:'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body:'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono:'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}
html{ -webkit-text-size-adjust:100%; }
body{ font-family:var(--f-body); background:var(--bg); color:var(--ink); line-height:1.6; }
h1, h2, h3, .logo-word{ font-family:var(--f-head); }
h1, h2{ font-weight:800; letter-spacing:-0.028em; line-height:1.08; text-wrap:balance; }
h3{ font-weight:700; letter-spacing:-0.015em; text-wrap:balance; }
p, li, summary, figcaption{ text-wrap:pretty; }
code, kbd, .mono, time{ font-family:var(--f-mono); font-variant-numeric:tabular-nums; }
::selection{ background:#FFD4C7; color:var(--ink); }
:focus-visible{ outline:3px solid var(--accent-text); outline-offset:2px; }
a{ text-underline-offset:3px; }

/* ---------- header ---------- */
header{ background:var(--bg); border-bottom:1px solid var(--hair); }
.logo-word{ font-weight:700; letter-spacing:-0.03em; text-transform:lowercase; }
.logo-word .dim{ color:var(--ink); opacity:1; font-weight:500; }
.nav-links a, .nav-drop > button{ font-family:var(--f-body); font-weight:600; color:var(--ink); }
.nav-links a:hover, .nav-drop > button:hover{ color:var(--accent-text); }
.nav-drop-menu, .dl-menu{ box-shadow:0 12px 32px -16px rgba(23,19,15,.35) !important; border:1px solid var(--hair) !important; border-radius:12px; }
.nav-drop-menu a small{ color:var(--mist); }
/* Ko-fi stays low-key: a plain link, not a pill */
.nav-links .nav-support, .mobile-menu .nav-support{ background:none !important; border:none !important; padding:0 !important; color:var(--mist) !important; font-weight:600; box-shadow:none !important; }
.install-pill{ background:none; border:1.5px solid var(--ink); color:var(--ink); box-shadow:none; }
.mobile-menu{ background:var(--bg); border-bottom:1px solid var(--hair); }
.mobile-menu a{ min-height:44px; display:flex; align-items:center; }
.mobile-menu .mm-head{ font-family:var(--f-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--mist); }
.nav-toggle{ min-width:44px; min-height:44px; }

/* ---------- shared content components (landing pages) ---------- */
.kicker{ font-family:var(--f-mono); font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--accent-text); font-weight:500; }
.lede, p.mist, .byline{ color:var(--mist); }
.answer{ background:var(--surface); border:1px solid var(--hair); border-left:4px solid var(--accent); box-shadow:none !important; border-radius:12px; }
.answer b{ font-family:var(--f-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--accent-text); font-weight:500; }
.callout{ background:var(--surface-2); border:none; box-shadow:none !important; border-radius:12px; }
.step{ box-shadow:none !important; }
.step-n{ font-family:var(--f-mono); background:var(--ink); color:var(--bg); border:none; }
.cta-block{ background:var(--ink); color:var(--bg); border:none; box-shadow:none !important; border-radius:16px; }
.cta-block h3, .cta-block p{ color:var(--bg); }
.cta-btn, .v10-btn{ display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:12px 22px; background:var(--accent); color:var(--ink) !important; border:2px solid var(--ink); border-radius:12px; font-family:var(--f-body); font-weight:700; font-size:16px; text-decoration:none; box-shadow:none; cursor:pointer; }
.cta-btn:hover, .v10-btn:hover{ background:#FF7352; }
table.cmp, .v10-table{ border-collapse:collapse; width:100%; background:var(--surface); box-shadow:none !important; }
table.cmp th, table.cmp td{ border-color:var(--hair); }
table.cmp td, .v10-table td{ font-variant-numeric:tabular-nums; }
table.cmp td.us, .v10-table .us{ background:var(--surface-2); font-weight:700; }
.faq-block details{ border-color:var(--hair); box-shadow:none !important; }
.faq-block summary{ font-family:var(--f-body); font-weight:700; min-height:44px; }
.related a{ color:var(--accent-text); }
.calc, .gen, .demo{ box-shadow:none !important; border-width:1px !important; border-color:var(--hair) !important; }
.calc-card b{ font-family:var(--f-mono) !important; font-weight:500; font-variant-numeric:tabular-nums; }
.proof-receipt{ box-shadow:none !important; }
.history-panel{ box-shadow:-1px 0 0 var(--ink) !important; }

/* ---------- footer ---------- */
footer{ background:var(--ink); color:#D9CFC8; border-top:none; }
footer .footer-head{ font-family:var(--f-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--accent); font-weight:500; }
footer .footer-col a, footer .footer-meta, footer .footer-meta a{ color:#D9CFC8; }
footer .footer-col a:hover, footer .footer-meta a:hover{ color:#FFFFFF; }
footer a{ min-height:32px; }

/* ---------- homepage ---------- */
.home .hero{ padding:28px 0 40px; background:var(--bg); }
.home .hero::before, .home .hero::after{ display:none !important; }
.home .hero h1{ font-size:clamp(34px, 7.2vw, 64px); max-width:15ch; margin:10px 0 12px; }
.home .hero .sub{ font-size:clamp(17px, 2.2vw, 20px); max-width:46ch; color:var(--ink); }
.home .eyebrow.v10-facts{ display:inline-block; font-family:var(--f-mono); font-size:13px; color:var(--mist); background:none; border:none; padding:0; letter-spacing:0; }
.home .eyebrow.v10-facts .dot{ display:none; }
.home .hero-sample a{ color:var(--accent-text); font-weight:600; }
/* signature element 1: the tool card */
.home .deck{ border:2.5px solid var(--ink); box-shadow:6px 6px 0 var(--ink); border-radius:18px; }
.home .deck-tab{ font-family:var(--f-body); color:var(--mist); }
.home .deck-tab.active{ color:var(--ink); border-bottom-color:var(--accent); }
.home .drop-zone{ border:2px dashed #CDBFB5; background:var(--bg); color:var(--mist); padding:28px 16px; }
.home .drop-zone:hover, .home .drop-zone.drag{ border-color:var(--accent-text); background:var(--surface-2); }
.home .v10-drop-btn{ display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:12px 24px; background:var(--accent); color:var(--ink); border:2px solid var(--ink); border-radius:12px; font-weight:700; font-size:17px; }
.home .v10-drop-or{ margin-top:8px; font-weight:600; }
/* signature element 2: the play button */
.home #playBtn{ background:var(--accent); color:var(--ink); border:2.5px solid var(--ink); box-shadow:3px 3px 0 var(--ink); min-height:52px; }
.home #playBtn:active{ transform:translate(2px,2px); box-shadow:1px 1px 0 var(--ink); }
.home #playBtn:disabled{ box-shadow:none; }
.home .engine-status, .home #engineStatusText, .home .text-stats, .home .time-left, .home #speedVal{ font-family:var(--f-mono); font-variant-numeric:tabular-nums; }
.home .sentence-view .sentence.current{ background:#FFD4C7; box-shadow:none; border-radius:4px; }

.v10-sec{ padding:56px 0; border-top:1px solid var(--hair); }
.v10-sec h2{ font-size:clamp(28px, 4.6vw, 44px); max-width:22ch; margin-bottom:14px; }
.v10-lede{ font-size:18px; max-width:62ch; color:var(--ink); margin-bottom:24px; }
.v10-note{ font-size:14.5px; color:var(--mist); max-width:70ch; margin-top:16px; }
.v10-link{ color:var(--accent-text); font-weight:600; min-height:44px; display:inline-flex; align-items:center; }
.v10-split{ display:grid; gap:32px; grid-template-columns:1fr; align-items:start; }
@media (min-width:900px){ .v10-split{ grid-template-columns:1.1fr 1fr; gap:56px; } }
.v10-steps{ list-style:none; padding:0; margin:0; counter-reset:s; display:grid; gap:14px; }
.v10-steps li{ counter-increment:s; position:relative; padding-left:44px; font-size:17px; }
.v10-steps li::before{ content:counter(s); position:absolute; left:0; top:0; width:30px; height:30px; border-radius:8px; background:var(--ink); color:var(--bg); font-family:var(--f-mono); font-size:14px; display:flex; align-items:center; justify-content:center; }
/* product-in-action: a real reader state */
.v10-reader{ margin:0; background:var(--surface); border:1px solid var(--hair); border-radius:16px; padding:18px; }
.v10-reader-top{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px 12px; font-family:var(--f-mono); font-size:13px; padding-bottom:12px; border-bottom:1px solid var(--hair); }
.v10-file{ font-weight:500; }
.v10-meta{ color:var(--mist); }
.v10-reader-text{ font-size:18px; line-height:1.75; margin:16px 0; }
.v10-reader-text span{ color:var(--mist); }
.v10-reader-text mark{ background:#FFD4C7; color:var(--ink); padding:2px 3px; border-radius:4px; box-decoration-break:clone; -webkit-box-decoration-break:clone; }
.v10-reader-bar{ display:flex; align-items:center; gap:12px; }
.v10-play{ width:40px; height:40px; flex:0 0 auto; border-radius:50%; background:var(--accent); border:2px solid var(--ink); position:relative; }
.v10-play::after{ content:''; position:absolute; left:14px; top:11px; width:4px; height:14px; border-left:3.5px solid var(--ink); border-right:3.5px solid var(--ink); width:12px; box-sizing:border-box; }
.v10-track{ flex:1; height:6px; background:var(--surface-2); border-radius:3px; overflow:hidden; }
.v10-track i{ display:block; height:100%; background:var(--accent); }
.v10-time{ font-family:var(--f-mono); font-size:13px; font-variant-numeric:tabular-nums; }
.v10-reader figcaption{ font-size:13.5px; color:var(--mist); margin-top:14px; }
.v10-table{ font-size:15.5px; margin-top:32px; }
.v10-table caption{ text-align:left; font-family:var(--f-mono); font-size:12.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--accent-text); padding-bottom:10px; }
.v10-table th, .v10-table td{ text-align:left; vertical-align:top; padding:12px 14px; border-bottom:1px solid var(--hair); }
.v10-table thead th{ font-size:13px; font-family:var(--f-mono); font-weight:500; color:var(--mist); border-bottom:2px solid var(--ink); }
.v10-table tbody th{ font-weight:700; width:24%; }
.cmp-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.v10-cmp{ min-width:760px; }
.v10-cmp thead th.us{ color:var(--ink); background:var(--accent); border-bottom-color:var(--ink); }
/* voices: a row of chips, not cards */
.v10-voices{ display:flex !important; flex-wrap:wrap; gap:10px; }
.v10-voices .voice-card{ border:1.5px solid var(--ink); border-radius:999px; padding:8px 18px 8px 8px; min-height:48px; box-shadow:none; background:var(--surface); font-family:var(--f-body); }
.v10-voices .voice-card small{ font-family:var(--f-mono); font-size:11.5px; }
/* privacy: copy + ledger */
.v10-private{ background:var(--ink); color:var(--bg); border-top:none; }
.v10-private h2{ color:var(--bg); }
.v10-private p, .v10-private li{ color:#D9CFC8; }
.v10-private b{ color:var(--bg); }
.v10-private-grid{ display:grid; gap:32px; grid-template-columns:1fr; align-items:center; }
@media (min-width:900px){ .v10-private-grid{ grid-template-columns:1.2fr 1fr; gap:56px; } }
.v10-proof-steps{ padding-left:20px; margin:18px 0 24px; display:grid; gap:10px; }
.v10-actions{ display:flex; flex-wrap:wrap; gap:12px 20px; align-items:center; }
.v10-private .v10-link{ color:#FFB59F; }
.v10-ledger{ font-family:var(--f-mono); border:1px solid #3A322B; border-radius:14px; padding:6px 18px 16px; }
.v10-ledger-row{ display:flex; justify-content:space-between; gap:16px; padding:12px 0; border-bottom:1px solid #3A322B; font-size:14px; }
.v10-ledger-row span{ color:#D9CFC8; }
.v10-ledger-row b{ color:#7FD6AE; font-weight:500; text-align:right; font-variant-numeric:tabular-nums; }
.v10-ledger p{ font-family:var(--f-body); font-size:13.5px; margin-top:12px; }
/* free: two columns of different weight */
.v10-free-cols{ display:grid; gap:28px; grid-template-columns:1fr; margin-top:8px; }
@media (min-width:900px){ .v10-free-cols{ grid-template-columns:1fr 1fr; gap:48px; } }
.v10-free h3{ font-size:20px; margin-bottom:12px; }
.v10-ticks{ list-style:none; padding:0; display:grid; gap:8px; margin-bottom:16px; font-size:17px; }
.v10-ticks li{ padding-left:28px; position:relative; }
.v10-ticks li::before{ content:''; position:absolute; left:2px; top:7px; width:14px; height:8px; border-left:2.5px solid var(--green); border-bottom:2.5px solid var(--green); transform:rotate(-45deg); }
.v10-free a{ color:var(--accent-text); font-weight:600; }
.v10-limits{ background:var(--surface); border:1px solid var(--hair); border-radius:14px; padding:20px 22px; }
.v10-limits ul{ padding-left:18px; display:grid; gap:10px; }
/* FAQ */
.v10-faq-list{ max-width:780px; margin-top:12px; }
.v10-faq-list details{ border-bottom:1px solid var(--hair); }
.v10-faq-list summary{ cursor:pointer; list-style:none; padding:16px 36px 16px 0; font-weight:700; font-size:18px; position:relative; min-height:44px; }
.v10-faq-list summary::-webkit-details-marker{ display:none; }
.v10-faq-list summary::after{ content:'+'; position:absolute; right:6px; top:12px; font-family:var(--f-mono); font-size:22px; color:var(--accent-text); }
.v10-faq-list details[open] summary::after{ content:'–'; }
.v10-faq-list p{ padding:0 0 18px; max-width:68ch; }
.v10-faq-list a{ color:var(--accent-text); }
/* closing action */
.v10-end{ background:var(--surface-2); text-align:center; }
.v10-end-inner{ display:flex; flex-direction:column; align-items:center; gap:10px; }
.v10-end h2{ margin:0 auto; }
.v10-btn-big{ min-height:56px; font-size:18px; padding:14px 28px; margin-top:8px; }
@media (max-width:600px){
  .v10-sec{ padding:44px 0; }
  .v10-table tbody th{ width:auto; }
  .v10-steps li, .v10-ticks li{ font-size:16.5px; }
}
@media (prefers-reduced-motion:reduce){ *{ transition:none !important; animation:none !important; } }

/* ---------- v10 visual QA fixes ---------- */
footer .footer-col .footer-head{ color:var(--accent); }
footer > div[style]{ color:#BFB3A5 !important; }
footer .footer-meta{ border-top-color:#3A322B; }
@media (max-width:600px){
  /* main action on the first screen of a phone */
  .home .hero{ padding:14px 0 28px; }
  .home .eyebrow.v10-facts{ font-size:12px; }
  .home .hero h1{ font-size:32px; margin:6px 0 8px; }
  .home .hero .sub{ font-size:16.5px; line-height:1.5; }
  .home .hero-sample{ display:none; }
  .home .deck{ margin-top:16px; }
  .home .deck-strip{ padding:6px 10px; gap:4px; }
  .home .deck-strip .history-btn{ font-size:13.5px; padding:6px 10px; min-height:44px; }
  .home #proofBtnText{ display:none; }
  .home .drop-zone{ padding:18px 12px; }
  /* tables become stacked rows */
  .v10-table:not(.v10-cmp) thead{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .v10-table:not(.v10-cmp), .v10-table:not(.v10-cmp) tbody, .v10-table:not(.v10-cmp) tr, .v10-table:not(.v10-cmp) th, .v10-table:not(.v10-cmp) td{ display:block; width:auto; }
  .v10-table:not(.v10-cmp) tr{ padding:14px 0; border-bottom:1px solid var(--hair); background:var(--surface); }
  .v10-table:not(.v10-cmp) th, .v10-table:not(.v10-cmp) td{ border:none; padding:2px 14px; }
  .v10-table:not(.v10-cmp) td:last-child{ color:var(--mist); font-size:14.5px; margin-top:4px; }
  .v10-cmp-hint{ display:block !important; }
  /* voices two per row, ledger stacked */
  .v10-voices{ display:grid !important; grid-template-columns:1fr 1fr; }
  .v10-voices .voice-card{ padding-right:10px; }
  .v10-ledger-row{ flex-direction:column; gap:2px; }
  .v10-ledger-row b{ text-align:left; }
}
.v10-cmp-hint{ display:none; font-family:var(--f-mono); font-size:12.5px; color:var(--mist); margin:8px 0 0; }
.calc-card b{ font-size:18px !important; letter-spacing:-0.02em; }
