/* Victoria's Cookbook — landing (light, warm, structure modeled on the reference; own palette and type) */
:root {
  --cream: #FBF3E6;
  --cream-2: #F4E6D0;
  --paper: #FFFDF8;
  --ink: #2B1D14;
  --ink-soft: #5A4534;
  --muted: #8A7360;
  --hair: #E6D6BF;
  --terra: #B4451E;
  --terra-dark: #8F3417;
  --terra-light: #D9612F;
  --green: #3F6B4F;
  --green-dark: #2E5140;
  --gold: #C58A3A;
  --dark: #2A1C13;
  --dark-2: #1B120C;
  --head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Lora', Georgia, serif;
  --hand: 'Caveat', cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--terra); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.15; margin: 0; color: var(--ink); }
p { margin: 0 0 1rem; }
.center { text-align: center; }

/* ---- buttons ---- */
.btn { display: inline-block; font-family: var(--head); font-weight: 600; text-decoration: none; text-align: center; border: 0; cursor: pointer; border-radius: 12px; padding: 1rem 1.8rem; font-size: 1.2rem; line-height: 1.2; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn small { display: block; font-family: var(--body); font-weight: 400; font-size: 0.82rem; margin-top: 0.45rem; opacity: 0.92; }
.btn-primary { background: linear-gradient(180deg, var(--terra-light), var(--terra)); color: #fff; box-shadow: 0 10px 24px rgba(180,69,30,0.32); }
.btn-secondary { background: linear-gradient(180deg, #D9773A, #B95A22); color: #fff; box-shadow: 0 10px 24px rgba(185,90,34,0.3); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(63,107,79,0.3); font-size: 1.05rem; }
.btn-green s { opacity: 0.7; font-weight: 400; margin-left: 0.3rem; }
.btn-outline { background: transparent; color: var(--terra); border: 1.5px solid var(--terra); font-size: 1rem; padding: 0.7rem 1.2rem; }
.btn-outline small { color: var(--muted); font-size: 0.8rem; margin: 0 0 0.15rem; }
.btn-glow { box-shadow: 0 0 40px rgba(217,97,47,0.45), 0 10px 24px rgba(0,0,0,0.3); }

/* ---- top bar ---- */
.topbar { background: var(--terra-dark); color: #F8E3D3; text-align: center; font-size: 0.95rem; padding: 0.55rem 1rem; display: flex; justify-content: center; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.topbar-label { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: #FFD3B8; }
.topbar strong { color: #fff; }
.topbar s { opacity: 0.7; }
.topbar-timer { display: inline-flex; gap: 0.3rem; margin-left: 0.3rem; }
.tb-box { background: #3a1409; border-radius: 6px; padding: 0.15rem 0.5rem; display: inline-flex; flex-direction: column; align-items: center; line-height: 1.05; }
.tb-box b { font-family: var(--head); font-size: 1rem; color: #fff; }
.tb-box small { font-size: 0.55rem; text-transform: uppercase; letter-spacing: 0.1em; color: #E8B99E; }

/* ---- hero ---- */
.hero { background: radial-gradient(ellipse at 50% 0%, #4A3222 0%, var(--dark) 55%, var(--dark-2) 100%); color: #FBF3E6; padding: 3.2rem 1.5rem 3.4rem; text-align: center; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 9px); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.hero-brand { font-family: var(--head); font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; color: #E7B48F; margin-bottom: 1.3rem; }
.hero-brand-es { text-transform: none; letter-spacing: 0; font-style: italic; color: #C9A98C; }
.hero-title { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; color: #FFF8EC; letter-spacing: -0.01em; }
.hero-title-accent { color: #F1B77F; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #E9D9C4; max-width: 720px; margin: 1.3rem auto 0.4rem; }
.hero-sub em { color: #F1B77F; }
.hero-arrow { color: var(--terra-light); font-size: 0.8rem; margin: 1.2rem 0 1.4rem; }
.hero-video { max-width: 860px; margin: 0 auto 1.8rem; }
.video-pill { display: inline-block; background: var(--terra); color: #fff; border-radius: 999px; padding: 0.55rem 1.3rem; font-family: var(--head); font-weight: 600; font-size: 0.98rem; margin-bottom: 1rem; box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.video-frame { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.55); background: #000; aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-pending-note { display: none; }
.hero-video.pending .video-frame::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.55)); pointer-events: none; }
.hero-video.pending .video-frame video { pointer-events: none; }
.hero-video.pending .video-pending-note { display: block; position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); width: min(92%, 560px); background: rgba(20,12,8,0.82); color: #F5E6D3; font-size: 0.92rem; padding: 0.7rem 1rem; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); }
.btn-hero { min-width: min(100%, 640px); }
.hero-link { display: block; width: max-content; margin: 1.1rem auto 0; color: #F1B77F; font-family: var(--head); font-size: 1.05rem; }

/* ---- sections ---- */
.sec { max-width: 1040px; margin: 0 auto; padding: 4.5rem 1.5rem; text-align: center; }
.sec-alt { max-width: none; background: var(--cream-2); }
.sec-alt > * { max-width: 1040px; margin-left: auto; margin-right: auto; }
.sec-num { font-family: var(--head); color: var(--terra); letter-spacing: 0.35em; font-size: 0.85rem; margin-bottom: 0.6rem; }
.sec-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 1rem; }
.sec-sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 760px; margin: 0 auto 2.4rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: left; margin-top: 2.4rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-num { flex: 0 0 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #E58A55, var(--terra)); color: #fff; font-family: var(--head); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; box-shadow: 0 6px 14px rgba(180,69,30,0.35); }
.step h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.step p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
.steps-note { margin-top: 2.2rem; font-size: 1.1rem; }

/* honest math */
.math-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; text-align: left; }
.math-card { background: var(--paper); border-radius: 16px; padding: 1.8rem 1.8rem 1.6rem; box-shadow: 0 12px 30px rgba(43,29,20,0.08); border-top: 6px solid var(--muted); }
.math-card.good { border-top-color: var(--green); }
.math-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.math-card ul { list-style: none; margin: 0; padding: 0; }
.math-card li { padding: 0.8rem 0; border-bottom: 1px dashed var(--hair); display: flex; flex-direction: column; gap: 0.15rem; }
.math-card li span { color: var(--ink-soft); }
.math-card li b { font-family: var(--head); font-size: 1.1rem; color: var(--terra-dark); }
.math-card.good li b { color: var(--terra-dark); }
.math-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 2px solid var(--hair); font-family: var(--head); font-size: 1.45rem; font-weight: 700; }
.math-card.good .math-total { color: var(--green); }
.math-note { margin-top: 1.4rem; color: var(--ink-soft); font-size: 1rem; text-align: left; }

/* look inside */
.pages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; text-align: left; }
.page { margin: 0; }
.page-link { display: block; position: relative; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 14px 34px rgba(43,29,20,0.16); border: 1px solid var(--hair); transition: transform .2s ease, box-shadow .2s ease; }
.page-link:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(43,29,20,0.22); }
.page-tap { position: absolute; right: 0.6rem; bottom: 0.6rem; background: rgba(43,29,20,0.85); color: #fff; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.6rem; border-radius: 999px; }
.page figcaption { font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.8rem; }
.page figcaption b { color: var(--ink); }
.pages-swipe { display: none; color: var(--muted); font-size: 0.9rem; margin-top: 0.8rem; }
#inside .center { margin-top: 2.2rem; }

/* what's inside */
.toc { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; text-align: left; }
.toc li { padding: 0.9rem 0; border-bottom: 1px solid var(--hair); font-size: 1.08rem; color: var(--ink-soft); }
.toc li b { color: var(--ink); }
.toc li span { color: var(--muted); font-size: 0.95rem; white-space: nowrap; }
.toc-note { margin-top: 1.6rem; color: var(--ink-soft); }

.stats-band { background: linear-gradient(180deg, var(--dark), var(--dark-2)); color: #F5E6D3; display: flex; justify-content: center; gap: 4rem; padding: 3rem 1.5rem; flex-wrap: wrap; text-align: center; }
.stat b { display: block; font-family: var(--head); font-size: 3.2rem; font-weight: 700; color: #F1A25F; line-height: 1; margin-bottom: 0.3rem; }
.stat { font-size: 0.95rem; max-width: 150px; }

/* product */
.product { background: var(--paper); border-radius: 18px; box-shadow: 0 20px 50px rgba(43,29,20,0.12); text-align: left; overflow: hidden; }
.product-main { display: grid; grid-template-columns: 300px 1fr; gap: 2.4rem; padding: 2.4rem; align-items: start; }
.product-cover img { border-radius: 8px; box-shadow: 0 24px 50px rgba(43,29,20,0.35); transform: rotate(-2deg); transition: transform .2s; }
.product-cover:hover img { transform: rotate(0deg) scale(1.02); }
.product-es { font-style: italic; color: var(--muted); }
.product-title { font-size: 2.3rem; font-weight: 700; margin: 0.1rem 0 0.4rem; }
.product-rating { color: var(--ink-soft); margin-bottom: 0.8rem; }
.stars { color: var(--gold); letter-spacing: 0.05em; }
.checks { list-style: none; margin: 0.6rem 0 1.4rem; padding: 0; }
.checks li { padding: 0.35rem 0 0.35rem 1.8rem; position: relative; color: var(--ink-soft); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.checks li b { color: var(--ink); }
.price-row { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; flex-wrap: wrap; }
.price { font-family: var(--head); font-weight: 700; font-size: 3rem; color: var(--terra); line-height: 1; }
.price-row s { color: var(--muted); font-size: 1.3rem; }
.save { background: var(--green); color: #fff; font-family: var(--head); font-size: 0.8rem; letter-spacing: 0.06em; padding: 0.45rem 0.9rem; border-radius: 999px; }
.btn-buy { display: block; width: 100%; font-size: 1.4rem; }
.buy-trust { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 0.7rem; }

.product-bundle { border-top: 1px dashed var(--hair); background: #FBF3E6; display: grid; grid-template-columns: 170px 1fr 1fr; gap: 1.6rem; padding: 1.8rem 2.4rem; align-items: center; }
.bundle-covers { display: flex; gap: 0.5rem; }
.bundle-covers img { width: 80px; border-radius: 4px; box-shadow: 0 8px 18px rgba(43,29,20,0.25); }
.bundle-label { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.75rem; color: var(--terra); margin-bottom: 0.3rem; }
.bundle-text h4 { font-size: 1.35rem; font-weight: 700; }
.bundle-text h4 span { font-weight: 400; color: var(--muted); }
.bundle-text p { color: var(--ink-soft); font-size: 0.95rem; margin: 0.4rem 0 0; }
.bundle-cta { display: flex; flex-direction: column; gap: 0.6rem; }
.bundle-math { text-align: center; color: var(--terra-dark); font-size: 0.9rem; }

.product-reviews { padding: 1.8rem 2.4rem; border-top: 1px solid var(--hair); }
.reviews-label { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.75rem; color: var(--terra); margin-bottom: 1rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review { background: #fff; border: 1px solid var(--hair); border-radius: 12px; padding: 1.2rem; }
.review p { font-style: italic; color: var(--ink-soft); font-size: 0.95rem; margin: 0.4rem 0 0.8rem; }
.review-by { background: var(--cream-2); font-size: 0.85rem; color: var(--muted); padding: 0.2rem 0.5rem; display: inline-block; }
.product-footer { border-top: 1px solid var(--hair); padding: 1rem 2.4rem; text-align: center; font-size: 0.9rem; color: var(--ink-soft); }

/* author */
.author { max-width: 760px; margin: 0 auto; padding: 4.5rem 1.5rem 3rem; text-align: center; }
.author-photo { width: 300px; height: 300px; object-fit: cover; border-radius: 22px; margin: 0 auto 1.6rem; box-shadow: 0 24px 50px rgba(43,29,20,0.28); }
.author-name { font-size: 2.6rem; font-weight: 700; margin-bottom: 1rem; }
.author p { font-size: 1.12rem; color: var(--ink-soft); }
.author-sign { font-family: var(--hand); font-size: 2.2rem; color: var(--terra-dark); margin-top: 0.6rem; }

/* faq */
.faq { max-width: 800px; text-align: left; padding-top: 2rem; }
.faq .sec-title { text-align: center; margin-bottom: 1.8rem; }
.faq details { padding: 0.9rem 0; border-bottom: 1px solid var(--hair); }
.faq summary { font-family: var(--head); font-weight: 700; font-size: 1.2rem; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--terra); font-size: 1.4rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0.7rem 0 0; color: var(--ink-soft); }

/* contact */
.contact-form { max-width: 560px; margin: 0 auto; text-align: left; display: flex; flex-direction: column; gap: 0.9rem; }
.contact-form label { font-family: var(--head); font-weight: 600; font-size: 0.95rem; display: flex; flex-direction: column; gap: 0.35rem; }
.contact-form input, .contact-form textarea { font-family: var(--body); font-size: 1rem; padding: 0.8rem 0.95rem; border: 1px solid var(--hair); border-radius: 10px; background: #fff; color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(180,69,30,0.35); border-color: var(--terra); }
.form-note { text-align: center; color: var(--muted); font-size: 0.85rem; }

/* ready */
.ready { background: radial-gradient(ellipse at 50% 100%, #4A3222 0%, var(--dark) 55%, var(--dark-2) 100%); color: #F5E6D3; text-align: center; padding: 4.5rem 1.5rem; }
.ready .sec-title { color: #FFF8EC; }
.ready p { max-width: 560px; margin: 0 auto 1.8rem; font-size: 1.15rem; }

/* footer */
.footer { background: var(--dark-2); color: #D9C7B2; text-align: center; padding: 2.6rem 1.5rem 3rem; font-size: 0.92rem; }
.footer a { color: #F1B77F; }
.footer-legal { max-width: 860px; margin: 0.8rem auto; font-size: 0.85rem; color: #B7A38C; }
.footer-sign { margin-top: 1.4rem; }
.footer-links { color: #8A7360; font-size: 0.8rem; margin-top: 1.2rem; }
.footer-links a { color: #B7A38C; }

/* modals */
.modal { position: fixed; inset: 0; background: rgba(27,18,12,0.72); z-index: 999; display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.modal.show { opacity: 1; visibility: visible; }
.modal-box { background: var(--paper); border-radius: 18px; padding: 2rem; max-width: 560px; width: 100%; position: relative; box-shadow: 0 40px 90px rgba(0,0,0,0.45); text-align: left; transform: translateY(12px); transition: transform .25s; }
.modal.show .modal-box { transform: none; }
.modal-close { position: absolute; top: 0.6rem; right: 0.9rem; background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--muted); cursor: pointer; }
.modal-eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.75rem; color: var(--terra); margin-bottom: 0.4rem; }
.modal-box h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 1.2rem; }
.option { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border: 1.5px solid var(--hair); border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: 0.7rem; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, transform .15s; }
.option:hover { border-color: var(--terra); transform: translateY(-1px); }
.option b { display: block; font-family: var(--head); font-size: 1.1rem; }
.option span { color: var(--muted); font-size: 0.9rem; }
.option-price { font-family: var(--head); font-weight: 700; font-size: 1.3rem; color: var(--terra); white-space: nowrap; }
.option-price s { color: var(--muted); font-weight: 400; font-size: 0.95rem; }
.option.best { border-color: var(--green); background: #F2F7F1; }
.option-badge { display: inline-block; background: var(--green); color: #fff; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 999px; margin-bottom: 0.3rem; }
.modal-trust { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 0.8rem; }
.modal-save { text-align: center; }
.modal-save p { color: var(--ink-soft); }
.modal-save .btn { display: block; }
.modal-alt { display: inline-block; margin-top: 1rem; color: var(--terra); }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(20,12,8,0.94); z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1rem; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox img { max-height: 86vh; max-width: 94vw; width: auto; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox .modal-close { color: #F5E6D3; top: 1rem; right: 1.4rem; font-size: 2.6rem; }
.lightbox-caption { color: #F5E6D3; margin-top: 1rem; font-size: 1rem; text-align: center; }

/* ---- responsive ---- */
@media (max-width: 920px) {
  .steps { grid-template-columns: 1fr; gap: 1.4rem; }
  .math-grid { grid-template-columns: 1fr; }
  .pages { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding-bottom: 0.6rem; -webkit-overflow-scrolling: touch; }
  .page { flex: 0 0 72%; scroll-snap-align: start; }
  .pages-swipe { display: block; }
  .product-main { grid-template-columns: 1fr; padding: 1.6rem; }
  .product-cover { max-width: 260px; margin: 0 auto; }
  .product-bundle { grid-template-columns: 1fr; padding: 1.6rem; text-align: center; }
  .bundle-covers { justify-content: center; }
  .reviews-grid { grid-template-columns: 1fr; }
  .stats-band { gap: 2rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .sec { padding: 3.2rem 1.2rem; }
  .hero { padding: 2.4rem 1.1rem 2.8rem; }
  .btn-hero { width: 100%; min-width: 0; }
  .video-pill { font-size: 0.88rem; }
  .author-photo { width: 220px; height: 220px; }
  .price { font-size: 2.5rem; }
  .product-title { font-size: 1.9rem; }
  .stat b { font-size: 2.4rem; }
}

.reviews-more { display: block; width: 100%; margin-top: 1rem; }
.product-bundle[hidden], .review[hidden], .reviews-more[hidden], .modal[hidden] { display: none !important; }
