:root {
  --bg: #0d1117;
  --bg-alt: #161b22;
  --bg-light: #f8faf9;
  --fg: #f0f6fc;
  --fg-muted: #8b949e;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.12);
  --border: rgba(240, 246, 252, 0.08);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: '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(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0, 212, 170, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 440px;
}

/* Hero Graphic */
.hero-graphic {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
}
.hero-graphic::before {
  content: 'Stacklift Control Panel';
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--bg-alt);
  padding: 0 8px;
  font-size: 0.7rem;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.agent-node {
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 170, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.agent-node.agent-mid { opacity: 0.8; }
.agent-node.agent-end { opacity: 0.55; }
.node-label { font-weight: 600; font-size: 0.9rem; color: var(--fg); }
.node-sub { font-size: 0.78rem; color: var(--accent); }
.status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.status-text { font-size: 0.78rem; color: var(--fg-muted); }

/* MANIFESTO */
.manifesto { padding: 100px 48px; background: var(--bg-alt); }
.manifesto-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 200px 1fr; gap: 64px; }
.manifesto-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 6px;
}
.manifesto-body p {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}
.manifesto-body p:last-child { margin-bottom: 0; }

/* FEATURES */
.features { padding: 100px 48px; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-header { margin-bottom: 56px; }
.features-header h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 40px 36px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-alt); }
.feature-icon { margin-bottom: 20px; }
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.feature-card p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }

/* OUTCOMES */
.outcomes { padding: 80px 48px; background: var(--accent); }
.outcomes-inner { max-width: 1200px; margin: 0 auto; }
.outcomes-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  opacity: 0.6;
  margin-bottom: 40px;
}
.outcomes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.outcome-stat {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
  color: var(--bg);
  line-height: 1;
  margin-bottom: 8px;
}
.outcome-desc { font-size: 0.9rem; color: var(--bg); opacity: 0.7; font-weight: 500; }

/* CLOSING */
.closing { padding: 100px 48px; }
.closing-inner { max-width: 1200px; margin: 0 auto; }
.closing-statement {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 400;
  font-style: italic;
  color: var(--fg-muted);
  line-height: 1.45;
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}

/* FOOTER */
footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-name { font-weight: 600; font-size: 1rem; }
.footer-tagline { font-size: 0.8rem; color: var(--fg-muted); margin-left: 12px; }
.footer-meta { font-size: 0.78rem; color: var(--fg-muted); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { padding: 60px 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .manifesto { padding: 60px 24px; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 20px; }
  .features { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes { padding: 60px 24px; }
  .outcomes-grid { grid-template-columns: 1fr; gap: 24px; }
  .closing { padding: 60px 24px; }
  footer { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}