/* ============================================================
   KINDA — Novu-inspired light theme
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }


/* ── Letter scaleY reveal (studiolumio-style) ── */
.char-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.1;
}
.char-inner {
  display: inline-block;
  transform-origin: 50% 100%;
}

/* ── Hero cursor glow canvas ── */
.hero-glow-canvas {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* ── Initial hidden states (only when JS is present) ── */
.js .hero-headline,
.js .hero-sub,
.js .btn-hero,
.js .hero-note { opacity: 0; }
body {
  font-family: 'Nunito', sans-serif;
  background: #FFFFFF;
  color: #1A1A1A;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; }

/* ── Variables ── */
:root {
  --bg:        #FFFFFF;
  --surface:   #F5F4FA;
  --text:      #1A1A1A;
  --muted:     #888888;
  --muted-2:   #BBBBBB;
  --accent:    #F0B429;
  --border:    rgba(0,0,0,0.08);
  --border-2:  rgba(0,0,0,0.12);
}

/* ════════════════════════════════════════
   NAV
   ════════════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

/* Over the hero gradient — transparent */
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 48px 16px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 26px;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 8px 8px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-link {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 21px;
  border-radius: 100px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
}

/* Pill adapts when nav scrolls to white background */
.nav.scrolled .nav-links {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.nav.scrolled .nav-link       { color: rgba(255, 255, 255, 0.75); }
.nav.scrolled .nav-link:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.10); }
.nav.scrolled .btn-nav        { background: #1A1A1A; color: #FFFFFF; }

.btn-nav {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  background: #1A1A1A;
  color: #FFFFFF;
  padding: 12px 26px;
  border-radius: 100px;
  margin-left: 8px;
  transition: opacity 0.15s ease;
  cursor: pointer;
  flex-shrink: 0;
}
.btn-nav:hover { opacity: 0.82; }

/* Nav stays transparent at all times */
.nav.scrolled .nav-logo { color: #FFFFFF; }
.nav.scrolled .btn-nav  { background: #1A1A1A; }

/* ════════════════════════════════════════
   HERO — video background with gradient overlay
   ════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 68px 48px 80px;
  background: #0D2535; /* fallback while video loads */
  overflow: hidden;
}

/* ── Video background ── */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
}

.hero-vid.active {
  opacity: 1;
}

/* ── Color + vignette overlay on top of video ── */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg,
      rgba(18,48,72,0.82) 0%,
      rgba(30,72,100,0.72) 28%,
      rgba(52,112,136,0.62) 55%,
      rgba(90,156,172,0.52) 78%,
      rgba(140,192,205,0.42) 100%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(0,0,0,0.38) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* ── Grain texture ── */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1100px;
}

.hero-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 4.8vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 800px;
  margin: 0 auto 44px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 700;
  background: #FFFFFF;
  color: #1A1A1A;
  padding: 15px 36px;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
  letter-spacing: -0.01em;
}
.btn-hero:hover  { opacity: 0.88; }
.btn-hero:active { transform: scale(0.97); }

.hero-note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.01em;
}

/* ════════════════════════════════════════
   CONFESSION TICKER
   ════════════════════════════════════════ */
