/* Bastion Hale design system. Cyan #19b2ce, charcoal #23282e, Montserrat 700/800 for display, Inter for body.
   One token set drives light and dark. Every page loads this file; the Index and the generated data pages add one more. */
/* ---------- Fonts: self-hosted Inter and Montserrat (SIL Open Font License, files from Google Fonts), latin preloaded in
   every page head, latin-ext fetched only when a page uses those characters. The Fallback faces are Arial with metric
   overrides so the swap to the web font does not shift the layout. ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/inter-latin.woff2) format('woff2'); 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: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format('woff2'); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700 800; font-display: swap; src: url(/fonts/montserrat-latin.woff2) format('woff2'); 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: 'Montserrat'; font-style: normal; font-weight: 700 800; font-display: swap; src: url(/fonts/montserrat-latin-ext.woff2) format('woff2'); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Fallback'; src: local('Arial'), local('ArialMT'); ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%; size-adjust: 107.4%; }
@font-face { font-family: 'Montserrat Fallback'; src: local('Arial'), local('ArialMT'); ascent-override: 85.79%; descent-override: 22.25%; line-gap-override: 0%; size-adjust: 112.83%; }
:root {
  --ink: #23282e; --ink-2: #3a4149; --ink-soft: #5b626a; --ink-mute: #7b838c;
  --paper: #ffffff; --paper-2: #f3f7f9; --card: #ffffff; --card-2: #f8fafb;
  --line: #e1e7ec; --line-2: #c9d3da;
  --accent: #19b2ce; --accent-dark: #0f93ab; --accent-ink: #0b6f82; --accent-soft: #e6f6f9; --accent-line: #bfe7ef;
  --amber-soft: #fdf1dc; --amber-ink: #7a4b00; --amber-line: #f1d28a; --amber-dot: #f0b429;
  --red-soft: #fdecec; --red-ink: #8a2a2a; --red-line: #f3c2c2;
  --violet-dot: #c58fd9;
  --block: #23282e; --block-2: #2d3339; --block-line: #3c434a; --block-text: #c7cdd3; --block-mute: #8a9199; --block-accent: #7fd6e6;
  --nav-bg: rgba(255,255,255,0.86); --grid-line: rgba(35,40,46,0.055); --glow: rgba(25,178,206,0.20);
  --shadow-sm: 0 1px 2px rgba(35,40,46,0.04), 0 4px 14px rgba(35,40,46,0.05);
  --shadow: 0 2px 6px rgba(35,40,46,0.05), 0 16px 44px rgba(35,40,46,0.09);
  --shadow-lift: 0 8px 18px rgba(35,40,46,0.08), 0 28px 60px rgba(35,40,46,0.13);
  --font-display: 'Montserrat', 'Montserrat Fallback', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-xs: 12.5px; --fs-sm: 14px; --fs-md: 15.5px; --fs-base: 16.5px;
  --fs-lg: clamp(17px, 1.6vw, 19px); --fs-xl: clamp(19px, 2.1vw, 22px);
  --fs-h3: clamp(18px, 1.8vw, 21px); --fs-h2: clamp(27px, 3.5vw, 42px); --fs-h1: clamp(32px, 4.5vw, 54px); --fs-display: clamp(38px, 5.6vw, 70px);
  --fs-num: clamp(26px, 3.2vw, 38px);
  --sp-section: clamp(64px, 9vw, 108px); --sp-block: clamp(32px, 5vw, 56px); --sp-h2: clamp(22px, 3.5vw, 40px);
  --r-sm: 8px; --r: 12px; --r-lg: 16px; --max: 1120px; --measure: 70ch;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef2f5; --ink-2: #d5dbe1; --ink-soft: #a9b1ba; --ink-mute: #8a929b;
    --paper: #131618; --paper-2: #1a1e22; --card: #1b2024; --card-2: #1f252a;
    --line: #2a3137; --line-2: #3b434b;
    --accent: #2cc3de; --accent-dark: #19b2ce; --accent-ink: #72d8ea; --accent-soft: #0f3139; --accent-line: #1c4f5a;
    --amber-soft: #352709; --amber-ink: #f2c66f; --amber-line: #5a4312; --amber-dot: #f0b429;
    --red-soft: #3a1818; --red-ink: #f5a3a3; --red-line: #5c2a2a;
    --block: #0d0f11; --block-2: #1a1e22; --block-line: #2f363d; --block-text: #c7cdd3; --block-mute: #8a9199; --block-accent: #7fd6e6;
    --nav-bg: rgba(19,22,24,0.84); --grid-line: rgba(255,255,255,0.045); --glow: rgba(25,178,206,0.22);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3), 0 4px 14px rgba(0,0,0,0.25);
    --shadow: 0 2px 6px rgba(0,0,0,0.35), 0 16px 44px rgba(0,0,0,0.4);
    --shadow-lift: 0 8px 18px rgba(0,0,0,0.4), 0 28px 60px rgba(0,0,0,0.5);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
html, body { overflow-x: clip; }
body { font-family: var(--font-body); font-size: var(--fs-base); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: #fff; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p a, li a, .fine a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
p a:hover, li a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; color: var(--ink); }
h1 { font-size: var(--fs-h1); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-h2); max-width: 22ch; letter-spacing: -0.025em; }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
h1 em, h2 em, h3 em { color: var(--accent-ink); font-style: normal; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }
.num, .tabular, table, .stat b, .statbar b { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; transition: top .15s; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Nav ---------- */
nav.top { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 34px; width: auto; }
@media (prefers-color-scheme: dark) { .brand img, footer .fbrand img { filter: brightness(0) invert(1) brightness(0.98); } }
.navlinks { display: flex; gap: 6px; align-items: center; }
.navlinks a { text-decoration: none; font-size: 14.5px; color: var(--ink-soft); font-weight: 500; padding: 8px 11px; border-radius: 6px; transition: color .15s, background .15s; white-space: nowrap; }
.navlinks a:hover { color: var(--ink); background: var(--paper-2); }
.navlinks a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-cta { font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 8px; background: var(--ink); color: var(--paper) !important; margin-left: 10px; }
.nav-cta:hover { background: var(--accent-dark) !important; color: #fff !important; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 8px; width: 44px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .navlinks { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; box-shadow: var(--shadow); }
  nav.open .navlinks { display: flex; }
  .navlinks a { padding: 13px 4px; border-top: 1px solid var(--line); font-size: 16px; border-radius: 0; }
  .navlinks a:hover { background: none; }
  .navlinks a:first-child { border-top: 0; }
  .navlinks .nav-cta { margin: 12px 0 0; text-align: center; border-top: 0; border-radius: 8px; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; font-size: 15px; font-weight: 600; padding: 14px 22px; border-radius: 8px; border: 1.5px solid transparent; cursor: pointer; line-height: 1.2; transition: background .18s, border-color .18s, transform .18s, box-shadow .18s, color .18s; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(11,111,130,0.2), 0 6px 18px rgba(25,178,206,0.28); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(11,111,130,0.25), 0 10px 24px rgba(25,178,206,0.35); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-row.center { justify-content: center; margin-top: 40px; }

/* ---------- Labels ---------- */
.eyebrow, .section-label, .kicker { font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); font-weight: 700; display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.section-label { color: var(--ink-soft); }
.kicker { margin-bottom: 8px; letter-spacing: 0.14em; font-size: 12px; }
.eyebrow::before, .section-label::before { content: ""; width: 9px; height: 20px; background: var(--accent); transform: skewY(-18deg); flex: none; }

/* ---------- Cards, pills, bars, dots (shared components) ---------- */
.card, .col, .step, .index-grid > div, .flow > div, .teaser a, .article, .book-card, .about-strip, .how-grid div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.lift, .teaser a, .article, .flow > div, .index-grid > div, .step:not(.featured) { transition: transform .22s cubic-bezier(.2,.6,.2,1), box-shadow .22s, border-color .22s; }
.lift:hover, .teaser a:hover, .article:hover, .flow > div:hover, .index-grid > div:hover, .step:not(.featured):hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; white-space: nowrap; line-height: 1.45; background: var(--accent-soft); color: var(--accent-ink); border: 1px solid var(--accent-line); }
.pill.channel, .pill.role-importer, .pill.role-distributor, .pill.role-wholesaler, .pill.role-authorised_rep, .pill.role-sponsor { background: var(--accent-soft); color: var(--accent-ink); border-color: var(--accent-line); }
.pill.holder, .pill.role-holder { background: var(--amber-soft); color: var(--amber-ink); border-color: var(--amber-line); }
.pill.manufacturer, .pill.role-manufacturer, .pill.role-exporter, .pill.role-exhibitor { background: var(--paper-2); color: var(--ink-soft); border-color: var(--line); }
.pill.soft { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 12px; }
.bar { display: block; height: 6px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-dark), var(--accent)); border-radius: 4px; }
.dots { display: inline-flex; gap: 3px; vertical-align: middle; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); display: inline-block; }
.dots i.on { background: var(--accent); }
.statbar { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; }
.statbar > div { padding: 18px 22px; border-left: 1px solid var(--line); min-width: 0; }
.statbar > div:first-child { border-left: 0; }
.statbar b { display: block; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.statbar b em { font-style: normal; color: var(--accent-ink); }
.statbar span { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; letter-spacing: 0.02em; }
@media (max-width: 720px) { .statbar { grid-template-columns: 1fr 1fr; } .statbar > div { padding: 14px 16px; } .statbar > div:nth-child(3) { border-left: 0; } .statbar > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Hero (home, Index) ---------- */
header.hero, .ix-hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); isolation: isolate; }
header.hero::before, .ix-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(820px 460px at 85% -12%, var(--glow), transparent 62%), radial-gradient(500px 300px at 8% 110%, var(--glow), transparent 60%),
    linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px; background-position: 0 0, 0 0, center top, center top;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.hero h1 { font-size: var(--fs-display); max-width: 16ch; margin-bottom: 24px; }
