/*
  Safe Migration Guide — trust-first native CSS (v2 visual layer).
  Radius rule (locked): surfaces 12px, buttons/badges/tags pill.
  Accent rule (locked): one green accent; red/amber reserved for semantic danger/warning states only.
*/

:root {
  --bg: #f2f5f2;
  --surface: #ffffff;
  --surface-2: #e9efe9;
  --ink: #17211c;
  --muted: #54655c;
  --line: #dbe3dc;
  --accent: #12694a;
  --accent-2: #0c4f38;
  --accent-ink: #f2faf5;
  --accent-soft: #e2f0e8;
  --danger: #a43131;
  --danger-soft: #f7e7e4;
  --warn: #8a5a13;
  --warn-soft: #f6edda;
  --ok-soft: #e2f0e8;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(23, 33, 28, 0.06);
  --shadow-md: 0 1px 2px rgba(23, 33, 28, 0.05), 0 10px 30px rgba(23, 33, 28, 0.08);
  --shadow-lg: 0 2px 6px rgba(23, 33, 28, 0.06), 0 24px 60px rgba(23, 33, 28, 0.14);
  --ring: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1411;
    --surface: #161e19;
    --surface-2: #1c2620;
    --ink: #e7ede9;
    --muted: #9cb0a4;
    --line: #2b3830;
    --accent: #43b183;
    --accent-2: #2f8f67;
    --accent-ink: #08130d;
    --accent-soft: #1b3227;
    --danger: #e2837b;
    --danger-soft: #33201d;
    --warn: #d9aa60;
    --warn-soft: #2e2717;
    --ok-soft: #1b3227;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.45), 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.5), 0 24px 60px rgba(0, 0, 0, 0.45);
  }
}

/* Fonts (self-hosted) */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(fonts/outfit-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: 'Noto Sans Bengali'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/noto-bengali.woff2) format('woff2');
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: 'Noto Sans Bengali'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/noto-bengali-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; }

* { box-sizing: border-box; }
svg[hidden] { display: none; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background:
    radial-gradient(640px 320px at 10% 150px, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%),
    radial-gradient(760px 380px at 88% 220px, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: 'Outfit', 'Noto Sans Bengali', 'Hind Siliguri', 'Nirmala UI', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Bilingual display */
[data-lang="bn"] .en, [data-lang="bn"] .swap-bn { display: none; }
[data-lang="en"] .bn, [data-lang="en"] .swap-en { display: none; }
[data-lang="bn"] body { line-height: 1.7; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: 92px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 10px 18px; border-radius: 999px; z-index: 60; }
.skip:focus { left: 16px; top: 16px; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.big { width: 34px; height: 34px; }

a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Reading progress bar */
.progress { position: fixed; top: 0; left: 0; z-index: 70; height: 3px; width: 0; border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--warn))); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  height: 64px; padding: 0 24px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand .ic { color: var(--accent); width: 26px; height: 26px; padding: 4px; background: var(--accent-soft); border-radius: 8px; }
.navlinks { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.navlinks::-webkit-scrollbar { display: none; }
.navlinks a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 7px 12px; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.navlinks a:hover { color: var(--ink); background: var(--surface-2); }
#langToggle {
  display: flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  font: inherit; font-size: 14.5px; font-weight: 600;
  padding: 7px 15px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
#langToggle:hover { border-color: var(--accent); box-shadow: var(--ring); }
#langToggle:active { transform: translateY(1px); }

/* HERO */
.hero { position: relative; display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 56px; align-items: center; padding-top: clamp(44px, 6vw, 88px); padding-bottom: clamp(28px, 4vw, 48px); }
.hero::after { /* fine dot texture, very quiet */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--accent) 14%, transparent) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(560px 320px at 92% 18%, #000 0%, transparent 72%);
          mask-image: radial-gradient(560px 320px at 92% 18%, #000 0%, transparent 72%);
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; padding: 7px 14px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); border-radius: 999px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--accent); flex: none; }
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); font-weight: 800; line-height: 1.16; letter-spacing: -0.015em; margin: 0 0 18px; }
.hero .sub { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--muted); max-width: 34rem; margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; text-decoration: none; padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, var(--accent), var(--accent-2)); color: var(--accent-ink); box-shadow: var(--shadow-md), var(--ring); }
.btn-primary:hover { filter: brightness(1.06); box-shadow: var(--shadow-lg), var(--ring); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-fig { margin: 0; position: relative; }
.hero-fig::before { /* layered card behind the photo */
  content: ""; position: absolute; inset: 18px -14px -14px 14px; z-index: 0;
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: var(--radius-lg); transform: rotate(1.6deg);
}
.hero-fig a { position: relative; z-index: 1; display: block; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface); transition: transform .25s; }
.hero-fig a:hover { transform: translateY(-4px); }
.hero-fig img { display: block; width: 100%; height: auto; }
.hero-fig figcaption { position: relative; z-index: 1; font-size: 13.5px; color: var(--muted); margin-top: 16px; }

