/* =====================================================================
   AI Grocery Planner — landing page styles
   Brand system mirrors the Flutter app (fresh-market): cream identity,
   forest-green bands, a single lime accent, Plus Jakarta Sans.

   Design principles (senior pass):
   • Light only — one warm cream identity, no dark mode.
   • Flat by default — structure comes from borders and background steps,
     not from stacked drop-shadows. Shadow is reserved for the phone
     devices and the one primary button, where lift is meaningful.
   • Fewer decorative glows/grain — let the product screenshots carry it.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------------- */
:root {
  /* Brand palette (exact app values) */
  --cream:      #F3F1E9;
  --ink:        #161A17;
  --lime:       #B5E34D;
  --lime-deep:  #9BCB34;   /* text-safe lime on cream */
  --on-lime:    #16290B;
  --grad-a:     #0D2E21;
  --grad-b:     #123B2A;
  --grad-c:     #1B5C41;
  --success:    #2E9E5B;
  --amber:      #C9821F;

  /* Semantic tokens */
  --bg:         var(--cream);
  --bg-soft:    #ECEAE0;   /* alternating section wash */
  --surface:    #FFFFFF;   /* cards */
  --surface-2:  #FBFAF5;
  --fg:         var(--ink);
  --fg-muted:   #545A54;
  --fg-subtle:  #767C75;
  --border:     rgba(22, 26, 23, 0.12);
  --border-2:   rgba(22, 26, 23, 0.07);

  /* Zeb mascot signature accent (purple, used sparingly) */
  --zeb-purple:      #7C5CFF;
  --zeb-purple-ink:  #4A2FB0;
  --zeb-purple-soft: #F0EBFF;
  --border-strong: rgba(22, 26, 23, 0.22);
  --lime-ring:  rgba(155, 203, 52, 0.55);

  /* On-forest */
  --on-forest:      #FFFFFF;
  --on-forest-mut:  rgba(255, 255, 255, 0.74);
  --on-forest-sub:  rgba(255, 255, 255, 0.55);
  --forest-hair:    rgba(255, 255, 255, 0.16);

  /* Type */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;

  /* Shadow — used sparingly. Devices and the primary CTA only. */
  --shadow-device: 0 26px 50px -30px rgba(13, 46, 33, 0.45);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 40px);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light;
}

/* ---------------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }

:focus-visible {
  outline: 3px solid var(--lime-ring);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--lime); color: var(--on-lime); }

/* ---------------------------------------------------------------------
   3. Motion / reveal utilities
   ------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------------------------------------------------------------------
   4. Layout primitives
   ------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(60px, 8vw, 108px); }
.section--tight { padding-block: clamp(44px, 6vw, 76px); }
.section--soft { background: var(--bg-soft); }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 20px; height: 2px; border-radius: 2px;
  background: var(--lime-deep);
}
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }

h2.h-section { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -0.038em; }
.lead {
  margin-top: 16px;
  font-size: clamp(1.03rem, 1.5vw, 1.2rem);
  color: var(--fg-muted);
  font-weight: 500;
  max-width: 60ch;
}
.section-head--center .lead { margin-inline: auto; }

.lime-text { color: var(--lime-deep); }

/* Triad chip: HAVE -> WANT -> BUDGET spine */
.triad {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-weight: 700; letter-spacing: -0.01em;
}
.triad .arrow { color: var(--fg-subtle); font-weight: 800; }
.triad .k {
  padding: 3px 12px; border-radius: 8px;
  background: rgba(155, 203, 52, 0.16);
  color: #3d5c12; border: 1px solid rgba(155, 203, 52, 0.45);
}

