:root {
  --bg-deep:       #050706;
  --bg:            #0A0E0B;
  --bg-up:         #0F1410;
  --surface:       rgba(255,255,255,0.035);
  --surface-2:     rgba(255,255,255,0.06);
  --surface-3:     rgba(255,255,255,0.09);
  --border:        rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.14);

  --text:    #FFFFFF;
  --text-2:  rgba(255,255,255,0.72);
  --text-3:  rgba(255,255,255,0.48);
  --text-4:  rgba(255,255,255,0.28);

  --green:        #10B981;
  --green-bright: #34D399;
  --green-soft:   #6EE7B7;
  --green-deep:   #059669;
  --green-glow:   rgba(16,185,129,0.55);
  --green-zone:   rgba(16,185,129,0.15);

  --yellow:    #FBBF24;
  --yellow-soft: rgba(251,191,36,0.18);
  --orange:    #F97316;
  --red-soft:  rgba(248, 113, 113, 0.16);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'SF Pro Display', sans-serif;

  --radius-xl:  32px;
  --radius-lg:  24px;
  --radius-md:  18px;
  --radius-sm:  14px;
  --radius-pill: 999px;
}

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

html, body { width: 100%; overflow-x: hidden; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
  position: relative;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Mesh gradient background (sticks behind everything) ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 40% at 15% 0%,   rgba(16,185,129,0.22) 0%, transparent 60%),
    radial-gradient(50% 35% at 85% 25%,  rgba(52,211,153,0.10) 0%, transparent 60%),
    radial-gradient(70% 50% at 50% 110%, rgba(16,185,129,0.18) 0%, transparent 60%),
    var(--bg);
}

/* subtle film grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(/%23n)'/></svg>");
}

.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* ─── HEADER ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,14,11,0.75);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--green-bright) 0%, var(--green-deep) 100%);
  border-radius: 10px;
  box-shadow:
    0 4px 16px rgba(16,185,129,0.4),
    inset 0 1px 0 rgba(255,255,255,0.25);
}
.logo-icon svg { display: block; }

.logo-text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.locale-switcher {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 2px;
  gap: 1px;
}

.locale-btn {
  padding: 5px 8px;
  border: none;
  background: transparent;
  color: var(--text-3);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  letter-spacing: 0.04em;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
  min-height: 24px;
}
.locale-btn[aria-pressed="true"] {
  background: var(--surface-3);
  color: var(--text);
}
.locale-btn:hover { color: var(--text); }

/* ─── LOCALE DROPDOWN ─── */
.locale-dropdown {
  position: relative;
}
.locale-dropdown > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.04em;
  font-family: inherit;
  user-select: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  min-height: 32px;
}
.locale-dropdown > summary::-webkit-details-marker { display: none; }
.locale-dropdown > summary:hover { color: var(--text); border-color: var(--border-strong); }
.locale-dropdown[open] > summary {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
}
.locale-chevron {
  font-size: 10px;
  opacity: 0.5;
  transition: transform 0.2s;
  line-height: 1;
}
.locale-dropdown[open] .locale-chevron { transform: rotate(180deg); }

.locale-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--bg-up);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 4px;
  min-width: 72px;
  box-shadow: 0 8px 24px -4px rgba(0,0,0,0.55);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.locale-dropdown-item {
  display: block;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-3);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.locale-dropdown-item:hover { background: var(--surface-2); color: var(--text); }
.locale-dropdown-item[aria-current="true"] {
  background: var(--surface-3);
  color: var(--green-bright);
}

.header-cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-bright);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(52,211,153,0.3);
  background: rgba(16,185,129,0.08);
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.header-cta:hover { background: rgba(16,185,129,0.16); border-color: rgba(52,211,153,0.5); }

/* ─── HERO ─── */
.hero {
  padding: 32px 0 24px;
  text-align: left;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  background: var(--surface-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 24px;
  animation: fadeUp 0.7s ease-out 0.1s both;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 0 var(--green-glow);
  animation: pulse 1.8s ease-out infinite;
}

.hero h1 {
  font-size: clamp(40px, 11vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  animation: fadeUp 0.7s ease-out 0.2s both;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--green-bright) 0%, var(--green-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero h1 .strike {
  position: relative;
  white-space: nowrap;
  color: var(--text-3);
}
.hero h1 .strike::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  top: 52%;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  transform: rotate(-3deg);
}

.hero p.lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
  margin-bottom: 28px;
  max-width: 360px;
  animation: fadeUp 0.7s ease-out 0.3s both;
}

/* ─── TRUST STRIP ─── */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 28px;
  animation: fadeUp 0.7s ease-out 0.4s both;
}