.confession-section {
  background: linear-gradient(180deg, #0B0B0E 0%, #131317 50%, #0B0B0E 100%);
  padding: 140px 0 180px;
  overflow: hidden;
}

.confession-label {
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin: 0 0 72px;
}

.ticker-viewport {
  position: relative;
  overflow: hidden;
}

.fade-left,
.fade-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 160px;
  pointer-events: none;
  z-index: 2;
}
.fade-left  { left: 0;  background: linear-gradient(to right, #0B0B0E, transparent); }
.fade-right { right: 0; background: linear-gradient(to left,  #0B0B0E, transparent); }

.ticker-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ticker-overflow { overflow: hidden; }

.ticker-track {
  display: flex;
  width: max-content;
  gap: 14px;
  will-change: transform;
}

.row-1 { animation: scroll-left  38s linear infinite; }
.row-2 { animation: scroll-right 46s linear infinite; }
.row-3 { animation: scroll-left  32s linear infinite; }

@keyframes scroll-left  { from { transform: translateX(0);    } to { transform: translateX(-50%); } }
@keyframes scroll-right { from { transform: translateX(-50%); } to { transform: translateX(0);    } }

.ticker-track:hover { animation-play-state: paused; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid;
  white-space: nowrap;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 400;
  flex-shrink: 0;
  cursor: default;
}

.chip i { font-size: 13px; opacity: 0.45; flex-shrink: 0; }

.chip-bone  { background: rgba(232,224,208,0.70); border-color: rgba(200,192,176,0.60); color: #4A3728; }
.chip-mint  { background: rgba(184,212,200,0.50); border-color: rgba(148,190,172,0.55); color: #2A4A3C; }
.chip-blush { background: rgba(232,196,184,0.55); border-color: rgba(200,160,144,0.50); color: #4A2820; }
.chip-sage  { background: rgba(168,181,162,0.45); border-color: rgba(138,154,132,0.50); color: #2C3828; }
.chip-warm  { background: rgba(245,242,236,0.90); border-color: rgba(210,200,185,0.70); color: #4A3728; }

.anchor-line {
  text-align: center;
  margin: 88px 0 0;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .chip { font-size: 13px; padding: 9px 14px; }
  .fade-left, .fade-right { width: 60px; }
  .anchor-line { font-size: 22px; margin-top: 48px; }
}


/* ════════════════════════════════════════
   HOW IT WORKS — Scroll-driven moments
   ════════════════════════════════════════ */
.how-section {
  position: relative;
  height: 500vh;
  background: rgb(14, 14, 17);
}

.how-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  background: rgb(14, 14, 17);
  color: rgb(245, 240, 228);
  will-change: background-color, color;
}

.how-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
  gap: 80px;
}

.how-copy {
  position: relative;
  height: 300px;
}

.moment {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  will-change: opacity, transform;
}

.moment.active {
  pointer-events: auto;
}

.moment-eyebrow {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0 0 14px;
}

.moment-headline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 22px;
}

.moment-body {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  opacity: 0.7;
  margin: 0;
  max-width: 420px;
}

.how-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: #0A0A0F;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2),
    0 40px 80px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(74, 127, 165, 0.08);
  transform: translateX(60px);
  opacity: 0;
  will-change: opacity, transform;
}

.phone-frame.entered {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: opacity;
}

.phone-screen.active {
  opacity: 1;
}

.progress-track {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.progress-track.visible {
  opacity: 1;
}

.progress-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.25;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.progress-dot.active {
  opacity: 1;
  transform: scale(1.5);
}

@media (max-width: 900px) {
  .how-layout {
    grid-template-columns: 1fr;
    padding: 0 32px;
    gap: 40px;
    justify-items: center;
  }

  .how-phone {
    order: -1;
  }

  .how-copy {
    height: 240px;
    width: 100%;
  }

  .phone-frame {
    width: 220px;
  }

  .progress-track {
    display: none;
  }
}



/* ════════════════════════════════════════
   WAITLIST — full-bleed gradient CTA
   ════════════════════════════════════════ */
.waitlist {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0D2535;
}

.waitlist-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.waitlist-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.waitlist-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(26, 58, 82, 0.72) 0%,
    rgba(42, 92, 120, 0.58) 45%,
    rgba(70, 132, 154, 0.48) 100%
  );
}

.waitlist-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 520px;
  padding: 80px 48px;
}

.waitlist-eyebrow {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}

.waitlist-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.waitlist-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 44px;
}

.waitlist-form-wrap { width: 100%; }

.waitlist-form-wrap form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-group { display: flex; flex-direction: column; gap: 6px; }

.field-group input {
  width: 100%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  padding: 16px 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  color: #FFFFFF;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field-group input::placeholder { color: rgba(255,255,255,0.38); }
.field-group input:focus {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.18);
}
.field-group input.error { border-color: rgba(255,120,100,0.7); }

.field-error {
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  color: rgba(255,160,140,0.95);
  min-height: 16px;
  padding-left: 4px;
  text-align: left;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.field-error.visible { opacity: 1; }

.btn-waitlist-submit {
  width: 100%;
  background: #FFFFFF;
  color: #1A1A1A;
  padding: 16px 28px;
  border-radius: 100px;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  letter-spacing: -0.01em;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.btn-waitlist-submit:hover  { opacity: 0.9; }
.btn-waitlist-submit:active { transform: scale(0.97); }
.btn-waitlist-submit.loading .btn-label  { opacity: 0; }
.btn-waitlist-submit.loading .btn-spinner { opacity: 1; }

.btn-spinner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(26,26,26,0.2);
  border-top-color: #1A1A1A;
  border-radius: 50%;
  opacity: 0;
  animation: spin 0.7s linear infinite;
  transition: opacity 0.15s ease;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-waitlist-submit.pulse { animation: pscale 0.25s ease-in-out; }
@keyframes pscale { 0%,100%{transform:scale(1)} 50%{transform:scale(0.97)} }

.waitlist-confirm { display: none; padding: 48px 0; }
.waitlist-confirm.visible {
  display: block;
  animation: fadeIn 0.3s ease forwards;
}
.confirm-text {
  font-family: 'Instrument Serif', serif;
  font-size: 26px;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.footer {
  background: #0E0E0E;
  padding: 28px 0;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 18px;
  color: rgba(255,255,255,0.4);
  letter-spacing: -0.01em;
}
.footer-copy {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.22);
}
.footer-link {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.28);
  transition: color 0.2s ease;
}
.footer-link:hover { color: rgba(255,255,255,0.55); }


/* ════════════════════════════════════════
   SOUND FAMILIAR — failure mode cards
   ════════════════════════════════════════ */
.sf-intro {
  max-width: 680px;
  margin: 100px auto 4.5rem;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
}

.sf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 0 auto 4rem;
  padding: 0 48px;
  max-width: 1200px;
}

.sf-card {
  border-radius: 32px;
  padding: 3.5rem 3rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 8px 48px rgba(0, 0, 0, 0.45),
    0 1px 2px rgba(0, 0, 0, 0.30);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.sf-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.10);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 20px 64px rgba(0, 0, 0, 0.55),
    0 2px 4px rgba(0, 0, 0, 0.30);
}

.sf-card__label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.sf-card__quote {
  font-family: 'Nunito', sans-serif;
  font-size: 1.25rem;
  line-height: 1.7;
  margin: 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.72);
}

