/* ==========================================================================
   Silk Road Syria — Design System
   Transit & Transport Intelligence for Syria and the Levant
   ========================================================================== */

:root,
[data-theme="dark"] {
  /* Type scale */
  --text-2xs: clamp(0.688rem, 0.66rem + 0.14vw, 0.75rem);
  --text-xs:  clamp(0.75rem, 0.72rem + 0.16vw, 0.813rem);
  --text-sm:  clamp(0.875rem, 0.85rem + 0.15vw, 0.938rem);
  --text-base: clamp(1rem, 0.97rem + 0.16vw, 1.063rem);
  --text-md:  clamp(1.063rem, 1rem + 0.3vw, 1.188rem);
  --text-lg:  clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --text-xl:  clamp(1.625rem, 1.3rem + 1.5vw, 2.5rem);
  --text-2xl: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);

  /* Spacing */
  --s1: .25rem;  --s2: .5rem;   --s3: .75rem;  --s4: 1rem;
  --s5: 1.25rem; --s6: 1.5rem;  --s8: 2rem;    --s10: 2.5rem;
  --s12: 3rem;   --s16: 4rem;   --s20: 5rem;   --s24: 6rem;

  /* Surface & ink — deep forest green */
  --bg:            #0e1613;
  --bg-deep:       #081010;
  --surface:       #141d19;
  --surface-2:     #1a251f;
  --surface-3:     #212d26;
  --surface-inset: #142219;
  --border:        #26332c;
  --border-strong: #38473e;

  --ink:        #e5eae5;
  --ink-muted:  #a3b0a7;
  --ink-faint:  #78867d;
  --ink-invert: #0e1613;

  /* Brand — sage on forest */
  --brand:        #4f9d72;
  --brand-deep:   #78c095;
  --brand-soft:   #16281f;
  --brand-line:   #2c4a37;
  --accent:       #c9a86a;
  --accent-soft:  #2a2417;
  --on-brand:     #07160f;

  /* Status */
  --ok:        #6cbf88;
  --ok-soft:   #15291d;
  --warn:      #d9b061;
  --warn-soft: #2c2617;
  --stop:      #e0806a;
  --stop-soft: #321c17;
  --info:      #74abda;
  --info-soft: #15232e;

  /* Radii & shadow */
  --r-sm: .375rem; --r-md: .625rem; --r-lg: .875rem;
  --r-xl: 1.125rem; --r-2xl: 1.5rem; --r-full: 999px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,.32);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.38);
  --shadow-md: 0 12px 32px rgba(0,0,0,.48);
  --shadow-lg: 0 28px 68px rgba(0,0,0,.58);

  /* Fonts */
  --font-body: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Zodiak', Georgia, 'Times New Roman', serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;

  --wrap: 1240px;
  --wrap-narrow: 780px;
}

[data-theme="light"] {
  --bg:            #f4f6f2;
  --bg-deep:       #0e1613;
  --surface:       #fdfefb;
  --surface-2:     #ecefe8;
  --surface-3:     #e3e8de;
  --surface-inset: #e8f0e9;
  --border:        #d9ded3;
  --border-strong: #c1c8ba;

  --ink:        #16211b;
  --ink-muted:  #55625a;
  --ink-faint:  #849085;
  --ink-invert: #f4f6f2;

  --brand:        #1f6b45;
  --brand-deep:   #14512f;
  --brand-soft:   #dcebe1;
  --brand-line:   #a9ccb7;
  --accent:       #96762a;
  --accent-soft:  #f4eddb;
  --on-brand:     #ffffff;

  --ok:        #1a6b34;  --ok-soft:   #dcefe0;
  --warn:      #855a0b;  --warn-soft: #f6ecd6;
  --stop:      #a8341f;  --stop-soft: #f8e0da;
  --info:      #1d5b8f;  --info-soft: #dde9f4;

  --shadow-xs: 0 1px 2px rgba(14,22,19,.05);
  --shadow-sm: 0 2px 8px rgba(14,22,19,.06);
  --shadow-md: 0 12px 32px rgba(14,22,19,.09);
  --shadow-lg: 0 28px 68px rgba(14,22,19,.14);
}