.trust-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 8px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.trust-icon {
  width: 22px;
  height: 22px;
  color: var(--green-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.trust-value {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}

.trust-value.green {
  background: linear-gradient(135deg, var(--green-bright), var(--green-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.trust-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* ─── CALCULATOR HERO CARD ─── */
.calc {
  position: relative;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(16,185,129,0.22) 0%, transparent 60%),
    linear-gradient(180deg, #14201A 0%, #0B100D 100%);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  border: 1px solid var(--border-strong);
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.75),
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 1px 0 rgba(255,255,255,0.08) inset;
  margin-bottom: 36px;
  overflow: hidden;
  animation: fadeUp 0.8s ease-out 0.5s both;
}

/* glow ring */
.calc::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(16,185,129,0.4) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(20px);
}

.calc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  position: relative;
}

.calc-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-bright);
}

.calc-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.calc-live .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 8px var(--green-bright);
  animation: blink 1.4s ease-in-out infinite;
}

/* Hero number — the WOW */
.hero-number {
  position: relative;
  text-align: center;
  padding: 8px 0 16px;
}

.hero-number-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.hero-number-value {
  font-size: clamp(72px, 22vw, 104px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #FFFFFF 0%, #B5FFE0 60%, var(--green-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(16,185,129,0.35));
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.hero-number-unit {
  font-size: clamp(20px, 6vw, 28px);
  font-weight: 700;
  color: var(--text-2);
  -webkit-text-fill-color: var(--text-2);
  letter-spacing: -0.02em;
}

.hero-number-caption {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  margin-top: 4px;
}

/* food reference inline pill */
.food-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px auto 0;
  padding: 8px 14px 8px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  max-width: 100%;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.food-pill .food-emoji {
  font-size: 18px;
  line-height: 1;
}
.food-pill strong {
  font-weight: 700;
  color: var(--text);
}

.food-pill.bump { transform: translateY(-2px) scale(1.02); }

/* slider block */
.slider-block { margin-top: 24px; }

.slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.slider-head-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
}
.slider-head-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-bright);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.slider-head-value .u {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0;
  margin-left: 4px;
}

input[type=range].slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  outline: none;
  cursor: pointer;
  background: linear-gradient(
    to right,
    var(--green-bright) 0%,
    var(--green-bright) var(--p, 50%),
    rgba(255,255,255,0.1) var(--p, 50%),
    rgba(255,255,255,0.1) 100%
  );
  margin: 4px 0 14px;
}
input[type=range].slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #FFFFFF 0%, var(--green-bright) 70%, var(--green-deep) 100%);
  border: 2px solid #FFFFFF;
  cursor: grab;
  box-shadow:
    0 0 0 6px rgba(16,185,129,0.20),
    0 0 24px rgba(16,185,129,0.6),
    0 4px 12px rgba(0,0,0,0.5);
  transition: box-shadow 0.15s, transform 0.15s;
}
input[type=range].slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.1);
  box-shadow:
    0 0 0 10px rgba(16,185,129,0.25),
    0 0 36px rgba(16,185,129,0.8),
    0 4px 12px rgba(0,0,0,0.5);
}
input[type=range].slider::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FFFFFF 0%, var(--green-bright) 70%, var(--green-deep) 100%);
  border: 2px solid #FFFFFF;
  cursor: grab;
  box-shadow: 0 0 0 6px rgba(16,185,129,0.2), 0 0 24px rgba(16,185,129,0.6);
}

.slider-marks {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-4);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

/* metric cards (week / month / goal) */
.metric-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.metric-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 4px;
}

.metric-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  line-height: 1.1;
}

.metric-goal {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(16,185,129,0.18), rgba(52,211,153,0.08));
  border-color: rgba(52,211,153,0.4);
}

.metric-goal .metric-label {
  color: var(--green-soft);
}

.metric-goal .metric-value {
  font-size: 28px;
  background: linear-gradient(135deg, var(--green-bright), var(--green-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-goal::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 100% 50%, rgba(52,211,153,0.15), transparent 50%);
}

.zero-state {
  display: none;
  margin-top: 20px;
  padding: 14px;
  background: var(--yellow-soft);
  border: 1px solid rgba(251,191,36,0.3);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--yellow);
  text-align: center;
  font-weight: 600;
}
.zero-state.on { display: block; }
.metric-grid.off { display: none; }

