/* ==========================================================================
   FRESH DOG KITCHEN — Design System (Light / Professional)
   Human-grade pet food · San Marcos, CA
   Palette: warm white · light neutrals · fresh green · soft amber
   ========================================================================== */

:root {
  /* Color */
  --bg-0: #f7f5ee;
  --bg-1: #f1efe6;
  --bg-2: #e9f4ec;
  --ink: #1d2a23;
  --ink-2: #39463f;
  --dim: rgba(29, 42, 35, 0.66);
  --faint: rgba(29, 42, 35, 0.45);
  --green: #119a5c;
  --green-2: #0d8a52;
  --teal: #0f9e96;
  --amber: #d98a1f;
  --coral: #e2643c;
  --danger: #d64545;

  /* Surfaces */
  --glass: rgba(255, 255, 255, 0.66);
  --glass-2: rgba(29, 42, 35, 0.06);
  --brd: rgba(29, 42, 35, 0.10);
  --brd-2: rgba(29, 42, 35, 0.18);
  --grad-accent: linear-gradient(135deg, #19c97e 0%, #0fb5a5 100%);
  --grad-warm: linear-gradient(135deg, #f2b25c 0%, #ec8154 100%);
  --shadow-glow: 0 8px 32px rgba(17, 154, 92, 0.28);
  --shadow-card: 0 18px 44px rgba(30, 42, 36, 0.10);

  /* Shape & type */
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, -apple-system, sans-serif;
  --container: 1180px;
  --header-h: 74px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg-0);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  opacity: 1;
  transition: opacity 0.35s ease;
}
body.page-leaving { opacity: 0; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--ink); }

::selection { background: rgba(25, 201, 126, 0.3); color: #053b26; }

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

/* ---------- Premium aurora background ---------- */
.bg-mesh {
  position: fixed;
  inset: -20%;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(42% 38% at 30% 34%, rgba(255, 255, 255, 0.28) 0%, transparent 70%),
    radial-gradient(46% 42% at 70% 72%, rgba(255, 255, 255, 0.18) 0%, transparent 70%),
    url("../assets/bg-premium.svg");
  background-size: cover;
  background-position: center;
  animation: meshDrift 26s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-2.5%, 1.5%, 0) scale(1.05); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.02); }
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

/* ---------- Typography ---------- */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }

.h-display { font-size: clamp(1.65rem, 3.2vw, 2.4rem); text-wrap: balance; }
.h-section { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.h-card { font-size: 1.25rem; font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--grad-accent); }

.lead { font-size: clamp(1.14rem, 1.7vw, 1.34rem); color: var(--ink-2); font-weight: 420; max-width: 60ch; }

.grad-text {
  background: linear-gradient(135deg, #0c8f55 0%, #0b857c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.grad-text-warm {
  background: linear-gradient(135deg, #d98a1f 0%, #e2643c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad-accent);
  color: #053b26;
  box-shadow: 0 6px 20px rgba(17, 154, 92, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 130%; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--brd-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--green); box-shadow: 0 0 22px rgba(17, 154, 92, 0.16); transform: translateY(-2px); }

.btn-warm { background: var(--grad-warm); color: #4a2607; box-shadow: 0 6px 20px rgba(236, 129, 84, 0.25); }
.btn-warm:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(236, 129, 84, 0.38); }

.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- Glass card ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--brd);
  border-radius: var(--r-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(30, 42, 36, 0.06);
}

/* ---------- Header ---------- */
.announce {
  background: linear-gradient(90deg, rgba(17, 154, 92, 0.10), rgba(15, 158, 150, 0.10));
  border-bottom: 1px solid var(--brd);
  text-align: center;
  font-size: 0.84rem;
  padding: 8px 16px;
  color: var(--ink-2);
}
.announce a { color: var(--green); font-weight: 700; border-bottom: 1px dotted var(--green); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
  background: rgba(253, 252, 249, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 24px rgba(30, 42, 36, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 13px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.12; }
.brand > span:last-child { white-space: nowrap; }
.brand .paw {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 17px;
  background: var(--grad-accent);
  color: #053b26;
  box-shadow: 0 4px 14px rgba(17, 154, 92, 0.3);
  flex-shrink: 0;
}
.brand .paw svg { width: 27px; height: 27px; }
.brand small { display: block; font-family: var(--font-body); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  white-space: nowrap;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--dim);
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--ink); background: var(--glass-2); }
.nav-links a.active { color: var(--green-2); background: rgba(17, 154, 92, 0.1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.cart-btn {
  position: relative;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--brd-2);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.cart-btn:hover { border-color: var(--green); box-shadow: 0 0 16px rgba(17, 154, 92, 0.22); }
.cart-btn.bump { animation: bump 0.45s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }

.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--grad-warm);
  color: #4a2607;
  font-size: 0.7rem;
  font-weight: 700;
}
.cart-count.empty { display: none; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--brd-2); background: rgba(255, 255, 255, 0.8); }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 2.5px auto; background: var(--ink); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: calc(var(--header-h) + 64px) 20px 48px;
  background: rgba(253, 252, 249, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav ul { margin: auto; text-align: center; display: grid; gap: 10px; }
.mobile-nav a { font-family: var(--font-display); font-size: 1.8rem; padding: 10px 26px; display: inline-block; border-radius: 16px; transition: color 0.25s, background 0.25s; }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--green-2); background: rgba(17, 154, 92, 0.07); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); display: grid; gap: 16px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.1fr 1.05fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero-copy { display: grid; gap: 18px; justify-items: start; }
.hero-copy .lead { font-size: clamp(1.02rem, 1.4vw, 1.14rem); }

/* Left hero photo — fills the column full height */
.hero-side-photo { align-self: stretch; display: flex; }
.hero-side-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 14px 38px -14px rgba(30, 42, 36, 0.26);
}
/* Between 3-up and full stack: photo becomes a full-width banner over copy + map */
@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-side-photo { grid-column: 1 / -1; }
  .hero-side-photo img { min-height: 0; height: clamp(200px, 30vw, 300px); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--brd-2);
  backdrop-filter: blur(12px);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: 0 4px 14px rgba(30, 42, 36, 0.06);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(17, 154, 92, 0.7); animation: blink 2.2s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 44px); margin-top: 10px; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--green-2); }
.hero-stat span { font-size: 0.8rem; color: var(--faint); letter-spacing: 0.04em; text-transform: uppercase; }

