:root {
  color-scheme: light;
  --ink: #352a2e;
  --muted: #69575f;
  --red: #b52b49;
  --red-deep: #92223b;
  --rose: #fff0f3;
  --rose-strong: #f8d8e1;
  --line: #e8dce0;
  --white: #ffffff;
  --heading: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --gloss: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { background: var(--white); scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); font: 18px/1.65 var(--body); -webkit-text-size-adjust: 100%; }
main, section, article, aside, figure, nav, div { min-width: 0; }
a { color: var(--red-deep); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, summary { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: #f8d8e1; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #155a81; outline-offset: 5px; border-radius: 7px; }
[hidden] { display: none !important; }
::selection { color: #352a2e; background: #f4bdcb; }
h1, h2, h3, p, dl, ul, ol, figure { margin-top: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; text-wrap: balance; }
h1 { max-width: 16ch; margin-bottom: 1.5rem; font-size: clamp(2.65rem, 4.7vw, 4.5rem); line-height: 1.08; letter-spacing: -.045em; }
h2 { max-width: 24ch; margin-bottom: 1.4rem; font-size: clamp(1.85rem, 2.8vw, 2.45rem); line-height: 1.2; letter-spacing: -.028em; }
h3 { font-size: 1.35rem; line-height: 1.3; letter-spacing: -.015em; }
p { margin-bottom: 1.2rem; }
li + li { margin-top: .7rem; }
ul, ol { padding-left: 1.4rem; }
main { max-width: 1264px; padding: 0 32px; margin: auto; }
.skip-link { position: absolute; top: -6rem; left: 16px; z-index: 50; display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px; background: white; border: 3px solid var(--red); }
.skip-link:focus { top: 8px; }
.utility-strip { background: var(--rose); }
.utility-inner { max-width: 1264px; min-height: 48px; padding: 0 32px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.utility-inner p { margin: 0; font-size: 16px; color: var(--muted); }
.utility-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; white-space: nowrap; }
.masthead { position: relative; max-width: 1264px; min-height: 116px; padding: 22px 32px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.site-name { display: flex; flex-direction: column; justify-content: center; min-height: 56px; color: var(--ink); text-decoration: none; font: 22px/1.2 var(--heading); letter-spacing: -.03em; }
.site-name span { color: var(--red); font-weight: 700; }
.site-name strong { font-weight: 400; }
.header-actions { display: flex; align-items: center; gap: 30px; }
.header-cost { display: inline-flex; align-items: center; min-height: 48px; color: var(--ink); font-size: 17px; text-decoration: none; }
.chapter-menu { position: relative; z-index: 15; }
.chapter-menu summary { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 8px 20px; border-radius: 28px; background: var(--rose); cursor: pointer; font-size: 17px; list-style: none; }
summary::-webkit-details-marker { display: none; }
.menu-mark, .drawer-mark { position: relative; display: inline-block; width: 16px; height: 16px; flex: 0 0 16px; }
.menu-mark::before, .menu-mark::after, .drawer-mark::before, .drawer-mark::after { content: ""; position: absolute; display: block; background: currentColor; width: 14px; height: 2px; top: 7px; left: 1px; }
.menu-mark::after, .drawer-mark::after { transform: rotate(90deg); }
.chapter-menu[open] .menu-mark::after, .evidence-drawer[open] .drawer-mark::after { display: none; }
.menu-panel { position: absolute; top: calc(100% + 14px); right: 0; width: 310px; background: white; padding: 14px; border-radius: 24px; box-shadow: 0 14px 55px #693c4b25; border: 2px solid var(--rose-strong); }
.menu-panel ul { list-style: none; padding: 0; margin: 0; }
.menu-panel li + li { margin: 2px 0 0; }
.menu-panel a { display: flex; align-items: center; min-height: 48px; padding: 9px 16px; border-radius: 14px; color: var(--ink); text-decoration: none; font-size: 17px; }
.menu-panel a[aria-current], .menu-panel a:hover { background: var(--rose); color: var(--red-deep); }
.page-hero { padding: 24px 0 56px; max-width: 1050px; margin: auto; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; margin-bottom: 22px; }
.back-link::before { content: ""; display: block; width: 8px; height: 8px; margin-right: 12px; border-left: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); }
.chapter-label { color: var(--red-deep); font: 20px/1.4 var(--gloss); margin-bottom: 16px; }
.page-lead { max-width: 58ch; font-size: 21px; line-height: 1.55; color: var(--muted); margin-bottom: 0; }
.chapter { display: grid; grid-template-columns: 215px minmax(0, 700px); gap: 56px; max-width: 1050px; padding: 48px 0; margin: auto; border-top: 2px solid var(--line); align-items: start; }
.margin-definition { background: var(--rose); padding: 25px 22px 27px; border-radius: 25px 25px 25px 6px; }
.margin-definition dl { margin: 0; }
.margin-definition dt { margin-bottom: 12px; font: italic 23px/1.2 var(--gloss); color: var(--red-deep); overflow-wrap: anywhere; }
.margin-definition dd { margin: 0; font: 17px/1.6 var(--body); color: #654a54; }
.chapter-copy { max-width: 66ch; }
.chapter-copy p, .chapter-copy li { max-width: 66ch; }
.plain-list { margin-bottom: 1.6rem; padding-left: 1.2rem; }
.plain-list li { padding-left: .25rem; }
.plain-list li::marker { color: var(--red); }
.text-link, .action-link { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 0; font-size: 18px; margin-bottom: 16px; }
.action-link { gap: 14px; font-weight: 600; }
.action-link::after, .tool-link::after { content: ""; display: inline-block; flex: 0 0 9px; width: 9px; height: 9px; border-right: 2px solid; border-top: 2px solid; transform: rotate(45deg); margin-left: 4px; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 13px 26px; border-radius: 32px; background: var(--red); color: white; font-size: 18px; font-weight: 600; text-decoration: none; }
.primary-link:hover { background: var(--red-deep); }
.evidence-drawer { margin-top: 30px; background: #fbf7f8; border-radius: 20px; font-size: 16px; }
.evidence-drawer summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 14px 20px; gap: 20px; color: var(--red-deep); cursor: pointer; list-style: none; }
.evidence-drawer[open] { background: var(--rose); }
.evidence-body { padding: 2px 20px 22px; }
.endnotes { list-style-type: lower-alpha; padding-left: 22px; margin: 0; }
.endnotes li { padding-left: 6px; }
.endnotes li + li { margin-top: 12px; }
.endnotes p { font-size: 16px; line-height: 1.6; color: #654a54; margin: 0; }
.note-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; line-height: 1.45; padding: 8px 0; }
.close-notes { display: inline-flex; align-items: center; min-height: 44px; color: var(--red-deep); background: white; border: 0; border-radius: 24px; padding: 8px 18px; margin-top: 18px; font-size: 16px; }
.continuation { max-width: 1050px; margin: 40px auto 76px; padding: 32px 36px; background: var(--rose); border-radius: 30px; display: grid; grid-template-columns: 215px 1fr; align-items: center; gap: 20px; }
.continuation p { margin: 0; font: italic 22px/1.4 var(--gloss); color: #654a54; }
.next-card { display: flex; align-items: center; justify-content: space-between; min-height: 56px; color: var(--red-deep); font: 700 25px/1.3 var(--heading); text-decoration: none; gap: 24px; }
.next-card::after { content: ""; width: 12px; height: 12px; border-right: 2px solid; border-top: 2px solid; transform: rotate(45deg); flex: 0 0 12px; }
.site-footer { background: #fff5f7; }
.footer-inner { max-width: 1264px; margin: auto; padding: 40px 32px; display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.footer-inner p { max-width: 49ch; margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.footer-inner nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 24px; }
.footer-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; white-space: nowrap; }
@media (max-width: 850px) {
  .chapter { grid-template-columns: 185px minmax(0, 1fr); gap: 32px; }
  .continuation { grid-template-columns: 185px 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-inner p { max-width: 66ch; }
}
@media (max-width: 620px) {
  body { font-size: 18px; line-height: 1.65; }
  main { padding: 0 22px; }
  .utility-inner { padding: 0 22px; min-height: 50px; gap: 18px; }
  .utility-inner p { font-size: 16px; max-width: 18ch; line-height: 1.35; padding: 10px 0; }
  .utility-link { font-size: 16px; }
  .masthead { min-height: 108px; padding: 22px; gap: 10px; }
  .site-name { font-size: 21px; }
  .header-actions { gap: 0; }
  .header-cost { display: none; }
  .chapter-menu { position: static; }
  .chapter-menu summary { min-height: 48px; padding: 9px 14px; gap: 12px; font-size: 16px; }
  .menu-panel { top: calc(100% - 8px); left: 22px; right: 22px; width: auto; }
  .page-hero { padding: 10px 0 38px; }
  .back-link { margin-bottom: 18px; }
  .chapter-label { font-size: 19px; }
  h1 { font-size: 43px; max-width: 16ch; margin-bottom: 22px; }
  h2 { font-size: 30px; line-height: 1.22; }
  h3 { font-size: 23px; }
  .page-lead { font-size: 20px; }
  .chapter { display: flex; flex-direction: column; gap: 26px; padding: 34px 0 38px; }
  .margin-definition { width: 100%; border-radius: 22px 22px 22px 5px; padding: 20px 22px; }
  .margin-definition dt { font-size: 22px; margin-bottom: 8px; }
  .margin-definition dd { font-size: 17px; }
  .evidence-drawer { margin-top: 24px; width: 100%; }
  .evidence-drawer summary { padding: 15px 18px; gap: 14px; }
  .evidence-body { padding: 0 18px 20px; }
  .endnotes { padding-left: 18px; }
  .continuation { display: block; margin: 20px auto 46px; padding: 26px; border-radius: 25px; }
  .continuation p { margin-bottom: 12px; font-size: 21px; }
  .next-card { font-size: 24px; }
  .footer-inner { padding: 30px 22px 34px; }
  .footer-inner nav { gap: 6px 22px; }
  .text-link, .action-link { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .skip-link, .continuation, .close-notes { display: none !important; }
  main { max-width: none; padding: 0; }
  .chapter { break-inside: avoid; }
  .evidence-drawer > .evidence-body { display: block; }
  .site-footer { background: white; }
}
