:root {
  --wine: #6d2336;
  --wine-dark: #4f1525;
  --gold: #c68a2b;
  --sage: #6f7b62;
  --cream: #fbf7ef;
  --paper: #fffdf8;
  --ink: #29231f;
  --muted: #665f59;
  --line: #ded5c8;
  --shadow: 0 24px 70px rgba(56, 34, 27, .15);
  --body-size: 1.125rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 var(--body-size)/1.72 "DM Sans", Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, summary, .button { min-height: 48px; }
:focus-visible { outline: 4px solid #1769aa; outline-offset: 4px; border-radius: 4px; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, 100%); }
.center { text-align: center; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; background: #fff; color: #000; padding: 12px 16px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.accessibility-bar { background: var(--wine-dark); color: #fff; font-size: .9rem; }
.accessibility-inner { display: flex; justify-content: flex-end; align-items: center; gap: 14px; min-height: 44px; }
.reading-controls { display: flex; gap: 8px; }
.small-control { min-height: 34px; padding: 5px 12px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; background: transparent; color: #fff; font: 700 .85rem "DM Sans", sans-serif; cursor: pointer; }
.small-control:hover { background: #fff; color: var(--wine-dark); }

.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: rgba(255,253,248,.96); backdrop-filter: blur(14px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 700 1rem/1.2 "Libre Baskerville", Georgia, serif; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--wine); color: white; font-size: 1.35rem; }
.nav-list { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-list a { text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav-list a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 5px; }
.nav-buy { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 8px; color: #fff !important; background: var(--wine); }
.menu-button { display: none; border: 1px solid var(--wine); border-radius: 8px; padding: 8px 14px; background: transparent; color: var(--wine); font-weight: 700; }

.hero { overflow: hidden; background: linear-gradient(120deg, #fffaf0 0%, #f4eadb 100%); }
.hero-grid { min-height: 730px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 72px; padding-block: 72px; }
.eyebrow { margin: 0 0 14px; color: var(--wine); font-size: .82rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Libre Baskerville", Georgia, serif; color: var(--ink); line-height: 1.18; }
h1 { max-width: 760px; margin: 0 0 24px; font-size: clamp(2.55rem, 5.5vw, 4.65rem); letter-spacing: -.045em; }
h2 { margin: 0 0 22px; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.035em; }
h3 { margin: 0 0 10px; font-size: 1.18rem; }
p { margin: 0 0 18px; }
.hero-lead { max-width: 680px; color: var(--muted); font-size: 1.3rem; line-height: 1.6; }
.hero-points { display: grid; gap: 12px; margin: 28px 0 34px; padding: 0; list-style: none; }
.hero-points li { position: relative; padding-left: 34px; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: var(--wine); font-weight: 900; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 210px; padding: 15px 22px; border: 2px solid transparent; border-radius: 10px; text-decoration: none; font: 800 1rem/1.2 "DM Sans", sans-serif; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(63, 28, 37, .18); }
.button-primary { background: var(--wine); color: #fff; border-color: var(--wine); }
.button-primary:hover { background: var(--wine-dark); }
.button-secondary { background: transparent; color: var(--wine); border-color: var(--wine); }
.button-wide { width: 100%; }
.secure-note { margin-top: 17px; color: var(--muted); font-size: .88rem; }
.secure-note span { color: #2e7d45; margin-right: 7px; }

.book-stage { position: relative; display: grid; place-items: center; min-height: 590px; }
.book-stage::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--gold); opacity: .18; filter: blur(2px); }
.book-card { position: relative; width: min(390px, 85%); transform: rotate(1.4deg); border: 10px solid #fff; box-shadow: 18px 28px 70px rgba(72,42,31,.28); }
.book-card::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(0,0,0,.1); pointer-events: none; }
.edition-badge { position: absolute; right: 5%; bottom: 9%; display: grid; place-items: center; width: 128px; height: 128px; border-radius: 50%; border: 7px solid #fff; color: #fff; background: var(--wine); box-shadow: var(--shadow); text-align: center; line-height: 1.05; }
.edition-badge strong { font: 700 2rem "Libre Baskerville", serif; }
.edition-badge span { width: 75px; font-size: .72rem; font-weight: 700; }

.trust-strip { color: #fff; background: var(--wine); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-block: 25px; }
.trust-grid > div { display: flex; align-items: flex-start; gap: 14px; }
.trust-grid br { display: block; }
.trust-icon { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #2b1c14; font-weight: 900; }
.trust-grid span:last-child { font-size: .92rem; line-height: 1.45; }

.section { padding-block: 96px; }
.section-tint { background: var(--cream); }
.large-copy { color: var(--muted); font: 400 1.28rem/1.75 "Libre Baskerville", Georgia, serif; }
.section-heading { max-width: 800px; margin-bottom: 48px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.14rem; }
.chapter-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.chapter-grid article { position: relative; min-height: 190px; padding: 30px 30px 28px 88px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.chapter-grid article > span { position: absolute; top: 30px; left: 26px; color: var(--gold); font: 700 1.2rem "Libre Baskerville", serif; }
.chapter-grid p { margin: 0; color: var(--muted); }

.benefits-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.benefit-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 46px; }
.benefit-list article { padding-top: 18px; border-top: 4px solid var(--gold); }
.benefit-list p { color: var(--muted); margin: 0; }

.preview-section { background: #2d2420; color: #fff; }
.preview-section h2, .preview-section .eyebrow { color: #fff; }
.preview-section .section-heading > p:last-child { color: #ded3c8; }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.preview-card { padding: 0; overflow: hidden; border: 0; border-radius: 10px; background: #fff; color: var(--ink); box-shadow: var(--shadow); cursor: zoom-in; text-align: left; }
.preview-card img { width: 100%; aspect-ratio: 675/833; object-fit: cover; object-position: top; }
.preview-card span { display: flex; justify-content: space-between; gap: 14px; padding: 16px; font-weight: 700; }
.preview-card b { color: var(--wine); font-size: .84rem; }

.steps { max-width: 880px; margin: 0 auto; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.steps li > span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--wine); color: #fff; font: 700 1.3rem "Libre Baskerville", serif; }
.steps p { color: var(--muted); margin: 0; }

.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.check-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.check-list li { padding: 18px 20px 18px 56px; position: relative; border-radius: 10px; background: #fff; box-shadow: 0 8px 30px rgba(58,42,32,.07); }
.check-list li::before { content: "✓"; position: absolute; left: 22px; color: var(--wine); font-weight: 900; }

.purchase { background: linear-gradient(135deg, var(--wine-dark), var(--wine)); }
.purchase-card { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: center; max-width: 1000px; padding: 48px; border-radius: 20px; background: #fff; box-shadow: 0 25px 90px rgba(25,8,14,.28); }
.purchase-book img { box-shadow: 12px 18px 36px rgba(50,26,18,.24); }
.purchase-summary { color: var(--muted); font-size: 1.08rem; }
.purchase-list { display: grid; gap: 10px; padding-left: 25px; }
.price-line { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; margin: 20px 0; border-block: 1px solid var(--line); }
.price-line strong { color: var(--wine); }
.purchase-fineprint { margin: 12px 0 0; color: var(--muted); font-size: .82rem; }

.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 76px; }
.accordion { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0; cursor: pointer; font: 700 1.04rem/1.4 "Libre Baskerville", serif; }
summary::after { content: "+"; color: var(--wine); font: 800 1.5rem "DM Sans", sans-serif; }
details[open] summary::after { content: "−"; }
details p { padding: 0 42px 22px 0; color: var(--muted); }

.final-cta { background: var(--cream); }
.center-note { justify-content: center; }
.site-footer { padding: 58px 0 100px; color: #f3ece5; background: #251b18; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 50px; }
.footer-grid strong { color: #fff; font-family: "Libre Baskerville", serif; }
.footer-grid p { margin: 9px 0 0; color: #cfc4bb; font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 42px; padding-top: 24px; border-top: 1px solid #51443e; font-size: .83rem; }

.sticky-buy { display: none; }
dialog { width: min(900px, calc(100% - 28px)); max-height: 90vh; padding: 0; border: 0; border-radius: 14px; box-shadow: 0 25px 100px rgba(0,0,0,.45); }
dialog::backdrop { background: rgba(25,17,14,.78); }
.dialog-top { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.dialog-top h2 { margin: 0; font-size: 1.15rem; }
.dialog-top button { padding: 8px 14px; border: 1px solid var(--wine); border-radius: 8px; background: #fff; color: var(--wine); font-weight: 700; cursor: pointer; }
.preview-dialog img { width: min(675px, 100%); margin: 0 auto; }

body.text-large { --body-size: 1.25rem; }
body.text-larger { --body-size: 1.38rem; }
body.high-contrast { --paper: #fff; --cream: #fff; --ink: #000; --muted: #222; --line: #555; }
body.high-contrast .hero { background: #fff; }
body.high-contrast .section-tint, body.high-contrast .final-cta { background: #fff; border-block: 2px solid #000; }

@media (max-width: 920px) {
  .hero-grid, .benefits-grid, .audience-grid, .faq-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-grid { padding-block: 52px; }
  .hero-copy { order: 1; }
  .book-stage { order: 0; min-height: 480px; }
  .book-card { width: min(330px, 78%); }
  .chapter-grid { grid-template-columns: 1fr; }
  .purchase-card { grid-template-columns: 230px 1fr; gap: 38px; }
  .nav-list { position: absolute; top: 82px; right: 20px; left: 20px; display: none; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow); }
  .nav-list.open { display: grid; }
  .menu-button { display: block; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1180px); }
  .accessibility-inner { justify-content: space-between; }
  .header-inner { min-height: 70px; }
  .brand { max-width: 230px; font-size: .85rem; }
  .brand-mark { width: 36px; height: 36px; }
  .nav-list { top: 70px; }
  .hero-grid { min-height: auto; gap: 30px; }
  .book-stage { min-height: 410px; }
  .edition-badge { right: 1%; width: 105px; height: 105px; }
  h1 { font-size: 2.45rem; }
  h2 { font-size: 2rem; }
  .hero-lead, .large-copy { font-size: 1.08rem; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .trust-grid, .benefit-list, .preview-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { gap: 22px; }
  .section { padding-block: 70px; }
  .chapter-grid article { padding: 25px 22px 24px 72px; }
  .chapter-grid article > span { left: 21px; top: 25px; }
  .steps li { grid-template-columns: 54px 1fr; gap: 16px; }
  .steps li > span { width: 50px; height: 50px; }
  .purchase-card { display: block; padding: 26px 20px; }
  .purchase-book { width: 190px; margin: 0 auto 32px; }
  .price-line { display: grid; gap: 4px; }
  .footer-bottom { display: grid; gap: 12px; }
  .site-footer { padding-bottom: 130px; }
  .sticky-buy { position: fixed; inset: auto 0 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -8px 30px rgba(40,25,20,.15); }
  .sticky-buy span { display: grid; line-height: 1.2; }
  .sticky-buy small { color: var(--muted); font-size: .72rem; }
  .sticky-buy .button { min-width: 145px; min-height: 50px; padding: 12px 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
