/* ============================================================
   Gerald Whitlock — Shared design system
   Reference: Age UK / MoneyHelper / Which? guide pages
   Used by every page in the funnel.
   ============================================================ */

:root {
  --navy: #0F1B2C;
  --navy-2: #16243C;
  --ink: #1F2937;
  --muted: #4B5563;
  --rule: #CFC7B3;
  --cream: #FAF7F0;
  --cream-2: #F2EDDF;
  --cream-3: #F7F2E5;
  --gold: #8C7434;
  --gold-soft: #B89F62;
  --paper: #FFFFFF;
  --error: #8B1E1E;
  --success: #1F5C3D;

  --font-serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --max: 1080px;
  --max-prose: 720px;
  --max-narrow: 600px;
  --radius: 4px;
  --shadow: 0 1px 0 rgba(15,27,44,0.04), 0 4px 18px -8px rgba(15,27,44,0.08);
  --shadow-strong: 0 4px 12px -2px rgba(15,27,44,0.08), 0 16px 32px -12px rgba(15,27,44,0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }

/* ---------- Layout ---------- */
.shell { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.shell-narrow { max-width: var(--max-prose); margin: 0 auto; padding: 0 24px; }
.shell-tight { max-width: var(--max-narrow); margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar {
  border-bottom: 1px solid var(--rule);
  background: var(--cream);
  padding: 18px 0;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-serif);
  color: var(--muted);
  font-size: 14px;
}
.brand {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--navy);
  text-decoration: none;
}
.brand:hover { color: var(--gold); }
.topbar-meta { font-size: 13px; font-family: var(--font-sans); color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 80px; border-bottom: 1px solid var(--rule); }
.hero-kicker {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-headline {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 58px);
  line-height: 1.08;
  color: var(--navy);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.hero-headline.wide { max-width: 22ch; }
.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 50px;
  max-width: 56ch;
  font-style: italic;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ---------- Book mockup (landing page) ---------- */
.book-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
}
.book-mockup {
  display: block;
  max-width: 100%;
  width: 380px;
  height: auto;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.book-mockup:hover { transform: translateY(-4px); }

.book-caption {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--muted);
  margin: 18px 0 0;
  line-height: 1.55;
}
.book-caption strong { font-style: normal; color: var(--ink); font-weight: 600; }

/* ---------- Forms ---------- */
.optin {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.optin h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.optin .optin-lede {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 28px;
  line-height: 1.55;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 17px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
  min-height: 52px;
}
.field input::placeholder { color: #9ca3af; }
.field input:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(15,27,44,0.08);
}

.btn-primary {
  display: inline-block;
  width: 100%;
  background: var(--navy);
  color: var(--paper);
  border: 1px solid var(--navy);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  padding: 16px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
  min-height: 56px;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.005em;
}
.btn-primary:hover { background: #1a2840; color: var(--paper); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }
.btn-primary[disabled] { opacity: 0.6; cursor: wait; }

.btn-large {
  font-size: 18px;
  padding: 20px 28px;
  min-height: 64px;
}

.optin-micro {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.55;
  margin: 18px 0 0;
}
.optin-error {
  background: #fdf3f3;
  border: 1px solid #f3c4c4;
  color: var(--error);
  padding: 10px 14px;
  font-size: 14.5px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: none;
}
.optin-error.visible { display: block; }
.optin-success {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--navy);
  line-height: 1.6;
  display: none;
}
.optin-success.visible { display: block; }

/* ---------- Section ---------- */
.section { padding: 80px 0; border-bottom: 1px solid var(--rule); }
.section.dark { background: var(--cream-2); }
.section h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 38px);
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.section h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 24px;
  color: var(--navy);
  margin: 28px 0 12px;
  letter-spacing: -0.01em;
}
.section .section-intro {
  font-family: var(--font-serif);
  font-size: 18.5px;
  color: var(--muted);
  margin: 0 0 40px;
  line-height: 1.6;
  max-width: 56ch;
}

/* ---------- Prose (long-form body content) ---------- */
.prose {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.72;
  color: var(--ink);
}
.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose em { font-style: italic; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 26px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 22px;
  margin: 24px 0;
  font-style: italic;
  color: var(--muted);
}

