:root {
  --ink: #14261c;
  --paper: #f2f4ec;
  --hero: #e3ead6;
  --muted: #4f5e54;
  --link: #1f5c3e;
  --line: #d3dacb;
  --ad: #e6e9df;
  --blaze: #ff5a1f;
  --green: #2f7a4f;
  --footer-muted: #a9bba9;
  --footer-text: #e9f2df;
  --highlight: #ffe3d3;
  --answer: #ff9a6b;
  --white: #ffffff;
  --shadow: 6px 6px 0 var(--ink);
  --display: "Bricolage Grotesque", "Arial Narrow", Impact, sans-serif;
  --text: "Hanken Grotesk", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.5;
}

img { max-width: 100%; }

a { color: var(--link); }

a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--blaze);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 5;
}

.skip:focus { top: 8px; }

.wrap {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.05;
}

.brand-tag {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.nav a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
}

.nav a:hover { text-decoration: underline; }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero);
  padding: 48px 0 56px;
}

.topo {
  position: absolute;
  right: -8%;
  top: -80px;
  width: min(920px, 120%);
  height: 140%;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chip {
  display: inline-flex;
  align-self: flex-start;
  background: var(--blaze);
  color: var(--ink);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.4;
  padding: 4px 10px;
  border-radius: 99px;
}

h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(42px, 8vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  max-width: 62ch;
}

.search {
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 6px 6px 6px 16px;
}

.search input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 17px;
  min-width: 0;
  color: var(--ink);
}

.search input::placeholder { color: #5c665e; }

.search button,
.button {
  background: var(--blaze);
  color: var(--ink);
  border: 0;
  border-radius: 11px;
  font: inherit;
  font-weight: 600;
  padding: 12px 18px;
  text-decoration: none;
  display: inline-block;
}

.page {
  padding: 32px 0 64px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section { display: flex; flex-direction: column; gap: 14px; }

.h2row {
  display: flex;
  align-items: center;
  gap: 10px;
}

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 30px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0;
}

h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  margin: 0;
}

.mark {
  width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--blaze);
  flex: 0 0 auto;
}

.note { margin: 0; color: var(--muted); font-size: 15px; }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.card-top, .sites-row, .side-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.state-chip {
  background: var(--hero);
  color: var(--ink);
  font-weight: 600;
  font-size: 11px;
  border-radius: 99px;
  padding: 4px 10px;
}

.count, .num { font-family: var(--mono); font-weight: 500; }

.count { color: var(--muted); font-size: 12px; }

.card h3 { font-size: 21px; margin: 0; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }

.bar {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: var(--blaze);
  min-width: 8px;
}

.bar-track { flex: 1; min-width: 0; }

.bar.green { background: var(--green); }

.bar[data-pct="8"] { width: 8%; }
.bar[data-pct="9"] { width: 9%; }
.bar[data-pct="10"] { width: 10%; }
.bar[data-pct="11"] { width: 11%; }
.bar[data-pct="12"] { width: 12%; }
.bar[data-pct="13"] { width: 13%; }
.bar[data-pct="14"] { width: 14%; }
.bar[data-pct="15"] { width: 15%; }
.bar[data-pct="16"] { width: 16%; }
.bar[data-pct="17"] { width: 17%; }
.bar[data-pct="18"] { width: 18%; }
.bar[data-pct="19"] { width: 19%; }
.bar[data-pct="20"] { width: 20%; }
.bar[data-pct="21"] { width: 21%; }
.bar[data-pct="22"] { width: 22%; }
.bar[data-pct="23"] { width: 23%; }
.bar[data-pct="24"] { width: 24%; }
.bar[data-pct="25"] { width: 25%; }
.bar[data-pct="26"] { width: 26%; }
.bar[data-pct="27"] { width: 27%; }
.bar[data-pct="28"] { width: 28%; }
.bar[data-pct="29"] { width: 29%; }
.bar[data-pct="30"] { width: 30%; }
.bar[data-pct="31"] { width: 31%; }
.bar[data-pct="32"] { width: 32%; }
.bar[data-pct="33"] { width: 33%; }
.bar[data-pct="34"] { width: 34%; }
.bar[data-pct="35"] { width: 35%; }
.bar[data-pct="36"] { width: 36%; }
.bar[data-pct="37"] { width: 37%; }
.bar[data-pct="38"] { width: 38%; }
.bar[data-pct="39"] { width: 39%; }
.bar[data-pct="40"] { width: 40%; }
.bar[data-pct="41"] { width: 41%; }
.bar[data-pct="42"] { width: 42%; }
.bar[data-pct="43"] { width: 43%; }
.bar[data-pct="44"] { width: 44%; }
.bar[data-pct="45"] { width: 45%; }
.bar[data-pct="46"] { width: 46%; }
.bar[data-pct="47"] { width: 47%; }
.bar[data-pct="48"] { width: 48%; }
.bar[data-pct="49"] { width: 49%; }
.bar[data-pct="50"] { width: 50%; }
.bar[data-pct="51"] { width: 51%; }
.bar[data-pct="52"] { width: 52%; }
.bar[data-pct="53"] { width: 53%; }
.bar[data-pct="54"] { width: 54%; }
.bar[data-pct="55"] { width: 55%; }
.bar[data-pct="56"] { width: 56%; }
.bar[data-pct="57"] { width: 57%; }
.bar[data-pct="58"] { width: 58%; }
.bar[data-pct="59"] { width: 59%; }
.bar[data-pct="60"] { width: 60%; }
.bar[data-pct="61"] { width: 61%; }
.bar[data-pct="62"] { width: 62%; }
.bar[data-pct="63"] { width: 63%; }
.bar[data-pct="64"] { width: 64%; }
.bar[data-pct="65"] { width: 65%; }
.bar[data-pct="66"] { width: 66%; }
.bar[data-pct="67"] { width: 67%; }
.bar[data-pct="68"] { width: 68%; }
.bar[data-pct="69"] { width: 69%; }
.bar[data-pct="70"] { width: 70%; }
.bar[data-pct="71"] { width: 71%; }
.bar[data-pct="72"] { width: 72%; }
.bar[data-pct="73"] { width: 73%; }
.bar[data-pct="74"] { width: 74%; }
.bar[data-pct="75"] { width: 75%; }
.bar[data-pct="76"] { width: 76%; }
.bar[data-pct="77"] { width: 77%; }
.bar[data-pct="78"] { width: 78%; }
.bar[data-pct="79"] { width: 79%; }
.bar[data-pct="80"] { width: 80%; }
.bar[data-pct="81"] { width: 81%; }
.bar[data-pct="82"] { width: 82%; }
.bar[data-pct="83"] { width: 83%; }
.bar[data-pct="84"] { width: 84%; }
.bar[data-pct="85"] { width: 85%; }
.bar[data-pct="86"] { width: 86%; }
.bar[data-pct="87"] { width: 87%; }
.bar[data-pct="88"] { width: 88%; }
.bar[data-pct="89"] { width: 89%; }
.bar[data-pct="90"] { width: 90%; }
.bar[data-pct="91"] { width: 91%; }
.bar[data-pct="92"] { width: 92%; }
.bar[data-pct="93"] { width: 93%; }
.bar[data-pct="94"] { width: 94%; }
.bar[data-pct="95"] { width: 95%; }
.bar[data-pct="96"] { width: 96%; }
.bar[data-pct="97"] { width: 97%; }
.bar[data-pct="98"] { width: 98%; }
.bar[data-pct="99"] { width: 99%; }
.bar[data-pct="100"] { width: 100%; }

