/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --bg: #FAFAF7;
  --surface: #F2EDE6;
  --fg: #1A1A1A;
  --fg-secondary: #6B6359;
  --accent: #B85C2A;
  --accent-light: #D4896A;
  --border: #DDD5CA;
  --rule: #C9BFB4;
}

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

/* ─── Base ──────────────────────────────────────────────────── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ─── Navigation ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav-tagline {
  font-size: 0.8125rem;
  color: var(--fg-secondary);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

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

.hero-eyebrow {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-secondary);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.75rem, 5.5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

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

.hero-lede {
  font-size: 1.0625rem;
  color: var(--fg-secondary);
  line-height: 1.65;
  max-width: 480px;
}

/* Stat blocks */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.stat-block {
  padding: 1.5rem 2rem;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--fg);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--fg-secondary);
  line-height: 1.4;
}

.stat-divider {
  height: 1px;
  background: var(--border);
}

.hero-rule {
  height: 1px;
  background: var(--rule);
  margin: 3rem 0 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--fg-secondary);
  font-style: italic;
}

.hero-sub-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─── Manifesto ──────────────────────────────────────────────── */
.manifesto {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
}

.manifesto-inner {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  align-items: start;
}

.manifesto-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-secondary);
  padding-top: 0.25rem;
}

.manifesto-body p {
  font-size: 1.0625rem;
  color: var(--fg-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.manifesto-contrast {
  grid-column: 2;
  border-left: 2px solid var(--accent);
  padding-left: 2rem;
  margin-top: 0.5rem;
}

.manifesto-contrast p {
  font-size: 1rem;
  color: var(--fg);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ─── Agents ────────────────────────────────────────────────── */
.agents {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.agents-eyebrow {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-secondary);
  margin-bottom: 0.875rem;
}

.agents-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 2.875rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.agent-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.agent-icon {
  margin-bottom: 0.25rem;
}

.agent-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.agent-desc {
  font-size: 0.9375rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

.agent-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.agent-pills li {
  font-size: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.25rem 0.625rem;
  color: var(--fg-secondary);
  letter-spacing: 0.02em;
}

/* ─── Outcomes ──────────────────────────────────────────────── */
.outcomes {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 5rem 2rem;
}

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

.outcomes-eyebrow {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-secondary);
  margin-bottom: 0.875rem;
}

.outcomes-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--fg);
}

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

.outcome-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 1.25rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.outcome-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.outcome-item:first-child {
  padding-top: 0;
}

.outcome-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-top: 0.375rem;
}

.outcome-line {
  display: block;
  width: 1px;
  flex: 1;
  min-height: 20px;
  background: var(--border);
}

.outcome-item:first-child .outcome-line {
  min-height: 0;
}

.outcome-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.outcome-heading {
  font-family: 'DM Serif Display', serif;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.outcome-body {
  font-size: 0.9375rem;
  color: var(--fg-secondary);
  line-height: 1.65;
}

/* ─── Closing ───────────────────────────────────────────────── */
.closing {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.closing-rule {
  height: 1px;
  background: var(--rule);
  margin-bottom: 3.5rem;
}

.closing-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.closing-body {
  font-size: 1.0625rem;
  color: var(--fg-secondary);
  line-height: 1.65;
  max-width: 600px;
}

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2.5rem 2rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--fg-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-note {
  font-size: 0.875rem;
  color: var(--fg-secondary);
  font-style: italic;
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .manifesto-inner {
    grid-template-columns: 1fr;
  }

  .manifesto-label {
    padding-top: 0;
  }

  .manifesto-contrast {
    grid-column: 1;
    margin-top: 0;
  }

  .agents-grid {
    grid-template-columns: 1fr;
  }

  .outcomes-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 3.5rem 1.25rem 3rem;
  }

  .hero-sub {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-sub-dot {
    display: none;
  }

  .manifesto {
    padding: 3.5rem 1.25rem;
  }

  .agents {
    padding: 4rem 1.25rem;
  }

  .outcomes {
    padding: 3.5rem 1.25rem;
  }

  .closing {
    padding: 4rem 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}