/* --------------------------------------------------------------- Reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.62;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.14; font-weight: 600; letter-spacing: -.015em; }
h1 { font-family: var(--font-display); font-size: var(--text-3xl); letter-spacing: -.03em; }
h2 { font-family: var(--font-display); font-size: var(--text-xl); letter-spacing: -.022em; }
h3 { font-size: var(--text-md); }
h4 { font-size: var(--text-sm); }
p  { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: var(--r-sm); }

.wrap { width: min(calc(100% - 2.5rem), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(calc(100% - 2.5rem), var(--wrap-narrow)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 200; background: var(--surface); padding: .75rem 1rem; border-radius: var(--r-md); box-shadow: var(--shadow-md); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* -------------------------------------------------------------- Header -- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.header-row { display: flex; align-items: center; gap: var(--s5); padding: .85rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; flex: 0 0 auto; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; color: var(--brand); }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text strong { font-family: var(--font-display); font-size: 1.03rem; letter-spacing: -.02em; }
.brand-text span { font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .11em; color: var(--ink-faint); font-weight: 500; }

.nav { display: none; gap: .2rem; margin-left: auto; }
.nav a {
  font-size: var(--text-sm); font-weight: 500; color: var(--ink-muted);
  padding: .5rem .75rem; border-radius: var(--r-full); transition: background .15s, color .15s;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }

.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.nav + .header-actions { margin-left: 0; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--r-full); cursor: pointer; color: var(--ink-muted);
  transition: border-color .15s, color .15s, background .15s;
}
.icon-btn:hover { color: var(--ink); border-color: var(--border-strong); }
.icon-btn svg { width: 18px; height: 18px; }
.nav-toggle { display: inline-grid; }

/* Dark green is the default, so offer the sun; offer the moon once in light. */
.icon-sun  { display: block; }
.icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.mobile-nav {
  display: none; flex-direction: column; gap: .15rem;
  padding: .5rem 0 1.1rem; border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: .7rem .9rem; border-radius: var(--r-md); font-weight: 500; font-size: var(--text-sm); color: var(--ink-muted); }
.mobile-nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* --------------------------------------------------------------- Atoms -- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .75rem; border-radius: var(--r-full);
  background: var(--brand-soft); color: var(--brand-deep);
  font-size: var(--text-2xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.3rem; border-radius: var(--r-full);
  font-size: var(--text-sm); font-weight: 600; border: 1px solid transparent;
  cursor: pointer; transition: background .18s, border-color .18s, transform .12s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-deep); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-strong); background: var(--surface-2); }
.btn-sm { min-height: 38px; padding: .45rem 1rem; font-size: var(--text-xs); }

.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .28rem .65rem; border-radius: var(--r-full);
  font-size: var(--text-2xs); font-weight: 700; letter-spacing: .04em;
  background: var(--surface-2); color: var(--ink-muted); white-space: nowrap;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.pill-ok    { background: var(--ok-soft);   color: var(--ok); }
.pill-warn  { background: var(--warn-soft); color: var(--warn); }
.pill-stop  { background: var(--stop-soft); color: var(--stop); }
.pill-info  { background: var(--info-soft); color: var(--info); }
.pill-plain::before { display: none; }

