/* =========================================================================
   The $3 Luxury Candle — by Candice
   Warm, artisanal candle-maker palette (cream / espresso / beeswax / lavender)
   Pure CSS design system. No build step.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --cream:        #FBF5E9;  /* page background */
  --cream-2:      #F4EAD6;  /* alt section background */
  --card:         #FFFDF7;  /* cards / panels */
  --card-warm:    #FBF3E2;  /* warm card */

  /* Ink */
  --ink:          #2E2419;  /* primary text (espresso) */
  --ink-soft:     #5C4F3E;  /* secondary text */
  --ink-faint:    #8C7C66;  /* muted text */

  /* Accents */
  --honey:        #C8923D;  /* beeswax gold */
  --honey-deep:   #A8741F;  /* darker gold */
  --amber:        #C2772A;  /* CTA amber */
  --amber-bright: #D99A3C;  /* CTA gradient top */
  --flame:        #E8A23D;  /* candle flame highlight */
  --lavender:     #8B7AB8;  /* secondary accent */
  --lavender-2:   #6F5E9C;  /* lavender deep */
  --lavender-bg:  #EFEAF6;  /* lavender tint */
  --sage:         #8DA17C;  /* herb green */

  /* Lines & shadow */
  --border:       #E7D9BE;
  --border-soft:  #EFE5CF;
  --shadow-sm:    0 2px 8px rgba(70, 52, 24, .08);
  --shadow-md:    0 10px 30px rgba(70, 52, 24, .12);
  --shadow-lg:    0 24px 60px rgba(70, 52, 24, .18);
  --glow-amber:   0 12px 30px rgba(194, 119, 42, .35);

  /* Type */
  --serif: "Fraunces", "Hoefler Text", Georgia, "Times New Roman", serif;
  --sans:  "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1120px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--honey-deep); text-decoration: none; }
a:hover { color: var(--amber); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; color: var(--ink); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
strong { color: var(--ink); font-weight: 800; }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.bg-cream2 { background: var(--cream-2); }
.bg-lav { background: var(--lavender-bg); }
.bg-ink { background: var(--ink); color: var(--cream); }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 800;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin-bottom: 14px;
}
.bg-ink .eyebrow { color: var(--flame); }
.section-title { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: .35em; }
.section-lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 640px; }
.center .section-lead { margin-left: auto; margin-right: auto; }
.divider-leaf { font-size: 1.3rem; color: var(--honey); letter-spacing: .4em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.06rem;
  line-height: 1;
  padding: 18px 34px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--amber-bright), var(--amber));
  color: #fff;
  box-shadow: var(--glow-amber);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 38px rgba(194,119,42,.45); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--border);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--honey); background: var(--card-warm); }
.btn-lg { font-size: 1.18rem; padding: 21px 44px; }
.btn-block { display: flex; width: 100%; }
.btn .sub { font-weight: 700; opacity: .85; font-size: .82em; }

/* ---------- Trust badges row ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.center .badges { justify-content: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .98rem; color: var(--ink-soft); }
.badge .ic { color: var(--honey-deep); font-size: 1.15rem; }
.stars { color: var(--flame); letter-spacing: 1px; }

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,245,233,.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .flame-mark { width: 26px; height: 26px; flex: 0 0 auto; }
.brand small { display: block; font-family: var(--sans); font-weight: 700; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--honey-deep); margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); font-weight: 700; font-size: .96rem; }
.nav-links a:hover { color: var(--amber); }
.nav-cta { padding: 12px 24px; font-size: .96rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* announcement bar */
.announce {
  background: linear-gradient(90deg, var(--lavender-2), var(--lavender));
  color: #fff; text-align: center; font-weight: 700; font-size: .9rem;
  padding: 9px 16px;
}
.announce strong { color: #fff; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; overflow: hidden; padding: 70px 0 80px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(232,162,61,.22), transparent 60%),
    radial-gradient(900px 520px at 0% 110%, rgba(139,122,184,.16), transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); letter-spacing: -.01em; margin-bottom: .35em; }
