:root {
  --bg: #FAF7F2;
  --bg-alt: #F0EBE3;
  --fg: #1A1A18;
  --fg-muted: #6B6860;
  --accent: #2D4A3E;
  --accent-light: #3D6454;
  --terracotta: #C4622D;
  --cream: #FDF9F4;
  --border: #E0D9CF;
  --sage: #6B8F71;
}

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

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

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

/* Navigation */
.nav {
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--fg);
}

.brand-mark {
  color: var(--terracotta);
  font-size: 1.1rem;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 2.5rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 85vh;
}

.hero-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: 'Lora', serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--fg);
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 42ch;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.meta-pill {
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  letter-spacing: 0.01em;
}

/* Stack mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.stack-mockup {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mock-layer {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.layer-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.6rem;
}

.layer-bar {
  height: 6px;
  background: var(--accent);
  border-radius: 3px;
  margin-bottom: 0.35rem;
  opacity: 0.7;
}

.bar-1 { width: 85%; }
.bar-2 { width: 62%; }
.bar-3 { width: 74%; }
.bar-4 { width: 90%; }
.bar-5 { width: 55%; }
.bar-6 { width: 78%; }
.bar-7 { width: 65%; }

.layer-status {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(107, 143, 113, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* How it works */
.howitworks {
  background: var(--bg-alt);
  padding: 5rem 2.5rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.section-headline {
  font-family: 'Lora', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--fg);
  max-width: 22ch;
  margin-bottom: 3.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1000px;
}

.step {}

.step-number {
  font-family: 'Lora', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--border);
  margin-bottom: 1rem;
  line-height: 1;
}

.step-title {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.step-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.howitworks-quote {
  margin-top: 4rem;
  max-width: 560px;
}

.howitworks-quote blockquote {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--fg);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.howitworks-quote cite {
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-style: normal;
}

/* Features */
.features {
  padding: 5rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.features-header { margin-bottom: 3.5rem; }

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

.feature-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  background: var(--cream);
  transition: box-shadow 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--fg);
}

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

/* Manifesto */
.manifesto {
  background: var(--accent);
  padding: 6rem 2.5rem;
}

.manifesto-inner {
  max-width: 700px;
  margin: 0 auto;
}

.manifesto-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}

.manifesto-statement {
  font-family: 'Lora', serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.5rem;
}

.manifesto-statement em {
  font-style: italic;
  color: #fff;
}

.manifesto-divider {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 2.5rem 0;
}

/* Outro */
.outro {
  padding: 8rem 2.5rem;
  text-align: center;
}

.outro-headline {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.outro-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 48ch;
  margin: 0 auto;
  line-height: 1.75;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--fg-muted);
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
    min-height: auto;
  }
  .hero-visual { display: none; }
  .hero-sub { max-width: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .outro { padding: 5rem 1.5rem; }
  .manifesto { padding: 4rem 1.5rem; }
  .howitworks { padding: 4rem 1.5rem; }
  .features { padding: 4rem 1.5rem; }
}