@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/archivo-normal-600-1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/archivo-normal-700-2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/source-serif-4-normal-400-1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/source-serif-4-normal-600-2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-normal-400-1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-normal-500-2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-normal-600-3.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;


  --paper: #eef2f6;
  --surface: #ffffff;
  --surface-2: #f7f9fb;
  --surface-sunk: #e4eaf1;


  --ink: #16233a;
  --ink-2: #465773;

  --ink-3: #5b6a80;
  --rule: #d2dbe5;
  --rule-strong: #b3c0ce;


  --accent: #26418f;
  --accent-hover: #1a2f6d;
  --accent-wash: #e7ecf8;

  --on-accent: #ffffff;



  --rise: #0b6b4a;
  --rise-wash: #e2f1ea;
  --fall: #9c2233;
  --fall-wash: #f8e7e9;
  --flat: #5b6a80;
  --on-signal: #ffffff;


  --font-display: Archivo, ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.97rem + 0.16vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.14rem + 0.3vw, 1.38rem);
  --step-2: clamp(1.44rem, 1.33rem + 0.55vw, 1.75rem);
  --step-3: clamp(1.73rem, 1.54rem + 0.95vw, 2.22rem);
  --step-4: clamp(2.07rem, 1.76rem + 1.55vw, 2.81rem);
  --step-5: clamp(2.49rem, 1.98rem + 2.5vw, 3.58rem);


  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 6.5rem;


  --radius: 5px;
  --radius-lg: 10px;
  --shadow-1: 0 1px 2px rgb(22 35 58 / 0.06), 0 2px 8px rgb(22 35 58 / 0.04);
  --shadow-2: 0 2px 4px rgb(22 35 58 / 0.07), 0 10px 28px rgb(22 35 58 / 0.08);

  --measure: 68ch;
  --wide: 1180px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 260ms;
  --dur-slow: 620ms;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #0d141f;
    --surface: #141d2c;
    --surface-2: #18222f;
    --surface-sunk: #0a1018;
    --ink: #e7edf5;
    --ink-2: #a9b7c9;
    --ink-3: #7f8ea3;
    --rule: #2a3646;
    --rule-strong: #3d4c60;
    --accent: #8ea8e8;
    --accent-hover: #b0c2f0;
    --accent-wash: #1b2740;
    --on-accent: #0d141f;
    --rise: #55c99b;
    --rise-wash: #122c25;
    --fall: #e88a97;
    --fall-wash: #2e1a1f;
    --flat: #7f8ea3;
    --on-signal: #0d141f;
    --shadow-1: 0 1px 2px rgb(0 0 0 / 0.3), 0 2px 8px rgb(0 0 0 / 0.24);
    --shadow-2: 0 2px 4px rgb(0 0 0 / 0.34), 0 10px 28px rgb(0 0 0 / 0.34);
  }
}

:root[data-theme='dark'] {
  --paper: #0d141f;
  --surface: #141d2c;
  --surface-2: #18222f;
  --surface-sunk: #0a1018;
  --ink: #e7edf5;
  --ink-2: #a9b7c9;
  --ink-3: #7f8ea3;
  --rule: #2a3646;
  --rule-strong: #3d4c60;
  --accent: #8ea8e8;
  --accent-hover: #b0c2f0;
  --accent-wash: #1b2740;
  --on-accent: #0d141f;
  --rise: #55c99b;
  --rise-wash: #122c25;
  --fall: #e88a97;
  --fall-wash: #2e1a1f;
  --flat: #7f8ea3;
  --on-signal: #0d141f;
  --shadow-1: 0 1px 2px rgb(0 0 0 / 0.3), 0 2px 8px rgb(0 0 0 / 0.24);
  --shadow-2: 0 2px 4px rgb(0 0 0 / 0.34), 0 10px 28px rgb(0 0 0 / 0.34);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;

  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
  color: var(--ink);
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-2); margin-top: var(--s-7); }
h3 { font-size: var(--step-1); margin-top: var(--s-6); font-weight: 600; }
h4 { font-size: var(--step-0); margin-top: var(--s-5); font-weight: 600; }

p, ul, ol, blockquote, figure, table { margin: 0 0 var(--s-5); }
ul, ol { padding-left: 1.35em; }
li { margin-bottom: var(--s-2); }
li::marker { color: var(--ink-3); }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

img, svg, iframe { max-width: 100%; }
img { height: auto; border-radius: var(--radius); }

strong, b { font-weight: 600; }

