/* AdvitSaaS — product landing for Smart Cart.
   Single-product focus. Bright, warm, food-themed. */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #fffbf5;
  --bg-2: #ffffff;
  --bg-3: #fef7e8;
  --bg-elevated: #ffffff;
  --text: #1a1a1a;
  --text-2: #4a5462;
  --muted: #8896a7;
  --line: #f0e9da;
  --line-2: #e5dccc;
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #d1fae5;
  --accent: #f59e0b;
  --accent-2: #ef4444;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 14px -4px rgba(15,23,42,.10);
  --shadow-lg: 0 24px 60px -16px rgba(245,158,11,.20), 0 16px 40px -12px rgba(16,185,129,.18);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
  --font-base: 16px;
}

html { scroll-behavior: smooth; }
html, body {
  font-family: 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--font-base);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(circle at 12% 6%, #fef3c7 0%, transparent 38%),
    radial-gradient(circle at 88% 12%, #d1fae5 0%, transparent 38%),
    radial-gradient(circle at 8% 92%, #fce7f3 0%, transparent 35%),
    radial-gradient(circle at 92% 88%, #dbeafe 0%, transparent 35%),
    linear-gradient(180deg, #fffbf5 0%, #fff8ed 100%);
  background-attachment: fixed;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  right: 12px;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  z-index: 1000;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 245, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 62px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  /* No background — Lulu lives here transparently */
  background: transparent;
  box-shadow: none;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .12s, box-shadow .15s;
  box-shadow: 0 4px 12px -2px rgba(16,185,129,.35);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -2px rgba(16,185,129,.5); }
.nav-cta:active { transform: translateY(0); }

/* Hero */
.hero {
  padding: 70px 0 50px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 40px 0; }
}

.eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-light);
  margin-bottom: 18px;
}
.eyebrow .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-left: 6px;
  box-shadow: 0 0 0 4px rgba(16,185,129,.25);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1 } 50% { transform: scale(1.4); opacity: .7 } }

h1.hero-title {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 2.1vw, 19px);
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 540px;
}
@media (max-width: 880px) { .hero-sub { max-width: 100%; } }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .08s, box-shadow .2s, background .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 22px -6px rgba(16,185,129,.45);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-dark);
  box-shadow: 0 12px 32px -6px rgba(16,185,129,.6);
  outline: none;
  transform: translateY(-1px);
}
.btn-ghost {
  background: var(--bg-2);
  color: var(--text);
  border: 1.5px solid var(--line-2);
}
.btn-ghost:hover, .btn-ghost:focus {
  background: var(--bg-3);
  border-color: var(--primary);
  outline: none;
}

/* Demo CTA — soft mint-green pill that signals "try without commitment".
   Less visual weight than .btn-primary so the signup remains the dominant
   action, but still emerald-tinted so it reads as part of the product
   family, not just a generic secondary link. */
