:root {
  --ink: #111a2b;
  --muted: #5e6877;
  --line: #d9e0ea;
  --paper: #ffffff;
  --wash: #f3f6fa;
  --blue: #1557ff;
  --blue-dark: #0c369e;
  --cyan: #00a7c7;
  --coral: #ef654f;
  --lime: #c9f05d;
  --violet: #7a62d3;
  --max: 1180px;
  --shadow: 0 18px 50px rgba(17, 26, 43, .08);
}

* { box-sizing: border-box; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html {
  scroll-behavior: smooth;
  background: var(--wash);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font: 16px/1.55 Inter, Aptos, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input, select { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(17, 26, 43, .14);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 780;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  flex: 0 0 auto;
}

.brand-mark img { display: block; width: 100%; height: 100%; }
.brand span span { color: var(--blue); }
.brand > span:last-child { position: relative; display: inline-flex; align-items: center; }
.brand-ribbon {
  position: absolute;
  top: .38em;
  right: -.42em;
  z-index: 1;
  width: .48em;
  height: .56em;
  margin: 0;
  display: block;
  object-fit: contain;
  pointer-events: none;
  transform: rotate(-7deg);
  transform-origin: 50% 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 11px;
  color: #404b5d;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 650;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--blue);
  outline: none;
}

.nav-more { position: relative; }
.nav-more summary {
  padding: 10px 11px;
  color: #404b5d;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 650;
  list-style: none;
  border-bottom: 2px solid transparent;
}
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after { content: "⌄"; margin-left: 7px; }
.nav-more.current summary,
.nav-more summary:hover,
.nav-more summary:focus-visible { color: var(--ink); border-bottom-color: var(--blue); outline: none; }
.nav-more-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 250px;
  padding: 8px;
  border: 1px solid var(--ink);
  background: white;
  box-shadow: 7px 7px 0 var(--lime);
  max-height: min(70vh, 620px);
  overflow-y: auto;
}
.nav-more-menu a { display: block; padding: 10px 12px; border: 0; }
.nav-more-label {
  display: block;
  padding: 10px 12px 5px;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 820;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.nav-more-menu a:hover,
.nav-more-menu a:focus-visible { background: var(--wash); border: 0; }

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.menu-button svg { width: 22px; height: 22px; }

main { min-height: 70vh; }

.page-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 76px 0 56px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 24px 0 auto auto;
  width: min(37vw, 470px);
  height: 138px;
  background: repeating-linear-gradient(90deg, transparent 0 34px, rgba(21, 87, 255, .13) 35px 36px);
  pointer-events: none;
}

.eyebrow {
  position: relative;
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 4px;
  margin-right: 10px;
  vertical-align: 3px;
  background: var(--coral);
}

h1, h2, h3, p { overflow-wrap: break-word; }

h1 {
  position: relative;
  max-width: 960px;
  margin: 0;
  font: 700 clamp(2.55rem, 6.2vw, 5.7rem)/.96 Georgia, "Times New Roman", serif;
  letter-spacing: -.055em;
}

.hero-lead {
  position: relative;
  max-width: 750px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-weight: 720;
}

.button-link.secondary {
  background: transparent;
  color: var(--ink);
}

.button-link:hover,
.button-link:focus-visible { box-shadow: 5px 5px 0 var(--lime); outline: none; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.metric {
  min-height: 150px;
  padding: 22px;
  border-right: 1px solid var(--ink);
}

.metric:last-child { border-right: 0; }
.metric-label { display: block; color: var(--muted); font-size: .84rem; font-weight: 690; }
.metric-value { display: block; margin-top: 13px; font-size: clamp(1.7rem, 3.6vw, 2.7rem); font-weight: 810; letter-spacing: -.055em; line-height: 1; }
.metric-note { display: block; margin-top: 12px; color: var(--muted); font-size: .8rem; }
.metric.negative .metric-value { color: var(--coral); }
.metric.current { background: var(--lime); }

.section { padding: 72px 0; }
.section.compact { padding-top: 30px; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 460px);
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font: 700 clamp(2rem, 4vw, 3.5rem)/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}

.section-heading p { margin: 0; color: var(--muted); }

.report-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.report-card {
  grid-column: span 4;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.report-card:nth-child(1) { grid-column: span 7; }
.report-card:nth-child(2) { grid-column: span 5; }
.report-card:nth-child(6) { grid-column: span 5; }
.report-card:nth-child(7) { grid-column: span 7; }
.report-card:nth-child(8),
.report-card:nth-child(9) { grid-column: span 6; }
.report-card:nth-child(10) { grid-column: span 12; min-height: 220px; }

.report-card:hover,
.report-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 8px 8px 0 var(--blue);
  outline: none;
}

.report-kicker { color: var(--blue); font-size: .74rem; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }
.report-card h3 { max-width: 560px; margin: 14px 0 8px; font-size: clamp(1.25rem, 2vw, 1.8rem); letter-spacing: -.035em; line-height: 1.1; }
.report-card p { max-width: 600px; margin: 0; color: var(--muted); font-size: .92rem; }
.report-meta { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; gap: 14px; color: var(--muted); font-size: .8rem; }
.report-arrow { color: var(--ink); font-size: 1.3rem; }

.longterm-band {
  position: relative;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  overflow: hidden;
}
.longterm-band::after {
  content: "1925  ·  2025";
  position: absolute;
  top: 20px;
  right: 24px;
  color: rgba(255, 255, 255, .08);
  font: 700 clamp(2rem, 7vw, 6rem)/1 Georgia, serif;
  letter-spacing: -.06em;
  white-space: nowrap;
  pointer-events: none;
}
.longterm-band .section-heading { position: relative; z-index: 1; }
.longterm-band .section-heading p { color: #b8c2d2; }
.longterm-band .section-heading h2 { color: white; }
.longterm-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .28);
}
.longterm-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}
.longterm-card:first-child { background: var(--lime); }
.longterm-card h3 { margin: 14px 0 9px; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.08; letter-spacing: -.035em; }
.longterm-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.longterm-card .report-meta { padding-top: 24px; }
.longterm-card:hover,
.longterm-card:focus-visible { position: relative; z-index: 2; outline: 4px solid var(--blue); outline-offset: -4px; }