/* ---------------------------------------------------------------------
   5. Buttons & badges
   ------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem; letter-spacing: -0.01em;
  transition: transform 0.16s var(--ease), background 0.16s var(--ease), border-color 0.16s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }

/* The single place shadow is allowed on UI chrome — the primary action. */
.btn--primary {
  background: var(--lime); color: var(--on-lime);
  box-shadow: 0 6px 16px -8px rgba(120, 170, 30, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); background: #C0EA5C; }

.btn--ghost {
  background: transparent; color: var(--fg);
  border: 1.5px solid var(--border-strong);
}
.btn--ghost:hover { border-color: var(--fg); background: rgba(22,26,23,0.03); }

.btn--on-forest.btn--ghost { color: #fff; border-color: rgba(255,255,255,0.32); }
.btn--on-forest.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn--sm { padding: 10px 18px; font-size: 0.94rem; }
.btn--block { width: 100%; }

/* App-store style badges — flat, bordered, no drop shadow */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 10px 18px 10px 16px;
  border-radius: 12px;
  background: var(--ink); color: #fff;
  border: 1px solid var(--ink);
  transition: transform 0.16s var(--ease), background 0.16s var(--ease);
}
.badge:hover { transform: translateY(-2px); background: #22271f; }
.badge svg { width: 25px; height: 25px; flex: none; }
.badge .b-small { display: block; font-size: 0.63rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.82; font-weight: 600; }
.badge .b-big { display: block; font-size: 1.0rem; font-weight: 700; letter-spacing: -0.01em; margin-top: -1px; }
.badge--on-forest { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22); }
.badge--on-forest:hover { background: rgba(255,255,255,0.16); }

/* ---------------------------------------------------------------------
   6. Forest bands (calm — subtle grid, no grain)
   ------------------------------------------------------------------- */
.forest {
  position: relative;
  color: var(--on-forest);
  background: linear-gradient(150deg, var(--grad-a) 0%, var(--grad-b) 55%, var(--grad-c) 100%);
  isolation: isolate;
  overflow: hidden;
}
.forest .grid-tex {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(100% 90% at 50% 0%, #000 0%, transparent 90%);
          mask-image: radial-gradient(100% 90% at 50% 0%, #000 0%, transparent 90%);
}
/* grain retained as a hook but disabled — kept empty so HTML needn't change */
.grain { display: none; }
.forest .eyebrow { color: var(--on-forest-mut); }
.forest .eyebrow::before { background: var(--lime); }
.forest .lead { color: var(--on-forest-mut); }

/* ---------------------------------------------------------------------
   7. Navigation
   ------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.02em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand span { font-size: 1.05rem; }
.brand small {
  display: block; font-size: 0.63rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-subtle); margin-top: -3px;
}

.nav__links { display: none; align-items: center; gap: 4px; }
.nav__links a {
  padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  color: var(--fg-muted); transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.nav__links a:hover { color: var(--fg); background: var(--border-2); }

.nav__cta { display: none; align-items: center; gap: 10px; }

.nav__burger {
  display: inline-flex; flex-direction: column; gap: 5px; padding: 10px;
  border-radius: 10px; border: 1px solid var(--border);
}
.nav__burger span { width: 20px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__panel {
  position: fixed; inset: 72px 0 auto 0; z-index: 99;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px var(--gutter) 26px;
  display: grid; gap: 6px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform 0.28s var(--ease), opacity 0.24s var(--ease);
}
.nav.is-open .nav__panel { transform: none; opacity: 1; pointer-events: auto; }
.nav__panel a {
  padding: 13px 12px; border-radius: 12px; font-weight: 600; font-size: 1.05rem;
  color: var(--fg); border-bottom: 1px solid var(--border-2);
}
.nav__panel a:last-of-type { border-bottom: none; }
.nav__panel .btn { margin-top: 12px; }

@media (min-width: 940px) {
  .nav__links { display: flex; }
  .nav__cta { display: flex; }
  .nav__burger { display: none; }
  .nav__panel { display: none; }
}

/* ---------------------------------------------------------------------
   8. Hero
   ------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border-2); }
.hero__inner {
  display: grid; gap: clamp(36px, 5vw, 56px);
  padding-block: clamp(40px, 6vw, 72px) clamp(52px, 7vw, 88px);
  align-items: center;
}
.hero__pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.85rem; font-weight: 600; color: var(--fg-muted);
  margin-bottom: 22px;
}
.hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(46,158,91,0.16); }
.hero__pill b { color: var(--fg); font-weight: 700; }

.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.2rem);
  letter-spacing: -0.045em;
  font-weight: 800;
}
.hero h1 .lime-text { display: block; }
.hero__sub {
  margin-top: 20px; max-width: 34ch;
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
  color: var(--fg-muted); font-weight: 500;
}
.hero__sub b { color: var(--fg); font-weight: 700; }
.hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__badges { margin-top: 22px; }
.hero__trust {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
  font-size: 0.85rem; color: var(--fg-subtle); font-weight: 600;
}
.hero__trust .stack { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .stack::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime-deep); }

/* Waitlist form */
.waitlist { margin-top: 26px; max-width: 460px; }
.waitlist__row { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist input[type="email"] {
  flex: 1 1 200px; min-width: 0;
  padding: 14px 18px; border-radius: 999px;
  border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--fg);
  font: inherit; font-weight: 500;
}
.waitlist input::placeholder { color: var(--fg-subtle); }
.waitlist input:focus-visible { outline: 3px solid var(--lime-ring); outline-offset: 2px; border-color: transparent; }
.waitlist__note { margin-top: 10px; font-size: 0.8rem; color: var(--fg-subtle); }
.waitlist__ok { margin-top: 10px; font-size: 0.9rem; color: var(--success); font-weight: 700; display: none; }
.waitlist.is-done .waitlist__ok { display: block; }
.waitlist.is-done .waitlist__row { display: none; }
.waitlist__err { margin-top: 10px; font-size: 0.85rem; color: #F3B8B8; font-weight: 600; display: none; }
.waitlist__err a { text-decoration: underline; }
.waitlist.is-error .waitlist__err { display: block; }

@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.02fr 1fr; }
}

/* ---------------------------------------------------------------------
   9. Device mockups (iPhone-15-Pro style)
   ------------------------------------------------------------------- */
.device {
  position: relative;
  container-type: inline-size;
  width: 100%;
  background: linear-gradient(158deg, #3a3a3c 0%, #1c1c1e 55%, #0e0e10 100%);
  border-radius: 15%/7.2%;
  padding: 1.1%;
  box-shadow: var(--shadow-device);
}
/* Slim hardware details — a real iPhone's edge, not a thick toy bezel */
.device::before, .device::after {
  content: ""; position: absolute; background: #232326; border-radius: 2px 0 0 2px;
}
.device::before { /* volume rocker */
  left: -0.9cqw; top: 15cqw; width: 1cqw; height: 7cqw;
  box-shadow: 0 11cqw 0 0 #232326;
}
.device::after { /* power button */
  right: -0.9cqw; top: 20cqw; width: 1cqw; height: 12cqw; border-radius: 0 2px 2px 0;
}
.device .screen {
  position: relative;
  background: var(--cream);
  border-radius: 13.6%/6.5%;
  overflow: hidden;
  padding-top: 5.6cqw;
  padding-bottom: 2.6cqw;
}
.device .screen > img { width: 100%; height: auto; }
.device .island {
  position: absolute; top: 2cqw; left: 50%; transform: translateX(-50%);
  width: 26cqw; height: 6.6cqw; background: #0a0d0a; border-radius: 999px; z-index: 3;
}
.device .home-ind {
  position: absolute; bottom: 1cqw; left: 50%; transform: translateX(-50%);
  width: 32cqw; height: 1.1cqw; border-radius: 999px; background: rgba(22,26,23,0.42); z-index: 3;
}

/* Hero phone fan */
.hero__visual { position: relative; }
.fan {
  position: relative; width: 100%; max-width: 500px;
  margin-inline: auto; aspect-ratio: 1 / 1.16;
}
.fan .device { position: absolute; top: 0; will-change: transform; }
.fan .fan-home   { width: 60%; left: 20%; top: 4%; z-index: 3; }
.fan .fan-plan   { width: 52%; left: 46%; top: 13%; z-index: 1; transform: rotate(6.5deg); transform-origin: bottom center; }
.fan .fan-pantry { width: 52%; left: 2%;  top: 13%; z-index: 1; transform: rotate(-6.5deg); transform-origin: bottom center; }

.phone-wrap { display: flex; justify-content: center; }
.phone-wrap .device { max-width: 300px; }

/* ---------------------------------------------------------------------
   10. Built-with strip
   ------------------------------------------------------------------- */
.builtwith {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 30px; color: var(--fg-subtle); font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.04em;
}

/* ---------------------------------------------------------------------
   11. Problem — flat bordered cards
   ------------------------------------------------------------------- */
.cards-3 {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

.pain {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.pain:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.pain__ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(201, 130, 31, 0.12); color: var(--amber); margin-bottom: 18px;
}
.pain__ico svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; }
.pain h3 { font-size: 1.22rem; letter-spacing: -0.02em; }
.pain p { margin-top: 10px; color: var(--fg-muted); font-size: 0.98rem; }

/* ---------------------------------------------------------------------
   12. How it works
   ------------------------------------------------------------------- */
.steps { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative; background: rgba(255,255,255,0.05); border: 1px solid var(--forest-hair);
  border-radius: var(--r-lg); padding: 24px 22px 22px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.step:hover { border-color: rgba(255,255,255,0.34); transform: translateY(-3px); }
.step__n {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--lime); color: var(--on-lime); font-weight: 800; font-size: 1.05rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; letter-spacing: -0.02em; }
.step p { margin-top: 8px; color: var(--on-forest-mut); font-size: 0.94rem; }
.step .tag {
  display: inline-block; margin-top: 14px; font-size: 0.75rem; font-weight: 700;
  color: var(--lime); background: rgba(181,227,77,0.12); border: 1px solid rgba(181,227,77,0.4);
  padding: 4px 10px; border-radius: 999px;
}
.forest .step .phone-wrap .device { max-width: 220px; }

/* ---------------------------------------------------------------------
   13. Feature rows (alternating) — screenshots carry these
   ------------------------------------------------------------------- */
.feature {
  display: grid; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding-block: clamp(36px, 5vw, 58px);
}
.feature + .feature { border-top: 1px solid var(--border-2); }
.feature__media { position: relative; }
/* Grounding tint behind the phone — soft, not a glow bloom */
.feature__media::before {
  content: ""; position: absolute; inset: 8% 12%; z-index: -1;
  border-radius: 28px; background: var(--bg-soft);
}
.feature__glow { display: none; }
.feature__ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--grad-c);
  margin-bottom: 18px;
}
.feature__ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; }
.feature h3 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); letter-spacing: -0.03em; }
.feature p { margin-top: 14px; color: var(--fg-muted); font-size: 1.03rem; max-width: 46ch; }
.feature__list { margin-top: 20px; display: grid; gap: 11px; }
.feature__list li { display: flex; gap: 11px; align-items: flex-start; color: var(--fg); font-size: 0.98rem; font-weight: 500; }
.feature__list svg { flex: none; width: 21px; height: 21px; margin-top: 1px; color: var(--success); }

