/* ===== TOKENS ===== */
:root {
  --bg: #FAF8F5;
  --surface: #F2EDE6;
  --fg: #1a1a1a;
  --fg-muted: #6b635a;
  --accent: #D97706;
  --accent-light: #FEF3C7;
  --border: #E2D9CE;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* ===== 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: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== HERO ===== */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 600;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 440px;
}

/* ===== PRODUCT STACK ===== */
.product-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  gap: 6px 12px;
}
.card-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg);
}
.card-meta {
  font-size: 0.75rem;
  color: var(--fg-muted);
  grid-column: 1;
}
.card-bar {
  grid-column: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}
.card-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}
.card-stat {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  grid-row: 1 / 4;
  grid-column: 2;
  display: flex;
  align-items: center;
}

/* ===== SECTIONS ===== */
section { padding: 80px 48px; }
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 48px;
  line-height: 1.2;
}

/* ===== PROBLEM ===== */
.problem { background: var(--fg); color: var(--bg); }
.problem .section-heading { color: var(--bg); }
.problem-inner { max-width: 1100px; margin: 0 auto; }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
  margin-bottom: 56px;
}
.problem-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.problem-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.problem-item p { font-size: 0.95rem; line-height: 1.6; color: rgba(250,248,245,0.8); }
.problem-statement {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--accent);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 40px;
}

/* ===== SOLUTION ===== */
.solution { background: var(--bg); }
.solution-inner { max-width: 1100px; margin: 0 auto; }
.solution-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 600;
}
.pillar-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.pillar-body {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===== HOW ===== */
.how { background: var(--surface); }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-steps {
  display: flex;
  gap: 0;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 12px);
  right: calc(16.67% + 12px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.step {
  flex: 1;
  padding: 0 32px 0 0;
}
.step-connector { height: 20px; }
.step-content { padding-top: 0; }
.step-num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.step-body { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.7; }

/* ===== MANIFESTO ===== */
.manifesto { background: var(--bg); }
.manifesto-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
  margin-bottom: 20px;
}
.manifesto-attr {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ===== CLOSING ===== */
.closing {
  background: var(--fg);
  color: var(--bg);
}
.closing-inner { max-width: 1100px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 24px;
  line-height: 1.15;
}
.closing-body {
  font-size: 1rem;
  color: rgba(250,248,245,0.7);
  line-height: 1.8;
  max-width: 580px;
}

/* ===== FOOTER ===== */
.footer { background: var(--bg); border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  display: block;
  margin-bottom: 8px;
}
.footer-desc {
  font-size: 0.8rem;
  color: var(--fg-muted);
  max-width: 280px;
  line-height: 1.6;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  section, .hero { padding: 60px 24px; }
  .nav { padding: 20px 24px; }
  .hero { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .product-stack { flex-direction: row; overflow-x: auto; }
  .product-card { min-width: 220px; }
  .problem-grid { grid-template-columns: 1fr; }
  .solution-pillars { grid-template-columns: 1fr; gap: 32px; }
  .how-steps { flex-direction: column; gap: 32px; }
  .how-steps::before { display: none; }
  .step-connector { display: none; }
  .footer-inner { flex-direction: column; padding: 40px 24px; }
  .footer-meta { text-align: left; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .product-card { padding: 16px; }
  .card-stat { font-size: 0.95rem; }
}