/* ============================================================
   AlleRecipe — Landing Page
   Recime-inspired structure (serif display + cursive accent,
   cream canvas, playful food doodles, phones on color blobs)
   rendered in AlleRecipe's green brand palette.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #2D9B5A;
  --green-dark: #1E6B3E;
  --green-deep: #185231;
  --green-50:   #ECF7F0;
  --green-100:  #D7EFDF;
  --cream:      #F6EFDF;   /* page canvas */
  --cream-soft: #FCF8EF;
  --ink:        #23231D;   /* serif text on cream */
  --muted:      #6B6658;
  --red:        #E04434;
  --amber:      #E8902B;
  --peach:      #FFE2D2;
  --butter:     #FBEFC6;
  --border:     #E9DEC9;
  --shadow-md:  0 14px 40px rgba(40,30,10,.10);
  --shadow-lg:  0 26px 60px rgba(24,82,49,.20);
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-script:'Dancing Script', cursive;
  --font-body:  'Inter', system-ui, -apple-system, sans-serif;
  --transition: .2s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--cream); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

/* Cursive accent word */
.script { font-family: var(--font-script); font-weight: 700; color: var(--green); font-style: normal; }
.script--cream { color: #F7E6BE; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(45,155,90,.96); backdrop-filter: blur(8px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__logo { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-serif); font-size: 1.3rem; }
.nav__cta { background: #fff; color: var(--green-dark) !important; padding: 9px 20px; border-radius: 999px; font-weight: 700; transition: transform var(--transition); }
.nav__cta:hover { transform: translateY(-1px); }

/* ---------- Store badges ---------- */
.store-row { display: flex; flex-wrap: wrap; gap: 14px; }
.store-row--center { justify-content: center; }
.store-badge { display: inline-flex; align-items: center; gap: 11px; background: #15130f; color: #fff; padding: 12px 20px; border-radius: 14px; transition: transform var(--transition); }
.store-badge:hover { transform: translateY(-2px); }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge__text small { font-size: .66rem; opacity: .85; }
.store-badge__text strong { font-size: 1.02rem; }
.store-badge--light { background: #fff; color: #15130f; }
/* Pre-launch "coming soon" state — badges are display-only, not links. */
.store-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.store-soon {
  display: inline-block;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
}
.store-badge--soon { cursor: default; }
.store-badge--soon:hover { transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; text-align: center; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 50% -20%, var(--green) 0%, var(--green-dark) 70%, var(--green-deep) 100%);
  padding: 84px 0 0; }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.04; }
.hero__title .script { font-size: 1.18em; }
.hero__sub { margin: 22px auto 30px; font-size: 1.18rem; color: rgba(255,255,255,.92); max-width: 520px; }
.doodles { display: flex; gap: 14px; align-items: flex-end; justify-content: center; margin-top: 48px; padding-bottom: 8px; flex-wrap: wrap; }
.doodle { width: 84px; height: auto; filter: drop-shadow(0 8px 14px rgba(0,0,0,.12)); transform: translateY(18px); }
.doodle:nth-child(odd) { transform: translateY(28px); }

/* ---------- Feature sections ---------- */
.feature { padding: 96px 0; }
.feature--alt { background: var(--cream-soft); }
.feature__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature__copy { max-width: 480px; }
.doodle-mark { color: var(--green); font-size: 2rem; display: inline-block; margin-bottom: 6px; }
.doodle-mark--peach { color: var(--amber); }
.feature__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.08; }
.feature__title .script { font-size: 1.15em; }
.feature__text { margin: 18px 0 26px; color: var(--muted); font-size: 1.08rem; }
.btn { display: inline-block; background: var(--green); color: #fff; font-weight: 700; padding: 15px 34px; border-radius: 999px; box-shadow: 0 10px 24px rgba(45,155,90,.28); transition: transform var(--transition), background var(--transition); }
.btn:hover { background: var(--green-dark); transform: translateY(-2px); }

/* ---------- Phone + blob ---------- */
.feature__art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 480px; }
.blob { position: absolute; width: 360px; height: 360px; border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%; z-index: 0; }
.blob--green { background: var(--green-100); }
.blob--peach { background: var(--peach); }
.blob--butter { background: var(--butter); }
.phone { position: relative; z-index: 1; width: 270px; background: #15231a; border-radius: 40px; padding: 11px; box-shadow: var(--shadow-lg); }
.phone__screen { background: #fff; border-radius: 30px; padding: 20px 16px; min-height: 420px; }

.verdict { display: flex; align-items: center; gap: 12px; border-radius: 14px; padding: 14px; }
.verdict--safe { background: var(--green-50); border: 1px solid var(--green-100); }
.verdict--danger { background: #FCEBE9; border: 1px solid #F5C9C3; }
.verdict__check { width: 36px; height: 36px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 800; }
.verdict--safe .verdict__check { background: var(--green); }
.verdict--danger .verdict__check { background: var(--red); }
.verdict__label { font-family: var(--font-serif); color: var(--green-dark); font-size: 1.05rem; }
.verdict__label--danger { color: var(--red); }
.verdict__sub { font-size: .8rem; color: var(--muted); }
.chip { margin: 14px 0; padding: 9px 12px; border-radius: 10px; font-size: .78rem; font-weight: 700; }
.chip--amber { background: #FCF1DE; color: var(--amber); }
.ing { display: flex; align-items: center; justify-content: space-between; padding: 11px 2px; border-bottom: 1px solid #F0EADC; font-size: .92rem; color: var(--ink); }
.ing em { font-style: normal; color: var(--muted); font-size: .85em; }
.ing--flag { color: var(--red); font-weight: 700; }
.ing .ok { color: var(--green); font-weight: 800; }
.ing .bad { width: 19px; height: 19px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800; }
.src-chip { display: inline-block; background: var(--green-50); color: var(--green-dark); font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.recipe-title { font-family: var(--font-serif); font-size: 1.25rem; margin: 12px 0 4px; }
.recipe-meta { font-size: .76rem; color: var(--muted); margin-bottom: 12px; }
.person { display: flex; align-items: center; justify-content: space-between; padding: 11px 2px; border-bottom: 1px solid #F0EADC; font-size: .95rem; }
.pill { font-size: .72rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.pill--ok { background: var(--green-50); color: var(--green-dark); }
.pill--bad { background: #FCEBE9; color: var(--red); }

/* ---------- And more ---------- */
.more { padding: 40px 0 88px; text-align: center; }
.more__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 26px; }
.more__title .script { font-size: 1.2em; }
.more__pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.mpill { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 11px 20px; font-weight: 600; font-size: .96rem; box-shadow: 0 2px 8px rgba(40,30,10,.04); }

/* ---------- Stats ---------- */
.stats { background: var(--green-dark); color: #fff; padding: 72px 0; text-align: center; }
.stats__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 40px; }
.stats__title .script { color: #F7E6BE; font-size: 1.2em; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat__num { font-family: var(--font-serif); font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1; color: #fff; }
.stat__label { margin-top: 8px; color: rgba(255,255,255,.82); font-size: .96rem; }

/* ---------- FAQ ---------- */
.section--faq { padding: 96px 0; }
.faq__heading { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 4.2vw, 2.8rem); text-align: center; margin-bottom: 40px; }
.faq__heading .script { font-size: 1.2em; }
.faq { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--border); padding: 6px 0; }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__item summary { list-style: none; cursor: pointer; position: relative; padding: 22px 40px 22px 0; font-family: var(--font-serif); font-size: 1.2rem; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.7rem; font-weight: 300; color: var(--green); transition: transform var(--transition); }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { color: var(--muted); padding: 0 40px 22px 0; font-size: 1.02rem; }

/* ---------- Final CTA ---------- */
.cta { text-align: center; color: #fff; padding: 96px 0; background: radial-gradient(120% 120% at 50% 0%, var(--green) 0%, var(--green-dark) 75%); }
.cta__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 5vw, 3.2rem); }
.cta__title .script { font-size: 1.18em; }
.cta__sub { margin: 16px 0 30px; color: rgba(255,255,255,.9); font-size: 1.1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--green-deep); color: rgba(255,255,255,.82); padding: 36px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-serif); font-size: 1.05rem; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { color: rgba(255,255,255,.82); font-weight: 600; font-size: .92rem; transition: color var(--transition); }
.footer__links a:hover { color: #fff; }
.footer__copy { width: 100%; text-align: center; font-size: .84rem; color: rgba(255,255,255,.6); border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; margin-top: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .feature__inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .feature__copy { max-width: none; }
  .feature--alt .feature__art { order: 2; }
  .feature--alt .feature__copy { order: 1; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
@media (max-width: 540px) {
  .hero { padding-top: 56px; }
  .feature { padding: 64px 0; }
  .doodle { width: 60px; }
  .section--faq, .cta { padding: 64px 0; }
  .footer__inner { flex-direction: column; text-align: center; }
}
