:root {
  --ink: #2e2518; --gold: #9c8b5c; --gold-bright: #c9a84c; --gold-deep: #7a6636;
  --mint: #cfe3d2; --mint-deep: #b0ceb8; --parchment: #e9e8c8; --marble: #f6f6f4;
  --serif: "PT Serif", Georgia, serif; --display: "Playfair Display", var(--serif);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--serif); color: var(--ink); background: var(--marble); line-height: 1.65; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .8em; text-align: center; }
section { padding: 4.5rem 1.25rem; max-width: 1080px; margin: 0 auto; }
.center { text-align: center; }
.small { font-size: .85rem; opacity: .75; }

/* gold ornament divider under headings — echoes the book's flourishes */
.ornament::after { content: "❦"; display: block; text-align: center; color: var(--gold-bright);
  font-size: 1.4rem; margin-top: .35em; letter-spacing: .5em; }

/* watercolor hero like the cover background */
.hero { background: radial-gradient(120% 90% at 20% 10%, var(--parchment) 0%, var(--mint) 45%, var(--mint-deep) 100%); }
.hero-inner { max-width: 1080px; margin: 0 auto; padding: 4rem 1.25rem; display: grid;
  grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.kicker { font-family: "Bad Script", cursive; font-size: 1.25rem; color: var(--gold-deep); text-align: left; }
.kicker.ornament::after { content: ""; }
.subtitle { margin: 1.1em 0; font-size: 1.08rem; }
.trust { font-size: .85rem; opacity: .8; margin-top: 1em; }
.price-line { font-size: 1.5rem; margin: .6em 0 1em; }
.price-line s, s { opacity: .55; }
.price-new { color: var(--gold-deep); font-size: 1.9rem; margin: 0 .25em; }
.badge { background: var(--gold-deep); color: #fff; border-radius: 999px; padding: .15em .6em; font-size: .8rem; vertical-align: middle; }

.btn { display: inline-block; padding: .85em 1.6em; border-radius: 6px; border: 1px solid var(--gold-deep);
  font-family: var(--serif); font-size: 1rem; text-decoration: none; cursor: pointer; margin: .25em .35em .25em 0; }
.btn-gold { background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep)); color: #fff;
  box-shadow: 0 4px 14px rgba(122,102,54,.35); }
.btn-gold:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-xl { font-size: 1.2rem; padding: 1em 2.2em; }

/* CSS 3D book */
.book3d-wrap { perspective: 1200px; display: flex; justify-content: center; }
.book3d { position: relative; width: 280px; aspect-ratio: 869/1225; transform-style: preserve-3d;
  transform: rotateY(-24deg); transition: transform .6s ease; --depth: 26px; }
