/* ═══════════════════════════════════════════════════════════════
   Sapori — Marketing Site
   Design tokens mirror sapori-rn/src/theme/index.ts so the website
   reads as the same brand as the app.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --teal:        #1B5E52;
  --teal-light:  #2D7A66;
  --teal-pale:   #E8F4F1;
  --terra:       #E07850;
  --terra-light: #F5A07A;
  --terra-pale:  #FEF0EA;
  --gold:        #C79A3A;     /* bridges the red/gold logo with the site */
  --gold-soft:   #F3E6C4;

  /* Backgrounds */
  --bg:          #F7F5F2;     /* warm off-white */
  --bg-mint:     #E5F4EB;     /* mint pairs with teal */
  --white:       #FFFFFF;

  /* Text */
  --text:        #1A1A1A;
  --text-2:      #6B6B6B;
  --text-3:      #AAAAAA;

  /* UI */
  --border:      #EBEBEB;

  /* Type */
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* Radius + shadow */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow:    0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.18);

  /* Spacing */
  --gutter: clamp(20px, 4vw, 32px);
  --section-py: clamp(72px, 10vw, 128px);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Container ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Shared bits ───────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-pale);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow--terra { color: var(--terra); background: #FEF0EA; }

.section-head { text-align: left; margin-bottom: 48px; }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { margin-left: auto; margin-right: auto; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
  font-weight: 700;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  border: none;
  border-radius: var(--r);
  padding: 14px 24px;
  font-size: 15px;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-light); box-shadow: 0 8px 20px rgba(27,94,82,0.25); }
.btn--terra { background: var(--terra); color: var(--white); }
.btn--terra:hover { background: var(--terra-light); }
.btn--ghost { background: transparent; color: var(--teal); }
.btn--sm { padding: 10px 18px; font-size: 14px; border-radius: 12px; }

/* ── Store buttons ─────────────────────────────────────── */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 16px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: var(--text);
  color: var(--white);
  border-radius: 14px;
  min-width: 180px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,0.15); }
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-btn small { font-size: 10px; opacity: 0.85; letter-spacing: 0.05em; text-transform: uppercase; }
.store-btn strong { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.store-buttons--light .store-btn { background: var(--white); color: var(--text); }
.store-buttons--light .store-btn:hover { background: var(--bg); }

/* "Coming soon" disabled store button (e.g. App Store pre-launch) */
.store-btn.is-soon {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.store-btn.is-soon:hover { transform: none; box-shadow: none; }

/* Footer "soon" label (non-link) */
.footer__soon {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  padding: 4px 0;
  cursor: default;
}
.footer__soon em { font-style: normal; opacity: 0.7; }

/* ═══════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 242, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.nav.nav--scrolled {
  border-bottom-color: rgba(0,0,0,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo { width: 32px; height: 32px; }
.nav__wordmark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.01em;
}
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.nav__links a { transition: color 0.15s ease; }
.nav__links a:hover { color: var(--teal); }

@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 var(--section-py);
  background:
    radial-gradient(circle at 80% 10%, rgba(224,120,80,0.10), transparent 50%),
    linear-gradient(180deg, var(--bg-mint) 0%, var(--bg) 100%);
}
.hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.hero__shape--1 {
  width: 480px; height: 480px;
  background: var(--teal-pale);
  top: -120px; left: -160px;
}
.hero__shape--2 {
  width: 360px; height: 360px;
  background: rgba(245,160,122,0.35);
  bottom: -80px; right: -100px;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 6.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero__title em {
  font-style: italic;
  font-weight: 600;
  color: var(--terra);
}
.hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.6;
}
.hero__legal {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 4px;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__phone {
  position: relative;
  max-width: 340px;
  width: 100%;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.18));
  transform: rotate(-2deg);
  transition: transform 0.5s ease;
}
.hero__phone:hover { transform: rotate(0deg) translateY(-6px); }
.hero__phone img {
  width: 100%;
  border-radius: 36px;
  border: 6px solid var(--text);
  background: var(--text);
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .store-buttons { justify-content: center; }
  .hero__phone { max-width: 260px; margin-top: 32px; transform: none; }
}

/* ═══════════════════════════════════════════════════════
   FEATURE SECTIONS
   ═══════════════════════════════════════════════════════ */
.feature {
  padding: var(--section-py) 0;
  background: var(--white);
}
.feature--alt { background: var(--bg); }
.feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.feature__grid--reverse .feature__copy { order: 2; }
.feature__grid--reverse .feature__visual { order: 1; }

.feature__title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 20px;
}
.feature__body {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 520px;
}
.feature__list { display: flex; flex-direction: column; gap: 12px; }
.feature__list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.feature__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 16px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--white);
}

.feature__visual { display: flex; justify-content: center; }

