:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #16181d;
  --muted: #5b6270;
  --line: #e4e1d8;
  --accent: #0b6e4f;
  --accent-soft: #d9efe6;
  --warn-bg: #fff4d6;
  --warn-ink: #6b4a00;
  --bar: #bfe3d3;
  --bar-whisker: #cfd4dc;
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --surface: #191c22;
    --ink: #eceef2;
    --muted: #a0a7b4;
    --line: #2a2e37;
    --accent: #5fd0a5;
    --accent-soft: #173a2d;
    --warn-bg: #3a2f10;
    --warn-ink: #f3d78a;
    --bar: #2c6b54;
    --bar-whisker: #3a404c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--line); background: var(--surface); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
nav.main { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.95rem; }
nav.main a { color: var(--muted); text-decoration: none; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
main { padding: 28px 0 56px; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin: 0 0 14px; }
.crumbs a { color: var(--muted); }
h1 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 10px; text-wrap: balance; }
h2 { font-size: 1.25rem; letter-spacing: -0.01em; margin: 40px 0 10px; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 68ch; margin: 0 0 22px; }
p { max-width: 72ch; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 22px 0 8px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.stat b { display: block; font-size: 1.55rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 0.85rem; color: var(--muted); }
.stat.key { border-color: var(--accent); background: var(--accent-soft); }
.note { background: var(--warn-bg); color: var(--warn-ink); border-radius: var(--radius); padding: 10px 14px; margin: 16px 0; max-width: 72ch; font-size: 0.95rem; }
.insights { margin: 18px 0; padding-left: 20px; max-width: 72ch; }
.insights li { margin: 6px 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; font-variant-numeric: tabular-nums; }
th, td { padding: 9px 12px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child { text-align: left; white-space: normal; min-width: 150px; }
td.l, th.l { text-align: left; white-space: normal; }
thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 600; background: var(--bg); }
tbody tr:last-child td { border-bottom: 0; }
td.med { font-weight: 700; }
td.dim, .dim { color: var(--muted); }
td.range { min-width: 160px; width: 22%; }
.bar { position: relative; height: 14px; }
.bar i { position: absolute; top: 6px; height: 2px; background: var(--bar-whisker); }
.bar b { position: absolute; top: 2px; height: 10px; background: var(--bar); border-radius: 3px; }
.bar u { position: absolute; top: 0; width: 3px; height: 14px; margin-left: -1px; background: var(--accent); border-radius: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0; list-style: none; }
.chips a { display: inline-block; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; font-size: 0.9rem; }
.chips a:hover { border-color: var(--accent); }
.chips small { color: var(--muted); }
.cta { border: 1px solid var(--accent); border-radius: var(--radius); padding: 16px 18px; margin: 36px 0 0; background: var(--accent-soft); max-width: 72ch; }
.method { font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 44px; padding-top: 16px; }
.method p { margin: 6px 0; }
footer.site { border-top: 1px solid var(--line); padding: 22px 0 40px; font-size: 0.88rem; color: var(--muted); }
footer.site p { margin: 6px 0; }
@media (max-width: 560px) {
  th, td { padding: 8px 9px; }
  td.range, th.range { display: none; }
}
