@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  --cream: #FFFFFF;
  --cream-alt: #FBF7EF;
  --card: #FFFFFF;
  --terracotta: #BD5D38;
  --terracotta-dark: #9C4A2C;
  --green: #4A7A52;
  --ink: #4A3F35;
  --ink-soft: #7A6E5E;
  --border: #EDE3CE;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: 'Baloo 2', sans-serif;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.5px;
  color: var(--terracotta);
}
.logo span { color: var(--ink); }

.nav-links {
  display: flex;
  gap: 32px;
  font-weight: 500;
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  opacity: 0.8;
}
.nav-links a:hover { opacity: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: 'Work Sans', sans-serif;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(189, 93, 56, 0.6);
}
.btn-primary:hover { background: var(--terracotta-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta); }

.btn-sm { padding: 10px 20px; font-size: 14px; }

.nav-right { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.lang-switch:hover { border-color: var(--terracotta); color: var(--terracotta); }

/* ---------- Decorative flourishes ---------- */
.decor {
  position: absolute;
  pointer-events: none;
  color: #C9A574;
  opacity: 0.55;
  z-index: 0;
}
section, header { position: relative; }
section > .wrap, header .nav { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--terracotta);
}

.hero p.lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-soft);
}
.hero-trust strong { color: var(--ink); font-family: 'Baloo 2', sans-serif; font-size: 15px; }

.hero-photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(74, 63, 53, 0.35);
  border: 6px solid var(--card);
}
.hero-photo img { width: 100%; height: 420px; object-fit: cover; }

.hero-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(255, 251, 242, 0.95);
  padding: 12px 18px;
  border-radius: 16px;
  display: flex;
  gap: 14px;
  box-shadow: 0 12px 24px -12px rgba(0,0,0,0.25);
}
.hero-badge .num { font-family: 'Baloo 2', sans-serif; font-weight: 800; color: var(--terracotta); font-size: 20px; line-height: 1; }
.hero-badge .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-soft); }

/* ---------- Features ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--cream-alt); }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.section-head .kicker {
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: block;
}
.section-head h2 { font-size: 36px; margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
}
.feature-card .num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--terracotta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------- Recipes ---------- */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.recipe-card {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.recipe-photo { position: relative; height: 160px; overflow: hidden; }
.recipe-photo img { width: 100%; height: 100%; object-fit: cover; }

.recipe-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(74, 63, 53, 0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
}

.lock-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(74,63,53,0.05) 0%, rgba(74,63,53,0.55) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 10px;
}
.lock-pill {
  background: rgba(255,251,242,0.95);
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.recipe-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.recipe-body h3 { font-size: 18px; margin-bottom: 10px; }

.macros {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.macro {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--cream-alt);
  padding: 4px 9px;
  border-radius: 8px;
}

.recipe-cta {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--terracotta);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---------- Recipe modal ---------- */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(74, 63, 53, 0.55);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.open { display: flex; }

.modal {
  background: var(--cream);
  max-width: 680px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  border-radius: 24px;
  padding: 0;
  position: relative;
}
.modal-photo { height: 220px; }
.modal-photo img { width: 100%; height: 100%; object-fit: cover; }
.modal-content { padding: 28px 32px 36px; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink);
}
.modal-tag { color: var(--terracotta); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.modal h3 { font-size: 28px; margin: 8px 0 16px; }
.modal-stats { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.modal-stats .macro { background: var(--card); border: 1px solid var(--border); }
.modal-cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; }
.modal h4 { font-family: 'Baloo 2', sans-serif; font-size: 15px; color: var(--terracotta); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.03em; }
.modal ul, .modal ol { padding-left: 18px; margin: 0; font-size: 14.5px; }
.modal li { margin-bottom: 7px; }

/* ---------- Why / trust ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card { text-align: center; padding: 8px; }
.why-icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--terracotta);
}
.why-card h3 { font-size: 17px; margin-bottom: 8px; }
.why-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- About the author ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.about-photo {
  border-radius: 24px;
  overflow: hidden;
  border: 6px solid var(--card);
  box-shadow: 0 24px 48px -20px rgba(74, 63, 53, 0.3);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-grid h2 { font-size: 30px; margin: 10px 0 18px; }
.about-grid p { font-size: 15.5px; color: var(--ink-soft); margin: 0 0 14px; }
.about-grid p:last-child { margin-bottom: 0; }

/* ---------- Pricing / CTA ---------- */
.offer {
  background: var(--ink);
  border-radius: 32px;
  padding: 56px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  color: var(--cream);
}
.offer-photo img {
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.offer h2 { color: #fff; font-size: 32px; margin-bottom: 14px; }
.offer p.lead { color: rgba(247,239,224,0.75); font-size: 16.5px; margin-bottom: 24px; }
.offer-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.offer-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(247,239,224,0.9); }
.offer-list svg { flex-shrink: 0; color: var(--terracotta); }

.price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.price-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Work Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream);
  background: rgba(247, 239, 224, 0.1);
  border: 1px solid rgba(247, 239, 224, 0.25);
  padding: 8px 16px;
  border-radius: 999px;
}

.offer-form { display: flex; gap: 10px; max-width: 420px; }
.offer-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 999px;
  border: none;
  font-family: 'Work Sans', sans-serif;
  font-size: 14.5px;
}
.offer-note { font-size: 12.5px; color: rgba(247,239,224,0.55); margin-top: 12px; }

/* PayPal's Hosted Buttons widget injects its own wrapper with generous
   margin-top/margin-bottom (1rem/2rem) via inline styles -- override with
   !important since inline styles otherwise beat any external stylesheet. */
#paypal-container-65LRALMG69DX2 [id$="-wrapper"] {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4px 24px;
}
.faq-q {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
}
.faq-q .plus { color: var(--terracotta); font-size: 20px; transition: transform 0.2s ease; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  font-size: 15px;
  color: var(--ink-soft);
}
.faq-item.open .faq-a { padding-bottom: 18px; }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo span { color: rgba(247,239,224,0.85); }
.footer-rights {
  font-size: 13px;
  color: rgba(247,239,224,0.55);
  margin-top: 10px;
}
.footer-col-title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  color: rgba(247,239,224,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col a {
  color: rgba(247,239,224,0.85);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--terracotta); }
.footer-disclaimer-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  color: rgba(247,239,224,0.65);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.footer-disclaimer-toggle .plus { color: var(--terracotta); font-size: 17px; transition: transform 0.2s ease; }
.footer-disclaimer-toggle[aria-expanded="true"] .plus { transform: rotate(45deg); }
.footer-disclaimer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.footer-disclaimer-inner {
  font-size: 12.5px;
  color: rgba(247,239,224,0.5);
  max-width: 480px;
  line-height: 1.6;
  padding-top: 14px;
}
.footer-disclaimer-inner p { margin: 0 0 8px; }
.footer-disclaimer-inner p:last-child { margin-bottom: 0; }

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
.legal-back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--terracotta);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.legal-back:hover { text-decoration: underline; }
.legal-content h1 { font-size: 34px; margin-bottom: 6px; }
.legal-updated { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 40px; }
.legal-content h2 { font-size: 19px; margin: 34px 0 10px; color: var(--ink); }
.legal-content p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; margin: 0 0 14px; }
.legal-content li { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; margin-bottom: 6px; }
.legal-content a { color: var(--terracotta); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; margin: 0 auto; }
  .hero h1 { font-size: 38px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; padding: 32px; }
  .modal-cols { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 8px; }
}

@media (max-width: 560px) {
  .feature-grid, .recipe-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .offer-form { flex-direction: column; }
}