.hero .lede, .ix-hero .lede { font-size: var(--fs-xl); color: var(--ink-soft); max-width: 56ch; margin-bottom: 32px; line-height: 1.5; text-wrap: pretty; }
.console { margin-top: 36px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 26px 28px 24px; position: relative; overflow: hidden; }
.console::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent-dark), var(--accent) 45%, transparent); }
@media (max-width: 600px) { .console { padding: 20px 18px 18px; border-radius: var(--r); } }
.console .kicker { color: var(--accent-ink); }
.console h2 { font-size: var(--fs-xl); margin-bottom: 8px; max-width: 40ch; }
.console > p { color: var(--ink-soft); font-size: var(--fs-md); max-width: var(--measure); margin-bottom: 18px; }
.search-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
@media (max-width: 560px) { .search-form { grid-template-columns: 1fr; } }
.search-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.search-form input { font-size: 17px; padding: 15px 18px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); min-width: 0; width: 100%; box-shadow: inset 0 1px 2px rgba(35,40,46,0.04); transition: border-color .15s, box-shadow .15s; }
.search-form input::placeholder { color: var(--ink-mute); }
.search-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search-form button { border: 0; white-space: nowrap; }
.search-form small { grid-column: 1 / -1; color: var(--ink-soft); font-size: var(--fs-xs); }
.hero .statbar { margin-top: 18px; }
.hero .cta-row { margin-top: 28px; }
.hero .cta-row .btn-ghost { background: var(--paper); }

