/* Sigil: newspaper layout on warm paper, one accent. */
:root {
  --paper: #F4F1EA;
  --paper-2: #EAE5DA;
  --paper-3: #E3DDD0;
  --card: #FFFFFF;
  --ink: #121212;
  --ink-2: #4A4740;
  --ink-3: #5E5A52;
  --body: #1E1D1A;
  --rule: #CFC8B9;
  --accent: #B93A12;
  --accent-on-dark: #FF8A5B;
  --dark-rule: #3A3833;
  --dark-muted: #BDB6A8;
  --serif: Newsreader, Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: 64px;
  --max: 1440px;
}
@media (max-width: 1100px) { :root { --gutter: 32px; } }
@media (max-width: 640px) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 880px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.mono { font-family: var(--mono); }
.meta { font-size: 13px; color: var(--ink-3); }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; display: block; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.accent { color: var(--accent); }
.more { font-size: 14px; font-weight: 600; color: var(--accent); }
.dek { font-family: var(--serif); font-size: 21px; line-height: 1.45; color: var(--ink-2); }
.lede { font-family: var(--serif); font-size: 22px; line-height: 1.5; }

/* Buttons and chips */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; font: 600 14px var(--sans); border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { color: #fff; filter: brightness(0.92); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--ghost:hover { background: var(--paper-2); color: var(--ink); }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); }
.chip { display: inline-block; padding: 3px 8px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip--solid { background: var(--ink); color: var(--paper); }
.chip--accent { background: var(--accent); color: #fff; }
.chip--outline { border: 1px solid var(--ink); padding: 2px 7px; }
.chip--dashed { border: 1px dashed var(--ink); padding: 2px 7px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 13px; padding: 5px 9px; border: 1px solid var(--rule); background: transparent; }
.tag--term { border-style: dashed; }
.tags--lg .tag { font-size: 14px; padding: 8px 12px; }

/* Utility bar and headers */
.utility { background: var(--ink); color: var(--paper); font: 12px var(--mono); }
.utility__inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.utility__left { display: flex; gap: 24px; align-items: center; }
.utility nav { display: flex; gap: 20px; flex-wrap: wrap; }
.utility a:hover { color: var(--accent-on-dark); }
.live-dot { display: inline-flex; align-items: center; gap: 8px; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-on-dark); }
.wire .live-dot { color: var(--accent); font-size: 11px; }
.wire .live-dot::before { background: var(--accent); }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; letter-spacing: -0.03em; font-size: 34px; line-height: 1; }
.logo:hover { color: inherit; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo--big { font-size: 64px; gap: 14px; }
.logo--big .logo-mark { width: 46px; height: 46px; }
.logo--footer { font-size: 36px; }

.masthead { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: 28px; padding-bottom: 22px; }
.masthead__brand { display: flex; align-items: flex-end; gap: 28px; }
.tagline { max-width: 320px; font-size: 14px; line-height: 1.45; color: var(--ink-2); margin-bottom: 6px; }
.masthead__actions { display: flex; gap: 12px; align-items: center; }
.search { display: flex; align-items: center; gap: 8px; height: 44px; width: 320px; padding: 0 14px; border: 1px solid var(--ink); background: var(--card); }
.search input { border: 0; outline: 0; flex: 1; min-width: 0; font: 14px var(--sans); background: transparent; color: var(--ink); }
.search--big { width: 100%; max-width: 720px; height: 56px; margin-top: 20px; }
.search--big input { font-size: 18px; }

.primary-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; overflow-x: auto; scrollbar-width: none; }
.primary-nav::-webkit-scrollbar { display: none; }
.primary-nav a { white-space: nowrap; padding: 4px 0; border-bottom: 2px solid transparent; }
.primary-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.masthead + .primary-nav { height: 52px; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule); background-clip: content-box; }
.hubs { display: flex; align-items: center; gap: 20px; min-height: 46px; border-bottom: 1px solid var(--rule); font-size: 14px; background-clip: content-box; }
.hubs__list { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.hubs__list a + a::before { content: "/"; color: var(--rule); margin-right: 18px; }

.topbar { border-bottom: 3px solid var(--ink); }
.topbar__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.topbar .logo { flex-shrink: 0; }
.primary-nav--compact { gap: 22px; font-size: 14px; flex: 1; }
.topbar__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Home: hero */
.hero { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: 32px; padding-top: 36px; padding-bottom: 56px; }
.hero__lead { display: flex; flex-direction: column; gap: 16px; }
.hero__title { font-size: 48px; line-height: 1.06; letter-spacing: -0.02em; }
.short-answer--inline { background: var(--card); border: 1px solid var(--ink); border-top: 4px solid var(--accent); padding: 18px 22px; margin-top: 6px; }
.short-answer--inline .label { color: var(--accent); margin-bottom: 6px; }
.short-answer--inline p { font-family: var(--serif); font-size: 18px; line-height: 1.5; }
.hero__secondary { display: flex; flex-direction: column; }
.hero__secondary .story { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.hero__secondary .story:first-child { padding-top: 0; }
.hero__secondary .story:last-child { border-bottom: 0; }
.hero__secondary .story__title { font-size: 22px; line-height: 1.2; }
.story { display: flex; flex-direction: column; gap: 8px; }
.story__title { font-size: 20px; line-height: 1.25; }
.story__dek { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.story--lead .story__title { font-size: 32px; line-height: 1.12; }
.story--lead .story__dek { font-family: var(--serif); font-size: 19px; }
.wire { border-left: 1px solid var(--rule); padding-left: 28px; }
.wire__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.wire__head h2 { font-size: 24px; font-weight: 700; }
.wire ol { list-style: none; margin: 0; padding: 0; }
.wire li { padding: 14px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 4px; }
.wire li:last-child { border-bottom: 0; }
.wire li a { font-size: 15px; line-height: 1.35; font-weight: 500; }

/* Bands */
.band { padding: 56px 0; }
.band--tint { background: var(--paper-2); }
.band--dark { background: var(--ink); color: var(--paper); }
.band__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.band__head h2 { font-size: 38px; }
.band__head p { font-size: 15px; color: var(--ink-2); margin-top: 8px; max-width: 640px; }
.answers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.answer { background: var(--paper); border: 1px solid var(--rule); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.answer h3 { font-size: 22px; line-height: 1.2; }
.answer p { font-size: 15px; line-height: 1.55; color: #2A2824; flex: 1; }
.answer__foot { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--ink-3); }
.answer__foot a { color: var(--accent); }

.data-band { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.home-tracker, .kev-box { display: flex; flex-direction: column; gap: 14px; }
.home-tracker h2, .kev-box h2 { font-size: 34px; }
.kev-box { border: 1px solid var(--ink); background: var(--card); padding: 28px; }
.kev-box p { font-size: 14px; color: var(--ink-2); }
.tool-row { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--ink-3); }
.tool-row a { text-decoration: underline; }
.kev-box .tool-row a { text-decoration: none; font-weight: 600; font-family: var(--sans); color: var(--accent); }
.kev-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.kev-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); }
.kev-list li > div:first-child { display: flex; flex-direction: column; gap: 3px; }
.kev-list li > div:first-child a { font-size: 14px; font-weight: 500; }
.kev-list li > div:first-child span { font-size: 13px; color: var(--ink-2); }
.kev-dates { display: flex; flex-direction: column; gap: 3px; text-align: right; font-size: 11px; color: var(--ink-3); flex-shrink: 0; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.4; }
thead tr { border-bottom: 2px solid var(--ink); }
th[scope="col"] { text-align: left; font: 500 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); padding: 10px 12px; }
th[scope="row"] { text-align: left; font-weight: 600; }
td, th[scope="row"] { padding: 12px; vertical-align: top; }
th:first-child, td:first-child { padding-left: 0; }
tbody tr { border-bottom: 1px solid var(--rule); }
tbody tr:last-child { border-bottom: 0; }
td.mono { font-size: 12px; white-space: nowrap; }
caption { caption-side: bottom; text-align: left; padding-top: 10px; font-size: 13px; color: var(--ink-2); }

.rails { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 64px; }
.rail { display: flex; flex-direction: column; gap: 14px; border-top: 3px solid var(--ink); padding-top: 16px; }
.rail:first-child { border-top-color: var(--accent); }
.rail h2 { font-size: 28px; }
.rail .story { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.rail .story:last-child { border-bottom: 0; }

.glossary-band { display: grid; grid-template-columns: 4fr 8fr; gap: 32px; }
.glossary-band h2 { font-size: 44px; line-height: 1.05; margin: 16px 0; }
.glossary-band p { color: #D9D3C6; font-size: 16px; line-height: 1.55; margin-bottom: 16px; }
.glossary-band .kicker, .glossary-band .more { color: var(--accent-on-dark); }
.glossary-band ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.glossary-band li { padding: 14px 0; border-top: 1px solid var(--dark-rule); display: flex; flex-direction: column; gap: 4px; }
.glossary-band li a { font-weight: 600; }
.glossary-band li a:hover { color: var(--accent-on-dark); }
.glossary-band li span { font-size: 13px; color: var(--dark-muted); }

.datasets-band { padding-top: 64px; padding-bottom: 64px; }
.datasets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 48px; }
.dataset { border: 1px solid var(--rule); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.dataset:first-child { border-color: var(--ink); background: var(--card); }
.dataset h2, .dataset h3 { font-size: 22px; line-height: 1.2; }
.dataset p { font-size: 14px; color: var(--ink-2); flex: 1; }

.brief { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-top: 36px; padding-bottom: 36px; margin-bottom: 64px; position: relative; }
.brief::before, .brief::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); }
.brief::before { top: 0; border-top: 3px solid var(--ink); }
.brief::after { bottom: 0; border-top: 1px solid var(--ink); }
.brief h2 { font-size: 34px; margin-bottom: 8px; }
.brief p { font-size: 15px; color: var(--ink-2); }
.brief__form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; }
.field input { width: 320px; max-width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--ink); background: var(--card); font: 15px var(--sans); }
.brief__msg { width: 100%; font-size: 14px; color: var(--accent); }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 56px 0 40px; font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.site-footer__grid p { color: var(--dark-muted); margin-top: 12px; max-width: 280px; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer .label { color: var(--dark-muted); margin-bottom: 4px; }
.site-footer a:hover { color: var(--accent-on-dark); }
.site-footer__bottom { border-top: 1px solid var(--dark-rule); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: var(--dark-muted); }
.site-footer__bottom a { text-decoration: underline; }

/* Breadcrumb, page heads */
.breadcrumb { padding-top: 20px; font: 12px var(--mono); color: var(--ink-3); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; }
.breadcrumb li[aria-current] { max-width: 48ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-head { padding-top: 28px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 12px; }
.page-head h1 { font-size: 52px; line-height: 1.06; letter-spacing: -0.02em; max-width: 960px; }
.page-head .dek { max-width: 820px; }
.page-head .tags { margin-top: 8px; }
.section-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; padding-bottom: 48px; }
.section-list { display: flex; flex-direction: column; }
.section-list .story { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.section-list .story:first-child { padding-top: 0; }
section.narrow { padding-bottom: 40px; }
section.narrow > h2 { font-size: 28px; margin-bottom: 16px; padding-top: 16px; border-top: 2px solid var(--ink); }
.start-here { display: flex; flex-direction: column; gap: 10px; }
.start-here .story { background: var(--card); border: 1px solid var(--ink); padding: 24px; }
.stack { display: flex; flex-direction: column; }
.stack .story { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.term-list { list-style: none; margin: 0; padding: 0; }
.term-list li { padding: 12px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 16px; align-items: baseline; }
.term-list a { font-weight: 600; min-width: 240px; }
.term-list span { color: var(--ink-2); font-size: 15px; }
.az { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 24px; }
.az a { font: 500 14px var(--mono); width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rule); }

/* Article */
.article-head { display: grid; grid-template-columns: 3fr 9fr; gap: 32px; padding-top: 36px; padding-bottom: 40px; }
.article-head__side { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.article-head__main { display: flex; flex-direction: column; gap: 20px; }
.article-head h1 { font-size: 56px; line-height: 1.05; letter-spacing: -0.02em; max-width: 920px; }
.article-head .dek { font-size: 23px; max-width: 820px; }
.byline { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 18px; border-top: 1px solid var(--rule); max-width: 976px; flex-wrap: wrap; }
.byline__who { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.byline__who > div:last-child { display: flex; flex-direction: column; gap: 3px; }
.byline__who a { font-weight: 600; text-decoration: underline; }
.byline__who span + span { color: var(--ink-2); }
.byline__when { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 12px; color: var(--ink-2); }
.byline__when a { text-decoration: underline; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--paper-3); border: 1px solid var(--rule); flex-shrink: 0; }

.article-grid { display: grid; grid-template-columns: 3fr 6fr 3fr; gap: 32px; align-items: start; padding-bottom: 64px; }
.article-grid--two { grid-template-columns: 8fr 4fr; }
.article-left, .article-right { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 20px; }
.article-left { max-height: calc(100vh - 40px); overflow: auto; }
.toc { border-top: 2px solid var(--ink); padding-top: 14px; }
.toc ol, .series ol { margin: 10px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 9px; font-size: 14px; line-height: 1.35; }
.series { background: var(--paper-2); padding: 18px; }
.share { display: flex; gap: 8px; }
.share .btn { flex: 1; padding: 0 10px; }

.prose { font-family: var(--serif); font-size: 19px; line-height: 1.65; color: var(--body); display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.prose h2 { font-size: 32px; line-height: 1.2; margin-top: 14px; scroll-margin-top: 20px; }
.prose h3 { font-size: 24px; margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 26px; display: flex; flex-direction: column; gap: 10px; }
.prose a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose table { font-family: var(--sans); }
.prose code { font: 0.85em var(--mono); background: var(--paper-2); padding: 1px 5px; }
.prose pre { margin: 0; background: var(--ink); color: var(--paper); padding: 16px; overflow-x: auto; font-size: 13px; }
.prose pre code { background: none; padding: 0; }
.prose blockquote { margin: 8px 0; padding: 4px 0 4px 28px; border-left: 4px solid var(--accent); }
.prose blockquote p { font-size: 28px; line-height: 1.3; font-style: italic; }
.prose blockquote footer { font: 14px var(--sans); color: var(--ink-2); margin-top: 10px; }
sup.cite { font: 600 12px var(--sans); line-height: 0; }
sup.cite a { color: var(--accent); text-decoration: none; }
.break { word-break: break-word; font-size: 15px; font-family: var(--sans); }

.short-answer { background: var(--card); border: 1px solid var(--ink); border-top: 4px solid var(--accent); padding: 24px 28px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 20px; }
.short-answer .label { color: var(--accent); }
.short-answer p { font-size: 20px; line-height: 1.55; }
.takeaways { font-family: var(--sans); font-size: 16px; line-height: 1.5; }
.takeaways ul { margin-top: 10px; gap: 8px; }
.faq { border-top: 2px solid var(--ink); padding-top: 20px; }
.faq h2 { margin: 0 0 8px; }
.faq details { border-bottom: 1px solid var(--rule); padding: 14px 0; }
.faq summary { font: 600 17px var(--sans); cursor: pointer; }
.faq details p { margin-top: 10px; }
.sources { font-family: var(--sans); font-size: 14px; line-height: 1.5; }
.sources h2 { font-family: var(--serif); font-size: 26px; margin: 0 0 12px; }
.sources ol { gap: 8px; padding-left: 22px; color: #2A2824; }
.sources li:target { background: var(--paper-2); }
.disclosure { border: 1px solid var(--ink); background: var(--paper-2); padding: 20px 24px; font: 14px/1.55 var(--sans); display: flex; flex-direction: column; gap: 8px; }
.disclosure .label { color: var(--ink); }
.disclosure a { font-weight: 600; }
.changelog { font: 14px/1.5 var(--sans); }
.changelog ul { list-style: none; padding: 0; margin-top: 8px; gap: 6px; }
.changelog time { font: 12px var(--mono); margin-right: 12px; }
.author-box { border-top: 2px solid var(--ink); padding-top: 20px; display: flex; gap: 18px; font: 14px/1.55 var(--sans); }
.author-box .avatar { width: 72px; height: 72px; }
.author-box__name { font: 600 22px var(--serif); text-decoration: none !important; }
.author-box p { color: var(--ink-2); margin-top: 6px; }
.note { background: var(--paper-2); padding: 16px 20px; font: 14px/1.55 var(--sans); }

.fact-file { border: 1px solid var(--ink); background: var(--card); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.fact-file h2 { font-size: 22px; }
.fact-file dl { margin: 0; display: grid; grid-template-columns: 96px 1fr; row-gap: 8px; column-gap: 10px; font-size: 13px; line-height: 1.4; }
.fact-file dt { color: var(--ink-3); }
.fact-file dd { margin: 0; }
.cite-box { background: var(--paper-2); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.cite-box p { font-size: 12px; line-height: 1.5; color: #2A2824; word-break: break-word; }
.promo { border: 1px solid var(--ink); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.promo h2 { font-size: 20px; line-height: 1.25; }
.promo p { font-size: 13px; color: var(--ink-2); }
ol.numbered { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; font: 600 17px/1.3 var(--serif); }
.plain-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; font-weight: 600; }
.embed-code { white-space: pre-wrap; word-break: break-all; }

.related { border-top: 3px solid var(--ink); padding-top: 36px; padding-bottom: 64px; background-clip: content-box; }
.related h2 { font-size: 32px; margin-bottom: 24px; }
.related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }

/* Embeds */
body.embed { padding: 16px; background: var(--paper); }
body.embed h1 { font-size: 22px; margin-bottom: 12px; }
body.embed .meta { margin-top: 12px; }

/* Responsive */
@media (max-width: 1200px) {
  .hero { grid-template-columns: 2fr 1fr; }
  .wire { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .answers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: 1fr 3fr; }
  .article-right { grid-column: 2; position: static; }
  .primary-nav--compact { display: none; }
}
@media (max-width: 900px) {
  .masthead { flex-direction: column; align-items: flex-start; }
  .masthead__brand { flex-direction: column; align-items: flex-start; gap: 10px; }
  .masthead__actions { width: 100%; }
  .search { flex: 1; width: auto; }
  .hero, .data-band, .section-grid, .glossary-band, .article-head, .article-grid, .article-grid--two { grid-template-columns: 1fr; }
  .article-right { grid-column: auto; }
  .article-left { position: static; max-height: none; }
  .rails, .datasets, .related__grid { grid-template-columns: 1fr; }
  .glossary-band ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief { flex-direction: column; align-items: flex-start; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .utility nav { display: none; }
  .hero__title, .page-head h1, .article-head h1 { font-size: 38px; }
  .term-list li { flex-direction: column; gap: 4px; }
}
@media (max-width: 640px) {
  .answers { grid-template-columns: 1fr; }
  .glossary-band ul, .site-footer__grid { grid-template-columns: 1fr; }
  .logo--big { font-size: 48px; }
  .hero__title, .page-head h1, .article-head h1 { font-size: 32px; }
  .dek, .article-head .dek { font-size: 19px; }
  .prose { font-size: 18px; }
  .prose h2 { font-size: 26px; }
  .band__head { flex-direction: column; align-items: flex-start; }
  .byline__when { align-items: flex-start; }
  .topbar__actions .btn { display: none; }
  .site-footer__bottom { flex-direction: column; }
  .field input { width: 100%; }
  .brief__form, .field { width: 100%; }
}
@media print {
  .utility, .topbar, .masthead, .primary-nav, .hubs, .article-left, .article-right, .brief, .site-footer, .related { display: none !important; }
  .article-grid { display: block; }
}

/* Labels used as headings keep label styling inside prose and rails. */
.prose h2.label, .article-right h2.label, h2.label { font: 500 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; margin: 0; line-height: 1.4; }
.short-answer h2.label { color: var(--accent); }
.hubs .label { white-space: nowrap; }
@media (max-width: 900px) {
  .article-grid .prose { order: 1; }
  .article-grid .article-left { order: 2; }
  .article-grid .article-right { order: 3; }
}
.disclosure--top { margin-top: 20px; border-left: 4px solid var(--accent); }