.hero h1 .hl { color: var(--honey-deep); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .26em;
  background: rgba(232,162,61,.32); border-radius: 4px; z-index: -1;
}
.hero-lead { font-size: 1.24rem; color: var(--ink-soft); max-width: 560px; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-note { font-size: .92rem; color: var(--ink-faint); margin-bottom: 26px; }
.hero-note strong { color: var(--ink-soft); }

/* Book cover presentation */
.book-stage { position: relative; display: flex; justify-content: center; }
.book-glow { position: absolute; inset: -8% -4% -12%; background: radial-gradient(closest-side, rgba(232,162,61,.35), transparent 70%); filter: blur(6px); z-index: 0; }
.book {
  position: relative; z-index: 1; width: min(360px, 86%);
  border-radius: 8px 14px 14px 8px;
  box-shadow: var(--shadow-lg), -10px 0 0 rgba(0,0,0,.06);
  transform: rotate(-2.2deg);
  transition: transform .4s ease;
  background: var(--card);
}
.book:hover { transform: rotate(0deg) translateY(-4px); }
.book-badge {
  position: absolute; z-index: 2; right: -8px; top: -18px;
  width: 102px; height: 102px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-bright), var(--amber));
  color: #fff; display: grid; place-content: center; text-align: center;
  font-family: var(--serif); line-height: 1; transform: rotate(8deg);
  box-shadow: var(--shadow-md);
}
.book-badge b { display: block; font-size: 1.9rem; }
.book-badge span { font-size: .62rem; font-family: var(--sans); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; }

/* =========================================================================
   THE BOOK / VALUE STACK
   ========================================================================= */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.feature {
  background: var(--card); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.feature .fic {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-content: center;
  background: var(--lavender-bg); color: var(--lavender-2); font-size: 1.4rem; margin-bottom: 14px;
}
.feature h3 { font-size: 1.22rem; margin-bottom: .3em; }
.feature p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* value stack panel */
.stack {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md);
  max-width: 640px; margin: 44px auto 0;
}
.stack h3 { font-size: 1.5rem; text-align: center; margin-bottom: 8px; }
.stack-sub { text-align: center; color: var(--ink-faint); margin-bottom: 22px; font-size: .98rem; }
.stack-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--border); }
.stack-row .label { display: flex; align-items: baseline; gap: 10px; }
.stack-row .tag { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lavender-2); background: var(--lavender-bg); padding: 3px 8px; border-radius: 6px; }
.stack-row .val { font-weight: 800; color: var(--ink-soft); white-space: nowrap; }
.stack-row .val s { color: var(--ink-faint); font-weight: 700; }
.stack-total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 18px; margin-top: 4px; }
.stack-total .t-label { font-family: var(--serif); font-size: 1.2rem; }
.stack-total .t-old { color: var(--ink-faint); text-decoration: line-through; font-weight: 700; margin-right: 10px; }
.stack-total .t-now { font-family: var(--serif); font-size: 2.2rem; color: var(--honey-deep); }
.stack .btn { margin-top: 22px; }
.stack-fine { text-align: center; font-size: .85rem; color: var(--ink-faint); margin: 14px 0 0; }

/* =========================================================================
   THE MATH
   ========================================================================= */