/* Pull-out treatment for Gerald-voice sections */
.pullout {
  background: var(--cream-2);
  border-left: 3px solid var(--gold);
  padding: 32px 36px;
  margin: 32px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pullout p { margin: 0 0 14px; font-family: var(--font-serif); font-size: 18.5px; line-height: 1.7; }
.pullout p:last-child { margin: 0; }
.pullout .signoff {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--navy);
  margin-top: 18px;
  font-size: 17px;
}

/* ---------- Contents list (landing) ---------- */
.contents-list {
  list-style: none;
  margin: 0; padding: 0;
  counter-reset: items;
}
.contents-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  counter-increment: items;
}
.contents-list li:last-child { border-bottom: 1px solid var(--rule); }
.contents-list li::before {
  content: counter(items, decimal-leading-zero);
  font-family: var(--font-serif);
  font-variant-numeric: lining-nums;
  font-size: 30px;
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
}
.contents-list .item-title {
  font-family: var(--font-serif);
  font-size: 21px;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 4px;
}
.contents-list .item-desc {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ---------- About Gerald ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 60ch;
}
.about-grid p {
  font-family: var(--font-serif);
  font-size: 18.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}

/* ---------- Product cards (bundle page) ---------- */
.product-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin: 40px 0;
}
.product-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 36px 38px;
  position: relative;
}
.product-card .card-num {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 12px;
}
.product-card h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.product-card .card-sub {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 20px;
  line-height: 1.5;
}
.product-card ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.product-card li {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  padding: 10px 0 10px 24px;
  position: relative;
  border-top: 1px solid var(--cream-2);
}
.product-card li:first-child { border-top: 0; }
.product-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--gold);
  font-weight: 600;
}
.product-card .card-price {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.product-card .card-price strong {
  color: var(--navy);
  font-weight: 600;
}
.product-card.bundle-only {
  background: var(--cream-2);
}
.product-card.bundle-only::after {
  content: "BUNDLE ONLY";
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--gold);
  background: var(--paper);
  padding: 4px 10px;
  border: 1px solid var(--gold-soft);
  border-radius: 2px;
}

/* ---------- Buy panel ---------- */
.buy-panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.buy-panel h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.buy-panel ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.buy-panel li {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--ink);
  padding: 8px 0 8px 24px;
  position: relative;
  line-height: 1.5;
}
.buy-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--gold);
  font-weight: 700;
}
.buy-panel .price {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 6px;
}
.buy-panel .price-big {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.buy-panel .checkout-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  margin: 14px 0 0;
  line-height: 1.5;
  text-align: center;
}

/* ---------- Centred buy panel (final CTA) ---------- */
.buy-centred {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- Big CTA section ---------- */
.cta-section {
  padding: 80px 0;
  background: var(--cream-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.cta-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.cta-section .cta-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 36px;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

/* ---------- FAQ accordion ---------- */
.faq {
  margin: 32px 0;
}
.faq details {
  border-top: 1px solid var(--rule);
  padding: 0;
}
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  padding: 22px 36px 22px 0;
  list-style: none;
  position: relative;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq-body {
  padding: 0 0 22px;
  font-family: var(--font-serif);
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink);
}
.faq .faq-body p { margin: 0 0 14px; }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- Video frame ---------- */
.video-frame {
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
  margin: 32px 0;
  box-shadow: var(--shadow-strong);
}
.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-frame .video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: var(--cream);
  padding: 20px;
}
.video-frame .video-placeholder .vp-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 2px solid var(--gold-soft);
}
.video-frame .video-placeholder .vp-icon::before {
  content: "▶";
  color: var(--gold-soft);
  font-size: 28px;
  margin-left: 6px;
}
.video-frame .video-placeholder p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  margin: 0;
  color: rgba(250, 247, 240, 0.7);
  max-width: 30ch;
}

/* ---------- Confirmation/welcome state ---------- */
.state-block {
  padding: 64px 0 48px;
}
.state-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream-2);
  border: 1px solid var(--rule);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 28px;
}
.state-block h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.state-block .state-lede {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 56ch;
}

