:root {
  --paper: #f7f3ed;
  --paper-deep: #eee7dc;
  --ink: #1d211e;
  --muted: #686a64;
  --line: #d8d0c4;
  --forest: #234737;
  --terracotta: #b6533b;
  --white: #fffdf9;
  --product-accent: #b6533b;
  --display: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif;
  --body: Inter, "Segoe UI", Arial, sans-serif;
  --shell: min(1400px, calc(100vw - 80px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.55; text-rendering: optimizeLegibility; }
body, button, input { font: 400 16px/1.5 var(--body); }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.shell { width: var(--shell); margin-inline: auto; border-inline: 1px solid var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 12px 16px; color: #fff; background: var(--forest); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #2466d1; outline-offset: 3px; }

.site-header { min-height: 76px; position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 96%, transparent); backdrop-filter: blur(16px); }
.header-shell { width: min(1400px, calc(100vw - 80px)); min-height: 76px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { width: fit-content; color: var(--forest); font: 500 31px/1 var(--display); letter-spacing: -.035em; text-decoration: none; }
.site-nav { display: flex; gap: clamp(24px, 2.6vw, 42px); }
.site-nav a, .library-link { font-size: 13px; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .library-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.library-link { min-width: 42px; min-height: 42px; justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.library-link svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.nav-toggle { display: none; }

.breadcrumb { padding: 22px clamp(28px, 4vw, 64px); display: flex; flex-wrap: wrap; gap: 10px; border-bottom: 0; color: var(--muted); font-size: 11px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.product-hero { min-height: 660px; padding: 20px clamp(28px, 5vw, 78px) clamp(70px, 7vw, 104px); display: grid; grid-template-columns: minmax(360px, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(60px, 8vw, 126px); border-bottom: 1px solid var(--line); }
.product-visual { min-width: 0; display: grid; justify-items: center; gap: 16px; }
.cover-stage { width: 100%; min-height: 510px; display: grid; place-items: center; position: relative; overflow: hidden; border-radius: 10px; background: radial-gradient(circle at 60% 30%, rgba(255,255,255,.9), transparent 35%), var(--paper-deep); }
.cover-stage::before { content: ""; width: 70%; aspect-ratio: 1; position: absolute; border-radius: 50%; background: color-mix(in srgb, var(--product-accent) 10%, transparent); }
.cover-stage img { width: min(330px, 70%); max-height: 470px; position: relative; object-fit: contain; filter: drop-shadow(0 20px 18px rgba(35,31,25,.2)); transform: rotate(-1deg); }
.preview-link { min-height: 42px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 11px; font-weight: 700; text-decoration: none; }
.preview-link svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.product-summary { min-width: 0; }
.eyebrow { margin: 0 0 17px; color: var(--terracotta); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -.035em; }
h1 { max-width: 760px; font-size: clamp(58px, 6vw, 90px); line-height: .94; }
.product-author { margin: 20px 0 0; color: var(--forest); font-size: 14px; font-weight: 700; }
.product-description { max-width: 740px; margin: 28px 0; color: #40433f; font-size: clamp(18px, 1.6vw, 22px); }
.product-facts { margin: 0 0 28px; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 12px 0; border-block: 1px solid var(--line); list-style: none; }
.product-facts li { padding: 0 17px; display: inline-flex; align-items: center; gap: 8px; border-right: 1px solid var(--line); color: #4f544f; font-size: 11px; }
.product-facts li:first-child { padding-left: 0; }
.product-facts li:last-child { border-right: 0; }
.product-facts svg { width: 18px; fill: none; stroke: var(--forest); stroke-width: 1.6; }
.product-price { margin: 0 0 18px; color: var(--forest); font: 500 42px/1 var(--display); }
.product-actions { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(180px, .8fr); gap: 12px; }
.button { min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--terracotta); border-color: var(--terracotta); }
.button-primary:hover { background: #98442f; }
.button-secondary { color: var(--forest); background: transparent; border-color: var(--forest); }
.button-full { width: 100%; }
.purchase-trust { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.purchase-trust span { min-height: 78px; padding: 18px 14px; display: flex; align-items: center; gap: 9px; border-right: 1px solid var(--line); font-size: 10px; }
.purchase-trust span:first-child { padding-left: 0; }
.purchase-trust span:last-child { border-right: 0; }
.purchase-trust svg { width: 22px; flex: 0 0 auto; fill: none; stroke: var(--forest); stroke-width: 1.6; }

.product-story { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.product-story article { min-height: 540px; padding: clamp(68px, 7vw, 104px) clamp(28px, 5vw, 74px); }
.product-story article + article { border-left: 1px solid var(--line); background: #f2ece3; }
.product-story h2, .dynamic-section h2, .expert-section h2, .checkout-section h2, .faq-section h2 { font-size: clamp(45px, 4.7vw, 70px); line-height: .98; }
.check-list, .chapter-list { margin: 46px 0 0; padding: 0; list-style: none; }
.check-list li { padding: 17px 0 17px 34px; position: relative; border-top: 1px solid var(--line); }
.check-list li::before { content: "✓"; width: 20px; height: 20px; display: grid; place-items: center; position: absolute; top: 18px; left: 0; border: 1px solid var(--forest); border-radius: 50%; color: var(--forest); font-size: 10px; font-weight: 800; }
.chapter-list li { min-height: 58px; display: grid; grid-template-columns: 50px 1fr; align-items: center; gap: 16px; border-top: 1px solid var(--line); }
.chapter-list span { color: var(--terracotta); font: 500 14px/1 var(--display); }
.chapter-list strong { font-size: 13px; }

.dynamic-sections { border-bottom: 1px solid var(--line); }
.dynamic-section { padding: clamp(68px, 7vw, 104px) clamp(28px, 5vw, 74px); border-bottom: 1px solid var(--line); }
.dynamic-section:last-child { border-bottom: 0; }
.dynamic-section > div { max-width: 850px; margin-top: 32px; color: #454944; }
.dynamic-section p { white-space: normal; }
.dynamic-benefits > div, .dynamic-reviews > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dynamic-benefits .dynamic-item, .dynamic-reviews .dynamic-item { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.dynamic-faq details { padding: 18px 0; border-top: 1px solid var(--line); }
.dynamic-faq summary { cursor: pointer; font-weight: 700; }
.dynamic-faq details p { margin-bottom: 0; color: var(--muted); }
.dynamic-guarantee { background: var(--forest); color: #fff; }
.dynamic-guarantee .eyebrow { color: #e5b8a8; }
.dynamic-guarantee > div { color: #d9e2dc; }

.expert-section { min-height: 530px; padding: clamp(70px, 7vw, 110px) clamp(28px, 6vw, 90px); display: grid; grid-template-columns: minmax(250px, .55fr) 1fr; align-items: center; gap: clamp(50px, 8vw, 120px); border-bottom: 1px solid var(--line); background: #f2ece3; }
.expert-section-text-only { min-height: 0; grid-template-columns: minmax(0, 760px); }
.expert-portrait { aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--paper-deep); }
.expert-portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.expert-section > div:last-child > p:not(.eyebrow) { max-width: 700px; margin: 24px 0; color: var(--muted); font-size: 17px; }
.verified-expert { width: fit-content; padding: 8px 12px; display: inline-flex; border-radius: 99px; color: #fff; background: var(--forest); font-size: 11px; font-weight: 750; }

.checkout-section { padding: clamp(70px, 7vw, 110px) clamp(28px, 6vw, 90px); display: grid; grid-template-columns: 1fr minmax(360px, .72fr); gap: clamp(60px, 9vw, 140px); border-bottom: 1px solid var(--line); color: #fff; background: var(--forest); }
.checkout-section .eyebrow { color: #e5b8a8; }
.checkout-copy > p:not(.eyebrow) { max-width: 620px; margin: 26px 0; color: #d9e2dc; }
.checkout-copy ul { margin: 0; padding: 0; list-style: none; }
.checkout-copy li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.18); color: #eaf0ec; font-size: 12px; }
.checkout-form { padding: 30px; border-radius: 10px; color: var(--ink); background: var(--white); }
.checkout-heading { margin-bottom: 24px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.checkout-heading span { font-size: 12px; font-weight: 750; }
.checkout-heading strong { color: var(--forest); font: 500 25px/1 var(--display); }
.checkout-form label { margin: 14px 0 7px; display: block; font-size: 11px; font-weight: 750; }
.checkout-form label span { color: var(--muted); font-weight: 400; }
.checkout-form input { width: 100%; min-height: 50px; padding: 0 13px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.checkout-form .button { margin-top: 18px; }
.form-note { margin: 13px 0 0; color: var(--muted); font-size: 10px; }
.form-success { margin: 14px 0 0; padding: 11px; border: 1px solid #a9c8b6; color: var(--forest); background: #edf5ef; font-size: 12px; }
.form-success.is-error { border-color: #dfb4a8; color: #8b3525; background: #fbefeb; }

.faq-section { padding: clamp(70px, 7vw, 110px) clamp(28px, 6vw, 90px); display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(60px, 9vw, 140px); border-bottom: 1px solid var(--line); }
.faq-list details { padding: 20px 0; border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding-right: 34px; position: relative; cursor: pointer; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; font: 500 24px/1 var(--display); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 14px 0 0; color: var(--muted); }

.mobile-purchase { display: none; }
.site-footer { width: var(--shell); margin: 0 auto; padding: 52px clamp(28px, 4vw, 64px); display: grid; grid-template-columns: 1.3fr .8fr .8fr auto; gap: 36px; border-inline: 1px solid var(--line); }
.site-footer > div p, .site-footer > p { margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.site-footer nav { display: grid; align-content: start; gap: 9px; }
.site-footer nav a { font-size: 12px; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer > p { align-self: end; }

@media (max-width: 1020px) {
  :root { --shell: calc(100vw - 40px); }
  .header-shell { width: calc(100vw - 48px); grid-template-columns: auto 1fr auto; }
  .site-nav { gap: 18px; }
  .product-hero { grid-template-columns: .8fr 1.2fr; gap: 50px; }
  .cover-stage { min-height: 430px; }
  .purchase-trust { grid-template-columns: 1fr; }
  .purchase-trust span, .purchase-trust span:first-child { min-height: 46px; padding: 10px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .purchase-trust span:last-child { border-bottom: 0; }
}

@media (max-width: 780px) {
  :root { --shell: 100%; }
  body { padding-bottom: 76px; }
  .site-header { min-height: 68px; }
  .header-shell { width: 100%; min-height: 68px; padding: 0 20px; grid-template-columns: 1fr auto auto; }
  .brand { font-size: 28px; }
  .nav-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border: 0; background: transparent; }
  .nav-toggle > span:not(.sr-only) { width: 22px; height: 1px; display: block; background: var(--ink); }
  .site-nav { padding: 22px 20px 28px; display: none; position: absolute; top: 68px; right: 0; left: 0; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 8px 0; font: 500 25px/1.2 var(--display); }
  .library-link span { display: none; }
  .breadcrumb { padding: 18px 20px; }
  .product-hero { padding: 10px 20px 70px; grid-template-columns: 1fr; gap: 42px; }
  .product-visual { order: 0; }
  .cover-stage { min-height: 480px; }
  .cover-stage img { width: min(330px, 66%); }
  .product-summary { order: 1; }
  h1 { font-size: clamp(51px, 13vw, 72px); }
  .product-story { grid-template-columns: 1fr; }
  .product-story article { min-height: 0; padding: 68px 20px; }
  .product-story article + article { border-top: 1px solid var(--line); border-left: 0; }
  .expert-section { padding: 68px 20px; grid-template-columns: 1fr; gap: 36px; }
  .expert-portrait { width: min(340px, 82vw); }
  .checkout-section, .faq-section { padding: 68px 20px; grid-template-columns: 1fr; gap: 46px; }
  .dynamic-section { padding: 68px 20px; }
  .site-footer { padding: 48px 20px; grid-template-columns: 1fr 1fr; }
  .site-footer > div { grid-column: 1 / -1; }
  .site-footer > p { grid-column: 1 / -1; }
  .mobile-purchase { min-height: 70px; padding: 10px max(14px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-right)); display: flex; align-items: center; justify-content: space-between; gap: 16px; position: fixed; right: 0; bottom: 0; left: 0; z-index: 40; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--white) 96%, transparent); backdrop-filter: blur(14px); transform: translateY(110%); transition: transform 180ms ease; }
  .mobile-purchase.is-visible { transform: none; }
  .mobile-purchase strong { font: 500 21px/1 var(--display); }
  .mobile-purchase a { min-height: 48px; padding: 0 26px; display: inline-flex; align-items: center; border-radius: 6px; color: #fff; background: var(--terracotta); font-size: 13px; font-weight: 750; text-decoration: none; }
}

@media (max-width: 520px) {
  .product-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .product-facts li, .product-facts li:first-child { padding: 5px 10px 5px 0; border-right: 0; }
  .product-actions { grid-template-columns: 1fr; }
  .cover-stage { min-height: 390px; }
  .cover-stage img { max-height: 350px; }
  .product-story h2, .dynamic-section h2, .expert-section h2, .checkout-section h2, .faq-section h2 { font-size: 46px; }
  .dynamic-benefits > div, .dynamic-reviews > div { grid-template-columns: 1fr; }
  .checkout-form { padding: 24px 18px; }
  .checkout-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 340px) {
  .header-shell { padding-inline: 14px; }
  .product-hero, .expert-section, .checkout-section, .faq-section, .dynamic-section { padding-inline: 16px; }
  h1 { font-size: 46px; }
  .cover-stage { min-height: 340px; }
  .site-footer { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