@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature--reverse .feature__media { order: 2; }
}

/* ---------------------------------------------------------------------
   14. Screens gallery (scroll-snap)
   ------------------------------------------------------------------- */
.gallery { position: relative; }
.gallery__track {
  display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px var(--gutter) 30px; margin-inline: calc(-1 * var(--gutter));
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item { scroll-snap-align: center; flex: 0 0 auto; width: 250px; }
.gallery__item .device { max-width: 250px; }
.gallery__cap { margin-top: 14px; text-align: center; }
.gallery__cap b { display: block; font-weight: 700; letter-spacing: -0.01em; }
.gallery__cap span { font-size: 0.86rem; color: var(--fg-muted); }
.gallery__hint { text-align: center; margin-top: 6px; color: var(--fg-subtle); font-size: 0.84rem; }

/* ---------------------------------------------------------------------
   15. Trust / credibility (forest band)
   ------------------------------------------------------------------- */
.trust-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-card {
  background: rgba(255,255,255,0.05); border: 1px solid var(--forest-hair);
  border-radius: var(--r-lg); padding: 28px;
}
.trust-card__ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--lime); color: var(--on-lime); margin-bottom: 18px;
}
.trust-card__ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; }
.trust-card h3 { font-size: 1.18rem; letter-spacing: -0.02em; }
.trust-card p { margin-top: 10px; color: var(--on-forest-mut); font-size: 0.98rem; }