blockquote {
  margin-inline: 0;
  padding: var(--s-2) 0 var(--s-2) var(--s-5);
  border-left: 3px solid var(--rule-strong);
  color: var(--ink-2);
  font-style: italic;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: var(--s-7) 0;
}

code, kbd, samp { font-family: var(--font-mono); font-size: 0.92em; }

sup { line-height: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
}

caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--ink-3);
  padding-bottom: var(--s-3);
}

th, td {
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule-strong);
  white-space: nowrap;
}

thead th { position: sticky; top: 0; background: var(--surface); z-index: 1; }

tbody tr { transition: background var(--dur-fast) var(--ease); }
tbody tr:hover { background: var(--surface-2); }

td.num, th.num {
  text-align: right;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}

.table-scroll {
  overflow-x: auto;
  margin-bottom: var(--s-5);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
}
.table-scroll > table { margin: 0; }
.table-scroll th:first-child, .table-scroll td:first-child { padding-left: var(--s-5); }

.embed {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  margin: var(--s-5) 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-sunk);
}
.embed > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: var(--s-3) var(--s-4);
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

.wrap {
  width: min(100% - 2 * var(--s-5), var(--wide));
  margin-inline: auto;
}
.wrap--text { width: min(100% - 2 * var(--s-5), var(--measure)); }

.masthead {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 20;
}

.masthead__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4) var(--s-6);
  padding-block: var(--s-4);
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  margin-right: auto;
}
.brand__mark {
  font-family: var(--font-mono);
  font-size: 0.62em;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: block;
  padding: var(--s-2) var(--s-3);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav a:hover { background: var(--accent-wash); color: var(--accent); }
.nav a[aria-current='page'] { color: var(--accent); background: var(--accent-wash); }

main { display: block; padding-bottom: var(--s-9); }

.band { padding-block: var(--s-8); }
.band--sunk { background: var(--surface-sunk); }
.band--tight { padding-block: var(--s-7); }

.section-head { margin-bottom: var(--s-6); max-width: var(--measure); }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--ink-2); margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: block;
  margin-bottom: var(--s-3);
}

.crumbs {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--ink-3);
  padding-block: var(--s-4);
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; gap: var(--s-2); align-items: center; }
.crumbs li + li::before { content: '/'; color: var(--rule-strong); }
.crumbs a { color: var(--ink-2); text-decoration: none; display: inline-block; padding-block: var(--s-1); }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }

.grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
}
.grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }

.cols {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 62rem) {
  .cols--aside { grid-template-columns: minmax(0, 1fr) 19rem; }
}

.foot {
  background: var(--surface);
  border-top: 1px solid var(--rule);
  padding-block: var(--s-7);
  font-size: var(--step--1);
  color: var(--ink-2);
}
.foot__grid {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  margin-bottom: var(--s-6);
}
.foot h2 {
  font-size: var(--step--1);
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 var(--s-3);
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: var(--s-2); }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--accent); text-decoration: underline; }
.foot__legal {
  border-top: 1px solid var(--rule);
  padding-top: var(--s-5);
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: space-between;
}

.spark { display: block; width: 100%; height: auto; overflow: visible; }
.spark-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.spark-area { fill: var(--accent-wash); stroke: none; }
.spark-mark circle { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.spark-mark circle.is-low { fill: var(--fall); }
.spark-mark text {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--ink-3);
}

.sparkbox {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
}
.sparkbox figcaption {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--ink-3);
  margin-top: var(--s-4);
  line-height: 1.5;
}

@media (prefers-reduced-motion: no-preference) {
  .spark-line {
    stroke-dasharray: 2000;
    animation: draw var(--dur-slow) var(--ease) forwards;
  }
  .spark-area { animation: fade var(--dur-slow) var(--ease) forwards; }
  .spark-mark { animation: fade var(--dur) var(--ease) 480ms backwards; }
}
@keyframes draw { from { stroke-dashoffset: 2000; } to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.delta {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  white-space: nowrap;
}
.delta--up { color: var(--rise); }
.delta--down { color: var(--fall); }
.delta--flat { color: var(--flat); }

.figure-xl {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--step-4);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: block;
}