.btn-demo {
  background: #ecfdf5;
  color: #047857;
  border: 1.5px dashed #6ee7b7;
}
.btn-demo:hover, .btn-demo:focus {
  background: #d1fae5;
  border-color: var(--primary);
  border-style: solid;
  outline: none;
  transform: translateY(-1px);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.hero-trust .check { color: var(--primary); font-weight: 700; }

/* Hero illustration — fake "app screenshot" mockup */
.hero-mock {
  position: relative;
}
.mock-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(0deg);
  transition: transform .25s ease-out;
}
.mock-frame:hover { transform: rotate(-1.2deg); }
.mock-frame:active { transform: rotate(0deg) scale(.985); }
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #fafbfc, #fff);
  border-bottom: 1px solid var(--line);
}
.mock-bar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cbd5e1;
}
.mock-bar .dot:first-child { background: #ef4444; }
.mock-bar .dot:nth-child(2) { background: #fbbf24; }
.mock-bar .dot:nth-child(3) { background: #10b981; }
.mock-bar .url {
  margin-right: auto;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
}
.mock-content { padding: 18px; }
.mock-input {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.mock-input span {
  flex: 1;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13px;
  color: var(--muted);
}
.mock-input button {
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
}
.mock-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 4px 6px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 6px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: #fafbfc;
  border-radius: 10px;
  margin-bottom: 6px;
  font-size: 13px;
}
.mock-row .item-name { font-weight: 600; flex: 1; }
.mock-tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.mock-tag-sup { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.mock-tag-treif { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.mock-tag-time { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.mock-row .price-pill {
  font-size: 11px;
  font-weight: 700;
  background: #ecfeff;
  color: #0e7490;
  border: 1px solid #a5f3fc;
  padding: 2px 9px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
}

/* Floating food sticker */
.sticker {
  position: absolute;
  font-size: 38px;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.1));
  animation: bob 6s ease-in-out infinite;
  pointer-events: none;
}
.sticker.s1 { top: -22px; right: -10px; animation-delay: 0s; }
.sticker.s2 { bottom: -14px; left: -16px; animation-delay: 1.5s; transform: rotate(20deg); }
.sticker.s3 { top: 38%; right: -28px; animation-delay: 3s; transform: rotate(-12deg); }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-12px) rotate(calc(var(--r, 0deg) + 4deg)); }
}
@media (max-width: 880px) {
  .sticker.s3 { display: none; }
  .mock-frame { transform: rotate(0); }
}

/* Sections */
section.block {
  padding: 70px 0;
}
.block-head {
  text-align: center;
  margin-bottom: 48px;
}
.block-head h2 {
  font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.block-head p {
  color: var(--text-2);
  font-size: 16px;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* How it works — 3 steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 14px; } }
.step {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  transition: transform .15s, box-shadow .2s;
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.step-num {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 56px;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  font-family: 'JetBrains Mono', monospace;
}
.step-icon {
  font-size: 36px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.step h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.step p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.feature {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .15s, transform .15s;
}
.feature:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary-light), #fef3c7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.feature h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}
.feature p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.65;
}

/* CTA section */
.final-cta {
  background: linear-gradient(135deg, #d1fae5 0%, #fef3c7 60%, #fce7f3 100%);
  border-radius: var(--radius);
  padding: 50px 30px;
  text-align: center;
  margin: 30px 0 50px;
  position: relative;
  overflow: hidden;
}
.final-cta h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.final-cta p {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 24px;
  max-width: 520px;
  margin-right: auto;
  margin-left: auto;
}

/* FAQ */
.faq {
  max-width: 700px;
  margin: 0 auto;
}
.faq details {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  transition: border-color .15s;
}
.faq details[open] { border-color: var(--primary); }
.faq summary {
  padding: 16px 18px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "▼";
  font-size: 11px;
  color: var(--muted);
  transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(180deg); color: var(--primary); }
.faq summary:hover { color: var(--primary-dark); }
.faq .answer {
  padding: 0 18px 16px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.7;
}
.faq .answer a { color: var(--primary-dark); text-decoration: underline; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 50px 0 24px;
  margin-top: 30px;
  background: rgba(255,255,255,.5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
.footer-grid h5 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 13.5px;
}
.footer-grid a:hover, .footer-grid a:focus {
  color: var(--primary-dark);
  outline: none;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

/* Demo screenshot — clickable, hint of interactivity */
.hero-mock {
  cursor: pointer;
}
.hero-mock:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 8px;
  border-radius: 24px;
}
.hero-mock:active .mock-frame {
  transform: rotate(-1.2deg) scale(.985);
}

/* Coachmark — tiny non-blocking hint that points at the primary CTA. */
.hero-actions { position: relative; }
.coachmark {
  position: absolute;
  top: -42px;
  right: 0;
  background: #1a1a1a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 22px -6px rgba(15,23,42,.35);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  z-index: 30;
}
.coachmark[hidden] { display: inline-flex !important; }
.coachmark.is-visible { opacity: 1; transform: translateY(0); }
.coachmark-arrow {
  display: inline-block;
  font-size: 16px;
  color: var(--primary);
  animation: coachArrow 1s ease-in-out infinite;
}
@keyframes coachArrow {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(4px); }
}



/* "Lulu" — kawaii mascot. Two modes:
   1) Logo mode (default) — sits in the brand area, animates moods.
   2) Walking mode — fixed position, walks toward user clicks. */
.mascot {
  cursor: pointer;
  pointer-events: auto;
  opacity: 1;                    /* ALWAYS fully opaque — full color */
  filter: drop-shadow(0 4px 8px rgba(15,23,42,.15));
  user-select: none;
  -webkit-user-select: none;
}

/* === LOGO MODE (default) === */
/* Lulu lives inside the brand-link, sized like a small avatar. */
.brand-link .mascot {
  position: relative;
  width: 62px;
  height: 72px;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.brand-link .mascot:hover { transform: scale(1.12); }
.brand-link .mascot svg { width: 100%; height: 100%; display: block; }

/* === WALKING MODE — overrides logo mode when html.walking-mode is set === */
html.walking-mode body .mascot-active {
  position: fixed;
  width: 110px;
  height: 130px;
  z-index: 1;                    /* BEHIND main (z=2) — never over text */
  filter: drop-shadow(0 8px 16px rgba(15,23,42,.18));
  transition: transform 1.6s cubic-bezier(.4, 0, .2, 1);
}
@media (max-width: 600px) {
  html.walking-mode body .mascot-active { width: 80px; height: 95px; }
}

/* === MOOD STATES — show/hide the right mouth + accessory === */
.lulu-mouth, .lulu-acc { display: none; }

/* Default mood: smile */
.mascot:not(.mood-laugh):not(.mood-talk):not(.mood-eat):not(.mood-drink) .lulu-mouth-smile { display: block; }

.mood-laugh .lulu-mouth-laugh { display: block; }
.mood-laugh .lulu-acc-laugh   { display: block; }
.mood-laugh .lulu-eyes        {
  /* Squinted laugh eyes — short blink-like */
  animation: luluLaughEyes 1.2s ease-in-out infinite;
}
@keyframes luluLaughEyes {
  0%, 100% { transform: scaleY(.3); }
  50%      { transform: scaleY(.6); }
}

.mood-talk .lulu-mouth-talk { display: block; }
.mood-talk .lulu-acc-talk   { display: block; animation: luluTalkDots 1.2s ease-in-out infinite; }
@keyframes luluTalkDots {
  0%, 100% { opacity: .4; transform: translateY(0); }
  50%      { opacity: 1;  transform: translateY(-2px); }
}

.mood-eat .lulu-mouth-eat { display: block; }
.mood-eat .lulu-acc-eat   {
  display: block;
  transform-origin: 50px 92px;
  animation: luluChew 1.6s ease-in-out infinite;
}
@keyframes luluChew {
  0%, 100% { transform: rotate(-3deg) scale(1); }
  50%      { transform: rotate(3deg) scale(.95); }
}

.mood-drink .lulu-mouth-drink { display: block; }
.mood-drink .lulu-acc-drink   { display: block; }

/* Toggle switch — sits next to nav-cta in the header */
.nav-right { display: flex; align-items: center; gap: 12px; }
.walk-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 4px 6px;
  font-family: inherit;
  border-radius: 999px;
  transition: background .15s;
}
.walk-toggle:hover { background: var(--bg-3); }
.walk-toggle-track {
  display: inline-block;
  width: 36px;
  height: 20px;
  background: var(--line);
  border-radius: 999px;
  position: relative;
  transition: background .25s;
  flex-shrink: 0;
}
.walk-toggle-thumb {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 2px 6px rgba(15,23,42,.2);
}
.walk-toggle[aria-pressed="true"] .walk-toggle-track {
  background: var(--primary);
}
.walk-toggle[aria-pressed="true"] .walk-toggle-thumb {
  transform: translateX(-16px);
}
.walk-toggle-label {
  font-size: 16px;
  line-height: 1;
}
@media (max-width: 600px) {
  .walk-toggle-label { display: none; }
}
.mascot svg { width: 100%; height: 100%; display: block; }
@media (max-width: 600px) {
  .mascot { width: 80px; height: 95px; }
}

/* Pop! — happy bounce when user clicks her */
.mascot.is-popping { animation: luluHappy 1.4s ease-in-out; }
@keyframes luluHappy {
  0%   { filter: drop-shadow(0 4px 8px rgba(15,23,42,.15)); }
  20%  { filter: drop-shadow(0 8px 18px rgba(16,185,129,.5)) brightness(1.12); }
  100% { filter: drop-shadow(0 4px 8px rgba(15,23,42,.15)); }
}
@media (max-width: 600px) {
  .mascot { width: 80px; height: 95px; }
}

/* Eye blink — happens occasionally */
.lulu-eyes { transform-origin: 50% 65%; animation: luluBlink 5.5s infinite; }
@keyframes luluBlink {
  0%, 92%, 100% { transform: scaleY(1); }
  94%, 97%      { transform: scaleY(.08); }
}

/* TZAZITIT MODE — restless, jumpy, full of life */

/* Body — quick excited breath */
.lulu-body {
  transform-origin: 70px 120px;
  animation: luluBreath 1.4s ease-in-out infinite;
}
@keyframes luluBreath {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06, 1.08); }
}

