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

:root {
  --bg: #FAFAF7;
  --bg-alt: #F0EFE8;
  --fg: #1C1C1A;
  --fg-muted: #6B6B63;
  --fg-faint: #A3A39B;
  --accent: #2D6A4F;
  --accent-hover: #245A42;
  --accent-amber: #C07A1A;
  --border: #E0DED6;
  --card: #FFFFFF;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06);
  --radius: 12px;
  --radius-lg: 20px;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,247,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--fg);
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-link {
  text-decoration: none; color: var(--fg-muted); font-size: 0.9rem;
  font-weight: 500; transition: color 0.15s;
}
.nav-link:hover { color: var(--fg); }
.nav-cta {
  text-decoration: none; color: var(--accent);
  font-size: 0.875rem; font-weight: 600;
  border: 1.5px solid var(--accent);
  padding: 8px 18px; border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav-cta:hover { background: var(--accent); color: #fff; }

/* ===== HERO ===== */
.hero {
  padding: 80px 32px 64px;
  max-width: 1200px; margin: 0 auto;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400; line-height: 1.1;
  color: var(--fg); margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic; color: var(--accent);
  font-weight: 300;
}
.hero-body {
  font-size: 1.0625rem; color: var(--fg-muted);
  line-height: 1.65; max-width: 440px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; }
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--accent); color: #fff;
  text-decoration: none; font-weight: 600; font-size: 0.9375rem;
  padding: 14px 28px; border-radius: var(--radius);
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center;
  color: var(--fg-muted); text-decoration: none;
  font-weight: 500; font-size: 0.9375rem;
  padding: 14px 24px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--fg-muted); color: var(--fg); }
.hero-proof { display: flex; align-items: center; gap: 28px; }
.proof-item { display: flex; flex-direction: column; gap: 2px; }
.proof-num { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--fg); }
.proof-label { font-size: 0.75rem; color: var(--fg-faint); font-weight: 500; letter-spacing: 0.02em; }
.proof-divider { width: 1px; height: 32px; background: var(--border); }

