/* =====================================================================
   uix-hub.css — the U-I-X accessibility guides (tools/hubs/build.py)
   One stylesheet for every guide page: tokens, the product pages' nav /
   eco band / footer (copied from web/index.html), and the guide components
   documented in tools/hubs/README.md. Guide pages carry no inline <style>.
   ===================================================================== */

/* ── 0. TOKENS ───────────────────────────────────────────────────────── */
:root {
  /* names shared with the product pages (the copied nav + uix-modal-light.css read them) */
  --bg: #ffffff;
  --bg-mid: #f2f6fb;
  --gold: #8f6a12;
  --gold-bright: #034aa6;            /* sic: the product pages' hover/active blue */
  --blue: #034aa6;
  --text: #06121f;
  --text-dim: rgba(6, 18, 31, .65);
  --border: rgba(6, 18, 31, .14);
  /* guide-only tokens */
  --hub-hairline: rgba(6, 18, 31, .10);
  --hub-hairline-strong: rgba(6, 18, 31, .18);
  --hub-hairline-gold: rgba(143, 106, 18, .18);
  --hub-wash: linear-gradient(160deg, #ffffff 0%, #f6f8fc 42%, #e9eff8 100%);
  --hub-card: linear-gradient(160deg, #eef3fa, #f6f8fb);
  --hub-shadow-media: 0 30px 60px -25px rgba(6, 18, 31, .28), 0 0 60px rgba(3, 74, 166, .10);
  --hub-shadow-gold: 0 12px 24px -10px rgba(143, 106, 18, .45);
  --hub-font-display: "iskra", "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hub-font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hub-max: 1180px;
  --hub-read: 720px;
  --hub-gutter: 2rem;
  --hub-header: 112px;               /* sticky header height + air, for anchors and the sticky TOC */
}

/* ── 1. BASE ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hub-header); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--hub-font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; color: var(--text); }
p { margin: 0; }
a { color: var(--blue); }
:where(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.hub-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.hub-skip {
  position: absolute; left: 1rem; top: -200px; z-index: 3000;
  background: var(--text); color: #fff; padding: .75rem 1.1rem; border-radius: 8px;
  font-weight: 600; font-size: .9rem; text-decoration: none;
}
.hub-skip:focus { top: 1rem; }
main:focus { outline: none; }

/* ── 2. NAV (copied from web/index.html: header + Acceasy ecosystem switcher) ── */
.header-wrapper {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(6, 18, 31, 0.12);
  box-shadow: 0 10px 30px -24px rgba(6, 18, 31, 0.32);
  width: 100%;
}
.eco-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: 1400px; margin: 0 auto; padding: 0.85rem 2rem; }
.eco-bar > .btn-talk { flex-shrink: 0; }
.eco-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.eco-brand svg { height: 14px; width: auto; display: block; color: #06121f; transition: color 0.25s; }
.eco-brand:hover svg { color: var(--gold-bright); }
.eco-switch { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.eco-seg { display: flex; align-items: flex-start; gap: 0.15rem; background: rgba(6, 18, 31, 0.03); border: 1px solid rgba(6, 18, 31, 0.1); border-radius: 14px; padding: 0.3rem; }
.eco-acceasy { display: inline-flex; align-items: center; align-self: center; flex-shrink: 0; text-decoration: none; margin-right: 0.35rem; }
.eco-acceasy-logo { height: 43.2px; width: auto; display: block; transition: opacity 0.2s; }
.eco-acceasy:hover .eco-acceasy-logo { opacity: 0.7; }
.eco-seg-item { display: flex; align-items: flex-start; justify-content: center; padding: 0.45rem 0.9rem; border-radius: 10px; opacity: 0.6; transition: opacity 0.22s, background 0.22s, transform 0.22s; }
.eco-seg-item:hover { opacity: 1; background: rgba(6, 18, 31, 0.05); transform: translateY(-1px); }
.eco-seg-logo { height: 22px; width: auto; display: block; margin-top: 7px; }
.eco-icon-btn { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; color: #06121f; padding: 0.4rem; border-radius: 9px; transition: background 0.2s, color 0.2s; }
.eco-icon-btn:hover { background: rgba(6, 18, 31, 0.06); color: var(--gold-bright); }
.eco-icon-btn svg { width: 20px; height: 20px; display: block; }
.eco-all { margin-left: 0.2rem; }
.eco-m-current, .eco-m-toggle, .eco-m-strip { display: none; }
.eco-m-current img { height: 32px; width: auto; display: block; }
.eco-panel { position: absolute; left: 0; right: 0; z-index: 1300; padding: 0 1.5rem; }
.eco-panel[hidden] { display: none; }
.eco-panel-inner { max-width: 600px; margin: 0.5rem auto 0; background: #ffffff; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(6, 18, 31, 0.14); border-radius: 16px; padding: 1.1rem; box-shadow: 0 30px 60px -34px rgba(6, 18, 31, 0.32); opacity: 0; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s; }
.eco-panel.open .eco-panel-inner { opacity: 1; transform: none; }
.eco-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.9rem; }
.eco-panel-title { font-size: 0.82rem; color: #06121f; display: inline-flex; align-items: center; gap: 0.5rem; }
.eco-panel-title svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }
.eco-panel-close { display: none; }
.eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.eco-card { display: block; padding: 0.85rem 0.9rem; border-radius: 12px; background: rgba(6, 18, 31, 0.025); border: 1px solid rgba(6, 18, 31, 0.12); text-decoration: none; transition: transform 0.2s, border-color 0.2s, background 0.2s; }
.eco-card:hover { transform: translateY(-3px); border-color: rgba(3, 74, 166, 0.5); background: rgba(3, 74, 166, 0.05); }
.eco-card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.5rem; }
.eco-card-logo { height: 22px; width: auto; display: block; }
.eco-card-go { width: 15px; height: 15px; color: rgba(3, 74, 166, 0.8); flex-shrink: 0; }
.eco-card-desc { font-size: 0.76rem; line-height: 1.45; color: rgba(6, 18, 31, 0.68); display: block; }
.eco-panel-inner .eco-panel-contact { display: none; }
.eco-brand:focus-visible, .eco-seg-item:focus-visible, .eco-icon-btn:focus-visible, .eco-card:focus-visible, .btn-talk:focus-visible, .eco-m-strip a:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.btn-talk {
  display: flex; align-items: center; line-height: 1;
  background: var(--gold); color: var(--bg);
  padding: 0.6rem 1.8rem; border-radius: 99px; text-decoration: none;
  font-weight: 700; font-size: 0.85rem; white-space: nowrap;
  transition: transform 0.2s, background 0.2s;
}
.btn-talk:hover { background: var(--gold-bright); transform: translateY(-2px); }

/* guide additions to the bar: the U-I-X mark and the right group (language + Contact) take equal room
   so the ecosystem switcher stays centred */
.hub-bar-start, .hub-bar-end { flex: 1 1 0; min-width: 0; display: flex; align-items: center; }
.hub-bar-end { justify-content: flex-end; gap: 1rem; }
.hub-lang ul { list-style: none; display: flex; gap: 0.1rem; margin: 0; padding: 0.2rem; border: 1px solid rgba(6, 18, 31, 0.1); border-radius: 99px; background: rgba(6, 18, 31, 0.03); }
.hub-lang a {
  display: block; padding: 0.38rem 0.58rem; border-radius: 99px;
  font: 600 0.72rem/1 var(--hub-font-body); letter-spacing: 0.08em;
  color: var(--text-dim); text-decoration: none; transition: background 0.2s, color 0.2s;
}
.hub-lang a:hover { color: var(--text); background: rgba(6, 18, 31, 0.05); }
.hub-lang a[aria-current="page"] { color: var(--text); background: rgba(3, 74, 166, 0.09); box-shadow: inset 0 0 0 1px rgba(3, 74, 166, 0.45); }

@media (max-width: 1080px) { .hub-bar-start { display: none; } .hub-bar-end { flex: 0 1 auto; } }
@media (max-width: 1000px) {
  .eco-seg-logo { height: 19px; }
  .eco-seg-item { padding: 0.4rem 0.6rem; }
  .eco-bar { gap: 1rem; }
}
@media (max-width: 900px) { .hub-bar-end .btn-talk { display: none; } }
@media (max-width: 768px) {
  .eco-bar { padding: 0.7rem 1.1rem; gap: 0.75rem; }
  .eco-brand, .eco-acceasy, .eco-switch { display: none; }
  .eco-bar > .btn-talk { display: none; }
  .eco-m-current { display: inline-flex; align-items: center; order: -1; }
  .eco-m-toggle { display: inline-flex; }
  .hub-bar-end { margin-left: auto; gap: 0.5rem; }
  .eco-m-strip { display: flex; align-items: center; justify-content: space-between; gap: 0.25rem; padding: 0.45rem 0.6rem; background: #f2f6fb; border-top: 1px solid rgba(6, 18, 31, 0.08); }
  .eco-m-strip a { flex: 1; display: flex; align-items: center; justify-content: center; padding: 0.3rem; border-radius: 8px; text-decoration: none; transition: background 0.2s; }
  .eco-m-strip img { height: 14px; width: auto; display: block; opacity: 0.6; transition: opacity 0.2s; }
  .eco-m-strip a:hover img { opacity: 1; }
  .eco-panel { position: fixed; inset: 0; padding: 0; z-index: 2000; background: rgba(6, 18, 31, 0.4); overflow-y: auto; }
  .eco-panel-inner { max-width: none; margin: 0; min-height: 100%; border-radius: 0; border: 0; padding: 1.2rem 1.1rem calc(1.4rem + env(safe-area-inset-bottom)); transform: translateY(10px); }
  .eco-panel.open .eco-panel-inner { transform: none; }
  .eco-panel-close { display: inline-flex; }
  .eco-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .eco-panel-title { font-size: 0.9rem; }
  .eco-panel-inner .eco-panel-contact { display: flex; justify-content: center; margin-top: 1rem; }
  .hub-lang a { padding: 0.42rem 0.5rem; }
}
@media (max-width: 380px) {
  .eco-bar { padding: 0.65rem 0.85rem; gap: 0.4rem; }
  .eco-m-current img { height: 26px; }
  .hub-lang a { padding: 0.42rem 0.4rem; letter-spacing: 0.04em; }
}

/* ── 3. LAYOUT + TYPE ────────────────────────────────────────────────── */
.hub-wrap { max-width: var(--hub-max); margin: 0 auto; padding: 0 var(--hub-gutter); box-sizing: content-box; }
.hub-band { padding: 6.5rem 0; border-top: 1px solid var(--hub-hairline); }
.hub-band--tint { background: var(--bg-mid); }
.hub-head { max-width: var(--hub-read); margin-bottom: 2.75rem; }
.hub-head > p:not(.hub-eyebrow) { margin-top: 1rem; font-size: 1.05rem; line-height: 1.7; color: var(--text-dim); }

.hub-eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  margin: 0 0 1.1rem;
  font: 600 0.72rem/1.3 var(--hub-font-body); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
}
.hub-eyebrow::before { content: ""; flex: 0 0 24px; height: 1px; background: currentColor; }

.hub-hero h1 {
  font-family: var(--hub-font-display); font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em;
  text-wrap: balance;
}
.hub-band h2, .hub-cta h2, .hub-section h2 {
  font-family: var(--hub-font-display); font-weight: 700; letter-spacing: -0.015em; text-wrap: balance;
}
.hub-band h2, .hub-cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.12; }
.hub-accent { color: var(--blue); font-style: normal; }

/* buttons: gold pill (primary) and white pill (secondary); nothing else */
.hub-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; }
.hub-actions--center { justify-content: center; }
.hub-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 1.9rem; border-radius: 99px;
  font: 600 0.95rem/1 var(--hub-font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}
.hub-btn--primary { background: var(--gold); color: #fff; border: 1px solid var(--gold); box-shadow: var(--hub-shadow-gold); }
.hub-btn--primary:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.hub-btn--secondary { background: #fff; color: var(--text); border: 1px solid var(--hub-hairline-strong); }
.hub-btn--secondary:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* gold text link with an arrow ("Explore Acceasy X →") */
.hub-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--gold); font-weight: 600; font-size: 0.95rem; text-decoration: none;
}
.hub-link .hub-arrow { width: 18px; height: 18px; transition: transform 0.2s; }
.hub-link:hover { color: var(--blue); }
.hub-link:hover .hub-arrow { transform: translateX(3px); }

/* in-text links */
.hub-prose a:not([class]), .hub-head a:not([class]), .faq-answer a:not([class]), .hub-panel-text a:not([class]),
.hub-hero .hub-lead a, .hub-media-caption a, .hub-sources a, .hub-ledger td a:not([class]) {
  color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px;
  text-decoration-color: rgba(3, 74, 166, 0.35); text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.hub-prose a:not([class]):hover, .faq-answer a:not([class]):hover, .hub-panel-text a:not([class]):hover,
.hub-sources a:hover, .hub-ledger td a:not([class]):hover { text-decoration-color: currentColor; }

/* ── 4. BREADCRUMB + META ────────────────────────────────────────────── */
.hub-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.4rem 1.5rem;
  padding: 1.25rem 0 1.15rem; border-bottom: 1px solid var(--hub-hairline);
  font-size: 0.8rem; line-height: 1.4; color: var(--text-dim);
}
.hub-breadcrumb { list-style: none; display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; }
.hub-breadcrumb li + li::before { content: "/"; margin: 0 0.6rem; color: rgba(6, 18, 31, 0.3); }
.hub-breadcrumb a { color: var(--text-dim); text-decoration: none; }
.hub-breadcrumb a:hover { color: var(--blue); }
.hub-breadcrumb a[aria-current="page"] { color: var(--text); font-weight: 600; }
.hub-meta { display: flex; flex-wrap: wrap; gap: 0 0.55rem; }
.hub-meta-sep { color: var(--gold); }

/* ── 5. HERO ─────────────────────────────────────────────────────────── */
.hub-hero { position: relative; background: var(--hub-wash); border-bottom: 1px solid var(--hub-hairline); overflow: hidden; }
.hub-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 8% 0%, rgba(143, 106, 18, 0.07) 0%, transparent 48%),
              radial-gradient(ellipse at 95% 85%, rgba(3, 74, 166, 0.08) 0%, transparent 55%);
}
.hub-hero > .hub-wrap { position: relative; }
.hub-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 4.5rem; align-items: center;
  padding: 4.25rem 0 4.5rem;
}
.hub-hero-text { max-width: 560px; }
.hub-hero h1 { margin-bottom: 1.35rem; }
.hub-lead { font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.65; color: rgba(6, 18, 31, 0.78); max-width: 540px; margin-bottom: 2.1rem; }
.hub-hero-media { margin: 0; }
.hub-frame {
  position: relative; padding: 1px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(143, 106, 18, 0.42), rgba(143, 106, 18, 0) 42%, rgba(143, 106, 18, 0.2));
  box-shadow: var(--hub-shadow-media);
}
.hub-frame > video, .hub-frame > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 11px; background: #0b1624; }
.hub-media-caption { display: flex; gap: 0.7rem; margin-top: 1.1rem; font-size: 0.84rem; line-height: 1.55; color: var(--text-dim); }
.hub-media-caption::before { content: ""; flex: 0 0 18px; height: 1px; margin-top: 0.72em; background: var(--gold); }
.hub-loop-toggle {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.6); background: rgba(6, 18, 31, 0.62); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background 0.2s;
}
.hub-loop-toggle:hover { background: rgba(6, 18, 31, 0.85); }
.hub-loop-toggle svg { width: 16px; height: 16px; display: block; }
.hub-loop-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--blue); }

