/* =========================================================
   The "Never Taught Us" Collection — shared styles
   ========================================================= */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Amiri"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/amiri-arabic-400-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }

/* ---------- Tokens ---------- */
:root {
  --ivory: #faf6ee;
  --cream: #f3ebdc;
  --sand: #e8dcc6;
  --paper: #fffdf8;
  --green-950: #0d241d;
  --green-900: #12302a;
  --green-800: #173d33;
  --green-700: #1f4d40;
  --gold: #c2a067;
  --gold-soft: #dcc59b;
  --gold-text: #7c5c28;     /* gold for text on light backgrounds (AA) */
  --plum: #4b1832;
  --ink: #23211e;
  --ink-soft: #4a4640;
  --muted: #6b655c;
  --line: #e2d6c1;
  --line-dark: rgba(220, 197, 155, .28);

  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-ar: "Amiri", "Geeza Pro", "Traditional Arabic", serif;

  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(35, 33, 30, .06), 0 2px 8px rgba(35, 33, 30, .05);
  --shadow-md: 0 2px 6px rgba(35, 33, 30, .06), 0 14px 34px rgba(35, 33, 30, .09);
  --gutter: 20px;
  --max: 1160px;

  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23c2a067' stroke-width='.8'%3E%3Cpath d='M32 8l7 17 17 7-17 7-7 17-7-17-17-7 17-7z'/%3E%3Cpath d='M15 15h34v34H15z' transform='rotate(45 32 32)'/%3E%3Ccircle cx='32' cy='32' r='5'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-900); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.005em; }
h1 { font-size: clamp(2.35rem, 6.4vw, 4.1rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.6rem); font-weight: 600; }
em, .italic { font-style: italic; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
.ar { font-family: var(--font-ar); font-weight: 400; }
.saw { font-family: var(--font-ar); font-size: 1.05em; line-height: 1; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green-900); color: var(--ivory); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: var(--ivory); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--green { background: var(--green-900); color: #efe7d6; }
.section--green h2, .section--green h3 { color: var(--ivory); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.section--green .eyebrow { color: var(--gold-soft); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }

.lede { font-size: clamp(1.1rem, 1.8vw, 1.22rem); color: var(--ink-soft); line-height: 1.6; }
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--ink-soft); }
.section--green .section-head p { color: #d9cfbd; }

.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--gold); margin: 0 auto 22px; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 48px; background: currentColor; opacity: .6; }
.ornament svg { width: 14px; height: 14px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green-800); --fg: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 30px;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; border: 0; border-radius: var(--radius); cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 8px 20px rgba(18, 48, 42, .22);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  position: relative;
}
.btn::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(220, 197, 155, .35); border-radius: 3px; pointer-events: none; }
.btn:hover { background: var(--green-950); color: var(--fg); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 12px 26px rgba(18, 48, 42, .28); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { --bg: var(--gold); --fg: var(--green-950); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.btn--gold::after { border-color: rgba(13, 36, 29, .25); }
.btn--gold:hover { background: var(--gold-soft); color: var(--green-950); }
.btn--block { width: 100%; }
.btn--ghost { --bg: transparent; --fg: var(--green-800); box-shadow: none; border: 1px solid var(--line); }
.btn--ghost::after { display: none; }
.btn--ghost:hover { background: var(--paper); color: var(--green-900); box-shadow: var(--shadow-sm); }

.cta-meta { font-size: .9rem; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.cta-meta .dot { color: var(--gold); margin: 0 6px; }
.section--green .cta-meta { color: #cfc4b0; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 5; border-bottom: 1px solid var(--line); background: var(--ivory); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.wordmark { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: .01em; display: inline-flex; align-items: center; gap: 10px; }
.wordmark svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.wordmark:hover { color: var(--ink); }
.header-cta { font-size: .95rem; font-weight: 600; text-decoration: none; color: var(--green-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 16px; white-space: nowrap; }
.header-cta:hover { background: var(--paper); }
@media (max-width: 560px) { .header-cta { display: none; } .wordmark { font-size: 1.05rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 64px;
  opacity: .16; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 85% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 85% 40%, #000 0%, transparent 70%); pointer-events: none;
}
.hero-grid {
  display: grid; position: relative;
  grid-template-columns: 1.08fr .92fr; column-gap: clamp(32px, 5vw, 72px);
  grid-template-areas: "top visual" "benefits visual" "cta visual";
  grid-template-rows: auto auto 1fr;
}
.hero-top { grid-area: top; }
.hero-visual { grid-area: visual; display: flex; justify-content: center; align-items: center; position: relative; }
.hero-benefits { grid-area: benefits; }
.hero-cta-wrap { grid-area: cta; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { color: var(--gold-text); font-weight: 500; }
.hero .lede { max-width: 560px; margin-bottom: 28px; }
.benefits { list-style: none; display: grid; gap: 12px; margin: 0 0 32px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; color: var(--ink-soft); }
.benefits svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--gold-text); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.price-tag, .offer-price, [data-price] { font-variant-numeric: lining-nums; }
.price-tag { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--font-display); margin: 0; }
.price-tag .amount { font-size: 2rem; font-weight: 600; color: var(--ink); line-height: 1; }
.price-tag .was { font-size: 1.2rem; color: var(--muted); text-decoration: line-through; }
.price-tag .note { font-family: var(--font-body); font-size: .9rem; color: var(--muted); }

/* ---------- 3D book mockup ---------- */
.book3d { --w: 340px; --t: 24px; --ry: -26deg; width: var(--w); perspective: 1800px; flex: none; }
.book3d__inner {
  position: relative; width: 100%; aspect-ratio: 420 / 595;
  transform-style: preserve-3d; transform: rotateY(var(--ry)) rotateX(3deg);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.book3d:hover .book3d__inner { transform: rotateY(calc(var(--ry) + 8deg)) rotateX(2deg); }
.book3d__cover, .book3d__back { position: absolute; inset: 0; border-radius: 2px 5px 5px 2px; overflow: hidden; }
.book3d__cover { transform: translateZ(calc(var(--t) / 2)); }
.book3d__cover img { width: 100%; height: 100%; object-fit: cover; }
.book3d__cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.32) 0, rgba(255,255,255,.18) 1.2%, rgba(0,0,0,.08) 2.6%, transparent 5%),
              linear-gradient(115deg, rgba(255,255,255,.10) 0%, transparent 38%);
}
.book3d__pages {
  position: absolute; top: 1.2%; bottom: 1.2%; width: var(--t); left: calc(100% - var(--t) / 2 - 2px);
  transform: rotateY(90deg);
  background: repeating-linear-gradient(90deg, #f7f1e4 0 2px, #e3d8c3 2px 3px);
  box-shadow: inset 0 0 6px rgba(0,0,0,.12);
}
.book3d__back { transform: translateZ(calc(var(--t) / -2)); background: #2b0d1c; }
.book3d--green .book3d__back { background: #0d2a22; }
.book3d__shadow {
  position: absolute; left: 6%; right: -6%; bottom: -5%; height: 9%;
  background: radial-gradient(ellipse at center, rgba(35, 25, 15, .38) 0%, transparent 70%);
  filter: blur(6px); transform: translateZ(-40px); pointer-events: none;
}
.book-pair { position: relative; display: flex; align-items: flex-end; justify-content: center; padding: 10px 0 24px; }
.book-pair .book3d--back { --w: 230px; --ry: -26deg; position: absolute; right: 0; bottom: 34px; opacity: .97; transform: translateX(18%); }
.book-pair .book3d--front { position: relative; z-index: 2; transform: translateX(-12%); }
.book-badge {
  position: absolute; z-index: 3; left: 50%; bottom: -34px; transform: translateX(-50%); white-space: nowrap; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
  padding: 8px 14px; font-size: .82rem; color: var(--ink-soft); line-height: 1.2;
}
.book-badge strong { color: var(--green-800); }

/* ---------- Verse band ---------- */
.verse { text-align: center; padding: clamp(56px, 7vw, 84px) 0; background: var(--green-900); color: var(--ivory); position: relative; overflow: hidden; }
.verse::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 72px; opacity: .07; }
.verse .container { position: relative; }
.verse .ar { font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.7; color: var(--gold-soft); margin: 0 0 10px; direction: rtl; }
.verse blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 3.2vw, 2rem); line-height: 1.3; }
.verse cite { display: block; margin-top: 14px; font-style: normal; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- Problem ---------- */
.problem-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.problem-copy p { color: var(--ink-soft); }
.problem-copy .pull { font-family: var(--font-display); font-size: clamp(1.45rem, 2.6vw, 1.8rem); font-style: italic; line-height: 1.3; color: var(--ink); border-left: 2px solid var(--gold); padding-left: 20px; margin: 28px 0; }
.questions { list-style: none; display: grid; gap: 14px; }
.questions li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px 20px 58px; position: relative; box-shadow: var(--shadow-sm); line-height: 1.5; }
.questions li::before {
  content: "?"; position: absolute; left: 18px; top: 18px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--gold-text); border: 1px solid var(--gold-soft); background: var(--ivory);
}

/* ---------- Solution ---------- */
.solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.approach { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.approach li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.approach .num { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-text); line-height: 1.2; }
.approach strong { display: block; font-weight: 600; margin-bottom: 2px; }
.approach span.d { color: var(--ink-soft); font-size: 1rem; }
.chapter-anatomy { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 36px); box-shadow: var(--shadow-md); }
.chapter-anatomy h3 { margin-bottom: 6px; }
.chapter-anatomy > p { color: var(--muted); font-size: .98rem; }
.anatomy-list { list-style: none; counter-reset: a; margin-top: 18px; }
.anatomy-list li { counter-increment: a; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 11px 0; border-top: 1px dashed var(--line); font-size: .98rem; line-height: 1.45; }
.anatomy-list li::before { content: counter(a); width: 26px; height: 26px; border-radius: 50%; background: var(--green-800); color: var(--ivory); font-size: .8rem; font-weight: 600; display: grid; place-items: center; margin-top: 1px; }
.anatomy-list b { font-weight: 600; }
.golden-rule { margin-top: 22px; background: var(--green-900); color: var(--ivory); border-radius: var(--radius); padding: 20px 22px; text-align: center; }
.golden-rule small { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 6px; }
.golden-rule p { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.35; }

/* ---------- Inside: parts grid ---------- */
.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.part { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.part .label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 10px; }
.part h3 { margin-bottom: 8px; }
.part > p { color: var(--ink-soft); font-size: 1rem; }
.part ol { list-style: none; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.part ol li { display: grid; grid-template-columns: 28px 1fr; font-size: .95rem; line-height: 1.4; color: var(--ink); }
.part ol li span { font-family: var(--font-display); font-weight: 600; color: var(--gold-text); font-size: 1.05rem; }
.extras { margin-top: 28px; display: grid; grid-template-columns: 1.1fr 1.9fr; gap: 20px; }
.extra-cards { background: var(--green-900); color: #efe7d6; border-radius: var(--radius-lg); padding: 30px 28px; position: relative; overflow: hidden; }
.extra-cards::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 56px; opacity: .08; }
.extra-cards > * { position: relative; }
.extra-cards .big { font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--gold-soft); }
.extra-cards h3 { color: var(--ivory); margin: 6px 0 8px; }
.extra-cards p { color: #d6ccb9; margin: 0; font-size: 1rem; }
.extra-list { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.extra-list h3 { margin-bottom: 14px; }
.extra-list ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.extra-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; line-height: 1.4; }
.extra-list li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--gold-text); }
.extra-list li small { display: block; color: var(--muted); font-size: .88rem; }