/* Hero visual: white photo card with floating ingredient chips */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
/* Hero visual variant: delivery-zone map panel (replaces bowl card on home) */
.hero-visual.is-map { place-items: center stretch; min-height: 0; }
.hero-visual.is-map .zone-panel { width: 100%; margin: 0; }
.bowl-card {
  position: relative;
  width: min(400px, 88%);
  padding: 40px 28px 30px;
  text-align: center;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--brd);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  animation: floatY 7s ease-in-out infinite;
}
.bowl-card h3 { font-size: 1.3rem; margin-top: 18px; }
.bowl-card p { color: var(--dim); font-size: 0.92rem; margin-top: 6px; }
.bowl-tag {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--grad-accent);
  color: #053b26;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(17, 154, 92, 0.3);
}
.hero-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 20px;
  background: var(--bg-2);
}
.bowl-svg { margin: 0 auto; filter: drop-shadow(0 14px 24px rgba(30, 42, 36, 0.18)); }
.steam path { stroke: rgba(90, 105, 96, 0.5); stroke-width: 2.5; fill: none; stroke-linecap: round; animation: steam 3.2s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: 0.7s; }
.steam path:nth-child(3) { animation-delay: 1.4s; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(6px); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-12px); }
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--brd);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.84rem;
  font-weight: 500;
  box-shadow: 0 10px 22px rgba(30, 42, 36, 0.10);
  animation: floatY 6s ease-in-out infinite;
}
.chip-1 { top: 6%; left: 0; animation-delay: 0.4s; }
.chip-2 { top: 22%; right: -2%; animation-delay: 1.3s; }
.chip-3 { bottom: 18%; left: -4%; animation-delay: 2.1s; }
.chip-4 { bottom: 4%; right: 4%; animation-delay: 0.9s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }

/* ---------- Trust marquee ---------- */
.trust-bar { border-block: 1px solid var(--brd); padding: 18px 0; overflow: hidden; background: rgba(29, 42, 35, 0.025); }
.marquee { display: flex; gap: 56px; width: max-content; animation: marquee 30s linear infinite; }
.trust-bar:hover .marquee { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.marquee .tick { color: var(--green); font-weight: 700; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  position: relative;
  padding: 36px 30px;
  display: grid;
  gap: 14px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.step:hover { transform: translateY(-6px); border-color: rgba(17, 154, 92, 0.4); box-shadow: 0 16px 36px rgba(17, 154, 92, 0.10); }
.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  background: linear-gradient(135deg, #0c8f55, #0b857c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step p { color: var(--dim); font-size: 0.96rem; }

/* ---------- Product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }

.p-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--brd);
  border-radius: var(--r-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(30, 42, 36, 0.05);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s, box-shadow 0.35s;
}
.p-card:hover {
  transform: translateY(-8px);
  border-color: rgba(17, 154, 92, 0.4);
  box-shadow: 0 22px 44px rgba(30, 42, 36, 0.12), 0 0 30px rgba(17, 154, 92, 0.08);
}

.p-art {
  --h: 150;
  position: relative;
  height: 178px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(80% 90% at 70% 15%, hsla(var(--h), 70%, 55%, 0.22) 0%, transparent 60%),
    radial-gradient(70% 80% at 20% 90%, hsla(calc(var(--h) + 40), 65%, 55%, 0.14) 0%, transparent 65%),
    linear-gradient(160deg, hsla(var(--h), 55%, 92%, 1), hsla(var(--h), 45%, 84%, 1));
  overflow: hidden;
}
.p-art::after {
  content: "";
  position: absolute;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: hsla(var(--h), 75%, 60%, 0.28);
  filter: blur(46px);
  transition: transform 0.5s ease;
}
.p-card:hover .p-art::after { transform: scale(1.55); }
.p-emoji { position: relative; z-index: 1; font-size: 4rem; filter: drop-shadow(0 10px 16px rgba(30, 42, 36, 0.22)); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.p-card:hover .p-emoji { transform: scale(1.14) rotate(-5deg); }
.p-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.p-card:hover .p-photo { transform: scale(1.06); }

.p-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--brd);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.p-badge.hot { background: var(--grad-warm); color: #4a2607; border: none; }

.p-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 24px; flex: 1; }
.p-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.p-price { font-family: var(--font-display); font-size: 1.18rem; color: var(--green-2); white-space: nowrap; }
.p-price small { font-size: 0.72rem; color: var(--faint); font-family: var(--font-body); }
.p-price .was { font-size: 0.8rem; color: var(--faint); text-decoration: line-through; margin-right: 6px; }
.p-desc { font-size: 1rem; color: var(--ink-2); }

.p-ing { display: flex; flex-wrap: wrap; gap: 7px; }
.p-ing li {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(29, 42, 35, 0.045);
  border: 1px solid var(--brd);
  font-size: 0.76rem;
  color: var(--ink-2);
}

.p-safe { font-size: 0.78rem; color: var(--green-2); display: flex; align-items: center; gap: 7px; font-weight: 600; }

.p-buy { margin-top: auto; display: grid; gap: 11px; padding-top: 6px; }

.buy-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: rgba(29, 42, 35, 0.05);
  border: 1px solid var(--brd);
}
.bt-opt {
  padding: 8px 6px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--faint);
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.bt-opt.active { background: var(--grad-accent); color: #053b26; box-shadow: 0 3px 12px rgba(17, 154, 92, 0.25); }

/* ---------- Filter tabs ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.f-tab {
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--brd-2);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dim);
  transition: all 0.25s ease;
}
.f-tab:hover { color: var(--ink); border-color: var(--green); }
.f-tab.active { background: var(--grad-accent); color: #053b26; border-color: transparent; font-weight: 700; box-shadow: 0 4px 16px rgba(17, 154, 92, 0.24); }

/* ---------- Safety / Never list ---------- */
.never-band {
  border-radius: var(--r-lg);
  border: 1px solid rgba(226, 100, 60, 0.3);
  background: linear-gradient(135deg, rgba(226, 100, 60, 0.06), rgba(217, 138, 31, 0.05));
  padding: clamp(32px, 5vw, 56px);
}
.never-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 28px; }
.never-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--brd);
  font-size: 0.92rem;
  font-weight: 500;
}
.never-item .x { color: var(--coral); font-weight: 800; font-size: 1.05rem; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi {
  padding: 32px 30px;
  display: grid;
  gap: 18px;
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.testi:hover { transform: translateY(-6px); border-color: rgba(17, 154, 92, 0.35); }
.testi .stars { color: var(--amber); letter-spacing: 3px; font-size: 0.95rem; }
.testi blockquote { font-size: 1.02rem; color: var(--ink-2); line-height: 1.6; }
.testi-who { display: flex; align-items: center; gap: 13px; }
.testi-ava {
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.35rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(25, 201, 126, 0.25), rgba(15, 181, 165, 0.25));
}
.testi-ava img { width: 100%; height: 100%; object-fit: cover; }
.testi-who strong { display: block; font-size: 0.94rem; }
.testi-who span { font-size: 0.8rem; color: var(--faint); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(17, 154, 92, 0.3);
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(25, 201, 126, 0.12), transparent 70%),
    rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
}
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; }
.cta-banner p { color: var(--dim); max-width: 54ch; margin: 0 auto 30px; }