/* Phone mock (lighter device frame than the hero) */
.phone {
  width: 100%;
  max-width: 300px;
  border-radius: 40px;
  background: var(--text);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px;
  background: var(--text);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone img {
  width: 100%;
  border-radius: 32px;
  display: block;
}
.phone--tilted { transform: rotate(3deg); }

@media (max-width: 880px) {
  .feature__grid { grid-template-columns: 1fr; }
  .feature__grid--reverse .feature__copy { order: 1; }
  .feature__grid--reverse .feature__visual { order: 2; }
  .feature__body { margin-left: auto; margin-right: auto; }
  .phone { max-width: 240px; }
}

/* ═══════════════════════════════════════════════════════
   PERSONAS
   ═══════════════════════════════════════════════════════ */
.personas {
  padding: var(--section-py) 0;
  background: var(--bg);
}
.personas .section-head { text-align: center; }
.personas .section-head .eyebrow { margin-left: auto; margin-right: auto; display: block; width: fit-content; }
.personas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.persona {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.persona:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.persona__emoji { font-size: 40px; margin-bottom: 16px; }
.persona__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.persona__body {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
}

@media (max-width: 720px) {
  .personas__grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   VALUES STRIP
   ═══════════════════════════════════════════════════════ */
.values {
  background: var(--teal);
  color: var(--white);
  padding: clamp(48px, 6vw, 80px) 0;
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.value__title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
}
.value__body {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
}
@media (max-width: 880px) { .values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values__grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════ */
.faq {
  padding: var(--section-py) 0;
  background: var(--white);
}
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: var(--bg);
  border-radius: var(--r);
  padding: 20px 24px;
  transition: background 0.2s ease;
}
.faq__item[open] { background: var(--teal-pale); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--teal);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════════════ */
.cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 80%, rgba(245,160,122,0.25), transparent 60%),
    linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  color: var(--white);
  padding: var(--section-py) 0;
}
.cta__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}
.cta__title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.cta__sub {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
  max-width: 440px;
}
.cta__visual { display: flex; justify-content: center; }
.cta .phone { background: rgba(0,0,0,0.6); box-shadow: 0 40px 80px rgba(0,0,0,0.4); }

@media (max-width: 880px) {
  .cta__inner { grid-template-columns: 1fr; text-align: center; }
  .cta .store-buttons { justify-content: center; }
  .cta__sub { margin-left: auto; margin-right: auto; }
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.footer__logo { width: 44px; height: 44px; flex-shrink: 0; filter: brightness(0) invert(1); opacity: 0.85; }
.footer__wordmark {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}
.footer__tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 14px;
}
.footer__col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  padding: 4px 0;
  transition: color 0.15s ease;
}
.footer__col a:hover { color: var(--white); }

.footer__legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════
   MOTION ENGINE
   Reveal-on-scroll + parallax. Hidden state only applies when
   JS is active (html.js), so no-JS users always see content.
   ═══════════════════════════════════════════════════════ */
.js [data-reveal],
.js [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible,
.js [data-reveal-group] > .is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal variants */
.js [data-reveal="left"]  { transform: translateX(-32px); }
.js [data-reveal="right"] { transform: translateX(32px); }
.js [data-reveal="zoom"]  { transform: scale(0.94); }
.js [data-reveal="left"].is-visible,
.js [data-reveal="right"].is-visible { transform: translateX(0); }
.js [data-reveal="zoom"].is-visible  { transform: scale(1); }

/* Parallax: composed with each phone's resting rotation. */
.hero__phone { transform: rotate(-2deg) translateY(var(--parallax, 0px)); }
.phone       { transform: translateY(var(--parallax, 0px)); }
.phone--tilted { transform: rotate(3deg) translateY(var(--parallax, 0px)); }

/* Respect reduced-motion everywhere. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .js [data-reveal],
  .js [data-reveal-group] > * { opacity: 1; transform: none; }
  .hero__phone, .phone, .phone--tilted { transform: none; }
  .hero__phone { transform: rotate(-2deg); }
  .phone--tilted { transform: rotate(3deg); }
}

/* Hero entrance: subtle float on the device, drifting blobs. */
@media (prefers-reduced-motion: no-preference) {
  .hero__shape--1 { animation: floatA 14s ease-in-out infinite; }
  .hero__shape--2 { animation: floatB 18s ease-in-out infinite; }
}
@keyframes floatA {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(24px, 28px); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-28px, -22px); }
}

/* ═══════════════════════════════════════════════════════
   NAV — mobile drawer + toggle
   ═══════════════════════════════════════════════════════ */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  border-radius: 12px;
  position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav__toggle span { top: 21px; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after  { top: 7px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(247, 245, 242, 0.98);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    padding: 8px var(--gutter) 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow);
    display: flex;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .nav__links--open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--border); }
  .nav__links .nav__links-cta {
    margin-top: 12px;
    border-bottom: none;
    background: var(--teal);
    color: var(--white);
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
  }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 721px) {
  .nav__links-cta { display: none; }
}