.sf-card--blue   .sf-card__label { color: #7ab8f5; }
.sf-card--amber  .sf-card__label { color: #f5c97a; }
.sf-card--green  .sf-card__label { color: #90d46a; }
.sf-card--purple .sf-card__label { color: #c0b4f8; }
.sf-card--red    .sf-card__label { color: #f59090; }
.sf-card--gray   .sf-card__label { color: #c0bdb4; }

.sf-bridge {
  max-width: 640px;
  margin: 4rem auto 5rem;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 768px) {
  .sf-grid { grid-template-columns: 1fr; padding: 0 20px; }
}

/* ── Waitlist scarcity line ── */
.waitlist-scarcity {
  font-size: 0.8rem;
  opacity: 0.6;
  margin: -0.5rem 0 1.25rem;
  text-align: center;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
  .nav-inner   { padding: 0 24px; }
  .nav-links   { display: none; }

  .hero        { padding: 68px 24px 64px; }

  .waitlist-inner { padding: 60px 24px; }
  .footer-inner   { padding: 0 24px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: clamp(28px, 8vw, 44px); }
}

/* ════════════════════════════════════════
   MOBILE NAV — hamburger
   ════════════════════════════════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 10px;
  cursor: pointer;
  padding: 0 10px;
  justify-self: end;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.2s ease;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.16); }
.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(8,10,18,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.nav-mobile.open { display: flex; }

.nav-mobile-link {
  font-family: 'Nunito', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.80);
  padding: 14px 16px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-mobile-link:hover,
.nav-mobile-link:focus { background: rgba(255,255,255,0.08); color: #FFFFFF; outline: none; }

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
}

/* ════════════════════════════════════════
   SF-GRID — tablet 2-col
   ════════════════════════════════════════ */
@media (max-width: 1024px) and (min-width: 769px) {
  .sf-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════
   HOW SECTION — reduce scroll height on mobile
   ════════════════════════════════════════ */
@media (max-width: 900px) {
  .how-section { height: 350vh; }
}

/* ════════════════════════════════════════
   iOS SAFE AREA — notch / home indicator
   ════════════════════════════════════════ */
@supports (padding: env(safe-area-inset-top)) {
  .nav-inner {
    padding-top: max(20px, calc(env(safe-area-inset-top) + 8px));
  }
  .footer-inner {
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }
}

/* ════════════════════════════════════════
   REDUCED MOTION
   ════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .row-1, .row-2, .row-3 { animation: none; }
  .hero-vid { transition: none; }
  .phone-frame, .phone-frame.entered { transition: none; }
  .moment { transition: none; }
  .sf-card { transition: none; }
  html { scroll-behavior: auto; }
}
