/* ==========================================================================
   BiteInsight Website — Pixel-perfect recreation of biteinsight.co.uk
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  --bg: #e2f1ee;
  --primary: #023432;
  --secondary: #00776f;
  --accent: #00c8b3;
  --green-apple: #3b9586;
  --tertiary: #aad4cd;
  --surface: #fff;
  --surface-tint: #f1f8f7;
  --stroke: #aad4cd;
  --dark: #002923;
  --font: 'Figtree', sans-serif;
  --font-gs: 'Google Sans', 'Figtree', sans-serif;
  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 16px;
  --radius-full: 999px;
  --shadow-card: 0px 24px 24px 0px rgba(68,71,112,0.05);
  --shadow-btn: 0px 7px 14px 0px rgba(132,161,159,0.19);
  --shadow-hero: 0px 24px 40px 0px rgba(119,177,168,0.2);
  --shadow-cta: 0px 24px 44px 0px rgba(2,52,50,0.25);
  --shadow-step: 0px 8px 8px 0px rgba(68,71,112,0.2);

  /* Typography — Desktop (default) */
  --h1-size: 64px;  --h1-lh: 72px;  --h1-ls: -1.28px;
  --h2-size: 54px;  --h2-lh: 66px;  --h2-ls: -1.08px;
  --h3-size: 36px;  --h3-lh: 42px;  --h3-ls: -0.72px;
  --h4-size: 20px;  --h4-lh: 26px;  --h4-ls: -0.2px;
  --h5-size: 18px;  --h5-lh: 24px;  --h5-ls: 0px;

  --body-xl-size: 30px;  --body-xl-lh: 42px;  --body-xl-ls: -0.3px;
  --body-lg-size: 24px;  --body-lg-lh: 36px;  --body-lg-ls: -0.24px;
  --body-size: 18px;     --body-lh: 30px;     --body-ls: -0.18px;
}

