﻿/* =============================================================
   FOODIEGO - landing styles
   ============================================================= */

:root {
  /* Brand greens (vivid, matching the logo) */
  --g-100: oklch(0.97 0.05 128);
  --g-200: oklch(0.92 0.10 128);
  --g-300: oklch(0.85 0.16 128);
  --g-400: oklch(0.78 0.20 128);
  --g-500: oklch(0.72 0.22 128);     /* primary */
  --g-600: oklch(0.62 0.20 128);
  --g-700: oklch(0.50 0.16 131);
  --g-800: oklch(0.36 0.12 150);
  --g-900: oklch(0.22 0.08 152);

  --primary: var(--g-500);
  --primary-hover: var(--g-400);
  --on-primary: #062812;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --max: 1240px;
  --pad: clamp(20px, 4vw, 56px);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* Theme - DARK (default) */
[data-theme="dark"] {
  --bg: oklch(0.16 0.015 152);
  --bg-elev: oklch(0.20 0.02 152);
  --surface: oklch(0.22 0.025 152);
  --surface-2: oklch(0.26 0.03 152);
  --ink: oklch(0.97 0.01 128);
  --ink-mute: oklch(0.78 0.02 150);
  --ink-dim: oklch(0.62 0.025 150);
  --line: oklch(0.32 0.025 150);
  --line-soft: oklch(0.28 0.02 150 / .6);

  --glass: oklch(0.30 0.03 150 / .35);
  --glass-stroke: oklch(0.80 0.05 150 / .14);
  --glass-shadow: 0 30px 80px -20px oklch(0 0 0 / .55), 0 0 0 1px oklch(1 0 0 / .04) inset;
  --glass-blur: 22px;

  --nav-bg: oklch(0.16 0.015 152 / .72);

  --hero-halo: radial-gradient(60% 60% at 60% 40%, oklch(0.78 0.20 128 / .35), transparent 70%);
  --grid-color: oklch(1 0 0 / .035);
  --blob-a: oklch(0.78 0.20 128 / .50);
  --blob-b: oklch(0.62 0.22 131 / .35);
  --blob-c: oklch(0.50 0.18 152 / .30);

  --logo-light: none;
  --logo-dark: inline-block;
}

/* Theme - LIGHT */
[data-theme="light"] {
  --bg: oklch(0.985 0.012 128);
  --bg-elev: #ffffff;
  --surface: #ffffff;
  --surface-2: oklch(0.96 0.015 128);
  --ink: oklch(0.18 0.02 150);
  --ink-mute: oklch(0.38 0.02 150);
  --ink-dim: oklch(0.55 0.02 150);
  --line: oklch(0.90 0.02 128);
  --line-soft: oklch(0.92 0.015 128 / .8);

  --glass: oklch(1 0 0 / .55);
  --glass-stroke: oklch(0.18 0.02 150 / .08);
  --glass-shadow: 0 30px 70px -30px oklch(0.30 0.10 150 / .25), 0 1px 0 oklch(1 0 0) inset;
  --glass-blur: 22px;

  --nav-bg: oklch(1 0 0 / .72);

  --hero-halo: radial-gradient(60% 60% at 60% 40%, oklch(0.85 0.18 128 / .55), transparent 70%);
  --grid-color: oklch(0 0 0 / .035);
  --blob-a: oklch(0.85 0.18 128 / .55);
  --blob-b: oklch(0.78 0.20 131 / .35);
  --blob-c: oklch(0.92 0.10 128 / .45);

  --logo-light: inline-block;
  --logo-dark: none;
}

/* =============================================================
   BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.01em; }
p  { margin: 0; text-wrap: pretty; }
em { font-style: normal; color: var(--primary); }

.logo-light-only,
.logo-dark-only { display: inline-block; }
[data-theme="dark"] .logo-light-only { display: none !important; }
[data-theme="light"] .logo-dark-only { display: none !important; }

/* =============================================================
   ATMOSPHERIC BACKGROUND
   ============================================================= */
.bg-mesh {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  overflow: hidden;
}
.bg-blob {
  position: absolute;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .9;
}
.bg-blob--a { top: -20vmax; right: -10vmax; background: var(--blob-a); }
.bg-blob--b { bottom: -25vmax; left: -10vmax; background: var(--blob-b); }
.bg-blob--c { top: 40vmax; right: 20vmax; background: var(--blob-c); opacity: .5; width: 40vmax; height: 40vmax; }

.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}
.bg-noise {
  position: absolute; inset: 0; opacity: .35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* =============================================================
   NAV
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--pad);
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.nav__icon {
  height: 56px; width: auto;
  filter: drop-shadow(0 4px 12px oklch(0.65 0.22 128 / .35));
}
.nav__word {
  height: 28px; width: auto;
}

