@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── THEMES (same as app) ───────────────────────────────────────────────── */
:root, html[data-theme="sage"] {
  --bg: #F2F5E8; --card: #FFFFFF; --text: #1F3A0A;
  --muted: #6B7A52; --border: #DDE5C7; --border-strong: #B8C896;
  --accent: #4A6B1A; --accent-light: #C8D9A0;
  --protein: #2D5B0E; --carbs: #5C8F2A; --fat: #94B36B;
  --protein-bg: #E7EFD3; --carbs-bg: #EDF3DA; --fat-bg: #F3F7E5;
}
html[data-theme="rose"] {
  --bg: #FBEEF2; --card: #FFFFFF; --text: #6B1532;
  --muted: #9B6B7A; --border: #F0D5DD; --border-strong: #E4B5C2;
  --accent: #C8527A; --accent-light: #F2C8D4;
  --protein: #6B1532; --carbs: #C8527A; --fat: #E0A8B8;
  --protein-bg: #F5D9E1; --carbs-bg: #FAE2EA; --fat-bg: #FCEEF3;
}
html[data-theme="ocean"] {
  --bg: #EEF3F9; --card: #FFFFFF; --text: #13315E;
  --muted: #6B7B95; --border: #D7E2EE; --border-strong: #B8CFE6;
  --accent: #1F4B82; --accent-light: #B8CFE6;
  --protein: #13315E; --carbs: #3D7CB5; --fat: #7DA6C9;
  --protein-bg: #D7E2EE; --carbs-bg: #E6EEF7; --fat-bg: #EFF5FA;
}
html[data-theme="white"] {
  --bg: #FFFFFF; --card: #FAFAFA; --text: #1A1A1A;
  --muted: #737373; --border: #E5E5E5; --border-strong: #A3A3A3;
  --accent: #1A1A1A; --accent-light: #D4D4D4;
  --protein: #1A1A1A; --carbs: #525252; --fat: #8C8C8C;
  --protein-bg: #F0F0F0; --carbs-bg: #F5F5F5; --fat-bg: #FAFAFA;
}
html[data-theme="violet"] {
  --bg: #F3EEF9; --card: #FFFFFF; --text: #3D1A5C;
  --muted: #8B7AA0; --border: #E5DBF0; --border-strong: #BFA8D6;
  --accent: #6B3FA0; --accent-light: #D4B8EE;
  --protein: #3D1A5C; --carbs: #7B4FBC; --fat: #B89AD9;
  --protein-bg: #E5DBF0; --carbs-bg: #ECE0F7; --fat-bg: #F4ECFA;
}
html[data-theme="beige"] {
  --bg: #F5F0E6; --card: #FCF9F3; --text: #3D2E1F;
  --muted: #8B7A66; --border: #E8DFD2; --border-strong: #CDBFAC;
  --accent: #8B5A2B; --accent-light: #D9C5A9;
  --protein: #3D2E1F; --carbs: #A87B4B; --fat: #C4A77D;
  --protein-bg: #ECE2D2; --carbs-bg: #F1E5D2; --fat-bg: #F6EDDF;
}

:root {
  --radius: 12px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.14);
  --t: 0.25s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--t), color var(--t);
  min-height: 100vh;
  overflow-x: hidden;
}
.mono { font-family: 'DM Mono', monospace; }

a { color: inherit; text-decoration: none; transition: opacity var(--t); }
a:hover { opacity: 0.7; }
button { font-family: inherit; cursor: pointer; }