/* Number list inside state blocks */
.numbered-steps {
  margin: 32px 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.numbered-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 16px;
  counter-increment: step;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
}
.numbered-steps li::before {
  content: counter(step);
  font-family: var(--font-serif);
  font-variant-numeric: lining-nums;
  font-size: 22px;
  color: var(--gold);
  font-weight: 500;
  text-align: center;
  background: var(--cream-2);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Footer ---------- */
.foot {
  padding: 56px 0 80px;
  background: var(--cream-2);
  border-top: 1px solid var(--rule);
}
.foot-inner {
  font-family: var(--font-serif);
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}
.foot-copy {
  display: flex; flex-wrap: wrap; gap: 20px;
  margin-bottom: 24px;
  font-family: var(--font-sans);
  font-size: 14px;
}
.foot-copy a { color: var(--muted); }
.foot-disclosure {
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  font-style: italic;
  max-width: 75ch;
}
.foot-disclosure p { margin: 0 0 12px; }
.foot-disclosure p:last-child { margin: 0; }

/* ---------- Legal pages (Privacy, Terms, Refund, Disclaimers) ---------- */
.legal-page {
  padding: 56px 0 80px;
}
.legal-page h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 40px;
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.legal-page .legal-meta {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 40px;
}
.legal-page h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 24px;
  color: var(--navy);
  margin: 36px 0 12px;
  letter-spacing: -0.005em;
}
.legal-page h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--navy);
  margin: 24px 0 8px;
}
.legal-page p, .legal-page li {
  font-family: var(--font-serif);
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 16px;
}
.legal-page ul, .legal-page ol { padding-left: 22px; margin: 0 0 20px; }
.legal-page li { margin-bottom: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { padding: 44px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .book-stage { padding: 4px 0 8px; }
  .book-mockup { width: 260px; }
  .optin, .buy-panel { padding: 28px 22px; }
  .section { padding: 56px 0; }
  body { font-size: 17px; }
  .contents-list li { grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; }
  .contents-list li::before { font-size: 24px; }
  .contents-list .item-title { font-size: 19px; }
  .contents-list .item-desc { font-size: 16px; }
  .topbar-meta { display: none; }
  .product-card { padding: 28px 24px; }
  .pullout { padding: 26px 24px; }
  .cta-section { padding: 56px 0; }
  .legal-page h1 { font-size: 32px; }
}

@media (max-width: 480px) {
  .shell { padding: 0 18px; }
  .hero-headline { font-size: clamp(28px, 8vw, 38px); }
  .book-mockup { width: 220px; }
  .state-block h1 { font-size: 28px; }
  .buy-panel .price-big { font-size: 36px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .book-mockup { transition: none; }
}

/* ---------- Print ---------- */
@media print {
  .optin, .topbar, .buy-panel { display: none; }
}

/* ============================================================
   BUNDLE SHOWCASE — 6-book grid with LIBRARY EXCLUSIVE seals
   Used on 04_bundle_sales.html
   ============================================================ */

.bundle-showcase {
  margin: 56px 0 24px;
}
.bundle-showcase-header {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 64ch;
}
.bundle-showcase-header h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 42px);
  color: var(--navy);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.bundle-showcase-header p {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  font-style: italic;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 48px;
  padding: 12px 0;
  max-width: 880px;
  margin: 0 auto;
}

.book-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.book-tile .book-image {
  position: relative;
  width: 100%;
  max-width: 260px;
  margin: 0 auto 22px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.book-tile:hover .book-image { transform: translateY(-6px); }

.book-tile .book-image img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(15,27,44,0.18));
}

.book-tile .book-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -0.005em;
  max-width: 22ch;
}

.book-tile .book-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.45;
  max-width: 28ch;
}

.book-tile .book-price {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--cream-2);
  border-radius: 100px;
  display: inline-block;
}

.book-tile.exclusive .book-price {
  color: var(--gold);
  background: var(--paper);
  border: 1px solid var(--gold-soft);
  font-weight: 600;
}

/* ---------- LIBRARY EXCLUSIVE seal ---------- */
.exclusive-seal {
  position: absolute;
  top: -12px;
  right: -16px;
  z-index: 2;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
              #D9BC6E 0%,
              var(--gold) 35%,
              #6E5A28 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow:
    0 4px 14px rgba(140, 116, 52, 0.4),
    inset 0 -3px 8px rgba(0,0,0,0.25),
    inset 0 3px 8px rgba(255,235,180,0.4);
  transform: rotate(-12deg);
  border: 2px solid #B89F62;
}
.exclusive-seal::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.18);
  pointer-events: none;
}
.exclusive-seal-text {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2A1E08;
  text-transform: uppercase;
  line-height: 1.1;
  padding: 0 4px;
  text-shadow: 0 1px 0 rgba(255,235,180,0.4);
}