.nav__links {
  display: flex; gap: 4px; margin-inline: auto;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  border-radius: 999px;
  padding: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__links a {
  font-size: .9rem; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
  color: var(--ink-mute);
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--ink); background: var(--surface-2); }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  color: var(--ink);
  transition: background .2s;
}
.theme-toggle:hover { background: var(--surface-2); }
.theme-toggle svg { width: 18px; height: 18px; }
[data-theme="dark"] .theme-toggle__sun { display: block; }
[data-theme="dark"] .theme-toggle__moon { display: none; }
[data-theme="light"] .theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: block; }

.nav__burger { display: none; }

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform .15s var(--ease), background .2s, box-shadow .2s, color .2s;
  cursor: pointer;
}
.btn--lg { padding: 16px 26px; font-size: 1rem; }
.btn--sm { padding: 8px 12px; font-size: .8rem; }

.btn--primary {
  background: linear-gradient(180deg, var(--g-400), var(--g-500));
  color: var(--on-primary);
  box-shadow:
    0 12px 28px -10px oklch(0.65 0.22 128 / .6),
    inset 0 1px 0 oklch(1 0 0 / .35),
    inset 0 -2px 0 oklch(0 0 0 / .12);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 18px 36px -12px oklch(0.65 0.22 128 / .75), inset 0 1px 0 oklch(1 0 0 / .4); }

.btn--ghost {
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--surface-2); }

.btn--on-green {
  background: oklch(0.20 0.04 150);
  color: oklch(0.97 0.02 128);
  box-shadow: 0 12px 28px -10px oklch(0 0 0 / .4), inset 0 1px 0 oklch(1 0 0 / .1);
}
.btn--on-green:hover { background: oklch(0.14 0.04 150); transform: translateY(-1px); }
.btn--outline-on-green {
  background: transparent;
  color: var(--on-primary);
  box-shadow: inset 0 0 0 1.5px oklch(0.20 0.04 150 / .6);
}
.btn--outline-on-green:hover { background: oklch(0 0 0 / .08); }

.btn__arrow { transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn__play {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: 50%;
  font-size: .55rem;
  padding-left: 2px;
}

/* =============================================================
   ELEMENTAL: EYEBROW, SECTION HEADER
   ============================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: .75rem; font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(8px);
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}
.eyebrow--center { margin: 0 auto; }
.eyebrow--on-green {
  background: oklch(0.20 0.04 150 / .15);
  border-color: oklch(0.20 0.04 150 / .25);
  color: oklch(0.18 0.04 150);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.section-head h2 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
.section-head__lead { color: var(--ink-mute); font-size: 1.1rem; max-width: 56ch; }
.section-head--left { text-align: left; align-items: flex-start; }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--pad) clamp(64px, 8vw, 120px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 700;
  margin-top: 24px;
}
.grad-word {
  background: linear-gradient(135deg, var(--g-300), var(--g-500) 60%, var(--g-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.hero__lead {
  font-size: 1.18rem;
  color: var(--ink-mute);
  max-width: 50ch;
  margin-top: 22px;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 32px;
}
.hero__bullets {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-wrap: wrap; gap: 18px 28px;
  font-size: .92rem;
  color: var(--ink-mute);
}
.hero__bullets li { display: inline-flex; align-items: center; gap: 8px; }
.hero__bullets svg { width: 16px; height: 16px; color: var(--primary); }

/* Hero visual */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  min-height: 540px;
}
.hero__halo {
  position: absolute; inset: -10%;
  background: var(--hero-halo);
  filter: blur(10px);
  z-index: 0;
}