/* ===== DASHBOARD CARD ===== */
.dashboard-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--card-shadow);
}
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dash-title { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--fg); }
.dash-badge {
  display: flex; align-items: center; gap: 7px;
  background: #EDFAF3; color: var(--accent);
  font-size: 0.75rem; font-weight: 600; padding: 5px 10px; border-radius: 20px;
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: pulse-dot 1.5s ease-in-out infinite;
}
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.dash-stat { display: flex; flex-direction: column; gap: 2px; }
.stat-val { font-family: var(--font-head); font-size: 1.625rem; font-weight: 600; color: var(--fg); line-height: 1; }
.stat-label { font-size: 0.6875rem; color: var(--fg-faint); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.stat-delta { font-size: 0.6875rem; font-weight: 600; margin-top: 4px; }
.stat-delta.up { color: var(--accent); }
.dash-feed { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.feed-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border-radius: 8px; padding: 10px 14px;
}
.feed-row.success { background: #EDFAF3; }
.feed-icon { font-size: 0.75rem; flex-shrink: 0; color: var(--accent); }
.feed-text { font-size: 0.8125rem; color: var(--fg-muted); flex: 1; }
.feed-time { font-size: 0.6875rem; color: var(--fg-faint); flex-shrink: 0; }
.dash-agents { display: flex; flex-direction: column; gap: 8px; }
.agent-bar { display: flex; align-items: center; gap: 10px; }
.agent-label { font-size: 0.6875rem; color: var(--fg-faint); font-weight: 500; width: 70px; flex-shrink: 0; }
.agent-track { flex: 1; height: 6px; background: var(--bg-alt); border-radius: 3px; overflow: hidden; }
.agent-fill { height: 100%; background: var(--accent); border-radius: 3px; }
.agent-pct { font-size: 0.6875rem; font-weight: 600; color: var(--fg-muted); width: 28px; text-align: right; }

/* ===== LOGOS ===== */
.logos { padding: 0 32px 72px; }
.logos-inner { max-width: 1200px; margin: 0 auto; }
.logos-label { font-size: 0.8125rem; color: var(--fg-faint); text-align: center; margin-bottom: 32px; font-weight: 500; letter-spacing: 0.03em; }
.logos-marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.logos-track {
  display: flex; align-items: center; gap: 48px;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-item {
  font-family: var(--font-head); font-size: 1rem; font-weight: 600;
  color: var(--fg-faint); white-space: nowrap; letter-spacing: -0.01em;
}

/* ===== FEATURES ===== */
.features { padding: 80px 32px; background: var(--card); }
.features-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.section-headline {
  font-family: var(--font-head); font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400; line-height: 1.15; color: var(--fg);
}
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.feature-card:hover {
  border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 18px;
}
.feature-title { font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600; margin-bottom: 10px; color: var(--fg); }
.feature-desc { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; }

/* ===== TIMELINE ===== */
.timeline { padding: 80px 32px; background: var(--bg); }
.timeline-inner { max-width: 1200px; margin: 0 auto; }
.timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.timeline-item { display: flex; flex-direction: column; }
.timeline-step { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.step-num {
  font-family: var(--font-head); font-size: 0.875rem; font-weight: 600;
  color: var(--accent); background: #EDFAF3;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-connector { flex: 1; height: 1px; background: var(--border); }
.step-day { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.step-title { font-family: var(--font-head); font-size: 1.1875rem; font-weight: 600; margin-bottom: 12px; color: var(--fg); }
.step-desc { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; margin-bottom: 16px; }
.step-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.step-list li {
  font-size: 0.8125rem; color: var(--fg-muted);
  padding-left: 16px; position: relative;
}
.step-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ===== RESULTS ===== */
.results { padding: 80px 32px; background: var(--card); }
.results-inner { max-width: 1200px; margin: 0 auto; }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.result-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.result-card.highlight { border-color: var(--accent); background: #EDFAF3; }
.result-metric { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.result-num { font-family: var(--font-head); font-size: 2.25rem; font-weight: 600; color: var(--fg); line-height: 1; }
.result-unit { font-size: 0.8125rem; color: var(--fg-muted); font-weight: 500; }
.result-context { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.55; margin-bottom: 16px; }
.result-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); }

/* ===== MANIFESTO ===== */
.manifesto { padding: 96px 32px; background: var(--fg); color: #fff; }
.manifesto-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.manifesto-headline {
  font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400; line-height: 1.3; color: #fff; margin-bottom: 28px;
}
.manifesto-body { font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.7; }
.manifesto-quote blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 28px;
}
.manifesto-quote blockquote p {
  font-family: var(--font-head); font-size: 1.375rem; font-weight: 400;
  font-style: italic; color: #fff; line-height: 1.5; margin-bottom: 16px;
}
.manifesto-quote blockquote cite {
  font-size: 0.875rem; color: rgba(255,255,255,0.5);
  font-style: normal; font-family: var(--font-body);
}

/* ===== CLOSING ===== */
.closing { padding: 96px 32px; background: var(--accent); color: #fff; text-align: center; }
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing-eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; margin-bottom: 20px; }
.closing-headline { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 400; line-height: 1.15; color: #fff; margin-bottom: 20px; }
.closing-body { font-size: 1rem; opacity: 0.8; line-height: 1.65; margin-bottom: 40px; }
.closing-integrations { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.int-label { font-size: 0.75rem; opacity: 0.6; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.int-list { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.int-item { font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.75); }
.int-sep { opacity: 0.4; }

/* ===== FOOTER ===== */
.footer { padding: 40px 32px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--fg); }
.footer-links { display: flex; gap: 24px; margin-left: auto; }
.footer-links a { text-decoration: none; color: var(--fg-muted); font-size: 0.875rem; transition: color 0.15s; }
.footer-links a:hover { color: var(--fg); }
.footer-copy { width: 100%; font-size: 0.8125rem; color: var(--fg-faint); text-align: center; margin-top: 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .features-grid, .results-grid { grid-template-columns: 1fr; }
  .timeline-grid { grid-template-columns: 1fr; }
  .hero-proof { flex-wrap: wrap; gap: 16px; }
  .dash-stats { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { margin-left: 0; }
  .nav-inner { padding: 0 20px; }
  .hero { padding: 48px 20px 40px; }
  .features, .timeline, .results, .manifesto, .closing { padding: 60px 20px; }
  .logos { padding: 0 20px 48px; }
}