@font-face {
  font-family: "Caladea";
  src: url("./caladea-bold.74eda4fc5ffb.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "David Libre";
  src: url("./david-libre-regular.127235d6c9a0.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #000000;
  --paper: #ffffff;
  --body: #4b4b4b;
  --hover: #e2e2e2;
  --chip: #efefef;
  --line: #afafaf;
  --heading: "Caladea", Georgia, serif;
  --reading: "David Libre", Georgia, serif;
  --ui: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --value: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--body); font-family: var(--reading); font-size: 20px; line-height: 1.6; }
[hidden] { display: none !important; }
button, input { font: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a, button, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.site-footer a:focus-visible { outline-color: var(--paper); }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; font-family: var(--heading); font-weight: 700; margin: 0; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: 1.875rem; letter-spacing: -.02em; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 16px 0 0; padding-left: 24px; }
li + li { margin-top: 8px; }
.site-shell { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; left: 24px; top: 16px; z-index: 5; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--ink); }
.header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { min-height: 48px; display: inline-flex; align-items: center; gap: 16px; font: 700 20px/1.2 var(--ui); text-decoration: none; color: var(--ink); border-radius: 999px; }
.brand-symbol { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 2px solid var(--ink); border-radius: 12px; }
.brand-symbol span { display: block; width: 18px; height: 2px; background: var(--ink); }
.brand-symbol span:nth-child(2) { width: 12px; }
.brand-symbol span:nth-child(3) { width: 6px; }
.brand-description { display: block; margin-top: 5px; font: 400 16px/1.25 var(--ui); }
.pill { min-height: 48px; padding: 12px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; border: 1px solid var(--ink); border-radius: 999px; font: 500 16px/1.4 var(--ui); text-decoration: none; background: var(--paper); color: var(--ink); transition: background-color 160ms ease-out, color 160ms ease-out; }
.pill:hover { background: var(--hover); }
.pill-primary { background: var(--ink); color: var(--paper); }
.pill-primary:hover { background: var(--body); }
.pill-arrow { font-size: 24px; line-height: 1; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--ink); font: 500 16px/1.4 var(--ui); }
.chapter-chip { padding: 8px 16px; border-radius: 999px; background: var(--chip); }
.chapter-hero { padding-block: 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 64px; }
.hero-copy h1 span { display: block; }
.hero-lead { max-width: 50ch; margin-top: 24px; font-size: 24px; line-height: 1.45; }
.hero-copy .pill { margin-top: 32px; }
.atmosphere { position: relative; overflow: hidden; border-radius: 12px; background: var(--chip); margin: 0; }
.atmosphere img { width: 100%; height: 100%; object-fit: cover; color: transparent; font-size: 0; }
.hero-atmosphere { aspect-ratio: 6 / 5; }
.chapter-atmosphere { aspect-ratio: 3 / 2; }
.hero-answer { margin-top: 32px; border-top: 2px solid var(--ink); padding-top: 24px; }
.hero-answer .answer-tag { display: inline-block; margin-bottom: 12px; font: 600 16px/1.4 var(--ui); color: var(--ink); }
.hero-answer p { max-width: 42ch; font-size: 24px; line-height: 1.35; color: var(--ink); }
.chapter-section { border-top: 2px solid var(--ink); padding-block: 48px 64px; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; margin-bottom: 40px; }
.section-label { color: var(--ink); font: 500 16px/1.5 var(--ui); }
.section-intro { max-width: 62ch; }
.section-intro h2 { margin-bottom: 16px; font-size: 2.25rem; }
.answer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.answer-card { padding: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.answer-card h3 { margin-bottom: 24px; }
.answer-card p { font-size: 20px; line-height: 1.5; }
.featured-answer { border-color: var(--ink); border-radius: 12px; box-shadow: 0 4px 16px rgb(0 0 0 / .12); }
.answer-heading { font: 500 16px/1.5 var(--ui); color: var(--ink); margin-bottom: 16px; }
.reader-answer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 48px; padding-block: 32px; border-top: 1px solid var(--line); }
.reader-answer:first-child { border-top: 0; padding-top: 0; }
.reader-answer h2 { max-width: 21ch; font-size: 1.5rem; }
.reader-answer .answer-body { max-width: 68ch; }
.reader-answer p, .reader-answer li { font-size: 20px; }
.reader-answer ul { margin-top: 0; }
.reader-answer .pill { margin-top: 24px; }
.cost-section { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; margin-bottom: 64px; padding: 40px; border: 1px solid var(--ink); border-radius: 12px; box-shadow: 0 4px 16px rgb(0 0 0 / .12); }
.cost-section h2 { margin-bottom: 16px; font-size: 2.25rem; }
.cost-section p, .cost-questions { max-width: 68ch; }
.cost-section .cost-symbol { font: 700 64px/1 var(--value); color: var(--ink); margin-bottom: 24px; }
.cost-section .cost-questions { margin: 24px 0 0; padding: 0; list-style: none; }
.cost-questions li { padding: 12px 0; border-top: 1px solid var(--line); }
.cost-questions li:last-child { padding-bottom: 0; }
.evidence-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: end; padding-bottom: 48px; }
.evidence-hero h1 { max-width: 20ch; }
.evidence-hero .hero-lead { max-width: 52ch; }
.evidence-stamp { padding: 24px; border: 1px solid var(--ink); border-radius: 12px; }
.evidence-stamp p { font: 500 16px/1.6 var(--ui); color: var(--ink); }
.evidence-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; margin-bottom: 48px; }
.evidence-row h2 { margin-bottom: 24px; }
.evidence-row p { max-width: 60ch; }
.evidence-briefs { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.evidence-briefs h2 { margin-bottom: 24px; font-size: 1.5rem; }
.checklist-panel { padding: 40px; margin-bottom: 64px; border: 2px solid var(--ink); border-radius: 12px; }
.checklist-header { display: flex; gap: 32px; align-items: flex-start; justify-content: space-between; margin-bottom: 32px; }
.checklist-header h2 { font-size: 2.25rem; margin-bottom: 16px; }
.checklist-header p { max-width: 52ch; }
.checklist-header button { flex-shrink: 0; }
.question-checklist { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.question-checklist li + li { margin-top: 0; }
.checklist-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; align-items: center; padding: 16px 24px 16px 16px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; color: var(--ink); font: 400 18px/1.45 var(--ui); transition: background-color 160ms ease-out; }
.checklist-item:hover { background: var(--chip); }
.checklist-choice { appearance: none; margin: 0; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 999px; display: grid; place-content: center; background: var(--paper); cursor: pointer; }
.checklist-choice:checked { background: var(--ink); }
.checklist-choice::after { content: ""; width: 16px; height: 9px; border-left: 2px solid var(--paper); border-bottom: 2px solid var(--paper); transform: rotate(-45deg) scale(0); }
.checklist-choice:checked::after { transform: rotate(-45deg) scale(1); }
.licence-section { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; margin-bottom: 64px; padding-top: 40px; border-top: 2px solid var(--ink); }
.licence-section h2 { font-size: 2.25rem; max-width: 19ch; }
.licence-steps { list-style: none; margin: 0; padding: 0; counter-reset: licence; }
.licence-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 24px; counter-increment: licence; margin-top: 0; padding-block: 20px; border-top: 1px solid var(--line); }
.licence-steps li:first-child { border-top: 0; padding-top: 0; }
.licence-steps li::before { content: counter(licence, upper-alpha); width: 40px; height: 40px; display: grid; place-content: center; border: 1px solid var(--ink); border-radius: 999px; font: 500 16px/1 var(--value); color: var(--ink); }
.licence-steps h3 { margin-bottom: 12px; }
.licence-steps p, .licence-note p { max-width: 68ch; }
.licence-note { padding: 24px; border-radius: 8px; background: var(--chip); }
.chapter-notes { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-block: 40px 64px; border-top: 1px solid var(--ink); }
.chapter-notes h2 { font-size: 1.5rem; }
.notes-list { list-style: none; margin: 0; padding: 0; }
.notes-list li { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); padding-block: 12px; }
.notes-list li:first-child { padding-top: 0; border-top: 0; }
.note-link { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: fit-content; max-width: 100%; min-height: 48px; padding: 10px 20px; border-radius: 999px; font: 500 16px/1.45 var(--ui); color: var(--ink); background: var(--chip); text-decoration: none; transition: background-color 160ms ease-out; }
.note-link:hover { background: var(--hover); }
.note-link .outward { flex-shrink: 0; font-size: 20px; }
.note-purpose { padding-left: 20px; margin-top: 8px; font-size: 20px; line-height: 1.4; max-width: 60ch; }
.chapter-next { border-top: 2px solid var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 32px 48px; }
.chapter-next p { color: var(--ink); font-size: 24px; }
.site-footer { padding-block: 48px 32px; color: var(--paper); background: var(--ink); font-family: var(--ui); }
.footer-heading { display: flex; gap: 32px; align-items: baseline; justify-content: space-between; margin-bottom: 32px; }
.footer-heading h2 { color: var(--paper); font-size: 2.25rem; }
.footer-heading p { font-size: 16px; }
.chapter-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.directory-link { min-height: 96px; display: grid; grid-template-columns: 1fr 24px; align-content: center; gap: 4px 16px; padding: 20px 32px; border: 1px solid var(--paper); border-radius: 999px; color: var(--paper); text-decoration: none; font-size: 16px; line-height: 1.4; transition: background-color 160ms ease-out, color 160ms ease-out; }
.directory-link .directory-title { font-weight: 600; }
.directory-link .directory-detail { grid-column: 1; font-weight: 400; }
.directory-link .directory-arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 24px; }
.directory-link:hover, .directory-link[aria-current="page"] { background: var(--paper); color: var(--ink); }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; border-top: 1px solid var(--paper); margin-top: 40px; padding-top: 24px; }
.footer-bottom p { font-size: 16px; max-width: 72ch; line-height: 1.6; }
.footer-top { display: inline-flex; min-width: 128px; min-height: 48px; align-items: center; justify-content: center; border: 1px solid var(--paper); padding: 10px 20px; border-radius: 999px; font-size: 16px; line-height: 1.4; text-decoration: none; }
.footer-top:hover { background: var(--paper); color: var(--ink); }
.missing-page { max-width: 72ch; padding-block: 96px; min-height: 56vh; }
.missing-page p { margin-top: 24px; }
.missing-page .pill { margin-top: 32px; }