/* Phone mock */
.phone {
  position: absolute;
  inset: 6% 25% 4% 18%;
  background: var(--bg);
  border-radius: 42px;
  overflow: hidden;
  box-shadow:
    0 50px 90px -30px oklch(0 0 0 / .55),
    0 0 0 8px oklch(0.12 0.01 150 / .9),
    0 0 0 9px oklch(0.30 0.04 150);
  z-index: 1;
  transform: rotate(-3deg);
}
.phone__notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 42%; height: 26px; background: #000; border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone__screen {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.phone--sm {
  position: relative; inset: auto;
  width: 240px; height: 480px;
  margin: 0 auto;
  transform: rotate(-2deg);
}

/* Glass cards */
.glass-card {
  position: absolute;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  box-shadow: var(--glass-shadow);
  padding: 16px 18px;
  z-index: 2;
  font-size: .85rem;
}
.glass-card__head {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-mute);
}
.glass-card__head svg { width: 14px; height: 14px; }
.dot--live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 1.8s ease-in-out infinite;
}

.glass-card--orders {
  top: 4%; right: -4%;
  width: 230px;
}
.glass-card__big { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.glass-card__num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; letter-spacing: -0.02em; }
.glass-card__delta {
  font-size: .75rem; font-weight: 600;
  color: var(--primary);
  padding: 3px 8px; border-radius: 6px;
  background: oklch(0.72 0.22 128 / .15);
}
.glass-card__bars {
  display: flex; align-items: flex-end; gap: 5px;
  height: 44px; margin-top: 10px;
}
.glass-card__bars i {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--g-400), var(--g-600));
  border-radius: 4px;
  display: block;
}
.glass-card__bars i:last-child {
  background: linear-gradient(180deg, var(--g-300), var(--g-500));
  box-shadow: 0 0 14px oklch(0.78 0.20 128 / .5);
}
.glass-card__foot {
  display: flex; justify-content: space-between; gap: 4px;
  font-family: var(--font-mono); font-size: .58rem;
  color: var(--ink-dim); margin-top: 6px;
  text-transform: uppercase;
}

.glass-card--dish {
  bottom: 18%; left: -10%;
  width: 280px;
  display: flex; gap: 14px;
}
.dish-thumb {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--g-300), var(--g-500));
  display: grid; place-items: center;
  font-size: 1.8rem;
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / .25);
}
.glass-card__stack { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.glass-card__label {
  font-family: var(--font-mono);
  font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-dim);
}
.glass-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em;
  line-height: 1.15;
}
.dish-meta { display: flex; gap: 6px; margin-top: 4px; }
.pill {
  font-size: .7rem; font-weight: 600;
  padding: 3px 8px; border-radius: 999px;
  background: oklch(0.72 0.22 128 / .18);
  color: var(--primary);
}
.pill--ghost {
  background: var(--surface-2);
  color: var(--ink-mute);
}

.glass-card--pickup {
  bottom: 0; right: 0;
  width: 250px;
}
.glass-card--pickup .glass-card__head svg { color: var(--primary); }
.glass-card__pin {
  display: block; margin-top: 8px;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  letter-spacing: -0.01em;
}
.glass-card__sub { display: block; font-size: .8rem; color: var(--ink-mute); margin-top: 2px; }
.pickup-progress {
  margin-top: 12px;
}
.pickup-progress__bar {
  height: 6px; border-radius: 999px;
  background: oklch(0.50 0.05 150 / .25);
  position: relative; overflow: hidden;
}
.pickup-progress__bar::before {
  content: ""; position: absolute; inset: 0;
  width: var(--w);
  background: linear-gradient(90deg, var(--g-500), var(--g-300));
  border-radius: 999px;
}
.pickup-progress__label {
  display: block; margin-top: 6px;
  font-size: .72rem; color: var(--ink-mute);
}

/* =============================================================
   LOGO STRIP
   ============================================================= */
.logos {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--pad) 64px;
  text-align: center;
}
.logos__label {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 22px;
}
.logos__row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 16px;
}
.logo-chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  color: var(--ink-mute);
  backdrop-filter: blur(8px);
}

/* =============================================================
   PROBLEM
   ============================================================= */
.problem {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--pad);
}
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.problem-card__num {
  font-family: var(--font-mono);
  font-size: .78rem; letter-spacing: .15em;
  color: var(--primary);
  font-weight: 600;
}
.problem-card h3 { font-size: 1.4rem; }
.problem-card__before {
  color: var(--ink-mute);
  text-decoration: line-through;
  text-decoration-color: oklch(0.55 0.22 28 / .5);
  text-decoration-thickness: 1.5px;
  font-size: .95rem;
}
.problem-card__divider {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary);
}
.problem-card__divider::before,
.problem-card__divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.problem-card__after { font-size: 1rem; line-height: 1.55; }
.problem-card__after strong { color: var(--ink); font-weight: 700; }

