:root {
  --ink: #11110f;
  --muted: #69665f;
  --paper: #f4f0e8;
  --paper-2: #ebe4d8;
  --card: #fffdf8;
  --line: #d8d0c3;
  --ember: #c95e2e;
  --ember-dark: #8c3b1b;
  --pine: #203b34;
  --white: #fff;
  --shadow: 0 14px 40px rgba(26, 22, 16, .08);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ember-dark); }
img, svg, canvas { max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(80, 70, 55, .12);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 820; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--paper); display:grid; place-items:center; font-size: 12px; letter-spacing:.04em; }
.nav-links { display:flex; gap: 22px; align-items:center; font-size: 14px; font-weight: 650; }
.nav-links a { text-decoration: none; color: #3e3b36; }
.nav-links a:hover { color: var(--ember); }
.hero { padding: 84px 0 58px; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; color: var(--ember-dark); }
.eyebrow::before { content:""; width:28px; height:2px; background: var(--ember); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; margin: 0; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(46px, 7vw, 88px); max-width: 1000px; font-weight: 600; }
h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(34px, 4.3vw, 55px); font-weight: 600; }
h3 { font-size: 20px; letter-spacing: -.02em; }
.hero p { max-width: 790px; font-size: clamp(18px, 2vw, 23px); color: #514d46; margin: 26px 0 0; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top: 30px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:0 18px; border-radius:999px; font-weight:800; font-size:14px; text-decoration:none; border:1px solid var(--ink); }
.button.primary { background:var(--ink); color:var(--white); }
.button.secondary { background:transparent; }
.button:hover { transform: translateY(-1px); color: inherit; }
.button.primary:hover { background: var(--pine); }
.data-strip { background: var(--ink); color: var(--paper); padding: 30px 0; }
.metric-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background:#3b3934; }
.metric { background:var(--ink); padding:24px; min-height:130px; }
.metric .label { color:#bdb6aa; font-size:12px; text-transform:uppercase; letter-spacing:.11em; font-weight:800; }
.metric .value { font-size:30px; font-weight:850; margin-top:10px; letter-spacing:-.04em; }
.metric .sub { color:#aaa397; font-size:13px; margin-top:4px; }
.section { padding: 76px 0; }
.section.alt { background: var(--paper-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-bottom:32px; }
.section-head p { max-width:600px; margin:0; color:var(--muted); }
.grid-3 { display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; }
.grid-2 { display:grid; grid-template-columns:repeat(2, 1fr); gap:18px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:26px; box-shadow:0 1px 0 rgba(255,255,255,.6) inset; }
.card:hover { box-shadow:var(--shadow); }
.code { display:inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight:800; background:#efe7da; border:1px solid #ddd2c1; border-radius:8px; padding:5px 8px; font-size:13px; }
.tag { display:inline-block; font-size:11px; text-transform:uppercase; letter-spacing:.1em; font-weight:850; color:var(--pine); margin-bottom:13px; }
.card p { color:var(--muted); }
.card .link { font-weight:800; font-size:14px; }
.warning { border-left: 4px solid var(--ember); padding: 20px 22px; background:#fff8ee; color:#4a4137; border-radius:0 12px 12px 0; }
.good { border-left-color: var(--pine); background:#edf5f0; }
.prose { width:min(780px, 100%); }
.prose p, .prose li { color:#4d4942; }
.prose h2 { margin-top:48px; margin-bottom:16px; font-size:38px; }
.prose h3 { margin-top:32px; margin-bottom:10px; }
.prose ul { padding-left:22px; }
.breadcrumbs { font-size:13px; color:var(--muted); padding-top:30px; }
.breadcrumbs a { text-decoration:none; }
.page-hero { padding:46px 0 42px; }
.page-hero h1 { font-size:clamp(42px,6vw,68px); }
.page-hero p { max-width:760px; color:var(--muted); font-size:19px; }
.table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:14px; background:var(--card); }
table { width:100%; border-collapse:collapse; font-size:14px; }
th, td { padding:15px 16px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
th { font-size:11px; text-transform:uppercase; letter-spacing:.08em; background:#eee7dc; }
tr:last-child td { border-bottom:0; }
.status-pill { display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border-radius:999px; background:#ece5da; font-size:12px; font-weight:800; }
.status-pill::before { content:""; width:7px; height:7px; border-radius:50%; background:#b98340; }
.status-pill.live::before { background:#347853; }
.dashboard-grid { display:grid; grid-template-columns: 1.55fr .75fr; gap:18px; align-items:start; }
.chart-card { min-height:390px; }
.chart { width:100%; height:280px; display:block; margin-top:14px; }
.legend { display:flex; flex-wrap:wrap; gap:12px; margin-top:12px; font-size:12px; color:var(--muted); }
.legend span::before { content:""; display:inline-block; width:10px; height:10px; border-radius:50%; background:var(--ink); margin-right:6px; }
.country-list { display:grid; gap:8px; }
.country-row { display:grid; grid-template-columns: 1fr auto; gap:18px; padding:11px 0; border-bottom:1px solid var(--line); }
.country-row:last-child { border-bottom:0; }
.country-row .amount { font-variant-numeric: tabular-nums; font-weight:750; }
.footer { background:var(--ink); color:#d8d1c5; padding:50px 0; margin-top:60px; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:30px; }
.footer h3 { color:var(--white); font-size:16px; }
.footer a { color:#d8d1c5; }
.footer p { color:#aba397; max-width:520px; font-size:14px; }
.small { font-size:13px; color:var(--muted); }
hr { border:0; border-top:1px solid var(--line); margin:32px 0; }
.kicker-box { background:var(--pine); color:white; border-radius:22px; padding:36px; }
.kicker-box p { color:#dce8e4; max-width:680px; }
.list-clean { list-style:none; padding:0; margin:0; }
.list-clean li { padding:10px 0; border-bottom:1px solid var(--line); }
.mobile-nav { display:none; }
@media (max-width: 900px) {
  .nav-links { display:none; }
  .mobile-nav { display:block; font-weight:800; font-size:13px; }
  .grid-3, .metric-grid { grid-template-columns:repeat(2,1fr); }
  .dashboard-grid, .grid-2, .footer-grid { grid-template-columns:1fr; }
  .section-head { align-items:start; flex-direction:column; }
}
@media (max-width: 600px) {
  .container { width:min(100% - 26px, 1180px); }
  .hero { padding-top:56px; }
  .grid-3, .metric-grid { grid-template-columns:1fr; }
  .metric { min-height:auto; }
  .section { padding:54px 0; }
  .card { padding:21px; }
  .page-hero { padding-top:34px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } * { transition:none !important; } }