/* ---------- Bundle hero override ---------- */
.bundle-hero .book-mockup {
  width: 700px;
  max-width: 100%;
}

@media (max-width: 860px) {
  .book-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
  .book-tile .book-image { max-width: 200px; }
  .exclusive-seal {
    width: 76px; height: 76px;
    top: -8px; right: -8px;
  }
  .exclusive-seal-text { font-size: 8.5px; }
  .bundle-hero .book-mockup { width: 280px; }
}

@media (max-width: 480px) {
  .book-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .book-tile .book-image { max-width: 220px; }
}

/* ============================================================
   HOMEPAGE — the discovery/hype page
   ============================================================ */

.home-hero {
  background: var(--cream);
  padding: 56px 0 36px;
  text-align: center;
}
.home-kicker {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 22px;
}
.home-headline {
  font-family: var(--font-serif);
  font-size: 58px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 auto 24px;
  letter-spacing: -0.02em;
  line-height: 1.08;
  max-width: 18ch;
}
.home-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 auto;
  max-width: 58ch;
}

.home-section {
  padding: 70px 0;
  background: var(--cream);
}
.home-section-tight {
  padding: 30px 0 80px;
}
.home-section-quiet {
  background: var(--cream-2);
}
.home-section-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 14px;
  text-align: center;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.home-section-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 auto 60px;
  text-align: center;
  max-width: 60ch;
}
.home-prose {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 20px;
}

/* The 6-book home grid */
.home-book-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px 64px;
  max-width: 1000px;
  margin: 0 auto;
}
.home-book {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
  position: relative;
}
.home-book:hover {
  transform: translateY(-4px);
}
.home-book-image {
  margin-bottom: 22px;
  max-width: 100%;
}
.home-book-image img {
  width: 100%;
  height: auto;
  display: block;
}
.home-book-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.home-book-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.home-book-title-row .home-book-title {
  margin: 0;
  flex: 1;
}
.home-book-pill {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--cream-3);
  border: 1px solid var(--rule);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 4px;
}
.home-book-sub {
  font-family: var(--font-serif);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  font-style: italic;
}

/* Bundle CTA section — hand-drawn curve flowing into the holy bundle */
.home-bundle-cta-section {
  background: var(--cream);
  padding: 40px 0 80px;
  text-align: center;
}

/* The stage — relative anchor for the bundle and the curve */
.home-bundle-stage {
  display: inline-block;
  position: relative;
  padding-top: 60px;
}

/* Label + arrow, positioned absolutely at top-right of the bundle */
.home-curve-wrap {
  position: absolute;
  top: 0;
  right: -40px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  z-index: 3;
  pointer-events: none;
}
.home-curve-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: -0.01em;
  padding-top: 18px;
  order: 1;
}
.home-curve-svg-wrap {
  color: var(--gold);
  animation: gentle-breathe 3s ease-in-out infinite;
  display: flex;
  align-items: flex-start;
  order: 2;
}
.home-curve-arrow {
  width: 90px;
  height: 150px;
  display: block;
  /* Flip horizontally so the arrow curves down-LEFT toward the bundle */
  transform: scaleX(-1);
}

@keyframes gentle-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* The "holy" bundle */
.home-bundle-holy {
  display: block;
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform 0.3s ease;
  padding: 30px 40px 0;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}
.home-bundle-holy:hover {
  transform: translateY(-6px) scale(1.02);
}
.home-bundle-holy:hover .home-bundle-holy-label {
  color: var(--gold);
}
.home-bundle-holy-image {
  position: relative;
  margin: 0 auto 28px;
  max-width: 700px;
}
.home-bundle-holy-image::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(212, 178, 95, 0.25) 0%, rgba(212, 178, 95, 0) 70%);
  z-index: 0;
  pointer-events: none;
}
.home-bundle-holy-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(15, 27, 44, 0.4));
  transition: filter 0.3s ease;
}
.home-bundle-holy:hover .home-bundle-holy-image img {
  filter: drop-shadow(0 40px 80px rgba(15, 27, 44, 0.5));
}
.home-bundle-holy-label {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: color 0.2s ease;
}
.home-bundle-holy-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
  margin: 0 auto;
  line-height: 1.55;
  max-width: 56ch;
}