/* ─── BRAND ──────────────────────────────────────────────────────────────── */
.brand, .footer-brand, .mock-brand {
  font-family: 'DM Mono', monospace;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.brand .ori, .footer-brand .ori, .mock-brand .ori { color: var(--text); }
.brand .cal, .footer-brand .cal, .mock-brand .cal { color: var(--accent); font-weight: 700; }

/* ─── NAVBAR ─────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  transition: background var(--t);
}
html[data-theme="white"] .nav { background: rgba(255, 255, 255, 0.85); }
.nav-links {
  display: flex; gap: 24px;
  font-size: 14px; color: var(--muted);
  justify-content: center;
}
.nav-right { display: flex; align-items: center; gap: 16px; justify-content: flex-end; }

.theme-mini {
  display: flex; gap: 6px;
  padding: 4px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 99px;
}
.theme-mini .dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.theme-mini .dot:hover { transform: scale(1.15); }
.theme-mini .dot:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.dot-rose   { background: #C8527A; }
.dot-ocean  { background: #1F4B82; }
.dot-sage   { background: #4A6B1A; }
.dot-white  { background: #FAFAFA; border: 1px solid #D4D4D4 !important; }
.dot-violet { background: #6B3FA0; }
.dot-beige  { background: #8B5A2B; }

.btn-mini {
  padding: 9px 14px;
  background: var(--text);
  color: var(--bg);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  transition: opacity var(--t);
}
.btn-mini:hover { opacity: 0.85; }

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  transition: opacity var(--t), transform var(--t), background var(--t);
  cursor: pointer;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-secondary:hover { border-color: var(--text); transform: translateY(-1px); }
.btn-primary.big, .btn-secondary.big {
  padding: 16px 30px;
  font-size: 15px;
}

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.hero-title .accent { color: var(--accent); }
.hero-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 30px;
  max-width: 500px;
}
.hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 30px;
}
.hero-bullets {
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* ─── PHONE MOCKUP ───────────────────────────────────────────────────────── */
.phone-wrap {
  display: flex; justify-content: center; align-items: center;
}
.phone {
  width: 320px;
  background: #0F0F0F;
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid #1f1f1f;
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 22px;
  background: #0F0F0F;
  border-radius: 14px;
  z-index: 5;
}
.phone-screen {
  background: var(--bg);
  border-radius: 36px;
  padding: 36px 18px 18px;
  height: 620px;
  overflow: hidden;
  transition: background var(--t);
  display: flex;
  flex-direction: column;
}
.mock-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.mock-brand { font-size: 17px; }
.mock-icons { font-size: 16px; color: var(--text); }

.mock-pie {
  position: relative;
  width: 180px; height: 180px;
  margin: 4px auto 0;
}
.mock-pie svg { width: 100%; height: 100%; }
.mock-pie .track { stroke: var(--border); }
.mock-pie .seg.p { stroke: var(--protein); }
.mock-pie .seg.c { stroke: var(--carbs); }
.mock-pie .seg.f { stroke: var(--fat); }
.mock-pie-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.mock-num {
  font-family: 'DM Mono', monospace;
  font-size: 36px;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}
.mock-unit {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.mock-caption {
  text-align: center;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-top: 4px;
  margin-bottom: 10px;
}

.mock-macro-rings {
  display: flex; justify-content: center; gap: 12px;
  margin-bottom: 12px;
}
.mock-ring {
  display: flex; flex-direction: column; align-items: center;
  position: relative;
}
.mock-ring svg { width: 50px; height: 50px; }
.mock-ring .track { stroke: var(--border); }
.mock-ring .ring.p { stroke: var(--protein); }
.mock-ring .ring.c { stroke: var(--carbs); }
.mock-ring .ring.f { stroke: var(--fat); }
.ring-letter {
  position: absolute;
  top: 18px;
  font-weight: 700;
  font-size: 14px;
}
.ring-letter.p { color: var(--protein); }
.ring-letter.c { color: var(--carbs); }
.ring-letter.f { color: var(--fat); }
.ring-value {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
}
.ring-name {
  font-size: 8px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 0;
}

.mock-cta {
  width: 100%;
  background: var(--text);
  color: var(--bg);
  border: none;
  padding: 11px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 14px;
  font-family: inherit;
}

.mock-meals-header {
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.mock-meal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 11px;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
  font-size: 12px;
}
.mock-meal-name { font-weight: 500; font-size: 11px; }
.mock-meal-macros {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
}
.mock-meal-cal {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
}

/* ─── SECTIONS ───────────────────────────────────────────────────────────── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  text-align: center;
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 60px;
}

/* ─── FEATURES GRID ──────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.features-minimal {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.feature-min {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0;
  overflow: hidden;
  text-align: center;
}
.feature-min:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.feature-min-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.feature-min-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.feature-min:hover .feature-min-photo img {
  transform: scale(1.04);
}
.feature-min h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 20px 16px 10px;
}
.feature-min-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  padding: 0 18px 24px;
  text-align: left;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── WHY ORIKCAL — ORBITAL INTERACTION ──────────────────────────────────── */
.why-section {
  padding: 80px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* The orbit stage — large enough for cards to fly into */
.why-orbit {
  position: relative;
  width: 1200px;
  max-width: 100%;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

/* Faint orbit ring — appears on hover */
.why-orbit::before {
  content: '';
  position: absolute;
  width: 720px;
  height: 540px;
  border-radius: 50%;
  border: 1px dashed var(--border-strong);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.why-orbit:hover::before,
.why-orbit.active::before { opacity: 1; }

/* Center circle */
.why-center {
  position: relative;
  z-index: 10;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, var(--accent-light, var(--accent)), var(--accent) 70%);
  color: var(--card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
  box-shadow:
    0 0 0 0 var(--accent),
    0 10px 40px rgba(0,0,0,0.22),
    0 2px 8px rgba(0,0,0,0.12);
  user-select: none;
}
.why-center-label {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.why-center-hint {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
}
/* Pulse ring 1 */
.why-center::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.3;
  animation: why-pulse 2.6s ease-in-out infinite;
}
/* Pulse ring 2 */
.why-center::after {
  content: '';
  position: absolute;
  inset: -28px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0.14;
  animation: why-pulse 2.6s ease-in-out infinite 0.6s;
}
@keyframes why-pulse {
  0%, 100% { transform: scale(1);    opacity: 0.28; }
  50%       { transform: scale(1.1); opacity: 0.06; }
}
.why-orbit.active .why-center {
  transform: scale(1.08);
  box-shadow:
    0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent),
    0 16px 52px rgba(0,0,0,0.28),
    0 2px 8px rgba(0,0,0,0.14);
}

/* Hint label removed — built into center circle now */

/* ── Nodes (cards) ── */
.why-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px 22px;
  /* collapsed at center, instant when closing */
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity  0.18s ease,
    transform 0.18s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  z-index: 5;
}
.why-node:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

/* Expanded positions — only .active class (controlled by JS) */
.why-orbit.active .why-node {
  opacity: 1;
  pointer-events: auto;
  /* spring pop transition when appearing */
  transition:
    opacity  0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.why-orbit.active .why-node-1 {
  transform: translate(calc(-50% - 370px), calc(-50% - 250px)) scale(1);
  transition-delay: 0s;
}
.why-orbit.active .why-node-2 {
  transform: translate(calc(-50% + 370px), calc(-50% - 250px)) scale(1);
  transition-delay: 1s;
}
.why-orbit.active .why-node-3 {
  transform: translate(calc(-50% - 370px), calc(-50% + 250px)) scale(1);
  transition-delay: 2s;
}
.why-orbit.active .why-node-4 {
  transform: translate(calc(-50% + 370px), calc(-50% + 250px)) scale(1);
  transition-delay: 3s;
}

.why-node-icon { font-size: 32px; margin-bottom: 10px; line-height: 1; }

.why-node-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.why-node-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.why-node-list li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 12px;
  position: relative;
}
.why-node-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.why-node-body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Mobile: flat stacked layout ── */
@media (max-width: 700px) {
  .why-section { padding: 60px 20px; }
  .why-orbit {
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 0;
    cursor: default;
  }
  .why-orbit::before { display: none; }
  .why-center {
    position: relative;
    top: auto; left: auto;
    margin-bottom: 24px;
    animation: none;
    cursor: default;
  }
  .why-center::before, .why-center::after { display: none; }
  .why-center-hint { display: none; }
  .why-node {
    position: static;
    width: 100%;
    max-width: 340px;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: box-shadow 0.2s, border-color 0.2s;
    margin-bottom: 14px;
  }
}

/* ─── HOW IT WORKS — CAROUSEL ────────────────────────────────────────────── */
.how-section { padding-bottom: 50px; }
.how-carousel {
  display: flex; align-items: center; gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}
.how-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.how-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.how-slide {
  flex-shrink: 0;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
  padding: 12px 4px;
}
.how-phone {
  display: flex; justify-content: center;
}
.how-text { min-width: 0; }
.how-step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--text);
  color: var(--bg);
  border-radius: 50%;
  font-family: 'DM Mono', monospace;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
}
.how-text h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.1;
}
.how-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.how-text p strong { color: var(--text); font-weight: 600; }
.how-highlight {
  display: inline-block;
  padding: 8px 14px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
}

