:root {
  --paper: #f3eee6;
  --paper-deep: #e8dfd2;
  --ink: #292621;
  --muted: #716b62;
  --line: rgba(64, 57, 48, 0.18);
  --sage: #52645a;
  --clay: #a45d43;
  --white: #fffdf9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 50% 0, #fffaf1 0, var(--paper) 34rem); font-family: Georgia, "Times New Roman", serif; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .22; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E"); z-index: 10; }
.reading-progress { position: fixed; inset: 0 auto auto 0; height: 3px; width: var(--progress, 0%); background: var(--clay); z-index: 20; }
main { width: min(100% - 32px, 1040px); margin: 0 auto; }
.chapter { max-width: 65ch; margin: 0 auto; padding: 0 0 5rem; font-size: clamp(1.16rem, 1.05rem + .35vw, 1.34rem); line-height: 1.72; letter-spacing: .003em; }
.chapter-header { min-height: min(86vh, 780px); display: grid; align-content: center; position: relative; text-align: center; padding: 5rem 0 7rem; }
.back-link { position: absolute; top: 1.4rem; left: 0; color: var(--muted); font: 600 .84rem/1.2 system-ui, sans-serif; text-decoration: none; }
.back-link:hover { color: var(--ink); }
.eyebrow, .section-label { color: var(--clay); font: 700 .72rem/1.35 system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.chapter-header h1 { max-width: 16ch; margin: 1.1rem auto 1.35rem; font-size: clamp(2.65rem, 8vw, 5.4rem); font-weight: 500; line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.byline { color: var(--muted); font: 400 .92rem/1.5 system-ui, sans-serif; }
.byline cite { font-family: Georgia, "Times New Roman", serif; font-size: 1.06rem; }
.scroll-cue { position: absolute; bottom: 2rem; left: 50%; width: 1px; height: 48px; background: var(--line); overflow: hidden; }
.scroll-cue span { display: block; width: 100%; height: 50%; background: var(--clay); animation: scroll-cue 2s ease-in-out infinite; }
@keyframes scroll-cue { 0% { transform: translateY(-110%); } 70%, 100% { transform: translateY(210%); } }
.chapter > p { margin: 0 0 1.45em; }
.chapter h2 { margin: 3.4em 0 .85em; font-size: clamp(2rem, 6vw, 3rem); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.chapter h3 { margin: 1.8rem 0 .25rem; font: 700 .95rem/1.4 system-ui, sans-serif; }
.central-ideas, .fact-box, .pitfall, .questions, .chapter-overview { margin: 1rem calc(50% - 50vw + 16px) 4rem; padding: clamp(1.5rem, 5vw, 2.5rem); border: 1px solid var(--line); background: rgba(255, 253, 249, .58); }
.central-ideas ul, .questions ul { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.central-ideas li, .questions li { position: relative; padding: .65rem 0 .65rem 1.55rem; border-top: 1px solid var(--line); }
.central-ideas li::before, .questions li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }
.story { margin-left: clamp(0rem, 5vw, 2.25rem) !important; padding-left: 1.1rem; border-left: 2px solid var(--paper-deep); color: #48423b; }
.chapter-figure { margin: 2.5rem calc(50% - 50vw + 16px) 3.25rem; padding: clamp(1.25rem, 4vw, 2.25rem); border: 1px solid var(--line); background: rgba(255, 253, 249, .58); }
.chapter-figure img { display: block; width: 100%; height: auto; }
.chapter-figure figcaption { margin-top: 1.15rem; color: var(--muted); font: 400 .86rem/1.6 system-ui, sans-serif; }
.chapter-figure figcaption .section-label { display: block; margin-bottom: .4rem; }
.fact-box { background: var(--sage); color: #f8f3eb; border: 0; box-shadow: 0 22px 55px rgba(36, 43, 39, .15); }
.fact-box .section-label { color: #d9c9b7; }
.fact-box h3 { color: white; }
.fact-box p { margin: 0 0 1rem; }
.source-note { color: #d9d7d0; font: 400 .74rem/1.5 system-ui, sans-serif; }
.pitfall { background: #eadfd4; border-color: rgba(164, 93, 67, .24); }
.pitfall h2 { margin-top: 1rem; }
.questions { background: var(--white); }
.chapter-overview { margin-top: 3rem; background: var(--white); }
.chapter-overview h2 { max-width: 30ch; margin: .55rem 0 0; font-size: clamp(1.85rem, 5vw, 2.85rem); }
.chapter-overview__list { margin: 1.7rem 0 0; padding: 0; list-style: none; }
.chapter-overview__list li { padding: 1.05rem 0; border-top: 1px solid var(--line); }
.chapter-overview__list strong { display: block; font: 700 .95rem/1.4 system-ui, sans-serif; }
.chapter-overview__list p { max-width: 54ch; margin: .38rem 0 0; color: var(--muted); font: 400 .95rem/1.6 system-ui, sans-serif; }
.chapter-overview__note { max-width: 56ch; margin: 1.7rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--muted); font: italic 400 .98rem/1.62 Georgia, "Times New Roman", serif; }
.chapter-overview__actions { margin-top: 1.7rem; }
.chapter-overview__actions a { text-align: center; }
.end-mark { margin-top: 4rem !important; color: var(--muted); text-align: center; font: 600 .72rem/1.4 system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.chapter-download { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; margin: 3rem 0; padding: clamp(1.5rem, 5vw, 2.5rem); border: 1px solid var(--line); background: rgba(255,255,255,.52); }
.chapter-download h2 { margin: .35rem 0 .7rem; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.chapter-download p:not(.section-label) { max-width: 46ch; margin: 0; color: var(--muted); font: 400 .95rem/1.6 system-ui, sans-serif; }
.chapter-download__button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 52px; padding: 0 1.3rem; color: white; background: var(--sage); font: 700 .88rem/1 system-ui, sans-serif; text-decoration: none; white-space: nowrap; }
.chapter-download__button:hover { background: #405047; }
.purchase-bridge { display: grid; grid-template-columns: minmax(210px, 310px) minmax(0, 1fr); gap: clamp(2.5rem, 8vw, 7rem); align-items: center; padding: clamp(3rem, 8vw, 7rem); margin: 0 0 3rem; color: #f9f3eb; background: #303a34; }
.purchase-cover { display: block; width: min(100%, 270px); height: auto; border-radius: .35rem .65rem .65rem .35rem; box-shadow: -16px 20px 0 #202722, 0 30px 70px rgba(0,0,0,.28); transform: rotate(-2deg); }
.cover-footer { margin-top: auto; }
.purchase-copy h2, .signup h2 { margin: .7rem 0 1rem; font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: .95; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.purchase-copy p:not(.eyebrow) { max-width: 46ch; color: #d8d6cf; font: 400 1rem/1.65 system-ui, sans-serif; }
.buy-button { display: inline-flex; align-items: center; gap: 1.2rem; margin-top: 1.2rem; padding: 1rem 1.25rem; color: var(--ink); background: #f4e9da; font: 700 .93rem/1 system-ui, sans-serif; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.buy-button:hover { transform: translateY(-2px); background: white; }
.signup { max-width: 760px; margin: 0 auto 5rem; padding: clamp(2rem, 6vw, 4rem); text-align: center; border: 1px solid var(--line); background: rgba(255,255,255,.38); }
.signup h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
.signup > p:not(.eyebrow) { color: var(--muted); font: 400 .95rem/1.6 system-ui, sans-serif; }
.form-row { display: grid; grid-template-columns: 1fr auto; max-width: 570px; margin: 1.6rem auto 0; }
.form-row input, .form-row button { min-height: 54px; border: 1px solid var(--line); border-radius: 0; font: 600 .94rem/1 system-ui, sans-serif; }
.form-row input { min-width: 0; padding: 0 1rem; background: var(--white); outline: none; }
.form-row input:focus { border-color: var(--sage); box-shadow: inset 0 0 0 1px var(--sage); }
.form-row button { padding: 0 1.35rem; color: white; background: var(--sage); cursor: pointer; }
.form-row button:hover { background: #405047; }
.form-status { min-height: 1.4rem; margin: .8rem 0 0; color: var(--sage); font: 600 .82rem/1.4 system-ui, sans-serif; }
.hidden-field, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
footer { padding: 0 1rem 3rem; color: var(--muted); text-align: center; font: 400 .78rem/1.5 system-ui, sans-serif; }
footer a { color: inherit; }
@media (min-width: 720px) { .central-ideas, .fact-box, .pitfall, .questions, .chapter-figure, .chapter-overview { margin-left: -3rem; margin-right: -3rem; } }
@media (max-width: 680px) {
  main { width: min(100% - 28px, 1040px); }
  .chapter { font-size: 1.15rem; line-height: 1.68; }
  .chapter-header { min-height: 82svh; padding-top: 5rem; }
  .chapter-header h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .central-ideas, .fact-box, .pitfall, .questions, .chapter-figure, .chapter-overview { margin-left: -14px; margin-right: -14px; }
  .purchase-bridge { grid-template-columns: 1fr; padding: 3rem 1.5rem; text-align: center; }
  .purchase-cover { width: min(65vw, 245px); margin: 0 auto; transform: rotate(-1.5deg); }
  .purchase-copy p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
  .signup { margin-left: -14px; margin-right: -14px; }
  .chapter-download { grid-template-columns: 1fr; margin-left: -14px; margin-right: -14px; }
  .chapter-download__button { width: 100%; white-space: normal; text-align: center; }
  .form-row { grid-template-columns: 1fr; gap: .65rem; }
  .form-row button { min-height: 52px; }
  .chapter-overview { margin-top: 2.5rem; }
  .chapter-overview__list li { padding: .95rem 0; }
  .chapter-overview__actions { flex-direction: column; align-items: stretch; }
  .chapter-overview__actions a { width: 100%; padding: .85rem 1.15rem; }
}
.funnel-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.funnel-cta__primary, .funnel-cta__secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .85rem 1.6rem; border-radius: 999px; font-family: ui-sans-serif, system-ui, sans-serif; font-size: .95rem; line-height: 1.2; text-decoration: none; transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease; }
.funnel-cta__primary { border: 1px solid #292524; background: #292524; color: white; }
.funnel-cta__secondary { gap: .45rem; border: 1px solid #d6d3d1; background: rgba(255, 255, 255, .72); color: #44403c; }
.funnel-cta__primary:hover, .funnel-cta__secondary:hover { transform: translateY(-2px); }
.funnel-cta__primary:hover { background: #44403c; }
.funnel-cta__secondary:hover { border-color: #a8a29e; background: white; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .scroll-cue span { animation: none; } .buy-button, .funnel-cta__primary, .funnel-cta__secondary { transition: none; } }
