:root {
  --ground: #f5f2fa;
  --white: #fffdfd;
  --violet: #8062a6;
  --violet-deep: #60447e;
  --lavender: #d6c5e9;
  --lavender-light: #eae1f3;
  --ink: #32273e;
  --muted: #5e506d;
  --link: #624080;
  --line: #c2b0d2;
  --display: "Arial Black", "Avenir Next", Arial, sans-serif;
  --body: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Arial, sans-serif;
  --body-size: 1.125rem;
  --small-size: 1rem;
  --page-width: 76rem;
  --read-width: 64ch;
  --edge: clamp(1.25rem, 4vw, 3.5rem);
  --space-lg: 2.75rem;
  --space-xl: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; font-size: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: var(--body-size); line-height: 1.75; }
button { font: inherit; cursor: pointer; border-radius: 0; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--violet-deep); outline-offset: 5px; }
.masthead a:focus-visible, .hero a:focus-visible, .checkpoint a:focus-visible, .footer a:focus-visible { outline-color: var(--white); }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--lavender); color: var(--ink); }

.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 10; padding: .65rem 1rem; min-height: 44px; background: var(--white); color: var(--ink); transform: translateY(-200%); font-family: var(--sans); }
.skip-link:focus { transform: translateY(0); }
.masthead { background: var(--violet); color: var(--white); border-top: 8px solid var(--lavender); }
.masthead__inner { max-width: var(--page-width); margin: auto; padding: 1.5rem var(--edge); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.masthead__home { min-height: 44px; color: inherit; text-decoration: none; display: flex; flex-direction: column; justify-content: center; line-height: 1.5; }
.masthead__place { font-size: 1.0625rem; font-style: italic; }
.masthead__name { font-family: var(--display); font-weight: 900; font-size: 1.125rem; }
.masthead__guide { font-size: 1.0625rem; }
.question-tabs { background: var(--white); }
.question-tabs__inner { max-width: var(--page-width); margin: auto; padding: 1.125rem var(--edge); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem .75rem; }
.question-tabs__tab { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: .6rem .5rem; color: var(--link); background: var(--ground); text-decoration: underline; font-family: var(--sans); font-size: var(--small-size); font-weight: 600; line-height: 1.4; text-align: center; }
.question-tabs__tab:hover { background: var(--lavender-light); }
.question-tabs__tab[aria-current="page"] { background: var(--lavender); color: var(--ink); text-decoration-thickness: 2px; }
.desk__main { margin: auto; }
.hero { padding: 3.5rem max(var(--edge), calc((100% - 68rem) / 2)) 4rem; background: var(--violet); color: var(--white); }
.hero--home { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.hero__copy { min-width: 0; }
.hero__kicker { font-size: 1.0625rem; margin-bottom: 1.25rem; }
.hero__title { font-size: clamp(2.25rem, 4vw, 3.75rem); line-height: 1.18; max-width: 24ch; text-wrap: balance; overflow-wrap: break-word; }
.hero--home .hero__title { font-size: clamp(2.25rem, 3.65vw, 3.25rem); max-width: 20ch; }
.hero__intro { margin-top: 1.5rem; max-width: 42ch; font-size: 1.25rem; line-height: 1.6; }
.desk__chapters { max-width: var(--page-width); margin: auto; padding: 3rem var(--edge) var(--space-xl); }
.reader-key { margin-bottom: 1.5rem; max-width: var(--read-width); }
.reader-key__text { font-size: var(--small-size); color: var(--muted); }

.answer-band { background: var(--lavender); color: var(--ink); padding: clamp(1.5rem, 4vw, 3.5rem); margin-bottom: var(--space-xl); }
.answer-band__label, .depth__label, .checkpoint__label, .question-index__label, .myth__label { font-size: 1.0625rem; font-style: italic; line-height: 1.5; }
.answer-band__label { margin-bottom: .875rem; }
.answer-band__title { font-size: clamp(1.625rem, 2.5vw, 2.125rem); line-height: 1.35; max-width: 38ch; }
.answer-band__text { margin-top: 1.25rem; max-width: var(--read-width); }
.answer-band .evidence-pair { margin-top: 1.75rem; background: var(--lavender-light); }
.depth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 3rem; margin-bottom: var(--space-xl); padding-top: 2.5rem; border-top: 3px solid var(--lavender); }
.depth__label { color: var(--muted); margin-bottom: 1rem; }
.depth__title { font-size: clamp(1.375rem, 1.8vw, 1.625rem); line-height: 1.4; max-width: 23ch; text-wrap: balance; }
.depth__body { max-width: var(--read-width); min-width: 0; }
.depth__text + .depth__text { margin-top: 1.25rem; }
.evidence-pair { background: var(--lavender-light); padding: 1.5rem 1.75rem; margin-block: 1.75rem; }
.evidence-pair:first-child { margin-top: 0; }
.evidence-pair__claim { font-size: var(--body-size); line-height: 1.75; }
.evidence-pair__sources { margin-top: 1rem; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.evidence-pair__link { display: inline-flex; min-height: 44px; min-width: 44px; max-width: 100%; align-items: center; gap: .75rem; padding-block: .5rem; color: var(--link); font-family: var(--sans); font-size: var(--small-size); font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.evidence-pair__arrow { flex: 0 0 auto; }
.next-link { display: flex; width: fit-content; min-height: 48px; align-items: center; justify-content: space-between; gap: 1.25rem; font-family: var(--sans); font-size: var(--small-size); font-weight: 700; line-height: 1.5; background: var(--violet-deep); padding: .875rem 1.25rem; margin-top: 1.5rem; text-decoration: underline; color: var(--white); max-width: 100%; }
.next-link:hover { background: var(--link); }
.next-link__arrow { flex: 0 0 auto; }
.checkpoint { margin-bottom: var(--space-xl); padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--violet); color: var(--white); }
.checkpoint__label { margin-bottom: 1.25rem; }
.checkpoint__title { font-size: clamp(1.5rem, 2.5vw, 2.125rem); line-height: 1.4; max-width: 38ch; }
.checkpoint__list { margin-top: 1.5rem; list-style: none; max-width: var(--read-width); }
.checkpoint__item { padding: .625rem 0 .625rem 1.5rem; position: relative; }
.checkpoint__item::before { content: ""; width: .5rem; height: .5rem; background: var(--lavender); border-radius: 50%; position: absolute; left: 0; top: 1.25rem; }
.question-list { list-style: none; margin-block: 1.5rem; }
.question-list__item { padding: 1.25rem 1rem 1.25rem 2rem; border-top: 2px solid var(--lavender); position: relative; }
.question-list__item::before { content: "•"; position: absolute; left: .25rem; color: var(--link); }
.question-list__item:last-child { border-bottom: 2px solid var(--lavender); }

/* Each existing figure is mounted as a plate, with a rounded field and a separate label. */
.diagram { margin: 2.5rem 0; padding: 2rem; border: 3px solid var(--lavender); background: var(--white); color: var(--ink); }
.diagram__title { font-family: var(--sans); font-size: var(--small-size); font-weight: 700; line-height: 1.5; }
.diagram__steps { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 1.75rem; padding: 2rem 1.5rem; gap: 1.5rem 1rem; border-radius: 3rem; background: var(--lavender-light); }
.diagram__step { display: flex; gap: .75rem; align-items: center; min-width: 0; }
.diagram__node { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; flex: 0 0 auto; background: var(--violet); color: var(--white); border-radius: 50%; font-family: var(--sans); font-size: 1rem; font-weight: 700; line-height: 1; }
.diagram__step:nth-child(1) .diagram__node::before { content: "1"; }
.diagram__step:nth-child(2) .diagram__node::before { content: "2"; }
.diagram__step:nth-child(3) .diagram__node::before { content: "3"; }
.diagram__step:nth-child(4) .diagram__node::before { content: "4"; }
.diagram__label { font-family: var(--sans); font-size: var(--small-size); font-weight: 600; line-height: 1.5; }
.diagram__caption { padding-top: 1rem; border-top: 2px solid var(--lavender); color: var(--muted); font-size: var(--small-size); line-height: 1.6; }
.diagram--desk { margin: 0; padding: 2rem; border: 0; }
.diagram--desk .diagram__steps { grid-template-columns: 1fr; border-radius: 6rem; padding: 2.25rem 1.5rem; gap: 1rem; }
.diagram--desk .diagram__step { padding-left: .5rem; }
.diagram--bill .diagram__steps { grid-template-columns: 1fr; }

.question-index { margin-block: var(--space-xl); }
.question-index__label { color: var(--muted); margin-bottom: 1rem; }
.question-index__title { font-size: clamp(1.75rem, 2.5vw, 2.125rem); line-height: 1.35; }
.question-index__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.question-index__card { display: block; position: relative; min-height: 44px; background: var(--white); border-bottom: 6px solid var(--lavender); padding: 2rem 3.5rem 2rem 2rem; text-decoration: none; color: var(--ink); }
.question-index__card:hover { background: var(--lavender-light); }
.question-index__card-title { font-size: 1.375rem; line-height: 1.4; text-decoration: underline; text-underline-offset: .2em; }
.question-index__card-text { font-size: var(--body-size); color: var(--muted); line-height: 1.65; margin-top: 1rem; max-width: 41ch; }
.question-index__arrow { position: absolute; top: 1.75rem; right: 1.375rem; color: var(--link); font-size: 1.5rem; }
.myth-grid { display: grid; gap: 2rem; }
.myth { background: var(--white); padding: 2rem; border-bottom: 6px solid var(--lavender); }
.myth__label { color: var(--muted); }
.myth__title { font-size: 1.375rem; line-height: 1.5; margin-top: 1rem; }
.myth__button { display: block; min-height: 48px; border: 0; background: var(--violet-deep); color: var(--white); padding: .875rem 1.25rem; font-family: var(--sans); font-size: var(--small-size); font-weight: 700; margin-top: 1.5rem; line-height: 1.5; }
.myth__button:hover { background: var(--link); }
.myth__answer { margin-top: 1.75rem; }
.myth__answer .evidence-pair:last-child { margin-bottom: 0; }
.footer { background: var(--violet); color: var(--white); border-top: 8px solid var(--lavender); }
.footer__inner { max-width: var(--page-width); margin: auto; padding: 3rem var(--edge); }
.footer__identity { max-width: var(--read-width); font-size: 1.0625rem; line-height: 1.7; }
.footer__nav { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: 1.5rem; }
.footer__link { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; padding-block: .5rem; font-family: var(--sans); font-size: var(--small-size); font-weight: 600; color: var(--white); }

@media (max-width: 1000px) {
  .hero--home { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem; }
  .diagram--desk { padding: 1.5rem; }
  .depth { gap: 2rem; }
}
@media (max-width: 760px) {
  .masthead__inner { align-items: flex-start; flex-direction: column; gap: .625rem; }
  .question-tabs__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; padding-block: 1rem; }
  .question-tabs__tab { min-height: 48px; }
  .hero { padding-block: 2.5rem 3rem; }
  .hero--home { display: block; }
  .hero--home .diagram { margin-top: 2.5rem; }
  .hero__title, .hero--home .hero__title { font-size: clamp(2rem, 7.8vw, 3rem); max-width: 24ch; }
  .hero__kicker { font-size: 1rem; }
  .hero__intro { font-size: 1.1875rem; }
  .desk__chapters { padding-top: 2rem; padding-bottom: 3rem; }
  .answer-band { margin-bottom: 3rem; }
  .depth { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; margin-bottom: 3rem; padding-top: 2rem; }
  .depth__title { max-width: 28ch; font-size: 1.5rem; }
  .checkpoint { margin-bottom: 3rem; }
  .question-index { margin-block: 3rem; }
  .question-index__grid { grid-template-columns: minmax(0, 1fr); margin-top: 1.75rem; }
  .question-index__card { padding: 1.75rem 3rem 1.75rem 1.5rem; }
  .myth { padding: 1.5rem; }
  .evidence-pair { padding: 1.25rem; }
  .diagram { padding: 1.5rem; }
  .diagram__steps { grid-template-columns: 1fr; padding: 1.75rem 1.25rem; }
  .diagram--desk .diagram__steps { padding-inline: 1.5rem; }
  .footer__nav { flex-direction: column; align-items: flex-start; gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  html { color-scheme: light; }
  body { background: white; color: #32273e; font-size: 16px; }
  .question-tabs, .skip-link, .myth__button, .footer__nav { display: none !important; }
  .desk__chapters { padding: 1rem 0; }
  .hero, .depth, .answer-band, .checkpoint { padding: 1rem; margin-bottom: 1rem; }
  .hero--home, .depth { display: block; }
  .depth__heading { margin-bottom: 1rem; }
  .hero, .masthead, .evidence-pair, .myth, .checkpoint, .diagram, .question-index__card, .answer-band, .footer { color: #32273e; background: white; }
  .masthead__home, .footer__link, .next-link { color: #32273e; }
  .next-link { background: white; }
  .myth__answer[hidden] { display: block !important; }
  .hero__title { font-size: 2.5rem; }
  a { text-decoration: underline; }
}