@media (max-width: 1050px) {
  .site-shell { width: calc(100% - 64px); }
  .hero-grid, .evidence-row { gap: 40px; }
  .answer-grid { gap: 16px; }
  .answer-card { padding: 24px; }
  .directory-link { padding-inline: 24px; }
}

@media (max-width: 760px) {
  .site-shell { width: calc(100% - 40px); }
  .header-inner { min-height: 100px; gap: 12px; }
  .brand { font-size: 18px; gap: 10px; }
  .brand-symbol { display: none; }
  .brand-description { font-size: 16px; }
  .header-directory { padding: 12px 16px; gap: 10px; }
  .header-directory .directory-word { display: none; }
  .chapter-hero { padding-block: 40px; }
  .hero-grid, .section-heading, .reader-answer, .cost-section, .evidence-hero, .evidence-row, .evidence-briefs, .licence-section, .chapter-notes { grid-template-columns: 1fr; gap: 24px; }
  .hero-grid { gap: 40px; }
  .kicker { margin-bottom: 24px; }
  .hero-lead { font-size: 22px; margin-top: 20px; }
  .hero-copy .pill { margin-top: 24px; }
  .hero-answer { margin-top: 24px; }
  .hero-answer p { font-size: 22px; }
  .hero-atmosphere { aspect-ratio: 3 / 2; }
  .chapter-section { padding-block: 32px 40px; }
  .section-heading { margin-bottom: 24px; gap: 16px; }
  .answer-grid { grid-template-columns: 1fr; gap: 16px; }
  .answer-card { padding: 24px; }
  .answer-card h3 { margin-bottom: 16px; }
  .reader-answer { padding-block: 28px; gap: 16px; }
  .reader-answer h2 { max-width: 28ch; }
  .cost-section { padding: 24px; margin-bottom: 40px; }
  .cost-section .cost-symbol { display: none; }
  .evidence-hero { gap: 24px; }
  .evidence-stamp { max-width: 100%; }
  .evidence-row { gap: 32px; margin-bottom: 32px; }
  .evidence-briefs { gap: 32px; }
  .checklist-panel { padding: 24px 16px; margin-bottom: 40px; }
  .checklist-header { flex-direction: column; gap: 20px; margin-bottom: 24px; }
  .checklist-header h2 { font-size: 2rem; }
  .checklist-item { gap: 12px; padding: 16px; font-size: 16px; }
  .licence-section { margin-bottom: 40px; padding-top: 32px; }
  .licence-steps li { grid-template-columns: 40px 1fr; gap: 16px; }
  .chapter-notes { padding-block: 32px 40px; }
  .note-link { width: 100%; }
  .note-purpose { padding-left: 0; }
  .chapter-next { align-items: flex-start; flex-direction: column; padding-block: 24px 32px; gap: 20px; }
  .footer-heading { flex-direction: column; gap: 12px; align-items: flex-start; margin-bottom: 24px; }
  .chapter-directory { grid-template-columns: 1fr; gap: 12px; }
  .directory-link { min-height: 88px; padding: 18px 24px; }
  .footer-bottom { flex-direction: column; gap: 24px; margin-top: 32px; }
  .site-footer { padding-block: 32px; }
  .missing-page { padding-block: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  @page { margin: 14mm; }
  body { font-size: 12pt; color: #000000; }
  .site-shell { width: 100%; }
  .site-header, .site-footer, .skip-link, .chapter-next, .screen-only { display: none !important; }
  .checklist-chapter .evidence-hero, .checklist-chapter .evidence-content, .checklist-chapter .licence-section, .checklist-chapter .chapter-notes { display: none !important; }
  .checklist-panel { margin: 0; padding: 0; border: 0; border-radius: 0; }
  .checklist-header { margin-bottom: 20px; }
  .checklist-header h2 { font-size: 24pt; }
  .checklist-header p { font-size: 12pt; }
  .question-checklist { gap: 10px; }
  .checklist-item { border-color: #000000; padding: 12px 18px; font-size: 12pt; break-inside: avoid; }
  .checklist-choice { width: 32px; height: 32px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .atmosphere { display: none; }
  a { color: #000000; }
}