/* Head — fast playful sway */
.lulu-head {
  transform-origin: 70px 90px;
  animation: luluSway 1.8s ease-in-out infinite;
}
@keyframes luluSway {
  0%, 100% { transform: rotate(-5deg); }
  50%      { transform: rotate(5deg); }
}

/* Sprout — fast wiggle */
.lulu-sprout {
  transform-origin: 70px 24px;
  animation: luluSproutWiggle 1s ease-in-out infinite;
}
@keyframes luluSproutWiggle {
  0%, 100% { transform: translate(70px, 22px) rotate(-12deg); }
  50%      { transform: translate(70px, 22px) rotate(12deg); }
}

/* Whole-mascot bounce + jiggle — a constant low-grade excitement.
   Goes on at all times; gives her that "can't sit still" energy. */
.mascot { animation: luluJiggle 2.6s ease-in-out infinite; }
@keyframes luluJiggle {
  0%, 100% { transform: translateY(0)   rotate(0deg); }
  15%      { transform: translateY(-3px) rotate(-2deg); }
  30%      { transform: translateY(0)   rotate(2deg); }
  45%      { transform: translateY(-2px) rotate(-1deg); }
  60%      { transform: translateY(0)   rotate(1deg); }
  75%      { transform: translateY(-4px) rotate(-3deg); }  /* a little hop! */
}
/* Pause whole-mascot bounce while in walking mode (transform is used for movement) */
html.walking-mode .mascot,
.mascot.is-popping { animation: none; }
.mascot.is-popping { animation: luluHappy 1.4s ease-in-out; }