/* Stat strip under hero */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-bottom: clamp(44px, 6vw, 72px); }
.stat { display: flex; align-items: center; gap: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 18px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat .ic { width: 34px; height: 34px; padding: 7px; color: var(--accent); background: var(--accent-soft); border-radius: 10px; }
.stat b { display: block; font-size: 1.28rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.stat small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }

/* Headings */
h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; margin: 0 0 14px; }
h2 .ic { color: var(--accent); width: 42px; height: 42px; padding: 9px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 12px; }
.lead { color: var(--muted); margin: 0 0 28px; max-width: 60ch; }
section { padding-top: clamp(48px, 6vw, 84px); }

/* VERDICT BOARD */
.board { display: grid; gap: 14px; margin-top: 26px; }
.route { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--muted); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.route:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.route h3 { margin: 0 0 6px; font-size: 1.12rem; font-weight: 700; }
.route p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 62rem; }
.route.ok { border-left-color: var(--accent); }
.route.warn { border-left-color: var(--warn); }
.route.stop { border-left-color: var(--danger); }
.badge { margin: 0; font-size: 13.5px; font-weight: 700; padding: 7px 15px; border-radius: 999px; white-space: nowrap; }
.route.ok .badge { background: var(--ok-soft); color: var(--accent); }
.route.warn .badge { background: var(--warn-soft); color: var(--warn); }
.route.stop .badge { background: var(--danger-soft); color: var(--danger); }

/* GOLDEN RULES ledger */
.ledger { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.ledger li { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; padding: 24px 28px; border-top: 1px solid var(--line); transition: background .2s; }
.ledger li:first-child { border-top: none; }
.ledger li:hover { background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface)); }
.ledger .num { font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--ink)));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.ledger p { margin: 0; font-size: 1.03rem; max-width: 62rem; }

/* FLAG PANELS */
.flagpanels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.panel { border-radius: var(--radius-lg); padding: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.panel:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.panel h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 1.05rem; }
.panel h3::before { content: ""; width: 11px; height: 11px; border-radius: 999px; flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.panel li { font-size: 15px; line-height: 1.55; padding-left: 20px; position: relative; }
.panel li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; border-radius: 999px; }
.p-green { background: linear-gradient(180deg, var(--ok-soft), color-mix(in srgb, var(--ok-soft) 55%, var(--surface))); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.p-green h3 { color: var(--accent); }
.p-green h3::before, .p-green li::before { background: var(--accent); }
.p-yellow { background: linear-gradient(180deg, var(--warn-soft), color-mix(in srgb, var(--warn-soft) 55%, var(--surface))); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.p-yellow h3 { color: var(--warn); }
.p-yellow h3::before, .p-yellow li::before { background: var(--warn); }
.p-red { background: linear-gradient(180deg, var(--danger-soft), color-mix(in srgb, var(--danger-soft) 55%, var(--surface))); border-color: color-mix(in srgb, var(--danger) 30%, transparent); }
.p-red h3 { color: var(--danger); }
.p-red h3::before, .p-red li::before { background: var(--danger); }

/* FRAUD pairs */
.pairs { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.pair, .pair-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 19px 24px; border-bottom: 1px solid var(--line); }
.pair:last-child { border-bottom: none; }
.pair-head { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); padding-bottom: 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.pair .they { margin: 0; font-weight: 600; }
.pair .they::before { content: "\201C"; color: var(--danger); font-weight: 800; margin-right: 2px; }
.pair .they::after { content: "\201D"; color: var(--danger); font-weight: 800; margin-left: 2px; }
.pair .do { margin: 0; color: var(--muted); }
.pair { transition: background .2s; }
.pair:hover { background: color-mix(in srgb, var(--accent-soft) 40%, var(--surface)); }
.note { margin-top: 30px; background: linear-gradient(180deg, var(--accent-soft), color-mix(in srgb, var(--accent-soft) 60%, var(--surface))); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); border-radius: var(--radius-lg); padding: 26px 30px; box-shadow: var(--shadow-sm); }
.note h3 { margin: 0 0 12px; color: var(--accent); }
.note ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.note li { max-width: 62rem; }

/* CHECKLIST */
.counter { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 6px 0 18px; }
.counter .cnt { font-weight: 800; font-size: 1.05rem; background: var(--surface); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.counter .verdict-line { font-weight: 600; color: var(--danger); }
.counter[data-state="go"] .verdict-line { color: var(--accent); }
.meter { height: 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; margin-bottom: 30px; }
.meter i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--warn), var(--accent)); transition: width .35s ease; }
.counter[data-state="go"] + .meter i { background: var(--accent); }
.clusters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cluster { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-lg); padding: 24px; margin: 0; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.cluster:hover { box-shadow: var(--shadow-md); }
.cluster legend { font-weight: 700; font-size: 1rem; padding: 0 10px; color: var(--accent); background: var(--accent-soft); border-radius: 999px; }
.chk { display: flex; gap: 12px; align-items: flex-start; padding: 10px 8px; border-radius: 10px; cursor: pointer; transition: background .15s; }
.chk:hover { background: var(--surface-2); }
.chk input { width: 21px; height: 21px; margin-top: 2px; accent-color: var(--accent); flex: none; cursor: pointer; }
.chk span { font-size: 15px; line-height: 1.5; transition: color .2s; }
.chk input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); text-decoration-thickness: 1.5px; }