/* ---------------------------------------------------------------------
   15b. Founder — "Hey, I'm Zen"
   ------------------------------------------------------------------- */
.founder { max-width: 720px; margin-inline: auto; }
.founder__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap-reverse;
}
.founder__heading { flex: 1 1 320px; }
.founder h2 {
  margin-top: 8px; font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.035em;
}
.founder h2 span { font-size: 0.8em; }

.founder__avatar {
  flex: none; width: 76px; height: 76px; border-radius: 50%;
  overflow: hidden; background: var(--surface-2);
  border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--lime-deep);
}
.founder__avatar img { width: 100%; height: 100%; object-fit: cover; }

.founder__body { margin-top: 22px; display: grid; gap: 15px; }
.founder__body p { color: var(--fg-muted); font-size: 1.06rem; max-width: 56ch; }
.founder__body b { color: var(--fg); font-weight: 700; }
.founder__sign {
  margin-top: 22px; display: flex; align-items: center; gap: 14px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.founder__sign .name {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em;
  color: var(--grad-c); text-decoration: underline; text-decoration-color: rgba(27,92,65,0.32);
  text-underline-offset: 3px; transition: color 0.15s var(--ease), text-decoration-color 0.15s var(--ease);
}
.founder__sign .name svg { width: 13px; height: 13px; opacity: 0.75; }
.founder__sign .name:hover { color: var(--lime-deep); text-decoration-color: currentColor; }
.founder__sign .role { font-size: 0.86rem; color: var(--fg-subtle); font-weight: 600; }
.founder__sign .role a {
  display: inline-flex; align-items: center; gap: 3px;
  color: var(--fg-muted); text-decoration: underline; text-underline-offset: 2px;
}
.founder__sign .role a svg { width: 11px; height: 11px; opacity: 0.7; }
.founder__sign .role a:hover { color: var(--fg); }

/* ---------------------------------------------------------------------
   16. Pricing
   ------------------------------------------------------------------- */
.price-toggle {
  display: inline-flex; align-items: center; gap: 4px; margin: 22px auto 0;
  padding: 5px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--border);
}
.price-toggle button {
  padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; color: var(--fg-muted);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.price-toggle button.is-active { background: var(--surface); color: var(--fg); border: 1px solid var(--border); }
.price-toggle .save { font-size: 0.72rem; color: #3d5c12; background: rgba(155,203,52,0.28); padding: 2px 7px; border-radius: 999px; margin-left: 6px; }

.plans { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }

.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 30px;
}
.plan--featured {
  border-color: var(--lime-deep);
  box-shadow: inset 0 0 0 1px var(--lime-deep);
  background: var(--surface-2);
}
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--lime); color: var(--on-lime); font-weight: 800; font-size: 0.74rem;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
  white-space: nowrap;
}
.plan__name { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; }
.plan__tagline { margin-top: 4px; color: var(--fg-muted); font-size: 0.9rem; min-height: 2.6em; }
.plan__price { margin-top: 16px; display: flex; align-items: baseline; gap: 4px; }
.plan__price .amt { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; }
.plan__price .per { color: var(--fg-subtle); font-weight: 600; font-size: 0.94rem; }
.plan__cta { margin-top: 22px; }
.plan__feats { margin-top: 24px; display: grid; gap: 13px; }
.plan__feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.95rem; color: var(--fg); }
.plan__feats svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--success); }
.plan__note { margin-top: 26px; text-align: center; color: var(--fg-subtle); font-size: 0.84rem; }