/* Periodic theatrical entrance — every 8s she steps forward, grows toward
   the viewer, does a little wave/spin, then retreats. Catches the eye. */
.lulu-svg {
  animation: luluPerform 8s ease-in-out infinite;
  transform-origin: 50% 100%;
}
@keyframes luluPerform {
  /* Idle 70% of the time */
  0%, 70%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  /* Step DOWN into the site, growing as she leans forward */
  78%           { transform: translateY(28px)  scale(1.5)  rotate(-8deg); }
  /* Wave left at full size */
  82%           { transform: translateY(36px)  scale(1.65) rotate(-14deg); }
  /* Wave right */
  86%           { transform: translateY(36px)  scale(1.65) rotate(14deg); }
  /* Wave back left, slightly smaller */
  90%           { transform: translateY(32px)  scale(1.55) rotate(-7deg); }
  /* Retreat: step back up to the logo position */
  94%           { transform: translateY(14px)  scale(1.25) rotate(0deg); }
  /* Home */
  98%           { transform: translateY(0)     scale(1)    rotate(0deg); }
}

/* Allow Lulu to grow OUT of her container during the performance */
.brand-mark, .brand-link, .nav, .site-header {
  overflow: visible;
}
.brand-link .mascot { z-index: 100; }  /* sit on top during big moments */