.math-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; margin-top: 16px; }
.cost-card {
  border-radius: var(--radius); padding: 30px; border: 1px solid var(--border-soft);
  background: var(--card); box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column;
}
.cost-card.is-retail { background: var(--card-warm); }
.cost-card.is-yours { border: 2px solid var(--honey); box-shadow: var(--shadow-md); }
.cost-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.cost-card .price-big { font-family: var(--serif); font-size: 3rem; line-height: 1; margin: 6px 0 2px; }
.cost-card.is-retail .price-big { color: var(--ink-faint); }
.cost-card.is-yours .price-big { color: var(--honey-deep); }
.cost-card .price-cap { color: var(--ink-faint); font-size: .92rem; margin-bottom: 18px; }
.cost-list { list-style: none; }
.cost-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--border); color: var(--ink-soft); font-size: 1rem; }
.cost-list li span:last-child { font-weight: 800; color: var(--ink); white-space: nowrap; }
.cost-list li.is-sum { border-bottom: 0; font-weight: 800; color: var(--ink); padding-top: 13px; }
.savings-banner {
  margin-top: 30px; text-align: center; background: var(--ink); color: var(--cream);
  border-radius: var(--radius); padding: 30px 26px;
}
.savings-banner .big { font-family: var(--serif); font-size: clamp(1.6rem,3.4vw,2.4rem); color: #fff; margin-bottom: 6px; }
.savings-banner .big em { color: var(--flame); font-style: normal; }
.savings-banner p { color: rgba(251,245,233,.8); margin: 0; max-width: 620px; margin-inline: auto; font-size: 1rem; }

/* =========================================================================
   WHAT'S INSIDE (chapters)
   ========================================================================= */
.parts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 16px; }
.part {
  background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 26px 26px 24px; box-shadow: var(--shadow-sm);
}
.part .pnum { font-family: var(--serif); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--honey-deep); }
.part h3 { font-size: 1.3rem; margin: 4px 0 12px; }
.part ul { list-style: none; }
.part li { position: relative; padding: 6px 0 6px 26px; color: var(--ink-soft); font-size: 1rem; }
.part li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--honey); }
.part li b { color: var(--ink); }
.part.highlight { border: 2px solid var(--lavender); background: var(--lavender-bg); }
.part.highlight .pnum { color: var(--lavender-2); }
.spec-row { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: center; margin-top: 40px; }
.spec { text-align: center; }
.spec b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--honey-deep); line-height: 1; }
.spec span { font-size: .9rem; color: var(--ink-faint); font-weight: 700; }

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 16px; }
.review {
  background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.review .stars { font-size: 1.05rem; margin-bottom: 12px; }
.review blockquote { margin: 0 0 18px; font-size: 1.04rem; color: var(--ink); }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .ava { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--honey), var(--lavender)); color: #fff; display: grid; place-content: center; font-family: var(--serif); font-weight: 700; }
.review .who b { display: block; font-size: .98rem; }
.review .who span { font-size: .85rem; color: var(--ink-faint); }

/* =========================================================================
   ABOUT
   ========================================================================= */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.about-photo .ribbon {
  position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%);
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  border-radius: 999px; padding: 10px 22px; font-weight: 800; color: var(--ink-soft); font-size: .92rem; white-space: nowrap;
}
.about-photo .ribbon b { color: var(--honey-deep); }
.about h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.about p { color: var(--ink-soft); }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--ink); margin-top: 6px; }

/* =========================================================================
   ORDER / PRICING block
   ========================================================================= */
