/* === Variables === */
:root {
  --bg: #FAFAF8;
  --bg-alt: #F0EFEB;
  --fg: #141413;
  --fg-muted: #6B6964;
  --accent: #E85D04;
  --accent-warm: #FEF3C7;
  --accent-dark: #C2410C;
  --sage: #4A7C59;
  --sage-light: #ECFDF5;
  --border: #E5E4DF;
  --card-bg: #FFFFFF;
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--fg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }

/* === Nav === */
.nav {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 400;
}

/* === Hero === */
.hero {
  padding: 80px 40px 100px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 28px;
}
.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--accent-warm);
  color: var(--accent-dark);
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* === UI Cards === */
.ui-card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ui-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
}
.ui-card--morning { border-left: 4px solid var(--accent); }
.ui-card--summary { border-left: 4px solid var(--sage); }
.ui-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.ui-avatar {
  width: 36px;
  height: 36px;
  background: var(--fg);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.ui-card-title { font-weight: 600; font-size: 0.9rem; }
.ui-card-sub { font-size: 0.75rem; color: var(--fg-muted); }
.ui-card-body { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.6; }
.ui-card-body p { margin-bottom: 10px; }
.ui-q {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--fg);
  font-weight: 500;
}
.ui-q:last-child { border-bottom: none; }
.ui-sum-row {
  display: flex;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}
.ui-sum-row:last-child { border-bottom: none; }
.ui-sum-label { font-weight: 600; color: var(--fg-muted); min-width: 60px; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.05em; align-self: center; }
.ui-sum-val { color: var(--fg); }
.ui-sum-blocker .ui-sum-val { color: var(--accent); }

/* === Problem === */
.problem {
  background: var(--bg-alt);
  padding: 80px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.problem-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.problem-content, .solution-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.problem-item, .solution-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--card-bg);
}
.problem-item { border: 1px solid var(--border); }
.solution-item { border: 1px solid #D1FAE5; background: var(--sage-light); }
.problem-icon { font-size: 1.1rem; color: #EF4444; flex-shrink: 0; line-height: 1.6; }
.solution-icon { font-size: 1.1rem; color: var(--sage); flex-shrink: 0; line-height: 1.6; }
.problem-title, .solution-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--fg);
}
.problem-desc, .solution-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.5;
}
.problem-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.problem-divider-line { flex: 1; height: 1px; background: var(--border); }
.problem-divider-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

/* === Features === */
.features {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.features-header { text-align: center; margin-bottom: 56px; }
.features-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.features-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #F97316);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.feature-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--bg-alt);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.05em;
}
.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--fg);
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === How (stats) === */
.how {
  background: var(--fg);
  color: #fff;
  padding: 80px 40px;
}
.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.how-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 40px;
  text-align: center;
}
.how-content {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
}
.how-stat { text-align: center; max-width: 320px; }
.how-stat-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.05em;
}
.how-stat-desc {
  font-size: 1rem;
  color: #D1D5DB;
  line-height: 1.7;
}
.how-divider {
  width: 1px;
  height: 80px;
  background: #374151;
}

/* === Closing === */
.closing {
  padding: 100px 40px;
  text-align: center;
  background: var(--bg);
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-tagline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === Footer === */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 40px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.footer-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-copy {
  font-size: 0.75rem;
  color: #A3A3A3;
  letter-spacing: 0.05em;
}

/* === Responsive === */
@media (max-width: 900px) {
  .hero { padding: 60px 24px 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .ui-card-stack { display: none; }
  .problem-content, .solution-content { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .how-content { flex-direction: column; }
  .how-divider { width: 80px; height: 1px; }
  .nav { padding: 16px 24px; }
}

@media (max-width: 480px) {
  .features, .problem, .how, .closing { padding: 60px 20px; }
  .hero { padding: 48px 20px 64px; }
}