/* ---------- Markets / local strip ---------- */
.market-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.market {
  padding: 24px;
  display: grid;
  gap: 6px;
  transition: border-color 0.3s, transform 0.3s;
}
.market:hover { border-color: rgba(17, 154, 92, 0.4); transform: translateY(-4px); }
.market .day { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.market strong { font-size: 1.05rem; }
.market span { font-size: 0.86rem; color: var(--dim); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--brd); margin-top: 40px; background: #f4f3ed; }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(48px, 6vw, 72px) 0 40px;
}
.footer-main h4 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.footer-main ul { display: grid; gap: 10px; }
.footer-main ul a { color: var(--dim); font-size: 0.93rem; transition: color 0.25s; }
.footer-main ul a:hover { color: var(--green-2); }
.footer-brand p { color: var(--dim); font-size: 0.92rem; margin: 16px 0 22px; max-width: 34ch; }

.newsletter { display: flex; gap: 0; max-width: 360px; }
.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  background: #fff;
  border: 1px solid var(--brd-2);
  border-right: none;
  border-radius: 999px 0 0 999px;
  outline: none;
}
.newsletter input:focus { border-color: var(--green); }
.newsletter button { border-radius: 0 999px 999px 0; padding: 13px 22px; }

.footer-safety {
  border-block: 1px solid var(--brd);
  padding: 16px 0;
  text-align: center;
  font-size: 0.84rem;
  color: var(--green-2);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.footer-legal { padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 0.8rem; color: var(--faint); }
.footer-legal a { color: var(--ink-2); text-decoration: none; }
.footer-legal a:hover { color: var(--green-2); text-decoration: underline; }

/* ---------- Cart drawer ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(30, 42, 36, 0.32);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.overlay.show { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 80;
  width: min(430px, 94vw);
  display: flex;
  flex-direction: column;
  background: rgba(253, 252, 249, 0.96);
  border-left: 1px solid var(--brd);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  box-shadow: -16px 0 44px rgba(30, 42, 36, 0.14);
  transform: translateX(105%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.cart-drawer.open { transform: translateX(0); }

.cd-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--brd); }
.cd-head h3 { font-size: 1.25rem; }
.cd-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--brd-2); display: grid; place-items: center; font-size: 1.1rem; transition: border-color 0.25s, transform 0.25s; }
.cd-close:hover { border-color: var(--coral); transform: rotate(90deg); }

.cd-items { flex: 1; overflow-y: auto; padding: 18px 26px; display: grid; gap: 14px; align-content: start; }
.cd-empty { text-align: center; color: var(--faint); padding: 60px 12px; display: grid; gap: 14px; justify-items: center; }
.cd-empty .big { font-size: 3rem; }

.cd-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--brd);
  box-shadow: 0 4px 12px rgba(30, 42, 36, 0.04);
}
.cd-item-art { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.6rem; border-radius: var(--r-sm); background: rgba(17, 154, 92, 0.09); overflow: hidden; }
.cd-item-art img { width: 100%; height: 100%; object-fit: cover; }
.cd-item-info strong { font-size: 0.92rem; display: block; line-height: 1.3; }
.cd-item-info .meta { font-size: 0.76rem; color: var(--faint); }
.cd-item-info .meta .sub-tag { color: var(--green-2); font-weight: 700; }
.cd-item-side { display: grid; gap: 7px; justify-items: end; }
.cd-item-side .price { font-weight: 600; font-size: 0.92rem; }

.qty { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--brd-2); border-radius: 999px; }
.qty button { width: 26px; height: 26px; display: grid; place-items: center; font-size: 0.95rem; color: var(--dim); transition: color 0.2s; }
.qty button:hover { color: var(--green-2); }
.qty span { min-width: 22px; text-align: center; font-size: 0.85rem; font-weight: 600; }

.cd-remove { font-size: 0.72rem; color: var(--faint); transition: color 0.2s; }
.cd-remove:hover { color: var(--coral); }

.cd-foot { padding: 20px 26px 26px; border-top: 1px solid var(--brd); display: grid; gap: 12px; }
.cd-line { display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--dim); }
.cd-line.total { font-size: 1.12rem; color: var(--ink); font-weight: 700; }
.cd-line .free { color: var(--green-2); font-weight: 700; }
.cd-note { font-size: 0.76rem; color: var(--faint); text-align: center; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 90;
  transform: translate(-50%, 140%);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(17, 154, 92, 0.45);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px rgba(30, 42, 36, 0.18);
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}
.toast.show { transform: translate(-50%, 0); }
.toast .tick { color: var(--green); font-weight: 800; }

/* ==========================================================================
   SUBSCRIPTION PAGE
   ========================================================================== */
.freq-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  border-radius: 999px;
  background: rgba(29, 42, 35, 0.05);
  border: 1px solid var(--brd-2);
  margin: 0 auto;
}
.freq-switch button {
  padding: 11px 28px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--faint);
  transition: all 0.3s ease;
}
.freq-switch button.active { background: var(--grad-accent); color: #053b26; box-shadow: 0 4px 14px rgba(17, 154, 92, 0.25); }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 34px 28px 30px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.plan:hover { transform: translateY(-8px); border-color: rgba(17, 154, 92, 0.4); }
.plan.featured {
  border-color: rgba(17, 154, 92, 0.5);
  background: linear-gradient(170deg, rgba(25, 201, 126, 0.08), rgba(255, 255, 255, 0.85));
  box-shadow: 0 16px 40px rgba(17, 154, 92, 0.12);
}
/* Sits fully inside the card — Safari clips children of backdrop-filtered
   elements, so a badge straddling the top border gets cut off on iPhones. */
.plan-flag {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--grad-warm);
  color: #4a2607;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(217, 138, 31, 0.3);
}
.plan.featured { padding-top: 58px; }
.plan .emoji { font-size: 2.2rem; }
.plan-thumb { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; box-shadow: 0 6px 16px rgba(30, 42, 36, 0.14); }
/* Plan cards get big banner photos (the 64px size stays for the kitchen sourcing icons) */
.plan .plan-thumb { width: 100%; height: 170px; border-radius: 18px; }
.plan h3 { font-size: 1.2rem; }
.plan .plan-desc { font-size: 0.88rem; color: var(--dim); min-height: 3.2em; }
.plan-price { font-family: var(--font-display); font-size: 2.3rem; color: var(--ink); }
.plan-price small { font-size: 0.85rem; color: var(--faint); font-family: var(--font-body); }
.plan-price .per { font-size: 1rem; color: var(--faint); }
.plan ul { display: grid; gap: 9px; font-size: 0.88rem; color: var(--ink-2); }
.plan ul li { display: flex; gap: 9px; align-items: start; }
.plan ul .tick { color: var(--green); font-weight: 700; }
.plan .btn { margin-top: auto; }

