/* HEARING.co.il · Design System v2 "Clear Signal" · 2026-10-22
   Loaded after hearing.css (and hearing-upgrade.css where present). Restyles existing markup; no content changes.
   Direction: editorial authority + modern health-tech clarity. Warm paper, deep ink, one teal signal colour,
   serif display headlines, generous rhythm, answer-first panels, quiet but always-present contact paths.
   Sections: V1 fonts · V2 tokens · V3 base type · V4 header · V5 crumbs/meta · V6 answer panel
   V7 article shell + TOC · V8 prose · V9 cards/lists · V10 FAQ · V11 sources/related · V12 media slots
   V13 CTA modules · V14 floating button + mobile bar · V15 footer · V16 home · V17 glossary · V18 LTR · V19 motion/print */

/* V1 · fonts (self-hosted, OFL) */
@font-face { font-family: "Heebo V"; src: url("../fonts/heebo-hebrew-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo V"; src: url("../fonts/heebo-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Heebo V"; src: url("../fonts/heebo-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Frank Ruhl V"; src: url("../fonts/frank-ruhl-libre-hebrew-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Frank Ruhl V"; src: url("../fonts/frank-ruhl-libre-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Frank Ruhl V"; src: url("../fonts/frank-ruhl-libre-latin-ext-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Plex Arabic V"; src: url("../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic V"; src: url("../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic V"; src: url("../fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2"); font-weight: 700 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* V2 · tokens */
:root {
  --paper: #f7f5f0;
  --surface: #ffffff;
  --sunken: #efebe3;
  --ink: #102030;
  --ink-2: #4a5866;
  --ink-3: #6b7783;
  --rule: #e2ddd2;
  --rule-strong: #102030;
  --accent: #0b6870;
  --accent-strong: #074b52;
  --accent-tint: #e4f0ef;
  --accent-wash: #f1f7f6;
  --signal: #c8892a;
  --signal-tint: #fbf1df;
  --wa: #11745a;
  --wa-strong: #0b5a45;
  --focus: #b3470a;

  --font: "Heebo V", "Heebo", system-ui, -apple-system, "Segoe UI", "Arial Hebrew", "Noto Sans Hebrew", Arial, sans-serif;
  --display: "Frank Ruhl V", "Frank Ruhl Libre", "David Libre", Georgia, "Times New Roman", serif;

  --fs-0: 0.875rem; --fs-1: 1rem; --fs-2: 1.0625rem; --fs-3: 1.3125rem; --fs-4: 1.75rem;
  --fs-5: clamp(2rem, 1.4rem + 2.6vw, 2.875rem); --fs-6: clamp(2.375rem, 1.5rem + 3.8vw, 3.75rem);
  --wrap: 76rem; --measure: 42rem; --gutter: 1.125rem;
  --r-1: 8px; --r-2: 14px; --r-3: 22px;
  --sh-1: 0 1px 2px rgba(16, 32, 48, .06), 0 1px 1px rgba(16, 32, 48, .04);
  --sh-2: 0 2px 4px rgba(16, 32, 48, .05), 0 10px 28px rgba(16, 32, 48, .08);
  --header-h: 4rem;
  --bar-h: 4.25rem;
}
html[lang="ar"] { --font: "Plex Arabic V", "IBM Plex Sans Arabic", "Noto Sans Arabic", Tahoma, system-ui, sans-serif; --display: "Plex Arabic V", "IBM Plex Sans Arabic", "Noto Kufi Arabic", Tahoma, sans-serif; }

/* V3 · base type */
html { scroll-padding-top: calc(var(--header-h) + 1rem); }
body { background: var(--paper); color: var(--ink); font-size: var(--fs-2); line-height: 1.75; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; }
html[lang="he"] h1, html[lang="he"] h2 { letter-spacing: 0; }
h1 { font-size: var(--fs-5); line-height: 1.15; margin-bottom: var(--s-5); text-wrap: balance; }
h2 { font-size: var(--fs-4); line-height: 1.25; text-wrap: balance; }
h3 { font-size: var(--fs-3); font-weight: 700; line-height: 1.35; }
.lead { font-size: var(--fs-3); line-height: 1.6; color: var(--ink-2); }
a { color: var(--accent-strong); text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
::selection { background: var(--signal-tint); }
.section { border-top: 0; padding-block: var(--s-7); }

/* V4 · header: sticky, calm, brand mark with signal arcs */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.site-header__in { min-height: var(--header-h); }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink); gap: 0; padding-inline-start: 2.1rem; position: relative; }
.wordmark::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 1.6rem; height: 1.6rem; transform: translateY(-50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--accent) 0 18%, transparent 19% 33%, color-mix(in srgb, var(--accent) 70%, transparent) 34% 42%, transparent 43% 58%, color-mix(in srgb, var(--accent) 40%, transparent) 59% 66%, transparent 67%); }
.wordmark > .ltr { font-weight: 800; letter-spacing: .02em; font-size: 1.05rem; }
.wordmark__sub { font-size: .78rem; color: var(--ink-3); line-height: 1.3; }
.nav > summary { border-radius: var(--r-1); }
.nav__list a { font-weight: 600; font-size: var(--fs-1); color: var(--ink); text-decoration: none; }
@media (min-width: 62rem) {
  .nav__list { border: 0; gap: .15rem; }
  .nav__list li { border: 0; }
  .nav__list a { padding-inline: .7rem; border-radius: 999px; }
  .nav__list a:hover { background: var(--accent-wash); color: var(--accent-strong); text-decoration: none; }
}

/* V5 · breadcrumbs + meta */
.crumbs { color: var(--ink-3); padding-block: var(--s-4) var(--s-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent-strong); text-decoration: underline; }
.meta-bar { display: flex; flex-wrap: wrap; gap: .35rem .5rem; border: 0; padding: 0; margin: var(--s-4) 0 var(--s-5); font-size: var(--fs-0); color: var(--ink-2); }
.meta-bar > div { background: var(--surface); border: 1px solid var(--rule); border-radius: 999px; padding: .2rem .75rem; }

/* V6 · answer-first panel: the citable summary */
.answer { position: relative; background: var(--surface); border: 1px solid var(--rule); border-inline-start: 0; border-radius: var(--r-2); box-shadow: var(--sh-1);
  padding: var(--s-5) var(--s-5) var(--s-5); padding-inline-start: calc(var(--s-5) + 6px); max-width: var(--measure); font-size: var(--fs-3); line-height: 1.6; overflow: hidden; }
.answer::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 6px; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--signal))); }
.answer > :last-child { margin-bottom: 0; }
.answer p { max-width: none; }

/* V7 · article shell: content column + sticky TOC on wide screens */
article { position: relative; }
.toc { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-2); padding: var(--s-4) var(--s-5); margin-block: var(--s-5); box-shadow: var(--sh-1); }
.toc h2 { font-family: var(--font); font-size: var(--fs-0); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
html[lang="he"] .toc h2, html[lang="ar"] .toc h2 { text-transform: none; letter-spacing: 0; font-size: var(--fs-1); color: var(--ink-2); }
.toc ol { padding-inline-start: 1.1rem; font-size: var(--fs-1); }
.toc li + li { margin-top: .35rem; }
.toc a { text-decoration: none; color: var(--ink); }
.toc a:hover { color: var(--accent-strong); text-decoration: underline; }
@media (min-width: 68rem) {
  main article { display: grid; grid-template-columns: minmax(0, 1fr) 17.5rem; column-gap: 3.5rem; align-items: start; }
  main article > * { grid-column: 1; }
  main article > .toc { grid-column: 2; grid-row: 1 / span 40; position: sticky; top: calc(var(--header-h) + 1.25rem); margin-block: var(--s-2) 0; max-height: calc(100vh - var(--header-h) - 2.5rem); overflow: auto; }
}

/* V8 · prose rhythm */
.prose h2 { border-top: 0; padding-top: 0; margin-top: var(--s-7); }
.prose h2::before { content: ""; display: block; width: 2.5rem; height: 3px; border-radius: 3px; background: var(--accent); margin-bottom: var(--s-4); }
.prose h3 { margin-top: var(--s-6); }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: var(--s-5) 0; padding: var(--s-4) var(--s-5); background: var(--signal-tint); border-radius: var(--r-1); }
.prose table { border-radius: var(--r-1); overflow: hidden; }

/* V9 · cards, hubs, route lists */
.kcard { border-radius: var(--r-2); box-shadow: var(--sh-1); border-color: var(--rule); }
.kcard--term { background: var(--accent-wash); border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--rule)); border-inline-start: 4px solid var(--accent); }
.dt-stack { display: grid; gap: var(--s-3); }
.route-list { border: 0; display: grid; gap: .5rem; }
.route-list li { border: 0; }
.route-list a { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-1); padding: .85rem 1.1rem; text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .15s, box-shadow .15s, transform .15s; }
.route-list a:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--rule)); box-shadow: var(--sh-2); transform: translateY(-1px); background: var(--surface); }
.route-list a span span { display: block; font-weight: 400; font-size: var(--fs-0); color: var(--ink-2); }
.index-list { border-top: 0; display: grid; gap: var(--s-3); }
@media (min-width: 48rem) { .index-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .index-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.index-list > li { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-2); padding: var(--s-5); box-shadow: var(--sh-1); align-content: start; }
.index-list__num { font-family: var(--font); color: var(--signal); }
.index-list h3 { font-family: var(--display); font-size: 1.45rem; }
.index-list h3 a { text-decoration: none; }
.index-list h3 a:hover { color: var(--accent-strong); text-decoration: underline; }