/* ─── MID CTA (web vs mobile choice) ─── */
.mid-cta {
  margin-bottom: 36px;
  padding: 22px 20px;
  background:
    linear-gradient(135deg, rgba(16,185,129,0.14) 0%, rgba(52,211,153,0.05) 100%);
  border: 1px solid rgba(52,211,153,0.3);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mid-cta::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(52,211,153,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.mid-cta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-bright);
  margin-bottom: 8px;
}
.mid-cta h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
}
.mid-cta-buttons {
  display: flex;
  gap: 8px;
  flex-direction: column;
  position: relative;
}
.mid-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  background: linear-gradient(180deg, var(--green-bright), var(--green));
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 24px -6px rgba(16,185,129,0.55), 0 1px 0 rgba(255,255,255,0.4) inset;
  transition: transform 0.15s, box-shadow 0.15s;
}
.mid-cta-primary:hover { box-shadow: 0 12px 32px -6px rgba(16,185,129,0.7), 0 1px 0 rgba(255,255,255,0.4) inset; }
.mid-cta-primary:active { transform: translateY(1px) scale(0.99); }
.mid-cta-badge {
  display: flex;
  justify-content: center;
}
.mid-cta-icon { width: 18px; height: 18px; flex-shrink: 0; }
.mid-cta-mini {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-3);
  position: relative;
}

/* ─── PRODUCT SHOWCASE ─── */
.showcase { margin-bottom: 36px; }

.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  position: relative;
  overflow: hidden;
}

.showcase-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.showcase-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: white;
  box-shadow: 0 2px 12px rgba(16,185,129,0.5);
  flex-shrink: 0;
}
.showcase-card-head h4 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.showcase-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
  margin-top: 12px;
}