.source-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 34px;
  border-left: 8px solid var(--blue);
  background: var(--ink);
  color: white;
}

.source-band h2 { margin: 0 0 10px; font: 700 2rem/1.05 Georgia, serif; letter-spacing: -.04em; }
.source-band p { margin: 0; color: #c7d0df; }
.source-band a { color: white; text-decoration-color: var(--lime); text-underline-offset: 4px; }

.analysis-card {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--ink);
  background: white;
  box-shadow: 8px 8px 0 rgba(21, 87, 255, .14);
}
.analysis-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: var(--blue);
}
.analysis-kicker {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: .75rem;
  font-weight: 820;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.analysis-card h2 { margin: 0 0 14px; font: 700 clamp(1.65rem, 3vw, 2.5rem)/1.05 Georgia, serif; letter-spacing: -.035em; }
.analysis-card p { max-width: 960px; margin: 0; color: #465163; }
.analysis-card p + p { margin-top: 12px; }
.analysis-sources { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.analysis-sources span { font-weight: 760; color: var(--ink); }
.analysis-sources a { color: var(--blue-dark); text-underline-offset: 3px; }

.projection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
}
.projection-item { padding: 18px; background: #f7f9fc; }
.projection-item span { display: block; color: var(--muted); font-size: .76rem; }
.projection-item strong { display: block; margin: 5px 0 3px; font-size: 1.45rem; letter-spacing: -.035em; }

.article-copy {
  display: block;
}
.article-copy h2 { margin: 0 0 14px; font: 700 clamp(1.8rem, 3.4vw, 3rem)/1 Georgia, serif; letter-spacing: -.04em; }
.article-copy h2:not(:first-of-type) { margin-top: 34px; }
.article-copy h3 { margin: 25px 0 8px; font-size: 1.12rem; }
.article-copy p { margin: 0 0 14px; color: #465163; }
.article-copy aside { padding: 22px; border: 1px solid var(--line); background: white; }
.article-copy aside h3 { margin-top: 0; }
.article-copy aside p:last-child { margin-bottom: 0; }

.report-hero { padding: 64px 0 30px; }
.report-hero h1 { max-width: 1050px; font-size: clamp(2.5rem, 5.3vw, 5rem); }
.report-hero .hero-lead { max-width: 830px; }

.report-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 38px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.summary-item { padding: 20px; background: white; }
.summary-item strong { display: block; margin: 7px 0 4px; font-size: 1.8rem; letter-spacing: -.04em; }
.summary-item span { color: var(--muted); font-size: .78rem; }

.chart-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.chart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.chart-header h2,
.chart-header h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -.03em; line-height: 1.15; }
.chart-header p { max-width: 580px; margin: 7px 0 0; color: var(--muted); font-size: .88rem; }

.chart-wrap { width: 100%; min-width: 0; overflow: hidden; }
.chart-wrap.empty-chart { min-height: 220px; display: grid; place-items: center; color: var(--muted); }
.chart-wrap svg { width: 100%; height: auto; display: block; }
.chart-grid { stroke: #dce3ed; stroke-width: 1; }
.chart-axis { fill: #687386; font-size: 12px; }
.chart-label { fill: var(--ink); font-size: 13px; font-weight: 680; }
.chart-path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.chart-point { stroke: white; stroke-width: 3; }
.chart-value { fill: var(--ink); font-size: 12px; font-weight: 760; }
.chart-zero { stroke: var(--ink); stroke-width: 2; }
.chart-reference { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 7 6; opacity: .72; }
.chart-reference-label { fill: var(--ink); font-size: 11px; font-weight: 760; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 720;
}

button.legend-item { cursor: pointer; }
button.legend-item[aria-pressed="false"] { opacity: .42; }
.legend-swatch { width: 18px; height: 3px; background: var(--swatch); }
.legend-swatch.dashed { background: repeating-linear-gradient(90deg, var(--swatch) 0 7px, transparent 7px 11px); }
.legend-item.unavailable { border-style: dashed; color: var(--muted); }

.chart-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}

.chart-foot a { color: var(--blue-dark); text-underline-offset: 3px; }

.map-card { margin-bottom: 22px; }
.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 30px;
  align-items: start;
}
.choropleth-map {
  min-height: 420px;
  display: grid;
  place-items: center;
}
.choropleth-map svg { width: 100%; height: auto; max-height: 520px; }
.region-shape {
  stroke: #fff;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  transition: filter .16s ease, stroke .16s ease;
}
.region-shape:hover,
.region-shape:focus-visible {
  stroke: var(--ink);
  stroke-width: 4;
  filter: brightness(.92);
  outline: none;
}
.map-status { margin: 0; color: var(--muted); font-size: .82rem; text-align: center; }
.map-status[hidden] { display: none; }
.map-legend {
  max-width: 440px;
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .78rem;
  font-variant-numeric: tabular-nums;
}
.map-legend-scale { height: 12px; border: 1px solid #b9c8e8; background: linear-gradient(90deg, #dbe7ff, #0c369e); }
.region-rate-panel {
  padding: 20px;
  border: 1px solid var(--line);
  background: #f7f9fc;
}
.region-rate-panel h3 { margin: 0 0 14px; font-size: 1rem; }
.region-rate-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 18px;
  list-style: none;
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
}
.region-rate-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.region-rate-list li span { min-width: 0; display: flex; align-items: center; gap: 7px; }
.region-rate-list i { width: 10px; height: 10px; flex: 0 0 auto; background: var(--region-color); }
.region-rate-list strong { font-size: .78rem; }

.data-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
  gap: 22px;
  align-items: start;
}

.insight-stack { display: grid; gap: 14px; }
.insight {
  padding: 22px;
  border: 1px solid var(--line);
  background: white;
}
.insight.accent { border: 0; background: var(--lime); }
.insight h3 { margin: 0 0 7px; font-size: 1rem; }
.insight strong { display: block; margin: 7px 0; font-size: 2rem; letter-spacing: -.05em; line-height: 1; }
.insight p { margin: 0; color: var(--muted); font-size: .88rem; }

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid #bfd2ff;
  background: #edf3ff;
}
.notice-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  font-weight: 850;
}
.notice h2, .notice h3 { margin: 0 0 4px; font-size: 1rem; }
.notice p { margin: 0; color: var(--muted); font-size: .88rem; }
.notice.neutral { border-color: var(--line); background: #f6f8fb; }
.notice.neutral .notice-icon { background: var(--ink); }

.table-card {
  margin-top: 22px;
  border: 1px solid var(--line);
  background: white;
  overflow: hidden;
}
.table-title { padding: 18px 20px; border-bottom: 1px solid var(--line); font-weight: 760; }
.table-note { margin: 0; padding: 13px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.table-scroll { overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
th { background: #f6f8fb; color: #4c586b; font-size: .78rem; letter-spacing: .035em; text-transform: uppercase; }
th:first-child, td:first-child { text-align: left; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #f8faff; }
.gap-cell { color: var(--muted); text-align: left; font-style: italic; white-space: normal; }
.delta-down { color: #067a55; font-weight: 760; }
.delta-up { color: #b94734; font-weight: 760; }

.current-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  min-height: 330px;
  border: 1px solid var(--ink);
  background: white;
}
.current-number {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  background: var(--blue);
  color: white;
}
.current-number span { font-size: .8rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.current-number strong { font-size: clamp(4.2rem, 9vw, 8.5rem); letter-spacing: -.085em; line-height: .84; }
.current-number small { color: #d9e4ff; }
.current-copy { display: grid; align-content: center; padding: 38px; }
.current-copy h2 { margin: 0 0 14px; font: 700 clamp(1.8rem, 3.2vw, 3rem)/1 Georgia, serif; letter-spacing: -.04em; }
.current-copy p { margin: 0 0 18px; color: var(--muted); }
.status { display: inline-flex; width: fit-content; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); font-size: .78rem; font-weight: 720; }
.status::before { content: ""; width: 8px; height: 8px; background: var(--coral); border-radius: 50%; }

.site-footer {
  margin-top: 70px;
  background: var(--ink);
  color: white;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.method-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: white;
}
.method-card h3 { margin: 0 0 8px; font-size: 1rem; }
.method-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.method-card strong { color: var(--blue-dark); }

.faq-intro {
  max-width: 780px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.02rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

#faq { scroll-margin-top: 92px; }

.faq-item {
  border: 1px solid var(--line);
  background: white;
}

.faq-item[open] {
  border-color: var(--ink);
  box-shadow: 6px 6px 0 rgba(21, 87, 255, .14);
}

.faq-item summary {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 760;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--lime);
  font-size: 1.25rem;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 62px 20px 20px; color: var(--muted); }
.faq-answer p { margin: 0; }
.faq-answer p + p { margin-top: 10px; }
.faq-answer a { color: var(--blue-dark); text-underline-offset: 3px; }

.faq-teaser {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.faq-teaser a {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--ink);
  background: white;
  text-decoration: none;
  font-weight: 760;
  line-height: 1.25;
}
.faq-teaser a::after { content: "Przeczytaj odpowiedź →"; color: var(--blue-dark); font-size: .78rem; }
.faq-teaser a:hover,
.faq-teaser a:focus-visible { box-shadow: 6px 6px 0 var(--lime); outline: none; }
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
}
.footer-brand { font: 700 1.5rem/1 Georgia, serif; }
.footer-inner p { max-width: 600px; margin: 12px 0 0; color: #b8c2d2; font-size: .86rem; }
.footer-inner p a { color: white; text-underline-offset: 3px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; align-content: start; }
.footer-links a { color: #d8deea; font-size: .84rem; text-underline-offset: 3px; }

.legal-shell { max-width: 900px; }
.legal-hero { padding: 68px 0 34px; }
.legal-hero h1 { font-size: clamp(2.5rem, 7vw, 5rem); }
.legal-meta { margin: 18px 0 0; color: var(--muted); font-size: .88rem; }
.legal-content {
  padding: 34px;
  border: 1px solid var(--line);
  background: white;
}
.legal-content h2 { margin: 36px 0 10px; font: 700 1.55rem/1.15 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 24px 0 8px; font-size: 1rem; }
.legal-content p, .legal-content li { color: #465163; }
.legal-content p { margin: 0 0 12px; }
.legal-content ul { margin: 10px 0 18px; padding-left: 22px; }
.legal-content a { color: var(--blue-dark); text-underline-offset: 3px; }

.consent-panel {
  position: fixed;
  z-index: 200;
  inset: auto 0 0;
  display: none;
  padding: 18px;
  background: rgba(17, 26, 43, .38);
}
.consent-panel.is-visible { display: block; }
.consent-inner {
  width: min(100%, 1100px);
  margin: auto;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: center;
  border: 1px solid var(--ink);
  background: white;
  box-shadow: 8px 8px 0 var(--blue);
}
.consent-copy strong { font-size: 1.05rem; }
.consent-copy p { max-width: 700px; margin: 5px 0 0; color: var(--muted); font-size: .86rem; }
.consent-copy a { color: var(--blue-dark); text-underline-offset: 3px; }
.consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.consent-button {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--ink);
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-weight: 720;
}
.consent-button.primary { background: var(--blue); color: white; border-color: var(--blue); }
.consent-button.link { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.consent-button:hover, .consent-button:focus-visible { box-shadow: 4px 4px 0 var(--lime); outline: none; }
.consent-preferences {
  grid-column: 1 / -1;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--wash);
}
.consent-preferences label {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--line);
}
.consent-preferences label:last-child { border-bottom: 0; }
.consent-preferences span { display: grid; }
.consent-preferences small { color: var(--muted); }
.consent-preferences input { width: 22px; height: 22px; accent-color: var(--blue); }

@media (max-width: 980px) {
  .menu-button { display: grid; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 14px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: white;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav-more summary { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav-more-menu { position: static; width: 100%; padding: 4px 0 8px 14px; border: 0; box-shadow: none; }
  .nav-more-menu a { padding: 10px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .section-heading { grid-template-columns: 1fr; gap: 14px; }
  .report-card, .report-card:nth-child(n) { grid-column: span 6; }
  .longterm-grid { grid-template-columns: 1fr; }
  .longterm-card { min-height: 220px; }
  .data-layout { grid-template-columns: 1fr; }
  .map-layout { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .faq-teaser { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .page-shell, .header-inner, .footer-inner { width: min(100% - 28px, var(--max)); }
  .header-inner { min-height: 64px; }
  .site-nav { top: 64px; }
  .brand { font-size: .94rem; }
  .brand-mark { width: 36px; height: 36px; }
  .hero { padding: 48px 0 36px; }
  .hero::before { display: none; }
  h1 { font-size: clamp(2.55rem, 13vw, 4.2rem); }
  .hero-lead { margin-top: 20px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric { min-height: 0; border-right: 0; border-bottom: 1px solid var(--ink); }
  .metric:nth-child(2) { border-bottom: 1px solid var(--ink); }
  .metric:last-child { border-bottom: 0; }
  .section { padding: 52px 0; }
  .report-card, .report-card:nth-child(n) { grid-column: 1 / -1; min-height: 230px; }
  .longterm-band { margin-inline: -2px; }
  .longterm-band::after { display: none; }
  .source-band { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .report-hero { padding-top: 44px; }
  .report-summary { grid-template-columns: 1fr; }
  .chart-card { padding: 18px 12px; }
  .chart-header { display: block; padding: 0 6px; }
  .chart-wrap { overflow: hidden; }
  .chart-axis { font-size: 11px; }
  .chart-label { font-size: 13px; }
  .chart-value { font-size: 11px; }
  .chart-foot { padding-inline: 6px; }
  .choropleth-map { min-height: 300px; }
  .region-rate-panel { padding: 16px; }
  .region-rate-list { grid-template-columns: 1fr; }
  .current-panel { grid-template-columns: 1fr; }
  .current-number { min-height: 280px; }
  .current-copy { padding: 26px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .projection-grid { grid-template-columns: 1fr; }
  .faq-item summary { padding: 16px; }
  .faq-answer { padding: 0 16px 18px; }
  .legal-hero { padding-top: 44px; }
  .legal-content { padding: 22px 18px; }
  .consent-panel { padding: 10px; }
  .consent-inner { grid-template-columns: 1fr; padding: 16px; box-shadow: 5px 5px 0 var(--blue); }
  .consent-actions { justify-content: stretch; }
  .consent-button { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