/* =============================================================
   HOW IT WORKS
   ============================================================= */
.how {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--pad);
}
.how__steps {
  list-style: none; padding: 0; margin: 64px 0 0;
  display: flex; flex-direction: column; gap: clamp(60px, 8vw, 120px);
}
.how-step {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.how-step--reverse { grid-template-columns: 1fr 1.05fr; }
.how-step--reverse .how-step__visual { order: 2; }
.how-step--reverse .how-step__copy { order: 1; }

.how-step__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .9rem; letter-spacing: .15em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 14px;
}
.how-step__copy h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-family: var(--font-display);
  margin-bottom: 16px;
}
.how-step__copy p { color: var(--ink-mute); font-size: 1.1rem; }

.how-step__visual {
  position: relative;
  min-height: 420px;
  display: grid; place-items: center;
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}
.how-step__visual::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 30% 20%, oklch(0.72 0.20 128 / .15), transparent 70%);
  pointer-events: none;
}

/* Menu mock */
.menu-mock {
  position: relative; z-index: 1;
  width: 100%; max-width: 360px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 20px 40px -20px oklch(0 0 0 / .35);
}
.menu-mock__head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.menu-mock__date { font-family: var(--font-mono); font-size: .85rem; color: var(--primary); font-weight: 600; }
.menu-mock__row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  font-size: .95rem;
}
.menu-mock__bullet { font-size: 1.2rem; }
.menu-mock__name { flex: 1; font-weight: 600; }
.menu-mock__price { font-family: var(--font-mono); font-size: .85rem; color: var(--ink-mute); }
.menu-mock__row--add {
  justify-content: center;
  border-style: dashed;
  color: var(--primary);
  font-weight: 600;
  background: transparent;
}

/* Prep mock */
.prep-mock {
  position: relative; z-index: 1;
  width: 100%; max-width: 380px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 20px 40px -20px oklch(0 0 0 / .35);
}
.prep-mock__head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
}
.prep-mock__badge {
  background: linear-gradient(135deg, var(--g-400), var(--g-500));
  color: var(--on-primary);
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}
.prep-mock__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .98rem;
  font-weight: 500;
}
.prep-mock__count {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--primary);
}
.prep-mock__foot {
  display: flex; align-items: center; gap: 8px;
  margin-top: 6px;
  padding: 12px 14px;
  background: oklch(0.72 0.22 128 / .12);
  border-radius: 12px;
  font-family: var(--font-mono); font-size: .8rem;
  color: var(--primary);
  font-weight: 600;
}

/* =============================================================
   PANEL (Admin)
   ============================================================= */
.panel {
  background:
    radial-gradient(80% 60% at 50% 0%, oklch(0.72 0.22 128 / .12), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}
.panel__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.panel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 22px;
  margin-top: 56px;
}
.feature-card {
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: oklch(0.72 0.22 128 / .4);
}
.feature-card--wide { grid-column: span 2; }
.feature-card--tall { grid-row: span 1; }
.feature-card--accent {
  background: linear-gradient(140deg, oklch(0.72 0.22 128 / .25), var(--glass) 70%);
  border-color: oklch(0.72 0.22 128 / .4);
}
.feature-card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--g-400), var(--g-600));
  display: grid; place-items: center;
  color: var(--on-primary);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / .2), 0 6px 16px -6px oklch(0.65 0.22 128 / .5);
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1.3rem; }
.feature-card p { color: var(--ink-mute); font-size: .98rem; }

/* Mini calendar viz */
.feature-card__viz--cal { margin-top: auto; padding-top: 12px; }
.mini-cal {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.mini-cal__day {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 10px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: .75rem;
  color: var(--ink-mute);
  position: relative;
  min-height: 84px;
}
.mini-cal__day b {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--ink);
}
.mini-cal__day i {
  width: 80%; height: 4px;
  background: oklch(0.72 0.22 128 / .25);
  border-radius: 999px;
  margin-top: 2px;
}
.mini-cal__day--on i {
  background: linear-gradient(90deg, var(--g-400), var(--g-500));
}
.mini-cal__day--on {
  background: linear-gradient(180deg, oklch(0.72 0.22 128 / .12), var(--surface-2));
  border-color: oklch(0.72 0.22 128 / .35);
}
.mini-cal__day--full b { color: var(--primary); }

