/* ═══════════════════════════════════════════
   VARIABLES & RESET
════════════════════════════════════════════ */
:root {
  --bg:          #0A0A0F;
  --bg-surface:  #141418;
  --bg-subtle:   #17171D;
  --bg-card:     #1A1A22;
  --primary:     #FF5A1F;
  --primary-mid: #F97316;
  --gold:        #F59E0B;
  --gold-light:  #FCD34D;
  --text:        #F0F0F5;
  --text-muted:  #8B9099;
  --text-faint:  #4B5563;
  --border:      #1E1E28;
  --border-mid:  #2A2A38;
  --success:     #22C55E;
  --radius-sm:   12px;
  --radius-md:   20px;
  --radius-lg:   32px;
  --radius-xl:   44px;

  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-w: 1200px;
  --px: clamp(20px, 5vw, 80px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ─── Container ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* ─── Gradient text ─── */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 60%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Primary button ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--primary-mid); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }


/* ═══════════════════════════════════════════
   NAV
════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.15s;
}
.btn-nav:hover { background: var(--primary-mid); transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--px) 20px;
  background: rgba(10, 10, 15, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(20px);
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-cta {
  margin-top: 8px;
  padding: 14px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
}


/* ═══════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.35;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  bottom: -150px; left: -100px;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  top: 0; right: -100px;
  opacity: 0.18;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding-top: 60px;
  padding-bottom: 80px;
}

/* ── Hero text ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 90, 31, 0.1);
  border: 1px solid rgba(255, 90, 31, 0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
}
.badge-pulse {
  width: 7px; height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.store-badge:hover {
  background: var(--bg-subtle);
  border-color: var(--border-mid);
  transform: translateY(-2px);
}
.store-icon { width: 26px; height: 26px; flex-shrink: 0; }
.store-text { display: flex; flex-direction: column; gap: 1px; }
.store-label { font-size: 10px; color: var(--text-muted); line-height: 1; }
.store-name  { font-family: var(--font-head); font-size: 16px; font-weight: 600; line-height: 1.2; }

.hero-footnote {
  font-size: 13px;
  color: var(--text-faint);
}

/* ── Hero phone ── */
.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.phone-glow-ring {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.25) 0%, transparent 65%);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}
.phone-glow-gold {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, transparent 65%);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* ── Phone mockup ── */
.phone-mockup {
  position: relative;
  width: 280px;
  border-radius: var(--radius-xl);
  background: #111115;
  border: 7px solid #2A2A38;
  box-shadow:
    0 0 0 1px #0a0a0f,
    0 50px 100px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #0a0a0f;
  border-radius: 20px;
  z-index: 10;
}
.phone-island-sm {
  width: 80px;
  height: 22px;
  top: 8px;
}

.phone-img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}

/* Sizes */
.phone-mockup.phone-sm {
  width: 220px;
  border-radius: 36px;
  border-width: 6px;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 2.5s ease-in-out infinite;
}
.scroll-chevron {
  width: 20px; height: 20px;
  border-right: 2px solid var(--text-faint);
  border-bottom: 2px solid var(--text-faint);
  transform: rotate(45deg);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}


/* ═══════════════════════════════════════════
   MEANING OF IRIE
════════════════════════════════════════════ */
.meaning {
  padding: 100px 0;
}

.meaning-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 60px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 90, 31, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 60px rgba(255, 90, 31, 0.06), 0 40px 80px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}
.meaning-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--gold), var(--gold-light));
}

