
:root {
  --bg: #f5f7fb; --surface: #ffffff; --surface-2: #eef2f8; --ink: #121826; --muted: #5d6676;
  --line: #dbe2ec; --accent: #3346a8; --accent-2: #5d6ee2; --navy: #182454; --good: #1e7a57;
  --warn: #8c5b12; --max: 1180px; --radius: 18px; --shadow: 0 10px 35px rgba(25,35,70,.07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.62; }
a { color: var(--accent); text-decoration-thickness: .08em; text-underline-offset: .15em; }
a:hover { color: #24368d; }
.container { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.header-inner { min-height: 68px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--ink); font-weight:800; letter-spacing:-.02em; }
.brand-mark { width:34px; height:34px; border-radius:11px; display:grid; place-items:center; color:white; background:linear-gradient(145deg,var(--navy),var(--accent-2)); font-size:13px; letter-spacing:.02em; }
.brand small { display:block; color:var(--muted); font-weight:650; letter-spacing:.02em; font-size:11px; text-transform:uppercase; line-height:1.1; }
nav { display:flex; gap:20px; align-items:center; }
nav a { text-decoration:none; color:#394052; font-size:14px; font-weight:650; }
.hero { padding:82px 0 48px; }
.eyebrow { font-size:12px; text-transform:uppercase; letter-spacing:.14em; color:var(--accent); font-weight:800; }
h1,h2,h3 { line-height:1.15; letter-spacing:-.035em; margin-top:0; }
h1 { font-size:clamp(40px,6vw,72px); max-width:980px; margin:14px 0 20px; }
h2 { font-size:clamp(28px,4vw,42px); margin-bottom:16px; }
h3 { font-size:21px; }
.lede { font-size:clamp(18px,2.3vw,23px); color:#465063; max-width:850px; }
.meta-line { margin-top:24px; color:var(--muted); font-size:14px; }
.hero-actions,.action-row { display:flex; gap:12px; flex-wrap:wrap; margin-top:26px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 17px; border-radius:11px; text-decoration:none; font-weight:750; font-size:14px; border:1px solid var(--line); background:var(--surface); color:var(--ink); }
.button.primary { background:var(--navy); color:white; border-color:var(--navy); }
.button:hover { transform: translateY(-1px); }
.section { padding:54px 0; }
.section.compact { padding:34px 0; }
.section-rule { border-top:1px solid var(--line); }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:24px; }
.card h3 { margin-bottom:8px; }
.card p:last-child { margin-bottom:0; }
.kpi { font-size:38px; font-weight:850; letter-spacing:-.045em; line-height:1; color:var(--navy); margin-bottom:8px; }
.kpi-label { color:var(--muted); font-size:14px; }
.finding { position:relative; padding-top:30px; }
.finding .number { position:absolute; right:20px; top:16px; font-size:54px; line-height:1; font-weight:900; color:#e6eaf6; }
.note { border-left:4px solid var(--accent-2); background:#f0f3ff; padding:14px 18px; border-radius:0 12px 12px 0; color:#424c67; }
.warning { border-left-color:#c98a2a; background:#fff8ea; }
.figure { margin:30px 0; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow); }
.figure h3 { margin-bottom:6px; }
.figure .sub { color:var(--muted); font-size:14px; margin-top:0; }
.bar-chart { margin-top:22px; display:grid; gap:11px; }
.bar-row { display:grid; grid-template-columns:110px minmax(0,1fr) 108px; gap:12px; align-items:center; }
.bar-label { font-size:13px; font-weight:700; }
.bar-track { height:18px; background:#edf0f5; border-radius:999px; overflow:hidden; }
.bar-fill { height:100%; min-width:2px; border-radius:999px; background:linear-gradient(90deg,var(--navy),var(--accent-2)); }
.bar-value { text-align:right; font-variant-numeric:tabular-nums; color:#434b5b; font-size:13px; }
.change-fill { background:linear-gradient(90deg,#8d9ae8,#4c5dcc); }
.compare { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:20px; }
.compare .metric { padding:24px; background:var(--surface-2); border-radius:15px; border:1px solid var(--line); }
.compare strong { display:block; font-size:44px; color:var(--navy); letter-spacing:-.045em; }
.owner-map { display:grid; gap:12px; margin-top:20px; }
.owner-parent { padding:16px; border-radius:14px; background:var(--navy); color:white; font-weight:800; width:max-content; max-width:100%; }
.owner-arrow { margin-left:20px; color:var(--muted); font-size:13px; }
.owner-children { display:flex; flex-wrap:wrap; gap:10px; margin-left:34px; }
.owner-child { border:1px solid var(--line); background:white; border-radius:999px; padding:8px 12px; font-size:13px; font-weight:700; }
.timeline { margin:22px 0 0; padding:0; list-style:none; position:relative; }
.timeline:before { content:""; position:absolute; left:11px; top:7px; bottom:7px; width:2px; background:#d7dced; }
.timeline li { position:relative; padding:0 0 25px 38px; }
.timeline li:before { content:""; position:absolute; left:5px; top:7px; width:14px; height:14px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px #edf0ff; }
.timeline time { color:var(--accent); font-size:12px; font-weight:800; letter-spacing:.04em; }
.timeline strong { display:block; margin:3px 0; }
.table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:14px; background:white; }
table { width:100%; border-collapse:collapse; min-width:960px; font-size:13px; }
th,td { padding:12px 14px; text-align:left; border-bottom:1px solid #e8ecf2; vertical-align:top; }
th { background:#f2f4f9; color:#3c4557; font-size:12px; text-transform:uppercase; letter-spacing:.04em; cursor:default; }
th[data-sort] { cursor:pointer; }
td.num,th.num { text-align:right; font-variant-numeric:tabular-nums; }
tbody tr:hover { background:#fafbfe; }
.caption { color:var(--muted); font-size:12.5px; margin:13px 0 0; }
.callout { padding:26px; border-radius:18px; background:linear-gradient(145deg,#192557,#3346a8); color:white; }
.callout a { color:white; }
.prose { max-width:820px; }
.prose p { color:#3e4758; }
.pill { display:inline-block; padding:5px 9px; border-radius:999px; background:#e9edfb; color:#31428e; font-size:12px; font-weight:750; }
.download-list { display:grid; gap:12px; margin-top:20px; }
.download-item { display:flex; justify-content:space-between; gap:20px; align-items:center; border:1px solid var(--line); border-radius:14px; padding:16px 18px; background:white; }
.download-item span { color:var(--muted); font-size:13px; }
.code-cite { background:#111a37; color:#eaf0ff; border-radius:14px; padding:16px 18px; font-size:14px; }
.site-footer { margin-top:70px; border-top:1px solid var(--line); background:#eef1f6; padding:34px 0; color:var(--muted); font-size:13px; }
.footer-inner { display:flex; justify-content:space-between; align-items:flex-start; gap:30px; }
.footer-links { display:flex; gap:16px; flex-wrap:wrap; }
.skip-link { position:absolute; left:-9999px; top:auto; }
.skip-link:focus { left:12px; top:12px; z-index:100; background:#fff; padding:10px; border:2px solid var(--accent); }
@media (max-width: 820px) {
  .grid-3,.grid-2,.compare { grid-template-columns:1fr; }
  nav { gap:12px; } nav a { font-size:13px; }
  .hero { padding-top:54px; }
  .bar-row { grid-template-columns:88px minmax(0,1fr) 88px; gap:8px; }
  .footer-inner { flex-direction:column; }
}
@media (max-width: 600px) {
  .container { width:min(100% - 24px, var(--max)); }
  .header-inner { min-height:60px; } .brand span.brand-text { display:none; }
  h1 { font-size:39px; }
  .section { padding:40px 0; }
  .card,.figure { padding:18px; }
  .bar-row { grid-template-columns:80px 1fr; }
  .bar-value { grid-column:2; text-align:left; margin-top:-8px; }
}