/* Arrows */
.how-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--t);
  z-index: 2;
}
.how-arrow:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  transform: scale(1.05);
}
.how-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Dots */
.how-dots {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 28px;
}
.how-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  cursor: pointer;
  transition: all var(--t);
  padding: 0;
}
.how-dot:hover { background: var(--muted); }
.how-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* Mini phone variant inside carousel */
.phone.mini {
  width: 260px;
  padding: 8px;
  border-radius: 36px;
}
.phone.mini .phone-screen {
  height: 500px;
  padding: 30px 14px 14px;
  border-radius: 28px;
}
.phone.mini .phone-notch {
  top: 12px;
  width: 64px; height: 18px;
}

/* TDEE mock (slide 1) */
.mock-tdee {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  margin: 8px 0 10px;
}
.mock-tdee-lbl {
  font-size: 9px; letter-spacing: 0.1em;
  color: var(--muted); font-weight: 600;
  margin-bottom: 3px;
}
.mock-tdee-val {
  font-family: 'DM Mono', monospace;
  font-size: 30px;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.mock-tdee-sub {
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.mock-goal-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
  font-size: 11px;
}
.mock-goal-card.selected { border-color: var(--text); }
.mock-macro-pill {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 99px;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  font-weight: 500;
}
.mock-macro-pill.p { background: var(--protein-bg); color: var(--protein); }
.mock-macro-pill.c { background: var(--carbs-bg); color: var(--carbs); }
.mock-macro-pill.f { background: var(--fat-bg); color: var(--fat); }

/* Log tabs mock (slide 2 & 5) */
.mock-log-tabs {
  display: flex; gap: 3px;
  background: var(--border);
  padding: 3px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.mock-tab {
  flex: 1;
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  padding: 6px 4px;
  border-radius: 99px;
  color: var(--muted);
}
.mock-tab.active {
  background: var(--card);
  color: var(--text);
}

/* Text mock (slide 2) */
.mock-textarea {
  background: var(--card);
  border: 1.5px solid var(--text);
  border-radius: 12px;
  padding: 14px;
  min-height: 130px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
  position: relative;
}
.mock-textarea .typed {
  font-family: 'DM Sans', sans-serif;
}
.mock-textarea .caret {
  display: inline-block;
  width: 1.5px; height: 14px;
  background: var(--text);
  vertical-align: middle;
  margin-left: 1px;
  animation: blink 1.1s ease-in-out infinite;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Voice mock (slide 3) */
.mock-voice-area {
  background: var(--card);
  border: 1.5px solid #E24B4A;
  border-radius: 12px;
  padding: 24px 12px;
  display: flex; flex-direction: column; align-items: center;
}
.mock-mic {
  width: 56px; height: 56px;
  background: #E24B4A;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: white;
}
.mock-transcript {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.5;
  width: 100%;
}

/* Photo mock (slide 4) */
.mock-photo-zone {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: flex; flex-direction: column; align-items: center;
}
.mock-photo-img {
  width: 100%; height: 120px;
  background: #e8e0d4;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.mock-photo-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mock-photo-buttons {
  display: flex; gap: 6px;
  margin-top: 12px;
  width: 100%; justify-content: center;
}
.mock-photo-btn {
  font-size: 10px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 6px;
  background: transparent;
  border: 1.2px solid var(--border-strong);
  color: var(--text);
}
.mock-photo-btn.primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* Clarification mock (slide 5) */
.clarify-step {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.clarify-question {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 8px;
}
.clarify-why {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.4;
  background: var(--card);
  border-inline-start: 2px solid var(--border-strong);
  padding: 8px 9px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 10px;
}
.clarify-opts {
  display: flex; flex-direction: column; gap: 5px;
  margin-bottom: 8px;
}
.clarify-opt {
  font-size: 11px;
  padding: 8px 10px;
  background: var(--card);
  border: 1.2px solid var(--border);
  border-radius: 8px;
}
.clarify-opt.selected {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.clarify-free {
  font-size: 10px;
  color: var(--muted);
  padding: 8px 10px;
  background: var(--card);
  border: 1.2px solid var(--border);
  border-radius: 8px;
}

/* History mock (slide 6/7) */
.mock-history {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}
.mock-bars {
  height: 110px;
  display: flex;
  gap: 2px;
  align-items: flex-end;
  position: relative;
}
.mock-bar {
  flex: 1;
  display: flex;
  flex-direction: column-reverse;
  height: 100%;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.mock-bar span { display: block; width: 100%; }
.mock-bar .b-p { background: var(--protein); }
.mock-bar .b-c { background: var(--carbs); }
.mock-bar .b-f { background: var(--fat); }
.mock-goal-line {
  position: absolute;
  left: 0; right: 0;
  top: 32%;
  border-top: 1.2px dashed var(--muted);
}
.mock-history-day {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 8px;
}
.mock-day-bar {
  height: 5px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  display: flex;
}
.mock-day-bar .d-p { width: 28%; background: var(--protein); height: 100%; }
.mock-day-bar .d-c { width: 38%; background: var(--carbs); height: 100%; }
.mock-day-bar .d-f { width: 18%; background: var(--fat); height: 100%; }

/* Chat mock (slide 5) */
.mock-chat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  height: 240px;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 6px;
}
.mock-bubble {
  max-width: 86%;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 10px;
  line-height: 1.45;
}
.mock-bubble.u {
  align-self: flex-end;
  background: var(--text);
  color: var(--bg);
  border-bottom-right-radius: 3px;
}
.mock-bubble.a {
  align-self: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-bottom-left-radius: 3px;
}
.mock-chat-input {
  margin-top: 8px;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 10px;
  color: var(--muted);
}

/* Responsive: stack on mobile */
@media (max-width: 600px) {
  .features-minimal {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

@media (max-width: 800px) {
  .how-carousel { gap: 6px; }
  .how-slide {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .how-text { padding: 0 8px; }
  .how-highlight { margin: 0 auto; }
  .how-arrow { width: 38px; height: 38px; }
  .phone.mini { width: 230px; }
  .phone.mini .phone-screen { height: 450px; }
}

/* ─── TESTIMONIALS (scrolling belt) ──────────────────────────────────────── */
.testimonials-section {
  background: var(--card);
  overflow: hidden;       /* contains the belt */
  padding-left: 0;
  padding-right: 0;
}
.testimonials-section .section-eyebrow,
.testimonials-section .section-title { padding: 0 24px; }

.testimonials-belt {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
}
.testimonials-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 6px 18px;       /* a little breathing room so hover shadows aren't clipped */
  animation: belt-scroll 55s linear infinite;
}
.testimonials-track:hover { animation-play-state: paused; }

@keyframes belt-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }   /* -50% because the cards are duplicated */
}
@media (prefers-reduced-motion: reduce) {
  .testimonials-track { animation: none; }
}

.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  width: 340px;
  flex-shrink: 0;
  display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
@media (max-width: 480px) {
  .testimonial { width: 290px; padding: 22px; }
  .testimonials-track { gap: 14px; animation-duration: 45s; }
}
.t-head {
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 16px;
}
.t-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.t-avatar.t-av-p { background: var(--protein-bg); color: var(--protein); }
.t-avatar.t-av-c { background: var(--carbs-bg);   color: var(--carbs); }
.t-avatar.t-av-f { background: var(--fat-bg);     color: var(--fat); }
.t-name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.t-tag {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.t-quote {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}
.t-tracks {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.t-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: 0.08em;
}
.t-pill.p   { background: var(--protein-bg); color: var(--protein); }
.t-pill.c   { background: var(--carbs-bg);   color: var(--carbs); }
.t-pill.f   { background: var(--fat-bg);     color: var(--fat); }
.t-pill.cal { background: var(--accent-light); color: var(--accent); }

/* ─── ASSISTANTS ─────────────────────────────────────────────────────────── */
.assistants-section { background: var(--card); }
.assistants {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.assistant {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
/* Themed accent border on top */
.a-calorina-card { border-top: none; }
.a-hera-card     { border-top: none; }

/* Character portrait — full-body image */
.assistant-portrait {
  position: relative;
  height: 300px;
  margin: -8px -20px 18px;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
  border-radius: 12px;
}
.p-calorina {
  background: linear-gradient(180deg, rgba(233,30,99,0.06) 0%, rgba(233,30,99,0.18) 100%);
}
.p-hera {
  background: linear-gradient(180deg, rgba(139,69,19,0.06) 0%, rgba(139,69,19,0.18) 100%);
}
.assistant-img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}
/* Soft glow under each character */
.assistant-portrait::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 30px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.18), transparent 70%);
  pointer-events: none;
}

/* Fallback: shown when image file isn't there yet */
.assistant-fallback {
  display: none;  /* default hidden — JS shows on img error */
  width: 130px; height: 130px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: white;
  align-self: center;
  margin-bottom: 30px;
}
.fallback-calorina { background: #E91E63; }
.fallback-hera     { background: #8B4513; }

.assistant h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}
.assistant h3 .crown,
.assistant h3 .bolt { font-size: 20px; }
.assistant-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.a-calorina-card .assistant-title { color: #E91E63; }
.a-hera-card     .assistant-title { color: #8B4513; }

.assistant-joke {
  font-style: italic;
  opacity: 0.6;
  font-size: 11px;
  white-space: nowrap;
}
.assistant-tag {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.assistant-quote {
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  padding: 8px 0 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.chat-demo {
  display: flex; flex-direction: column; gap: 8px;
}
.chat-bubble {
  max-width: 90%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
}
.chat-bubble.u {
  align-self: flex-end;
  background: var(--text);
  color: var(--bg);
  border-bottom-right-radius: 4px;
}
.chat-bubble.a {
  align-self: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

/* ─── THEMES ─────────────────────────────────────────────────────────────── */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
}
.theme-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  cursor: pointer;
  transition: border-color var(--t), transform var(--t);
  min-width: 0;
}
.theme-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.theme-preview {
  display: flex; gap: 3px;
  padding: 8px;
  border-radius: 10px;
  width: 100%;
  justify-content: center;
}
.theme-preview span {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .themes-grid { gap: 6px; }
  .theme-card { padding: 10px 4px; gap: 6px; }
  .theme-preview { padding: 6px 4px; gap: 2px; }
  .theme-preview span { width: 10px; height: 10px; }
  .theme-name { font-size: 11px !important; }
}
.t-sage  { background: #F2F5E8; }
.t-sage span:nth-child(1) { background: #2D5B0E; }
.t-sage span:nth-child(2) { background: #5C8F2A; }
.t-sage span:nth-child(3) { background: #94B36B; }
.t-rose  { background: #FBEEF2; }
.t-rose span:nth-child(1) { background: #6B1532; }
.t-rose span:nth-child(2) { background: #C8527A; }
.t-rose span:nth-child(3) { background: #E0A8B8; }
.t-ocean { background: #EEF3F9; }
.t-ocean span:nth-child(1) { background: #13315E; }
.t-ocean span:nth-child(2) { background: #3D7CB5; }
.t-ocean span:nth-child(3) { background: #7DA6C9; }
.t-white { background: #FFFFFF; border: 1px solid #E5E5E5; }
.t-white span:nth-child(1) { background: #1A1A1A; }
.t-white span:nth-child(2) { background: #525252; }
.t-white span:nth-child(3) { background: #8C8C8C; }
.t-violet{ background: #F3EEF9; }
.t-violet span:nth-child(1) { background: #3D1A5C; }
.t-violet span:nth-child(2) { background: #7B4FBC; }
.t-violet span:nth-child(3) { background: #B89AD9; }
.t-beige { background: #F5F0E6; }
.t-beige span:nth-child(1) { background: #3D2E1F; }
.t-beige span:nth-child(2) { background: #A87B4B; }
.t-beige span:nth-child(3) { background: #C4A77D; }
.theme-name { font-size: 14px; font-weight: 600; }
.themes-note {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}

/* ─── LANGS ──────────────────────────────────────────────────────────────── */
.langs {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}
.lang {
  padding: 12px 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 15px;
  font-weight: 500;
}
.langs-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.faq-item[open] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  letter-spacing: -0.005em;
  user-select: none;
  transition: background var(--t);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg); }
.faq-chev {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-chev {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--bg);
}
.faq-body {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.faq-body strong { color: var(--text); font-weight: 600; }
.faq-body em { font-style: italic; color: var(--accent); }

/* ─── DOWNLOAD ───────────────────────────────────────────────────────────── */
.download-card {
  background: var(--text);
  color: var(--bg);
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.download-card h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.download-card p {
  font-size: 16px;
  opacity: 0.7;
  margin-bottom: 30px;
}
.download-ctas {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 22px;
}
.download-card .btn-primary {
  background: var(--bg);
  color: var(--text);
}
.download-card .btn-secondary {
  color: var(--bg);
  border-color: var(--bg);
}
.download-note {
  font-size: 13px;
  opacity: 0.6;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  padding: 60px 24px 80px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer-brand { font-size: 24px; margin-bottom: 8px; }
.footer-tag {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-meta {
  font-size: 12px;
  color: var(--muted);
}

/* ─── SCROLL FADE-IN ─────────────────────────────────────────────────────── */
.fade-init {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-init.in {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px 60px;
  }
  .hero-text { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-bullets { justify-content: center; }
  .phone { transform: scale(0.92); }
  .assistants { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav { padding: 12px 16px; }
  .section { padding: 60px 20px; }
}
@media (max-width: 480px) {
  .theme-mini .dot { width: 14px; height: 14px; }
  .theme-mini { gap: 4px; padding: 3px; }
  .btn-mini { padding: 7px 11px; font-size: 12px; }
  .nav-right { gap: 10px; }
}
