/* =====================================================
   WAVESENSE - Components
   Nav, Hero, Stat Band, Cards, Product Scroll,
   Platform, Moat, Market, Compare Table, CTA, Footer
   ===================================================== */

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 36px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: var(--nav-bg);
  border-bottom-color: var(--nav-border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav__logo {
  display: flex; flex-direction: row; align-items: center;
  gap: 10px; line-height: 1; text-decoration: none;
}
.nav__logo-glyph {
  font-family: 'EB Garamond', Garamond, Georgia, serif;
  font-style: italic;
  font-size: 2.8rem;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
  align-self: center;
  /* ∿ sits near the bottom of the em-box; pull it up into visual centre */
  transform: translateY(-0.16em);
  transition: opacity 0.2s;
}
.nav__logo:hover .nav__logo-glyph { opacity: 0.75; }
.nav__logo-text { display: flex; flex-direction: column; }
.nav__logo-name { font-size: 19px; font-weight: 800; color: var(--text); letter-spacing: -0.03em; transition: color 0.3s; }
.nav__logo-name span { color: var(--primary); }
.nav__logo-sub { font-size: 9px; font-weight: 500; letter-spacing: 0.22em; color: var(--text-dim); text-transform: uppercase; margin-top: 2px; }
.nav__links { display: flex; gap: 36px; list-style: none; }
.nav__links a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
  text-decoration: none; transition: color 0.2s;
}
.nav__links a:hover { color: var(--primary); }
.nav__right { display: flex; align-items: center; gap: 16px; }

/* Theme toggle */
.theme-toggle {
  width: 40px; height: 22px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 11px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
  flex-shrink: 0;
}
.theme-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), background 0.3s;
}
[data-theme="dark"] .theme-toggle { background: var(--accent-dim); border-color: var(--border-strong); }
[data-theme="dark"] .theme-toggle::after { transform: translateX(18px); background: var(--primary); }
.theme-toggle__icon { font-size: 10px; position: absolute; top: 50%; transform: translateY(-50%); }
.theme-toggle__icon--sun  { right: 5px; opacity: 1; }
.theme-toggle__icon--moon { left: 5px;  opacity: 0; }
[data-theme="dark"] .theme-toggle__icon--sun  { opacity: 0; }
[data-theme="dark"] .theme-toggle__icon--moon { opacity: 1; }