/* Mouth wider when popping (excited) */
.mascot.is-popping .lulu-mouth {
  transform: translateY(2px) scaleY(1.3);
  transform-origin: 70px 92px;
  transition: transform .25s;
}

/* Walking animation — gentle bounce as she strolls across.
   Position is animated via inline left, the bounce is from the SVG inner. */
.mascot.is-walking .lulu-svg {
  animation: luluWalk .55s ease-in-out infinite;
  transform-origin: 50% 100%;
}
@keyframes luluWalk {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  25%      { transform: translateY(-4px) rotate(1deg); }
  50%      { transform: translateY(0) rotate(1deg); }
  75%      { transform: translateY(-3px) rotate(-1deg); }
}
.mascot.is-walking .lulu-arm-left,
.mascot.is-walking .lulu-arm-right {
  animation-duration: .55s;
}

/* Heart particles burst */
.lulu-hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.lulu-heart {
  position: absolute;
  font-size: 22px;
  left: 50%;
  top: 25%;
  pointer-events: none;
  animation: luluHeartFloat 1.6s ease-out forwards;
  filter: drop-shadow(0 2px 4px rgba(244,114,182,.5));
}
@keyframes luluHeartFloat {
  0%   { transform: translate(-50%, 0) scale(.4) rotate(0deg); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx, 0)), -120px) scale(1.2) rotate(var(--rot, 20deg)); opacity: 0; }
}

/* Background scenery — small floating emojis (carts, phones, shoppers,
   produce). Below the content layer, low opacity, slow drift. */
.bg-scenery {
  position: absolute;
  inset: 0;
  height: 200%;          /* extend past hero so figures appear at every section */
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bg-figure {
  position: absolute;
  left: var(--x);
  top: var(--y);
  font-size: 36px;
  opacity: .14;
  filter: saturate(120%) drop-shadow(0 6px 12px rgba(15,23,42,.06));
  transform: rotate(var(--r, 0deg)) scale(var(--s, 1));
  animation: bgDrift 9s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  user-select: none;
}
@keyframes bgDrift {
  0%, 100% { transform: rotate(var(--r, 0deg)) scale(var(--s, 1)) translateY(0); }
  50%      { transform: rotate(calc(var(--r, 0deg) + 4deg)) scale(var(--s, 1)) translateY(-12px); }
}
@media (max-width: 700px) {
  .bg-figure { font-size: 26px; opacity: .12; }
  /* Show fewer on small screens to avoid clutter */
  .bg-figure:nth-child(odd) { display: none; }
}
/* Make sure the page content sits ABOVE the scenery */
.site-header, main, .site-footer { position: relative; z-index: 2; }

/* Live activity ticker — translucent thought bubble that cycles through
   real data with smooth animated transitions. Always visible, always
   moving, always real. */
.live-ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  padding: 9px 18px 9px 14px;
  margin-top: 18px;
  box-shadow:
    0 10px 24px -8px rgba(15,23,42,.15),
    0 0 0 1px rgba(16,185,129,.10),
    inset 0 1px 0 rgba(255,255,255,.95);
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  animation: tickerBob 5s ease-in-out infinite;
}
.live-ticker[hidden] { display: none !important; }
@keyframes tickerBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239,68,68,.5);
  animation: liveDotPulse 1.6s ease-out infinite;
  flex-shrink: 0;
}
@keyframes liveDotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(239,68,68,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}
.live-emoji {
  font-size: 18px;
  display: inline-block;
  flex-shrink: 0;
  animation: liveEmojiWiggle 3.2s ease-in-out infinite;
}
@keyframes liveEmojiWiggle {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}
.live-text {
  display: inline-block;
  transition: opacity .35s ease, transform .35s ease;
  min-height: 18px;
}
.live-text.is-fading { opacity: 0; transform: translateY(4px); }
.live-text b {
  color: var(--primary-dark);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  display: inline-block;
}
.live-text b.is-counting { color: var(--accent); }

