:root {
  --paper: #FBF7F0;
  --paper-2: #F4EEE2;
  --ink: #1C1E26;
  --dark: #14171E;
  --dark-2: #1F2430;
  --gold: #C97B3D;
  --gold-soft: #E4B989;
  --coral: #D85A30;
  --coral-deep: #96371C;
  --teal: #1D9E75;
  --teal-deep: #0B5A46;
  --cream-on-dark: #F5EFE6;
  --muted: #6B6860;
  --muted-on-dark: #A9A499;
  --line: #E6E0D3;
  --line-dark: #2A2E38;
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}

/* ---------- announcement ---------- */
.announce {
  background: var(--dark);
  color: var(--gold-soft);
  text-align: center;
  font-size: 13px;
  padding: 9px 16px;
  letter-spacing: 0.02em;
}
.announce strong { color: var(--cream-on-dark); font-weight: 600; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(28, 30, 38, 0.06); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand svg { display: block; }
.brand .dot { color: var(--coral); }
.nav-links { display: flex; gap: 32px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: var(--paper);
  font-size: 14px; font-weight: 600;
  padding: 10px 22px; border-radius: 100px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav-cta:hover { background: var(--dark-2); transform: translateY(-1px); }

/* ---------- hero ---------- */
.hero {
  background: var(--dark);
  color: var(--cream-on-dark);
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
  padding: 96px 0 110px;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  margin-bottom: 22px;
  color: var(--cream-on-dark);
}
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero-sub {
  font-size: 18px; color: var(--muted-on-dark);
  max-width: 46ch; margin-bottom: 34px;
}
.hero-sub strong { color: var(--gold-soft); font-weight: 600; }
.hero-ctas { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: #16120C;
  font-size: 16px; font-weight: 700;
  padding: 16px 34px; border-radius: 100px;
  border: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 30px rgba(201, 123, 61, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); background: #D68A4C; box-shadow: 0 12px 36px rgba(201, 123, 61, 0.45); }
.btn-primary .arrow { transition: transform 0.2s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }
/* keep our styling when Payhip's overlay script adds its own button class */
a.btn-primary.payhip-buy-button {
  background: var(--gold); color: #16120C;
  font-family: var(--font-body); font-size: 16px; font-weight: 700;
  padding: 16px 34px; border-radius: 100px; border: none;
  box-shadow: 0 8px 30px rgba(201, 123, 61, 0.35);
}
a.btn-primary.payhip-buy-button:hover { background: #D68A4C; }
.hero-note { font-size: 13.5px; color: var(--muted-on-dark); }
.hero-note .stars { color: var(--gold-soft); letter-spacing: 2px; }

.hero-visual { position: relative; }
.hero-visual img {
  border-radius: 18px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
  transform: rotate(1.5deg);
}
.float-chip {
  position: absolute; left: -18px; bottom: 34px;
  background: var(--paper); color: var(--ink);
  border-radius: 14px; padding: 12px 18px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: flex; align-items: center; gap: 10px;
}
.float-chip .tick {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex: none;
}

/* ---------- stats strip ---------- */
.stats {
  background: var(--dark-2);
  border-top: 1px solid var(--line-dark);
  color: var(--cream-on-dark);
}
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 26px 0;
}
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--gold-soft); }
.stat span { font-size: 12.5px; color: var(--muted-on-dark); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* problem cards */
.cards-5 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.p-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.p-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28, 30, 38, 0.08); }
.p-card .glyph {
  width: 42px; height: 42px; border-radius: 12px;
  background: #FBEEE8; color: var(--coral-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 18px;
}
.p-card h3 { font-family: var(--font-body); font-size: 15.5px; font-weight: 700; margin-bottom: 6px; color: var(--coral-deep); }
.p-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* before / after */
.split {
  background: var(--dark);
  color: var(--cream-on-dark);
}
.split-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.split-inner img { border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,0.5); }
.split h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--cream-on-dark); margin-bottom: 18px; }
.split p { color: var(--muted-on-dark); margin-bottom: 16px; }
.split p strong { color: var(--gold-soft); font-weight: 600; }
.check-list { list-style: none; margin-top: 26px; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--cream-on-dark); }
.check-list .tick {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(29, 158, 117, 0.18); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex: none; margin-top: 2px;
}