/* ---------- Preview / reading experience ---------- */
.previews { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 20px; overflow-x: auto; padding: 8px 4px 22px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.preview { scroll-snap-align: start; margin: 0; }
.preview button { all: unset; display: block; position: relative; cursor: zoom-in; border-radius: 4px; width: 100%; }
.preview button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.preview .page { background: #fff; border-radius: 3px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 10px 28px rgba(35,33,30,.13); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; aspect-ratio: 420 / 595; }
.preview .page img { width: 100%; height: 100%; object-fit: cover; }
.preview button:hover .page { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 18px 36px rgba(35,33,30,.18); }
.preview figcaption { margin-top: 14px; font-size: .92rem; color: var(--ink-soft); line-height: 1.4; }
.preview figcaption b { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.scroll-hint { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 4px; }
@media (min-width: 1100px) { .scroll-hint { display: none; } .previews { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; } }

.excerpts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 56px); }
.excerpt { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.excerpt .label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 14px; display: block; }
.excerpt .chip { display: block; border: 1px solid var(--gold-soft); border-radius: 999px; padding: 8px 16px; font-style: italic; font-size: .98rem; margin-bottom: 10px; background: #fffaf0; line-height: 1.4; }
.excerpt .card-q { font-family: var(--font-display); font-style: italic; font-size: 1.45rem; line-height: 1.3; margin: 0; }
.excerpt--card { background: #f6eedf; border-style: dashed; border-color: #cdb688; }
.excerpt ol { list-style: none; display: grid; gap: 12px; }
.excerpt ol li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; font-size: .98rem; line-height: 1.45; }
.excerpt ol li::before { content: attr(data-n); width: 22px; height: 22px; border-radius: 50%; background: var(--plum); color: #fff; font-size: .75rem; display: grid; place-items: center; margin-top: 2px; }
.excerpt .src { display: block; margin-top: 14px; font-size: .85rem; color: var(--muted); }

dialog.preview-dialog { border: 0; padding: 0; background: transparent; max-width: min(92vw, 640px); width: 100%; overflow: visible; }
dialog.preview-dialog::backdrop { background: rgba(13, 26, 22, .82); }
.preview-dialog figure { margin: 0; }
.preview-dialog img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 4px; background: #fff; }
.preview-dialog figcaption { color: #efe7d6; text-align: center; margin-top: 12px; font-size: .95rem; }
.dialog-close { position: absolute; top: -50px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.25); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }

/* ---------- Audience ---------- */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; line-height: 1.5; }
.checklist svg { width: 24px; height: 24px; color: var(--green-700); margin-top: 1px; }
.note-box { margin-top: 26px; padding: 18px 20px; border-radius: var(--radius); background: #eef0ea; border: 1px solid #d5dccf; font-size: .96rem; color: var(--ink-soft); line-height: 1.55; }
.note-box strong { color: var(--ink); }
.audience-quote { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-md); position: relative; }
.audience-quote p { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.75rem); line-height: 1.35; font-style: italic; margin: 0 0 14px; }
.audience-quote span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }

/* ---------- Differentiators ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.diff { background: var(--green-900); padding: 30px 28px; }
.diff svg { width: 30px; height: 30px; color: var(--gold-soft); margin-bottom: 16px; }
.diff h3 { font-size: 1.4rem; margin-bottom: 8px; }
.diff p { color: #d6ccb9; font-size: 1rem; margin: 0; }

/* ---------- Companion ---------- */
.companion { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.companion-visual { display: flex; justify-content: center; }
.included-pill { display: flex; width: fit-content; align-items: center; gap: 8px; background: #e6eee8; color: var(--green-800); border: 1px solid #c8d8cd; border-radius: 999px; padding: 6px 14px; font-size: .88rem; font-weight: 600; margin-bottom: 18px; }
.included-pill svg { width: 16px; height: 16px; }
.companion ul.ticks { list-style: none; display: grid; gap: 10px; margin: 20px 0 6px; }
.companion ul.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; line-height: 1.45; }
.companion ul.ticks svg { width: 20px; height: 20px; color: var(--gold-text); margin-top: 3px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: .92rem; color: var(--muted); }
.facts span { display: inline-flex; gap: 6px; align-items: center; }
.facts span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- Offer ---------- */
.offer { position: relative; overflow: hidden; }
.offer::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 72px; opacity: .06; }
.offer-card { position: relative; background: var(--ivory); color: var(--ink); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.35); display: grid; grid-template-columns: .95fr 1.05fr; overflow: hidden; max-width: 1000px; margin: 0 auto; }
.offer-visual { background: linear-gradient(160deg, #efe5d2, #e4d5b9); display: flex; align-items: center; justify-content: center; padding: 48px 24px; position: relative; }
.offer-visual::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 56px; opacity: .22; }
.offer-visual .book-pair { transform: scale(.9); }
.offer-body { padding: clamp(28px, 4vw, 48px); }
.offer-card h2 { color: var(--ink); }
.offer-card .eyebrow { color: var(--gold-text); }
.offer-body h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 6px; }
.offer-body .sub { color: var(--muted); font-style: italic; margin-bottom: 22px; font-size: 1rem; }
.offer-list { list-style: none; display: grid; gap: 12px; margin: 0 0 26px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offer-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; line-height: 1.45; font-size: 1rem; }
.offer-list svg { width: 20px; height: 20px; color: var(--green-700); margin-top: 2px; }
.offer-list small { display: block; color: var(--muted); font-size: .88rem; }
.offer-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.offer-price .amount { font-family: var(--font-display); font-size: 3.2rem; font-weight: 600; line-height: 1; color: var(--ink); }
.offer-price .was { font-family: var(--font-display); font-size: 1.6rem; color: var(--muted); text-decoration: line-through; }
.offer-price .note { color: var(--muted); font-size: .95rem; }
.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: .88rem; color: var(--muted); }
.trust-row li { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { width: 16px; height: 16px; color: var(--green-700); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.45rem); font-weight: 600; line-height: 1.3; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 1.5px solid var(--gold-text); border-bottom: 1.5px solid var(--gold-text); transform: rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--green-800); }
.faq .answer { padding: 0 0 22px; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer ul { padding-left: 20px; margin: 0 0 1em; }
.faq .answer li { margin-bottom: 6px; }

/* ---------- Final CTA ---------- */
.final { text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 64px; opacity: .12; -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 65%); mask-image: radial-gradient(ellipse at center, #000 0%, transparent 65%); }
.final .container { position: relative; }
.final h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.final p.lede { max-width: 620px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #cfc4b0; padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); font-size: .95rem; }
.site-footer a { color: #efe7d6; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-size: 1.35rem; color: var(--ivory); margin-bottom: 10px; }
.footer-grid h3 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; margin-bottom: 12px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid p { margin: 0 0 8px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(220,197,155,.18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .86rem; color: #a99f8d; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(250, 246, 238, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(35,33,30,.08);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  transform: translateY(110%); transition: transform .3s ease; visibility: hidden;
}
.sticky-cta.is-visible { transform: translateY(0); visibility: visible; }
.sticky-cta .s-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.15; }
.sticky-cta .s-sub { font-size: .82rem; color: var(--muted); }
.sticky-cta .btn { min-height: 48px; padding: 10px 20px; font-size: 1rem; flex: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Setup notice (only shown while checkout is not configured) ---------- */
.setup-notice { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); z-index: 60; max-width: min(92vw, 460px); background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 10px; font-size: .92rem; line-height: 1.45; box-shadow: 0 12px 32px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.setup-notice.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Simple pages (thank-you, legal) ---------- */
.simple-main { padding: clamp(40px, 7vw, 80px) 0 clamp(64px, 9vw, 104px); position: relative; }
.ty-card { max-width: 820px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md); padding: clamp(28px, 5vw, 56px); text-align: center; position: relative; }
.ty-icon { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--green-800); color: var(--gold-soft); box-shadow: 0 0 0 8px #e6eee8; }
.ty-icon svg { width: 34px; height: 34px; }
.ty-card h1 { font-size: clamp(2.1rem, 5.6vw, 3.2rem); }
.ty-card > .lede { max-width: 600px; margin: 0 auto 32px; }
.dl-list { display: grid; gap: 16px; text-align: left; margin: 0 0 32px; }
.dl-item { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ivory); }
.dl-item--primary { border-color: var(--gold-soft); background: #fbf5e8; }
.dl-item img { width: 96px; border-radius: 2px 4px 4px 2px; box-shadow: 0 6px 16px rgba(35,33,30,.22); }
.dl-item .tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.dl-item h2 { font-size: clamp(1.35rem, 3vw, 1.65rem); margin: 4px 0 4px; }
.dl-item p { margin: 0 0 14px; color: var(--muted); font-size: .95rem; font-style: italic; line-height: 1.45; }
.dl-item .btn { min-height: 52px; }
.steps { text-align: left; background: var(--ivory); border-radius: var(--radius-lg); padding: 24px 26px; border: 1px solid var(--line); margin-bottom: 20px; }
.steps h2 { font-size: 1.4rem; margin-bottom: 12px; }
.steps ol { list-style: none; counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 8px; line-height: 1.5; }
.steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-text); font-size: .8rem; font-weight: 600; display: grid; place-items: center; margin-top: 1px; }
.steps .tip { margin: 14px 0 0; font-size: .92rem; color: var(--muted); }
.privacy-note { text-align: left; display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: .95rem; color: var(--ink-soft); padding: 18px 20px; border-radius: var(--radius); background: #eef0ea; border: 1px solid #d5dccf; margin-bottom: 20px; }
.privacy-note svg { width: 22px; height: 22px; color: var(--green-700); margin-top: 2px; }
.support { font-size: .95rem; color: var(--muted); margin: 8px 0 0; }
.ty-companion { max-width: 820px; margin: 28px auto 0; display: grid; grid-template-columns: 70px 1fr; gap: 18px; align-items: center; padding: 20px 24px; border-radius: var(--radius-lg); border: 1px dashed var(--line); }
.ty-companion img { width: 70px; border-radius: 2px 3px 3px 2px; box-shadow: 0 4px 12px rgba(35,33,30,.18); }
.ty-companion p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

.legal { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.6rem; margin-top: 1.6em; }
.legal ul { padding-left: 22px; margin-bottom: 1em; }
.legal li { margin-bottom: 6px; }
.placeholder-box { border: 2px dashed #c9a35e; background: #fff8e8; border-radius: var(--radius); padding: 18px 20px; margin: 22px 0; font-size: .98rem; }
.placeholder-box strong { color: #7a4d00; }

/* ---------- Reveal on scroll (subtle, optional) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .parts { grid-template-columns: 1fr 1fr; }
  .excerpts { grid-template-columns: 1fr 1fr; }
  .excerpts .excerpt:last-child { grid-column: 1 / -1; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  :root { --gutter: 18px; }
  .hero-grid, .problem-grid, .solution-grid, .audience-grid, .companion { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: auto 1fr; column-gap: 18px; grid-template-areas: "top top" "visual benefits" "cta cta"; grid-template-rows: auto; align-items: center; }
  .hero-visual .book-pair { padding: 0 0 6px; }
  .hero-visual .book3d--back, .hero-visual .book-badge { display: none !important; }
  .hero-visual .book3d--front { --w: 128px; --t: 12px; --ry: -18deg; transform: none; }
  .hero .benefits { margin: 0; gap: 10px; }
  .hero .benefits li { font-size: .96rem; }
  .hero .lede { margin-bottom: 22px; }
  .hero-cta-wrap { margin-top: 24px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-cta { gap: 12px; }
  .extras { grid-template-columns: 1fr; }
  .offer-card { grid-template-columns: 1fr; }
  .offer-visual { padding: 34px 16px 20px; }
  .offer-visual .book-pair { transform: scale(.72); margin: -40px 0 -46px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .companion-visual { order: -1; }
  .companion-visual .book3d { --w: 200px; }
}
@media (max-width: 640px) {
  body { font-size: 1.03rem; }
  .parts, .excerpts, .diff-grid { grid-template-columns: 1fr; }
  .extra-list ul { grid-template-columns: 1fr; }
  .previews { grid-auto-columns: 62%; }
  .dl-item { grid-template-columns: 1fr; gap: 14px; padding: 22px 18px; text-align: center; justify-items: center; }
  .dl-item img { width: 92px; }
  .dl-item .btn { width: 100%; padding: 12px 16px; font-size: 1rem; }
  .ty-card { padding: 28px 18px; border-radius: 14px; }
  .questions li { padding: 18px 18px 18px 54px; }
  .offer-price .amount { font-size: 2.8rem; }
  .book-badge { display: none; }
}
@media (max-width: 360px) {
  .hero-visual .book3d--front { --w: 108px; }
  .hero .benefits li { font-size: .92rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