/* V10 · FAQ */
.faq { display: grid; gap: .5rem; max-width: var(--measure); }
.faq details { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-1); padding: 0 1.1rem; }
.faq details[open] { box-shadow: var(--sh-1); }
.faq summary { padding-block: .95rem; font-weight: 700; cursor: pointer; }
.faq__a { padding-bottom: 1rem; color: var(--ink-2); }

/* V11 · sources + related ("continue reading") */
section[aria-labelledby="mekorot"] .sources, .sources-box { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-2); padding: var(--s-4) var(--s-5) var(--s-4) var(--s-6); }
section[aria-labelledby="mekorot"] h2, section[aria-labelledby="hemshech"] h2, section[aria-labelledby="faq"] h2 { font-size: var(--fs-3); }
section[aria-labelledby="hemshech"] .route-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); max-width: none; }
.hc-related { margin-block: var(--s-6); }
.hc-related h2 { font-size: var(--fs-3); }
.hc-related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.hc-related li { margin: 0; }
.hc-related a { display: flex; flex-direction: column; gap: .15rem; height: 100%; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-1); padding: .9rem 1.1rem; text-decoration: none; color: var(--ink); font-weight: 600; }
.hc-related a small { font-weight: 400; color: var(--ink-3); font-size: var(--fs-0); }
.hc-related a:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--rule)); box-shadow: var(--sh-2); }