/* Chart viz */
.feature-card__viz--chart {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 8px;
}
.chart-row {
  display: grid;
  grid-template-columns: 1fr 2.2fr auto;
  gap: 10px;
  align-items: center;
  font-size: .85rem;
}
.chart-row span { color: var(--ink-mute); font-weight: 500; }
.chart-row i {
  height: 8px;
  width: var(--w);
  background: linear-gradient(90deg, var(--g-500), var(--g-300));
  border-radius: 999px;
}
.chart-row b {
  font-family: var(--font-mono); font-size: .8rem;
  color: var(--primary); font-weight: 600;
  min-width: 30px; text-align: right;
}
.chart-row--dim span, .chart-row--dim b { opacity: .55; }
.chart-row--dim i { background: var(--line); }

/* =============================================================
   MODEL / BILLING
   ============================================================= */
.model {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--pad);
}
.model__split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.model__copy h2 { margin-top: 18px; }
.model__lead { color: var(--ink-mute); font-size: 1.1rem; margin-top: 20px; max-width: 55ch; }
.model__lead strong { color: var(--ink); }

.model__flow {
  display: flex; flex-wrap: wrap; align-items: stretch;
  gap: 14px;
  margin-top: 36px;
}
.flow-step {
  flex: 1; min-width: 160px;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 4px;
  backdrop-filter: blur(12px);
}
.flow-step__day {
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); font-weight: 600;
}
.flow-step strong {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  letter-spacing: -0.01em; line-height: 1.2;
}
.flow-step span:last-child { font-size: .85rem; color: var(--ink-mute); }
.flow-step--end {
  background: linear-gradient(140deg, oklch(0.72 0.22 128 / .22), var(--glass));
  border-color: oklch(0.72 0.22 128 / .4);
}
.flow-arrow {
  display: grid; place-items: center;
  font-size: 1.4rem; color: var(--primary);
  padding: 0 4px;
}

/* Billing card */
.model__card {
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  overflow: hidden;
}
.model__card::before {
  content: ""; position: absolute; top: -50%; right: -30%;
  width: 80%; height: 100%;
  background: radial-gradient(circle, oklch(0.72 0.22 128 / .25), transparent 60%);
  pointer-events: none;
}
.model__card-tag {
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute);
  position: relative;
}
.model__card-amount {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--font-display);
  position: relative;
}
.model__card-amount span {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--g-300), var(--g-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.model__card-amount em { font-size: 1.2rem; color: var(--primary); font-style: normal; font-weight: 600; }
.model__card-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .92rem;
  position: relative;
}
.model__card-row b { font-family: var(--font-mono); font-weight: 600; }
.model__card-row--dim { opacity: .6; }
.model__card-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px;
  font-family: var(--font-mono); font-size: .8rem;
  color: var(--ink-mute);
  position: relative;
}

/* =============================================================
   TESTIMONIAL
   ============================================================= */
.testimonial {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--pad);
  text-align: center;
}
.testimonial figure { margin: 0; }
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.3; letter-spacing: -0.01em;
  font-weight: 500;
  margin: 0 0 32px;
  text-wrap: balance;
  color: var(--ink);
}
.testimonial figcaption {
  display: inline-flex; align-items: center; gap: 14px;
  text-align: left;
}
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--g-400), var(--g-600));
  color: var(--on-primary);
  font-family: var(--font-display); font-weight: 700;
  display: grid; place-items: center;
  font-size: .95rem;
}
.testimonial__who { display: flex; flex-direction: column; font-size: .92rem; }
.testimonial__who strong { color: var(--ink); font-weight: 700; }
.testimonial__who span { color: var(--ink-mute); font-size: .85rem; }

.testimonial__stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial__stats > div {
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius);
  padding: 24px 16px;
  backdrop-filter: blur(12px);
}
.testimonial__stats b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--g-300), var(--g-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 6px;
}
.testimonial__stats span {
  font-size: .85rem;
  color: var(--ink-mute);
  line-height: 1.4;
}

