/* ═══════════════════════════════════════════════════
   PureBariatric Homepage — styles.css
   Fonts: Zodiak (display) + Satoshi (body)
   Brand: #1a6b52  Cream: #faf8f4
   ═══════════════════════════════════════════════════ */

/* ── Design Tokens ───────────────────────────────── */
:root {
  /* Colors */
  --color-primary:        #1a6b52;
  --color-primary-dark:   #145442;
  --color-primary-light:  #22a06b;
  --color-accent:         #f59e0b;

  /* Surfaces */
  --color-bg:             #faf8f4;
  --color-surface:        #ffffff;
  --color-surface-2:      #f4f1ec;
  --color-surface-offset: #e8e4dd;

  /* Text */
  --color-text:           #1c1c1e;
  --color-text-muted:     #6b7280;
  --color-text-subtle:    #9ca3af;

  /* Border */
  --color-border:         #e5e0d8;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:  0 12px 36px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.15), 0 8px 24px rgba(0,0,0,.08);

  /* Type scale */
  --font-display:  'Zodiak', Georgia, serif;
  --font-body:     'Satoshi', system-ui, -apple-system, sans-serif;
  --text-xs:       0.75rem;
  --text-sm:       0.875rem;
  --text-base:     1rem;
  --text-lg:       1.125rem;
  --text-xl:       1.25rem;
  --text-2xl:      1.5rem;
  --text-3xl:      1.875rem;
  --text-4xl:      2.25rem;
  --text-5xl:      3rem;
  --text-6xl:      3.75rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1160px;
  --nav-h: 64px;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  /* Transitions */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:  cubic-bezier(0, 0, 0.2, 1);
  --dur-fast:  150ms;
  --dur-base:  250ms;
  --dur-slow:  400ms;
}

/* Dark mode */
[data-theme="dark"] {
  --color-bg:             #0f1512;
  --color-surface:        #171f1b;
  --color-surface-2:      #1e2922;
  --color-surface-offset: #253029;
  --color-text:           #f0ede8;
  --color-text-muted:     #9aab9f;
  --color-text-subtle:    #6b7a6f;
  --color-border:         #2a3830;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.3);
  --shadow-md:  0 4px 12px rgba(0,0,0,.4);
  --shadow-lg:  0 12px 36px rgba(0,0,0,.5);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.6);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  transition: background var(--dur-slow) var(--ease), color var(--dur-slow) var(--ease);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Typography helpers ──────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
h1 { font-size: clamp(2.4rem, 5.5vw, var(--text-6xl)); }
h2 { font-size: clamp(1.9rem, 4vw, var(--text-4xl)); }
h3 { font-size: var(--text-xl); }

em { font-style: italic; color: var(--color-primary); }
[data-theme="dark"] em { color: #4cd68e; }

p { color: var(--color-text-muted); line-height: 1.75; }

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 12%, transparent);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
[data-theme="dark"] .eyebrow {
  color: #4cd68e;
  background: rgba(76, 214, 142, 0.12);
}

/* ── Container ───────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
@media (max-width: 600px) {
  .container { padding: 0 var(--space-4); }
}

/* ── Buttons ─────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  box-shadow: 0 2px 8px rgba(26,107,82,0.25);
  white-space: nowrap;
}
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,107,82,0.35); }
.btn-primary:active { transform: translateY(0); }

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  transition: background var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn-primary-sm:hover { background: var(--color-primary-dark); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1.5px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn-ghost:hover { background: color-mix(in srgb, var(--color-primary) 8%, transparent); }
[data-theme="dark"] .btn-ghost { color: #4cd68e; border-color: rgba(76,214,142,0.3); }
[data-theme="dark"] .btn-ghost:hover { background: rgba(76,214,142,0.08); }

.btn-lg { padding: 1rem 2rem; font-size: var(--text-base); }

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: #fff;
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,0.45);
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }

/* ── Theme toggle ────────────────────────────────── */
.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  background: var(--color-surface-2);
  border: 1.5px solid var(--color-border);
  transition: all var(--dur-fast) var(--ease);
  flex-shrink: 0;
}
.theme-btn:hover { color: var(--color-primary); background: var(--color-surface-offset); }

