:root {
  --bg: #faf8f4;
  --fg: #1a1916;
  --accent: #d4620a;
  --accent-dim: #f4e4d4;
  --muted: #6b6760;
  --border: #e5e0d8;
  --surface: #ffffff;
  --surface-2: #f3f0eb;
  --code-bg: #1c1a17;
  --code-fg: #f0ece4;
  --font-display: 'Spectral', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { 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 {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--fg);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-links {
  display: flex;
  gap: 40px;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--fg); }

/* HERO */
.hero {
  padding: 140px 32px 80px;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
}
.grid-line {
  position: absolute;
  background: var(--border);
  opacity: 0.6;
}
.grid-line.h1 { top: 20%; left: 0; right: 0; height: 1px; }
.grid-line.h2 { top: 50%; left: 0; right: 0; height: 1px; }
.grid-line.h3 { top: 80%; left: 0; right: 0; height: 1px; }
.grid-line.v1 { left: 30%; top: 0; bottom: 0; width: 1px; }
.grid-line.v2 { left: 60%; top: 0; bottom: 0; width: 1px; }
.grid-line.v3 { left: 90%; top: 0; bottom: 0; width: 1px; }

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.65;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* HERO VISUAL */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pipeline-card-stack {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04), 0 1px 4px rgba(0,0,0,0.03);
}
.pipeline-stage {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stage-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.deal-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  width: fit-content;
}
.deal-chip::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
}
.deal-warm { background: #fdf3e7; color: #7a4a10; }
.deal-warm::before { background: #f0a030; }
.deal-new { background: #eef3ff; color: #2a4a8a; }
.deal-new::before { background: #4a7aff; }
.deal-hot { background: #fff0e8; color: #8a2a0a; }
.deal-hot::before { background: #e05020; }
.deal-stalled { background: #f5f5f5; color: #6b6760; text-decoration: line-through; }
.deal-stalled::before { background: #c0bbb5; }
.deal-won { background: #e8f5e4; color: #2a5a1a; }
.deal-won::before { background: #3aaa20; }

.agent-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--surface-2);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.agent-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3aaa20;
  box-shadow: 0 0 0 3px rgba(58,170,32,0.15);
  flex-shrink: 0;
}

/* SECTION COMMONS */
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 16px;
}
.section-body {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* PIPELINE SECTION */
.pipeline-section {
  padding: 100px 0;
  background: var(--surface-2);
}
.pipeline-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pipeline-feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-icon {
  width: 40px; height: 40px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.pipeline-feature h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}
.pipeline-feature p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* AGENT SECTION */
.agent-section {
  padding: 100px 0;
  background: var(--code-bg);
  color: var(--code-fg);
}
.agent-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.agent-inner .section-eyebrow { color: #e08040; }
.agent-inner .section-headline { color: var(--code-fg); }
.agent-inner .section-body { color: #a09890; }
.agent-capabilities {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}
.capability {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #c8c0b8;
}
.cap-check {
  width: 22px; height: 22px;
  border: 1px solid rgba(212,98,10,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.agent-window {
  background: #282420;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.agent-window-header {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: #888;
}
.agent-bubble {
  width: 24px; height: 24px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.agent-online {
  margin-left: auto;
  color: #3aaa20;
  font-size: 0.75rem;
  font-weight: 500;
}
.agent-message {
  padding: 20px;
}
.agent-message p {
  font-size: 0.875rem;
  color: #c8c0b8;
  line-height: 1.6;
}
.agent-email-draft {
  margin: 0 20px 20px;
  background: #1c1a17;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}
.draft-header {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 8px;
  font-family: monospace;
}
.draft-body {
  font-size: 0.8125rem;
  color: #a09890;
  line-height: 1.6;
  font-family: 'DM Sans', sans-serif;
}
.agent-actions {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 10px;
}
.btn-approve {
  flex: 1;
  padding: 10px 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
}
.btn-edit {
  padding: 10px 16px;
  background: rgba(255,255,255,0.06);
  color: #a09890;
  border: none;
  border-radius: 8px;
  font-size: 0.8125rem;
  cursor: pointer;
}

/* OUTCOMES */
.outcomes-section {
  padding: 100px 0;
  background: var(--bg);
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.outcome-metric {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.outcome-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* PRICING */
.pricing-headline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 32px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: white;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.plan-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.plan-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}
.plan-price span {
  font-size: 1rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 400;
}
.plan-features {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  font-size: 0.875rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.plan-features li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* CLOSING */
.closing-section {
  padding: 100px 32px;
  text-align: center;
  background: var(--code-bg);
}
.closing-inner {
  max-width: 640px;
  margin: 0 auto;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--code-fg);
  line-height: 1.15;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 1.0625rem;
  color: #a09890;
  line-height: 1.7;
}

/* FOOTER */
.footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: var(--code-bg);
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--code-fg);
}
.footer-copy {
  font-size: 0.8125rem;
  color: #666;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 100px; }
  .hero-visual { order: -1; }
  .agent-inner { grid-template-columns: 1fr; }
  .pipeline-features { grid-template-columns: 1fr; gap: 24px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 480px) {
  .hero { padding: 80px 20px 60px; }
  .section-inner { padding: 0 20px; }
  .agent-inner { padding: 0 20px; }
  .closing-section { padding: 80px 20px; }
  .footer-inner { padding: 0 20px; }
}