/* The Bigger Board · static site · no external resources, system fonts only */
:root {
  --ink: #111315;
  --surface: #1c2024;
  --surface2: #23282d;
  --line: #343a41;
  --paper: #f4f1ea;
  --paper-ink: #1a1c1e;
  --paper-muted: #4f565e;
  --paper-line: #c9c2b2;
  --brass: #b69a64;
  --brass-dark: #6e5630;
  --muted: #a6adb4;
  --blue: #7aa7c7;
  --blue-dark: #2c5674;
  --red: #e0988c;
  --red-dark: #8f3326;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 17px/1.62 var(--sans);
  overflow-wrap: break-word;
}
a { color: var(--brass); text-underline-offset: 2px; }
a:hover { color: var(--paper); }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--brass); color: var(--ink); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 16px; top: 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* header / footer */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.brand { color: var(--paper); text-decoration: none; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; font-size: 14px; }
.brand span { color: var(--brass); }
.site-nav { display: flex; gap: 20px; font-size: 14px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--paper); }
.site-foot { border-top: 1px solid var(--line); margin-top: 72px; color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 24px; padding-bottom: 40px; }
.site-foot a { color: var(--muted); }

/* type */
.kicker { font: 700 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin: 0 0 14px; }
h1 { font-size: clamp(30px, 5.2vw, 56px); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 20px; font-weight: 800; }
h2 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.2; margin: 72px 0 18px; font-weight: 800; letter-spacing: -.01em; }
h2 .num { color: var(--brass); font-family: var(--mono); font-weight: 600; font-size: .62em; vertical-align: .18em; margin-right: 10px; }
h3 { font-size: 19px; margin: 34px 0 8px; }
p { margin: 0 0 16px; }
.lede { font-size: clamp(18px, 2.1vw, 21px); color: #dcd8cf; max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
ul.plain, ol.plain { padding-left: 20px; }
li { margin-bottom: 8px; }
strong { color: #fff; }
.receipt strong, .receipt b { color: var(--paper-ink); }
.hero { padding: 56px 0 8px; }
.meta-line { font-size: 14px; color: var(--muted); margin-top: 6px; }
.meta-line b { color: var(--paper); font-weight: 600; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 34px 0 10px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--brass); padding: 18px 18px 16px; }
.stat .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.stat .v { font: 700 clamp(28px, 3.4vw, 38px)/1.1 var(--mono); color: var(--paper); margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.stat .d { font-size: 14px; color: var(--muted); margin: 0; }
.stat.official { border-top-color: var(--blue); }

/* tags */
.tag { display: inline-block; font: 700 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 4px 6px 3px; border: 1px solid currentColor; border-radius: 2px; white-space: nowrap; vertical-align: .15em; }
.tag-observed { color: var(--blue); }
.tag-analysis { color: var(--brass); }
.tag-scenario { color: var(--muted); border-style: dashed; }
.receipt .tag-observed { color: var(--blue-dark); }
.receipt .tag-analysis { color: var(--brass-dark); }
.receipt .tag-scenario { color: var(--paper-muted); }

/* the receipt */
.receipt-wrap { margin: 30px auto 48px; max-width: 860px; }
.receipt {
  position: relative; background: var(--paper); color: var(--paper-ink);
  font-family: var(--mono); font-size: 15px; line-height: 1.45;
  padding: 34px 34px 30px; box-shadow: 0 18px 50px rgba(0,0,0,.45);
}
.receipt::before, .receipt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 10px;
  background-repeat: repeat-x; background-size: 16px 10px;
}
.receipt::before { top: -10px; background-image: linear-gradient(45deg, transparent 50%, var(--paper) 50%), linear-gradient(-45deg, transparent 50%, var(--paper) 50%); }
.receipt::after { bottom: -10px; background-image: linear-gradient(135deg, var(--paper) 50%, transparent 50%), linear-gradient(-135deg, var(--paper) 50%, transparent 50%); }
.receipt a { color: var(--brass-dark); }
.receipt a:hover { color: var(--paper-ink); }
.r-head { text-align: center; border-bottom: 2px dashed var(--paper-line); padding-bottom: 16px; margin-bottom: 6px; }
.r-head .t1 { font-weight: 800; letter-spacing: .28em; font-size: 15px; margin: 0; }
.r-head .t2 { margin: 6px 0 0; font-size: 13px; color: var(--paper-muted); text-transform: uppercase; letter-spacing: .06em; }
.receipt table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.receipt caption { text-align: left; font-size: 13px; color: var(--paper-muted); padding: 10px 0 4px; caption-side: top; }
.receipt thead th { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-muted); font-weight: 700; text-align: right; padding: 8px 0 8px 10px; border-bottom: 1px solid var(--paper-line); white-space: nowrap; }
.receipt thead th:first-child { text-align: left; padding-left: 0; }
.receipt tbody th[scope="rowgroup"] { text-align: left; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; padding: 22px 0 6px; color: var(--paper-ink); font-weight: 800; }
.receipt tbody th[scope="row"] { text-align: left; font-weight: 700; padding: 10px 10px 10px 0; vertical-align: top; }
.receipt td { text-align: right; padding: 10px 0 10px 10px; vertical-align: top; white-space: nowrap; }
.receipt td.c { font-weight: 800; }
.receipt .lo, .receipt .hi { color: var(--paper-muted); }
.receipt .note { display: block; font-weight: 400; font-size: 13px; color: var(--paper-muted); margin-top: 4px; font-family: var(--sans); line-height: 1.45; }
.receipt .item-tag { margin-left: 6px; }
.receipt .range-m { display: none; font-weight: 400; font-size: 12px; color: var(--paper-muted); }
.receipt tr.sub th, .receipt tr.sub td { border-top: 1px dashed var(--paper-line); font-size: 14px; padding-top: 8px; }
.receipt tr.total th, .receipt tr.total td { border-top: 4px double var(--paper-ink); font-size: 19px; font-weight: 800; padding-top: 14px; }
.receipt tr.hh th, .receipt tr.hh td { font-size: 15px; padding-top: 4px; }
.r-foot { border-top: 2px dashed var(--paper-line); margin-top: 18px; padding-top: 16px; font-size: 13.5px; }
.r-foot p { margin: 0 0 10px; }
.r-foot .grow { font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.r-not { font-size: 13px; color: var(--paper-muted); }
.r-not ul { margin: 6px 0 0; padding-left: 18px; }
.r-not li { margin-bottom: 4px; }
.r-thanks { text-align: center; letter-spacing: .3em; font-weight: 800; font-size: 12px; margin-top: 16px; color: var(--paper-muted); }

/* content blocks */
.callout { background: var(--surface); border-left: 3px solid var(--brass); padding: 16px 20px; margin: 22px 0; }
.callout.loss { border-left-color: var(--red); }
.callout p:last-child { margin-bottom: 0; }
.loss-title { color: var(--red); }
.formula { font-family: var(--mono); background: var(--surface); border: 1px solid var(--line); padding: 14px 16px; font-size: 14.5px; overflow-wrap: anywhere; }
.data-table-scroll { overflow-x: auto; border: 1px solid var(--line); margin: 14px 0; }
.data-table { border-collapse: collapse; width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
.data-table caption { text-align: left; padding: 10px 12px; color: var(--muted); font-size: 13px; }
.data-table th, .data-table td { padding: 7px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table thead th { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; background: var(--surface); }
.data-table tfoot td, .data-table tfoot th { font-weight: 700; color: #fff; border-top: 2px solid var(--line); }
details { background: var(--surface); border: 1px solid var(--line); padding: 0 18px; margin: 18px 0; }
details[open] { padding-bottom: 16px; }
summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--paper); }
.args { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 18px 0; }
.arg { background: var(--surface); border: 1px solid var(--line); padding: 18px 20px; }
.arg h3 { margin-top: 0; }
.arg .pro, .arg .con { margin: 0 0 10px; }
.arg .lab { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.sources { padding-left: 0; list-style: none; counter-reset: none; }
.sources li { display: grid; grid-template-columns: 44px 1fr; gap: 0 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; margin: 0; }
.sources .n { font-family: var(--mono); color: var(--brass); white-space: nowrap; font-size: 14px; }
.sources .u { overflow-wrap: anywhere; font-size: 13.5px; }
.sources .used { color: var(--muted); font-size: 13.5px; display: block; }
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 18px 0; }
.dl { display: block; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--brass); padding: 18px 20px; color: var(--paper); text-decoration: none; }
.dl:hover { border-color: var(--brass); color: var(--paper); }
.dl .f { font: 700 20px/1.2 var(--mono); display: block; margin-bottom: 6px; }
.dl .s { font-size: 14px; color: var(--muted); }
.credits { font-size: 14.5px; }
.credits h3 { font-size: 16px; }
.credits ul { padding-left: 20px; }
.credits li { margin-bottom: 6px; }
.toc { font-size: 15px; margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.toc a { color: var(--muted); }
.ep-list { list-style: none; padding: 0; margin: 24px 0; }
.ep { display: grid; grid-template-columns: 1fr; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--brass); padding: 22px 24px; }
.ep h3 { margin: 0; font-size: 22px; line-height: 1.25; }
.ep h3 a { color: var(--paper); text-decoration: none; }
.ep h3 a:hover { color: var(--brass); }
.ep p { margin: 0; }
.placeholder { background: #3a1f1a; border: 2px dashed var(--red); color: #ffd9d2; padding: 18px 20px; font-family: var(--mono); font-weight: 700; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 34px; }
  h2 { margin-top: 56px; }
  .receipt-wrap { margin-left: -6px; margin-right: -6px; }
  .receipt { padding: 26px 14px 22px; font-size: 13.5px; }
  .receipt .col-lo, .receipt .col-hi { display: none; }
  .receipt .range-m { display: block; }
  .receipt thead th { font-size: 10.5px; }
  .receipt tr.total th, .receipt tr.total td { font-size: 16px; }
  .receipt td { padding-left: 6px; }
  .sources li { grid-template-columns: 40px 1fr; }
}
@media print {
  body { background: #fff; color: #000; }
  .site-head, .site-foot, .toc, .skip { display: none; }
}