.sites-label { font-family: var(--mono); font-size: 13px; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

table { border-collapse: collapse; width: 100%; min-width: 640px; }

th, td {
  text-align: left;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  font-size: 14px;
}

th {
  background: var(--ink);
  color: var(--footer-text);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-top: 0;
}

th a { color: var(--footer-text); }
th a:hover { color: var(--white); }

td.num, th.num { text-align: right; font-family: var(--mono); }
.mono { font-family: var(--mono); font-weight: 500; }
.glance table { min-width: 0; }
.side-row a { color: var(--link); text-decoration: none; font-weight: 600; }
.side-title {
  margin: 0;
  background: var(--ink);
  color: var(--footer-text);
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 16px;
}

.ad {
  background: var(--ad);
  border: 1px dashed var(--line);
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
  overflow: hidden;
}

.ad strong { letter-spacing: 0.12em; font-size: 11px; }

.ad-leader { width: 320px; height: 100px; }
.ad-rect { width: 300px; height: 250px; }
.ad-sky { display: none; }

.facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.fact {
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 14px;
  padding: 20px;
}

.fact-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 34px;
  color: var(--blaze);
  margin: 0;
}

.fact h3 { font-size: 18px; margin: 4px 0; }

.fact p { margin: 0; color: var(--muted); font-size: 15px; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  margin: 0;
}

.crumbs span { color: var(--muted); }

.answer {
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  padding: 22px;
}

.answer p { margin: 6px 0 0; font-size: 19px; line-height: 1.5; }

.kicker {
  margin: 0;
  color: var(--answer);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat {
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 14px;
  padding: 14px 16px;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.layout {
  display: grid;
  gap: 28px;
}

.stack { display: flex; flex-direction: column; gap: 36px; min-width: 0; }

.map {
  position: relative;
  background: var(--hero);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 280px;
  overflow: hidden;
}

.map svg { display: block; width: 100%; height: auto; }

.legend {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--white);
  border-radius: 4px;
  padding: 6px 10px;
  margin: 8px;
  width: max-content;
  font-size: 12px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.rv { background: var(--blaze); }
.dot.std { background: var(--green); }

.prose p { margin: 0 0 12px; }

.faq { border-top: 1px solid var(--line); padding: 14px 0; }
.faq p { margin: 6px 0 0; color: var(--muted); }

.sidebar { display: flex; flex-direction: column; gap: 20px; }

.side-card {
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
}

.side-card h2 {
  background: var(--ink);
  color: var(--footer-text);
  font-size: 15px;
  padding: 12px 16px;
  letter-spacing: 0;
}

.side-row {
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.side-row.current { background: var(--highlight); }
.side-row .side-name { color: var(--ink); font-family: var(--text); font-weight: 600; font-size: 14px; }
.side-row span { font-family: var(--mono); font-weight: 500; color: var(--muted); font-size: 13px; }

.site-footer {
  background: var(--ink);
  color: var(--footer-muted);
  padding: 36px 0 42px;
}

.footer-source {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--footer-text);
}

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--footer-text); font-weight: 600; }

.site-footer p { margin: 10px 0 0; font-size: 14px; line-height: 1.45; }

.plain { max-width: 72ch; }
.plain p, .plain li { font-size: 17px; }
.methods { padding-left: 18px; }
.methods li { margin: 8px 0; }

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

.empty {
  border: 1px solid var(--line);
  padding: 16px;
  background: var(--white);
}

@media (min-width: 720px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .ad-leader { width: 728px; height: 90px; }
  .hero { padding: 72px 0 80px; }
}

@media (min-width: 1100px) {
  .wrap { width: min(1200px, calc(100% - 160px)); }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .sidebar { position: sticky; top: 16px; }
  .ad-rect { display: none; }
  .ad-sky { display: flex; width: 300px; height: 600px; }
}

@media (min-width: 1440px) {
  .wrap { width: min(1200px, calc(100% - 240px)); }
}