/* V12 · media slots (brand motif in topic tone; holds an illustration when one is added) */
.hc-media { margin: var(--s-5) 0 var(--s-6); max-width: var(--measure); aspect-ratio: 16 / 7; border-radius: var(--r-2); overflow: hidden; position: relative; background: var(--accent-wash); border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--rule)); }
.hc-media::before, .hc-media::after { content: ""; position: absolute; border-radius: 50%; inset-inline-end: -8%; top: 50%; aspect-ratio: 1; transform: translateY(-50%); }
.hc-media::before { width: 62%; background: repeating-radial-gradient(circle, transparent 0 18px, color-mix(in srgb, var(--accent) 22%, transparent) 18px 20px); opacity: .9; }
.hc-media::after { width: 10%; background: var(--accent); inset-inline-end: calc(-8% + 26%); box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 18%, transparent); }
.hc-media[data-tone="changes"] { background: var(--signal-tint); }
.hc-media[data-tone="changes"]::after { background: var(--signal); box-shadow: 0 0 0 10px color-mix(in srgb, var(--signal) 22%, transparent); }
.hc-media[data-tone="devices"] { background: #e9edf8; }
.hc-media[data-tone="family"] { background: #f7eaee; }
.hc-media[data-tone="access"] { background: #eeeaf6; }
.hc-media img, .hc-media svg { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }

/* V13 · CTA modules */
.hc-ico { width: 1.25em; height: 1.25em; flex: none; }
.hc-btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.9rem; padding: .55rem 1.15rem; border-radius: 999px; font-weight: 700; font-size: var(--fs-1); text-decoration: none; border: 1.5px solid transparent; line-height: 1.2; transition: background .15s, box-shadow .15s, transform .15s; }
.hc-btn--wa { background: var(--wa); color: #fff; box-shadow: 0 2px 10px color-mix(in srgb, var(--wa) 30%, transparent); }
.hc-btn--wa:hover { background: var(--wa-strong); color: #fff; transform: translateY(-1px); }
.hc-btn--quiet { background: transparent; color: var(--accent-strong); border-color: color-mix(in srgb, var(--accent) 35%, var(--rule)); }
.hc-btn--quiet:hover { background: var(--accent-wash); color: var(--accent-strong); }
.hc-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.hc-btn--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.hc-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: var(--s-4) 0 0; }
.hc-kicker { font-size: var(--fs-0); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-strong); margin: 0 0 .35rem; }
html[lang="he"] .hc-kicker, html[lang="ar"] .hc-kicker { letter-spacing: 0; text-transform: none; }
.hc-title { font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1.3; margin: 0 0 .35rem; color: var(--ink); }
.hc-body { margin: 0; color: var(--ink-2); max-width: 36rem; }
.hc-operator, .hc-note { font-size: var(--fs-0); color: var(--ink-3); margin: var(--s-3) 0 0; }
.hc-link { font-weight: 700; }
.hc-cta { margin: var(--s-6) 0; max-width: var(--measure); padding: var(--s-5); border-radius: var(--r-2); background: linear-gradient(135deg, var(--accent-wash), var(--surface) 70%); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--rule)); position: relative; overflow: hidden; }
.hc-cta::after { content: ""; position: absolute; inset-inline-end: -3.5rem; top: -3.5rem; width: 9rem; height: 9rem; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 10px, color-mix(in srgb, var(--accent) 16%, transparent) 10px 11.5px); pointer-events: none; }
.hc-cta--changes { background: linear-gradient(135deg, var(--signal-tint), var(--surface) 70%); border-color: color-mix(in srgb, var(--signal) 30%, var(--rule)); }
.hc-help { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start; margin: var(--s-6) 0; max-width: var(--measure); padding: var(--s-5); border-radius: var(--r-2); background: var(--surface); border: 1px dashed color-mix(in srgb, var(--accent) 40%, var(--rule)); }
.hc-help__icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent-strong); }
.hc-help__icon .hc-ico { width: 1.5rem; height: 1.5rem; }
[data-hc]:empty { display: none; }

