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

/* === Tokens === */
:root {
  --black:   #070707;
  --white:   #ffffff;
  --cream:   #f6f4ef;
  --text:    #0d0d0d;
  --muted:   #6b6b6b;
  --border:  #e5e5e5;
  --purple:  #7c3aed;
  --max-w:   1120px;
  --px:      clamp(20px, 5vw, 60px);
}

/* === Base === */
html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

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

/* === Header === */
.site-header {
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.wordmark {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
}

.nav-icons {
  display: flex;
  gap: 2px;
}

.nav-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav-icons a:hover { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.9); }
.nav-icons svg { width: 18px; height: 18px; }

/* =============================================
   DARK BAND — hero + Sporadic, unified dark zone
   ============================================= */
.dark-band {
  background: var(--black);
  color: var(--white);
  /* Subtle grid texture */
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  position: relative;
  overflow: hidden;
}

/* Purple atmospheric glow */
.dark-band::before {
  content: '';
  position: absolute;
  width: min(800px, 100vw);
  height: min(800px, 100vw);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 65%);
  top: -200px;
  left: -150px;
  pointer-events: none;
}

/* Second, softer glow for depth */
.dark-band::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  bottom: 0;
  right: -100px;
  pointer-events: none;
}

/* === Hero === */
.hero {
  padding: clamp(80px, 14vw, 160px) 0 clamp(64px, 10vw, 120px);
  position: relative;
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(3.75rem, 11vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.97;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 44px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  color: var(--black);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.15s;
  position: relative;
}

.btn-hero:hover { opacity: 0.88; }
.btn-hero svg { width: 17px; height: 17px; flex-shrink: 0; }

/* =============================================
   APP SECTIONS — shared
   ============================================= */
.app-section {
  position: relative;
  padding-top: clamp(64px, 10vw, 120px);
}

.app-split {
  display: grid;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

@media (min-width: 720px) {
  .app-split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.app-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 4vw, 32px);
}

.app-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.sproutings-section .app-label { color: var(--muted); }

.chips {
  display: flex;
  gap: 6px;
}

.chips span {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
}

/* Chips on dark */
.dark-band .chips span {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Chips on light */
.sproutings-section .chips span {
  background: #efefef;
  color: var(--muted);
}

/* Section headlines */
.app-section h2 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 14px;
}

.purple { color: var(--purple); }

.app-hook {
  font-size: clamp(1.375rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 24px;
}

.app-body {
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 36px;
}

.dark-band .app-body { color: rgba(255, 255, 255, 0.5); }
.sproutings-section .app-body { color: var(--muted); }

/* Store badges */
.badge-link {
  display: inline-block;
  transition: opacity 0.15s;
}

.badge-link:hover { opacity: 0.72; }

.store-badge { height: 44px; width: auto; }

/* White badge for dark backgrounds */
.badge-invert { filter: invert(1); }

.store-badges {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* =============================================
   SPORADIC — hero screenshot
   ============================================= */
.sporadic-section .split-shot {
  display: flex;
  justify-content: center;
}

.sporadic-img {
  width: 100%;
  max-width: 360px;
  border-radius: 28px;
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.85),
    0 0 80px rgba(124, 58, 237, 0.12),
    0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Secondary shots strip */
.shots-strip {
  margin-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(64px, 10vw, 120px);
}

.shots-track {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 var(--px) 4px;
}

.shots-track::-webkit-scrollbar { display: none; }

.shot {
  flex: 0 0 clamp(200px, 30vw, 300px);
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 20px 80px rgba(0, 0, 0, 0.75),
    0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s, box-shadow 0.25s;
}

.shot:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 100px rgba(0, 0, 0, 0.8),
    0 4px 16px rgba(0, 0, 0, 0.4);
}

.shot img { width: 100%; display: block; }

/* =============================================
   SPROUTINGS — light section
   ============================================= */
.sproutings-section {
  background: var(--cream);
  padding-bottom: clamp(64px, 10vw, 120px);
}

.sproutings-section .split-shot {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 12px;
}

.sproutings-img {
  width: 100%;
  max-width: 320px;
  border-radius: 4px;
  filter: drop-shadow(0 24px 64px rgba(0,0,0,0.14)) drop-shadow(0 4px 16px rgba(0,0,0,0.08));
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--cream);
  padding: 28px 0;
}

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

.footer-copy { font-size: 0.8125rem; color: var(--muted); }

.footer-nav { display: flex; gap: 20px; }

.footer-nav a {
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav a:hover { color: var(--text); }

/* =============================================
   DESKTOP: shots as a centered row, no scroll
   ============================================= */
@media (min-width: 900px) {
  .shots-track {
    overflow-x: visible;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 0 var(--px);
  }

  .shot { flex: 0 0 auto; width: calc((var(--max-w) - 2 * 60px - 2 * 24px) / 3); max-width: 320px; }
}
