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

:root {
  --bg: #FAF8F5;
  --bg-alt: #F0EDE8;
  --fg: #1A1A18;
  --fg-muted: #6B6B63;
  --accent: #1B4332;
  --accent-warm: #C2703A;
  --accent-light: #E8F0ED;
  --border: #E0DBD3;
  --card-bg: #FFFFFF;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAVIGATION === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.875rem;
  color: var(--fg-muted);
  font-weight: 400;
}

/* === SECTION LABELS === */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-warm);
  margin-bottom: 0.75rem;
}

/* === HERO === */
.hero {
  padding: 5rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-warm);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-lede {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* App Grid */
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.app-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.app-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.app-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg);
  margin-bottom: 0.15rem;
}

.app-count {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.app-card--sleep { border-top: 3px solid #6B5FD4; }
.app-card--fitness { border-top: 3px solid #E05C3A; }
.app-card--mind { border-top: 3px solid #2D8B6E; }
.app-card--nutrition { border-top: 3px solid #C4943A; }
.app-card--womens { border-top: 3px solid #B04D8C; }
.app-card--recovery { border-top: 3px solid #3A8CC4; }

/* === PROBLEM === */
.problem {
  background: var(--fg);
  padding: 5rem 2rem;
}

.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.problem-header {
  margin-bottom: 3rem;
}

.problem-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--bg);
  letter-spacing: -0.02em;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.problem-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
}

.problem-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #F5F4F0;
  margin-bottom: 0.75rem;
}

.problem-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* === CURATION === */
.curation {
  padding: 5rem 2rem;
  background: var(--bg);
}

.curation-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.curation-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.curation-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.curation-process {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-warm);
  min-width: 2rem;
}

.step-text {
  font-size: 0.9rem;
  color: var(--fg);
  font-weight: 500;
}

.reviewer-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}

.reviewer-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.reviewer-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}

.reviewer-role {
  display: block;
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.reviewer-quote {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  font-style: italic;
}

/* === CATEGORIES === */
.categories {
  background: var(--bg-alt);
  padding: 5rem 2rem;
}

.categories-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.categories-header {
  margin-bottom: 3rem;
}

.categories-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.category-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
}

.category-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.category-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.category-card p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.category-apps {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  line-height: 1.5;
}

/* === MANIFESTO === */
.manifesto {
  background: var(--accent);
  padding: 5rem 2rem;
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  color: #F5F4F0;
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.manifesto-attribution {
  font-size: 0.85rem;
  color: rgba(245, 244, 240, 0.5);
}

/* === CLOSING === */
.closing {
  padding: 5rem 2rem 6rem;
  background: var(--bg);
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.closing-headline em {
  font-style: italic;
  color: var(--accent);
}

.closing-body {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.closing-promise {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 380px;
  margin: 0 auto;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--fg);
  font-weight: 500;
}

.promise-icon {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
}

/* === FOOTER === */
.footer {
  background: var(--fg);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--bg);
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.5rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .curation-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero {
    padding: 3rem 1.5rem 3rem;
  }

  .nav-inner {
    padding: 0.875rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .app-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .app-card {
    padding: 0.875rem;
  }
}