/* Home hero: home-market select beside the query (added with the Index-first home page) */
.search-form.with-home { grid-template-columns: 1fr minmax(170px, 230px) auto; }
.search-form select { font-size: 15px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); min-width: 0; width: 100%; }
.search-form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
@media (max-width: 760px) { .search-form.with-home { grid-template-columns: 1fr; } }
.col p { font-size: var(--fs-md); color: var(--ink-soft); max-width: var(--measure); }
.col p + p { margin-top: 12px; }

/* ---------- Sections ---------- */
main > section, body > section { padding: var(--sp-section) 0; }
main > section + section, body > section + section { border-top: 1px solid var(--line); }
section.alt { background: var(--paper-2); }
.thesis p.big { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); line-height: 1.18; letter-spacing: -0.025em; max-width: 24ch; text-wrap: balance; }
.thesis p.big em { color: var(--accent-ink); font-style: normal; }
.thesis .sub { font-size: var(--fs-lg); color: var(--ink-soft); margin-top: 30px; max-width: var(--measure); line-height: 1.65; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.col { padding: 30px 28px; }
.col.not { background: var(--paper-2); box-shadow: none; }
.col h3 { font-size: 20px; margin-bottom: 14px; }
.col.not h3 { color: var(--ink-soft); }
.col ul { list-style: none; }
.col li { font-size: var(--fs-md); color: var(--ink-soft); padding: 10px 0 10px 22px; border-top: 1px solid var(--line); position: relative; }
.col li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 6px; height: 12px; background: var(--accent); transform: skewY(-18deg); }
.col.not li::before { background: var(--line-2); }