.tag {
  display: inline-block; padding: .2rem .55rem; border-radius: var(--r-sm);
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: var(--text-2xs); color: var(--ink-muted); font-weight: 500;
}

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--shadow-xs);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.card-pad { padding: var(--s6); }
.card-hover:hover { border-color: var(--brand-line); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.lede { font-size: var(--text-md); color: var(--ink-muted); max-width: 62ch; }
.muted { color: var(--ink-muted); }
.faint { color: var(--ink-faint); }
.mono { font-family: var(--font-mono); font-size: .85em; letter-spacing: -.01em; }

/* ------------------------------------------------------------ Sections -- */
.section { padding: var(--s20) 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-tight { padding: var(--s16) 0; }
.section-head { display: grid; gap: var(--s3); margin-bottom: var(--s10); max-width: 68ch; }
.section-head p { color: var(--ink-muted); }

.grid { display: grid; gap: var(--s5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 680px)  { .grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); } }

/* ---------------------------------------------------------------- Hero -- */
.hero {
  position: relative; overflow: hidden;
  background: var(--bg-deep); color: #e2e9e3;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1000px 520px at 78% 8%, rgba(56,138,95,.40), transparent 62%),
    radial-gradient(760px 460px at 8% 92%, rgba(201,168,106,.15), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; gap: var(--s10); align-items: center; }
@media (min-width: 1060px) { .hero-inner { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: var(--s16); } }
.hero .eyebrow { background: rgba(255,255,255,.08); color: #9ad9b2; }
.hero h1 { color: #f7faf7; max-width: 15ch; margin-top: var(--s5); }
.hero h1 em { font-style: normal; color: #74c79a; }
.hero .lede { color: #b3c2b8; margin-top: var(--s5); font-size: var(--text-md); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--s8); }
.hero .btn-ghost { background: rgba(255,255,255,.06); color: #eef2ee; border-color: rgba(255,255,255,.17); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.hero-note { margin-top: var(--s6); font-size: var(--text-xs); color: #8b988f; max-width: 52ch; }
.hero-note a { color: #9ad9b2; text-decoration: underline; text-underline-offset: 2px; }

.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.11); border-radius: var(--r-xl); overflow: hidden; }
.hero-stat { background: #101c17; padding: var(--s5) var(--s5) var(--s6); }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem); color: #7fd0a4; line-height: 1; letter-spacing: -.03em; }
.hero-stat span { display: block; margin-top: .6rem; font-size: var(--text-sm); color: #d1dbd4; font-weight: 500; }
.hero-stat small { display: block; margin-top: .3rem; font-size: var(--text-2xs); color: #7e8d84; line-height: 1.45; }

.hero-map { position: relative; }
.hero-map svg { width: 100%; height: auto; }

/* ---------------------------------------------------------- Leaflet map -- */
.map-shell { position: relative; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-sm); }
#srs-map { width: 100%; height: clamp(440px, 62vh, 680px); background: var(--surface-2); z-index: 1; }
.map-legend {
  display: flex; flex-wrap: wrap; gap: .4rem;
  padding: .75rem; border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.layer-toggle {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .42rem .8rem; border-radius: var(--r-full);
  border: 1px solid var(--border); background: var(--surface-2);
  font-size: var(--text-xs); font-weight: 600; color: var(--ink-muted);
  cursor: pointer; transition: all .15s;
}
.layer-toggle .swatch { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.layer-toggle[aria-pressed="true"] { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand-deep); }
.layer-toggle[aria-pressed="false"] { opacity: .55; }
.map-footnote { padding: .7rem .9rem; border-top: 1px solid var(--border); background: var(--surface); font-size: var(--text-2xs); color: var(--ink-faint); }

.leaflet-container { font-family: var(--font-body) !important; background: var(--surface-2) !important; }
.leaflet-control-attribution {
  background: color-mix(in srgb, var(--surface) 88%, transparent) !important;
  color: var(--ink-faint) !important; font-size: 10px !important;
}
.leaflet-control-attribution a { color: var(--ink-muted) !important; }
.leaflet-bar a {
  background: var(--surface) !important; color: var(--ink) !important;
  border-bottom-color: var(--border) !important;
}
.leaflet-bar a:hover { background: var(--surface-2) !important; }
.leaflet-popup-content-wrapper { border-radius: var(--r-lg) !important; box-shadow: var(--shadow-md) !important; background: var(--surface) !important; color: var(--ink) !important; }
.leaflet-popup-tip { background: var(--surface) !important; }
.leaflet-popup-content { margin: .95rem 1.05rem !important; font-size: var(--text-sm) !important; line-height: 1.55 !important; min-width: 210px; }
.pop-title { font-weight: 700; font-size: var(--text-sm); margin-bottom: .3rem; }
.pop-sub { font-size: var(--text-2xs); color: var(--ink-faint); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; margin-bottom: .55rem; }
.pop-body { color: var(--ink-muted); font-size: var(--text-xs); }
.pop-link { display: inline-block; margin-top: .6rem; font-size: var(--text-xs); font-weight: 600; color: var(--brand); }
.marker-pin { border-radius: 50%; border: 2.5px solid var(--surface); box-shadow: 0 2px 6px rgba(0,0,0,.35); }

/* ----------------------------------------------------------- Data cards -- */
.entry { display: grid; gap: var(--s4); padding: var(--s6); }
.entry-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.entry-title { display: grid; gap: .25rem; }
.entry-title h3 { font-size: var(--text-md); }
.entry-title .route { font-size: var(--text-xs); color: var(--ink-faint); font-weight: 500; }
.entry p { color: var(--ink-muted); font-size: var(--text-sm); }
.entry-meta { display: grid; gap: .55rem; padding-top: var(--s4); border-top: 1px solid var(--border); }
.meta-row { display: grid; grid-template-columns: 8.5rem 1fr; gap: var(--s3); font-size: var(--text-xs); align-items: baseline; }
.meta-row dt { color: var(--ink-faint); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: var(--text-2xs); }
.meta-row dd { margin: 0; color: var(--ink-muted); }
.sources { display: flex; flex-wrap: wrap; gap: .4rem; padding-top: var(--s4); border-top: 1px solid var(--border); }
.sources a {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: var(--text-2xs); color: var(--brand); font-weight: 600;
  padding: .25rem .6rem; border-radius: var(--r-full);
  background: var(--brand-soft); transition: background .15s;
}
.sources a:hover { background: var(--brand-line); }
.sources-label { font-size: var(--text-2xs); color: var(--ink-faint); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; align-self: center; margin-right: .25rem; }

/* -------------------------------------------------------------- Filters -- */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  padding: var(--s4); margin-bottom: var(--s8);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
}
.filter-label { font-size: var(--text-2xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); margin-right: .35rem; }
.chip {
  padding: .42rem .9rem; border-radius: var(--r-full);
  border: 1px solid var(--border); background: var(--surface-2);
  font-size: var(--text-xs); font-weight: 600; color: var(--ink-muted); cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--border-strong); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.filter-search {
  flex: 1 1 200px; min-width: 160px; min-height: 40px;
  padding: .5rem .9rem; border-radius: var(--r-full);
  border: 1px solid var(--border); background: var(--surface-2); font-size: var(--text-sm);
}
.result-count { font-size: var(--text-xs); color: var(--ink-faint); margin-left: auto; white-space: nowrap; }
.empty-state { padding: var(--s16) var(--s6); text-align: center; color: var(--ink-faint); }

/* --------------------------------------------------------- Corridor row -- */
.corridor {
  display: grid; gap: var(--s4); padding: var(--s6);
  border-left: 3px solid var(--brand);
}
.corridor-route {
  font-family: var(--font-mono); font-size: var(--text-xs);
  color: var(--ink-muted); background: var(--surface-inset);
  padding: .7rem .9rem; border-radius: var(--r-md); line-height: 1.7;
}

/* --------------------------------------------------------------- Table -- */
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: var(--text-sm); min-width: 620px; }
table.data th, table.data td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
table.data th { font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); font-weight: 700; background: var(--surface-2); position: sticky; top: 0; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--surface-2); }
table.data td.num { font-family: var(--font-mono); }

/* -------------------------------------------------------------- Notices -- */
.notice {
  display: grid; gap: .5rem; padding: var(--s5) var(--s6);
  border-radius: var(--r-lg); border: 1px solid var(--border);
  background: var(--surface-2); font-size: var(--text-sm); color: var(--ink-muted);
}
.notice strong { color: var(--ink); font-size: var(--text-sm); }
.notice-warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.notice-warn strong { color: var(--warn); }
.notice-info { background: var(--info-soft); border-color: color-mix(in srgb, var(--info) 28%, transparent); }
.notice-info strong { color: var(--info); }

/* ----------------------------------------------------------------- CTA -- */
.cta {
  background: var(--bg-deep); color: #e2e9e3;
  border-radius: var(--r-2xl); padding: clamp(2.5rem,5vw,4rem);
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 340px at 88% 10%, rgba(56,138,95,.42), transparent 65%);
}
.cta > * { position: relative; }
.cta h2 { color: #f7faf7; max-width: 20ch; }
.cta p { color: #aebbb3; margin-top: var(--s4); max-width: 58ch; }
.cta .hero-actions { margin-top: var(--s6); }
.cta .btn-ghost { background: rgba(255,255,255,.07); color: #eef2ee; border-color: rgba(255,255,255,.19); }

/* -------------------------------------------------------------- Footer -- */
.site-footer { border-top: 1px solid var(--border); padding: var(--s16) 0 var(--s10); margin-top: var(--s8); }
.footer-grid { display: grid; gap: var(--s10); }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.footer-col h4 { font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); margin-bottom: var(--s4); }
.footer-col ul { list-style: none; display: grid; gap: .55rem; }
.footer-col a { font-size: var(--text-sm); color: var(--ink-muted); }
.footer-col a:hover { color: var(--brand); }
.footer-about p { font-size: var(--text-sm); color: var(--ink-muted); margin-top: var(--s4); max-width: 42ch; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--s4); justify-content: space-between;
  margin-top: var(--s12); padding-top: var(--s6); border-top: 1px solid var(--border);
  font-size: var(--text-xs); color: var(--ink-faint);
}
.disclaimer { max-width: 74ch; line-height: 1.6; }

/* ---------------------------------------------------------- Page header -- */
.page-head { padding: var(--s16) 0 var(--s12); border-bottom: 1px solid var(--border); background: var(--surface-2); }
.page-head h1 { font-size: var(--text-2xl); max-width: 18ch; margin-top: var(--s4); }
.page-head .lede { margin-top: var(--s5); }
.breadcrumb { display: flex; gap: .45rem; font-size: var(--text-xs); color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--brand); }

.verified-note {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: var(--s6);
  padding: .5rem .9rem; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--border);
  font-size: var(--text-2xs); color: var(--ink-muted); font-weight: 500;
}
.verified-note svg { width: 14px; height: 14px; color: var(--ok); }