/* Mobile */
@media (max-width: 860px) {
  .home-hero { padding: 60px 0 40px; }
  .home-headline { font-size: 38px; }
  .home-sub { font-size: 17px; }
  .home-section { padding: 60px 0; }
  .home-section-title { font-size: 30px; }
  .home-section-sub { font-size: 17px; margin-bottom: 40px; }
  .home-book-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 380px;
  }
  .home-book-title { font-size: 21px; }
  .home-book-title-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-book-pill { margin-top: 0; margin-bottom: 6px; order: -1; }
}

@media (max-width: 760px) {
  .home-bundle-cta-section { padding: 40px 0 80px; }
  .home-bundle-stage { padding-top: 40px; }
  .home-curve-wrap {
    right: -10px;
    gap: 6px;
  }
  .home-curve-label {
    font-size: 17px;
    padding-top: 12px;
  }
  .home-curve-arrow { width: 56px; height: 95px; }
  .home-bundle-holy-image { max-width: 240px; }
  .home-bundle-holy-label { font-size: 26px; }
  .home-bundle-holy-sub { font-size: 16px; }
}

/* Reduced motion: turn off the breathing animation */
@media (prefers-reduced-motion: reduce) {
  .home-curve-svg-wrap {
    animation: none;
  }
}

/* Lead magnet section at bottom of homepage */
.home-free-section {
  background: var(--cream-2);
  padding: 80px 0;
}
.home-free-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 56px 48px;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
  box-shadow: 0 1px 0 rgba(15,27,44,0.04), 0 4px 18px -8px rgba(15,27,44,0.08);
}
.home-free-kicker {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 14px;
}
.home-free-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.home-free-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 28px;
  line-height: 1.55;
}
.home-free-button {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  background: transparent;
  border: 1.5px solid var(--navy);
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.home-free-button:hover {
  background: var(--navy);
  color: var(--cream);
}

@media (max-width: 760px) {
  .home-free-section { padding: 50px 0; }
  .home-free-card { padding: 40px 28px; }
  .home-free-title { font-size: 26px; }
  .home-free-sub { font-size: 16px; }
}


/* ============================================================
   HOMEPAGE — BUNDLE CTA BAND (the second CTA, after Gerald's bio)
   ============================================================ */
.home-bundle-band {
  background: var(--navy);
  color: var(--cream);
  padding: 70px 0;
  text-align: center;
}
.home-bundle-band-inner {
  text-align: center;
}
.home-bundle-band-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  color: var(--cream);
  margin: 0 0 12px;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.home-bundle-band-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  color: rgba(250, 247, 240, 0.78);
  margin: 0 0 32px;
  line-height: 1.5;
}
.home-bundle-band-button {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  background: var(--gold-soft);
  padding: 16px 36px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.home-bundle-band-button:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .home-bundle-band { padding: 50px 0; }
  .home-bundle-band-title { font-size: 28px; }
  .home-bundle-band-sub { font-size: 17px; }
}

/* Tighten free-guide section since it now sits next to the bundle band */
.home-free-section {
  padding: 50px 0 70px;
}
@media (max-width: 760px) {
  .home-free-section { padding: 40px 0 50px; }
}

/* Strikethrough price block on bundle CTA */
.home-bundle-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 18px;
  margin: 0 0 16px;
}
.home-bundle-price-old {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(75, 85, 99, 0.7);
  font-weight: 400;
}
.home-bundle-price-new {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}

/* CTA button inside the bundle CTA block */
.home-bundle-cta-button {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream);
  background: var(--navy);
  padding: 18px 40px;
  border-radius: 4px;
  margin-top: 24px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.home-bundle-holy:hover .home-bundle-cta-button {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .home-bundle-price-old { font-size: 22px; }
  .home-bundle-price-new { font-size: 44px; }
  .home-bundle-cta-button { font-size: 15px; padding: 14px 30px; }
}