@media (max-width: 600px) {
  .live-ticker {
    font-size: 12.5px;
    padding: 8px 14px;
    width: 100%;
    justify-content: flex-start;
  }
}

/* Second ticker — food/dish teasers — slightly different tint to distinguish */
.live-ticker-food {
  margin-top: 10px;
  background: rgba(255, 247, 232, .82);     /* warm cream */
  border-color: rgba(245, 158, 11, .25);
  box-shadow:
    0 10px 24px -8px rgba(245,158,11,.18),
    0 0 0 1px rgba(245,158,11,.10),
    inset 0 1px 0 rgba(255,255,255,.95);
  animation-delay: 1.2s;  /* offset bob phase from the live ticker */
}
.food-spark {
  font-size: 13px;
  flex-shrink: 0;
  animation: foodSparkSpin 4s linear infinite;
  display: inline-block;
}
@keyframes foodSparkSpin {
  0%   { transform: rotate(0)    scale(1); }
  50%  { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}

/* Comic-style thought bubble — translucent, sits ABOVE the mockup with
   a tail of three little dots pointing down at the screenshot. */
.hero-mock { position: relative; }
.demo-thought {
  position: absolute;
  top: -20px;
  right: 50%;
  transform: translateX(50%) translateY(8px) scale(.85);
  z-index: 12;
  opacity: 0;
  transition: opacity .35s ease-out, transform .35s cubic-bezier(.2,.8,.3,1.05);
  pointer-events: none;
  width: max-content;
  max-width: 280px;
}
.demo-thought[hidden] { display: block !important; }
.demo-thought.is-visible {
  opacity: 1;
  transform: translateX(50%) translateY(0) scale(1);
}
.demo-thought-body {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow:
    0 14px 30px -8px rgba(15,23,42,.18),
    0 4px 12px -4px rgba(16,185,129,.15),
    inset 0 1px 0 rgba(255,255,255,.95);
  border-radius: 28px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  text-align: right;
  white-space: nowrap;
}
.demo-thought-body span:nth-child(2) { white-space: normal; }
.demo-thought-emoji {
  font-size: 24px;
  flex-shrink: 0;
  animation: thoughtSmile 2.2s ease-in-out infinite;
}
@keyframes thoughtSmile {
  0%, 100% { transform: rotate(-3deg); }
  50%      { transform: rotate(3deg); }
}
/* Three dots forming a thought-bubble tail underneath */
.demo-thought-tail {
  position: absolute;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px -2px rgba(15,23,42,.12);
}
.demo-thought-tail-1 { width: 12px; height: 12px; bottom: -6px;  right: 30%; }
.demo-thought-tail-2 { width: 8px;  height: 8px;  bottom: -16px; right: 26%; }
.demo-thought-tail-3 { width: 5px;  height: 5px;  bottom: -24px; right: 22%; }

@media (max-width: 600px) {
  .demo-thought { max-width: 220px; top: -10px; }
  .demo-thought-body { padding: 12px 14px; font-size: 12.5px; }
  .demo-thought-emoji { font-size: 20px; }
}

/* Soft pulse on the CTA button while the coachmark is visible — draws the eye */
#heroCta.is-pulsing {
  animation: ctaPulse 1.4s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 22px -6px rgba(16,185,129,.45); }
  50%      { box-shadow: 0 8px 28px -4px rgba(16,185,129,.85),
                         0 0 0 10px rgba(16,185,129,.18); }
}