/* ---------------------------------------------------------------------
   17. Testimonials
   ------------------------------------------------------------------- */
.quotes { display: grid; gap: 18px; grid-template-columns: 1fr; max-width: 860px; margin-inline: auto; }
@media (min-width: 640px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px; display: flex; flex-direction: column;
}
.quote__mark { color: var(--lime-deep); font-size: 2.4rem; line-height: 0.6; font-weight: 800; }
.quote p { margin-top: 10px; color: var(--fg); font-size: 1rem; }
.quote__who { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.quote__av {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: linear-gradient(150deg, var(--grad-c), var(--grad-a));
  display: flex; align-items: center; justify-content: center; line-height: 1;
  color: #fff; font-weight: 800;
}
.quote__who b { font-size: 0.92rem; }
.quote__who .quote__role { display: block; font-size: 0.8rem; color: var(--fg-subtle); }

/* ---------------------------------------------------------------------
   18. Final CTA (forest band)
   ------------------------------------------------------------------- */
.final { text-align: center; }
.final h2 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); letter-spacing: -0.04em; max-width: 16ch; margin-inline: auto; }
.final .lead { color: var(--on-forest-mut); margin-inline: auto; }
.final__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.final .waitlist { margin-inline: auto; }
.final .waitlist input[type="email"] { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.28); color: #fff; }
.final .waitlist input::placeholder { color: rgba(255,255,255,0.6); }
.final .waitlist__note { color: var(--on-forest-sub); }