.statgrid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}
.stat {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s-5);
}
.stat dt {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--s-2);
}
.stat dd {
  margin: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--step-2);
  font-weight: 600;
}
.stat p { font-size: var(--step--1); color: var(--ink-3); margin: var(--s-2) 0 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.card:hover {
  border-color: var(--rule-strong);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.card h3 { margin: 0; font-size: var(--step-0); line-height: 1.3; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card:hover h3 a { color: var(--accent); }
.card p { margin: 0; font-size: var(--step--1); color: var(--ink-2); }
.card__meta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--ink-3);
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}

@media (prefers-reduced-motion: no-preference) {
  .grid > * { animation: rise var(--dur) var(--ease) backwards; }
  .grid > :nth-child(1) { animation-delay: 0ms; }
  .grid > :nth-child(2) { animation-delay: 40ms; }
  .grid > :nth-child(3) { animation-delay: 80ms; }
  .grid > :nth-child(4) { animation-delay: 120ms; }
  .grid > :nth-child(5) { animation-delay: 160ms; }
  .grid > :nth-child(6) { animation-delay: 200ms; }
  .grid > :nth-child(7) { animation-delay: 240ms; }
  .grid > :nth-child(8) { animation-delay: 280ms; }
  .grid > :nth-child(n + 9) { animation-delay: 320ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-0);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.btn--primary:active { transform: translateY(0); box-shadow: var(--shadow-1); }
.btn--ghost { border-color: var(--rule-strong); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.note {
  border-left: 3px solid var(--rule-strong);
  background: var(--surface-2);
  padding: var(--s-4) var(--s-5);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--step--1);
  color: var(--ink-2);
  margin-bottom: var(--s-5);
}
.note--era { border-left-color: var(--accent); }
.note--gap { border-left-color: var(--fall); }
.note strong { color: var(--ink); }
.note :last-child { margin-bottom: 0; }

.source {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--ink-3);
  margin-top: var(--s-3);
}
.source a { color: var(--ink-2); }

.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  padding: 0.15em 0.55em;
  border-radius: 3px;
  background: var(--surface-sunk);
  color: var(--ink-2);
  white-space: nowrap;
}
.chip--rise { background: var(--rise-wash); color: var(--rise); }
.chip--fall { background: var(--fall-wash); color: var(--fall); }

.prose { max-width: var(--measure); }
.prose > :first-child { margin-top: 0; }
.prose img { margin-block: var(--s-5); }
.prose figure { margin-inline: 0; }
.prose figcaption {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--ink-3);
  margin-top: var(--s-2);
}
.prose h2 { padding-top: var(--s-2); }

.lede { font-size: var(--step-1); color: var(--ink-2); line-height: 1.55; }

.statetable td:first-child { font-weight: 600; white-space: nowrap; }
.statetable td:first-child a { color: var(--ink); text-decoration: none; }
.statetable td:first-child a:hover { color: var(--accent); text-decoration: underline; }
.statetable .region {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--ink-3);
}

.calc {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
}
@media (min-width: 48rem) { .calc { grid-template-columns: 1fr 1fr; } }

.calc label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: var(--s-2);
}
.calc input {
  width: 100%;
  font-family: var(--font-mono);
  font-size: var(--step-0);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}
.calc input:focus-visible { border-color: var(--accent); }
.calc__field { margin-bottom: var(--s-5); }
.calc__out {
  background: var(--surface-sunk);
  border-radius: var(--radius);
  padding: var(--s-5);
  align-self: start;
}
.calc__out dl { margin: 0; }
.calc__out dt {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.calc__out dd {
  margin: 0 0 var(--s-4);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--step-2);
  font-weight: 600;
}
.calc__out dd:last-child { margin-bottom: 0; }

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  align-items: center;
  margin-top: var(--s-7);
  font-family: var(--font-mono);
  font-size: var(--step--1);
}
.pager a, .pager span {
  padding: var(--s-2) var(--s-3);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink-2);
  background: var(--surface);
}
.pager a:hover { border-color: var(--accent); color: var(--accent); }
.pager [aria-current='page'] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.pager span.is-gap { border: 0; background: none; }

.cta-row { margin-top: var(--s-6); }

.linklist { list-style: none; margin: 0; padding: 0; }
.linklist li {
  border-bottom: 1px solid var(--rule);
  padding: var(--s-3) 0;
  display: flex;
  gap: var(--s-4);
  justify-content: space-between;
  align-items: baseline;
}
.linklist li:last-child { border-bottom: 0; }

.linklist a {
  text-decoration: none;
  color: var(--ink);
  display: inline-block;
  padding-block: var(--s-1);
}
.linklist a:hover { color: var(--accent); text-decoration: underline; }
.linklist .meta { font-family: var(--font-mono); font-size: var(--step--1); color: var(--ink-3); white-space: nowrap; }

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