:root {
  --berry: #8e1748;
  --berry-dark: #5e1031;
  --rose: #c94f7c;
  --blush: #fff0f5;
  --cream: #fffaf7;
  --cocoa: #3f222b;
  --muted: #745d65;
  --line: #edd7df;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(94, 16, 49, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cocoa);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(237, 215, 223, .85);
  background: rgba(255, 250, 247, .92);
  backdrop-filter: blur(14px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: Georgia, serif; font-size: 1.42rem; font-weight: 700; color: var(--berry-dark); }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50% 50% 48% 52%; color: white; background: var(--berry); font: 700 1rem/1 Georgia, serif; box-shadow: 0 7px 16px rgba(142, 23, 72, .2); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: .94rem; font-weight: 700; text-decoration: none; }
.nav-links a:hover { color: var(--berry); }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--berry); border-radius: 999px; color: white; background: var(--berry); font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--berry-dark); box-shadow: 0 12px 24px rgba(94, 16, 49, .18); }
.button.secondary { color: var(--berry); background: var(--white); }
.button.disabled { cursor: not-allowed; border-color: #d7c4cb; color: #806c73; background: #eee7ea; box-shadow: none; }

.hero { padding: 32px 0 70px; }
.hero-card { position: relative; min-height: 640px; overflow: hidden; border-radius: 38px; background: #eee; box-shadow: var(--shadow); }
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,250,247,.98) 0%, rgba(255,250,247,.93) 34%, rgba(255,250,247,.3) 56%, rgba(255,250,247,0) 72%); }
.hero-image { width: 100%; height: 640px; object-fit: cover; object-position: center; }
.hero-copy { position: absolute; z-index: 2; left: clamp(28px, 6vw, 76px); top: 50%; width: min(500px, 46%); transform: translateY(-50%); }
.eyebrow { margin: 0 0 16px; color: var(--berry); font-size: .76rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.05; color: var(--berry-dark); }
h1 { margin-bottom: 20px; font-size: clamp(3.2rem, 6vw, 5.9rem); letter-spacing: -.055em; }
h2 { margin-bottom: 18px; font-size: clamp(2.25rem, 4vw, 3.6rem); letter-spacing: -.035em; }
h3 { margin-bottom: 10px; font-size: 1.55rem; }
.hero-copy > p:not(.eyebrow) { max-width: 450px; margin: 0 0 28px; font-size: 1.1rem; color: #5f4c53; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: #65535a; font-size: .9rem; font-weight: 700; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--berry); }

.section { padding: 86px 0; }
.section.soft { background: var(--blush); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-head p { max-width: 520px; margin: 0; color: var(--muted); }
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.recipe-card { overflow: hidden; min-height: 410px; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: 0 12px 35px rgba(94, 16, 49, .07); }
.recipe-art { height: 210px; display: grid; place-items: center; position: relative; overflow: hidden; background: linear-gradient(145deg, #592237, #2d171e); }
.recipe-art::before { content: ""; width: 180px; height: 126px; border-radius: 25px 18px 28px 14px; background: #402019; box-shadow: inset 0 12px 0 #67332a, 0 22px 34px rgba(0,0,0,.22); transform: rotate(-4deg); }
.recipe-art::after { content: "••••••"; position: absolute; color: #b56d56; letter-spacing: 14px; font-size: 1.35rem; transform: rotate(-4deg); }
.recipe-art.pink { background: linear-gradient(145deg, #f4c1d3, #c94f7c); }
.recipe-art.pink::before { background: #fff5f8; box-shadow: inset 0 12px 0 #f0dbe2, 0 22px 34px rgba(94,16,49,.18); }
.recipe-art.pink::after { color: #b7406c; content: "● ● ●"; letter-spacing: 6px; }
.recipe-art.gold { background: linear-gradient(145deg, #f7d4af, #d98268); }
.recipe-art.gold::before { border-radius: 50%; background: #f1a65c; box-shadow: inset 0 12px 0 #ffc77e, 0 22px 34px rgba(94,16,49,.14); }
.recipe-art.gold::after { content: "✦"; color: #fff1d0; font-size: 3.2rem; }
.recipe-body { padding: 24px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 13px; }
.pill { border-radius: 999px; padding: 5px 10px; color: var(--berry); background: #fae5ed; font-size: .76rem; font-weight: 900; }
.recipe-body p { color: var(--muted); }
.text-link { color: var(--berry); font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.soon { opacity: .7; }

.cookbook { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 7vw, 90px); align-items: center; }
.book-wrap { position: relative; width: min(360px, 82%); margin: 0 auto; perspective: 1200px; }
.book-wrap::before { content: ""; position: absolute; left: 8%; right: -8%; bottom: -24px; height: 30px; border-radius: 50%; background: rgba(94,16,49,.2); filter: blur(16px); }
.book-cover { position: relative; width: 100%; border-radius: 5px 18px 18px 5px; box-shadow: 18px 20px 46px rgba(94,16,49,.26); transform: rotateY(-7deg) rotateZ(-2deg); }
.book-subtitle { margin: -6px 0 22px; color: var(--berry); font-weight: 850; font-size: 1.08rem; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; padding: 0; list-style: none; }
.feature-list li { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: white; font-weight: 750; }
.feature-list li::before { content: "♥"; margin-right: 9px; color: var(--rose); }
.launch-note { margin-top: 14px; color: var(--muted); font-size: .9rem; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 10px 0 18px; }
.price-row strong { color: var(--berry-dark); font-family: Georgia, serif; font-size: 2.3rem; line-height: 1; }
.price-row span { color: var(--muted); font-weight: 700; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.quote-card { padding: 42px; border-radius: 30px; color: white; background: var(--berry-dark); }
.quote-card p { margin: 0; font-family: Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.25; }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; color: var(--muted); font-size: .9rem; }

.recipe-hero { padding: 64px 0 44px; text-align: center; background: linear-gradient(180deg, #ffeaf1, var(--cream)); }
.recipe-hero .eyebrow { margin-bottom: 13px; }
.recipe-hero h1 { max-width: 900px; margin: 0 auto 20px; font-size: clamp(3rem, 7vw, 5.5rem); }
.recipe-deck { max-width: 710px; margin: 0 auto 25px; color: var(--muted); font-size: 1.1rem; }
.recipe-facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.recipe-facts span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: white; font-weight: 800; }
.recipe-layout { display: grid; grid-template-columns: .76fr 1.24fr; gap: 38px; align-items: start; padding: 60px 0 90px; }
.info-card, .method-card { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 12px 34px rgba(94,16,49,.06); }
.info-card + .info-card { margin-top: 20px; }
.ingredients { margin: 0; padding-left: 21px; }
.ingredients li, .steps li { margin-bottom: 12px; }
.steps { margin: 0; padding: 0; counter-reset: steps; list-style: none; }
.steps li { position: relative; padding: 3px 0 22px 58px; counter-increment: steps; }
.steps li::before { content: counter(steps); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: white; background: var(--berry); font-weight: 900; }
.note { padding: 18px; border-radius: 16px; color: #624b54; background: var(--blush); }
.source { color: var(--muted); font-size: .88rem; }
.source a { color: var(--berry); font-weight: 800; }

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, 680px); }
  .nav { min-height: 64px; gap: 12px; flex-wrap: wrap; padding: 10px 0; }
  .nav .brand { white-space: nowrap; font-size: 1.15rem; gap: 8px; }
  .brand-mark { flex-shrink: 0; width: 28px; height: 28px; }
  .nav-links { gap: 0; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links .nav-cta { min-height: 42px; padding: 0 14px; font-size: .875rem; white-space: nowrap; }
  .hero { padding: 14px 0 48px; }
  .hero-card { min-height: 0; border-radius: 26px; background: var(--cream); }
  .hero-card::after { display: none; }
  .hero-image { height: auto; aspect-ratio: 1.08; object-position: 78% center; }
  .hero-copy { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; padding: 26px 22px 30px; transform: none; }
  .hero-copy h1 { font-size: clamp(2.6rem, 10.5vw, 3.8rem); line-height: 1.06; }
  .hero-copy .eyebrow { line-height: 1.5; letter-spacing: .12em; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { text-align: center; padding: 10px 16px; }
  .trust-row { gap: 10px; }
  .hero-copy > p:not(.eyebrow) { font-size: 1rem; }
  .section { padding: 64px 0; }
  .section-head { display: block; }
  .recipe-grid { grid-template-columns: 1fr; }
  .cookbook, .about, .recipe-layout { grid-template-columns: 1fr; }
  .book-wrap { width: min(310px, 82%); }
  .feature-list { grid-template-columns: 1fr; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
/* Cookbook-first sales flow and complete recipe pages. */
section[id] { scroll-margin-top: 90px; }
.offer-line { font-weight: 800; color: var(--berry) !important; font-size: .95rem !important; }
.recipe-card.compact { min-height: 250px; }
.book-contents { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
details { border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; background: white; }
summary { cursor: pointer; color: var(--berry-dark); font-weight: 800; }
summary span { margin-left: 10px; font-size: .8rem; font-weight: 500; color: var(--muted); }
details li { margin-bottom: 7px; }
.preview-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px; margin-top: 26px; border-radius: 24px; background: var(--blush); }
.preview-strip h3 { margin-bottom: 8px; }
.preview-strip p { margin: 0; color: var(--muted); }
.faq { max-width: 820px; }
.faq details { margin-top: 12px; }
.nutrition-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin: 20px 0; }
.nutrition-grid div { padding: 14px 8px; border-radius: 12px; background: var(--blush); text-align: center; }
.nutrition-grid strong, .nutrition-grid span { display: block; }
.nutrition-grid strong { color: var(--berry); }
.nutrition-grid span { font-size: .76rem; }
.book-upsell { margin-top: 24px; background: var(--blush); }
button.button { font: inherit; font-weight: 800; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--rose); outline-offset: 5px; }
@media(max-width:820px) {
 .book-contents { grid-template-columns: 1fr; }
 .preview-strip { flex-direction: column; align-items: stretch; }
 .hero-copy h1 { font-size: clamp(2.6rem,10vw,3.6rem); }
 .recipe-hero h1 { font-size: clamp(2.35rem,9vw,3.7rem); }
 .recipe-layout { padding-top: 26px; gap: 20px; }
 .info-card, .method-card { padding: 22px; }
 .nutrition-grid { grid-template-columns: 1fr 1fr; }
}
@media print {
 .site-header, .site-footer, .book-upsell, .recipe-facts { display: none; }
 body { background: white; font-size: 11pt; }
 .recipe-layout { display: block; padding: 0; }
 .shell { width: 100%; }
 .info-card, .method-card { box-shadow: none; padding: 14px 0; border: 0; }
 .recipe-hero { padding: 10px 0; background: white; }
 .recipe-hero h1 { font-size: 25pt; }
}

/* One floating purchase control, visible only between inline purchase buttons. */
.floating-cookbook { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; padding: 10px 20px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,250,247,.96); backdrop-filter: blur(14px); border-top: 1px solid rgba(237,215,223,.85); text-align: center; }
.floating-cookbook[hidden] { display: none; }
.floating-cookbook .button { width: min(100%, 500px); min-height: 48px; font: 800 1rem/1.3 Inter, ui-sans-serif, system-ui, sans-serif; padding: 12px 20px; }
