:root {
  --navy: #00509d;
  --navy-dark: #0d3052;
  --cta: #003f88;
  --text: #1d2a36;
  --muted: #5b6b7a;
  --line: #d9e4f0;
  --bg: #ffffff;
  --alt: #f4f8fc;
  --max: 1120px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
a { color: var(--navy); }
img { max-width: 100%; height: auto; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .bar {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 84px;
}
.logo img { display: block; width: 240px; height: auto; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--navy);
  color: #fff;
  border: 0;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
}
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-home, .menu > li > button, .menu > .nav-leaf > a {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  height: 36px;
  margin: 0;
  padding: 0 10px;
  color: var(--navy-dark);
  text-decoration: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  background: none;
  border: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  white-space: nowrap;
}
.menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}
.menu > li { display: flex; align-items: center; }
.has-sub { position: relative; }
.has-sub > .sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(13, 48, 82, 0.12);
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.sub .has-sub > .sub { top: -8px; left: 100%; }
.sub .has-sub > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 16px;
  color: var(--navy-dark);
  background: none;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}
.sub .has-sub > button::after { content: "›"; margin-left: 16px; }
.sub .has-sub > button:hover { background: var(--alt); color: var(--navy); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: block; }
.has-sub .sub a { display: block; padding: 8px 16px; font-weight: 500; color: var(--navy-dark); text-decoration: none; font-size: 14px; }
.has-sub .sub a:hover, .has-sub .sub a[aria-current="page"] { background: var(--alt); color: var(--navy); }
.is-active > button, .nav-leaf.is-active > a { color: var(--navy); }

.hero {
  background:
    linear-gradient(120deg, rgba(13, 48, 82, 0.92), rgba(0, 80, 157, 0.82)),
    radial-gradient(circle at 20% 20%, #4aa3ff 0, transparent 40%),
    var(--navy-dark);
  color: #fff;
  padding: 72px 0 64px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  margin: 0 0 16px;
  max-width: 16em;
}
.hero-compact { padding: 28px 0 24px; }
.hero-compact h1 {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25;
  margin: 0;
  max-width: none;
}
.hero-compact .hero-dek { font-size: 16px; line-height: 1.45; max-width: 78ch; margin: 0; }
.hero-dek { max-width: 70ch; font-size: 18px; opacity: 0.95; }

.section { padding: 56px 0; }
.section.alt { background: var(--alt); }
.section h2 { color: var(--navy-dark); margin: 0 0 12px; font-size: 28px; }
.lede { color: var(--muted); max-width: 72ch; }
code { font-size: 0.92em; background: #eef3f8; padding: 1px 5px; border-radius: 3px; }

.report-list { display: grid; gap: 18px; margin: 24px 0 36px; }
.report, .mini {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  padding: 18px 20px;
}
.report h3, .mini h3 { margin: 0 0 8px; color: var(--navy-dark); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini { border-left-color: #7ba7d4; }

.chart-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px 18px 10px;
  margin: 22px 0 32px;
}
.chart-canvas-wrap { position: relative; height: 380px; }
.chart-canvas-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.chart-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  pointer-events: none;
}
.chart-card.is-live .chart-fallback { display: none; }
.chart-note, .chart-dl { color: var(--muted); font-size: 13px; }
.chart-dl { margin-top: 0; }
.placeholder {
  border: 1px dashed #9bb4cc;
  background: #f7fbff;
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
}

.prose { max-width: 78ch; }
.prose h2 { font-size: 22px; margin-top: 28px; color: var(--navy); }
.prose ul { padding-left: 20px; }
.research { max-width: none; }
.research h2 { margin-top: 0; font-size: 28px; color: var(--navy-dark); text-align: center; }
.research h3 { color: var(--navy); font-size: 20px; margin: 24px 0 8px; }
.research p { margin: 0 0 8px; }
.research a { font-weight: 700; }
.coverage-intro { margin: 0 0 36px; }
.cta-mail {
  margin: 32px 0 8px;
  padding: 18px 20px;
  background: var(--alt);
  border-left: 4px solid var(--navy);
}
.cta-mail p { margin: 0; font-size: 18px; }
.cta-mail a { font-weight: 700; }

.cta { background: var(--cta); color: #fff; padding: 36px 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin: 0; font-size: 26px; }
.btn {
  display: inline-block;
  background: #fff;
  color: var(--navy-dark);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 4px;
}
.site-footer {
  background: var(--navy-dark);
  color: #d7e4f0;
  padding: 22px 0;
  font-size: 14px;
}
.footer-row { display: flex; justify-content: space-between; gap: 16px; }
.footer-row p { margin: 0; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    flex-direction: column;
    align-items: stretch;
  }
  body.nav-open .site-nav { display: flex; }
  .menu { flex-direction: column; align-items: stretch; }
  .menu > li { display: block; }
  .menu > li > button, .menu > .nav-leaf > a { width: 100%; }
  .has-sub > .sub { position: static; box-shadow: none; border: 0; display: none; }
  .has-sub.open > .sub { display: block; }
  .sub .has-sub > button { padding-left: 28px; }
  .sub .has-sub > button::after { content: "⌄"; }
  .sub .sub a { padding-left: 40px; }
  .hero { padding: 48px 0; }
  .hero-compact { padding: 20px 0 18px; }
  .three, .cta-row, .footer-row { grid-template-columns: 1fr; display: grid; }
  .chart-canvas-wrap { height: 280px; }
}
