:root {
  color-scheme: light;
  --canvas: #f6f2e9;
  --surface: #fffdf7;
  --panel: #e9e5dd;
  --heading: #252522;
  --text: #3d3c38;
  --muted: #5e5c56;
  --line: #cfcbc2;
  --pencil: #dfdcd4;
  --spot: #a88445;
  --body-font: Optima, Candara, "Trebuchet MS", sans-serif;
  --display-font: Rockwell, "Rockwell Nova", "Roboto Slab", "DejaVu Serif", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--canvas); color: var(--text); font-family: var(--body-font); font-size: 19px; line-height: 1.65; }
button, input, summary { font: inherit; }
a { color: var(--heading); text-decoration-thickness: 1.5px; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid var(--heading); outline-offset: 5px; }
button { cursor: pointer; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button, summary { touch-action: manipulation; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4, h5, h6 { color: var(--heading); font-family: var(--display-font); font-weight: 700; line-height: 1.16; letter-spacing: -.025em; overflow-wrap: break-word; }
h1 { font-size: clamp(52px, 5.7vw, 78px); }
h2 { font-size: 35px; }
h3 { font-size: 26px; }
p + p { margin-top: 1rem; }
strong { color: var(--heading); }
ul { margin: 1.1rem 0 0; padding-left: 1.3rem; }
li + li { margin-top: .55rem; }
main, header, footer { width: 100%; }
.shell { max-width: 1280px; padding: 0 64px; margin: 0 auto; }
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 100; min-height: 48px; padding: 12px 18px; background: var(--heading); color: var(--surface); font-size: 18px; }
.skip-link:focus { top: 16px; }
.site-header { background: var(--surface); border-bottom: 2px solid var(--pencil); }
.split-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; min-height: 112px; }
.nav-group { display: flex; gap: 8px; }
.nav-group-end { justify-content: flex-end; }
.nav-link { display: flex; align-items: center; min-height: 48px; padding: 10px 12px; font-size: 17px; text-decoration: none; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current="page"] { text-decoration: underline; text-decoration-style: wavy; text-decoration-thickness: 1.5px; text-underline-offset: 8px; }
.notebook-name { display: flex; align-items: center; gap: 14px; padding: 12px 4px; min-height: 64px; text-decoration: none; }
.notebook-mark { position: relative; width: 25px; height: 33px; border: 2px solid var(--heading); border-left-width: 5px; border-radius: 8px 8px 0 0; transform: rotate(-6deg); }
.notebook-mark::after { content: ""; position: absolute; width: 7px; height: 7px; top: 7px; right: 4px; border-radius: 50%; background: var(--spot); }
.name-lines { display: flex; flex-direction: column; font-family: var(--display-font); font-weight: 700; font-size: 23px; line-height: 1.25; }
.name-lines span { color: var(--muted); font-family: var(--body-font); font-size: 17px; font-weight: 400; }
.eyebrow { color: var(--muted); font-size: 18px; line-height: 1.5; font-style: italic; }
.home-hero { display: grid; grid-template-columns: 1.24fr .76fr; gap: 66px; padding-top: 64px; padding-bottom: 68px; align-items: center; }
.hero-copy, .home-hero > *, .section-intro > *, .sources-overview > * { min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 24px; }
.hero-copy h1 span { display: table; position: relative; isolation: isolate; }
.hero-copy h1 span::after { content: ""; position: absolute; z-index: -1; left: 0; right: -3%; bottom: 1px; height: 9px; background: var(--pencil); border-radius: 48% 32% 52% 38%; transform: rotate(-1.3deg); }
.lede { max-width: 58ch; margin-top: 28px; font-size: 22px; line-height: 1.6; }
.lede strong { font-weight: 600; text-decoration: underline; text-decoration-color: #99958c; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.action-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 54px; max-width: 100%; padding: 14px 20px; background: var(--heading); color: var(--surface); border: 2px solid var(--heading); border-radius: 0; font-size: 18px; line-height: 1.5; text-decoration: none; font-weight: 600; }
.action-link:hover { background: var(--surface); color: var(--heading); }
.hero-copy .action-link { margin-top: 30px; }
.action-arrow { flex-shrink: 0; font-size: 23px; line-height: 1; }
/* Existing decorative spans become pencil strokes on a rounded-top notebook page. */
.geometry-window { background: var(--panel); border: 0; border-radius: 130px 130px 0 0; padding-top: 42px; overflow: hidden; }
.window-heading { display: flex; justify-content: space-between; gap: 12px; padding: 26px 30px 12px; font-size: 17px; color: var(--muted); }
.window-status { color: var(--heading); font-style: italic; }
.geometry-field { position: relative; height: 220px; margin: 8px 30px 22px; background: repeating-linear-gradient(to bottom, transparent 0 35px, #c9c6be 35px 37px); overflow: hidden; }
.orbit { position: absolute; width: 77%; height: 11px; border: 0; border-bottom: 5px solid #6a6861; border-radius: 35% 52% 39% 47%; top: 52px; left: 7%; transform: rotate(-3deg); }
.orbit-inner { width: 62%; height: 13px; top: 91px; left: 11%; border-color: #8a877f; transform: rotate(2deg); }
.orbit-core { width: 69%; height: 12px; top: 131px; left: 7%; border-color: #55534e; transform: rotate(-1deg); }
.signal-block { position: absolute; width: 11px; height: 11px; background: var(--spot); top: 174px; right: 13%; border-radius: 50%; }
.field-axis { position: absolute; left: 1px; height: 100%; width: 2px; background: #b9b6ae; }
.window-caption { padding: 0 30px 30px; color: var(--heading); font-family: var(--display-font); font-size: 22px; line-height: 1.45; }
.signal-band { background: #deddd7; color: var(--heading); }
.signal-band p { padding: 27px 0; font-size: 23px; line-height: 1.5; font-weight: 600; max-width: 80ch; }
.question-section { padding-top: 70px; padding-bottom: 70px; }
.section-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; margin-bottom: 40px; }
.section-intro p { max-width: 66ch; }
.answer-matrix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.answer-cell { padding: 40px 28px 30px; background: var(--surface); border-radius: 50px 50px 0 0; }
.answer-cell:nth-child(2) { margin-top: 24px; }
.answer-cell .note-label { margin-bottom: 20px; }
.answer-cell h3 { margin-bottom: 20px; }
.note-label { display: table; color: var(--muted); font-size: 17px; line-height: 1.5; font-style: italic; text-decoration: underline; text-decoration-color: #aaa69c; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.answer-cell p { font-size: 19px; line-height: 1.65; }
.inline-next { display: inline-flex; align-items: center; gap: 16px; min-height: 48px; padding: 10px 0; font-size: 19px; }
.answer-cell .inline-next { margin-top: 14px; }
.terms-strip { background: var(--panel); }
.terms-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 72px; padding-top: 54px; padding-bottom: 54px; }
.terms-layout h2 { font-size: 33px; }
.term-row + .term-row { border-top: 2px solid var(--line); margin-top: 24px; padding-top: 24px; }
dt { color: var(--heading); font-weight: 600; font-size: 21px; margin-bottom: 6px; }
dd { max-width: 66ch; }
.path-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 72px; padding-top: 64px; padding-bottom: 64px; }
.path-section p { max-width: 66ch; }
.path-links { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 18px; }
.page-heading { padding-top: 60px; padding-bottom: 44px; border-bottom: 3px solid var(--line); }
.page-heading h1 { max-width: 960px; margin-top: 18px; font-size: clamp(48px, 5vw, 66px); }
.page-heading .lede { max-width: 64ch; }
.reading-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 64px; padding-top: 48px; padding-bottom: 64px; }
.page-index { align-self: start; padding: 36px 24px 24px; border: 0; border-radius: 48px 48px 0 0; background: var(--panel); }
.page-index p { font-size: 19px; font-style: italic; color: var(--heading); margin-bottom: 14px; }
.page-index a { display: flex; align-items: center; min-height: 48px; padding: 12px 0; font-size: 18px; }
.page-index a + a { border-top: 2px solid var(--line); }
.answers { min-width: 0; }
.answer-block + .answer-block { border-top: 2px solid var(--line); margin-top: 44px; padding-top: 44px; }
.answer-block h2 { margin-bottom: 22px; font-size: 33px; }
.answer-block p, .answer-block li { max-width: 70ch; }
.question-card { margin-top: 24px; border: 0; border-radius: 32px 32px 0 0; background: var(--panel); padding: 28px; }
.question-card .note-label { margin-bottom: 14px; }
.question-card p { color: var(--heading); }
.check-list { list-style: none; padding: 0; }
.check-list li { padding: 26px; border: 0; background: var(--surface); border-radius: 28px 28px 0 0; }
.check-list li + li { margin-top: 18px; }
.check-list strong { display: block; margin-bottom: 6px; }
.check-list .inline-next { margin-top: 8px; }
.price-notes { margin: 26px 0; }
.price-note { padding: 32px; border: 0; border-radius: 40px 40px 0 0; background: var(--surface); }
.price-note + .price-note { margin-top: 20px; }
.price-note .note-label { margin-bottom: 18px; }
.price-figure { color: var(--heading); font-family: var(--display-font); font-size: 35px; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; background: linear-gradient(transparent 75%, var(--pencil) 75% 95%, transparent 95%); }
.price-note p + p { margin-top: 18px; }
.next-note { border-top: 2px solid var(--line); margin-top: 48px; padding-top: 32px; }
.sources-box { border: 0; border-radius: 48px 48px 0 0; background: var(--surface); padding: 40px; margin-bottom: 60px; }
.sources-overview { display: grid; grid-template-columns: .75fr 1.25fr; gap: 40px; }
.sources-overview h2 { font-size: 28px; margin-bottom: 14px; }
.sources-overview p { max-width: 53ch; font-size: 18px; }
.source-links { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.source-links a { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; max-width: 100%; font-size: 18px; padding: 10px 0; overflow-wrap: anywhere; }
.source-links a::after { content: "↗"; flex-shrink: 0; color: var(--muted); text-decoration: none; }
.evidence-notes { margin-top: 26px; border-top: 2px solid var(--line); padding-top: 18px; }
.evidence-notes > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: fit-content; min-height: 48px; list-style: none; cursor: pointer; color: var(--heading); font-size: 19px; text-decoration: underline; text-underline-offset: 5px; padding: 10px 0; }
.evidence-notes > summary::-webkit-details-marker { display: none; }
.evidence-notes > summary::after { content: "+"; font-size: 27px; text-decoration: none; }
.evidence-notes[open] > summary::after { content: "−"; }
.drawer-panel { margin-top: 26px; max-width: 70ch; }
.drawer-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.drawer-heading h3 { font-size: 29px; }
.evidence-note + .evidence-note { margin-top: 28px; border-top: 2px solid var(--line); padding-top: 28px; }
.evidence-note h4 { color: var(--heading); font-size: 23px; font-weight: 700; margin: 0 0 14px; }
.evidence-note > a { display: inline-flex; align-items: center; min-width: 44px; min-height: 48px; max-width: 100%; padding: 10px 0; overflow-wrap: anywhere; }
.drawer-close { display: none; min-height: 48px; min-width: 48px; padding: 9px 14px; background: var(--heading); border: 2px solid var(--heading); color: var(--surface); border-radius: 0; font-size: 17px; }
.drawer-close:hover { background: var(--surface); color: var(--heading); }
.evidence-scrim { display: none; }
.has-evidence-open { overflow: hidden; }
.is-enhanced[open] .evidence-scrim { display: block; position: fixed; inset: 0; background: rgb(65 63 57 / .35); z-index: 50; }
.is-enhanced[open] .drawer-panel { position: fixed; z-index: 51; top: 20px; bottom: 0; right: 0; width: min(620px, 100%); max-width: none; margin: 0; overflow-y: auto; overscroll-behavior: contain; padding: 44px 40px; border-radius: 48px 48px 0 0; background: var(--surface); }
.is-enhanced[open] .drawer-close { display: block; }
.site-footer { padding-top: 30px; padding-bottom: 34px; border-top: 2px solid var(--line); background: var(--canvas); }
.footer-layout { display: flex; justify-content: space-between; gap: 48px; align-items: flex-start; }
.footer-layout p { font-size: 17px; max-width: 58ch; color: var(--muted); }
.footer-layout a { display: inline-flex; align-items: center; min-height: 48px; font-size: 18px; padding: 10px 0; flex-shrink: 0; }
.missing-page { padding-top: 72px; padding-bottom: 90px; max-width: 70ch; }
.missing-page h1 { font-size: 64px; margin: 22px 0; }
.missing-page .action-link { margin-top: 28px; }
@media (max-width: 1120px) {
  .shell { padding-right: 36px; padding-left: 36px; }
  .split-nav { gap: 12px; }
  .nav-link { padding-right: 9px; padding-left: 9px; }
  .nav-group { gap: 0; }
  .home-hero { gap: 36px; grid-template-columns: 1.15fr .85fr; }
  h1 { font-size: 62px; }
  .reading-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 40px; }
  .section-intro, .terms-layout, .path-section { gap: 40px; }
  .answer-cell { padding: 34px 22px 26px; }
}
@media (max-width: 820px) {
  .split-nav { grid-template-columns: 1fr 1fr; gap: 0; padding-top: 18px; padding-bottom: 14px; }
  .notebook-name { grid-row: 1; grid-column: 1 / -1; justify-content: center; margin-bottom: 14px; }
  .nav-group { justify-content: flex-start; }
  .nav-group-end { justify-content: flex-end; }
  .home-hero { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 44px; }
  .hero-copy { max-width: 64ch; }
  h1 { font-size: 70px; }
  .geometry-window { max-width: 460px; width: 100%; justify-self: center; }
  .section-intro, .terms-layout, .path-section, .sources-overview { grid-template-columns: 1fr; gap: 26px; }
  .answer-matrix { grid-template-columns: 1fr; gap: 24px; }
  .answer-cell { padding: 36px 28px 28px; }
  .answer-cell:nth-child(2) { margin-top: 0; }
  .reading-layout { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; }
  .page-index { display: flex; flex-wrap: wrap; gap: 0 24px; padding: 28px; }
  .page-index p { width: 100%; margin-bottom: 6px; }
  .page-index a + a { border: 0; }
  .page-heading h1 { font-size: 54px; }
  .footer-layout { gap: 22px; flex-direction: column; }
}
@media (max-width: 520px) {
  body { font-size: 19px; }
  .shell { padding-right: 22px; padding-left: 22px; }
  .split-nav { column-gap: 8px; }
  .nav-group { gap: 0; }
  .nav-link { font-size: 16px; padding: 10px 7px; }
  .name-lines { font-size: 23px; }
  .hero-copy .eyebrow { margin-bottom: 20px; }
  h1 { font-size: 48px; }
  .lede { font-size: 21px; margin-top: 24px; }
  .home-hero { gap: 38px; }
  .geometry-window { border-radius: 100px 100px 0 0; padding-top: 32px; }
  .window-heading { font-size: 16px; padding: 25px 24px 12px; }
  .geometry-field { margin-right: 24px; margin-left: 24px; height: 210px; }
  .window-caption { padding: 0 24px 26px; font-size: 22px; }
  .signal-band p { font-size: 21px; }
  .question-section { padding-top: 44px; padding-bottom: 44px; }
  h2 { font-size: 31px; }
  .answer-cell { padding: 34px 24px 26px; }
  .terms-layout, .path-section { padding-top: 40px; padding-bottom: 40px; }
  .page-heading { padding-top: 40px; padding-bottom: 36px; }
  .page-heading h1 { font-size: 42px; }
  .page-index { gap: 0 20px; padding: 28px 24px; }
  .answer-block h2 { font-size: 30px; }
  .question-card, .check-list li { padding: 26px 22px; }
  .price-note { padding: 28px 22px; }
  .price-figure { font-size: 32px; }
  .sources-box { padding: 32px 24px; margin-bottom: 40px; }
  .is-enhanced[open] .drawer-panel { top: 20px; border-radius: 36px 36px 0 0; padding: 32px 24px; }
  .drawer-heading { gap: 14px; }
  .drawer-heading h3 { font-size: 26px; }
  .missing-page h1 { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  :root { color-scheme: light; --canvas: #ffffff; --surface: #ffffff; --panel: #ffffff; --heading: #000000; --text: #000000; --muted: #333333; --line: #999999; }
  body { font-size: 16px; }
  .shell { max-width: none; padding: 0; }
  .site-header, .skip-link, .geometry-window, .page-index, .evidence-scrim, .drawer-close { display: none !important; }
  .home-hero, .reading-layout, .section-intro, .terms-layout, .path-section, .sources-overview { display: block; }
  .home-hero, .page-heading, .question-section, .reading-layout, .terms-layout, .path-section, .sources-overview { padding-top: 20px; padding-bottom: 20px; }
  h1, .page-heading h1 { font-size: 42px; }
  h2 { font-size: 28px; }
  .answer-cell, .price-note, .question-card { break-inside: avoid; }
  .answer-matrix { display: block; }
  .sources-box { margin: 20px 0; }
  .is-enhanced[open] .drawer-panel { position: static; width: auto; padding: 20px 0; border: 0; overflow: visible; }
  .has-evidence-open { overflow: visible; }
}