/* mock: photo capture */
.mock-camera {
  background: linear-gradient(135deg, #1a1f1c 0%, #0c1310 100%);
  border-radius: var(--radius-md);
  padding: 14px 14px 16px;
  border: 1px solid var(--border);
  position: relative;
}
.mock-camera-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.mock-photo {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 1px solid var(--border-strong);
}
.mock-photo:nth-child(1) { background: linear-gradient(135deg, #C2410C, #7C2D12); }
.mock-photo:nth-child(2) { background: linear-gradient(135deg, #15803D, #14532D); }
.mock-photo:nth-child(3) { background: linear-gradient(135deg, #B45309, #78350F); }
.mock-photo .scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(52,211,153,0.6), transparent);
  height: 30%;
  animation: scan 2.4s ease-in-out infinite;
}
.mock-tag {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  padding: 3px 6px;
  font-size: 9px;
  font-weight: 700;
  color: var(--green-bright);
  letter-spacing: 0.02em;
  text-align: center;
}
@keyframes scan {
  0%   { transform: translateY(-100%); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(330%); opacity: 0; }
}

.mock-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-3);
  font-weight: 600;
}
.mock-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 8px var(--green-bright);
  animation: blink 1.4s infinite;
}

/* mock: AI nutritionist chat */
.mock-chat {
  background: linear-gradient(135deg, #14201A 0%, #0B100D 100%);
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-msg {
  max-width: 85%;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.4;
  border-radius: 14px;
  position: relative;
}
.mock-msg.user {
  align-self: flex-end;
  background: var(--green);
  color: white;
  border-bottom-right-radius: 4px;
}
.mock-msg.bot {
  align-self: flex-start;
  background: var(--surface-3);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-bottom-left-radius: 4px;
}
.mock-msg.bot::before {
  content: '🤖';
  position: absolute;
  left: -22px;
  bottom: 0;
  font-size: 14px;
  filter: drop-shadow(0 0 6px rgba(52,211,153,0.5));
}

/* mock: weight chart */
.mock-chart {
  background: linear-gradient(135deg, #14201A 0%, #0B100D 100%);
  border-radius: var(--radius-md);
  padding: 14px 12px 8px;
  border: 1px solid var(--border);
  position: relative;
}
.mock-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.mock-chart-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-3);
}
.mock-chart-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-bright);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.mock-chart-svg {
  width: 100%;
  display: block;
}
.mock-chart-foot {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--text-4);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ─── COMPARISON ─── */
.compare {
  margin-bottom: 36px;
}
.compare-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  position: relative;
}
.compare-card.bad { background: var(--red-soft); border-color: rgba(248,113,113,0.18); }
.compare-card.good {
  background: linear-gradient(160deg, rgba(16,185,129,0.18), rgba(16,185,129,0.04));
  border-color: rgba(52,211,153,0.35);
  box-shadow: 0 8px 32px -10px rgba(16,185,129,0.4);
}
.compare-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.compare-card.bad .compare-tag { background: rgba(248,113,113,0.2); color: #FCA5A5; }
.compare-card.good .compare-tag { background: rgba(52,211,153,0.25); color: var(--green-soft); }

.compare-card h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.2;
}
.compare-list { list-style: none; padding: 0; margin: 0; }
.compare-list li {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.4;
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}
.compare-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
}
.compare-card.bad .compare-list li::before {
  background-color: rgba(248,113,113,0.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='%23FCA5A5'%3E%3Cpath d='M9.7 2.3a1 1 0 010 1.4L7.4 6l2.3 2.3a1 1 0 11-1.4 1.4L6 7.4 3.7 9.7a1 1 0 11-1.4-1.4L4.6 6 2.3 3.7a1 1 0 011.4-1.4L6 4.6l2.3-2.3a1 1 0 011.4 0z'/%3E%3C/svg%3E");
}
.compare-card.good .compare-list li::before {
  background-color: rgba(52,211,153,0.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='%2334D399'%3E%3Cpath d='M10.3 3.3a1 1 0 010 1.4l-5 5a1 1 0 01-1.4 0l-2-2a1 1 0 111.4-1.4L4.6 7.6l4.3-4.3a1 1 0 011.4 0z'/%3E%3C/svg%3E");
}

/* ─── HOW IT WORKS ─── */
.how {
  margin-bottom: 36px;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-bright);
  margin-bottom: 8px;
}
.section-h2 {
  font-size: clamp(28px, 7vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 22px;
}
.section-h2 .accent { color: var(--green-bright); }

.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 16px 16px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.step-num {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: white;
  box-shadow: 0 4px 16px rgba(16,185,129,0.4);
  letter-spacing: -0.02em;
}
.step-body { flex: 1; min-width: 0; }
.step h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ─── REVIEWS ─── */
.reviews { margin-bottom: 36px; }

.reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  position: relative;
}
.review-stars {
  color: var(--yellow);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.review-quote {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 14px;
}
.review-quote::before { content: '«'; }
.review-quote::after { content: '»'; }

.review-foot {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.review-meta { flex: 1; min-width: 0; }
.review-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.review-sub {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 1px;
}
.review-result {
  font-size: 12px;
  font-weight: 800;
  color: var(--green-bright);
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(52,211,153,0.3);
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* ─── EXPLAINER ─── */
.explainer {
  margin-bottom: 36px;
  background:
    linear-gradient(135deg, rgba(251,191,36,0.13), rgba(251,191,36,0.04));
  border: 1px solid rgba(251,191,36,0.25);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
}
.explainer::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--yellow);
  border-radius: 0 4px 4px 0;
}
.explainer h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.explainer p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}
.explainer p + p { margin-top: 8px; }
.explainer strong {
  color: var(--yellow);
  font-weight: 700;
}

/* ─── FAQ ─── */
.faq { margin-bottom: 36px; }
details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  margin-bottom: 8px;
  transition: background 0.2s;
}
details.faq-item[open] {
  background: var(--surface-2);
  border-color: rgba(52,211,153,0.25);
}
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.01em;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--green-bright);
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item .faq-body {
  padding: 0 16px 16px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ─── CTA BLOCK (final big push) ─── */
.cta-final {
  position: relative;
  margin-bottom: 28px;
  padding: 32px 24px 28px;
  text-align: center;
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(16,185,129,0.25) 0%, transparent 70%),
    linear-gradient(180deg, #14201A 0%, #0B100D 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(52,211,153,0.25);
  box-shadow: 0 24px 60px -10px rgba(16,185,129,0.3);
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  width: 280px; height: 280px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(16,185,129,0.45) 0%, transparent 65%);
  pointer-events: none;
  filter: blur(10px);
}
.cta-final h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 10px;
  position: relative;
}
.cta-final p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 22px;
  position: relative;
}
.cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 22px;
  background: linear-gradient(180deg, var(--green-bright) 0%, var(--green) 100%);
  color: white;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 12px 32px -8px rgba(16,185,129,0.7),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 1px 0 rgba(255,255,255,0.4) inset;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.cta-primary:hover {
  box-shadow:
    0 16px 40px -8px rgba(16,185,129,0.85),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 1px 0 rgba(255,255,255,0.4) inset;
}
.cta-primary:active { transform: translateY(1px) scale(0.99); }
.cta-arrow {
  display: inline-flex;
  width: 22px; height: 22px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.22);
  border-radius: 50%;
  font-size: 14px;
  transition: transform 0.2s;
}
.cta-primary:hover .cta-arrow { transform: translateX(2px); }

.cta-mini {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-3);
  position: relative;
  font-weight: 500;
}