/* Calculator */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(32px, 5vw, 56px);
}
.calc-controls { display: grid; gap: 26px; align-content: start; }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 0.95rem; }
.calc-label output { font-family: var(--font-display); font-size: 1.4rem; color: var(--green-2); }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) var(--fill, 30%), rgba(29, 42, 35, 0.12) var(--fill, 30%));
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--grad-accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 12px rgba(17, 154, 92, 0.45);
  cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--grad-accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 12px rgba(17, 154, 92, 0.45);
  cursor: grab;
}

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg button {
  padding: 11px 8px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--brd);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dim);
  transition: all 0.25s;
}
.seg button.active { border-color: var(--green); color: var(--green-2); background: rgba(17, 154, 92, 0.08); font-weight: 700; }
.seg.seg-2 { grid-template-columns: 1fr 1fr; }

.calc-result { display: grid; gap: 16px; align-content: start; }
.calc-card { padding: 24px 26px; display: grid; gap: 4px; border-radius: var(--r-md); }
.calc-card .label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.calc-card .value { font-family: var(--font-display); font-size: 2rem; }
.calc-card .sub-note { font-size: 0.84rem; color: var(--dim); }
.calc-card.win { border: 1px solid rgba(17, 154, 92, 0.4); background: rgba(17, 154, 92, 0.06); }
.calc-card.win .value { color: var(--green-2); }
.calc-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-rec { font-size: 0.92rem; color: var(--ink-2); padding: 16px 20px; border-radius: var(--r-sm); background: rgba(217, 138, 31, 0.08); border: 1px solid rgba(217, 138, 31, 0.3); }
.calc-rec strong { color: var(--amber); }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: tl; }
.tl-item { position: relative; padding: 28px 24px; display: grid; gap: 10px; }
.tl-item .tl-day { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.tl-item h4 { font-size: 1.05rem; font-family: var(--font-display); }
.tl-item p { font-size: 0.87rem; color: var(--dim); }

/* ==========================================================================
   KITCHEN PAGE
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-copy { display: grid; gap: 20px; }
.split-copy .check-list { display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: start; color: var(--ink-2); font-size: 0.97rem; }
.check-list .tick { color: var(--green); font-weight: 800; flex-shrink: 0; }

.kitchen-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--brd);
  min-height: 380px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-card);
  background:
    radial-gradient(70% 80% at 30% 20%, rgba(25, 201, 126, 0.12), transparent 60%),
    radial-gradient(60% 70% at 80% 85%, rgba(232, 176, 75, 0.10), transparent 60%),
    linear-gradient(160deg, #f4f6f0, #eef0e9);
}
.kitchen-visual .big-emoji { font-size: 7rem; filter: drop-shadow(0 16px 28px rgba(30, 42, 36, 0.2)); animation: floatY 6.5s ease-in-out infinite; }
.kv-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kv-tag {
  position: absolute;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--brd);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(30, 42, 36, 0.12);
  animation: floatY 7s ease-in-out infinite;
}
.kv-tag-1 { top: 9%; left: 8%; }
.kv-tag-2 { top: 18%; right: 7%; animation-delay: 1.2s; }
.kv-tag-3 { bottom: 13%; left: 12%; animation-delay: 2s; }
.kv-tag-4 { bottom: 22%; right: 10%; animation-delay: 0.6s; }

/* Process rail */
.process { display: grid; gap: 0; position: relative; max-width: 820px; margin: 0 auto; }
.process::before {
  content: "";
  position: absolute;
  left: 27px; top: 30px; bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--green), var(--teal), rgba(29, 42, 35, 0.08));
}
.proc-step { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 22px 0; position: relative; }
.proc-dot {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(17, 154, 92, 0.45);
  font-size: 1.5rem;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(17, 154, 92, 0.14);
}
.proc-body { padding: 4px 0; display: grid; gap: 6px; }
.proc-body h4 { font-family: var(--font-display); font-size: 1.15rem; }
.proc-body p { color: var(--dim); font-size: 0.94rem; max-width: 58ch; }
.proc-body .spec { display: inline-flex; width: max-content; padding: 4px 12px; border-radius: 999px; background: rgba(17, 154, 92, 0.08); border: 1px solid rgba(17, 154, 92, 0.3); color: var(--green-2); font-size: 0.78rem; font-weight: 700; }

/* Sourcing */
.source-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.source { padding: 28px 26px; display: grid; gap: 10px; transition: transform 0.3s, border-color 0.3s; }
.source:hover { transform: translateY(-5px); border-color: rgba(17, 154, 92, 0.4); }
.source .s-emoji { font-size: 2rem; }
.source h4 { font-size: 1.05rem; }
.source p { font-size: 0.88rem; color: var(--dim); }
.source .s-loc { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); }

/* Transparency table */
.trans-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: var(--r-md); }
.trans-table th, .trans-table td { padding: 16px 20px; text-align: left; font-size: 0.94rem; border-bottom: 1px solid var(--brd); }
.trans-table th { background: rgba(29, 42, 35, 0.04); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.trans-table td:first-child { font-weight: 500; }
.trans-table .yes { color: var(--green-2); font-weight: 700; }
.trans-table .no { color: var(--coral); font-weight: 600; }
.trans-table tr:hover td { background: rgba(29, 42, 35, 0.02); }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }

.zone-panel { padding: clamp(28px, 4vw, 44px); display: grid; gap: 22px; }
.zone-map svg { width: 100%; height: auto; }
.zone-map .city-dot { fill: var(--green); }
.zone-map .city-pulse { fill: none; stroke: var(--green); stroke-width: 1.5; opacity: 0.55; animation: pulse 2.6s ease-out infinite; transform-origin: center; }
@keyframes pulse { 0% { transform: scale(0.4); opacity: 0.8; } 100% { transform: scale(2.4); opacity: 0; } }

.zip-check { display: grid; gap: 12px; }
.zip-row { display: flex; gap: 10px; }
.zip-row input {
  flex: 1;
  min-width: 0;
  width: 0;
  padding: 14px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--brd-2);
  outline: none;
  font-size: 1rem;
  letter-spacing: 0.08em;
}
.zip-row input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(17, 154, 92, 0.13); }
.zip-result { font-size: 0.94rem; min-height: 1.6em; font-weight: 600; }
.zip-result.ok { color: var(--green-2); }
.zip-result.soon { color: var(--amber); }
.zip-result.no { color: var(--coral); }