/* =============================================================
   CTA - photo card
   ============================================================= */
.cta {
  padding: clamp(48px, 7vw, 96px) var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.cta__inner--photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: clamp(440px, 55vw, 620px);
  display: grid; align-items: center;
  color: #fff;
  isolation: isolate;
  box-shadow:
    0 50px 100px -30px oklch(0.30 0.10 150 / .55),
    0 0 0 1px oklch(0.72 0.22 128 / .25);
}
.cta__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 0;
}
.cta__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    /* uniform readability tint */
    linear-gradient(180deg,
      oklch(0.18 0.04 152 / .72) 0%,
      oklch(0.18 0.04 152 / .65) 100%),
    /* brand-green wash */
    linear-gradient(180deg, oklch(0.45 0.18 131 / .25), oklch(0.22 0.10 152 / .45)),
    /* subtle vignette */
    radial-gradient(120% 80% at 50% 100%, oklch(0 0 0 / .55), transparent 65%),
    radial-gradient(80% 60% at 50% 0%, oklch(0 0 0 / .35), transparent 70%);
}
.cta__grain {
  position: absolute; inset: 0; z-index: 2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .22;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.cta__content {
  position: relative; z-index: 3;
  padding: clamp(56px, 8vw, 96px) clamp(28px, 6vw, 80px);
  max-width: 760px;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  text-align: center;
}
.cta h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  margin: 6px 0 0;
  text-shadow: 0 2px 16px oklch(0 0 0 / .35);
}
.cta p {
  color: oklch(1 0 0 / .85);
  max-width: 54ch;
  margin: 0 auto;
  font-size: 1.1rem;
  text-shadow: 0 1px 8px oklch(0 0 0 / .4);
}
.cta__buttons {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: 18px;
}
.eyebrow--on-photo {
  background: oklch(1 0 0 / .12);
  border-color: oklch(1 0 0 / .25);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.eyebrow--on-photo .eyebrow__dot { box-shadow: 0 0 14px var(--primary); }

.btn--white {
  background: #fff;
  color: oklch(0.22 0.06 150);
  box-shadow:
    0 18px 36px -12px oklch(0 0 0 / .35),
    inset 0 -2px 0 oklch(0 0 0 / .06);
  font-weight: 700;
}
.btn--white:hover {
  background: var(--g-300);
  transform: translateY(-1px);
  box-shadow: 0 22px 44px -12px oklch(0.65 0.22 128 / .55);
}

.cta__meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 28px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: .85rem;
  color: oklch(1 0 0 / .8);
}
.cta__meta-item {
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .2s;
}
.cta__meta-item:hover { color: var(--g-300); }
.cta__meta-item svg { width: 16px; height: 16px; color: var(--g-300); }

/* =============================================================
   FOOTER
   ============================================================= */
.foot {
  border-top: 1px solid var(--line-soft);
  padding: 64px var(--pad) 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.foot__top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2.5fr;
  gap: 56px;
  align-items: start;
}
.foot__brand {
  display: flex; align-items: center; gap: 12px;
}
.foot__icon {
  height: 58px; width: auto;
}
.foot__word {
  height: 28px; width: auto;
}
.foot__tag {
  grid-column: 1;
  color: var(--ink-mute);
  font-size: .95rem;
  max-width: 32ch;
  margin-top: -32px;
  padding-top: 60px;
}
.foot__cols {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.foot__cols h4 {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 600;
  margin-bottom: 16px;
}
.foot__cols a, .foot__cols p {
  display: block;
  font-size: .92rem;
  color: var(--ink-mute);
  margin-bottom: 10px;
  transition: color .2s;
}
.foot__cols a:hover { color: var(--primary); }
.foot__addr { font-style: normal; }
.foot__bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  padding-top: 32px;
  margin-top: 48px;
  border-top: 1px solid var(--line-soft);
  font-size: .82rem;
  color: var(--ink-dim);
}
.foot__legal { display: flex; gap: 18px; }
.foot__legal a { color: var(--ink-dim); }
.foot__legal a:hover { color: var(--primary); }



/* Hide mobile nav buttons on desktop by default */
.nav__mobile-actions { display: none; }