/* V14 · floating WhatsApp (wide) + sticky action bar (narrow) */
.hc-fab { position: fixed; z-index: 50; inset-inline-end: 1.25rem; bottom: 1.25rem; display: none; align-items: center; gap: .55rem; padding: .8rem 1.2rem; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 6px 22px rgba(11, 90, 69, .32); transition: transform .2s, opacity .2s; }
.hc-fab:hover { background: var(--wa-strong); color: #fff; transform: translateY(-2px); }
.hc-bar { position: fixed; z-index: 50; inset-inline: 0; bottom: 0; display: grid; grid-template-columns: 1.35fr 1fr; gap: .5rem; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--rule); box-shadow: 0 -6px 20px rgba(16, 32, 48, .07); transition: transform .25s; }
.hc-bar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 3rem; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; }
.hc-bar__wa { background: var(--wa); color: #fff; }
.hc-bar__wa:hover { color: #fff; background: var(--wa-strong); }
.hc-bar__start { background: var(--accent-wash); color: var(--accent-strong); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--rule)); }
.hc-on body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
.hc-foot-visible .hc-bar { transform: translateY(110%); }
.hc-foot-visible .hc-fab { opacity: 0; pointer-events: none; }
@media (min-width: 48rem) {
  .hc-fab { display: inline-flex; }
  .hc-bar { display: none; }
  .hc-on body { padding-bottom: 0; }
}

