:root {
  --ink: #1d1814;
  --walnut: #3d2b1f;
  --oak: #8b5e3c;
  --honey: #c4a574;
  --cream: #f6f0e6;
  --paper: #fffdf8;
  --muted: #5c5046;
  --line: #e2d4c2;
  --sans: Inter, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --heading: Fraunces, Georgia, serif;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
}
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--oak); text-underline-offset: 3px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 4px; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 20; background: #fff; padding: 12px; }
.skip-link:focus { left: 12px; }
.page-header { background: var(--cream); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; }
.brand { font-family: var(--heading); font-size: 30px; font-weight: 650; color: var(--walnut); text-decoration: none; line-height: 1.1; }
.brand span { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .16em; color: var(--oak); font-weight: 650; margin-top: 4px; }
.nav-row nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav-row nav a { color: var(--ink); text-decoration: none; min-height: 48px; display: flex; align-items: center; }
.nav-buy { border: 1px solid #b39a7a; border-radius: 3px; padding: 10px 18px; font-weight: 650; }
h1, h2, h3 { font-family: var(--heading); font-weight: 550; letter-spacing: -.03em; line-height: 1.15; color: var(--walnut); }
h1 { font-size: clamp(42px, 5vw, 64px); margin: 12px 0 20px; }
h2 { font-size: clamp(30px, 3.4vw, 46px); margin: 0 0 20px; }
h3 { font-size: 26px; margin: 0 0 14px; }
h1 em, h2 em { color: var(--oak); font-style: italic; }
p { margin: 0 0 16px; }
.lede { font-family: var(--serif); font-size: 22px; line-height: 1.55; max-width: 38rem; }
.eyebrow { font-size: 11px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; color: var(--oak); margin: 0 0 14px; }
.tiny-rule { display: inline-block; width: 22px; height: 1px; background: var(--oak); vertical-align: middle; margin-right: 8px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 14px 22px; border-radius: 3px; border: 1px solid var(--oak);
  background: var(--oak); color: #fff; font: 650 16px/1.3 var(--sans); text-decoration: none;
}
.button:hover { background: #734c30; }
.button.secondary { background: transparent; color: var(--walnut); border-color: #b39a7a; }
.button.secondary:hover { background: #efe6d8; }
.trust, .small, .muted { color: var(--muted); }
.trust { font-size: 13px; line-height: 1.7; }
.small { font-size: 14px; line-height: 1.6; }

.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .95fr; gap: 48px; align-items: center; }
.hero-art { position: relative; }
.art-caption { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.book { max-width: 360px; margin: 0 auto; transform: rotate(2.5deg); border-radius: 4px; box-shadow: 16px 24px 40px rgba(61,43,31,.28); }
.book img { border-radius: 3px; }
.edition { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.proof-strip { border-block: 1px solid var(--line); background: #efe6d6; padding: 18px 0; }
.proof-strip .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; font-weight: 650; color: var(--walnut); }

.section { padding: 84px 0; }
.reading { max-width: 46rem; }
.reading, .offer-content, .faq-list, .legal-copy { font-family: var(--serif); font-size: 20px; }
blockquote { margin: 0 0 22px; padding: 16px 18px; background: #efe6d6; border-left: 4px solid var(--honey); font-size: 16px; font-family: var(--sans); }
.module-grid { display: grid; gap: 22px; }
.module { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.module-num { font-family: var(--heading); font-size: 28px; color: var(--oak); }
.module h3 { margin-top: 0; }
.module ul { margin: 0; padding-left: 1.15rem; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.project-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.project-art { background: #3d2b1f; color: #e6d0aa; padding: 22px 18px 8px; min-height: 210px; }
.project-art span { display: block; font-size: 11px; letter-spacing: .14em; margin-bottom: 10px; }
.project-copy { padding: 20px 22px 24px; }
.project-copy h3 { margin-top: 0; }
.extra-plans { margin-top: 36px; }
.for-you, .about { }
.for-you .container, .about .container { max-width: 50rem; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-placeholder { border: 1px dashed #9d8b75; min-height: 140px; padding: 22px; color: var(--muted); background: #fbf6ee; font-size: 16px; }

.offer { background: var(--walnut); color: var(--cream); }
.offer h2, .offer h3, .offer .eyebrow { color: var(--honey); }
.offer-content { max-width: 44rem; }
.offer a.button { background: var(--oak); border-color: var(--oak); }
.offer ul { padding-left: 1.2rem; }
.guarantee, .faq { }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; min-height: 58px; padding: 16px 36px 16px 0; font-family: var(--sans); font-size: 18px; font-weight: 650; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: "+"; position: absolute; right: 0; top: 14px; color: var(--oak); font-size: 22px; }
.faq-list details[open] > summary:after { content: "−"; }
.faq-list details > :not(summary) { padding-bottom: 14px; }
.final-cta { background: #2a1e16; color: var(--cream); text-align: center; }
.final-cta h2 { color: var(--cream); }
.final-cta .eyebrow { color: var(--honey); }
.support { text-align: center; }
.sources { font-size: 14px; color: var(--muted); }
.source-list { font-size: 13px; columns: 2; column-gap: 40px; padding-left: 1.1rem; overflow-wrap: anywhere; }
.source-list li { break-inside: avoid; margin-bottom: 12px; }

.site-footer { background: var(--walnut); color: #d8cbb8; padding: 48px 0 36px; font-size: 14px; }
.site-footer a { color: var(--honey); }
.footer-top { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.footer-top .brand { color: #f6f0e6; }
.footer-disclaimer { max-width: 52rem; color: #cbbda9; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid #5a4938; margin-top: 22px; padding-top: 18px; font-size: 12px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.legal-links a { min-height: 48px; display: inline-flex; align-items: center; }

.mobile-buy-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 8; background: var(--paper); border-top: 1px solid var(--line); padding: 10px 0 max(10px, env(safe-area-inset-bottom)); }
.mobile-buy-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mobile-buy-bar span { font-size: 12px; }
.mobile-buy-bar strong { display: block; font-size: 14px; }

dialog { border: 1px solid #d3c2a8; background: var(--paper); color: var(--ink); padding: 40px 32px 28px; border-radius: 6px; width: min(460px, calc(100% - 32px)); box-shadow: 0 24px 80px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(29, 24, 20, .62); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; right: 6px; top: 6px; width: 48px; height: 48px; border: 0; background: none; font-size: 28px; }
.pay-row { display: grid; gap: 10px; margin: 20px 0; }
.notice { background: #f0e0ba; color: #513b17; border: 1px solid #cbb37b; padding: 14px; border-radius: 3px; font-size: 15px; }

.flow-main { max-width: 820px; padding: 64px 0 88px; min-height: 55vh; }
.flow-main h1, .legal-main h1 { font-size: clamp(36px, 5vw, 52px); }
.status-card { background: var(--paper); border: 1px solid var(--line); padding: 28px; border-radius: 6px; margin: 16px 0 24px; }
.note { margin-top: 28px; }
.auth-form { display: grid; gap: 12px; max-width: 480px; }
.auth-form input { min-height: 52px; width: 100%; border: 1px solid #b9aa94; border-radius: 4px; padding: 12px; background: #fffdf8; }
.legal-main { max-width: 800px; padding: 56px 0 80px; }
.legal-copy h2 { font-size: 26px; margin-top: 32px; }
.legal-copy p, .legal-copy li { font-family: var(--serif); font-size: 19px; }
.text-link { min-height: 48px; display: inline-flex; align-items: center; }
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid var(--line); border-top-color: var(--oak); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero-grid, .project-grid, .reviews, .footer-top { grid-template-columns: 1fr; }
  .hero-grid { display: flex; flex-direction: column; }
  .source-list { columns: 1; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .container { width: calc(100% - 32px); }
  .nav-row nav > a { display: none; }
  .nav-buy { display: flex !important; font-size: 12px; }
  .hero { padding: 32px 0 44px; }
  h1 { font-size: clamp(34px, 9vw, 48px); }
  .lede, .reading, .offer-content, .faq-list, .legal-copy { font-size: 18px; }
  .section { padding: 52px 0; }
  .module { grid-template-columns: 48px 1fr; }
  .mobile-buy-bar { display: block; }
  .site-footer { padding-bottom: 110px; }
  .book { max-width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