/* ── Scroll reveal ───────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--color-bg) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.nav.scrolled {
  background: color-mix(in srgb, var(--color-bg) 95%, transparent);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}
.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-left: auto;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--color-primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  gap: 5px;
  border-radius: var(--radius-sm);
}
.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--dur-fast) var(--ease);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: var(--space-4) var(--space-6) var(--space-6);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  gap: var(--space-1);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}
.nav-mobile.open {
  max-height: 400px;
}
.nav-mobile a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--dur-fast) var(--ease);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--color-primary); }

/* ════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + var(--space-20));
  padding-bottom: var(--space-24);
}

.hero-bg-shape {
  position: absolute;
  top: -200px;
  right: -300px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 14%, transparent) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-heading {
  margin-bottom: var(--space-5);
}

.hero-body {
  font-size: var(--text-lg);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: var(--space-8);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}
.trust-item svg { color: var(--color-primary); flex-shrink: 0; }

/* ── Phone mockup ─────────────────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: 260px;
  background: var(--color-text);
  border-radius: 40px;
  padding: 14px;
  box-shadow: var(--shadow-xl),
    inset 0 0 0 1px rgba(255,255,255,0.1);
}
[data-theme="dark"] .phone-frame {
  background: #0a0f0c;
}

.phone-screen {
  background: var(--color-bg);
  border-radius: 28px;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  flex-direction: column;
}

/* Simulated app header */
.app-header-mock {
  background: var(--color-primary);
  padding: var(--space-3) var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.app-brand-mock {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.app-date-mock {
  color: rgba(255,255,255,0.75);
  font-size: 11px;
  font-weight: 500;
}

/* KPI cards */
.app-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px;
  background: var(--color-surface-2);
}

.kpi-card {
  background: var(--color-surface);
  border-radius: 10px;
  padding: 8px 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.kpi-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.03em;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 2px;
}
.kpi-label {
  font-size: 9px;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}
.kpi-bar {
  height: 3px;
  background: var(--color-surface-offset);
  border-radius: 99px;
  overflow: hidden;
}
.kpi-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 99px;
  transition: width 1s var(--ease);
}
.kpi-fill-blue  { background: #3b82f6; }
.kpi-fill-amber { background: #f59e0b; }

/* Meal list */
.app-meal-mock {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.meal-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  border-radius: 8px;
  padding: 7px 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.meal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.meal-dot-green  { background: var(--color-primary); }
.meal-dot-blue   { background: #3b82f6; }
.meal-dot-amber  { background: #f59e0b; }

.meal-name-mock {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}
.meal-meta-mock {
  font-size: 9px;
  color: var(--color-text-muted);
  margin-top: 1px;
}

/* Supplements row */
.app-supps-mock {
  padding: 7px 10px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.supp-label-mock {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}
.supp-dots {
  display: flex;
  gap: 4px;
}
.supp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-surface-offset);
  border: 1.5px solid var(--color-border);
}
.supp-dot.supp-on {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* Glow */
.phone-glow {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 120px;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--color-primary) 40%, transparent) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 1;
}

/* ════════════════════════════════════════════════════
   STATS BAR
   ════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--color-primary);
  padding: var(--space-8) 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-1);
}
.stat-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.72);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ════════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════════ */
.about {
  padding: var(--space-32) 0;
  background: var(--color-surface);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

/* Plate SVG wrapper */
.about-visual {
  display: flex;
  justify-content: center;
}

.plate-wrap {
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 20px 40px rgba(26,107,82,0.18));
}

.plate-svg {
  width: 100%;
  height: 100%;
}

/* About text */
.about-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.about-text h2 { margin-bottom: 0; }
.about-text p { max-width: 480px; }

.plate-legend {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.plate-legend li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.plate-legend strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}
.plate-legend span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.about-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-3);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════
   FEATURES
   ════════════════════════════════════════════════════ */
.features {
  padding: var(--space-32) 0;
  background: var(--color-bg);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-16);
}
.section-header h2 { margin-bottom: var(--space-3); }
.section-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 520px;
  margin: var(--space-4) auto 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.feat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: box-shadow var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.feat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--color-primary) 30%, transparent);
}

