/* === TOKENS === */
:root {
  --bg: #faf7f2;
  --surface: #f0ebe3;
  --fg: #1a1a2e;
  --fg-muted: #6b6b7b;
  --accent: #c9a84c;
  --accent-dark: #a8883c;
  --highlight: #d4a5a5;
  --border: #ddd5c8;
  --green: #5a9e6f;
  --amber: #d4924c;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { 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;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-brand { display: flex; align-items: baseline; gap: 12px; }

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--fg);
}

.brand-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

/* === HERO === */
.hero {
  padding: 80px 48px 72px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 24px;
}

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

.hero-sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 460px;
}

/* Agent cards */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agent-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(26, 26, 46, 0.06);
}

.agent-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.agent-sourcing::before { background: var(--green); }
.agent-pricing::before { background: var(--accent); }
.agent-logistics::before { background: var(--amber); }

.agent-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }

.agent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.agent-dot.green { background: var(--green); box-shadow: 0 0 8px var(--green); }
.agent-dot.gold { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.agent-dot.amber { background: var(--amber); box-shadow: 0 0 8px var(--amber); }

.agent-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg);
}

.agent-body {}

.agent-task {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 4px;
}

.agent-status {
  font-size: 12px;
  color: var(--fg-muted);
}

/* === MANIFESTO === */
.manifesto {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 72px 48px;
}

.manifesto-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  margin-top: 48px;
}

.manifesto-label:first-child { margin-top: 0; }

.manifesto-content p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  margin-bottom: 20px;
}

.manifesto-content strong { color: var(--fg); font-weight: 600; }

.manifesto-break {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 0;
  margin-top: 40px;
}

/* === HOW IT WORKS === */
.howitworks {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
}

.hiw-header {
  max-width: 1200px;
  margin: 0 auto 56px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.25;
  max-width: 540px;
}

.hiw-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.hiw-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hiw-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26, 26, 46, 0.1);
}

.hiw-number {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--surface);
  line-height: 1;
  margin-bottom: 24px;
  -webkit-text-stroke: 1px var(--border);
}

.hiw-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 14px;
}

.hiw-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.hiw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 20px;
  background: var(--surface);
  color: var(--fg-muted);
  border: 1px solid var(--border);
}

/* === OUTCOMES === */
.outcomes {
  background: var(--fg);
  color: var(--bg);
  padding: 64px 48px;
  border-bottom: 1px solid #2a2a40;
}

.outcomes-inner { max-width: 1200px; margin: 0 auto; }

.outcomes .section-label { color: var(--accent); }

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-top: 40px;
}

.outcome {}

.outcome-stat {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.outcome-label {
  font-size: 13px;
  color: rgba(250, 247, 242, 0.6);
  line-height: 1.4;
}

/* === CLOSING === */
.closing {
  padding: 96px 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

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

.closing-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  font-style: italic;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === FOOTER === */
.footer {
  padding: 32px 48px;
  background: var(--surface);
}

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

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

.footer-desc {
  font-size: 12px;
  color: var(--fg-muted);
}

.footer-tag {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 1px;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hiw-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { padding: 20px 24px; }
  .hero, .manifesto-inner, .howitworks, .closing { padding-left: 24px; padding-right: 24px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .outcomes-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero { padding: 48px 20px; }
}