/* Forms */
.form-panel { padding: clamp(28px, 4vw, 44px); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.84rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  padding: 13px 17px;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px solid var(--brd-2);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(17, 154, 92, 0.12); }
.field .err { font-size: 0.78rem; color: var(--danger); display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .err { display: block; }

.form-success { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 30px 10px; }
.form-success .big { font-size: 3.4rem; }

/* FAQ accordion */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: rgba(17, 154, 92, 0.45); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  text-align: left;
  font-size: 1.04rem;
  font-weight: 600;
  font-family: var(--font-body);
}
.faq-q .chev { flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--brd-2); color: var(--green-2); transition: transform 0.35s ease, background 0.3s; }
.faq-item.open .chev { transform: rotate(45deg); background: rgba(17, 154, 92, 0.1); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-a-inner { padding: 0 26px 24px; color: var(--dim); font-size: 0.96rem; max-width: 68ch; }
.faq-a-inner a { color: var(--green-2); border-bottom: 1px dotted var(--green); }

/* ==========================================================================
   CHECKOUT
   ========================================================================== */
.checkout-wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 4vw, 52px); align-items: start; }

.co-steps { display: flex; gap: 8px; margin-bottom: 34px; }
.co-step-pill {
  flex: 1;
  text-align: center;
  padding: 11px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--brd);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--faint);
  transition: all 0.3s;
}
.co-step-pill.active { border-color: var(--green); color: var(--green-2); background: rgba(17, 154, 92, 0.08); }
.co-step-pill.done { color: var(--ink-2); }
.co-step-pill.done::before { content: "✓ "; color: var(--green); }

.co-panel { padding: clamp(26px, 4vw, 40px); display: none; gap: 18px; }
.co-panel.active { display: grid; }
.co-panel h2 { font-size: 1.5rem; }
.co-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 10px; }

.demo-note {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  background: rgba(217, 138, 31, 0.08);
  border: 1px dashed rgba(217, 138, 31, 0.45);
  font-size: 0.84rem;
  color: #a8690d;
}

.co-summary { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; display: grid; gap: 16px; }
.co-summary h3 { font-size: 1.2rem; }
.co-sum-items { display: grid; gap: 12px; max-height: 320px; overflow-y: auto; }
.co-sum-item { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; color: var(--ink-2); }
.co-sum-item .q { color: var(--faint); }

.success-panel { text-align: center; padding: clamp(48px, 8vw, 90px) 24px; display: grid; gap: 20px; justify-items: center; }
.success-panel .big { font-size: 4.5rem; animation: floatY 4s ease-in-out infinite; }

/* ==========================================================================
   ANIMATION / UTILITIES
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.65s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.75s; }

.hidden { display: none !important; }
.tc { text-align: center; }
.mt-lg { margin-top: clamp(36px, 5vw, 60px); }

/* Page hero (interior pages) */
.page-hero { padding: clamp(52px, 7vw, 92px) 0 clamp(28px, 4vw, 44px); text-align: center; }
.page-hero .sec-head { margin-inline: auto; justify-items: center; text-align: center; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1239px) {
  .nav-actions .btn { display: none; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-actions .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; margin-top: 16px; }
  .steps { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .checkout-wrap { grid-template-columns: 1fr; }
  .co-summary { position: static; }
}

@media (max-width: 600px) {
  .br-wide { display: none; }
  .plan-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .calc-compare { grid-template-columns: 1fr; }
  .chip { font-size: 0.74rem; padding: 7px 12px; }
  .announce { font-size: 0.76rem; }
  .hero-stats { gap: 18px; }
  .hero-stat strong { font-size: 1.2rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.15s !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  #particles { display: none; }
}

/* ====================================================================
   ✦ FUTURISTIC UI LAYER — deeper glass, gradient rings, soft glow, motion
   Light theme · appended overrides · no layout changes
   ==================================================================== */
:root {
  --ring-grad: linear-gradient(135deg, rgba(25,201,126,.7), rgba(15,158,150,.18) 45%, rgba(217,138,31,.5));
  --glass-grad: linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,255,255,.6));
}

/* — Crisper, deeper frosted glass — */
.glass, .p-card, .calc, .plan, .bowl-card, .btn-ghost, .hero-badge, .cart-drawer {
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
}
.glass {
  background: var(--glass-grad);
  border-color: rgba(255,255,255,.66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 18px 48px -16px rgba(30,42,36,.20);
}

/* — Living gradient + neon-soft glow on primary buttons — */
.btn-primary {
  background: linear-gradient(120deg, #1ed98a, #0fb5a5 50%, #15a85f);
  background-size: 220% 220%;
  box-shadow: 0 8px 24px -6px rgba(17,154,92,.5), inset 0 0 0 1px rgba(255,255,255,.3);
  animation: btnFlow 7s ease-in-out infinite;
}
@keyframes btnFlow { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn-primary:hover { box-shadow: 0 12px 38px -6px rgba(17,154,92,.6), 0 0 26px rgba(25,201,126,.5); }
.btn-ghost { background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.6)); }
.btn-ghost:hover { border-color: rgba(25,201,126,.7); box-shadow: 0 0 0 1px rgba(25,201,126,.4), 0 10px 26px -8px rgba(17,154,92,.3); }

/* — Header: glass + luminous underline on scroll — */
.site-header.scrolled {
  background: rgba(253,252,249,.8);
  border-bottom: 1px solid rgba(255,255,255,.6);
  box-shadow: inset 0 -1px 0 rgba(25,201,126,.22), 0 12px 30px -12px rgba(30,42,36,.18);
}

/* — Product cards: gradient-ring reveal on hover + image depth — */
.p-card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.74)); }
.p-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.4px;
  background: var(--ring-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s ease; pointer-events: none; z-index: 4;
}
.p-card:hover::before { opacity: 1; }
.p-card:hover { box-shadow: 0 26px 52px -18px rgba(30,42,36,.28), 0 0 38px -8px rgba(25,201,126,.24); }
.p-art::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.16) 0%, transparent 24%, transparent 56%, rgba(6,18,12,.30) 100%);
}

/* — Hero: ambient glow + glowing ring/halo on the bowl card — */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(38% 48% at 80% 36%, rgba(25,201,126,.12), transparent 70%);
}
.hero-grid { position: relative; z-index: 1; }
.bowl-card::after {
  content: ""; position: absolute; inset: -36px; z-index: -1;
  background: radial-gradient(50% 50% at 50% 42%, rgba(25,201,126,.28), rgba(15,158,150,.12) 46%, transparent 72%);
  filter: blur(20px); animation: floatY 7s ease-in-out infinite;
}
.bowl-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 32px; padding: 1.5px;
  background: var(--ring-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; z-index: 3; opacity: .85;
}