/* Strict boundary to prevent horizontal scroll across all viewports */
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  position: relative;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1100px) {
  /* Hide desktop-only nav links and buttons */
  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  
  /* Align theme toggle and hamburger on the far right */
  .nav__actions {
    margin-left: auto;
    gap: 8px;
  }

  /* Activate burger menu under 1100px (Tablets + Mobile) */
  .nav__burger {
    display: grid;
    place-items: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    background: var(--glass);
    border: 1px solid var(--glass-stroke);
    border-radius: 12px;
    cursor: pointer;
    z-index: 10000;
  }
  .nav__burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  }

  /* Hamburger transform when menu is active */
  .nav-open .nav__burger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-open .nav__burger span:nth-child(2) {
    opacity: 0;
  }
  .nav-open .nav__burger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* 
     To resolve the backdrop-filter nesting bug where absolute/fixed overlays squish inside 
     sticky elements, we expand the .nav header itself to full-screen when the menu is active.
  */
  body.nav-open .nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    height: 100vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    background: var(--bg);
    z-index: 99999;
    overflow-y: auto;
  }
  
  body.nav-open {
    overflow: hidden !important; /* Locks main page scrolling when menu is active */
  }

  /* Reorder header elements inside the full-screen navbar */
  body.nav-open .nav__brand { order: 1; }
  body.nav-open .nav__actions { order: 2; margin-left: auto; }
  body.nav-open .nav__burger { order: 3; }

  /* Mobile Navigation Links inside expanded header */
  body.nav-open .nav__links {
    order: 4;
    flex-basis: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px var(--pad);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    margin-top: auto;
    margin-bottom: auto;
    opacity: 0;
    transform: translateY(-10px);
    animation: mobileMenuFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-open .nav__links a {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
    padding: 8px 24px;
    width: 100%;
    text-align: center;
  }
  .nav-open .nav__links a:hover {
    background: transparent;
    color: var(--primary);
  }

  /* Mobile Actions container inside Mobile Menu Overlay */
  .nav__mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 280px;
    margin-top: 20px;
  }
  .nav__mobile-actions .btn {
    display: inline-flex !important;
    width: 100%;
    justify-content: center;
    padding: 13px 24px;
    font-size: 1rem;
  }

  /* Layout and grids formatting */
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    overflow-x: hidden;
    padding-top: clamp(24px, 4vw, 48px);
  }
  .hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__bullets { justify-content: center; }
  
  /* Removed overflow: hidden to prevent cutting off the phone and decorative glass cards! */
  .hero__visual {
    min-height: auto;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 480px;
    margin: 40px auto 0;
    overflow: visible; 
    position: relative;
  }

  .problem__grid { grid-template-columns: 1fr; }
  .panel__grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--wide { grid-column: span 2; }
  .how-step, .how-step--reverse { grid-template-columns: 1fr; text-align: center; }
  .how-step--reverse .how-step__visual { order: 0; }
  .how-step--reverse .how-step__copy { order: 0; }
  .model__split { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; gap: 32px; }
  .foot__cols { grid-column: 1; grid-row: auto; }
  .foot__tag { padding-top: 0; margin-top: 0; }
}

@media (max-width: 720px) {
  .panel__grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: 1; }
  .testimonial__stats { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
  
  /* Prevent large off-screen offsets that cause overflow on smaller screens */
  .glass-card--orders { width: 170px; right: -4%; }
  .glass-card--dish { width: 220px; left: -4%; }
  .glass-card--pickup { width: 200px; }
}

@media (max-width: 480px) {
  /* Restored brand text wordmark visibility as requested (do not hide it here) */
  .nav__word { display: inline-block !important; }

  .hero__title { font-size: 2.2rem; }
  
  /* Scale down the visual assets and absolute cards for smaller devices */
  .hero__visual { max-width: 320px; }
  .glass-card--orders { width: 135px; right: -2%; padding: 10px 12px; }
  .glass-card--dish { width: 170px; left: -2%; padding: 10px 12px; gap: 8px; }
  .dish-thumb { width: 44px; height: 44px; font-size: 1.2rem; }
  .glass-card__title { font-size: 0.85rem; }
  .glass-card--pickup { width: 170px; padding: 10px 12px; }

  .flow-arrow { transform: rotate(90deg); margin: 0 auto; }
  .model__flow { flex-direction: column; }
  .flow-step { width: 100%; }
  .foot__cols { grid-template-columns: 1fr; }
}

@keyframes mobileMenuFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