/* store badges */
.stores {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.store-badge {
  height: 54px;
  width: auto;
  transition: opacity 0.15s;
}
.store-badge:hover { opacity: 0.85; }

/* ─── CROSS LINK (other goals) ─── */
.cross-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.cross-link:hover {
  background: var(--surface-2);
  border-color: rgba(52,211,153,0.3);
}
.cross-link:active { transform: scale(0.99); }
.cross-link-emoji {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}
.cross-link-body { flex: 1; min-width: 0; }
.cross-link-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 2px;
}
.cross-link-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.cross-link-arrow {
  color: var(--green-bright);
  font-size: 20px;
  flex-shrink: 0;
}

/* ─── FOOTER ─── */
.foot {
  padding: 8px 4px 32px;
  font-size: 11px;
  color: var(--text-4);
  line-height: 1.55;
  text-align: center;
}

/* ─── Sticky bottom CTA on mobile ─── */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(7,9,7,0.85);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-top: 1px solid var(--border-strong);
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
  display: flex;
  gap: 10px;
  align-items: center;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sticky-cta-info small {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sticky-cta-info span {
  font-size: 14px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.01em;
}
.sticky-cta-info b {
  background: linear-gradient(135deg, var(--green-bright), var(--green-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.sticky-cta-btn {
  flex-shrink: 0;
  padding: 12px 18px;
  background: linear-gradient(180deg, var(--green-bright), var(--green));
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: white;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 16px rgba(16,185,129,0.5);
}

/* main wrap bottom padding so sticky CTA doesn't overlap */
body.has-sticky .wrap { padding-bottom: 100px; }

/* ─── HERO CTA ─── */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 36px;
  animation: fadeUp 0.7s ease-out 0.5s both;
}
.hero-cta-mini {
  text-align: center;
  font-size: 11px;
  color: var(--text-3);
  margin-top: 6px;
  font-weight: 500;
}

/* ─── GOAL ROUTER ─── */
.goals { margin-bottom: 36px; }

.goal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.goal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px 20px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(16,185,129,0.18), rgba(16,185,129,0.04));
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.goal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 100% 0%, rgba(52,211,153,0.18), transparent 60%);
  pointer-events: none;
}
.goal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(16,185,129,0.45);
  border-color: rgba(52,211,153,0.4);
}
.goal-card:active { transform: translateY(0) scale(0.99); }
.goal-card-emoji {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 4px;
  position: relative;
}
.goal-card-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  position: relative;
  line-height: 1.1;
}
.goal-card-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.5;
  position: relative;
}
.goal-card-link {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-bright);
  letter-spacing: -0.01em;
  position: relative;
}
.goal-card.lose::before {
  background: radial-gradient(80% 60% at 100% 0%, rgba(52,211,153,0.20), transparent 60%);
}
.goal-card.gain {
  background: linear-gradient(160deg, rgba(16,185,129,0.10), rgba(251,191,36,0.10));
  border-color: rgba(251,191,36,0.22);
}
.goal-card.gain::before {
  background: radial-gradient(80% 60% at 100% 0%, rgba(251,191,36,0.18), transparent 60%);
}
.goal-card.gain:hover {
  box-shadow: 0 16px 40px -12px rgba(251,191,36,0.4);
  border-color: rgba(251,191,36,0.45);
}
.goal-card.gain .goal-card-link { color: #FCD34D; }

/* ─── FEATURES (2×2) ─── */
.features { margin-bottom: 36px; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-icon {
  font-size: 24px;
  line-height: 1;
  margin-bottom: 4px;
}
.feature-card h4 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}
.feature-card p {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ─── TRUST BLOCK ─── */
.trust-block { margin-bottom: 36px; }

.trust-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 14px;
  align-items: center;
}
.trust-card-icon {
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(52,211,153,0.25);
  color: var(--green-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  margin-top: 2px;
}
.trust-card h4 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}
.trust-card p {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ─── FULL FOOTER ─── */
.foot-full {
  margin-top: 8px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.foot-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.foot-tagline {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.55;
  max-width: 320px;
}
.foot-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.foot-col h5 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 10px;
}
.foot-col a {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.15s;
}
.foot-col a:hover { color: var(--green-bright); }
.foot-fineprint {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: var(--text-4);
  line-height: 1.55;
}

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--green-glow); }
  70%  { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
@keyframes blink {
  0%, 60%, 100% { opacity: 1; }
  30%           { opacity: 0.3; }
}

/* number tick animation */
.tick {
  animation: tickUp 0.3s ease-out;
}
@keyframes tickUp {
  from { transform: translateY(4px); opacity: 0.6; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* desktop polish */
@media (min-width: 600px) {
  .wrap { max-width: 480px; }
  .goal-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (min-width: 900px) {
  body { padding: 0; }
  .wrap { max-width: 480px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