/* — Featured plan: glowing gradient border — */
.plan.featured { box-shadow: 0 24px 50px -18px rgba(17,154,92,.3), 0 0 44px -12px rgba(25,201,126,.3); }
.plan.featured::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: var(--ring-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

/* — Calculator result: slow rotating aurora behind the BIG live-metric card only
   (scoped to the direct child so it never clips the narrow compare card's text) — */
.calc-result > .calc-card.win { position: relative; overflow: hidden; }
.calc-result > .calc-card.win::after {
  content: ""; position: absolute; inset: -45%; z-index: 0; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(25,201,126,.18) 70deg, transparent 150deg, transparent 360deg);
  animation: auroraSpin 16s linear infinite;
}
.calc-result > .calc-card.win > * { position: relative; z-index: 1; }
@keyframes auroraSpin { to { transform: rotate(1turn); } }

/* — Ingredient chips & segmented toggles: subtle tech polish — */
.p-ing li { transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.p-card:hover .p-ing li { border-color: rgba(25,201,126,.28); }
.seg button.active, .bt-opt.active { box-shadow: 0 6px 18px -6px rgba(17,154,92,.5), inset 0 0 0 1px rgba(255,255,255,.3); }

/* — Crisp focus ring + custom scrollbar — */
:focus-visible { outline: 2px solid rgba(25,201,126,.7); outline-offset: 3px; border-radius: 4px; }
* { scrollbar-width: thin; scrollbar-color: rgba(17,154,92,.5) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(25,201,126,.7), rgba(15,158,150,.7)); border-radius: 999px; border: 3px solid var(--bg-0); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #19c97e, #0fb5a5); }

/* ====================================================================
   ✦ OLLIE-STYLE LAYER — hero offer, rating line, press strip,
   value-prop trio, obsession stats band (green palette)
   ==================================================================== */

/* — Hero offer pill — */
.offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(25,201,126,.16), rgba(217,138,31,.14));
  border: 1px solid rgba(17,154,92,.40);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .005em;
  color: var(--ink-2);
  box-shadow: 0 6px 18px -8px rgba(17,154,92,.40);
}
.offer-pill em { font-style: normal; color: var(--green-2); font-weight: 800; }

/* — Hero rating line — */
.rating-line {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 50ch;
  font-size: .92rem;
  color: var(--dim);
}
.rating-line .stars { color: var(--amber); letter-spacing: 2px; font-size: 1rem; flex-shrink: 0; }
.rating-line strong { color: var(--ink); }

/* — Press / credibility strip — */
.press-bar {
  border-block: 1px solid var(--brd);
  background: rgba(255,255,255,.50);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 18px 0;
}
.press-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 36px;
}
.press-item { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.press-icon { font-size: 1.1rem; line-height: 1; }

/* — Value-prop trio — */
.vtrio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vprop {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .35s, box-shadow .35s;
}
.vprop:hover {
  transform: translateY(-8px);
  border-color: rgba(17,154,92,.40);
  box-shadow: 0 24px 48px -18px rgba(30,42,36,.26), 0 0 34px -10px rgba(25,201,126,.22);
}
.vprop-art { position: relative; height: 200px; overflow: hidden; }
.vprop-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.vprop:hover .vprop-art img { transform: scale(1.06); }
.vprop-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(6,18,12,.22) 100%);
}
.vprop-emoji {
  position: absolute;
  bottom: -24px; left: 24px;
  z-index: 2;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  font-size: 1.7rem;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--brd);
  box-shadow: 0 8px 20px rgba(30,42,36,.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.vprop-body { padding: 36px 26px 30px; display: grid; gap: 10px; }
.vprop-body p { color: var(--dim); font-size: .95rem; }

/* — Obsession stats band — */
.obsession {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: var(--r-lg);
  border: 1px solid rgba(17,154,92,.30);
  padding: clamp(40px, 6vw, 76px) clamp(24px, 5vw, 56px);
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(25,201,126,.12), transparent 70%),
    rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
}
.obsession-head { max-width: 680px; margin: 0 auto; display: grid; gap: 14px; justify-items: center; }
.obsession-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.ob-stat { display: grid; gap: 8px; padding: 8px 6px; align-content: start; }
.ob-stat strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3.3rem); line-height: 1; color: var(--green-2); }
.ob-stat span { font-size: .88rem; color: var(--dim); line-height: 1.45; }
.ob-foot { margin-top: 30px; font-size: .78rem; color: var(--faint); }

/* — Ollie-layer responsive — */
@media (max-width: 960px) {
  .vtrio { grid-template-columns: 1fr; }
  .obsession-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
}
@media (max-width: 600px) {
  .press-inner { gap: 10px 22px; }
  .press-item { font-size: .82rem; }
  .rating-line { font-size: .86rem; }
}

/* ====================================================================
   ✦ KITCHEN AI — custom meal-plan modal
   ==================================================================== */
.ai-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 20px;
  background: rgba(20, 30, 25, .5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.ai-overlay.show { opacity: 1; pointer-events: auto; }
.ai-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: 92vh; overflow-y: auto;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-lg);
  background: rgba(253, 252, 249, .99);
  border: 1px solid var(--brd);
  box-shadow: 0 30px 80px -20px rgba(20, 30, 25, .45);
  transform: translateY(16px) scale(.98);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.ai-overlay.show .ai-modal { transform: none; }
.ai-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--brd-2); background: #fff;
  display: grid; place-items: center; font-size: 1.05rem;
  transition: border-color .25s, transform .25s; z-index: 2;
}
.ai-close:hover { border-color: var(--coral); transform: rotate(90deg); }
.ai-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--grad-accent); color: #053b26;
  font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 6px 18px -6px rgba(17, 154, 92, .5);
}
.ai-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.15; margin: 14px 0 6px; }
.ai-sub { color: var(--dim); font-size: .96rem; }
.ai-field { display: grid; gap: 9px; margin-top: 20px; }
.ai-field > label { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.ai-field input[type=text] {
  padding: 13px 16px; border-radius: var(--r-sm);
  background: #fff; border: 1px solid var(--brd-2); outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.ai-field input[type=text]:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(17, 154, 92, .12); }
.ai-seg {
  display: inline-grid; grid-template-columns: 1fr 1fr; gap: 6px;
  padding: 5px; border-radius: 999px;
  background: rgba(29, 42, 35, .05); border: 1px solid var(--brd-2);
  width: max-content;
}
.ai-seg button { padding: 9px 24px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--faint); transition: all .25s; }
.ai-seg button.active { background: var(--grad-accent); color: #053b26; box-shadow: 0 4px 12px -4px rgba(17, 154, 92, .4); }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-chip {
  padding: 9px 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--brd-2);
  font-size: .88rem; font-weight: 500; color: var(--ink-2);
  transition: all .2s;
}
.ai-chip:hover { border-color: var(--green); }
.ai-chip.active { background: rgba(17, 154, 92, .10); border-color: var(--green); color: var(--green-2); font-weight: 700; }
#aiGo, #aiResult .btn { margin-top: 24px; }
.ai-note { font-size: .74rem; color: var(--faint); text-align: center; margin-top: 12px; }

