@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&family=Playfair+Display:opsz,wght@5..120,100..900&display=swap');

:root {
  --page-orange: #ff5701;
  --page-paper: #f6f6f1;
  --page-white: #ffffff;
  --page-ink: #111827;
  --page-green: #16a34a;
  --page-amber: #d97706;
  --page-red: #dc2626;
  --page-line: #d8d8cf;
  --page-muted: #4b5563;
  --page-serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --page-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page-paper); color: var(--page-ink); font-family: var(--page-serif); font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--page-ink); text-decoration-color: var(--page-orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: #b33d00; }
button, summary { font: inherit; }
:focus-visible { outline: 3px solid var(--page-orange); outline-offset: 3px; }
.page-skip { position: fixed; left: 16px; top: -80px; z-index: 40; min-height: 44px; padding: 10px 16px; background: var(--page-ink); color: var(--page-white); }
.page-skip:focus { top: 16px; }
.page-header { position: relative; z-index: 20; border-bottom: 1px solid var(--page-line); background: rgba(246, 246, 241, .97); }
.page-utility { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; max-width: 1248px; margin: 0 auto; padding: 8px 16px; border-bottom: 1px solid var(--page-line); }
.page-wordmark { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; margin-right: auto; font-weight: 800; text-decoration: none; }
.page-wordmark span { font-family: var(--page-mono); font-size: .875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.page-language-toggle { min-height: 44px; border: 1px solid var(--page-ink); border-radius: 6px; padding: 8px 14px; background: var(--page-white); color: var(--page-ink); cursor: pointer; }
.page-language-toggle[aria-pressed="true"] { border-color: var(--page-orange); background: var(--page-orange); color: var(--page-ink); }
.page-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-question-tabs { display: flex; flex-wrap: wrap; gap: 4px; max-width: 1248px; margin: 0 auto; padding: 8px 16px; }
.page-question-tabs > a, .page-chapter-menu > summary { display: inline-flex; min-height: 44px; align-items: center; border-radius: 6px; padding: 8px 12px; font-size: 1rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.page-question-tabs > a[aria-current="page"] { background: var(--page-orange); color: var(--page-ink); }
.page-chapter-menu { position: relative; flex: 1 0 100%; min-width: 0; }
.page-chapter-menu > summary { list-style: none; border: 1px solid var(--page-line); background: var(--page-white); }
.page-chapter-menu > summary::-webkit-details-marker { display: none; }
.page-chapter-links { display: grid; width: 100%; max-width: 100%; grid-template-columns: 1fr; gap: 4px; margin-top: 8px; border: 1px solid var(--page-line); border-radius: 8px; padding: 8px; background: var(--page-white); box-shadow: 0 16px 40px rgba(17, 24, 39, .16); }
.page-chapter-links a { display: flex; min-height: 44px; align-items: center; border-radius: 4px; padding: 8px 12px; font-size: 1rem; text-decoration: none; }
.page-chapter-links a:hover, .page-chapter-links a[aria-current="page"] { background: var(--page-paper); color: var(--page-ink); }
.page-main { max-width: 1248px; margin: 0 auto; padding: 16px; }
.page-hero { overflow: hidden; margin: 8px 0 24px; border: 1px solid var(--page-line); border-radius: 8px; background: var(--page-white); }
.page-hero-copy { position: relative; z-index: 2; max-width: 780px; padding: 32px 24px; }
.page-kicker, .page-detail-label { margin: 0 0 8px; color: #8f3100; font-family: var(--page-mono); font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 18ch; margin: 0; font-size: clamp(2rem, 8vw, 2.5rem); font-weight: 750; letter-spacing: -.025em; line-height: 1.06; }
.page-lede { max-width: 62ch; margin: 16px 0 0; font-size: 1.125rem; line-height: 1.55; }
.page-status-date { margin: 16px 0 0; color: var(--page-muted); font-family: var(--page-mono); font-size: .875rem; font-weight: 600; }
.page-hero-photo { margin: 0; background: var(--page-ink); }
.page-hero-photo img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.page-article { max-width: 760px; margin: 0 auto; }
.page-section { margin: 40px 0 8px; }
.page-section h2, .page-question h2, .page-endnotes h2 { max-width: 25ch; margin: 0; font-size: 1.5rem; line-height: 1.2; }
.page-prose { margin: 0; }
.page-prose p, .page-question p { max-width: 68ch; margin: 0 0 16px; font-size: 1rem; }
.page-callout { margin: 24px 0; border: 1px solid var(--page-line); border-left: 6px solid var(--page-orange); border-radius: 6px; padding: 16px 18px; background: var(--page-white); }
.page-callout--status { border-left-color: var(--page-green); }
.page-callout--warning { border-left-color: var(--page-amber); }
.page-callout-title { margin: 0 0 8px; font-family: var(--page-mono); font-size: 1rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.page-callout p:last-child { margin-bottom: 0; }
.page-list, .page-steps { display: grid; gap: 8px; margin: 8px 0 24px; padding-left: 24px; }
.page-list li, .page-steps li { min-height: 44px; padding: 6px 0 6px 8px; font-size: 1rem; }
.page-steps { list-style: none; padding: 0; counter-reset: page-steps; }
.page-steps li { position: relative; padding: 12px 12px 12px 56px; border-top: 1px solid var(--page-line); counter-increment: page-steps; }
.page-steps li::before { position: absolute; left: 8px; top: 9px; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--page-ink); color: var(--page-white); content: counter(page-steps); font-family: var(--page-mono); font-size: .875rem; }
.page-detail { display: none; margin: 24px 0; border: 1px dashed var(--page-ink); border-radius: 6px; padding: 16px 18px; background: #fff7f1; }
.page-detail p { margin: 0; }
.page-detail-on .page-detail { display: block; }
.page-question { margin: 16px 0; border-top: 1px solid var(--page-line); padding: 20px 0 4px; }
.page-question h2 { font-size: 1.125rem; }
.page-question p { margin-top: 8px; }
.page-card-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0 32px; }
.page-card-link { display: grid; min-height: 148px; grid-template-rows: auto 1fr auto; border: 1px solid var(--page-line); border-radius: 8px; padding: 18px; background: var(--page-white); font-size: 1rem; text-decoration: none; }
.page-card-link:hover { border-color: var(--page-orange); color: var(--page-ink); transform: translateY(-2px); }
.page-card-title { margin-bottom: 6px; font-size: 1.5rem; font-weight: 750; }
.page-card-arrow { color: var(--page-orange); font-size: 2rem; line-height: 1; }
.page-photo { margin: 24px 0; overflow: hidden; border-radius: 8px; background: var(--page-white); }
.page-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.page-recap { margin: 48px 0 24px; border-top: 4px solid var(--page-ink); padding: 18px 0; }
.page-recap p:last-child { max-width: 55ch; margin: 0; font-size: 1.125rem; font-weight: 700; }
.page-endnotes { margin: 24px 0; border-top: 1px solid var(--page-line); padding-top: 24px; }
.page-note-list { display: grid; gap: 4px; margin: 12px 0; padding: 0; list-style: none; }
.page-note-list a, .page-text-link { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 0; font-size: 1rem; }
.page-next { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 40px 0; }
.page-next > a { display: grid; min-height: 88px; border: 1px solid var(--page-line); border-radius: 8px; padding: 14px 16px; background: var(--page-white); font-size: 1rem; text-decoration: none; }
.page-next span { font-family: var(--page-mono); font-size: .875rem; text-transform: uppercase; }
.page-next strong { font-size: 1rem; }
.page-next-space { display: none; }
.page-footer { border-top: 1px solid var(--page-line); padding: 24px 16px 40px; background: var(--page-white); }
.page-footer > p, .page-footer > nav { max-width: 1216px; margin: 0 auto; font-size: 1rem; }
.page-footer > p { max-width: 70ch; margin-bottom: 16px; }
.page-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.page-footer a { display: inline-flex; min-height: 44px; align-items: center; font-size: 1rem; }

@media (min-width: 720px) {
  .page-utility, .page-question-tabs, .page-main { padding-left: 24px; padding-right: 24px; }
  .page-header { position: sticky; top: 0; }
  .page-chapter-menu { flex: initial; }
  .page-chapter-links { position: absolute; right: 0; width: min(92vw, 680px); grid-template-columns: 1fr 1fr; }
  .page-hero--with-photo { display: grid; min-height: 480px; grid-template-columns: 1.1fr .9fr; align-items: stretch; }
  .page-hero-copy { display: flex; flex-direction: column; justify-content: end; padding: 48px; }
  .page-hero-photo { grid-column: 2; grid-row: 1; }
  .page-hero-photo img { height: 100%; aspect-ratio: auto; }
  .page-card-grid { grid-template-columns: 1fr 1fr; }
  .page-next { grid-template-columns: 1fr 1fr; }
  .page-next-space { display: block; }
}

@media (min-width: 1100px) {
  .page-question-tabs { flex-wrap: nowrap; }
  .page-article { margin-left: 10%; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .page-card-link { transition: border-color 140ms ease, transform 140ms ease; }
}

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