:root {
  color-scheme: dark;
  --ink: #101a22;
  --ink-deep: #0b141b;
  --amber: #ffc857;
  --paper: #f4f0e6;
  --text: #f4f0e6;
  --muted: #abbcc9;
  --line: #304553;
  --paper-text: #15232d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--text); background: radial-gradient(ellipse at 0 0, #142733 0, transparent 55%), var(--ink-deep); font: 18px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 6px; border-radius: 2px; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; flex-shrink: 0; }
h1, h2, h3, p, ul, ol { margin-top: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.035em; }
h2 { font-size: clamp(27px, 3vw, 38px); }
h3 { font-size: 23px; }
strong { font-weight: 680; }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 5; background: var(--amber); color: var(--ink); padding: 8px 16px; font-weight: 700; }
.skip-link:focus { top: 16px; }
.site-header .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand img { border-radius: 12px; }
.brand-copy { display: grid; gap: 4px; }
.brand-copy strong { font-size: 26px; line-height: 1.05; letter-spacing: -.045em; font-weight: 750; }
.brand-copy small { color: var(--muted); text-transform: uppercase; letter-spacing: .32em; font-size: 11px; line-height: 1.5; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); font-size: 15px; }
.site-nav a { padding-block: 8px; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--amber); border-bottom-color: var(--amber); }
.hero { padding: 66px 0 40px; }
.eyebrow { font: 600 11px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.ruled { display: flex; align-items: center; gap: 22px; }
.ruled::after { content: ""; display: block; height: 1px; flex: 1; max-width: 390px; background: var(--line); }
.hero h1 { font-size: clamp(46px, 6.1vw, 78px); line-height: 1.06; font-weight: 770; letter-spacing: -.055em; margin-bottom: 23px; }
.accent { color: var(--amber); }
.hero-deck { font-size: clamp(19px, 2.3vw, 27px); margin-bottom: 0; color: #d7dfe1; letter-spacing: -.025em; }
.topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 0 0 44px; }
.topic-card { display: flex; gap: 24px; padding: 32px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; transition: border-color .16s ease, background .16s ease; background: #14232c55; }
.topic-card:hover { background: #1b2d38; border-color: #79909b; }
.topic-card .eyebrow { margin-bottom: 12px; }
.topic-card h2 { font-size: clamp(27px, 2.5vw, 33px); margin-bottom: 15px; }
.topic-card p:not(.eyebrow) { color: #becbd4; margin-bottom: 24px; font-size: 17px; line-height: 1.65; }
.topic-icon { width: 48px; height: 64px; color: var(--amber); }
.text-link { display: inline-flex; align-items: center; gap: 22px; color: var(--amber); font-size: 16px; font-weight: 650; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.printer-section { padding: 40px 0 36px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 10px; color: var(--amber); }
.section-heading h2 { margin-bottom: 12px; }
.section-deck { color: #d4dce1; margin-bottom: 0; font-size: 20px; }
.printer-icon { width: 60px; height: 60px; color: var(--amber); margin-top: 14px; }
.printer-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); gap: 46px; }
.printer-answer p { font-size: 17px; color: #c6d2da; }
.printer-answer strong { color: var(--text); }
.formula { display: grid; gap: 4px; padding: 20px 24px; border-left: 3px solid var(--amber); background: #1d303b; margin-block: 24px; }
.formula span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.formula strong { line-height: 1.5; }
.table-caption { margin-bottom: 12px; font-size: 15px !important; }
.table-wrap { max-width: 100%; overflow-x: auto; margin: 18px 0 22px; border: 1px solid var(--line); border-radius: 4px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; text-align: left; }
th, td { padding: 13px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 650; color: var(--muted); background: #20323e50; }
tbody th { font-weight: 650; }
tbody tr:last-child > * { border-bottom: 0; }
.check-panel { border-left: 1px solid var(--line); padding-left: 30px; }
.check-symbol { display: inline-flex; width: 36px; height: 36px; border: 2px solid var(--amber); color: var(--amber); border-radius: 50%; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 22px; }
.check-panel h3 { font-size: 25px; }
.check-list { padding: 0; list-style: none; margin-bottom: 24px; }
.check-list li { padding-block: 18px; border-bottom: 1px solid var(--line); }
.check-list strong { display: block; margin-bottom: 5px; font-size: 16px; }
.check-list span { display: block; color: var(--muted); font-size: 14px; line-height: 1.65; }
.small-note { font-size: 13px; line-height: 1.65; color: var(--muted); }
.home-sources { color: var(--muted); font-size: 13px; margin-top: 12px; }
summary { cursor: pointer; width: fit-content; padding-block: 10px; }
.home-sources ul { padding-left: 22px; margin-block: 10px; }
.home-sources li { margin-bottom: 8px; }
.breadcrumb { display: flex; gap: 10px; margin: 24px 0; font-size: 13px; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .65; }
.breadcrumb a { text-decoration: none; }
.breadcrumb [aria-current="page"] { color: var(--text); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 30px; align-items: start; margin-bottom: 52px; }
.article { border-radius: 8px; padding: clamp(26px, 4vw, 52px); background: var(--paper); color: var(--paper-text); color-scheme: light; min-width: 0; }
.article-header h1 { font-size: clamp(34px, 3.7vw, 48px); line-height: 1.12; margin-bottom: 22px; font-weight: 780; }
.article .eyebrow { color: #5b686b; }
.lede { font-size: 19px; line-height: 1.6; color: #42525b; margin-bottom: 26px; }
.quick-answer { background: #f7e6bc; border-left: 3px solid #b47700; border-radius: 3px; padding: 22px 24px; margin: 28px 0 38px; font-size: 18px; }
.quick-answer p:last-child { margin-bottom: 0; }
.answer-label { color: #845600; font: 700 11px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 10px; }
.article-content { max-width: 720px; }
.article-content section + section { margin-top: 38px; padding-top: 30px; border-top: 1px solid #cccac2; }
.article h2 { font-size: clamp(25px, 2.6vw, 31px); margin-bottom: 20px; }
.article h3 { font-size: 22px; margin-top: 30px; }
.article p, .article li { line-height: 1.75; }
.article p { margin-bottom: 20px; }
.article li { padding-left: 3px; margin-bottom: 12px; }
.article ul, .article ol { padding-left: 24px; margin-bottom: 24px; }
.article a { color: #374f5d; text-decoration-color: #778c96; }
.article a:hover { color: #141e25; }
.article a:focus-visible { outline-color: #8d6100; }
.article .table-wrap { border-color: #c7c5bf; }
.article th, .article td { border-color: #d3d0c7; }
.article thead th { background: #e7e3da; color: #475761; }
.article .table-wrap th, .article .table-wrap td { min-width: 110px; padding: 13px 14px; }
.article .table-wrap th:first-child { min-width: 150px; }
.table-scroll-hint { display: none; }
.sources, .article-content #sources { margin-top: 38px; font-size: 14px; }
.sources h2 { font-size: 23px; }
.sources li { margin-bottom: 10px; }
.toc { position: sticky; top: 30px; border-top: 1px solid var(--line); padding-top: 22px; font-size: 14px; line-height: 1.6; }
.toc-label, .toc-title, .toc h2 { color: var(--muted); font-size: 11px; line-height: 1.5; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 20px; }
.toc nav { display: grid; gap: 12px; }
.toc ul, .toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: 15px; }
.toc a { display: block; color: #cfdae1; border-left: 2px solid var(--line); padding: 6px 0 6px 15px; text-decoration: none; }
.toc a:hover { color: var(--amber); border-left-color: var(--amber); }
.standalone { max-width: 850px; margin: 42px auto 64px; }
.standalone .article-header h1 { font-size: clamp(34px, 5vw, 52px); }
.error-page { padding: 96px 0 120px; max-width: 720px; }
.error-page h1 { font-size: clamp(42px, 6vw, 70px); }
.error-page p { color: var(--muted); max-width: 500px; }
.error-page .text-link { margin-top: 15px; }
.site-footer .footer-inner { border-top: 1px solid var(--line); padding-block: 25px 32px; display: flex; justify-content: space-between; gap: 20px; font: 12px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .04em; color: var(--muted); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 1000px) {
  .container { width: calc(100% - 48px); }
  .brand-copy strong { font-size: 23px; }
  .site-nav { gap: 18px; font-size: 14px; }
  .topic-card { padding: 28px 24px; gap: 18px; }
  .topic-icon { width: 35px; height: 50px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 168px; gap: 22px; }
  .article { padding: 32px; }
  .printer-layout { gap: 30px; }
  .check-panel { padding-left: 22px; }
}
@media (max-width: 760px) {
  .site-header .header-inner { flex-wrap: wrap; gap: 18px; padding-block: 22px 12px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 12px; font-size: 14px; }
  .site-nav a { display: flex; align-items: center; min-height: 44px; }
  .hero { padding: 42px 0 30px; }
  .hero h1 { font-size: clamp(40px, 9vw, 65px); }
  .hero-deck { font-size: 20px; max-width: 440px; }
  .topics { grid-template-columns: 1fr; gap: 16px; padding-bottom: 34px; }
  .topic-card { padding: 26px; gap: 24px; }
  .topic-card h2 { font-size: 29px; }
  .topic-card h2 br { display: none; }
  .topic-card p:not(.eyebrow) { margin-bottom: 18px; }
  .topic-icon { width: 40px; height: 56px; }
  .printer-section { padding-top: 30px; }
  .section-heading { gap: 18px; }
  .printer-icon { width: 42px; height: 42px; }
  .section-heading h2 { font-size: 29px; }
  .section-heading h2 br { display: none; }
  .printer-layout { grid-template-columns: 1fr; gap: 22px; }
  .check-panel { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .check-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .check-list li { padding-block: 10px; }
  .article-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { grid-row: 1; position: static; padding-top: 16px; }
  .toc-label, .toc-title, .toc h2 { margin-bottom: 12px; }
  .toc nav { display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 8px; }
  .toc ul, .toc ol { display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 8px; }
  .toc li { margin-bottom: 0; }
  .toc a { padding: 0; border-left: 0; text-decoration: underline; text-underline-offset: 4px; }
  .article { padding: 30px; }
  .article-header h1 { font-size: 36px; }
  .article .table-scroll-hint { display: block; margin-bottom: 6px; font-size: 12px; line-height: 1.5; color: #5c6565; }
  .article .table-scroll-hint + .table-wrap { margin-top: 6px; }
  .site-footer .footer-inner { font-size: 11px; }
}
@media (max-width: 450px) {
  .container { width: calc(100% - 36px); }
  .brand-copy strong { font-size: 24px; }
  .hero h1 { font-size: 43px; }
  .hero .eyebrow { letter-spacing: .15em; font-size: 10px; }
  .topic-card { padding: 24px 21px; gap: 18px; }
  .topic-icon { width: 29px; height: 44px; }
  .topic-card h2 { font-size: 27px; }
  .topic-card p:not(.eyebrow) { font-size: 16px; }
  .text-link { font-size: 15px; gap: 14px; }
  .section-heading { display: block; }
  .printer-icon { margin: 0 0 20px; }
  .check-list { grid-template-columns: 1fr; gap: 0; }
  .check-list li { padding-block: 16px; }
  .check-list span { font-size: 15px; }
  .formula { padding: 18px; }
  th, td { padding: 12px 10px; }
  .article { padding: 26px 21px; }
  .article-header h1 { font-size: 32px; }
  .article p, .article li { font-size: 17px; }
  .article h2 { font-size: 26px; }
  .quick-answer { padding: 20px; }
  .lede { font-size: 18px; }
  .site-footer .footer-inner { flex-wrap: wrap; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .topic-card { transition: none; }
}