/* loading */
.ai-step[data-step="loading"] { padding: 40px 10px; display: grid; justify-items: center; gap: 20px; }
.ai-spinner {
  width: 64px; height: 64px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--green), var(--teal), rgba(17, 154, 92, .08));
  -webkit-mask: radial-gradient(farthest-side, transparent 62%, #000 64%);
  mask: radial-gradient(farthest-side, transparent 62%, #000 64%);
  animation: aiSpin 1s linear infinite;
}
@keyframes aiSpin { to { transform: rotate(1turn); } }
.ai-status { color: var(--dim); font-size: .98rem; min-height: 1.4em; text-align: center; font-weight: 500; }

/* result */
.ai-plan-name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.15; margin: 12px 0 6px; }
.ai-rationale { color: var(--dim); font-size: .95rem; margin-bottom: 18px; }
.ai-recs { display: grid; gap: 12px; }
.ai-rec { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--brd); }
.ai-rec-emoji { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; font-size: 1.5rem; border-radius: 12px; background: rgba(17, 154, 92, .09); }
.ai-rec-info { flex: 1; min-width: 0; }
.ai-rec-info strong { display: block; font-size: .96rem; line-height: 1.25; }
.ai-rec-info span { font-size: .8rem; color: var(--faint); }
.ai-rec-price { font-family: var(--font-display); color: var(--green-2); font-size: 1rem; white-space: nowrap; }
.ai-basecard { margin-top: 16px; padding: 14px 18px; border-radius: var(--r-sm); background: rgba(17, 154, 92, .06); border: 1px solid rgba(17, 154, 92, .3); font-size: .9rem; color: var(--ink-2); }
.ai-basecard strong { color: var(--green-2); }
.ai-restart { display: block; width: 100%; text-align: center; margin-top: 14px; font-size: .86rem; color: var(--faint); text-decoration: underline; background: none; }
.ai-restart:hover { color: var(--green-2); }
@media (max-width: 600px) { .ai-seg { width: 100%; } .ai-seg button { padding: 9px 8px; } }

/* ====================================================================
   ✦ MINI PORTION & CALORIE HELPER — floating homepage widget
   ==================================================================== */
.helper-fab {
  position: fixed;
  top: 124px;
  left: 20px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px 10px 11px;
  border-radius: 999px;
  background: rgba(253, 252, 249, 0.92);
  border: 1px solid var(--brd-2);
  box-shadow: 0 12px 30px -10px rgba(30, 42, 36, 0.32);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  animation: helperIn 0.5s 0.4s both;
}
.helper-fab:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 16px 34px -10px rgba(17, 154, 92, 0.42); }
.helper-fab:active { transform: translateY(0); }
@keyframes helperIn { from { opacity: 0; transform: translateY(-8px) scale(.96); } to { opacity: 1; transform: none; } }
.helper-fab-ico {
  position: relative;
  width: 30px; height: 30px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-accent);
  font-size: 0.98rem;
  box-shadow: 0 4px 12px -4px rgba(17, 154, 92, 0.5);
}
.helper-fab-ico::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--green);
  opacity: 0;
  animation: helperPulse 2.8s ease-out infinite;
}
@keyframes helperPulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

/* compact modal sizing (reuses .ai-overlay / .ai-modal) */
.helper-modal { width: min(440px, 100%); padding: clamp(22px, 4vw, 34px); }
.helper-modal input[type="range"] { margin-top: 4px; }
.helper-modal .seg button { padding: 9px 6px; font-size: 0.84rem; }
.helper-results { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.helper-results .calc-card { padding: 15px 17px; }
.helper-results .calc-card .value { font-size: 1.55rem; }
.helper-results .calc-card .sub-note { font-size: 0.78rem; }
.helper-modal .calc-rec { font-size: 0.86rem; padding: 12px 16px; }

@media (max-width: 600px) {
  .helper-fab { top: auto; bottom: 18px; left: 16px; padding: 12px; }
  .helper-fab-txt { display: none; }
  .helper-results { grid-template-columns: 1fr; }
}

/* ====================================================================
   ✦ SCROLL-FOR-MORE CUE — bottom-right "more below" arrow (every page)
   ==================================================================== */
.scroll-cue {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 40;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-accent);
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  box-shadow: 0 14px 34px -6px rgba(17, 154, 92, 0.6);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s, box-shadow 0.25s;
}
.scroll-cue.show { opacity: 1; transform: none; pointer-events: auto; }
.scroll-cue:hover { transform: translateY(-3px); box-shadow: 0 20px 42px -6px rgba(17, 154, 92, 0.72); }
.scroll-cue svg { width: 30px; height: 30px; animation: scrollBounce 1.5s ease-in-out infinite; }
@keyframes scrollBounce {
  0%, 100% { transform: translateY(-3px); }
  50% { transform: translateY(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue svg { animation: none; }
}
@media (max-width: 600px) {
  .scroll-cue { width: 56px; height: 56px; bottom: 20px; right: 16px; }
  .scroll-cue svg { width: 26px; height: 26px; }
}

/* ====================================================================
   ✦ REVIEWS PAGE — rating summary + masonry wall of reviews
   ==================================================================== */
.reviews-summary {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 1.4fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-lg);
}
.rs-score { display: grid; justify-items: center; text-align: center; gap: 6px; }
.rs-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(3.2rem, 7vw, 4.8rem); line-height: 1; color: var(--green-2); }
.rs-score .stars { color: var(--amber); letter-spacing: 4px; font-size: 1.15rem; }
.rs-count { font-size: 0.86rem; color: var(--dim); max-width: 24ch; }
.rs-bars { display: grid; gap: 9px; }
.rs-bar { display: grid; grid-template-columns: 28px 1fr 42px; align-items: center; gap: 12px; font-size: 0.84rem; color: var(--dim); }
.rs-bar i { display: block; height: 9px; border-radius: 999px; background: var(--glass-2); position: relative; overflow: hidden; }
.rs-bar i::after { content: ""; position: absolute; inset: 0; width: var(--w, 0%); border-radius: 999px; background: var(--grad-accent); }
.rs-bar b { font-weight: 700; color: var(--ink-2); text-align: right; }

.reviews-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.reviews-meta > div { text-align: center; padding: 22px 14px; border-radius: var(--r-md); background: rgba(17, 154, 92, 0.06); border: 1px solid rgba(17, 154, 92, 0.22); }
.reviews-meta strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: var(--green-2); line-height: 1; }
.reviews-meta span { font-size: 0.85rem; color: var(--dim); }