/* V15 · footer: authority + contact */
.site-footer { background: var(--ink); color: #d9e1e7; border-top: 0; margin-top: var(--s-8); }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.site-footer a:hover { color: #bfe3df; }
.site-footer h2 { font-family: var(--font); font-size: var(--fs-1); color: #fff; letter-spacing: .02em; }
.footer-note { color: #a9b6c1; border-top-color: rgba(255, 255, 255, .14); }
.hc-footer-contact { background: linear-gradient(135deg, #15334a, #0c2638); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-3); padding: var(--s-6); margin-bottom: var(--s-6); position: relative; overflow: hidden; }
.hc-footer-contact::after { content: ""; position: absolute; inset-inline-end: -5rem; bottom: -5rem; width: 16rem; height: 16rem; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 14px, rgba(191, 227, 223, .1) 14px 16px); pointer-events: none; }
.hc-footer-contact .hc-title { color: #fff; font-size: var(--fs-4); }
.hc-footer-contact .hc-body { color: #c8d3dc; }
.hc-footer-contact .hc-note, .hc-footer-contact .hc-operator { color: #a9b6c1; }
.hc-trust { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); margin: 0 0 var(--s-6); padding: 0; list-style: none; }
.hc-trust li { margin: 0; padding: var(--s-4); border-radius: var(--r-1); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); font-size: var(--fs-0); color: #c8d3dc; }
.hc-trust b { display: block; color: #fff; font-size: var(--fs-1); margin-bottom: .2rem; }

/* V16 · home */
.hv-hero { padding-block: var(--s-7) var(--s-6); position: relative; overflow: hidden; }
.hv-hero::after { content: ""; position: absolute; inset-inline-end: -12rem; top: -10rem; width: 38rem; height: 38rem; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 22px, color-mix(in srgb, var(--accent) 11%, transparent) 22px 24px); pointer-events: none; z-index: 0; }
.hv-hero > .wrap { position: relative; z-index: 1; }
.hv-eyebrow { display: inline-flex; gap: .5rem; align-items: center; font-size: var(--fs-0); font-weight: 700; color: var(--accent-strong); background: var(--surface); border: 1px solid var(--rule); border-radius: 999px; padding: .3rem .85rem; margin-bottom: var(--s-4); }
.hv-eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--signal); }
.hv-hero h1 { font-size: var(--fs-6); max-width: 15ch; margin-bottom: var(--s-4); }
.hv-hero .lead { max-width: 38rem; }
.hv-paths { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); margin-top: var(--s-6); list-style: none; padding: 0; }
.hv-paths li { margin: 0; }
.hv-paths a { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: var(--s-5); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-2); text-decoration: none; color: var(--ink); box-shadow: var(--sh-1); transition: border-color .15s, box-shadow .15s, transform .15s; }
.hv-paths a:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--rule)); box-shadow: var(--sh-2); transform: translateY(-2px); }
.hv-paths b { font-family: var(--display); font-size: 1.3rem; line-height: 1.3; }
.hv-paths span { color: var(--ink-2); font-size: var(--fs-1); }
.hv-paths em { font-style: normal; margin-top: auto; padding-top: .5rem; color: var(--accent-strong); font-weight: 700; font-size: var(--fs-0); }
.hv-section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-5); }
.hv-section-head h2 { margin: 0; }
.hv-section-head p { margin: 0; color: var(--ink-2); max-width: 32rem; }
.hv-hubs { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.hv-hubs li { margin: 0; }
.hv-hubs a { display: grid; grid-template-columns: 3rem 1fr; gap: .25rem 1rem; align-items: start; padding: var(--s-5); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-2); text-decoration: none; color: var(--ink); height: 100%; }
.hv-hubs a:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--rule)); box-shadow: var(--sh-2); }
.hv-hubs i { grid-row: span 2; width: 3rem; height: 3rem; border-radius: 50%; background: var(--accent-tint); display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--accent-strong); font-size: .9rem; }
.hv-hubs b { font-size: 1.15rem; }
.hv-hubs span { color: var(--ink-2); font-size: var(--fs-0); line-height: 1.55; }
.hv-feature { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.hv-feature li { margin: 0; }
.hv-feature a { display: block; height: 100%; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-2); overflow: hidden; }
.hv-feature a:hover { box-shadow: var(--sh-2); }
.hv-feature .hc-media { margin: 0; aspect-ratio: 16 / 8; border-radius: 0; border: 0; max-width: none; }
.hv-feature div { padding: var(--s-4) var(--s-5) var(--s-5); }
.hv-feature b { display: block; font-family: var(--display); font-size: 1.25rem; line-height: 1.3; margin-bottom: .3rem; }
.hv-feature span { color: var(--ink-2); font-size: var(--fs-1); }
.hv-trust { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.hv-trust li { margin: 0; padding: var(--s-5); border-top: 3px solid var(--accent); background: var(--surface); border-radius: 0 0 var(--r-1) var(--r-1); }
.hv-trust b { display: block; font-size: 1.1rem; margin-bottom: .3rem; }
.hv-trust span { color: var(--ink-2); font-size: var(--fs-1); }
.hv-band { background: var(--surface); border-block: 1px solid var(--rule); }

/* V17 · glossary */
.hv-az { position: sticky; top: var(--header-h); z-index: 5; display: flex; flex-wrap: wrap; gap: .35rem; padding: .6rem 0; background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); margin-bottom: var(--s-4); }
.hv-az a { min-width: 2.5rem; min-height: 2.5rem; display: grid; place-items: center; padding-inline: .6rem; border-radius: var(--r-1); background: var(--surface); border: 1px solid var(--rule); font-weight: 700; text-decoration: none; color: var(--ink); }
.hv-az a:hover { border-color: var(--accent); color: var(--accent-strong); }
.prose dl.glossary, .glossary { display: grid; gap: .6rem; }
.glossary > div { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-1); padding: 1rem 1.2rem; }
.glossary dt { font-weight: 800; font-size: 1.1rem; }
.glossary dd { margin: .25rem 0 0; color: var(--ink-2); }
.milon-page .prose > ul > li, .milon-page .prose > dl > div { break-inside: avoid; }

/* V18 · LTR fixes */
[dir="ltr"] .route-list a::after { content: "→"; }
[dir="ltr"] .crumbs li + li::before { content: "›"; }