.order-card {
  max-width: 720px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.order-top { background: var(--ink); color: var(--cream); padding: 30px; text-align: center; }
.order-top .price { font-family: var(--serif); font-size: 3.6rem; line-height: 1; color: #fff; }
.order-top .price s { font-size: 1.6rem; color: rgba(251,245,233,.55); margin-right: 12px; }
.order-top .price .cur { font-size: 1.8rem; vertical-align: super; }
.order-top .pill { display: inline-block; background: var(--flame); color: var(--ink); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.order-body { padding: 30px; }
.order-incl { list-style: none; margin-bottom: 22px; }
.order-incl li { position: relative; padding: 8px 0 8px 32px; color: var(--ink-soft); }
.order-incl li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; background: var(--honey); color: #fff; border-radius: 50%; display: grid; place-content: center; font-size: .8rem; font-weight: 900; }
.order-incl li b { color: var(--ink); }
.pay-row { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; color: var(--ink-faint); font-size: .85rem; }
.pay-row .chip { border: 1px solid var(--border); border-radius: 7px; padding: 5px 10px; font-weight: 800; font-size: .72rem; color: var(--ink-soft); background: var(--cream); letter-spacing: .03em; }
.guarantee-line { display: flex; gap: 14px; align-items: center; justify-content: center; margin-top: 16px; color: var(--ink-soft); font-size: .95rem; }
.guarantee-line .seal { font-size: 1.6rem; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { max-width: 760px; margin: 16px auto 0; }
.qa { border-bottom: 1px solid var(--border); }
.qa button {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: 1.2rem; color: var(--ink); font-weight: 600;
  padding: 22px 44px 22px 0; position: relative;
}
.qa button::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; color: var(--honey-deep); transition: transform .2s; }
.qa.open button::after { content: "–"; }
.qa .a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.qa .a p { padding-bottom: 22px; color: var(--ink-soft); margin: 0; }
.qa.open .a p { padding-bottom: 22px; }

/* =========================================================================
   FINAL CTA / FOOTER
   ========================================================================= */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; }
.final-cta p { color: rgba(251,245,233,.82); max-width: 600px; margin: 0 auto 28px; font-size: 1.15rem; }
.bg-ink .btn-ghost { color: var(--cream); border-color: rgba(251,245,233,.4); }
.bg-ink .btn-ghost:hover { color: #fff; border-color: var(--flame); background: rgba(255,255,255,.06); }

.site-footer { background: #241C13; color: rgba(251,245,233,.7); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: var(--cream); font-family: var(--sans); font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: rgba(251,245,233,.7); display: block; padding: 5px 0; font-size: .96rem; }
.site-footer a:hover { color: var(--flame); }
.footer-brand .brand { color: var(--cream); margin-bottom: 12px; }
.footer-brand .brand small { color: var(--flame); }
.footer-brand p { font-size: .94rem; max-width: 280px; }
.footer-bottom { border-top: 1px solid rgba(251,245,233,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; color: rgba(251,245,233,.5); }
.footer-bottom a { display: inline; color: rgba(251,245,233,.5); }
.disclaimer-mini { font-size: .8rem; color: rgba(251,245,233,.4); margin-top: 14px; max-width: 720px; }

/* =========================================================================
   EXIT-INTENT MODAL
   ========================================================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(46,36,25,.6);
  backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.show { display: flex; animation: fade .25s ease; }
.modal {
  background: var(--cream); border-radius: var(--radius-lg); max-width: 480px; width: 100%;
  padding: 40px 34px; text-align: center; box-shadow: var(--shadow-lg); position: relative;
  border: 1px solid var(--border); animation: pop .3s ease;
}
.modal .x { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 1.6rem; color: var(--ink-faint); cursor: pointer; line-height: 1; }
.modal .x:hover { color: var(--ink); }
.modal .flame-mark { width: 44px; height: 44px; margin: 0 auto 12px; }
.modal h3 { font-size: 1.7rem; margin-bottom: 8px; }
.modal p { color: var(--ink-soft); margin-bottom: 20px; }
.modal .btn { width: 100%; }
.modal .skip { display: inline-block; margin-top: 14px; font-size: .9rem; color: var(--ink-faint); background: none; border: 0; cursor: pointer; text-decoration: underline; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

/* =========================================================================
   COUNTDOWN
   ========================================================================= */
.countdown { display: inline-flex; gap: 8px; align-items: center; }
.countdown .unit { background: rgba(255,255,255,.16); border-radius: 8px; padding: 3px 8px; min-width: 38px; text-align: center; }
.countdown .unit b { display: block; font-size: 1.05rem; line-height: 1.1; }
.countdown .unit span { font-size: .56rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }

/* =========================================================================
   LEGAL / SIMPLE PAGES
   ========================================================================= */
.doc { max-width: 760px; margin: 0 auto; padding: 70px 22px 90px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 6px; }
.doc .updated { color: var(--ink-faint); font-size: .92rem; margin-bottom: 36px; }
.doc h2 { font-size: 1.4rem; margin: 34px 0 10px; }
.doc h3 { font-size: 1.12rem; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul { padding-left: 22px; margin-bottom: 1em; }
.doc li { margin-bottom: 6px; }
.callout {
  background: var(--card-warm); border-left: 4px solid var(--honey);
  border-radius: 10px; padding: 18px 22px; margin: 22px 0; color: var(--ink-soft);
}
.callout.warn { border-color: var(--amber); background: #FBEFE0; }
.callout strong { color: var(--ink); }
.back-home { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 28px; }

/* thank-you page */
.ty { max-width: 640px; margin: 0 auto; text-align: center; padding: 90px 22px; }
.ty .check { width: 86px; height: 86px; border-radius: 50%; background: var(--honey); color: #fff; display: grid; place-content: center; font-size: 2.6rem; margin: 0 auto 22px; box-shadow: var(--glow-amber); }
.ty h1 { font-size: clamp(2rem,5vw,3rem); }
.ty p { color: var(--ink-soft); font-size: 1.12rem; }
.ty .dl-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 30px; margin: 30px 0; }
.ty .dl-card .btn { margin-top: 8px; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-cta, .badges { justify-content: center; }
  .book-stage { order: -1; }
  .feature-grid, .parts, .reviews, .math-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 380px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .section { padding: 60px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--border); padding: 18px 22px; gap: 14px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open .nav-cta { width: 100%; }
  .nav-toggle { display: block; }
  .stack, .order-card { margin-inline: 0; }
  .stack { padding: 26px 20px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 .hl { white-space: normal; }
  .btn { width: 100%; }
  .hero-cta .btn { width: 100%; }
}

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