/* --- Preloader --- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  transition: opacity 0.5s ease, visibility 0s 0.5s;
}
.preloader.done {
  opacity: 0; visibility: hidden;
}
.preloader-lottie {
  width: 160px; height: 160px;
}

/* --- Skip Link (accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; font: inherit; cursor: pointer; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6,p { font-size: inherit; font-weight: inherit; margin: 0; }

/* --- Typography --- */
.font-light { font-weight: 300; }
.font-bold-italic { font-family: var(--font); font-weight: 700; font-style: normal; }
.text-muted { font-weight: 300; color: var(--secondary); }
.nowrap { white-space: nowrap; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font); font-weight: 700;
  font-size: 18px; line-height: 24px;
  padding: 16px 24px;
  border-radius: var(--radius-m);
  cursor: pointer; border: none;
  transition: all 0.3s;
  white-space: nowrap;
}
.btn-gradient {
  background: linear-gradient(180deg, #00c8b3 0%, #0fbba8 25%, #1eaf9d 50%, #3b9586 100%);
  color: #fff;
  box-shadow: var(--shadow-btn);
  text-shadow:
    0px 1px 2px rgba(1, 42, 37, 0.23),
    0px 3px 3px rgba(1, 42, 37, 0.20),
    0px 7px 4px rgba(1, 42, 37, 0.12),
    0px 12px 5px rgba(1, 42, 37, 0.03),
    0px 18px 5px rgba(1, 42, 37, 0);
}
.btn-gradient:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-white {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-btn);
}
.btn-white:hover { background: #f5f5f5; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 14px 22px;
}
.btn-outline:hover { background: rgba(2,52,50,0.05); }
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 14px 22px;
}
.btn-lg { font-size: 18px; line-height: 24px; }
.btn-full { width: 100%; }
.btn-app-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.app-store-icon { flex-shrink: 0; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 20px 20px;
  transition: all 0.3s;
}
.nav-bar {
  max-width: 1560px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 40px;
  border-radius: var(--radius-l);
  background: transparent;
  transition: all 0.3s;
}
.main-nav.scrolled .nav-bar {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
}
.main-nav.menu-open,
.main-nav.menu-open .nav-bar,
.main-nav.menu-open.scrolled .nav-bar {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transition: none !important;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { width: 216px; height: auto; }
.nav-links { display: flex; gap: 16px; align-items: center; }
.nav-link {
  font-family: var(--font); font-weight: 700;
  font-size: 16px; line-height: 20px;
  padding: 4px 8px;
  opacity: 0.7;
  transition: opacity 0.3s;
  color: var(--primary);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0px;
  height: 0.4em;
  background: var(--accent);
  transform: rotate(-2deg) scaleX(0);
  transform-origin: center;
  z-index: -1;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.nav-link:hover, .nav-link.active { opacity: 1; }
.nav-link.active::after {
  transform: rotate(-2deg) scaleX(1);
}
.nav-actions { display: flex; gap: 16px; align-items: center; }
.nav-btn { font-size: 18px; padding: 16px 24px; }
.nav-btn svg { width: 24px; height: 24px; flex-shrink: 0; }
/* Hamburger button */
.hamburger {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  width: 48px; height: 48px; padding: 0;
  background: rgba(255,255,255,0.3);
  border: 1px solid #fff;
  border-radius: var(--radius-m);
  box-shadow: 0px 12px 12px 0px rgba(68,71,112,0.1);
  cursor: pointer; transition: background 0.2s, box-shadow 0.2s;
}
.hamburger.is-active { box-shadow: none; }

/* Close button inside mobile menu — hidden by default, hamburger acts as toggle */
.mobile-menu-close { display: none; }
.hamburger:hover { background: rgba(255,255,255,0.5); }
.hamburger-line {
  display: block; width: 20px; height: 2px;
  background: #023432; border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.hamburger.is-active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.is-active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(2,52,50,0.3);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
}
.mobile-overlay.open { opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0s; }

/* Mobile menu panel */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 420px; background: white; z-index: 50;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.mobile-menu.open { transform: translateX(0); }

/* Menu body (scrollable content) */
.mobile-menu-body {
  flex: 1; padding-top: 148px; padding-bottom: 24px;
  overflow-y: auto; overflow-x: hidden; position: relative;
}
.mobile-menu-main {
  display: flex; flex-direction: column; gap: 24px;
  padding: 0 40px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-menu-main.slide-out {
  transform: translateX(-30px); opacity: 0; pointer-events: none;
}
.mobile-menu-section { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav-list { display: flex; flex-direction: column; gap: 4px; }

/* Nav items */
.mobile-nav-item {
  display: flex; align-items: center; gap: 16px;
  height: 54px; padding: 16px; border-radius: 12px;
  background: #e2f1ee; border: 1px solid #aad4cd;
  font-family: var(--font); font-weight: 700;
  font-size: 16px; line-height: 20px; letter-spacing: -0.32px;
  color: #023432; text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: pointer; position: relative; overflow: hidden;
  width: 100%; text-align: left;
}
.mobile-nav-item:hover { background: #d6ebe6; }
.mobile-nav-item.active { border: 2px solid #00c8b3; }
.mobile-nav-icon { width: 24px; height: 24px; flex-shrink: 0; }
.mobile-nav-chevron {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px;
}

/* Useful links label */
.mobile-menu-label {
  font-family: var(--font); font-weight: 300;
  font-size: var(--body-size); line-height: var(--body-lh); letter-spacing: var(--body-ls);
  color: #00776f;
}

/* CTA buttons */
.mobile-menu-actions { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu-cta {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #00c8b3 0%, #3b9586 100%);
  border: none; border-radius: 8px; padding: 16px 24px;
  font-family: var(--font); font-weight: 700;
  font-size: 16px; line-height: 20px; color: white;
  text-align: center; text-decoration: none;
  box-shadow: 0px 7px 14px 0px rgba(132,161,159,0.19);
  cursor: pointer; transition: opacity 0.2s;
}
.mobile-menu-cta:hover { opacity: 0.9; }
.mobile-menu-login {
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #023432; border-radius: 8px;
  height: 52px; padding: 16px 24px;
  font-family: var(--font); font-weight: 700;
  font-size: 16px; line-height: 20px; color: #023432;
  text-decoration: none; background: transparent;
  cursor: pointer; transition: background 0.2s;
}
.mobile-menu-login:hover { background: rgba(0,0,0,0.03); }
.mobile-login-icon { width: 32px; height: 32px; }

/* Policies sub-menu */
.mobile-menu-sub {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  padding: 100px 48px 0;
  transform: translateX(100%); opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  display: flex; flex-direction: column; gap: 16px;
}
.mobile-menu-sub.slide-in {
  transform: translateX(0); opacity: 1; pointer-events: auto;
}
.mobile-menu-back {
  display: flex; align-items: center; gap: 4px;
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--font); font-weight: 700;
  font-size: 16px; line-height: 1.5; color: #00776f; letter-spacing: -0.32px;
}
.mobile-menu-back svg { width: 20px; height: 20px; }
.mobile-menu-sub-title {
  font-family: var(--font); font-weight: 700;
  font-size: var(--h4-size); line-height: var(--h4-lh); letter-spacing: var(--h4-ls);
  color: #023432;
}

/* Menu footer — removed */

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 160px 0 0;
  position: relative;
  overflow: visible;
}
/* Reduced hero for inner pages (about, contact etc.) */
.hero--reduced {
  max-height: 1000px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1560px; margin: 0 auto;
  padding: 0 80px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0;
}
.hero-content { flex: 0 1 648px; padding: 80px 0; position: relative; z-index: 3; }
.hero-headline {
  position: relative;
  margin-bottom: 48px;
}
.hero-headline h1 {
  font-family: var(--font); font-weight: 700;
  font-size: 64px; line-height: 72px;
  letter-spacing: -2px;
  position: relative;
  text-wrap: balance;
}
.highlight-word {
  position: relative;
  display: inline-block;
}
.highlight-word::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: -1px;
  height: 0.45em;
  background: var(--accent);
  transform: rotate(-2deg);
  z-index: -1;
  border-radius: 2px;
}
.hero-cta-panel {
  background: var(--surface-tint);
  border: 1px solid var(--surface);
  border-radius: var(--radius-l);
  padding: 32px;
  box-shadow: var(--shadow-hero);
  display: flex; flex-direction: column; gap: 32px;
}
.hero-cta-text {
  font-family: var(--font);
  font-size: 24px; line-height: 36px;
  letter-spacing: -1px; color: var(--secondary);
}
.hero-cta-text .font-light { font-weight: 300; }
.hero-cta-text .font-bold-italic {
  font-weight: 700;
}
.hero-cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image-wrap {
  flex: 0 1 674px;
  position: relative;
  display: flex; align-items: flex-end; justify-content: flex-end;
  align-self: stretch;
}
.hero-bg {
  display: none;
}
.hero-app-img {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  z-index: 2;
  height: 100%; width: auto; max-width: none;
  border-radius: 24px 24px 0 0;
}

/* ==========================================================================
   How It Works
   ========================================================================== */
.how-it-works {
  background: var(--bg);
  padding: 0 0 80px;
  position: relative;
  z-index: 2;
  scroll-margin-top: 120px;
}
.how-it-works .section-inner {
  max-width: 1560px; margin: 0 auto;
  padding: 0 60px;
}
.how-it-works-panel {
  background: #e4f1ef;
  border: 1px solid var(--surface);
  border-radius: 16px;
  padding: 73px 74px;
  box-shadow:
    0px 14px 32px 0px rgba(86,138,130,0.1),
    0px 58px 58px 0px rgba(86,138,130,0.09),
    0px 130px 78px 0px rgba(86,138,130,0.05);
}
.how-it-works-panel .section-header h2 {
  font-family: var(--font); font-size: 36px; line-height: 42px;
  letter-spacing: -0.72px;
}
.how-it-works-panel .section-subtitle {
  font-size: 24px; line-height: 36px; letter-spacing: -0.5px;
}
.how-it-works-panel .step-text {
  border: 1px solid var(--surface);
  box-shadow:
    0px 5px 11px 0px rgba(141,180,173,0.1),
    0px 20px 20px 0px rgba(141,180,173,0.09),
    0px 45px 27px 0px rgba(141,180,173,0.05);
}
.how-it-works-panel .step-text h3 {
  font-family: var(--font); font-size: var(--h4-size); line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
}
.how-it-works-panel .step-text p {
  font-size: 18px; line-height: 30px; letter-spacing: 0;
}
.section-inner {
  max-width: 1560px; margin: 0 auto;
  padding: 0 80px;
}
.section-header { margin-bottom: 48px; }
.section-header--center { text-align: center; }
.section-header h2 {
  font-family: var(--font); font-weight: 700;
  font-size: 54px; line-height: 66px;
  letter-spacing: -2px;
  margin-bottom: 8px;
  text-wrap: balance;
}
.section-subtitle {
  font-family: var(--font); font-weight: 300;
  font-size: 24px; line-height: 36px;
  color: var(--secondary);
  letter-spacing: -1px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  display: flex; flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.215, 0.61, 0.355, 1.0);
  cursor: default;
}
.step-card:hover {
  transform: scale(1.06);
}
.step-card:hover .step-text {
  box-shadow:
    0px 12px 24px 0px rgba(141,180,173,0.2),
    0px 32px 40px 0px rgba(141,180,173,0.15),
    0px 64px 50px 0px rgba(141,180,173,0.1);
}
.step-illustration {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 180px;
  z-index: 2;
  margin-bottom: -54px;
}
.step-hero-img {
  height: 180px; width: auto;
}

/* Insight cards overlaid on phone */
.insight-card {
  position: absolute; z-index: 3;
  background: var(--surface);
  border-radius: var(--radius-m);
  padding: 8px 12px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-size: 12px;
  white-space: nowrap;
}
.insight-glycemic { top: 30%; right: -30px; }
.insight-sodium { bottom: 20%; right: -40px; }
.insight-icon { width: 24px; height: 24px; }
.insight-text { display: flex; flex-direction: column; gap: 2px; }
.insight-label { font-weight: 300; font-size: 11px; color: var(--primary); }
.insight-badge { font-weight: 700; font-size: 12px; border-radius: var(--radius-full); padding: 2px 8px; }
.insight-badge--green { background: rgba(0,200,179,0.15); color: var(--secondary); }
.insight-badge--amber { background: rgba(255,180,60,0.15); color: #b8860b; }
.insight-arrow { width: 16px; height: 16px; }

.step-text {
  background: var(--surface);
  border-radius: var(--radius-l);
  padding: 80px 32px 32px;
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  transition: box-shadow 0.35s cubic-bezier(0.215, 0.61, 0.355, 1.0);
}
.step-text h3 {
  font-family: var(--font); font-weight: 700;
  font-size: var(--h4-size); line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
  margin-bottom: 8px;
}
.step-text p {
  font-weight: 300;
  font-size: 18px; line-height: 30px;
  color: var(--secondary);
  letter-spacing: -1px;
}

/* ==========================================================================
   Features (Accordion / Carousel)
   ========================================================================== */
.features {
  background: var(--surface);
  padding: 80px 0;
  scroll-margin-top: 120px;
}
.features-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  min-height: 700px;
}
.features-phone {
  display: flex; flex-direction: column; align-items: center;
  justify-content: space-between;
  height: 688px;
}
.features-phone-frame {
  width: 310px; height: 632px;
  position: relative;
}
.features-phone-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.features-phone-img.active {
  opacity: 1;
}
.features-dots { display: flex; gap: 4px; align-items: center; }
.fdot {
  height: 10px; width: 16px;
  border-radius: var(--radius-full);
  background: var(--tertiary);
  transition: all 0.3s;
  cursor: pointer;
}
.fdot:hover { opacity: 0.8; }
.fdot.active { width: 48px; background: var(--primary); }

.features-accordion { display: flex; flex-direction: column; justify-content: center; gap: 48px; min-width: 400px; }
.features-intro h3 {
  font-family: var(--font); font-weight: 700;
  font-size: var(--h3-size); line-height: var(--h3-lh);
  letter-spacing: var(--h3-ls);
  margin-bottom: 8px;
}
.features-intro p {
  font-weight: 300;
  font-size: var(--body-lg-size); line-height: var(--body-lg-lh);
  color: var(--secondary);
  letter-spacing: var(--body-lg-ls);
}
.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-l);
  padding: 24px;
  box-shadow: var(--shadow-card);
  width: 100%; text-align: left;
  transition: opacity 0.3s, box-shadow 0.3s;
  cursor: pointer;
  opacity: 0.25;
  color: var(--primary);
}
.feature-item.active {
  opacity: 1;
}
.feature-item:hover { box-shadow: 0 24px 40px rgba(68,71,112,0.1); }
.feature-num {
  width: 38px; height: 38px; min-width: 38px;
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 700;
  font-size: var(--h4-size); line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
}
.feature-body { padding-top: 3px; flex: 1; }
.feature-body h4 {
  font-family: var(--font); font-weight: 700;
  font-size: var(--h4-size); line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
}
.feature-expand {
  max-height: 0; overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, margin-top 0.3s;
  margin-top: 0;
}
.feature-item.active .feature-expand {
  max-height: 200px;
  opacity: 1;
  margin-top: 16px;
}
.feature-sub {
  font-family: var(--font); font-weight: 700;
  font-size: var(--h5-size); line-height: var(--h5-lh);
  letter-spacing: var(--h5-ls);
  color: var(--secondary);
  margin-bottom: 4px;
}
.feature-desc {
  font-weight: 300;
  font-size: var(--body-size); line-height: var(--body-lh);
  letter-spacing: var(--body-ls);
}

/* ==========================================================================
   Who is Bite Insight for? — Personas
   ========================================================================== */
.personas {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.personas-inner {
  display: flex;
  align-items: stretch;
  gap: 40px;
  min-height: 700px;
  max-width: 1560px;
  margin: 0 auto;
  position: relative;
}
.personas-content {
  width: 50%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
  justify-content: center;
  padding: 120px 0 120px 80px;
  position: relative;
  z-index: 2;
}
.personas-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.personas-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: var(--h2-size);
  line-height: var(--h2-lh);
  letter-spacing: -2px;
  color: var(--primary);
}
.personas-subtitle {
  font-family: var(--font);
  font-weight: 300;
  font-size: var(--body-size);
  line-height: var(--body-lh);
  letter-spacing: -0.5px;
  color: var(--secondary);
}
/* Accordion cards */
.personas-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.persona-card {
  background: var(--bg);
  border: 2px solid var(--tertiary);
  border-radius: var(--radius-l);
  padding: 24px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  text-align: left;
  opacity: 0.25;
  transition: opacity 0.4s ease;
  font-family: var(--font);
}
.persona-card--active {
  opacity: 1;
}
.persona-card-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.persona-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.persona-card-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: var(--h4-size);
  line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
  color: var(--primary);
  margin: 0;
}
.persona-card-img {
  display: none;
  width: 100%;
  border-radius: var(--radius-m);
  object-fit: cover;
  height: 220px;
}
.persona-card-detail {
  display: none;
  flex-direction: column;
  gap: 8px;
}
.persona-card--active .persona-card-detail {
  display: flex;
}
.persona-quote {
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: var(--secondary);
  margin: 0;
}
.persona-desc {
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: var(--primary);
  margin: 0;
}
/* Right-side image */
.personas-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.personas-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.6s ease;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing {
  background: var(--bg);
  padding: 80px 0;
  scroll-margin-top: 120px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.pricing-card {
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.pricing-card--free {
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.pricing-card--plus {
  background: linear-gradient(151deg, var(--primary) 8%, var(--dark) 86%);
  color: #fff;
  border: 2px solid var(--green-apple);
  box-shadow: var(--shadow-card);
}
.pricing-card-top { padding: 48px 48px 0; }
.pricing-card-bottom { padding: 32px 48px 48px; }
.pricing-logo-wrap { margin-bottom: 6px; }
.pricing-logo { width: 216px; height: auto; }
.pricing-card--plus .pricing-logo { width: 253px; }
.pricing-logo--light { /* no filter — SVG has correct colours for dark bg */ }
.pricing-desc {
  font-weight: 300;
  font-size: var(--body-size); line-height: var(--body-lh);
  letter-spacing: var(--body-ls);
  margin-bottom: 32px;
}
.pricing-card--plus .pricing-desc { color: #fff; }
.pricing-includes-title {
  font-family: var(--font); font-weight: 700;
  font-size: var(--h4-size); line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
  margin-bottom: 16px;
}
.pricing-checklist-box {
  background: var(--bg);
  border-radius: var(--radius-l);
  padding: 32px 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.pricing-check-item {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 16px; line-height: 20px;
}
.pricing-check-icon { width: 20px; height: 20px; min-width: 20px; margin-top: 3px; }
.pricing-check-item strong { font-weight: 700; }
.pricing-check-item .text-muted {
  color: inherit; font-size: 14px;
  line-height: 1.5; letter-spacing: -0.14px;
}

/* Plus features */
.plus-features { display: flex; flex-direction: column; gap: 8px; }
.plus-feature-row {
  display: flex; align-items: center; gap: 8px;
  border-radius: var(--radius-l);
}
.plus-feature-pill {
  flex: 1;
  display: flex; align-items: center;
  min-height: 48px;
  background: rgba(0,119,111,0.25);
  border-radius: var(--radius-l);
  padding: 8px 16px;
  font-family: var(--font); font-weight: 700;
  font-size: 16px; line-height: 20px;
}
.plus-feature-icon { width: 40px; height: 40px; min-width: 40px; object-fit: contain; }
.plus-sub { font-weight: 300; font-size: 14px; line-height: 1.5; letter-spacing: -0.14px; color: #fff; }
.plus-circle {
  width: 40px; height: 40px; min-width: 40px;
  background: var(--accent);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 20px; color: #fff;
}

.pricing-price { margin-bottom: 32px; }
.pricing-card--free .price-big {
  font-family: var(--font); font-weight: 700;
  font-size: var(--h3-size); line-height: var(--h3-lh);
  letter-spacing: var(--h3-ls);
}
.pricing-card--plus .price-big {
  font-family: var(--font); font-weight: 700;
  font-size: var(--h2-size); line-height: var(--h2-lh);
  letter-spacing: var(--h2-ls);
}
.price-period {
  font-family: var(--font); font-weight: 700;
  font-size: var(--h4-size); line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
  vertical-align: baseline;
}
.price-note {
  font-weight: 300; font-size: 14px; line-height: 1.5;
  letter-spacing: -0.14px;
  margin-top: 4px;
}
.pricing-card--free .price-note { color: var(--secondary); }
.pricing-card--plus .price-note { color: #fff; }
.pricing-card .btn {
  background: linear-gradient(180deg, #00c8b3 0%, #0fbba8 25%, #1eaf9d 50%, #3b9586 100%);
  color: #fff;
  width: 350px; max-width: 100%;
  box-shadow: none;
}
.pricing-card .btn:hover { opacity: 0.92; transform: translateY(-1px); }

/* Pricing tabs — hidden on desktop, shown on mobile */
.pricing-tabs { display: none; }
.pricing-tabs-label {
  font-family: var(--font); font-weight: 300;
  font-size: var(--body-size); line-height: var(--body-lh);
  letter-spacing: var(--body-ls);
  color: var(--secondary);
  margin-bottom: 8px;
  display: block;
}
.pricing-tabs-row {
  display: flex;
  align-items: center;
}
.pricing-tab {
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font); font-weight: 700;
  font-size: 16px; line-height: 1.1;
  letter-spacing: -0.32px;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.pricing-tab--active {
  background: var(--green-apple);
  color: #fff;
}

/* ==========================================================================
   Food Quiz
   ========================================================================== */
.food-quiz {
  background: var(--dark);
  padding: 120px 0;
  min-height: 900px;
  display: flex;
  align-items: center;
}
.quiz-inner {
  max-width: 1411px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
}
/* Left heading */
.quiz-heading {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
}
.quiz-heading-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quiz-label {
  font-family: var(--font);
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.6px;
  color: var(--accent);
  margin: 0;
}
.quiz-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: -2px;
  color: #fff;
  margin: 0;
}
.quiz-subtitle {
  font-family: var(--font);
  font-weight: 300;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: -1px;
  color: var(--tertiary);
  margin: 0;
}
/* Right panel */
.quiz-panel {
  width: 60%;
  flex-shrink: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quiz-chosen {
  display: none;
  align-items: baseline;
  gap: 4px;
}
.quiz-chosen.visible { display: flex; }
.quiz-chosen-label {
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #fff;
}
.quiz-chosen-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: #b8dfd6;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.28px;
  color: var(--primary);
}
/* Card */
.quiz-card {
  background: var(--surface);
  border-radius: var(--radius-l);
  padding: 48px;
  box-shadow: 0px 16px 36px 0px rgba(0,0,0,0.12),
              0px 65px 65px 0px rgba(0,0,0,0.11),
              0px 146px 88px 0px rgba(0,0,0,0.06);
}
.quiz-card-header {
  margin-bottom: 32px;
}
.quiz-card-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quiz-card-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.6px;
  color: var(--primary);
  margin: 0;
}
.quiz-card-title--lg {
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.6px;
}
.quiz-card-desc {
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: var(--secondary);
  margin: 0;
}
/* Progress dots */
.quiz-progress-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
}
/* Step tracker dots — matches app animation */
.quiz-dot {
  width: 16px;
  height: 10px;
  border-radius: 5px;
  background: var(--tertiary);
  transition: width 0.5s cubic-bezier(0.2, 1.4, 0.4, 1),
              height 0.5s cubic-bezier(0.2, 1.4, 0.4, 1),
              border-radius 0.5s cubic-bezier(0.2, 1.4, 0.4, 1),
              background-color 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.quiz-dot--active {
  width: 48px;
  height: 10px;
  border-radius: 5px;
  background: var(--primary);
}
/* Done: morphs to circle, green fill with tick */
.quiz-dot--done {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: var(--green-apple);
}
.quiz-dot-tick {
  width: 10px;
  height: 10px;
  opacity: 0;
  transform: scale(0) rotate(-45deg);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.quiz-dot--done .quiz-dot-tick {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
/* Pop animation on completion */
@keyframes dotPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.quiz-dot--pop {
  animation: dotPop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
}
/* Round row */
.quiz-round-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.quiz-round-row .quiz-progress-dots {
  margin-top: 0;
}
.quiz-round-label {
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.36px;
  color: var(--secondary);
}
/* Condition picker */
.quiz-conditions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.quiz-condition {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--tertiary);
  border-radius: var(--radius-m);
  cursor: pointer;
  transition: all 0.2s;
}
.quiz-condition:hover {
  border-color: var(--secondary);
}
.quiz-condition.selected {
  border-color: var(--accent);
  background: #f0fdf4;
}
.quiz-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid var(--tertiary);
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
}
.quiz-condition.selected .quiz-checkbox {
  background: var(--accent);
  border-color: var(--accent);
}
.quiz-condition.selected .quiz-checkbox::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 7px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.quiz-condition-label {
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.32px;
  color: var(--primary);
  white-space: nowrap;
}
/* Food options */
.quiz-foods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}
.quiz-food {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--tertiary);
  border-radius: var(--radius-m);
  cursor: pointer;
  transition: all 0.3s;
  height: 220px;
  justify-content: flex-end;
}
.quiz-food:hover {
  border-color: var(--secondary);
  box-shadow: 0px 3px 7px 0px rgba(0,0,0,0.05);
}
.quiz-food.selected {
  border: 3px solid var(--accent);
  box-shadow: 0px 12px 12px 0px rgba(0,0,0,0.04),
              0px 3px 7px 0px rgba(0,0,0,0.05);
}
.quiz-food.faded {
  opacity: 0.2;
  cursor: pointer;
}
.quiz-food-img {
  flex: 1;
  width: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.quiz-food-label {
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.32px;
  color: var(--primary);
  white-space: nowrap;
}
.quiz-food-or {
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.36px;
  color: var(--secondary);
  flex-shrink: 0;
}
/* Confirm button */
.quiz-confirm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  background: var(--secondary);
  border: none;
  border-radius: var(--radius-m);
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0.25;
  text-decoration: none;
}
.quiz-confirm-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.quiz-confirm-btn--active,
.quiz-confirm-btn:not(:disabled) {
  opacity: 1;
}
.quiz-confirm-btn:not(:disabled):hover {
  opacity: 0.9;
}
/* Quiz card transition — simple crossfade */
.quiz-card-inner {
  transition: opacity 0.6s ease;
}
.quiz-card-inner.fading {
  opacity: 0;
}
.quiz-card-content {
  /* visible by default */
}
.quiz-card-content.hidden {
  display: none;
}
.quiz-reveal {
  display: none;
  flex-direction: column;
  gap: 32px;
}
.quiz-reveal.active {
  display: flex;
}
/* Chosen badge transition */
.quiz-chosen {
  transition: opacity 0.6s ease;
}
/* Results */
.quiz-step--result {
  text-align: center;
  margin: -48px;
}
.quiz-step--result .quiz-result-card {
  border-radius: var(--radius-l);
  background: var(--surface);
}
/* Score row (left heading area) */
.quiz-score-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.quiz-score-checks {
  display: flex;
  gap: 8px;
}
.quiz-score-check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quiz-score-check--correct {
  background: var(--green-apple);
}
.quiz-score-check--correct svg {
  width: 18px;
  height: 18px;
}
.quiz-score-check--wrong {
  background: #ff3f42;
}
.quiz-score-check--wrong svg {
  width: 14px;
  height: 14px;
}
.quiz-score-text {
  font-family: var(--font);
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.6px;
  color: #fff;
}
/* Result card */
.quiz-result-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px;
  flex: 1;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-l);
  box-shadow: 0px 16px 36px 0px rgba(0,0,0,0.12),
              0px 65px 65px 0px rgba(0,0,0,0.11);
  gap: 0;
}
.quiz-result-logo {
  flex-shrink: 0;
  margin-bottom: 4px;
}
.quiz-result-logo-img {
  height: 46px;
  width: 184px;
  object-fit: contain;
}
.quiz-result-tagline {
  font-family: var(--font);
  font-weight: 700;
  font-size: var(--h3-size);
  line-height: var(--h3-lh);
  letter-spacing: -0.48px;
  color: var(--primary);
  text-align: center;
  margin: 0;
  flex-shrink: 0;
}
.quiz-result-phone-wrap {
  flex: 1;
  width: 100%;
  background: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  margin-top: 32px;
  overflow: hidden;
  min-height: 0;
}
.quiz-result-phone {
  width: 244px;
  max-height: 400px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.quiz-result-phone-img {
  width: 100%;
  height: auto;
  display: block;
}
/* Staggered progressive load */
.quiz-result-stagger {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.quiz-result-stagger.visible {
  opacity: 1;
  transform: translateY(0);
}
.quiz-result-stagger[data-stagger="1"] { transition-delay: 0s; }
.quiz-result-stagger[data-stagger="2"] { transition-delay: 0.15s; }
.quiz-result-stagger[data-stagger="3"] { transition-delay: 0.3s; }
.quiz-result-stagger[data-stagger="4"] { transition-delay: 0.5s; }
.quiz-result-phone-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  z-index: 1;
}
.quiz-result-actions {
  display: flex;
  width: 100%;
  margin-top: 0;
  flex-shrink: 0;
  padding-top: 32px;
}
.quiz-result-download {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 16px 24px;
  background: linear-gradient(180deg, #00c8b3 0%, #3b9586 100%);
  border-radius: var(--radius-m);
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.3s;
}
.quiz-result-download:hover {
  opacity: 0.9;
}
@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes quizRevealIn {
  0% { opacity: 0; transform: scale(0.96) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.quiz-step { animation: quizFadeIn 0.4s ease; }
/* Reveal panel layout — handled by transition classes above */
.quiz-reveal-body {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex: 1;
}
.quiz-reveal--chose-b .quiz-reveal-body {
  flex-direction: row-reverse;
}
/* Impact panel sits under feedback, not full width */
.quiz-reveal-feedback-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
}
.quiz-reveal-feedback {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.quiz-reveal-status-icon { display: none; }
.quiz-reveal--correct .quiz-reveal-status-icon--correct { display: block; }
.quiz-reveal--wrong .quiz-reveal-status-icon--wrong { display: block; }
.quiz-reveal-heading {
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.36px;
  color: var(--primary);
  margin: 0;
}
.quiz-reveal-text {
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: var(--secondary);
  margin: 0;
}
/* Answer food card in reveal */
.quiz-reveal-answer {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 3px solid var(--accent);
  border-radius: var(--radius-m);
  height: 280px;
  justify-content: flex-end;
  box-shadow: 0px 12px 12px 0px rgba(0,0,0,0.04),
              0px 3px 7px 0px rgba(0,0,0,0.05);
}
.quiz-reveal-answer-img {
  flex: 1;
  width: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.quiz-reveal-answer-label {
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.32px;
  color: var(--primary);
  white-space: nowrap;
}
.quiz-reveal-answer-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 6px;
  background: var(--primary);
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.36px;
  color: #fff;
  text-shadow: 0px 1.4px 2.9px rgba(0,0,0,0.29);
}
/* Impact panel in reveal */
.quiz-reveal-impact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 21px;
  background: var(--surface);
  border: 0.7px solid var(--tertiary);
  border-radius: 6px;
  box-shadow: 0px 3px 7px 0px rgba(63,105,98,0.1),
              0px 11px 11px 0px rgba(63,105,98,0.09);
}
.quiz-reveal-impact-icon {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}
.quiz-reveal-impact-label {
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.36px;
  color: var(--primary);
  flex: 1;
  white-space: nowrap;
}
.quiz-reveal-impact-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 6px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.28px;
  color: #fff;
  text-shadow: 0px 1.4px 2.9px rgba(0,0,0,0.29);
}
.quiz-reveal-impact-badge--low { background: #009a1f; }
.quiz-reveal-impact-badge--moderate { background: #eab308; }
.quiz-reveal-impact-badge--high { background: #ff8736; }
.quiz-reveal-impact-badge--very-high { background: #ff3f42; }

/* ==========================================================================
   Testimonials — Marquee
   ========================================================================== */
.testimonials {
  background: var(--bg);
  padding: 80px 0 0;
  overflow: hidden;
  scroll-margin-top: 120px;
}
.testimonials .section-inner { padding: 0 80px; margin-bottom: 48px; }
.marquee-container {
  display: flex; overflow: hidden;
  width: 100%;
  margin-bottom: 32px;
  padding: 24px 0;
  margin-top: -24px;
}
.marquee-track {
  display: flex; gap: 32px;
  flex-shrink: 0; min-width: 100%;
  animation: marquee-scroll 80s linear infinite;
  padding-right: 32px;
}
.marquee-track--reverse {
  animation: marquee-scroll-reverse 80s linear infinite;
}
.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@keyframes marquee-scroll-reverse {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

/* Testimonial Card */
.testimonial-card {
  flex-shrink: 0;
  width: 511px;
  background: var(--surface);
  border: 1px solid #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.35s cubic-bezier(0.215, 0.61, 0.355, 1),
              box-shadow 0.35s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
}
.testimonial-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.testimonial-quote {
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: var(--primary);
  flex: 1;
}
.testimonial-stars-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow: hidden;
}
.testimonial-stars {
  width: 57px;
  height: 20px;
  flex-shrink: 0;
}
.testimonial-line {
  flex: 1;
  height: 2px;
  min-width: 0;
  overflow: hidden;
}
.testimonial-author {
  display: flex;
  gap: 12px;
  align-items: center;
}
.testimonial-avatar {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: var(--radius-full);
  background: var(--green-apple);
  border: 3px solid var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  color: #fff;
  letter-spacing: -0.36px;
  box-shadow: 0px 8px 8px -2px rgba(68,71,112,0.2);
}
.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.testimonial-name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 4px;
}
.testimonial-role {
  font-family: var(--font);
  font-weight: 300;
  font-size: 14px;
  line-height: 1;
  color: var(--secondary);
  letter-spacing: -0.14px;
  margin-bottom: 8px;
}
.testimonial-tags {
  display: flex;
  gap: 4px;
}
.diet-tag {
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: -0.26px;
  color: var(--primary);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  text-align: center;
}
.diet-tag--diabetic { background: #b8d828; }
.diet-tag--keto { background: #ffa569; }
.diet-tag--allergy { background: #ff8a8a; }
.diet-tag--plant { background: #7dd87d; }
.diet-tag--vegan { background: #a0e6a0; }
.diet-tag--protein { background: #8ac4ff; }
.diet-tag--fitness { background: #ffcf5c; }
.diet-tag--gf { background: #d4a0ff; }
.diet-tag--df { background: #88d8e0; }
.diet-tag--lowsugar { background: #f0c890; }
.testimonial-avatar--img {
  object-fit: cover;
  border-radius: var(--radius-full);
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}
.cta-plate {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}
.cta-plate--left { margin-right: -98px; }
.cta-plate--right { margin-left: -98px; }
.cta-plate-img {
  width: 287px;
  height: 287px;
  object-fit: contain;
  filter: drop-shadow(-4px 4px 13px rgba(64,84,80,0.18));
}
.cta-card {
  flex: 1;
  max-width: 1560px;
  background: var(--primary);
  border-radius: var(--radius-l);
  padding: 48px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-cta);
  position: relative;
  z-index: 3;
}
.cta-card h2 {
  font-family: var(--font); font-weight: 700;
  font-size: 54px; line-height: 66px;
  letter-spacing: -2px;
  color: #fff; margin-bottom: 24px;
  text-wrap: balance;
}
.cta-card p {
  font-weight: 300; font-size: 24px; line-height: 36px;
  letter-spacing: -0.5px;
  color: var(--tertiary); margin-bottom: 24px;
}
.cta-card .btn {
  width: 350px; max-width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--surface);
  padding: 300px 40px 120px;
  margin-top: -150px;
  position: relative;
  z-index: 1;
}
/* Tight footer — no CTA overlap offset. Use on content-heavy template pages. */
.site-footer.footer-tight {
  padding-top: 80px;
  margin-top: 0;
}
.footer-inner {
  max-width: 1560px; margin: 0 auto;
  padding: 0 40px;
  display: flex; flex-direction: column; gap: 48px;
}
.footer-divider { width: 100%; height: 1px; opacity: 0.4; }
.footer-grid {
  display: flex; gap: 32px;
}
.footer-about { flex: 0 0 620px; padding-right: 109px; }
.footer-logo-wrap { margin-bottom: 32px; }
.footer-logo-img { width: 216px; }
.footer-about-text {
  font-weight: 300; font-size: 16px; line-height: 24px;
}
.footer-links-col {
  display: flex; flex-direction: column; gap: 16px;
  width: 294px; flex-shrink: 0;
}
.footer-link {
  font-family: var(--font); font-weight: 700;
  font-size: 16px; line-height: 20px;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--secondary); }
.footer-link--active { color: var(--primary); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: flex; }
.footer-social img { width: 20px; height: 20px; }
.footer-disclaimer {
  font-weight: 300; font-size: 14px; line-height: 1.5;
  letter-spacing: -0.14px;
}
.footer-bottom {
  display: flex; justify-content: space-between;
  font-weight: 300; font-size: 14px; line-height: 1.5;
  letter-spacing: -0.14px;
}
.footer-bottom a { text-decoration: underline; }

/* ==========================================================================
   Animations
   ========================================================================== */

/* Hero fade in */
.animate-fade-in {
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.215, 0.61, 0.355, 1.0);
}
.animate-fade-in.visible { opacity: 1; }

/* Hero image slide up */
.animate-slide-up {
  opacity: 0; transform: translateY(70px);
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1.0) 0.2s,
              transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1.0) 0.2s;
}
.animate-slide-up.visible { opacity: 1; transform: translateY(0); }

/* Hero background */
.animate-bg-up {
  opacity: 0; transform: translateY(150px);
  transition: opacity 0.6s cubic-bezier(0.215, 0.61, 0.355, 1.0),
              transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1.0);
}
.animate-bg-up.visible { opacity: 0.1; transform: translateY(0); }

/* ---- Scroll-reveal: Fade Up ---- */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.215, 0.61, 0.355, 1),
              transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Scroll-reveal: Fade In (opacity only) ---- */
.reveal-fade-in {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-fade-in.visible {
  opacity: 1;
}

/* ---- Scroll-reveal: Slide Left (enters from right) ---- */
.reveal-slide-left {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s cubic-bezier(0.215, 0.61, 0.355, 1),
              transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Scroll-reveal: Slide Right (enters from left) ---- */
.reveal-slide-right {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s cubic-bezier(0.215, 0.61, 0.355, 1),
              transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Scroll-reveal: Scale Up ---- */
.reveal-scale-up {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.215, 0.61, 0.355, 1),
              transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-scale-up.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal-fade-up,
  .reveal-fade-in,
  .reveal-slide-left,
  .reveal-slide-right,
  .reveal-scale-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Responsive — Tablet (960–1279px)
   ========================================================================== */
@media (max-width: 1279px) {
  .main-nav { padding: 16px 24px; }
  .nav-bar { padding: 24px 36px; }
  .nav-logo-img { width: 180px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { width: 462px; }
  .mobile-menu-actions { display: none; }
  .mobile-menu-sub { padding: 148px 40px 0; overflow-y: auto; }
  .hero { padding-top: 200px; }
  .hero-inner {
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
    gap: 60px;
  }
  .hero-content {
    flex: 1 1 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    text-align: center;
  }
  .hero-headline { margin-bottom: 0; }
  .hero-headline h1 {
    font-size: 54px; line-height: 66px; letter-spacing: -2px;
    max-width: 560px;
    text-align: center;
  }
  .hero-cta-panel {
    background: var(--surface-tint);
    max-width: 666px;
    width: 100%;
  }
  .hero-cta-text { text-align: center; }
  .hero-cta-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-image-wrap {
    flex: none;
    width: 100%;
    max-width: 650px;
    aspect-ratio: auto;
    align-self: center;
    justify-content: center;
    align-items: flex-end;
  }
  .hero-app-img {
    position: relative;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    max-width: 650px;
    border-radius: 0;
  }
  .section-inner { padding: 0 48px; }
  .section-header h2 { font-size: 36px; line-height: 42px; letter-spacing: -2px; }
  .section-subtitle { font-size: 18px; line-height: 30px; letter-spacing: -1px; }
  .how-it-works .section-inner { padding: 0 24px; }
  .how-it-works-panel {
    padding: 48px 24px;
    box-shadow: 0px 24px 24px 0px rgba(68,71,112,0.05);
  }
  .how-it-works-panel .section-header { margin-bottom: 32px; }
  .how-it-works-panel .section-header h2 { font-size: 36px; line-height: 42px; letter-spacing: -0.72px; }
  .how-it-works-panel .section-subtitle { font-size: 18px; line-height: 30px; letter-spacing: -0.5px; }
  .how-it-works-panel .step-text {
    box-shadow: 0px 24px 24px 0px rgba(2,52,50,0.05);
  }
  .how-it-works-panel .step-text h3 { font-size: var(--h4-size); line-height: var(--h4-lh); letter-spacing: var(--h4-ls); }
  .how-it-works-panel .step-text p { font-size: 16px; line-height: 24px; letter-spacing: 0; }
  .steps { gap: 24px; }
  .step-text { display: flex; flex-direction: column; gap: 16px; padding: 80px 24px 32px; }
  .step-text h3 { font-size: var(--h4-size); line-height: var(--h4-lh); letter-spacing: var(--h4-ls); margin-bottom: 0; }
  .step-text p { font-size: 16px; line-height: 24px; letter-spacing: 0; }
  .features { padding: 80px 48px; }
  .features-phone { height: auto; gap: 24px; justify-content: flex-start; }
  .features-phone-frame { width: 310px; height: 632px; }
  .features-accordion { min-width: 340px; }
  .site-footer { padding-left: 24px; padding-right: 24px; }
  .footer-inner { padding: 0 24px; }
  .footer-about { flex: 0 0 400px; padding-right: 40px; }
  .footer-links-col { width: auto; flex: 1; }
  .pricing { padding: 80px 0; }
  .pricing .section-inner { padding: 0 48px; }
  .pricing-desc { font-size: var(--body-size); line-height: var(--body-lh); letter-spacing: var(--body-ls); }
  .pricing-includes-title { font-size: var(--h4-size); line-height: var(--h4-lh); letter-spacing: var(--h4-ls); }
  .pricing-card--free .price-big { font-size: var(--h3-size); line-height: var(--h3-lh); letter-spacing: var(--h3-ls); }
  .pricing-card--plus .price-big { font-size: var(--h2-size); line-height: var(--h2-lh); letter-spacing: var(--h2-ls); }
  .price-period { font-size: var(--h4-size); line-height: var(--h4-lh); letter-spacing: var(--h4-ls); }
  .cta-banner { padding: 0 24px; }
  .cta-plate--left { margin-right: -70px; }
  .cta-plate--right { margin-left: -70px; }
  .cta-plate-img { width: 220px; height: 220px; }
  .cta-card { padding: 48px 40px; }
  /* Quiz — stacked layout on tablet */
  .food-quiz { min-height: auto; }
  .quiz-inner { flex-direction: column; padding: 0 48px; gap: 32px; min-height: auto; }
  .quiz-step--result { margin: 0; }
  .quiz-heading { text-align: center; }
  .quiz-panel { width: 100%; max-width: 560px; margin: 0 auto; }
  .quiz-reveal-body,
  .quiz-reveal--chose-b .quiz-reveal-body { flex-direction: column; gap: 24px; }
  .quiz-reveal-answer {
    flex-direction: row;
    width: 100%;
    height: auto;
    padding: 8px;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    border-radius: var(--radius-m);
  }
  .quiz-reveal-answer-img {
    width: 90px;
    height: 90px;
    min-width: 90px;
    flex: none;
    border-radius: 8px;
  }
  .quiz-reveal-answer-label {
    white-space: normal;
    flex: 1;
    min-width: 0;
  }
  .quiz-reveal-answer-score {
    position: static;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 24px;
  }
  .quiz-reveal-feedback-wrap { width: 100%; gap: 16px; }
}

/* ==========================================================================
   Responsive — Mobile (<960px)
   ========================================================================== */
@media (max-width: 690px) {
  :root {
    --h1-size: 48px;  --h1-lh: 60px;  --h1-ls: -0.96px;
    --h2-size: 30px;  --h2-lh: 36px;  --h2-ls: -0.6px;
    --h3-size: 24px;  --h3-lh: 30px;  --h3-ls: -0.48px;
    --h4-size: 18px;  --h4-lh: 24px;  --h4-ls: -0.36px;
    --h5-size: 16px;  --h5-lh: 20px;  --h5-ls: 0px;

    --body-xl-size: 24px;  --body-xl-lh: 36px;  --body-xl-ls: -0.24px;
    --body-lg-size: 18px;  --body-lg-lh: 30px;  --body-lg-ls: -0.18px;
    --body-size: 16px;     --body-lh: 24px;     --body-ls: -0.16px;
  }
  .mobile-menu { width: 100%; }
  .mobile-menu-actions { display: flex; }
  .nav-actions .btn { display: none; }
  .main-nav { padding: 8px 16px; }
  .nav-bar { padding: 16px 16px; }
  .nav-logo-img { width: 150px; }
  .mobile-menu-main { padding: 0 32px; }
  .mobile-menu-body { padding-top: 120px; }
  .mobile-menu-sub { padding-left: 32px; padding-right: 32px; padding-top: 120px; }

  .hero { padding-top: 160px; min-height: auto; }
  .hero-inner {
    padding: 0 16px;
    gap: 32px;
  }
  .hero-headline h1 {
    font-size: 48px; line-height: 60px; letter-spacing: -2px;
    max-width: 362px;
  }
  .hero-cta-panel {
    max-width: 100%;
    padding: 24px;
    gap: 16px;
  }
  .hero-cta-text { font-size: 18px; line-height: 30px; letter-spacing: -1px; }
  .hero-cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-buttons .btn { width: 100%; }
  .hero-image-wrap {
    max-width: 280px;
    aspect-ratio: auto;
    align-self: center;
  }
  .hero-app-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 0;
  }

  .how-it-works { padding: 0 0 80px; }
  .section-inner { padding: 0 24px; }
  .section-header h2 { font-size: 30px; line-height: 36px; letter-spacing: -0.6px; }
  .section-subtitle { font-size: 18px; line-height: 30px; letter-spacing: -0.5px; }
  .how-it-works-panel {
    padding: 40px 20px;
    box-shadow: 0px 24px 24px 0px rgba(68,71,112,0.05);
  }
  .how-it-works-panel .section-header { margin-bottom: 32px; }
  .how-it-works-panel .section-header h2 { font-size: 30px; line-height: 36px; letter-spacing: -0.6px; }
  .how-it-works-panel .section-subtitle { font-size: 18px; line-height: 30px; letter-spacing: -0.5px; }
  .how-it-works-panel .step-text {
    box-shadow: 0px 24px 24px 0px rgba(2,52,50,0.05);
  }
  .how-it-works-panel .step-text h3 { font-size: var(--h4-size); line-height: var(--h4-lh); letter-spacing: var(--h4-ls); }
  .how-it-works-panel .step-text p { font-size: 14px; line-height: 1.5; letter-spacing: -0.14px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step-card:hover { transform: none; }
  .step-card:nth-child(1) .step-illustration,
  .step-card:nth-child(3) .step-illustration { min-height: auto; }
  .step-card:nth-child(1) .step-hero-img,
  .step-card:nth-child(3) .step-hero-img { height: 100px; }
  .step-card:nth-child(2) .step-illustration { min-height: 180px; }
  .step-text { padding: 80px 32px 32px; gap: 8px; display: flex; flex-direction: column; }
  .step-text h3 { font-size: var(--h4-size); line-height: var(--h4-lh); letter-spacing: var(--h4-ls); margin-bottom: 0; }
  .step-text p { font-size: 14px; line-height: 1.5; letter-spacing: -0.14px; }

  .features { padding: 80px 16px; }
  .features-layout { grid-template-columns: 1fr; justify-items: center; min-height: auto; gap: 48px; }
  .features-phone { order: -1; position: static; height: auto; gap: 24px; justify-content: flex-start; }
  .features-phone-frame { width: 310px; height: 632px; }
  .features-accordion { min-width: 0; width: 100%; }

  .pricing { padding: 60px 0; }
  .pricing .section-inner { padding: 0 16px; }
  .pricing-tabs { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 16px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { display: none; }
  .pricing-card.pricing-card--visible { display: flex; }
  .pricing-card-top { padding: 32px 24px 0; }
  .pricing-card-bottom { padding: 24px 24px 32px; }
  .pricing-desc { font-size: var(--body-size); line-height: var(--body-lh); letter-spacing: var(--body-ls); margin-bottom: 24px; }
  .pricing-includes-title { font-size: var(--h4-size); line-height: var(--h4-lh); letter-spacing: var(--h4-ls); }
  .pricing-checklist-box { padding: 24px 16px; gap: 12px; }
  .pricing-card--free .price-big { font-size: var(--h3-size); line-height: var(--h3-lh); letter-spacing: var(--h3-ls); }
  .pricing-card--plus .price-big { font-size: var(--h2-size); line-height: var(--h2-lh); letter-spacing: var(--h2-ls); }
  .price-period { font-size: var(--h4-size); line-height: var(--h4-lh); letter-spacing: var(--h4-ls); }
  .pricing-price { margin-bottom: 24px; }
  .pricing-card .btn { width: 100%; }

  .testimonials { padding: 60px 0 0; }
  .testimonials .section-inner { padding: 0 24px; }
  .testimonial-card { width: 300px; padding: 24px; }
  .testimonial-avatar { width: 64px; height: 64px; min-width: 64px; font-size: 18px; border-width: 3px; }

  .cta-section { padding: 60px 0 0; }
  .cta-plate { display: none; }
  .cta-banner { padding: 0 24px; }
  .cta-card { padding: 40px 24px; }
  .cta-card h2 { font-size: 30px; line-height: 36px; letter-spacing: -2px; }
  .cta-card .btn { width: 100%; }

  .site-footer { padding: 200px 16px 60px; margin-top: -120px; }
  .site-footer.footer-tight { padding-top: 60px; margin-top: 0; }
  .footer-inner { padding: 0 16px; }
  .footer-grid { flex-direction: column; gap: 32px; }
  .footer-about { flex: 0 0 auto; padding-right: 0; }
  .footer-links-col { width: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  /* Personas — mobile */
  .personas-inner { flex-direction: column; min-height: auto; gap: 0; }
  .personas-content { width: 100%; padding: 60px 24px; }
  .personas-image { display: none; }
  .persona-card-img { display: block; }
  /* Quiz — mobile layout (moved from 480px) */
  .food-quiz { padding: 48px 0; min-height: auto; }
  .quiz-inner { flex-direction: column; padding: 0 24px; gap: 32px; min-height: auto; }
  .quiz-heading { text-align: center; }
  .quiz-title { font-size: 36px; line-height: 42px; }
  .quiz-subtitle { font-size: 18px; line-height: 28px; }
  .quiz-panel { width: 100%; }
  .quiz-card { padding: 24px; }
  .quiz-card-title--lg { font-size: 24px; line-height: 30px; }
  .quiz-foods {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    margin-bottom: 24px;
  }
  .quiz-food {
    flex: none;
    flex-direction: row;
    width: 100%;
    height: auto;
    padding: 0;
    gap: 0;
    align-items: center;
    justify-content: flex-start;
    border-radius: var(--radius-m);
    box-shadow: 0px 3px 7px 0px rgba(0,0,0,0.05);
  }
  .quiz-food-img {
    width: 90px;
    height: 90px;
    min-width: 90px;
    flex: none;
    border-radius: 8px;
  }
  .quiz-food-label { font-size: 18px; line-height: 24px; letter-spacing: -0.36px; }
  .quiz-food-or { font-size: 18px; line-height: 24px; letter-spacing: -0.36px; text-align: center; width: 100%; }
  .quiz-reveal-body,
  .quiz-reveal--chose-b .quiz-reveal-body { flex-direction: column; gap: 24px; }
  .quiz-reveal-answer {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    height: auto;
    padding: 0;
    gap: 0;
    align-items: center;
    justify-content: flex-start;
    border-radius: var(--radius-m);
  }
  .quiz-reveal-answer-img {
    width: 90px;
    height: 90px;
    min-width: 90px;
    flex: none;
    border-radius: 8px;
  }
  .quiz-reveal-answer-label {
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.36px;
    white-space: normal;
    flex: 1;
    min-width: 0;
  }
  .quiz-reveal-answer-score {
    position: static;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 24px;
  }
  .quiz-reveal-feedback-wrap { width: 100%; gap: 16px; }
  .quiz-reveal-impact-icon { height: 35px; width: auto; }
  .quiz-score-row { justify-content: center; }
  .quiz-score-text { font-size: 20px; line-height: 24px; }
  .quiz-step--result { margin: 0; }
  .quiz-result-card { padding: 32px 24px; }
  .quiz-result-phone-wrap { width: 100%; }
  .quiz-result-phone { width: 244px; height: 324px; }
  .quiz-result-phone-img { width: 244px; }
  .quiz-result-actions { margin-top: 24px; padding-top: 0; }
  .quiz-chosen { justify-content: center; }
}

/* Extra small */