/* key facts strip */
.hub-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hub-hairline); }
.hub-facts li { padding: 1.9rem 1.75rem 2.2rem; border-left: 1px solid var(--hub-hairline); }
.hub-facts li:first-child { border-left: 0; padding-left: 0; }
.hub-fact-num {
  display: block; margin-bottom: 0.65rem;
  font-family: var(--hub-font-display); font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1;
  letter-spacing: -0.01em; font-variant-numeric: tabular-nums lining-nums; color: var(--text);
}
.hub-fact-label { display: block; font-size: 0.88rem; line-height: 1.5; color: var(--text-dim); max-width: 240px; }

/* ── 6. ARTICLE + TABLE OF CONTENTS ──────────────────────────────────── */
.hub-article { padding: 5.5rem 0 6.5rem; }
.hub-article-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 4.5rem; align-items: stretch; }
.hub-toc { position: sticky; top: var(--hub-header); }
.hub-toc-title {
  display: flex; align-items: center; gap: 0.75rem; list-style: none; cursor: default;
  font: 600 0.72rem/1.3 var(--hub-font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.hub-toc-title::-webkit-details-marker { display: none; }
.hub-toc-title::before { content: ""; flex: 0 0 24px; height: 1px; background: currentColor; }
.hub-toc-nav ol { list-style: none; margin: 1.1rem 0 0; padding: 0; border-left: 1px solid var(--hub-hairline); }
.hub-toc-nav a {
  display: flex; gap: 0.75rem; margin-left: -1px; padding: 0.48rem 0 0.48rem 1rem;
  border-left: 2px solid transparent; font-size: 0.875rem; line-height: 1.4; color: var(--text-dim); text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.hub-toc-nav a:hover { color: var(--text); }
.hub-toc-n { flex: 0 0 auto; padding-top: 0.12rem; font-size: 0.72rem; font-variant-numeric: tabular-nums; color: var(--text-dim); }
.hub-toc-nav a.is-active { color: var(--gold); border-left-color: var(--gold); font-weight: 600; }
.hub-toc-nav a.is-active .hub-toc-n { color: var(--gold); }

.hub-prose { min-width: 0; }
.hub-section > * { max-width: var(--hub-read); }
.hub-section > .hub-wide { max-width: none; }
.hub-section + .hub-section { margin-top: 4.5rem; padding-top: 4.5rem; border-top: 1px solid var(--hub-hairline); }
.hub-section h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.15; margin-bottom: 1.5rem; }
.hub-section h3 { font-family: var(--hub-font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.3; margin: 2.4rem 0 0.8rem; }
.hub-section p { font-size: 1.05rem; line-height: 1.75; color: var(--text-dim); margin-bottom: 1.15rem; }
.hub-section p strong, .hub-dots li strong, .faq-answer strong { color: var(--text); font-weight: 600; }
.hub-note { font-size: 0.9rem !important; line-height: 1.6 !important; }

/* gold dot bullets (as /avp/ "Sign Language Overlay") */
.hub-dots { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.hub-dots li { position: relative; padding-left: 1.3rem; margin: 0.6rem 0; font-size: 1.02rem; line-height: 1.68; color: var(--text-dim); }
.hub-dots li::before { content: ""; position: absolute; left: 0.2rem; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* in-text citations (as /web/ footnotes: small, raised, blue) */
.hub-cite { font-size: 0.68em; line-height: 0; vertical-align: super; margin-left: 0.1em; }
.hub-cite a, .hub-prose .hub-cite a { color: var(--blue); font-weight: 600; text-decoration: none; padding: 0 0.12em; border-radius: 3px; }
.hub-cite a:hover, .hub-prose .hub-cite a:hover { text-decoration: underline; }
.hub-cite + .hub-cite { margin-left: 0.2em; }

/* ── 7. OFFICIAL QUOTE ───────────────────────────────────────────────── */
.hub-quote { margin: 2.4rem 0; padding: 0.35rem 0 0.35rem 1.6rem; border-left: 3px solid var(--gold); }
.hub-quote blockquote { margin: 0; }
.hub-quote blockquote p {
  margin: 0; font-family: var(--hub-font-display); font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.42rem); line-height: 1.38; letter-spacing: -0.005em; color: var(--text);
}
.hub-quote figcaption { margin-top: 0.95rem; font-size: 0.84rem; line-height: 1.55; color: var(--text-dim); }
.hub-quote figcaption cite { font-style: normal; color: var(--text); font-weight: 600; }
.hub-quote figcaption a { color: var(--blue); text-underline-offset: 3px; text-decoration-color: rgba(3, 74, 166, 0.35); }
/* own translation of an English quote on a non-English page: <p class="hub-quote-tr"> between </blockquote> and <figcaption> */
.hub-quote-tr { margin: 0.7rem 0 0; font-size: 0.98rem; line-height: 1.6; color: var(--text-dim); }

/* ── 8. REQUIREMENT LEDGER ───────────────────────────────────────────── */
.hub-ledger { width: 100%; border-collapse: collapse; margin: 2.2rem 0 1.2rem; font-size: 0.95rem; }
.hub-ledger caption { caption-side: top; text-align: left; padding-bottom: 1rem; font-size: 0.88rem; line-height: 1.55; color: var(--text-dim); }
.hub-ledger th {
  text-align: left; vertical-align: bottom; padding: 0 1.4rem 0.85rem 0; border-bottom: 1px solid var(--hub-hairline-strong);
  font: 600 0.68rem/1.3 var(--hub-font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim);
}
.hub-ledger td { vertical-align: top; padding: 1.4rem 1.4rem 1.4rem 0; border-bottom: 1px solid var(--hub-hairline); line-height: 1.6; color: var(--text-dim); }
.hub-ledger th:last-child, .hub-ledger td:last-child { padding-right: 0; }
.hub-ledger td:nth-child(1) { width: 25%; }
.hub-ledger td:nth-child(2) { width: 9%; }
.hub-ledger td:nth-child(3) { width: 31%; }
.hub-code {
  display: block; font-family: var(--hub-font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.1;
  font-variant-numeric: tabular-nums lining-nums; color: var(--text); text-decoration: none;
}
a.hub-code:hover { color: var(--blue); }
.hub-code-name { display: block; margin-top: 0.35rem; font-size: 0.86rem; line-height: 1.45; color: var(--text-dim); }
.hub-level {
  display: inline-block; padding: 0.34rem 0.55rem; border-radius: 6px; border: 1px solid rgba(6, 18, 31, 0.28);
  font: 700 0.7rem/1 var(--hub-font-body); letter-spacing: 0.08em; color: var(--text); background: #fff; white-space: nowrap;
}
.hub-level--aaa { border-color: rgba(143, 106, 18, 0.6); color: var(--gold); background: rgba(143, 106, 18, 0.06); }
.hub-ledger td strong { color: var(--text); font-weight: 600; }

/* ── 9. NUMBERED STEPS (as /avp/ "How to Use It") ────────────────────── */
.hub-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem; margin: 2.2rem 0 1.4rem; padding: 2rem 0 0; border-top: 1px solid var(--hub-hairline-gold); }
.hub-step-n {
  display: block; margin-bottom: 0.9rem; font-family: var(--hub-font-display); font-weight: 700;
  font-size: 2.1rem; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums lining-nums;
}
.hub-steps h3, .hub-steps h4 { font-family: var(--hub-font-body); font-weight: 600; font-size: 1.08rem; line-height: 1.35; margin: 0 0 0.55rem; }
.hub-steps p { font-size: 0.95rem; line-height: 1.65; margin: 0; }

/* ── 10. COMPARISON ──────────────────────────────────────────────────── */
.hub-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem; margin: 2.2rem 0 1.4rem; }
.hub-compare-col img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--hub-hairline); box-shadow: 0 24px 48px -30px rgba(6, 18, 31, 0.4);
}
.hub-compare-k {
  display: flex; align-items: center; gap: 0.6rem; margin: 1.5rem 0 0.5rem !important;
  font: 600 0.68rem/1.3 var(--hub-font-body) !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim) !important;
}
.hub-compare-k::before { content: ""; flex: 0 0 18px; height: 1px; background: currentColor; }
.hub-compare-col--after .hub-compare-k { color: var(--gold) !important; }
.hub-compare-col h3 { margin: 0 0 0.8rem; font-size: 1.22rem; }
.hub-compare-col .hub-dots li { font-size: 0.96rem; }