/* ═══════════════════════════════════════════════════════
   PERSONA SVG ICONS (replaces emoji)
   ═══════════════════════════════════════════════════════ */
.persona__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--teal-pale);
  color: var(--teal);
  margin-bottom: 18px;
}
.persona:nth-child(2) .persona__icon { background: var(--terra-pale); color: var(--terra); }
.persona:nth-child(3) .persona__icon { background: var(--gold-soft); color: var(--gold); }
.persona__icon svg { width: 28px; height: 28px; }

/* ═══════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════ */
.how {
  padding: var(--section-py) 0;
  background: var(--white);
}
.how .section-head { text-align: center; }
.how .section-head .eyebrow { margin: 0 auto 20px; display: table; }
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  position: relative;
}
.step { text-align: center; padding: 0 8px; }
.step__num {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(27,94,82,0.22);
}
.step:nth-child(2) .step__num { background: var(--terra); box-shadow: 0 10px 24px rgba(224,120,80,0.24); }
.step:nth-child(3) .step__num { background: var(--gold); box-shadow: 0 10px 24px rgba(199,154,58,0.24); }
.step__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step__body { font-size: 15px; color: var(--text-2); line-height: 1.6; max-width: 320px; margin: 0 auto; }
@media (max-width: 760px) { .how__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ═══════════════════════════════════════════════════════
   STATS BAND
   ═══════════════════════════════════════════════════════ */
.stats {
  background: var(--bg);
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--teal);
}
.stat:nth-child(2) .stat__num { color: var(--terra); }
.stat:nth-child(3) .stat__num { color: var(--gold); }
.stat:nth-child(4) .stat__num { color: var(--teal); }
.stat__label {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.01em;
}
@media (max-width: 720px) { .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; } }

/* ═══════════════════════════════════════════════════════
   PRE-LOADED RECIPES — filterable grid + modal
   ═══════════════════════════════════════════════════════ */
.recipes {
  padding: var(--section-py) 0;
  background: var(--white);
}
.recipes__intro {
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.6;
}

/* Filter tabs */
.recipes__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 36px 0 8px;
}
.recipes__filter {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.recipes__filter:hover { color: var(--teal); border-color: var(--teal-pale); }
.recipes__filter.is-active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

/* Grid */
.recipes__grid {
  max-width: 1200px;
  margin: 36px auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.recipe-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: none;
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.recipe-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.recipe-card.is-hidden { display: none; }
.recipe-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.recipe-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.recipe-card:hover .recipe-card__media img { transform: scale(1.06); }
.recipe-card__tag {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  padding: 4px 10px;
  border-radius: 999px;
}
.recipe-card__tag--vegan   { background: #3E8E5A; }
.recipe-card__tag--paleo   { background: var(--terra); }
.recipe-card__tag--keto    { background: #8A6BBF; }
.recipe-card__tag--italian { background: var(--teal); }
.recipe-card__title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  padding: 14px 16px 18px;
}

.recipes__disclosure {
  display: block;
  margin: 28px auto 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  font-style: italic;
}

@media (max-width: 980px) {
  .recipes__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .recipes__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .recipe-card__title { font-size: 15px; padding: 12px 14px 16px; }
}

/* ── Recipe modal ──────────────────────────────────────── */
.recipe-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 4vw, 40px);
}
.recipe-modal[hidden] { display: none; }
.recipe-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: modalFade 0.25s ease;
}
.recipe-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: modalRise 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.recipe-modal__close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 38px; height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease;
}
.recipe-modal__close:hover { background: var(--white); }
.recipe-modal__media {
  position: relative;
  min-height: 100%;
}
.recipe-modal__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}
.recipe-modal__tag {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  padding: 5px 12px;
  border-radius: 999px;
}
.recipe-modal__tag[data-diet="vegan"]   { background: #3E8E5A; }
.recipe-modal__tag[data-diet="paleo"]   { background: var(--terra); }
.recipe-modal__tag[data-diet="keto"]    { background: #8A6BBF; }
.recipe-modal__tag[data-diet="italian"] { background: var(--teal); }
.recipe-modal__body { padding: clamp(24px, 4vw, 40px); }
.recipe-modal__title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 10px;
}
.recipe-modal__why {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.recipe-modal__cols { display: flex; flex-direction: column; gap: 24px; }
.recipe-modal__label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.recipe-modal__ing {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.recipe-modal__ing li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.4;
}
.recipe-modal__ing li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--terra);
}
.recipe-modal__steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.recipe-modal__steps li {
  position: relative;
  padding-left: 36px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
  counter-increment: step;
}
.recipe-modal__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -1px;
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-pale);
  color: var(--teal);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}