/* inside the guide */
.chapters { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ch-list { display: grid; gap: 4px; }
.ch-row {
  display: flex; gap: 20px; align-items: baseline;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}
.ch-row:hover { background: rgba(201, 123, 61, 0.05); }
.ch-num { font-family: var(--font-display); font-size: 20px; color: var(--gold); font-weight: 600; min-width: 38px; }
.ch-row h3 { font-family: var(--font-body); font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.ch-row p { font-size: 14px; color: var(--muted); }
.pages-stack { position: relative; padding: 20px 0 0 20px; }
.pages-stack img {
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(28, 30, 38, 0.16);
}
.pages-stack .pg-back {
  position: absolute; top: 0; left: 0; width: 88%;
  transform: rotate(-3deg); opacity: 0.85;
}
.pages-stack .pg-front { position: relative; width: 88%; margin-left: auto; }

/* reviews */
.reviews { background: var(--paper-2); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.r-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px;
}
.r-card .stars { color: var(--gold); letter-spacing: 3px; font-size: 14px; margin-bottom: 14px; }
.r-card blockquote { font-size: 15px; line-height: 1.65; margin-bottom: 18px; }
.r-card .who { font-size: 13px; color: var(--muted); font-weight: 600; }
.r-card .who span { display: block; font-weight: 400; }

/* pricing */
.pricing-card {
  max-width: 520px; margin: 0 auto;
  background: var(--dark); color: var(--cream-on-dark);
  border-radius: 24px; padding: 48px 44px;
  text-align: center;
  box-shadow: 0 40px 90px rgba(20, 23, 30, 0.35);
  position: relative;
}
.pricing-card .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 100px;
}
.pricing-card h3 { font-size: 24px; margin-bottom: 6px; color: var(--cream-on-dark); }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin: 18px 0 6px; }
.price-old { font-size: 20px; color: var(--muted-on-dark); text-decoration: line-through; }
.price-now { font-family: var(--font-display); font-size: 56px; font-weight: 600; color: var(--gold-soft); }
.price-note { font-size: 13px; color: var(--muted-on-dark); margin-bottom: 26px; }
.pricing-list { list-style: none; text-align: left; display: grid; gap: 12px; margin: 0 auto 30px; max-width: 340px; }
.pricing-list li { display: flex; gap: 11px; font-size: 14.5px; align-items: flex-start; }
.pricing-list .tick { color: var(--teal); flex: none; margin-top: 1px; }
#buy-button-mount { display: flex; justify-content: center; }
.guarantee { margin-top: 18px; font-size: 13px; color: var(--muted-on-dark); }
.guarantee b { color: var(--cream-on-dark); }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 22px 4px;
}
.faq-list summary {
  font-weight: 600; font-size: 16.5px; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 22px; color: var(--gold); transition: transform 0.25s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 62ch; }

/* final CTA */
.final-cta { background: var(--dark); color: var(--cream-on-dark); text-align: center; }
.final-cta h2 { font-size: clamp(30px, 4vw, 46px); color: var(--cream-on-dark); margin-bottom: 16px; }
.final-cta h2 em { font-style: italic; color: var(--gold-soft); }
.final-cta p { color: var(--muted-on-dark); margin-bottom: 32px; }

/* footer */
footer { background: var(--dark); color: var(--muted-on-dark); border-top: 1px solid var(--line-dark); }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 34px 0; font-size: 13.5px; flex-wrap: wrap; gap: 16px;
}
.footer-inner .brand { font-size: 16px; color: var(--cream-on-dark); }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--cream-on-dark); }

/* reveal animation — transform only, content never hidden */
.reveal { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
  .reveal.pending { transform: translateY(30px); }
}

/* responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 80px; gap: 40px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .split-inner, .chapters { grid-template-columns: 1fr; gap: 40px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .nav-links { display: none; }
  section { padding: 68px 0; }
}