.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 30px 28px; }
.step.featured { background: var(--block); color: #fff; border-color: var(--block); grid-column: span 2; box-shadow: var(--shadow); }
@media (max-width: 820px) { .step.featured { grid-column: span 1; } }
.step .n { font-family: var(--font-display); font-size: 12.5px; letter-spacing: 0.14em; color: var(--accent-ink); font-weight: 800; margin-bottom: 14px; }
.step.featured .n, .step.featured h3 { color: #fff; }
.step.featured .n { color: var(--accent); }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step .price { font-size: 13.5px; color: var(--accent-ink); font-weight: 600; margin-bottom: 16px; }
.step.featured .price { color: var(--block-accent); }
.step p { font-size: var(--fs-md); color: var(--ink-soft); line-height: 1.6; margin-bottom: 12px; max-width: var(--measure); }
.step.featured p { color: var(--block-text); }
.step.featured strong { color: #fff; }
.step .guarantee { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.15); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }
.stat .num { font-family: var(--font-display); font-size: var(--fs-num); font-weight: 800; color: var(--accent-ink); line-height: 1; letter-spacing: -0.03em; }
.stat .cap { font-size: 15px; color: var(--ink-soft); margin-top: 18px; padding-top: 18px; border-top: 2px solid var(--accent); }

.how-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .how-grid { grid-template-columns: 1fr; } }
.how-grid div { padding: 28px; }
.how-grid h3 { margin-bottom: 10px; }
.how-grid p { font-size: var(--fs-md); color: var(--ink-soft); }

.contact { text-align: center; background: var(--paper-2); }
.contact h2 { margin: 0 auto 22px; font-size: var(--fs-h1); }
.contact p { font-size: var(--fs-lg); color: var(--ink-soft); max-width: 52ch; margin: 0 auto; text-wrap: pretty; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 48px 0 40px; background: var(--paper); }
footer .wrap { display: grid; grid-template-columns: auto 1fr; gap: 18px 48px; align-items: center; }
footer .fbrand img { height: 26px; width: auto; }
footer .flinks { display: flex; gap: 6px 22px; flex-wrap: wrap; justify-content: flex-end; }
footer a { font-size: 14px; color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--accent-ink); }
footer .fine { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); line-height: 1.6; }
.fine { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } footer .flinks { justify-content: flex-start; } }

/* ---------- Inner pages ---------- */
.page { padding: clamp(48px, 7vw, 80px) 0; }
.page .intro { font-size: var(--fs-lg); color: var(--ink-soft); max-width: 60ch; margin: -8px 0 32px; text-wrap: pretty; }
.bio-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
@media (max-width: 820px) { .bio-grid { grid-template-columns: 1fr; gap: 30px; } }
.portrait { width: 100%; max-width: 280px; aspect-ratio: 1; border-radius: var(--r); object-fit: cover; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.bio-meta { margin-top: 22px; font-size: 14px; color: var(--ink-soft); }
.prose { max-width: var(--measure); }
.prose p { font-size: 17.5px; color: var(--ink-soft); margin-bottom: 20px; line-height: 1.65; }
.prose h2 { max-width: 20ch; }
.prose strong { color: var(--ink); font-weight: 600; }
.timeline { max-width: 760px; margin-top: 48px; }
.stop { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.stop:last-child { border-bottom: none; }
.stop .place { font-size: 14px; color: var(--accent-ink); font-weight: 700; }
.stop .yrs { font-size: 13px; color: var(--ink-soft); margin-top: 4px; font-variant-numeric: tabular-nums; }
.stop .role { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 4px; letter-spacing: -0.01em; }
.stop .desc { font-size: var(--fs-md); color: var(--ink-soft); }
@media (max-width: 600px) { .stop { grid-template-columns: 1fr; gap: 6px; } }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; }
@media (max-width: 820px) { .book-grid { grid-template-columns: 1fr; } }
.book-card { padding: 32px; }
.book-card h3 { font-size: 22px; margin-bottom: 8px; }
.book-card .price { font-size: 13.5px; color: var(--accent-ink); font-weight: 600; margin-bottom: 16px; }
.book-card p, .book-card li { font-size: var(--fs-md); color: var(--ink-soft); }
.book-card ul { margin: 12px 0 20px 18px; }
.book-card li { margin: 6px 0; }
.embed { margin-top: 18px; min-height: 100px; border: 1px dashed var(--line-2); border-radius: var(--r-sm); padding: 18px; font-size: 14px; color: var(--ink-soft); background: var(--paper-2); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
/* Above the fold the hero fades in with CSS alone, so the largest paint does not wait for site.js. */
.hero .reveal { animation: bh-rise .7s cubic-bezier(.2,.6,.2,1) both; }
.hero .reveal:nth-child(2) { animation-delay: .06s; } .hero .reveal:nth-child(3) { animation-delay: .12s; }
@keyframes bh-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; animation: none; } .lift, .btn, .teaser a, .article { transition: none; } }