body.modal-open { overflow: hidden; }

@media (min-width: 681px) {
  .recipe-modal__cols { flex-direction: row; }
  .recipe-modal__col { flex: 1; }
}
@media (max-width: 680px) {
  .recipe-modal__panel { grid-template-columns: 1fr; max-height: 92vh; }
  .recipe-modal__media img { min-height: 200px; max-height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  .recipe-modal__backdrop, .recipe-modal__panel { animation: none; }
}

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════ */
.testi {
  padding: var(--section-py) 0;
  background: var(--bg);
}
.testi .section-head { text-align: center; }
.testi .section-head .eyebrow { margin: 0 auto 20px; display: table; }
.testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote__stars { display: flex; gap: 3px; color: var(--gold); }
.quote__stars svg { width: 18px; height: 18px; }
.quote__text {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
}
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  color: var(--white);
  font-size: 15px;
  background: var(--teal);
}
.quote:nth-child(2) .quote__avatar { background: var(--terra); }
.quote:nth-child(3) .quote__avatar { background: var(--gold); }
.quote__name { font-size: 15px; font-weight: 600; color: var(--text); }
.quote__role { font-size: 13px; color: var(--text-3); }
@media (max-width: 860px) { .testi__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ═══════════════════════════════════════════════════════
   PRICING (Free vs Pro)
   ═══════════════════════════════════════════════════════ */
.pricing {
  padding: var(--section-py) 0;
  background: var(--white);
}
.pricing .section-head { text-align: center; }
.pricing .section-head .eyebrow { margin: 0 auto 20px; display: table; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}
.plan {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.plan--pro {
  border-color: transparent;
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-light) 100%);
  color: var(--white);
  box-shadow: var(--shadow);
}
.plan--year {
  border-color: var(--gold);
  border-width: 2px;
  box-shadow: 0 10px 30px rgba(199, 154, 58, 0.15);
}
.plan--year .plan__badge { color: var(--white); background: var(--gold); }
.plan--year .plan__price b { color: var(--gold); }
.plan--year .plan__list li svg { color: var(--gold); }
.plan--year .btn--primary { background: var(--gold); color: var(--white); }
.plan--year .btn--primary:hover { background: #b3892e; box-shadow: 0 8px 20px rgba(199, 154, 58, 0.3); }
.plan__badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a4410;
  background: var(--gold-soft);
  padding: 5px 12px;
  border-radius: 999px;
}
.plan__name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}
.plan__price { font-size: 16px; margin-bottom: 4px; }
.plan__price b { font-family: var(--serif); font-size: 40px; font-weight: 700; letter-spacing: -0.02em; }
.plan--free .plan__price b { color: var(--teal); }
.plan__note { font-size: 13px; color: var(--text-3); margin-bottom: 24px; }
.plan--pro .plan__note { color: rgba(255,255,255,0.7); }
.plan__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.plan__list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.45;
}
.plan__list li svg { position: absolute; left: 0; top: 2px; width: 18px; height: 18px; }
.plan--free .plan__list li svg { color: var(--teal); }
.plan--pro .plan__list li svg { color: var(--gold-soft); }
.plan .btn { margin-top: auto; width: 100%; }
.plan--pro .btn--primary { background: var(--white); color: var(--teal); }
.plan--pro .btn--primary:hover { background: var(--bg); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
@media (max-width: 920px) { .pricing__grid { grid-template-columns: 1fr; max-width: 440px; } }

/* ═══════════════════════════════════════════════════════
   LEGAL PAGES (privacy / terms)
   ═══════════════════════════════════════════════════════ */
.legal { padding: clamp(48px, 7vw, 96px) 0 var(--section-py); background: var(--white); }
.legal__inner { max-width: 760px; margin: 0 auto; }
.legal__title {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.legal__updated { color: var(--text-3); font-size: 14px; margin-bottom: 40px; }
.legal__inner h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 12px;
}
.legal__inner h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.legal__inner p, .legal__inner li { color: var(--text-2); line-height: 1.7; font-size: 16px; }
.legal__inner p { margin-bottom: 14px; }
.legal__inner ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.legal__inner li { margin-bottom: 8px; }
.legal__inner a { color: var(--teal); text-decoration: underline; }
.legal__back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal); font-weight: 600; font-size: 14px; margin-bottom: 32px;
}
.legal__back svg { width: 16px; height: 16px; }

/* ═══════════════════════════════════════════════════════
   FOCUS STATES (accessibility)
   ═══════════════════════════════════════════════════════ */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.store-btn:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
  border-radius: 6px;
}