/* Demo bubble — lightweight popover anchored to the mockup. No backdrop,
   no body scroll-lock. Site keeps animating normally. Closes on outside
   click. Arrow points back at the screenshot it came from. */
.demo-bubble {
  position: absolute;
  z-index: 60;
  width: 280px;
  pointer-events: auto;
  opacity: 0;
  transform: scale(.92) translateY(-6px);
  transform-origin: top center;
  transition: opacity .22s ease-out, transform .22s ease-out;
  filter: drop-shadow(0 14px 28px rgba(15,23,42,.18))
          drop-shadow(0 4px 10px rgba(16,185,129,.12));
}
.demo-bubble[hidden] {
  display: block !important;  /* keep in DOM for transition; visibility-hide instead */
  opacity: 0;
  pointer-events: none;
  transform: scale(.92) translateY(-6px);
}
.demo-bubble.is-open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.demo-bubble-inner {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
  border: 1px solid var(--primary-light);
  border-radius: 18px;
  padding: 18px 18px 14px;
  text-align: center;
}
/* Arrow pointing to the mockup (above the bubble) */
.demo-bubble-inner::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  margin-left: -8px;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #fff 50%, #f0fdf4 50%);
  border: 1px solid var(--primary-light);
  border-right: 0;
  border-bottom: 0;
  transform: rotate(45deg);
}
.demo-bubble.flip-up .demo-bubble-inner::before {
  top: auto; bottom: -8px;
  border: 1px solid var(--primary-light);
  border-left: 0; border-top: 0;
  background: linear-gradient(135deg, #f0fdf4 50%, #fff 50%);
}

.demo-bubble-close {
  position: absolute;
  top: 6px;
  left: 6px;
  background: transparent;
  border: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, color .15s;
  line-height: 1;
}
.demo-bubble-close:hover { background: var(--bg-3); color: var(--text); }
.demo-bubble-emoji {
  font-size: 28px;
  margin-bottom: 4px;
  display: inline-block;
}
.demo-bubble-inner h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 4px;
}
.demo-bubble-inner p {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 12px;
}
.demo-bubble-actions { display: flex; gap: 6px; }
.demo-bubble-actions .btn {
  flex: 1;
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 10px;
  white-space: nowrap;
}
@media (max-width: 880px) {
  .demo-bubble { width: calc(100% - 32px); max-width: 320px; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: slideUp .3s ease-out;
}
@keyframes slideUp { from { transform: translateY(60px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }
.cookie-banner.is-hidden { display: none; }
.cookie-text {
  flex: 1;
  min-width: 200px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
}
.cookie-text a { color: var(--primary-dark); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-btn {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  border: 0;
  transition: transform .08s;
}
.cookie-btn-primary { background: var(--primary); color: #fff; }
.cookie-btn-secondary { background: var(--bg-3); color: var(--text); border: 1px solid var(--line-2); }
.cookie-btn:active { transform: scale(.96); }

/* Accessibility widget */
.a11y-fab {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #34d399);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 91;
  box-shadow: 0 12px 28px -6px rgba(16,185,129,.5);
  transition: transform .15s, box-shadow .2s;
}
.a11y-fab:hover, .a11y-fab:focus {
  transform: scale(1.08);
  outline: 3px solid rgba(16,185,129,.4);
}
.a11y-panel {
  position: fixed;
  bottom: 80px;
  right: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  z-index: 92;
  width: 290px;
  max-width: calc(100vw - 32px);
  display: none;
  animation: slideUp .25s ease-out;
}
.a11y-panel.is-open { display: block; }
.a11y-panel h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.a11y-panel .close-btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-family: inherit;
}
.a11y-panel .close-btn:hover { background: var(--bg-3); color: var(--text); }
.a11y-options { display: flex; flex-direction: column; gap: 6px; }
.a11y-option {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text);
  font: inherit;
  font-size: 13.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: background .12s, border-color .12s;
  text-align: right;
}
.a11y-option:hover, .a11y-option:focus {
  background: var(--bg-2);
  border-color: var(--primary);
  outline: none;
}
.a11y-option.is-active {
  background: var(--primary-light);
  border-color: var(--primary);
}
.a11y-option .indicator {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid var(--line-2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.a11y-option.is-active .indicator { background: var(--primary); border-color: var(--primary); }
.a11y-option.is-active .indicator::after { content: "✓"; color: #fff; font-size: 12px; font-weight: 900; }
.a11y-reset { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.a11y-reset button {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  padding: 6px;
  cursor: pointer;
  border-radius: 6px;
}
.a11y-reset button:hover { background: var(--bg-3); color: var(--text); }

/* === A11Y MODES === */
html.a11y-larger    { font-size: 18px; }
html.a11y-largest   { font-size: 21px; }
html.a11y-contrast body {
  background: #000 !important;
  color: #fff !important;
}
html.a11y-contrast .step,
html.a11y-contrast .feature,
html.a11y-contrast .a11y-panel,
html.a11y-contrast .cookie-banner,
html.a11y-contrast .site-header,
html.a11y-contrast .site-footer,
html.a11y-contrast .mock-frame,
html.a11y-contrast .final-cta,
html.a11y-contrast .faq details {
  background: #000 !important;
  border-color: #fff !important;
  color: #fff !important;
}
html.a11y-contrast a,
html.a11y-contrast .nav-cta,
html.a11y-contrast .footer-grid a,
html.a11y-contrast .answer a {
  color: #ffeb3b !important;
}
html.a11y-contrast .btn-primary,
html.a11y-contrast .nav-cta { background: #ffeb3b !important; color: #000 !important; }
html.a11y-contrast h1.hero-title,
html.a11y-contrast .hero-title .accent { color: #fff !important; -webkit-text-fill-color: #fff !important; }
html.a11y-underline-links a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-no-anim *, html.a11y-no-anim *::before, html.a11y-no-anim *::after {
  animation: none !important;
  transition: none !important;
}
html.a11y-readable * { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: 0.02em !important; }

/* Content pages (privacy/terms/accessibility) — light theme too */
.content-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.content-page h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.content-page .updated { color: var(--muted); font-size: 13px; margin-bottom: 32px; }
.content-page h2 { font-size: 20px; font-weight: 800; margin: 36px 0 12px; }
.content-page h3 { font-size: 16px; font-weight: 700; margin: 20px 0 8px; }
.content-page p, .content-page li { color: var(--text-2); line-height: 1.75; font-size: 15px; margin-bottom: 12px; }
.content-page ul, .content-page ol { padding-right: 22px; margin-bottom: 16px; }
.content-page a { color: var(--primary-dark); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .15s; }
.content-page a:hover, .content-page a:focus { border-color: var(--primary-dark); outline: none; }
.content-page strong { color: var(--text); }
.content-page .toc {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 30px;
}
.content-page .toc h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.content-page .toc ol { list-style: decimal; padding-right: 22px; margin: 0; }
.content-page .toc li { margin-bottom: 4px; }

@media (max-width: 600px) {
  .nav { height: 60px; }
  .container { padding: 0 16px; }
  section.block { padding: 50px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .a11y-fab { width: 48px; height: 48px; }
  .step-num { font-size: 44px; }
  .final-cta { padding: 36px 22px; margin-top: 20px; }
  .nav-right { gap: 8px; }
  .nav-cta {
    padding: 8px 14px;
    font-size: 13px;
    white-space: nowrap;
    line-height: 1;
  }
  .nav-cta span[aria-hidden="true"] { display: none; }
  .brand-link { font-size: 16px; gap: 6px; }
  .brand-mark { width: 48px; height: 56px; }
}
@media (max-width: 380px) {
  .brand-link span:not(.brand-mark):not(#brandMascotSlot) { display: none; }
}

*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