/* ---------- Home blocks ---------- */
.index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .index-grid { grid-template-columns: 1fr; } }
.index-grid > div { padding: 28px; }
.index-grid h3 { margin-bottom: 10px; }
.index-grid p { font-size: var(--fs-md); color: var(--ink-soft); }
.index-grid .num { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; color: var(--accent-ink); line-height: 1; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); display: inline-block; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: flow; }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }
.flow > div { position: relative; padding: 26px 22px 22px; display: flex; flex-direction: column; }
.flow > div::before { counter-increment: flow; content: counter(flow, decimal-leading-zero); font-family: var(--font-display); font-size: 12.5px; letter-spacing: 0.14em; color: var(--accent-ink); font-weight: 800; display: block; margin-bottom: 12px; }
.flow h3 { font-size: 18px; margin-bottom: 8px; }
.flow p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.flow .tag { align-self: flex-start; margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 999px; padding: 3px 10px; }

.about-strip { display: grid; grid-template-columns: 120px 1fr; gap: 30px; align-items: center; padding: 32px; }
@media (max-width: 640px) { .about-strip { grid-template-columns: 1fr; padding: 24px 20px; } }
.about-strip img { width: 120px; height: 120px; border-radius: var(--r); object-fit: cover; border: 1px solid var(--line); }
.about-strip h3 { font-size: 22px; margin-bottom: 8px; }
.about-strip p { font-size: 16px; color: var(--ink-soft); max-width: var(--measure); }
.about-strip .nums { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 18px; }
.about-strip .nums div { font-size: 13px; color: var(--ink-soft); max-width: 24ch; }
.about-strip .nums b { display: block; font-family: var(--font-display); font-size: 22px; color: var(--accent-ink); letter-spacing: -0.02em; margin-bottom: 2px; }

.by-country .sub { font-size: var(--fs-lg); color: var(--ink-soft); max-width: 60ch; margin: 0 0 26px; }
section.by-country h2 + .sub { margin-top: -14px; }
.by-country h3 { font-size: 24px; margin-bottom: 12px; }
.country-links { display: flex; flex-wrap: wrap; gap: 8px; }
.country-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 9px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); transition: border-color .18s, transform .18s, box-shadow .18s; }
.country-links a b { color: var(--accent-ink); font-weight: 600; margin-left: 6px; font-variant-numeric: tabular-nums; }
.country-links a:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.country-links a.all { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .teaser { grid-template-columns: 1fr; } }
.teaser a { display: block; text-decoration: none; padding: 24px; }
.teaser h3 { font-size: 17px; line-height: 1.3; margin-bottom: 10px; }
.teaser p { font-size: var(--fs-sm); color: var(--ink-soft); }
.teaser .soon, .article .soon { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--accent-ink); }

/* FAQ accordion and disclaimer (home). Same rules as distributors.css so the two pages match. */
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.35; list-style: none; position: relative; padding-right: 32px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: -2px; color: var(--accent-ink); font-size: 22px; line-height: 1; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 10px; color: var(--ink-soft); font-size: var(--fs-md); max-width: var(--measure); }
.faq .fine { margin-top: 28px; max-width: var(--measure); }

/* ---------- Insights hub ---------- */
.articles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
@media (max-width: 760px) { .articles { grid-template-columns: 1fr; } }
.article { padding: 26px; }
.article h3 { font-size: 20px; margin: 10px 0 10px; }
.article p { font-size: 15px; color: var(--ink-soft); }
.newsletter { margin-top: 56px; background: var(--block); color: #fff; border-radius: var(--r-lg); padding: 40px 36px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; box-shadow: var(--shadow); }
@media (max-width: 820px) { .newsletter { grid-template-columns: 1fr; padding: 28px 20px; } }
.newsletter h3 { color: #fff; font-size: clamp(22px, 3vw, 30px); }
.newsletter p { color: var(--block-text); font-size: var(--fs-md); margin-top: 10px; max-width: var(--measure); }
.newsletter .msg { font-size: 14px; color: var(--block-accent); min-height: 20px; margin-top: 8px; }
.snap-form { display: grid; gap: 10px; }
.snap-form label { font-size: 13px; color: var(--block-text); }
.snap-form input { font-size: 15px; padding: 13px 16px; border-radius: 8px; border: 1px solid var(--block-line); background: var(--block-2); color: #fff; }
.snap-form input::placeholder { color: var(--block-mute); }
.snap-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(25,178,206,0.25); }
.snap-form button { border: 0; }
.snap-form small { color: var(--block-mute); font-size: 12.5px; }