/* CORRIDORS */
.corridors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.corridor { border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.corridor:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.corridor h3 { margin: 0; font-size: 1.18rem; }
.corridor p { margin: 0; color: var(--muted); font-size: 15.5px; }
.corridor .tag { margin-top: auto; align-self: flex-start; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.c-ok { background: linear-gradient(180deg, var(--ok-soft), color-mix(in srgb, var(--ok-soft) 50%, var(--surface))); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.c-ok .tag { background: linear-gradient(180deg, var(--accent), var(--accent-2)); color: var(--accent-ink); }
.c-warn { background: linear-gradient(180deg, var(--warn-soft), color-mix(in srgb, var(--warn-soft) 50%, var(--surface))); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.c-warn .tag { background: var(--warn-soft); color: var(--warn); border: 1px solid var(--warn); }
.c-stop { background: linear-gradient(180deg, var(--danger-soft), color-mix(in srgb, var(--danger-soft) 50%, var(--surface))); border-color: color-mix(in srgb, var(--danger) 30%, transparent); }
.c-stop .tag { background: var(--danger-soft); color: var(--danger); border: 1px solid var(--danger); }
.c-plain .tag { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }

/* MEDIA SHELF */
.shelf { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 28px; }
.shelf-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; margin: 0; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.shelf-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.shelf-video { grid-column: span 4; }
.shelf-info { grid-column: span 2; }
.shelf-pdf { grid-column: span 2; align-items: flex-start; }
.shelf-audio { grid-column: span 3; }
.shelf video { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #000; }
.shelf-info a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.shelf-info img { display: block; width: 100%; height: auto; }
.shelf figcaption { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
.shelf figcaption .ic { color: var(--accent); }
.shelf-pdf h3 { margin: 0; font-size: 1.02rem; }
.shelf-pdf p { margin: 0; color: var(--muted); font-size: 14px; }
.shelf-pdf .ic.big { color: var(--accent); padding: 9px; width: 52px; height: 52px; background: var(--accent-soft); border-radius: 14px; }
.shelf-pdf .btn { margin-top: auto; font-size: 14.5px; padding: 9px 18px; }
.shelf audio { width: 100%; }

/* REPORT */
.reportgrid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; margin-top: 28px; }
.contacts { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.contacts li { padding: 20px 26px; border-bottom: 1px solid var(--line); transition: background .2s; }
.contacts li:last-child { border-bottom: none; }
.contacts li:hover { background: color-mix(in srgb, var(--accent-soft) 35%, var(--surface)); }
.contacts h3 { margin: 0 0 4px; font-size: 1.02rem; }
.contacts h3 .en { color: var(--muted); font-weight: 600; font-size: 0.9em; }
.contacts p { margin: 0; color: var(--muted); font-size: 15px; }
.evidence { background: linear-gradient(180deg, var(--surface-2), color-mix(in srgb, var(--surface-2) 60%, var(--surface))); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 30px; align-self: start; box-shadow: var(--shadow-sm); }
.evidence h3 { margin: 0 0 14px; }
.evidence ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.evidence li { font-size: 15px; padding-left: 20px; position: relative; }
.evidence li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

/* FOOTER */
.foot { padding-top: 56px; padding-bottom: 44px; margin-top: 40px; border-top: 1px solid var(--line); }
.foot p { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; max-width: 64rem; margin: 0; }
.foot .ic { color: var(--accent); margin-top: 3px; }

/* Scroll reveal (html.js is set by an inline head script; without JS everything stays visible) */
main > section.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
main > section.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { main > section.reveal { opacity: 1; transform: none; transition: none; } }

/* RESPONSIVE */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .flagpanels, .clusters { grid-template-columns: 1fr; }
  .corridors { grid-template-columns: 1fr; }
  .reportgrid { grid-template-columns: 1fr; }
  .shelf { grid-template-columns: 1fr 1fr; }
  .shelf-video { grid-column: span 2; }
  .shelf-info { grid-column: span 2; }
  .shelf-pdf { grid-column: span 1; }
  .shelf-audio { grid-column: span 1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav { gap: 10px; padding: 0 14px; }
  .brand span { display: none; }
  .stats { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr; gap: 10px; }
  .badge { justify-self: start; }
  .pair, .pair-head { grid-template-columns: 1fr; gap: 6px; }
  .pair { padding: 16px 18px; }
  .pair-head .do { display: none; }
  .ledger li { grid-template-columns: 1fr; gap: 6px; padding: 20px 18px; }
  .ledger .num { font-size: 1.7rem; }
  .shelf { grid-template-columns: 1fr; }
  .shelf-video, .shelf-info, .shelf-pdf, .shelf-audio { grid-column: span 1; }
}