/* V19 · motion / print */
@media (prefers-reduced-motion: reduce) { .hc-btn, .hc-fab, .hc-bar, .route-list a, .hv-paths a { transition: none; } .hc-btn:hover, .hc-fab:hover, .hv-paths a:hover, .route-list a:hover { transform: none; } }
@media print { .hc-fab, .hc-bar, .hc-cta, .hc-help, .hc-footer-contact, .hc-media, .site-header { display: none !important; } .site-footer { background: none; color: #000; } }

/* V20 · refinements after visual QA */
@media (max-width: 61.99rem) {
  .site-header__in { flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: .75rem; padding-block: .5rem; min-height: 3.75rem; }
  .nav { flex: 0 0 auto; position: static; }
  .nav > summary { min-height: 2.6rem; padding: .35rem .9rem; border: 1px solid var(--rule); font-size: .95rem; }
  .nav > nav { position: absolute; inset-inline: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--rule); box-shadow: var(--sh-2); padding: 0 var(--gutter) var(--s-4); max-height: calc(100vh - 4rem); overflow: auto; }
  .wordmark__sub { display: none; }
}
@media (min-width: 62rem) {
  .nav__list { flex-wrap: nowrap; }
  .nav__list a { padding-inline: .5rem; font-size: .92rem; white-space: nowrap; }
}
@media (min-width: 62rem) and (max-width: 84rem) { .wordmark__sub { display: none; } }
.hv-hero h1 { max-width: 19ch; }
.hc-media { aspect-ratio: 21 / 6; }
@media (min-width: 68rem) { main article { grid-template-columns: minmax(0, var(--measure)) 17.5rem; justify-content: start; column-gap: 4rem; } }
.hc-bar { grid-template-columns: 1.2fr 1fr; }
.hc-bar a { font-size: .92rem; padding-inline: .5rem; white-space: nowrap; }
.hv-home + .site-footer .hc-trust, .is-home .hc-trust { display: none; }
.hub-page .route-list { max-width: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); }
.hub-page .route-list a { height: 100%; align-items: flex-start; }
.hub-page .dt-stack { max-width: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.hub-page .answer { max-width: 52rem; }
.milon-page .prose > ul { list-style: none; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); max-width: none; }
.milon-page .prose > ul > li { margin: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-1); padding: .9rem 1.1rem; line-height: 1.6; }
.milon-page .prose > ul > li dfn { font-style: normal; font-size: 1.08rem; }
.milon-page .prose > ul > li:target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
@media (min-width: 68rem) { .milon-page article { grid-template-columns: minmax(0, 1fr) 15rem; } .milon-page .prose > ul { max-width: none; } }
.hc-answering { font-size: var(--fs-0); color: #c8d3dc; max-width: 46rem; margin: var(--s-4) 0 0; line-height: 1.65; }

/* V21 · explanatory diagrams (inline SVG, labelled in page language) */
.hc-figure { margin: var(--s-5) 0 var(--s-6); max-width: var(--measure); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-2); padding: var(--s-4) var(--s-4) var(--s-3); box-shadow: var(--sh-1); }
.hc-figure svg.dg { display: block; width: 100%; height: auto; font-family: var(--font); }
.hc-figure figcaption { font-size: var(--fs-0); color: var(--ink-2); line-height: 1.6; padding: var(--s-3) var(--s-2) 0; border-top: 1px solid var(--rule); margin-top: var(--s-3); }
.hc-figure figcaption b { color: var(--ink); }
.dg-t, .dg-h, .dg-s, .dg-k { fill: var(--ink); }
.dg-h { font-size: 19px; font-weight: 700; }
.dg-h--sm { font-size: 15px; }
.dg-s { font-size: 13px; fill: var(--ink-2); }
.dg-s--b { font-weight: 700; fill: var(--ink); }
.dg-k { font-size: 13px; font-weight: 700; fill: var(--accent-strong); }
.dg-box { fill: var(--accent-wash); stroke: color-mix(in srgb, var(--accent) 40%, var(--rule)); stroke-width: 1.5; }
.dg-box--brain { fill: var(--signal-tint); stroke: color-mix(in srgb, var(--signal) 55%, var(--rule)); }
.dg-box--soft { fill: var(--surface); stroke-dasharray: 5 4; }
.dg-zone { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 2 5; opacity: .6; }
.dg-arrow { stroke: var(--accent); stroke-width: 2.5; }
.dg-ahead { fill: var(--accent); }
.dg-tube { fill: none; stroke: var(--signal); stroke-width: 7; stroke-linecap: round; opacity: .85; }
.dg-coch { stroke: color-mix(in srgb, var(--accent) 50%, var(--rule)); stroke-width: 1.5; }
.dg-stop-hi { stop-color: var(--accent); }
.dg-stop-lo { stop-color: var(--signal); }
.dg-tick { stroke: var(--ink-3); stroke-width: 1.5; }
.dg-plot { fill: var(--surface); stroke: var(--ink-3); stroke-width: 1.2; }
.dg-grid { stroke: var(--rule); stroke-width: 1; }
.dg-line-r { fill: none; stroke: #c0392b; stroke-width: 2; }
.dg-line-l { fill: none; stroke: #2f5fb3; stroke-width: 2; stroke-dasharray: 6 4; }
.dg-o { fill: var(--surface); stroke: #c0392b; stroke-width: 2.5; }
.dg-x { stroke: #2f5fb3; stroke-width: 2.5; stroke-linecap: round; }
.dg-panel { fill: var(--accent-wash); stroke: var(--rule); }
.dg-ear { fill: none; stroke: var(--ink-3); stroke-width: 3; stroke-linecap: round; }
.dg-ear--in { stroke-width: 2; opacity: .7; }
.dg-dev { fill: var(--accent); stroke: var(--accent-strong); stroke-width: 1.5; }
.dg-tubeline { fill: none; stroke: var(--accent-strong); stroke-width: 4; stroke-linecap: round; }
.dg-wire { fill: none; stroke: var(--accent-strong); stroke-width: 2; }
.dg-tip { fill: var(--signal); }
.dg-scale { fill: color-mix(in srgb, var(--accent) 22%, var(--surface)); }
.dg-scale-risk { fill: color-mix(in srgb, #c0392b 30%, var(--surface)); }
.dg-range { stroke: var(--accent-strong); stroke-width: 4; stroke-linecap: round; }
.dg-lead { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 3; }
.dg-risk { stroke: #b03a2e; stroke-width: 2; stroke-dasharray: 5 4; }
.hv-defs__list { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); margin: 0; }
.hv-defs__list > div { background: var(--surface); border: 1px solid var(--rule); border-inline-start: 4px solid var(--accent); border-radius: var(--r-1); padding: var(--s-4) var(--s-5); }
.hv-defs__list dt { font-family: var(--display); font-size: 1.2rem; font-weight: 700; margin-bottom: .2rem; }
.hv-defs__list dt a { color: var(--ink); text-decoration: none; }
.hv-defs__list dt a:hover { color: var(--accent-strong); text-decoration: underline; }
.hv-defs__list dd { margin: 0; color: var(--ink-2); font-size: var(--fs-1); line-height: 1.6; }
@media (max-width: 40rem) {
  .hc-figure { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .hc-figure svg.dg { min-width: 600px; }
  .hc-figure figcaption { position: sticky; inset-inline-start: 0; max-width: calc(100vw - 2 * var(--gutter) - 2rem); }
}
@media (max-width: 40rem) {
  .hc-figure[data-diagram="audiogram"] { direction: ltr; }
  [dir="rtl"] .hc-figure[data-diagram="audiogram"] figcaption { direction: rtl; text-align: right; }
}
.dg-br { fill: none; stroke-width: 3; stroke-linecap: round; }
.dg-br--c { stroke: var(--accent); }
.dg-br--s { stroke: var(--signal); }
.dg-br--m { stroke: var(--ink-3); stroke-dasharray: 6 5; }
.dg-loopwire { fill: none; stroke: var(--signal); stroke-width: 5; stroke-dasharray: 2 0; }
.dg-wave { fill: none; stroke: var(--accent); stroke-width: 2; opacity: .7; }
.dg-tw { fill: #fff; }

/* V22 · lead paths: mid-article CTA, form */
.hc-mid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin: var(--s-6) 0; max-width: var(--measure); padding: var(--s-4) var(--s-5); border-radius: var(--r-2); background: var(--accent-wash); border-inline-start: 4px solid var(--wa); }
.hc-mid__t { margin: 0; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.hc-mid .hc-actions { margin: 0; }
.hc-form { margin: var(--s-5) 0 var(--s-6); max-width: var(--measure); padding: var(--s-5); border-radius: var(--r-2); background: var(--surface); border: 1px solid var(--rule); box-shadow: var(--sh-1); }
.hv-lead .hc-form { max-width: 46rem; margin-inline: auto; }
.hc-form__grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); margin: var(--s-4) 0; }
.hc-form label { display: grid; gap: .3rem; font-size: var(--fs-0); font-weight: 700; color: var(--ink-2); }
.hc-form input, .hc-form select { font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); min-height: 2.9rem; padding: .5rem .8rem; border: 1px solid var(--rule); border-radius: var(--r-1); background: var(--paper); width: 100%; }
.hc-form input:focus, .hc-form select:focus { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); border-color: var(--accent); }
.hc-form .hc-consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; color: var(--ink-2); line-height: 1.55; margin: var(--s-3) 0; }
.hc-form .hc-consent input { width: 1.2rem; min-height: 1.2rem; height: 1.2rem; margin-top: .2rem; flex: none; accent-color: var(--accent); }
.hc-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hc-form button[disabled] { opacity: .6; cursor: progress; }
.hc-form__msg { margin: var(--s-3) 0 0; font-size: var(--fs-0); }
.hc-form__msg.is-error { color: #a12d1f; font-weight: 600; }
.site-footer .hc-btn--ghost .ltr { direction: ltr; }

/* V23 · knowledge components: data table and safety callout (wave 2) */
.prose .table-wrap { overflow-x: auto; margin: 1rem 0 1.25rem; -webkit-overflow-scrolling: touch; }
.prose .table-wrap table { width: 100%; border-collapse: collapse; font-size: .97rem; background: var(--surface); border: 1px solid var(--rule); }
.prose .table-wrap th, .prose .table-wrap td { padding: .6rem .8rem; text-align: start; border-bottom: 1px solid var(--rule); }
.prose .table-wrap thead th { background: var(--accent-tint); font-weight: 700; }
.prose .table-wrap tbody tr:last-child td { border-bottom: 0; }
.prose .callout { border: 1px solid #e3b4ad; border-inline-start: 4px solid #b4432f; background: #fdf3f1; border-radius: var(--r-1, 10px); padding: .9rem 1.1rem; margin: 1rem 0; }
.prose .callout ul { margin: 0; }

/* V24 · UX cleanup (wave 3): hide decorative empty media slots; "next step" block with internal links only */
.hc-media:empty { display: none; }
.hc-next { max-width: var(--measure); margin: var(--s-6, 2rem) 0; padding: 1rem 1.2rem; background: var(--accent-wash); border: 1px solid var(--rule); border-inline-start: 4px solid var(--accent); border-radius: var(--r-1, 10px); }
.hc-next__t { font-weight: 700; margin: 0 0 .5rem; color: var(--accent-strong); }
.hc-next ul { margin: 0; padding-inline-start: 1.1rem; display: grid; gap: .35rem; }
.hc-next a { font-weight: 600; }

/* V25 · wave 4: explanatory figures, abbreviation list, hub "start here" block */
.hc-fig { max-width: var(--measure); margin: var(--s-5, 1.5rem) 0 var(--s-6, 2rem); padding: .75rem; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-2, 14px); }
.hc-fig .hc-svg { display: block; width: 100%; height: auto; max-height: 620px; }
.hc-fig .hc-svg a:focus rect, .hc-fig .hc-svg a:hover rect { stroke-width: 2.6; fill: var(--accent-tint); }
.hc-fig figcaption { margin-top: .5rem; font-size: .92rem; color: var(--ink-2); }
.prose .glossary-list { display: grid; gap: .6rem; margin: 1rem 0 1.5rem; }
.prose .glossary-list .term { padding: .7rem .9rem; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-1, 10px); }
.prose .glossary-list dt { font-weight: 700; unicode-bidi: isolate; }
.prose .glossary-list dd { margin: .25rem 0 0; }
.hub-start .route-list { margin-top: .5rem; }

/* V26 · wave 6: comparison table component (.cmp) and "known / not yet certain" evidence box (.hc-known) */
.prose table.cmp caption { caption-side: top; text-align: start; font-weight: 700; padding: .55rem .8rem; color: var(--ink); background: var(--surface); }
.prose table.cmp th[scope="row"] { font-weight: 700; background: var(--accent-wash); vertical-align: top; }
.prose table.cmp td { vertical-align: top; }
.prose .hc-known { display: grid; gap: .75rem; margin: 1rem 0 1.25rem; }
@media (min-width: 700px) { .prose .hc-known { grid-template-columns: 1fr 1fr; } }
.prose .hc-known > div { padding: .8rem 1rem; border: 1px solid var(--rule); border-radius: var(--r-1, 10px); background: var(--surface); }
.prose .hc-known .k-yes { border-inline-start: 4px solid var(--accent); }
.prose .hc-known .k-unsure { border-inline-start: 4px solid #8a6d1f; background: #fbf7ec; }
.prose .hc-known h3 { margin: 0 0 .4rem; font-size: 1.02rem; }
.prose .hc-known ul { margin: 0; }
.prose .hc-known__src { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: var(--ink-2); }
.prose table.cmp:has(thead th:nth-child(4)) { min-width: 34rem; }