.feat-card-wide {
  grid-column: span 3;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-6);
}
.feat-card-wide h3 { margin-bottom: var(--space-1); }

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--icon-bg);
  color: var(--icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-card h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
  line-height: 1.3;
}
.feat-card p {
  font-size: var(--text-sm);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════
   CTA BAND
   ════════════════════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.cta-band-text h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.5vw, var(--text-4xl));
  margin-bottom: var(--space-3);
}
.cta-band-text em { color: rgba(255,255,255,0.75); }
.cta-band-text p {
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  font-size: var(--text-base);
}

.cta-band-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cta-band-actions .btn-primary {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.cta-band-actions .btn-primary:hover {
  background: #f0fdf4;
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════
   REACH — Languages & Regions
   ════════════════════════════════════════════════════ */
.reach-section {
  padding: var(--space-32) 0;
  background: var(--color-surface);
}

.reach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.reach-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--dur-base) var(--ease);
}
.reach-card:hover {
  border-color: color-mix(in srgb, var(--color-primary) 35%, transparent);
  background: color-mix(in srgb, var(--color-primary) 4%, var(--color-bg));
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.reach-flag {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: var(--space-3);
}
.reach-name {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.reach-db {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

.lang-row {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.lang-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  transition: all var(--dur-fast) var(--ease);
}
.lang-badge:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 6%, var(--color-surface-2));
}

/* ════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════ */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.75);
  padding-top: var(--space-16);
}
[data-theme="dark"] .footer {
  background: #080d0a;
}

.footer-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-16);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .nav-logo .logo-name {
  color: #fff;
}
.footer-tagline {
  color: rgba(255,255,255,0.55);
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  line-height: 1.7;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-col-title {
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-1);
}
.footer-col a {
  color: rgba(255,255,255,0.55);
  font-size: var(--text-sm);
  transition: color var(--dur-fast) var(--ease);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding: var(--space-5) 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.footer-legal {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  max-width: 600px;
  line-height: 1.6;
}
.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════ */

/* ── 1024px ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner {
    gap: var(--space-10);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feat-card-wide {
    grid-column: span 2;
  }
}

/* ── 860px ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }
  .hero-text { align-items: center; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { order: -1; }
  .phone-frame { width: 220px; }
  .phone-screen { min-height: 370px; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }
  .about-text { align-items: center; }
  .plate-legend li { justify-content: flex-start; text-align: left; }
  .plate-legend { width: 100%; max-width: 400px; }

  .stat-divider { display: none; }
  .stats-inner { justify-content: center; gap: var(--space-8); }

  .reach-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }

  .cta-band-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-band-text p { margin: 0 auto; }
  .cta-band-actions { justify-content: center; }
}

/* ── 600px ─────────────────────────────────────────── */
@media (max-width: 600px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }

  .hero { padding-top: calc(var(--nav-h) + var(--space-12)); padding-bottom: var(--space-16); }
  .about { padding: var(--space-16) 0; }
  .features { padding: var(--space-16) 0; }
  .reach-section { padding: var(--space-16) 0; }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .feat-card-wide {
    grid-column: span 1;
    flex-direction: column;
  }

  .reach-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-nav { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .plate-wrap { width: 220px; height: 220px; }

  .stat-num { font-size: var(--text-2xl); }
  .stats-inner { gap: var(--space-6); }

  .phone-frame { width: 200px; }
}

/* ── Reduced motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