.reviews-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: clamp(34px, 5vw, 52px) 0 30px; }

.reviews-grid { column-count: 3; column-gap: 24px; }
.reviews-grid > .testi { break-inside: avoid; margin: 0 0 24px; }
.reviews-grid > .testi.is-hidden { display: none; }

@media (max-width: 980px) {
  .reviews-summary { grid-template-columns: 1fr; text-align: center; }
  .reviews-grid { column-count: 2; }
}
@media (max-width: 640px) {
  .reviews-meta { grid-template-columns: 1fr; }
  .reviews-grid { column-count: 1; }
}

/* ==========================================================================
   Write-a-review modal (reviews.html)
   ========================================================================== */
body.rv-lock { overflow: hidden; }

.rv-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 28px 16px;
  background: rgba(30, 42, 36, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.rv-overlay.open { opacity: 1; pointer-events: auto; }

.rv-card {
  position: relative;
  margin: auto;
  width: min(560px, 100%);
  padding: clamp(28px, 5vw, 42px);
  border-radius: 26px;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.3s ease;
}
.rv-overlay.open .rv-card { transform: none; }

.rv-card h3 { font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1.15; margin: 10px 0 8px; }
.rv-sub { font-size: 0.95rem; color: var(--dim); margin-bottom: 18px; }

.rv-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--brd-2);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-2);
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}
.rv-close:hover { color: var(--ink); border-color: var(--green); }

#rvForm { display: grid; gap: 14px; }
.rv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
@media (max-width: 540px) { .rv-row { grid-template-columns: 1fr; } }

.rv-field { display: grid; gap: 7px; text-align: left; }
.rv-field > span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.rv-field input[type="text"],
.rv-field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--brd-2);
  background: rgba(255, 255, 255, 0.86);
  font: inherit;
  color: var(--ink);
}
.rv-field textarea { resize: vertical; min-height: 96px; }
.rv-field input:focus,
.rv-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(17, 154, 92, 0.13);
}

.rv-species { display: flex; gap: 8px; }
.rv-species label { cursor: pointer; position: relative; }
.rv-species input { position: absolute; opacity: 0; pointer-events: none; }
.rv-species span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--brd-2);
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.rv-species input:checked + span {
  border-color: var(--green);
  background: rgba(17, 154, 92, 0.1);
  color: var(--green-2);
}
.rv-species input:focus-visible + span { box-shadow: 0 0 0 3px rgba(17, 154, 92, 0.2); }

.rv-stars { display: flex; gap: 2px; }
.rv-stars button {
  border: 0;
  background: none;
  padding: 4px 2px;
  font-size: 1.6rem;
  line-height: 1;
  color: #d8d3c6;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}
.rv-stars button.on { color: var(--amber); }
.rv-stars button:hover { transform: scale(1.15); }

.rv-note { font-size: 0.8rem; color: var(--faint); text-align: center; margin-top: 2px; }

#rvThanks { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 14px 0; }
#rvThanks[hidden] { display: none; }
.rv-thanks-paw { font-size: 2.6rem; }
#rvThanks p { color: var(--dim); max-width: 34ch; }

/* ==========================================================================
   Founder section (homepage)
   ========================================================================== */
.founder {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 26px;
}
.founder-avatar {
  flex-shrink: 0;
  width: clamp(120px, 16vw, 180px);
  height: clamp(120px, 16vw, 180px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: clamp(3rem, 6vw, 4.4rem);
  background: linear-gradient(135deg, rgba(25,201,126,.22), rgba(15,181,165,.22));
  border: 1px solid rgba(17,154,92,.25);
  overflow: hidden;
}
.founder-avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder-sign { margin-top: 16px; font-family: var(--font-display); font-size: 1.05rem; color: var(--green-2); }
@media (max-width: 640px) {
  .founder { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Legal / policy pages
   ========================================================================== */
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal-note {
  font-size: 0.9rem;
  color: var(--ink-2);
  background: rgba(17, 154, 92, 0.06);
  border: 1px solid rgba(17, 154, 92, 0.2);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  line-height: 1.6;
}
.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 8px;
}
.legal-toc a {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--brd-2);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.legal-toc a:hover { border-color: var(--green); color: var(--green-2); background: rgba(17, 154, 92, 0.08); }
.legal-doc h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 48px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--brd-2);
  scroll-margin-top: 110px;
}
.legal-doc h2:first-of-type { border-top: 0; padding-top: 0; }
.legal-doc h3 { font-size: 1.08rem; font-weight: 700; color: var(--ink); margin: 26px 0 8px; }
.legal-doc p, .legal-doc li { color: var(--ink-2); line-height: 1.7; }
.legal-doc p { margin-bottom: 12px; }
.legal-doc ul { padding-left: 22px; margin-bottom: 14px; display: grid; gap: 7px; }
.legal-doc a { color: var(--green-2); text-decoration: underline; text-underline-offset: 2px; }
.legal-highlight {
  background: rgba(217, 138, 31, 0.09);
  border: 1px solid rgba(217, 138, 31, 0.4);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  margin: 8px 0 14px;
}

/* ==========================================================================
   Checkout address autocomplete
   ========================================================================== */
.addr-field { position: relative; }

.addr-pop {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 6px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--brd-2);
  border-radius: 16px;
  box-shadow: 0 18px 44px -12px rgba(30, 42, 36, 0.25);
  max-height: 290px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
}
.addr-pop[hidden] { display: none; }

.addr-opt {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  padding: 11px 13px;
  border-radius: 11px;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  transition: background 0.15s;
}
.addr-opt:hover, .addr-opt.sel { background: rgba(17, 154, 92, 0.09); }
.addr-opt strong { display: block; font-size: 0.94rem; font-weight: 600; }
.addr-opt small { display: block; font-size: 0.8rem; color: var(--faint); }

.addr-hint { padding: 13px 15px; font-size: 0.86rem; color: var(--faint); }

.addr-note {
  padding: 13px 16px;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  line-height: 1.5;
}
.addr-note.ok { background: rgba(17, 154, 92, 0.09); border: 1px solid rgba(17, 154, 92, 0.35); color: var(--green-2); }
.addr-note.soon { background: rgba(217, 138, 31, 0.09); border: 1px dashed rgba(217, 138, 31, 0.45); color: #a8690d; }
.addr-note.no { background: rgba(200, 72, 72, 0.07); border: 1px solid rgba(200, 72, 72, 0.3); color: #b04a4a; }

/* Freshly posted review card highlight */
.testi.is-new {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(17, 154, 92, 0.35), 0 18px 44px -14px rgba(17, 154, 92, 0.4);
  animation: rvPop 0.5s ease;
}
@keyframes rvPop {
  from { transform: scale(0.96); opacity: 0.4; }
  to { transform: none; opacity: 1; }
}
