:root {
  --paper: #f3f4f2; --panel: #e8eae6; --ink: #15181c; --muted: #5a626b; --rule: #d3d7d2; --walnut: #84573a;
  --band: #15181c; --band-fg: #eceeea; --band-muted: #a3aab1;
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #121417; --panel: #1b1e22; --ink: #eceeea; --muted: #a0a8b0; --rule: #2c3136; --walnut: #c99a74; --band: #0b0c0e; color-scheme: dark; }
}
:root[data-theme="dark"] { --paper: #121417; --panel: #1b1e22; --ink: #eceeea; --muted: #a0a8b0; --rule: #2c3136; --walnut: #c99a74; --band: #0b0c0e; color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--walnut); }
a:focus-visible { outline: 2px solid var(--walnut); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 em, h2 em { color: var(--walnut); }
p { margin: 0; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

header.top { border-bottom: 1px solid var(--rule); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand .mark { font-family: var(--display); font-size: 24px; }
.brand .by { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
nav { display: flex; gap: 18px; font-size: 14px; font-weight: 600; flex-wrap: wrap; }
nav a { text-decoration: none; }
nav a:last-child { color: var(--walnut); }

.hero { padding: 48px 0 32px; border-bottom: 1px solid var(--rule); }
.crumbs { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); max-width: 16ch; }
.asof { margin-top: 18px; color: var(--muted); font-size: 15px; }

.block { padding: 48px 0; border-bottom: 1px solid var(--rule); }
.block h2 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 24px; }
.lede { font-size: 17px; max-width: 68ch; margin-bottom: 32px; }
.note { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 70ch; }

.ledger { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0 0 32px; border-top: 1px solid var(--ink); }
@media (min-width: 720px) { .ledger { grid-template-columns: repeat(4, 1fr); } }
.ledger div { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--rule); }
.ledger dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ledger dd { margin: 6px 0 0; font-family: var(--display); font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }

.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 8px; }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15px; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-family: var(--mono); font-size: 12px; color: var(--muted); padding-bottom: 10px; }
th, td { text-align: right; padding: 10px 10px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
th[scope=row], thead th:first-child { text-align: left; white-space: normal; }
thead th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--ink); }
tbody th { font-weight: 600; }
small { font-family: var(--mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-left: 6px; }

.zgroup { margin-top: 32px; }
.zgroup h3 { font-size: 26px; margin-bottom: 12px; }
.ziplist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ziplist a { display: flex; flex-direction: column; padding: 12px; background: var(--panel); text-decoration: none; height: 100%; }
.ziplist a:hover { outline: 1px solid var(--walnut); }
.ziplist b { font-family: var(--mono); font-weight: 500; font-size: 16px; }
.ziplist span { font-size: 14px; }
.ziplist em { font-style: normal; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

.grid4 { display: grid; gap: 24px; }
@media (min-width: 720px) { .grid4 { grid-template-columns: repeat(4, 1fr); } }
.grid4 h3 { font-size: 24px; margin-bottom: 8px; }
.grid4 p { color: var(--muted); font-size: 15px; }

.cta { background: var(--band); color: #eceeea; padding: 56px 0; }
.cta .wrap { display: grid; gap: 24px; align-items: end; }
@media (min-width: 860px) { .cta .wrap { grid-template-columns: 2fr 1fr; } }
.cta .eyebrow { color: #a3aab1; }
.cta h2 { font-size: clamp(32px, 4.6vw, 48px); margin-bottom: 14px; }
.cta p { color: #c9ced2; max-width: 60ch; }
.cta-links { display: flex; flex-direction: column; gap: 12px; }
.btn, .ghost { display: inline-block; text-align: center; padding: 14px 20px; font-weight: 700; text-decoration: none; font-size: 15px; }
.btn { background: #c99a74; color: #15181c; }
.ghost { border: 1px solid #5a626b; color: #eceeea; }

footer { padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
footer .name { font-family: var(--display); font-size: 24px; color: var(--ink); }
footer .who p { margin-bottom: 4px; }
.fine { margin-top: 18px; font-size: 12px; line-height: 1.55; max-width: 90ch; }
@media (min-width: 720px) { .lede { font-size: 19px; } }
.sublist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px 24px; }
.sublist.cols { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.sublist li { padding: 6px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.sublist em { font-style: normal; color: var(--muted); font-family: var(--mono); font-size: 12px; margin-left: 6px; }
nav a.nb { display: none; }