/* ── 11. PRODUCT SHOWCASE (tabs) ─────────────────────────────────────── */
.hub-tabs {
  display: inline-flex; flex-wrap: wrap; gap: 0.2rem; margin-bottom: 2rem; padding: 0.3rem;
  background: #fff; border: 1px solid var(--hub-hairline); border-radius: 14px;
}
.hub-tabs[hidden] { display: none; }
.hub-tab {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0.7rem 1.15rem 0.62rem; border-radius: 10px;
  opacity: 0.55; transition: opacity 0.2s, background 0.2s;
}
.hub-tab img { height: 22px; width: auto; display: block; }
.hub-tab:hover { opacity: 1; background: rgba(6, 18, 31, 0.04); }
.hub-tab[aria-selected="true"] { opacity: 1; background: rgba(3, 74, 166, 0.09); box-shadow: inset 0 0 0 1px rgba(3, 74, 166, 0.45); }
.hub-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.hub-panel { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 3.25rem; align-items: center; }
.hub-panel[hidden] { display: none; }
.hub-panel:focus-visible { outline: 2px solid var(--blue); outline-offset: 8px; border-radius: 12px; }
.hub-panel + .hub-panel { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid var(--hub-hairline); }
.hub-showcase.is-tabbed .hub-panel + .hub-panel { margin-top: 0; padding-top: 0; border-top: 0; }
.js .hub-showcase:not(.is-tabbed) .hub-panel:not(:first-child) { display: none; }
.hub-panel-title { margin: 0 0 1.1rem; }
.hub-panel-title img { height: 30px; width: auto; display: block; }
.js .hub-panel-title { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.hub-panel-text p { font-size: 1.05rem; line-height: 1.72; color: var(--text-dim); margin: 0 0 0.9rem; }
.hub-panel-criteria { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 1.3rem 0 1.5rem; }
.hub-panel-criteria-k { margin-right: 0.35rem; font: 600 0.68rem/1.3 var(--hub-font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
.hub-chip {
  display: inline-block; padding: 0.32rem 0.6rem; border-radius: 6px; background: #fff; border: 1px solid rgba(143, 106, 18, 0.38);
  font-family: var(--hub-font-display); font-weight: 700; font-size: 0.84rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--text);
}

/* ── 12. FAQ ─────────────────────────────────────────────────────────── */
.hub-faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 4.5rem; align-items: start; }
.hub-faq-head { position: sticky; top: var(--hub-header); }
.hub-faq-head h2 { margin-bottom: 1rem; }
.hub-faq-head > p:not(.hub-eyebrow) { font-size: 1.02rem; line-height: 1.7; color: var(--text-dim); margin-bottom: 1.4rem; }
.hub-faq-list { border-top: 1px solid var(--hub-hairline-strong); }
.faq-item { border-bottom: 1px solid var(--hub-hairline); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem;
  padding: 1.45rem 0; font-size: 1.08rem; font-weight: 600; line-height: 1.45; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: 0 0 1.4rem; text-align: center; margin-top: -0.12rem;
  font-family: var(--hub-font-display); font-weight: 700; font-size: 1.45rem; line-height: 1; color: var(--gold);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--blue); }
