:root {
  --paper: #ffffff;
  --ink: #191a18;
  --secondary: #333530;
  --muted: #696b65;
  --line: #e9e9e9;
  --panel: #f7f7f7;
  --orange: #ec6a22;
  --orange-dark: #bc4f18;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 10; padding: 10px 14px; background: var(--ink); color: white; }
.skip:focus { left: 12px; }
.topbar { width: min(100% - 48px, 1200px); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.back { text-decoration: none; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 9px; }
.back span { font-size: 21px; font-weight: 300; line-height: 1; }
.back:hover, .site-footer a:hover { color: var(--orange-dark); }
.languages { display: flex; align-items: center; gap: 15px; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.languages a { text-decoration: none; color: var(--muted); padding: 5px 0; }
.languages a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--orange); }
article { width: min(100% - 48px, 760px); margin: auto; }
.hero { text-align: center; padding: clamp(90px, 14vw, 160px) 0 88px; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { font-size: clamp(3.1rem, 7vw, 5.4rem); line-height: 1.03; letter-spacing: -.025em; font-weight: 600; max-width: 900px; margin: 0 auto; }
.dek { font-size: clamp(18px, 2vw, 23px); line-height: 1.5; letter-spacing: -.025em; color: var(--secondary); max-width: 690px; margin: 31px auto 0; }
.meta { font-size: 13px; color: var(--muted); margin: 35px auto 0; }
.meta span { padding: 0 9px; }
.opening-figure { margin: 0 0 120px; padding: 44px 24px 39px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.population { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: clamp(30px, 5vw, 56px); font-weight: 500; letter-spacing: -.065em; line-height: 1.15; }
.population i { color: var(--orange); font-size: 25px; font-style: normal; font-weight: 600; }
.final-population { color: var(--orange-dark); }
.opening-figure figcaption { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 16px; }
.section { border-top: 1px solid var(--line); padding: 56px 0 0; margin-bottom: 118px; scroll-margin-top: 36px; }
h2 { font-size: clamp(2.3rem, 5vw, 3.35rem); line-height: 1.11; letter-spacing: -.02em; font-weight: 550; margin: 0 0 32px; overflow-wrap: normal; }
.prose > p, .prose > .summary-line p { font-size: 17px; line-height: 1.78; letter-spacing: -.007em; color: var(--secondary); margin: 0 0 22px; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose em { font-style: italic; }
.prose sup { vertical-align: super; font-size: 10px; line-height: 0; margin-left: 2px; }
.prose sup a { color: var(--orange-dark); text-decoration: none; font-weight: 700; }
.prose sup a:hover { text-decoration: underline; }
.summary-line { display: flex; align-items: flex-start; gap: 15px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; }
.orange-dot { display: inline-block; flex: none; width: 11px; height: 11px; margin-top: 10px; border-radius: 50%; background: var(--orange); }
.summary-line p { margin: 0 !important; font-size: 15px !important; }
.chart-figure, .ballot-figure { margin: 48px 0; }
.figure-heading { display: flex; flex-direction: column; gap: 5px; margin-bottom: 24px; }
.figure-heading strong { font-size: 17px; letter-spacing: -.02em; }
.figure-heading span { color: var(--muted); font-size: 13px; }
.line-chart { width: 100%; height: auto; display: block; overflow: visible; }
.line-chart .grid { stroke: var(--line); stroke-width: 1; fill: none; }
.line-chart .axis { fill: var(--muted); font: 13px Inter, Arial, sans-serif; }
.line-chart .series { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.line-chart .series.first { stroke: #555750; }
.line-chart .series.repeat { stroke: var(--orange); }
.line-chart .points.first { fill: #555750; }
.line-chart .points.repeat { fill: var(--orange); }
.line-chart .end-label { font: 700 13px Inter, Arial, sans-serif; }
.line-chart .first-label { fill: #555750; }
.line-chart .repeat-label { fill: var(--orange-dark); }
.legend { display: flex; flex-wrap: wrap; gap: 13px 27px; margin: 8px 0 22px; font-size: 12px; color: var(--secondary); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend-line { width: 18px; border-top: 3px solid; display: inline-block; }
.first-line { border-color: #555750; }
.repeat-line { border-color: var(--orange); }
figure figcaption { color: var(--muted); font-size: 12px; line-height: 1.65; }
figure code, .sources code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; word-break: break-word; }
.quote { margin: 37px 0; padding: 0 0 0 23px; border-left: 3px solid var(--orange); }
.quote.subtle { border-left-color: #c2c3b9; }
.quote p { font-size: clamp(20px, 3vw, 27px); line-height: 1.48; letter-spacing: -.035em; margin: 0 0 14px; font-weight: 450; }
.quote footer { font-size: 12px; color: var(--muted); line-height: 1.55; font-style: normal; }
.quote footer span { display: block; max-width: 650px; color: var(--secondary); font-style: italic; margin-top: 7px; font-size: 13px; }
.document { margin: 41px 0; padding: 28px 30px 31px; background: var(--panel); }
.document-top { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.document-top .orange-dot { width: 8px; height: 8px; margin: 0; }
.document blockquote { font-size: clamp(21px, 3.3vw, 29px); line-height: 1.45; letter-spacing: -.035em; margin: 25px 0 23px; }
.ballot-figure { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 27px 0 25px; }
.ballot-row { display: grid; grid-template-columns: 1fr 25px 1fr 30px; gap: 12px; align-items: center; border-top: 1px solid var(--line); min-height: 64px; padding: 10px 14px; font-size: 17px; }
.ballot-row.chosen { background: #f5e8df; }
.ballot-row > b { font-size: 18px; color: var(--orange-dark); font-weight: 400; }
.ballot-row > strong { text-align: right; color: var(--orange-dark); }
.ballot-row small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.ballot-figure figcaption { margin-top: 18px; }
.run-list { border-top: 1px solid var(--ink); margin: 37px 0 33px; }
.run-item { padding: 27px 0; border-bottom: 1px solid var(--line); }
.run-item > span { text-transform: uppercase; font-size: 11px; letter-spacing: .12em; font-weight: 700; color: var(--muted); }
.run-item h3 { font-size: 24px; letter-spacing: -.035em; line-height: 1.2; font-weight: 550; margin: 9px 0 8px; }
.run-item p { font-size: 15px; line-height: 1.65; color: var(--secondary); margin: 0; }
.sources { margin-bottom: 75px; }
.sources ol { margin: 24px 0 0; padding-left: 23px; }
.sources li { font-size: 13px; line-height: 1.7; color: var(--secondary); padding-left: 6px; margin-bottom: 16px; scroll-margin-top: 45px; }
.sources li::marker { color: var(--orange-dark); font-weight: 700; }
.record-downloads { margin-top: 50px; border-top: 1px solid var(--ink); }
.record-run { padding: 25px 0 28px; border-bottom: 1px solid var(--line); }
.record-run-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.record-run h3 { font-size: 17px; font-weight: 600; line-height: 1.3; margin: 0 0 5px; }
.record-run-heading code { color: var(--muted); font-size: 11px; }
.record-run a { color: var(--ink); text-underline-offset: 4px; }
.record-run a:hover { color: var(--orange-dark); }
.download-all { flex: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.record-links { display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 22px; }
.record-links a { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.site-footer { width: min(100% - 48px, 1200px); border-top: 1px solid var(--line); margin: 0 auto; padding: 30px 0 45px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 12px; }
.site-footer a { text-decoration: none; color: var(--ink); }
@media (max-width: 650px) {
  .topbar, article, .site-footer { width: min(100% - 36px, 760px); }
  .topbar { min-height: 65px; }
  .hero { padding: 80px 0 65px; }
  .meta { line-height: 1.65; }
  .opening-figure { padding: 24px 2px 20px; margin-bottom: 85px; }
  .population { gap: 3px; }
  .population i { font-size: 16px; }
  .section { padding-top: 39px; margin-bottom: 83px; }
  h2 { margin-bottom: 24px; }
  .prose > p { font-size: 16px; line-height: 1.72; }
  .chart-figure { margin: 34px 0; }
  .document { padding: 24px 19px; }
  .ballot-row { grid-template-columns: 1fr 18px 1fr 22px; gap: 6px; padding-inline: 7px; font-size: 14px; }
  .ballot-row small { font-size: 10px; }
  .run-item h3 { font-size: 21px; }
  .record-run-heading { display: block; }
  .download-all { display: inline-block; margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
