:root {
  --bg: #0A0E1A;
  --surface: #12162B;
  --surface-2: #1A2040;
  --accent: #FF6B35;
  --accent-dim: rgba(255, 107, 53, 0.12);
  --text: #F0F2F8;
  --text-dim: #8891AA;
  --text-muted: #555E7A;
  --border: rgba(240, 242, 248, 0.08);
  --font-display: 'Syne', system-ui, sans-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(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.site-header nav {
  display: flex;
  gap: 2rem;
}
.site-header nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  transition: color 0.2s;
}
.site-header nav a:hover { color: var(--text); }

/* ── SECTION SHARED ── */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-kicker {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

/* ── HERO ── */
.hero { padding: 6rem 0 5rem; }
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-kicker {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-dim);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-stat-row {
  display: flex;
  gap: 2.5rem;
}
.hero-stat { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); }

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.125rem;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.benefit-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--accent);
  flex-shrink: 0;
}
.benefit-text { display: flex; flex-direction: column; gap: 0.2rem; }
.benefit-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}
.benefit-desc { font-size: 0.8125rem; color: var(--text-dim); line-height: 1.5; }

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.88; }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-secondary:hover { background: var(--accent-dim); }

/* Agent card */
.agent-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.agent-status {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.agent-activity { display: flex; flex-direction: column; gap: 0.875rem; }
.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  background: var(--surface-2);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.activity-item.done { opacity: 0.5; }
.activity-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.activity-icon.research { background: rgba(99, 102, 241, 0.2); color: #818CF8; }
.activity-icon.compose { background: rgba(255, 107, 53, 0.2); color: #FF6B35; }
.activity-icon.send { background: rgba(16, 185, 129, 0.2); color: #34D399; }
.activity-icon.wait { background: rgba(251, 191, 36, 0.2); color: #FBBF24; }
.activity-text { display: flex; flex-direction: column; gap: 0.125rem; }
.activity-label { font-size: 0.75rem; font-weight: 500; color: var(--text); }
.activity-detail { font-size: 0.75rem; color: var(--text-dim); line-height: 1.5; }

/* ── PROBLEM ── */
.problem { padding: 5rem 0; }
.problem h2 { color: var(--text); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
}
.problem-icon {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim);
  border-radius: 8px;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.problem-card p { font-size: 0.875rem; color: var(--text-dim); line-height: 1.65; }
.problem-statement {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
}
.problem-statement p {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

/* ── FEATURES ── */
.features { padding: 5rem 0; }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.feature-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
}
.feature-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.feature-block h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.feature-block p { font-size: 0.875rem; color: var(--text-dim); line-height: 1.7; }
.features-cta {
  text-align: center;
  padding: 2rem;
  background: var(--accent-dim);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 12px;
}
.features-cta p { font-size: 1rem; color: var(--text-dim); }

/* ── PROCESS ── */
.process { padding: 5rem 0; }
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-dim);
  line-height: 1;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step-content p { font-size: 0.9375rem; color: var(--text-dim); max-width: 560px; }

/* ── MANIFESTO ── */
.manifesto { padding: 6rem 0; }
.manifesto .section-inner { max-width: 900px; }
.manifesto-quote {
  border-left: none;
  padding: 3rem;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 1rem;
}
.quote-attr { font-size: 0.875rem; color: var(--text-muted); }
.manifesto-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.manifesto-body p { font-size: 1rem; color: var(--text-dim); max-width: 600px; line-height: 1.75; margin-bottom: 1rem; }
.manifesto-body p:last-child { margin-bottom: 0; }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand .wordmark { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); max-width: 280px; }
.footer-links { display: flex; gap: 2rem; align-items: center; }
.footer-links span { font-size: 0.875rem; color: var(--text-muted); cursor: default; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .hero h1 { font-size: 2.25rem; }
  .hero-stat-row { gap: 1.5rem; }
  .hero-benefits { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 48px 1fr; }
  .footer-inner { flex-direction: column; }
  .site-header nav { gap: 1.25rem; }
  .header-inner { padding: 0 1.25rem; }
  .manifesto-quote { padding: 1.75rem; }
}

@media (max-width: 480px) {
  .hero { padding: 4rem 0 3rem; }
  .site-header nav a { font-size: 0.8125rem; }
  .hero-stat-row { flex-wrap: wrap; gap: 1.25rem; }
  .step-num { font-size: 2.25rem; }
  .hero-cta .btn-primary, .hero-cta .btn-secondary { padding: 0.75rem 1.25rem; font-size: 0.875rem; }
}

@media (max-width: 480px) {
  .hero { padding: 4rem 0 3rem; }
  .site-header nav a { font-size: 0.8125rem; }
  .hero-stat-row { flex-wrap: wrap; gap: 1.25rem; }
  .step-num { font-size: 2.25rem; }
}