.book3d:hover { transform: rotateY(-10deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; }
.front { background: url(assets/front-cover.jpg) center/cover; border-radius: 2px 6px 6px 2px;
  box-shadow: 12px 18px 40px rgba(46,37,24,.35); }
.spine { width: var(--depth); background: url(assets/spine.jpg) center/cover;
  transform: rotateY(-90deg) translateZ(calc(var(--depth) / 2)) translateX(calc(var(--depth) / -2)); }
.pages { width: var(--depth); left: auto; right: 0; background: repeating-linear-gradient(90deg, #f5f2e8 0 2px, #e4e0d2 2px 3px);
  transform: rotateY(90deg) translateZ(calc(var(--depth) / 2)) translateX(calc(var(--depth) / 2)); }

.preorder-bar { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--parchment);
  text-align: center; padding: .55em 1em; font-size: .95rem; }
.preorder-bar strong { color: var(--gold-bright); }

.problem { text-align: center; max-width: 760px; font-size: 1.1rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid .card { background: #fff; border: 1px solid var(--mint-deep); border-radius: 10px; padding: 1.4rem;
  box-shadow: 0 2px 10px rgba(46,37,24,.06); }
.card .num { font-family: var(--display); font-size: 2.2rem; color: var(--gold-deep); }
.foryou ul { max-width: 640px; margin: 0 auto 1.5rem; font-size: 1.08rem; }
.foryou li { margin: .5em 0; }

.author { display: grid; grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: center;
  background: var(--parchment); border-radius: 14px; }
.author-photo { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 6px 18px rgba(46,37,24,.25); }
.author blockquote { font-style: italic; font-size: 1.12rem; margin-bottom: 1em; }
.signature { font-family: "Bad Script", cursive; font-size: 1.5rem; color: var(--gold-deep); }

.samples-row { display: flex; gap: 1rem; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }
.sample { width: 220px; height: auto; border: 1px solid var(--mint-deep); border-radius: 6px; cursor: zoom-in;
  box-shadow: 0 4px 14px rgba(46,37,24,.15); transition: transform .25s; }
.sample:hover { transform: scale(1.04); }

.offer-card { max-width: 560px; margin: 0 auto; background: #fff; border: 2px solid var(--gold-bright);
  border-radius: 14px; padding: 2.2rem; text-align: center; box-shadow: 0 10px 30px rgba(122,102,54,.18); }
.offer-prices { display: flex; justify-content: center; gap: 2.5rem; margin-bottom: 1.2rem; }
.offer-prices span { display: block; font-size: .85rem; opacity: .75; }
.offer-prices s { font-size: 1.5rem; }
.offer-prices .pre strong { font-size: 2.4rem; color: var(--gold-deep); }
.offer-card ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.offer-card li::before { content: "✔ "; color: var(--gold-deep); }
.countdown-line { font-weight: 700; color: var(--gold-deep); margin-bottom: 1rem; }
.guarantee { margin-top: 1.2rem; font-size: .9rem; background: var(--mint); border-radius: 8px; padding: .8em; }

.testimonials .card { font-style: italic; }
.testimonials .who { font-style: normal; font-weight: 700; margin-top: .8em; }
.faq div.item { max-width: 720px; margin: 0 auto; border-bottom: 1px solid var(--mint-deep); }
.faq h3 { cursor: pointer; padding: .9em 0; font-size: 1.05rem; }
.faq h3::before { content: "❧ "; color: var(--gold-bright); }
.faq p { padding: 0 0 1em 1.4em; display: none; }
.faq .open p { display: block; }

.final-cta { text-align: center; background: var(--ink); color: var(--parchment); max-width: none; }
.final-cta h2, .final-cta p { color: var(--parchment); }

footer { text-align: center; padding: 2.5rem 1rem; background: var(--marble); }
footer a { color: var(--gold-deep); }

.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: #fff;
  border-top: 2px solid var(--gold-bright); display: flex; justify-content: center; align-items: center;
  gap: 1.2rem; padding: .6rem; box-shadow: 0 -4px 16px rgba(46,37,24,.15); }
.sticky-cta strong { color: var(--gold-deep); font-size: 1.2rem; }

.modal { position: fixed; inset: 0; z-index: 100; background: rgba(46,37,24,.55);
  display: flex; align-items: center; justify-content: center; }
.modal-card { background: var(--marble); border: 2px solid var(--gold-bright); border-radius: 14px;
  padding: 2.2rem; max-width: 420px; text-align: center; position: relative; }
.modal-close { position: absolute; top: .4rem; right: .8rem; background: none; border: none;
  font-size: 1.6rem; cursor: pointer; color: var(--ink); }

.consent { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--ink);
  color: var(--parchment); text-align: center; padding: .7em; font-size: .9rem; }
.consent .btn { padding: .3em .9em; color: var(--parchment); border-color: var(--gold); }

.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(46,37,24,.85);
  display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 6px; }

[hidden] { display: none !important; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .kicker { text-align: center; }
  .book3d { width: 210px; }
  .grid { grid-template-columns: 1fr; }
  .author { grid-template-columns: 1fr; text-align: center; }
  .author-photo { max-width: 260px; margin: 0 auto; }
  .offer-prices { gap: 1.2rem; }
  .sticky-cta span { display: none; }
}