.faq-answer { padding: 0 2.75rem 1.55rem 0; }
.faq-answer p { font-size: 1rem; line-height: 1.75; color: var(--text-dim); margin: 0 0 0.8rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ── 13. SOURCES ─────────────────────────────────────────────────────── */
.hub-sources { margin: 0; padding: 0 0 0 2.2rem; font-size: 0.9rem; line-height: 1.6; color: var(--text-dim); }
.hub-sources li { padding: 0.75rem 0; border-top: 1px solid var(--hub-hairline); }
.hub-sources li:last-child { border-bottom: 1px solid var(--hub-hairline); }
.hub-sources li::marker { font-family: var(--hub-font-display); font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.hub-sources li:target { background: rgba(143, 106, 18, 0.06); }
.hub-src-pub { color: var(--text); font-weight: 600; }

/* ── 14. RELATED GUIDES ──────────────────────────────────────────────── */
.hub-related-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hub-hairline-strong); }
.hub-related-grid > li { display: flex; border-bottom: 1px solid var(--hub-hairline); }
.hub-related-grid > li:not(:nth-child(3n+1)) { border-left: 1px solid var(--hub-hairline); }
.hub-related-item { position: relative; display: flex; flex-direction: column; width: 100%; padding: 1.7rem 3.2rem 2rem 1.75rem; text-decoration: none; transition: background 0.2s; }
.hub-related-grid > li:nth-child(3n+1) .hub-related-item { padding-left: 0; }
.hub-related-k { font: 600 0.68rem/1.3 var(--hub-font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.hub-related-t { margin: 0.6rem 0 0.45rem; font-family: var(--hub-font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.3; color: var(--text); transition: color 0.2s; }
.hub-related-d { font-size: 0.92rem; line-height: 1.6; color: var(--text-dim); }
.hub-related-item .hub-arrow { position: absolute; top: 1.65rem; right: 1.3rem; width: 20px; height: 20px; color: var(--gold); transition: transform 0.2s; }
.hub-related-item:hover .hub-related-t { color: var(--blue); }
.hub-related-item:hover .hub-arrow { transform: translateX(3px); }

/* ── 15. CLOSING CTA (the only centred block) ────────────────────────── */
.hub-cta { padding: 6.5rem 0; text-align: center; background: var(--hub-wash); border-top: 1px solid var(--hub-hairline); }
.hub-cta h2 { max-width: 760px; margin: 0 auto; }
.hub-cta-lead { max-width: 600px; margin: 1.1rem auto 2.3rem; font-size: 1.08rem; line-height: 1.7; color: var(--text-dim); }

/* ── 16. ECO BAND (copied from web/index.html .eco-explore) ──────────── */
.eco-explore { padding: 4.5rem 1.5rem; border-top: 1px solid rgba(6, 18, 31, 0.1); }
.eco-explore-inner { max-width: 1080px; margin: 0 auto; }
.eco-explore-head { text-align: center; margin-bottom: 2.2rem; }
.eco-brand-center { text-align: center; margin-bottom: 2rem; }
.eco-brand-center-logo { height: 64px; width: auto; display: inline-block; }
.eco-explore-eyebrow { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 700; display: block; margin: 0 0 0.6rem; }
.eco-explore-title { font-family: var(--hub-font-display); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.2rem); color: #06121f; letter-spacing: -0.5px; line-height: 1.1; margin: 0; }
.eco-explore-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.9rem; max-width: 980px; margin: 0 auto; }
.eco-explore .eco-card { padding: 1.1rem 1rem 1.2rem; }
.eco-explore .eco-card-logo { height: 24px; }
@media (max-width: 900px) { .eco-explore-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .eco-explore-grid { grid-template-columns: 1fr; } }

/* ── 17. FOOTER (copied from web/index.html footer#contact-us) ───────── */
.hub-footer {
  padding: 5rem 2rem; text-align: center; border-top: 1px solid rgba(6, 18, 31, .09); background: rgba(242, 246, 251, .85);
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
.hub-footer .acc-footer-actions { margin: 0 auto 0.2rem; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2.5rem; font-size: 0.9rem; color: var(--text-dim); }
.footer-contact a { color: var(--text); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: var(--gold-bright); }
.hub-footer-guides { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; max-width: 1040px; font-size: 0.84rem; }
.hub-footer-label { margin: 0; font: 600 0.68rem/1.3 var(--hub-font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.hub-footer-guides ul, .hub-footer-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.75rem; margin: 0; padding: 0; font-size: 0.84rem; }
.hub-footer-guides a, .hub-footer-links a { color: var(--text-dim); text-decoration: none; }
.hub-footer-guides a:hover, .hub-footer-links a:hover { color: var(--blue); }
.hub-footer-guides a[aria-current="page"] { color: var(--text); font-weight: 600; }
.tagline-footer { font-size: .75rem; letter-spacing: .15em; color: var(--text-dim); text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.tagline-logo { height: 18px; width: auto; opacity: 0.6; transition: opacity 0.3s; display: block; }
.tagline-footer a:hover .tagline-logo { opacity: 1; }
.hub-copyright { font-size: 0.74rem; letter-spacing: 0.04em; color: var(--text-dim); max-width: 720px; }
.uix-admin-access { margin: -0.75rem 0 0; font-size: 0.75rem; line-height: 1.5; }
.uix-admin-access a { color: inherit; text-decoration: none; display: inline-block; padding: 4px 8px; }

/* ── 18. RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hub-hero-grid { gap: 3rem; }
  .hub-article-grid { grid-template-columns: 200px minmax(0, 1fr); gap: 3rem; }
  .hub-faq-grid { gap: 3rem; }
}
@media (max-width: 900px) {
  :root { --hub-header: 104px; }
  .hub-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding: 3rem 0 3.25rem; }
  .hub-hero-text, .hub-lead { max-width: 640px; }
  .hub-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-facts li { padding: 1.5rem 1.25rem 1.7rem; }
  .hub-facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hub-facts li:nth-child(n+3) { border-top: 1px solid var(--hub-hairline); }
  .hub-article { padding: 3rem 0 4.5rem; }
  .hub-article-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hub-toc { position: static; background: var(--bg-mid); border: 1px solid var(--hub-hairline); border-radius: 10px; padding: 0 1.15rem; }
  .hub-toc-title { cursor: pointer; padding: 1rem 0; justify-content: space-between; }
  .hub-toc-title::before { display: none; }
  .hub-toc-title::after { content: "+"; font-family: var(--hub-font-display); font-size: 1.3rem; line-height: 1; letter-spacing: 0; }
  .hub-toc[open] .hub-toc-title::after { content: "\2212"; }
  .hub-toc-nav ol { margin: 0 0 1rem; }
  .hub-panel { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .hub-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .hub-faq-head { position: static; }
  .hub-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-related-grid > li:not(:nth-child(3n+1)) { border-left: 0; }
  .hub-related-grid > li:nth-child(even) { border-left: 1px solid var(--hub-hairline); }
  .hub-related-grid > li .hub-related-item { padding-left: 1.5rem; }
  .hub-related-grid > li:nth-child(odd) .hub-related-item { padding-left: 0; }
  .hub-band, .hub-cta { padding: 5rem 0; }
}
@media (max-width: 720px) {
  .hub-steps { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .hub-steps li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 0.75rem; }
  .hub-step-n { grid-row: span 2; font-size: 1.8rem; margin: 0; }
  .hub-compare { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  /* ledger: rows become stacked blocks, cells captioned by data-label */
  .hub-ledger thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
  .hub-ledger, .hub-ledger caption, .hub-ledger tbody, .hub-ledger tr, .hub-ledger td { display: block; width: auto !important; }
  .hub-ledger tr { position: relative; padding: 1.35rem 0 1.1rem; border-bottom: 1px solid var(--hub-hairline); }
  .hub-ledger td { padding: 0.3rem 0; border: 0; }
  .hub-ledger td:nth-child(1) { padding-right: 4.5rem; }
  .hub-ledger td:nth-child(2) { position: absolute; top: 1.35rem; right: 0; padding: 0; }
  .hub-ledger td[data-label]::before {
    content: attr(data-label); display: block; margin: 0.5rem 0 0.15rem;
    font: 600 0.66rem/1.3 var(--hub-font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim);
  }
  .hub-ledger td:nth-child(1)::before, .hub-ledger td:nth-child(2)::before { display: none; }
}
@media (max-width: 600px) {
  :root { --hub-gutter: 1.25rem; }
  .hub-hero-grid { padding: 2.25rem 0 2.75rem; }
  .hub-crumbs { padding: 1rem 0 0.9rem; }
  .hub-lead { margin-bottom: 1.6rem; }
  .hub-actions { gap: 0.7rem; }
  .hub-btn { padding: 0.9rem 1.5rem; }
  .hub-band, .hub-cta { padding: 4rem 0; }
  .hub-article { padding: 2.25rem 0 4rem; }
  .hub-section + .hub-section { margin-top: 3.25rem; padding-top: 3.25rem; }
  .hub-section p { font-size: 1.02rem; }
  .hub-quote { padding-left: 1.1rem; }
  /* one equal column per tab, whatever the number of products (1-5) */
  .hub-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; }
  .hub-tabs[hidden] { display: none; }
  .hub-tab { padding: 0.65rem 0.2rem 0.58rem; }
  .hub-tab img { height: 15px; }
  .hub-tabs:not(:has(.hub-tab:nth-child(4))) .hub-tab img { height: 19px; }  /* 3 tabs or fewer: larger wordmarks */
  .hub-related-grid { grid-template-columns: minmax(0, 1fr); }
  .hub-related-grid > li:nth-child(even) { border-left: 0; }
  .hub-related-grid > li .hub-related-item, .hub-related-grid > li:nth-child(odd) .hub-related-item { padding: 1.4rem 2.75rem 1.5rem 0; }
  .hub-related-item .hub-arrow { right: 0.25rem; top: 1.4rem; }
  .faq-answer { padding-right: 0; }
  .hub-footer { padding: 4rem 1.25rem; }
  .footer-contact { flex-direction: column; gap: 0.6rem; }
}
@media (max-width: 360px) {
  :root { --hub-gutter: 1rem; }
  .hub-facts li { padding: 1.3rem 0.85rem 1.4rem; }
  .hub-fact-num { font-size: 1.7rem; }
  .hub-btn { padding: 0.85rem 1.25rem; font-size: 0.92rem; }
}

/* ── 19. MOTION ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .eco-seg-item:hover, .eco-card:hover, .btn-talk:hover, .hub-btn:hover { transform: none; }
}

/* ── 20. PRINT ───────────────────────────────────────────────────────── */
@media print {
  .header-wrapper, .hub-skip, .hub-toc-col, .hub-showcase, .eco-explore, .acc-footer-actions, .hub-cta, .hub-loop-toggle { display: none !important; }
  .hub-article-grid { display: block; }
  .hub-section > * { max-width: none; }
}