.nav__cta {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: #fff;
  background: var(--primary); border: none;
  padding: 9px 20px; border-radius: 3px;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.nav__cta:hover { background: var(--primary-light); transform: translateY(-1px); color: #fff; }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav { padding: 0 20px; }
}

/* ── HERO (theme-aware) ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--hero-bg);
  transition: background 0.45s ease;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
  transition: background-image 0.45s ease;
}
.hero__content {
  position: relative; z-index: 2;
  text-align: center; max-width: 900px; padding: 0 24px;
  opacity: 0; transform: translateY(40px);
  animation: fadeInUp 1s cubic-bezier(0.16,1,0.3,1) 0.4s forwards;
}
.hero__tag { margin-bottom: 32px; }
.hero__headline {
  font-size: clamp(48px, 7.5vw, 92px);
  font-weight: 800; color: var(--hero-text); line-height: 1.0;
  margin-bottom: 28px; letter-spacing: -0.035em;
  transition: color 0.45s ease;
}
.hero__headline span { color: var(--primary); }
.hero__sub {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300; color: var(--hero-muted); line-height: 1.65;
  max-width: 620px; margin: 0 auto 48px;
  transition: color 0.45s ease;
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
/* Dark mode overrides for hero elements */
[data-theme="dark"] .hero__tag .tag { color: var(--accent-light); border-color: rgba(45,212,191,0.35); background: rgba(45,212,191,0.07); }
[data-theme="dark"] .hero__headline span { color: #2DD4BF; }
[data-theme="dark"] .hero .btn-ghost { color: #2DD4BF; border-color: rgba(45,212,191,0.35); }
[data-theme="dark"] .hero .btn-ghost:hover { background: rgba(45,212,191,0.08); }
.hero__scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 2; opacity: 0;
  animation: fadeIn 1s ease 1.6s forwards;
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, #2DD4BF, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero__scroll-text { font-size: 9px; letter-spacing: 0.28em; color: var(--hero-scroll-text); text-transform: uppercase; transition: color 0.45s ease; }

/* ── STAT BAND ── */
.stat-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  transition: background 0.3s, border-color 0.3s;
}
.stat-band__inner { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-band__item {
  text-align: center; padding: 36px 28px;
  border-right: 1px solid var(--border);
  transition: border-color 0.3s;
}
.stat-band__item:last-child { border-right: none; }
.stat-band__value {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800; color: var(--primary); letter-spacing: -0.03em;
  line-height: 1; margin-bottom: 8px;
}
.stat-band__label { font-size: 12px; color: var(--text-muted); font-weight: 400; line-height: 1.45; }
@media (max-width: 768px) { .stat-band__inner { grid-template-columns: repeat(2,1fr); } }

/* ── PROBLEM CARDS ── */
.problem-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
}
@media (max-width: 768px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  background: var(--surface); padding: 40px 34px; position: relative; overflow: hidden;
  transition: background 0.3s;
}
.problem-card::before { content:''; position:absolute; top:0;left:0;right:0;height:3px; background:var(--danger); opacity:0.55; }
.problem-card__icon { width: 44px; height: 44px; margin-bottom: 20px; color: var(--danger); opacity: 0.75; }
.problem-card__title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.problem-card__body { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.problem-card__stat { margin-top: 20px; font-size: 28px; font-weight: 800; color: var(--danger); letter-spacing: -0.03em; }
.problem-card__stat-label { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

/* ── PRODUCT STICKY SCROLL ── */
.product-scroll-container { position: relative; height: 500vh; }
.product-sticky {
  position: sticky; top: 0; height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; overflow: hidden;
  background: var(--bg); transition: background 0.3s;
}
.product-sticky--alt { background: var(--bg-alt); }

.progress-track {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--border); z-index: 10;
}
.progress-fill { width: 100%; height: 0%; background: linear-gradient(to bottom, var(--primary), var(--accent-light)); transition: height 0.08s linear; }

.product-sticky__left { padding: 80px 60px 80px 80px; display: flex; flex-direction: column; justify-content: center; }
.product-sticky__right {
  height: 100%; display: flex; align-items: center; justify-content: center;
  padding: 60px 80px 60px 40px;
}

.product-label { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.product-label__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: nodePulse 2s ease-in-out infinite;
}
.product-label__text { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary); }

.product-label--vision .product-label__dot { background: #7C3AED; box-shadow: 0 0 10px rgba(124,58,237,0.35); }
.product-label--vision .product-label__text { color: #7C3AED; }

.product-name {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 800; color: var(--text); letter-spacing: -0.03em;
  margin-bottom: 16px; line-height: 1.0;
}
.product-tagline { font-size: 15px; font-weight: 400; color: var(--text-muted); line-height: 1.65; margin-bottom: 36px; max-width: 380px; }

.phase-steps { display: flex; flex-direction: column; }
.phase-step {
  display: flex; gap: 18px; padding: 18px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0.3; transition: opacity 0.4s ease;
}
.phase-step:last-child { border-bottom: none; }
.phase-step.active { opacity: 1; }
.phase-step__num {
  width: 28px; height: 28px; flex-shrink: 0;
  border: 1px solid var(--border-strong); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--primary);
  letter-spacing: 0.05em; transition: background 0.3s, border-color 0.3s;
}
.phase-step.active .phase-step__num { background: var(--accent-dim); border-color: var(--primary); }
.phase-step--vision .phase-step__num { color: #7C3AED; }
.phase-step--vision.active .phase-step__num { background: rgba(124,58,237,0.08); border-color: #7C3AED; }

.phase-step__title { font-size: 12px; font-weight: 700; color: var(--text); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 3px; }
.phase-step__desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* Viz panel */
.viz-wrap { width: 100%; max-width: 460px; }
.viz-canvas {
  width: 100%; aspect-ratio: 1;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

@media (max-width: 1024px) {
  .product-sticky { grid-template-columns: 1fr; }
  .product-sticky__right { display: none; }
  .product-sticky__left { padding: 60px 32px; }
}

/* ── PLATFORM CARDS ── */
.platform-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-bottom: 64px; }
@media (max-width: 768px) { .platform-grid { grid-template-columns: 1fr; } }
.platform-card { background: var(--surface); padding: 40px 34px; transition: background 0.3s; }
.platform-card__icon { width: 40px; height: 40px; color: var(--primary); margin-bottom: 18px; }
.platform-card__title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.platform-card__body { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── TIMELINE ── */
.timeline {
  display: grid; grid-template-columns: repeat(4,1fr);
  position: relative; margin-top: 72px;
}
.timeline::before {
  content:''; position:absolute;
  top: 19px; left: calc(12.5%); right: calc(12.5%);
  height: 1px; background: var(--border-strong); transition: background 0.3s;
}
.timeline__step {
  text-align: center; padding: 0 20px;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.timeline__step.visible { opacity: 1; transform: none; }
.timeline__step-dot {
  width: 38px; height: 38px;
  border: 2px solid var(--primary); border-radius: 50%;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-size: 13px; font-weight: 700; color: var(--primary);
  position: relative; z-index: 1;
  transition: background 0.3s;
}
.timeline__step-title { font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.timeline__step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 768px) {
  .timeline { grid-template-columns: repeat(2,1fr); }
  .timeline::before { display: none; }
}

/* ── MOAT CARDS ── */
.moat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 1024px) { .moat-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .moat-grid { grid-template-columns: 1fr; } }
.moat-card {
  background: var(--surface); border: 1px solid var(--border);
  padding: 36px 30px; border-radius: 6px; position: relative; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.moat-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.moat-card::after {
  content:''; position:absolute; bottom:0;left:0;right:0;height:2px;
  background: linear-gradient(to right, var(--primary), var(--accent-light));
  opacity: 0; transition: opacity 0.3s;
}
.moat-card:hover::after { opacity: 1; }
.moat-card__icon { width: 40px; height: 40px; color: var(--primary); margin-bottom: 16px; }
.moat-card__title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.moat-card__body { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ── MARKET ── */
.market-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 72px; align-items: start; }
@media (max-width: 1024px) { .market-grid { grid-template-columns: 1fr; } }
.market-numbers { display: flex; flex-direction: column; gap: 28px; }
.market-num { padding-bottom: 28px; border-bottom: 1px solid var(--border); transition: border-color 0.3s; }
.market-num:last-child { border-bottom: none; }
.market-num__value { font-size: 42px; font-weight: 800; color: var(--primary); letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px; }
.market-num__label { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.market-narrative h3 { font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 20px; }
.market-narrative p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.expansion-steps { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.expansion-step {
  display: flex; align-items: flex-start; gap: 16px; padding: 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
  transition: border-color 0.3s, background 0.3s;
}
.expansion-step:hover { border-color: var(--border-strong); }
.expansion-step__phase {
  flex-shrink: 0; width: 52px; height: 22px;
  background: var(--accent-dim); border: 1px solid var(--border-strong); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--primary);
}
.expansion-step__content h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.expansion-step__content p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ── COMPARE TABLE ── */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 40px; }
.compare-table th {
  padding: 14px 20px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim);
  text-align: left; border-bottom: 1px solid var(--border); background: var(--bg-alt);
  transition: background 0.3s, border-color 0.3s;
}
.compare-table th:last-child { color: var(--primary); background: var(--accent-dim); border-left: 1px solid var(--border-strong); }
.compare-table td {
  padding: 14px 20px; font-size: 14px; color: var(--text-muted);
  border-bottom: 1px solid var(--border); vertical-align: middle;
  transition: border-color 0.3s;
}
.compare-table td:first-child { color: var(--text); font-weight: 500; }
.compare-table td:last-child { background: var(--accent-dim); border-left: 1px solid var(--border-strong); color: var(--text); font-weight: 500; }
.compare-table tr:hover td { background: var(--bg-alt); }
.compare-table tr:hover td:last-child { background: var(--accent-dim); }

/* ── CTA ── */
.cta-section {
  padding: 160px 0; text-align: center;
  background: var(--bg-alt); position: relative; overflow: hidden;
  transition: background 0.3s;
}
.cta-section::before {
  content:''; position:absolute; top:50%;left:50%;transform:translate(-50%,-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { font-size: clamp(36px,5vw,62px); font-weight:800; color:var(--text); margin-bottom:18px; position:relative; }
.cta-section p { font-size: 18px; color: var(--text-muted); margin-bottom: 44px; font-weight: 300; position: relative; }
.cta-section .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-contact { margin-top: 32px; font-size: 13px; color: var(--text-dim); position: relative; }
.cta-contact a { color: var(--primary); text-decoration: none; }

/* ── PRODUCT INTRO ── */
.product-intro { padding: 80px 0 40px; text-align: center; background: var(--bg); transition: background 0.3s; }
.product-intro--alt { background: var(--bg-alt); }
.product-intro__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary); margin-bottom: 18px; display: block; }
.product-intro__eyebrow--vision { color: #7C3AED; }
.product-intro__name { font-size: clamp(52px, 8vw, 96px); font-weight: 800; color: var(--text); letter-spacing: -0.04em; line-height: 0.95; margin-bottom: 24px; }
.product-intro__desc { font-size: clamp(16px, 1.8vw, 19px); font-weight: 400; color: var(--text-muted); max-width: 560px; margin: 0 auto 52px; line-height: 1.7; }

/* ── FOOTER ── */
.footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 48px 0 40px; transition: background 0.3s, border-color 0.3s;
}
.footer__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__logo { font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; margin-bottom: 8px; }
.footer__logo span { color: var(--primary); }
.footer__copy { font-size: 12px; color: var(--text-dim); line-height: 1.6; }
.footer__links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; padding-top: 4px; }
.footer__links a { font-size: 12px; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.footer__links a:hover { color: var(--primary); }

/* ══════════════════════════════════════════════
   ii.inc-INSPIRED ENHANCEMENTS
   Negative space, centered headers, serif italic
   ══════════════════════════════════════════════ */

/* Extra breathing room on section inner padding */
.section__inner { padding-top: 120px; padding-bottom: 120px; }

/* Centered "meet the product" header — used above each sticky scroll */
.product-intro__name {
  font-size: clamp(58px, 8.5vw, 104px);
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin-bottom: 28px;
}

/* Serif em inside the large product intro name */
.product-intro__name .serif-em {
  font-size: 0.9em;
  display: inline-block;
  vertical-align: baseline;
}

/* Increase stat-band breathing room */
.stat-band__item { padding: 48px 32px; }
.stat-band__value { font-size: clamp(30px, 4.5vw, 52px); }

/* Extra hero breathing */
.hero__sub { max-width: 580px; margin-bottom: 56px; }
.hero__content { padding: 0 32px; }

/* Product sticky left panel - more air */
.product-sticky__left { padding: 100px 60px 100px 88px; }

/* Phase step more line-height */
.phase-step__desc { font-size: 13.5px; line-height: 1.65; }

/* Moat / problem cards — slightly deeper padding */
.moat-card { padding: 44px 36px; }
.problem-card { padding: 48px 38px; }

/* CTA section more room */
.cta-section { padding: 160px 0; }

/* Footer more breathing */
.footer { padding: 64px 0 52px; }

/* Nav wordmark glyph */
.nav__glyph {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1em;
  color: var(--primary);
  opacity: 0.75;
  margin-right: 2px;
  vertical-align: baseline;
}

/* Stat-band label serif accent */
.stat-band__value em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.8em;
  letter-spacing: 0;
}

/* Dark-mode cream overrides - keep dark surfaces dark */
[data-theme="dark"] .stat-band  { background: var(--bg-alt); }
[data-theme="dark"] .product-intro { background: var(--bg); }
[data-theme="dark"] .product-intro--alt { background: var(--bg-alt); }

/* ══════════════════════════════════════════════
   HAMBURGER + MOBILE NAV OVERLAY
══════════════════════════════════════════════ */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 17px;
  background: none; border: none;
  cursor: pointer; padding: 0;
  z-index: 1002; flex-shrink: 0;
}
.nav__burger span {
  display: block; width: 100%; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.23,1,0.32,1),
              opacity   0.25s ease;
  transform-origin: center;
}
.nav__burger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Full-screen mobile menu overlay */
.nav__mobile-menu {
  position: fixed; inset: 0;
  z-index: 998;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  padding-top: 64px;
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.nav__mobile-menu.open {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.nav__mobile-menu ul { list-style: none; text-align: center; width: 100%; padding: 0 32px; }
.nav__mobile-menu li { margin-bottom: 0; border-bottom: 1px solid var(--border); }
.nav__mobile-menu li:first-child { border-top: 1px solid var(--border); }
.nav__mobile-menu a {
  display: block; padding: 22px 0;
  font-size: 1.4rem; font-weight: 700; color: var(--text);
  text-decoration: none; letter-spacing: -0.02em;
  transition: color 0.2s;
}
.nav__mobile-menu a:hover { color: var(--primary); }
.mobile-nav__cta {
  color: var(--primary) !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   MOBILE BREAKPOINTS  (≤ 768px)
══════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Nav */
  .nav__burger { display: flex; }
  .nav__cta    { display: none; }
  .nav { padding: 0 20px; }

  /* Hero */
  .hero__headline { font-size: clamp(38px, 11vw, 60px); }
  .hero__sub      { font-size: 16px; }
  .hero__actions  { flex-direction: column; align-items: center; gap: 12px; }
  .hero__scroll   { display: none; }

  /* Stat band */
  .stat-band__item { padding: 28px 16px; }

  /* Product intro */
  .product-intro { padding: 64px 24px; }
  .product-intro__name { font-size: clamp(44px, 14vw, 72px); }

  /* Product scroll — disable parallax, show SVG static */
  .product-scroll-container { height: auto !important; }
  .product-sticky {
    position: relative !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
  }
  .product-sticky__right {
    display: flex !important;
    width: 100% !important;
    max-width: 360px;
    padding: 32px 20px 12px !important;
    order: -1; /* SVG above text */
  }
  .viz-wrap { max-width: 300px; margin: 0 auto; }
  .product-sticky__left {
    padding: 24px 24px 48px !important;
    width: 100%;
  }
  .progress-track { display: none; }
  /* All phase steps visible on mobile (no progressive reveal) */
  .phase-step { opacity: 1 !important; border-bottom-color: var(--border); }
  .phase-step:last-child { border-bottom: none; }

  /* Product name smaller */
  .product-name { font-size: clamp(28px, 9vw, 44px); margin-bottom: 12px; }
  .product-tagline { font-size: 14px; margin-bottom: 24px; }

  /* Section divider */
  .section-divider { padding: 1rem 0; font-size: 1.2rem; }

  /* Platform/moat/market cards */
  .platform-grid { grid-template-columns: 1fr; }
  .moat-grid     { grid-template-columns: 1fr; }
  .market-grid   { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline::before { display: none; }

  /* CTA */
  .cta-section { padding: 80px 0; }
  .cta-section h2 { font-size: clamp(28px, 9vw, 42px); }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }

  /* Comparison table horizontal scroll */
  .compare-table { overflow-x: auto; }
  .compare-table table { min-width: 480px; }
}

/* Tablet (769–1024) — already partially handled above */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav__burger { display: none; }
}