/* ---------------------------------------------------------------------
   19. Footer
   ------------------------------------------------------------------- */
.footer { background: #0A150F; color: rgba(255,255,255,0.66); padding-block: clamp(48px, 6vw, 72px) 34px; }
.footer__top { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .brand span { color: #fff; }
.footer .brand small { color: rgba(255,255,255,0.5); }
.footer__blurb { margin-top: 16px; max-width: 34ch; font-size: 0.94rem; color: rgba(255,255,255,0.6); }
.footer__col h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 700; margin-bottom: 14px; }
.footer__col a { display: block; padding: 6px 0; color: rgba(255,255,255,0.72); font-weight: 500; font-size: 0.96rem; }
.footer__col a:hover { color: var(--lime); }
.footer__socials { display: flex; gap: 10px; margin-top: 18px; }
.footer__socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); }
.footer__socials a:hover { background: var(--lime); color: var(--on-lime); }
.footer__socials svg { width: 19px; height: 19px; }
.footer__bar {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; justify-content: space-between;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}
.footer__bar a { color: rgba(255,255,255,0.6); }
.footer__bar a:hover { color: #fff; }

/* ---------------------------------------------------------------------
   19b. FAQ (native disclosure)
   ------------------------------------------------------------------- */
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 4px 22px;
}
.faq-item + .faq-item { }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 34px 18px 0; position: relative;
  font-weight: 700; letter-spacing: -0.01em; font-size: 1.04rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 500; color: var(--fg-subtle); transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { padding: 0 0 20px; color: var(--fg-muted); font-size: 0.98rem; max-width: 62ch; }
.faq-item[open] summary { color: var(--fg); }

/* ---------------------------------------------------------------------
   20. Misc helpers
   ------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--lime); color: var(--on-lime); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* =====================================================================
   21. Zeb — the mascot
   Brand wordmark, contextual poses, speech bubbles, and the live
   floating scroll guide. Zeb is meant to feel alive but never in the
   way: gentle motion, always dismissible, calm on reduced-motion.
   ===================================================================== */

/* --- Wordmark: "Ze" ink + "bite" green ------------------------------ */
.brand__word i { font-style: normal; color: var(--success); }
.brand img { box-shadow: 0 2px 8px -3px rgba(22,26,23,0.3); }

/* --- Shared speech bubble ------------------------------------------- */
.zeb-bubble {
  position: relative;
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 11px 15px;
  font-size: 0.92rem; font-weight: 600; line-height: 1.4;
  color: var(--fg);
  box-shadow: 0 12px 30px -16px rgba(22,26,23,0.4);
  max-width: 250px;
}
.zeb-bubble b { color: var(--zeb-purple-ink); }
.zeb-bubble--purple { border-color: rgba(124,92,255,0.4); background: var(--zeb-purple-soft); }
.zeb-bubble--purple b { color: var(--zeb-purple-ink); }

/* --- Hero: Zeb waving hello ----------------------------------------- */
.zeb-hero {
  position: absolute; left: -2%; bottom: -3%; z-index: 4;
  width: clamp(120px, 17vw, 188px);
  margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  pointer-events: none;
}
.zeb-hero .zeb-bubble {
  margin-left: 8%;
  animation: zeb-pop 0.5s var(--ease) both;
}
.zeb-hero .zeb-bubble::after {
  content: ""; position: absolute; left: 26px; bottom: -8px;
  width: 16px; height: 16px; background: var(--zeb-purple-soft);
  border-right: 1px solid rgba(124,92,255,0.4); border-bottom: 1px solid rgba(124,92,255,0.4);
  transform: rotate(45deg);
}
.zeb-hero img {
  width: 100%; height: auto;
  filter: drop-shadow(0 16px 22px rgba(13,46,33,0.28));
  animation: zeb-bob 4.2s ease-in-out infinite;
  transform-origin: bottom center;
}
@media (max-width: 620px) {
  .zeb-hero { width: 108px; left: 0; bottom: 0; }
  .zeb-hero .zeb-bubble { display: none; }
}

/* --- Contextual poses (section heads + final CTA) ------------------- */
.section-head--zeb { position: relative; }
.zeb-pose { display: block; height: auto; }
.section-head--zeb .zeb-pose {
  margin: 0 auto 4px; width: clamp(116px, 16vw, 168px);
  filter: drop-shadow(0 16px 22px rgba(0,0,0,0.28));
  animation: zeb-bob 5s ease-in-out infinite;
}
.zeb-pose--mealplan { width: clamp(120px, 15vw, 158px) !important; }
.zeb-pose--final {
  margin: 0 auto 10px; width: clamp(96px, 12vw, 128px);
  filter: drop-shadow(0 16px 22px rgba(0,0,0,0.3));
  animation: zeb-bob 5s ease-in-out infinite;
}

/* --- Budget pose peeking beside the phone --------------------------- */
.feature__media--zeb { position: relative; }
.zeb-pose--budget {
  position: absolute; z-index: 3; left: -3%; bottom: -4%;
  width: clamp(120px, 15vw, 176px);
  filter: drop-shadow(0 18px 24px rgba(13,46,33,0.3));
  animation: zeb-bob 4.6s ease-in-out infinite;
}
@media (min-width: 900px) {
  /* on the non-reversed budget row the phone sits left — tuck Zeb bottom-right */
  .zeb-pose--budget { left: auto; right: -4%; bottom: -6%; }
}
@media (max-width: 560px) {
  .zeb-pose--budget { width: 96px; left: -2%; bottom: -2%; }
}

/* --- Live floating guide -------------------------------------------- */
/* Full-width fixed bar pinned to the bottom edge; the panel (button +
   bubble) flexes to the right. Because the bar spans the whole viewport
   (inset 0 left/right), nothing can push the panel off-screen. */
.zeb-guide {
  position: fixed; inset: auto 0 0 0; z-index: 95;
  display: flex; justify-content: flex-end;
  padding: clamp(14px, 3vw, 26px);
  pointer-events: none;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.zeb-guide.is-in { opacity: 1; transform: none; }
.zeb-guide__panel { position: relative; width: 62px; height: 62px; pointer-events: auto; }

.zeb-guide__bubble {
  position: absolute; right: 0; bottom: calc(100% + 12px);
  width: 264px; max-width: calc(100vw - 44px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px 18px 4px 18px;
  padding: 13px 34px 13px 16px;
  box-shadow: 0 18px 44px -18px rgba(22,26,23,0.5);
  transform-origin: bottom right;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.zeb-guide.is-collapsed .zeb-guide__bubble {
  opacity: 0; transform: scale(0.7) translateY(6px); pointer-events: none;
}
.zeb-guide__text { font-size: 0.9rem; font-weight: 600; line-height: 1.42; color: var(--fg); margin: 0; }
.zeb-guide__text.is-swapping { opacity: 0; transform: translateY(4px); }
.zeb-guide__text { transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }

.zeb-guide__close {
  position: absolute; top: 6px; right: 6px;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; color: var(--fg-subtle);
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.zeb-guide__close:hover { background: var(--border-2); color: var(--fg); }
.zeb-guide__close svg { width: 13px; height: 13px; }

.zeb-guide__btn {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--surface); overflow: visible;
  border: 2px solid var(--surface);
  box-shadow: 0 12px 30px -10px rgba(13,46,33,0.5), 0 0 0 1px var(--border);
  transition: transform 0.2s var(--ease);
  animation: zeb-bob 3.6s ease-in-out infinite;
}
.zeb-guide__btn:hover { transform: translateY(-3px) scale(1.04); }
.zeb-guide__btn img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.zeb-guide__ping {
  position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid var(--zeb-purple);
  animation: zeb-ping 2.6s ease-out infinite;
}
.zeb-guide.is-collapsed .zeb-guide__ping,
.zeb-guide.has-engaged .zeb-guide__ping { display: none; }

@media (max-width: 560px) {
  .zeb-guide__panel { width: 54px; height: 54px; }
}

/* --- Motion keyframes ----------------------------------------------- */
@keyframes zeb-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes zeb-pop { 0% { opacity: 0; transform: translateY(8px) scale(0.9); } 100% { opacity: 1; transform: none; } }
@keyframes zeb-ping {
  0% { transform: scale(1); opacity: 0.7; }
  70%,100% { transform: scale(1.35); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .zeb-hero img, .section-head--zeb .zeb-pose, .zeb-pose--final,
  .zeb-pose--budget, .zeb-guide__btn { animation: none !important; }
  .zeb-guide__ping { display: none; }
}
