/* ---- Variables ---- */
:root {
  --bg: #FAFAF8;
  --bg-warm: #F5F0E8;
  --bg-dark: #2A2420;
  --fg: #1C1A18;
  --fg-muted: #6B6358;
  --accent: #3D1A1A;
  --accent-warm: #A8894B;
  --sage: #6B7C6B;
  --border: #E0D9CE;
  --cream: #FAF7F2;
  --white: #FFFFFF;
}

/* ---- Reset & Base ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }

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

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

/* ---- Navbar ---- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 60px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-brand {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--fg); }

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 100px 60px 120px;
  overflow: hidden;
  background: var(--bg-warm);
}

.hero-bg-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(168,137,75,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 100%, rgba(61,26,26,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 60px;
  right: 60px;
  height: 1px;
  background: var(--border);
}

.hero-inner { max-width: 860px; position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-headline {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  line-height: 1.05;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 60px;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 0 48px 0 0;
}

.stat:first-child { padding-left: 0; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 6px;
  max-width: 140px;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  margin: 0 48px 0 0;
  flex-shrink: 0;
}

/* ---- Problem ---- */
.problem {
  padding: 120px 60px;
  background: var(--bg);
}

.problem-inner { max-width: 1100px; }

.problem-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 20px;
  font-weight: 500;
}

.problem-headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--fg);
  max-width: 680px;
  margin-bottom: 64px;
  letter-spacing: -0.02em;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.problem-card {
  background: var(--cream);
  padding: 48px;
}

.problem-icon {
  font-size: 1.5rem;
  color: var(--accent-warm);
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.problem-card h3 {
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 12px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ---- How It Works ---- */
.how-it-works {
  padding: 120px 60px;
  background: var(--bg-warm);
}

.how-inner { max-width: 1100px; }

.how-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 20px;
  font-weight: 500;
}

.how-headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--fg);
  max-width: 560px;
  margin-bottom: 80px;
  letter-spacing: -0.02em;
}

.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding-right: 32px;
}

.step-connector {
  width: 40px;
  height: 1px;
  background: var(--accent-warm);
  margin-top: 28px;
  flex-shrink: 0;
  opacity: 0.4;
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.15;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.step h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 10px;
}

.step p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ---- What It Runs ---- */
.what-it-runs {
  padding: 120px 60px;
  background: var(--accent);
}

.wir-inner { max-width: 1100px; }

.wir-header { margin-bottom: 64px; }

.wir-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 20px;
  font-weight: 500;
}

.wir-headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--cream);
  max-width: 560px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.wir-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wir-item {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.wir-item:first-child { border-top: 1px solid rgba(255,255,255,0.1); }

.wir-item-icon {
  font-size: 1.25rem;
  color: var(--accent-warm);
  margin-top: 2px;
  flex-shrink: 0;
  font-weight: 700;
}

.wir-item-text { flex: 1; }

.wir-item-text strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
  display: block;
  margin-bottom: 8px;
}

.wir-item-text p {
  font-size: 0.875rem;
  color: rgba(250,247,242,0.6);
  line-height: 1.6;
}

/* ---- Philosophy ---- */
.philosophy {
  padding: 120px 60px;
  background: var(--bg);
}

.phil-inner { max-width: 800px; }

.phil-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

.phil-rule {
  width: 80px;
  height: 2px;
  background: var(--accent-warm);
  margin-bottom: 36px;
}

.phil-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ---- Closing ---- */
.closing {
  padding: 120px 60px 140px;
  background: var(--bg-warm);
}

.closing-inner { max-width: 800px; }

.closing-rule {
  width: 80px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 48px;
}

.closing-headline {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  line-height: 1.1;
}

.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}

/* ---- Footer ---- */
.footer {
  padding: 40px 60px;
  background: var(--bg-dark);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
}

.footer-brand { display: flex; flex-direction: column; gap: 4px; }

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
}

.footer-desc {
  font-size: 0.7rem;
  color: rgba(250,247,242,0.4);
  letter-spacing: 0.05em;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(250,247,242,0.3);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .navbar { padding: 20px 24px; }
  .nav-links { display: none; }
  .hero { padding: 64px 24px 80px; }
  .hero-headline { font-size: 2.75rem; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 28px; }
  .stat-divider { display: none; }
  .stat { padding: 0; }
  .problem { padding: 80px 24px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { padding: 32px; }
  .how-it-works { padding: 80px 24px; }
  .how-steps { flex-direction: column; gap: 40px; }
  .step-connector { display: none; }
  .what-it-runs { padding: 80px 24px; }
  .philosophy { padding: 80px 24px; }
  .closing { padding: 80px 24px 100px; }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}