.meaning-phonetic {
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.meaning-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.meaning-word {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.meaning-pos {
  font-size: 14px;
  color: var(--text-faint);
  font-style: italic;
}

.meaning-def {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 24px;
}
.meaning-def strong { color: var(--text); font-weight: 600; }
.meaning-def em { color: var(--gold); font-style: normal; }

.meaning-rule {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.meaning-context {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}
.meaning-context em { color: var(--primary); font-style: italic; }

.meaning-quote {
  font-size: 17px;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  padding-left: 20px;
  border-left: 3px solid var(--primary);
}
.meaning-quote em { color: var(--gold); }


/* ═══════════════════════════════════════════
   STATS BAR
════════════════════════════════════════════ */
.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 48px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border-mid);
}


/* ═══════════════════════════════════════════
   SECTION HEADERS (shared)
════════════════════════════════════════════ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ═══════════════════════════════════════════
   FEATURES
════════════════════════════════════════════ */
.features {
  padding: 100px 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row-flip { direction: rtl; }
.feature-row-flip > * { direction: ltr; }

/* ── Feature text ── */
.feature-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.feature-text h3 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 18px;
}
.feature-text h3 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: rgba(255, 90, 31, 0.15);
  border: 1px solid rgba(255, 90, 31, 0.4);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5L8 2.5' stroke='%23FF5A1F' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Dual phone layout ── */
.feature-phones {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dual-phones {
  position: relative;
  height: 480px;
  width: 280px;
}

.phone-back {
  position: absolute;
  top: 0;
  right: -50px;
  opacity: 0.75;
  transform: rotate(4deg) scale(0.92);
  z-index: 1;
  animation: float 7s ease-in-out infinite 0.5s;
}
.phone-front {
  position: absolute;
  bottom: 0;
  left: -20px;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

/* ── Single phone layout ── */
.feature-phone-single {
  display: flex;
  justify-content: center;
}


/* ── Streak tiers ── */
.streak-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 16px;
}
.tier {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid;
}
.tier-1 { color: #d97706; border-color: #78350f; background: rgba(120, 53, 15, 0.15); }
.tier-2 { color: #f59e0b; border-color: #92400e; background: rgba(146, 64, 14, 0.15); }
.tier-3 { color: #fb923c; border-color: #c2410c; background: rgba(194, 65, 12, 0.15); }
.tier-4 { color: #f97316; border-color: #ea580c; background: rgba(234, 88, 12, 0.15); }
.tier-5 { color: #ff4500; border-color: #dc2626; background: rgba(220, 38, 38, 0.15); }
.tier-6 { color: #fff; border-color: var(--primary); background: var(--primary); }

.tier-caption {
  font-size: 14px;
  color: var(--text-faint);
  font-style: italic;
}


/* ═══════════════════════════════════════════
   DASHBOARD / HEALTH
════════════════════════════════════════════ */
.dashboard-section {
  padding: 100px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.three-phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
}

.phone-trio-left  { transform: translateY(20px) rotate(-4deg); opacity: 0.85; }
.phone-trio-right { transform: translateY(20px) rotate(4deg);  opacity: 0.85; }
.phone-trio-center {
  z-index: 2;
  transform: scale(1.06);
  box-shadow:
    0 0 0 1px var(--border-mid),
    0 60px 120px rgba(0,0,0,0.8),
    0 0 60px rgba(255, 90, 31, 0.12);
}


/* ═══════════════════════════════════════════
   SOCIAL / SQUAD
════════════════════════════════════════════ */
.social-section {
  padding: 100px 0;
}


/* ═══════════════════════════════════════════
   ATHLETE STORY
════════════════════════════════════════════ */
.story {
  padding: 100px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.story-text .section-tag { margin-bottom: 16px; }

.story-text h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.story-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.story-closing {
  font-size: 18px !important;
  color: var(--text) !important;
  font-weight: 500;
  margin-bottom: 32px !important;
}

.story-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.callout-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.2s, transform 0.2s;
}
.callout-card:hover {
  border-color: rgba(255, 90, 31, 0.3);
  transform: translateX(4px);
}
.callout-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.callout-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ═══════════════════════════════════════════
   DOWNLOAD CTA
════════════════════════════════════════════ */
.download {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
}

.download-glow {
  position: absolute;
  width: 800px; height: 600px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(255, 90, 31, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

.download-inner {
  position: relative;
  z-index: 1;
}

.download-flame {
  font-size: 56px;
  margin-bottom: 24px;
  animation: flicker 3s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { transform: scale(1) rotate(-2deg); }
  25%       { transform: scale(1.08) rotate(2deg); }
  50%       { transform: scale(1.04) rotate(-1deg); }
  75%       { transform: scale(1.1) rotate(3deg); }
}

.download-headline {
  font-family: var(--font-head);
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.download-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 40px;
}

.store-badges-lg {
  justify-content: center;
  margin-bottom: 24px;
}

.store-badge-lg {
  padding: 16px 28px;
  gap: 14px;
  border-radius: var(--radius-md);
}
.store-badge-lg .store-icon { width: 32px; height: 32px; }
.store-badge-lg .store-name  { font-size: 18px; }

.download-footnote {
  font-size: 13px;
  color: var(--text-faint);
}


/* ═══════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer {
  padding: 40px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-icon { width: 28px; height: 28px; border-radius: 7px; }
.footer-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 13px;
  color: var(--text-faint);
}


/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
════════════════════════════════════════════ */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-anim="fade-in"] {
  transform: none;
}
[data-anim].visible {
  opacity: 1;
  transform: none;
}
[data-anim-delay="100"] { transition-delay: 0.1s; }
[data-anim-delay="200"] { transition-delay: 0.2s; }
[data-anim-delay="300"] { transition-delay: 0.3s; }


/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (≤900px)
════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    padding-bottom: 60px;
  }
  .hero-text { order: 1; }
  .hero-phone { order: 2; }
  .hero-badge { margin: 0 auto 24px; }
  .hero-sub { margin: 0 auto 36px; }
  .store-badges { justify-content: center; }
  .hero-footnote { text-align: center; }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 80px;
  }
  .feature-row-flip { direction: ltr; }
  .feature-phones { order: -1; }

  .story-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stat { padding: 0 24px; }
  .stat-num { font-size: 32px; }

  .three-phones {
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 20px;
    justify-content: flex-start;
  }
  .phone-trio-left,
  .phone-trio-right { transform: none; opacity: 1; }
  .phone-trio-center { transform: none; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}


/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤640px)
════════════════════════════════════════════ */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero { min-height: 100svh; }
  .phone-mockup { width: 240px; }
  .phone-mockup.phone-sm { width: 180px; }

  .meaning-card { padding: 36px 28px; }
  .meaning-word { font-size: 36px; }
  .meaning-def  { font-size: 17px; }

  .stats-inner { gap: 24px 0; }
  .stat-sep { display: none; }
  .stat { padding: 12px 24px; width: 50%; }

  .dual-phones { width: 220px; height: 380px; }
  .phone-back { right: -40px; }
  .phone-front { left: -10px; }

  .download-headline { letter-spacing: -1px; }
  .store-badges-lg { flex-direction: column; align-items: center; }
  .store-badge-lg { width: 100%; max-width: 280px; justify-content: center; }
}

/* ═══════════════════════════════════════════
   SCROLLBAR
════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-mid); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }
