:root {
  --bg: #0D1117;
  --bg-elevated: #161B22;
  --bg-card: #1C2128;
  --fg: #E6EDF3;
  --fg-muted: #8B949E;
  --accent: #00E5C8;
  --accent-dim: rgba(0, 229, 200, 0.12);
  --border: #30363D;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: -0.3px;
}
.nav-badge {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--accent-dim);
  color: var(--accent);
  letter-spacing: 0.3px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(0, 229, 200, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(0, 100, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2330363D' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 420px;
}

/* Hero Diagram */
.hero-diagram {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.flow-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  min-width: 72px;
}
.flow-icon {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.flow-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.flow-arrow {
  color: var(--fg-muted);
  font-size: 18px;
  opacity: 0.5;
  flex-shrink: 0;
}
.hero-subdiagram {
  margin-top: 8px;
}
.sub-diagram-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}
.stat-label {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section base */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--fg);
}
.section-sub {
  font-size: 16px;
  color: var(--fg-muted);
  margin-top: 12px;
  max-width: 500px;
}

/* Lifecycle */
.lifecycle {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.lifecycle .section-title {
  margin-bottom: 12px;
}
.lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 56px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.lifecycle-card {
  background: var(--bg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.2s;
}
.lifecycle-card:hover {
  background: var(--bg-elevated);
}
.lifecycle-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
}
.lifecycle-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
}
.lifecycle-card p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Features */
.features {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.feature-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.feature-block h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}
.feature-block p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Manifesto */
.manifesto {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.manifesto-content {
  max-width: 680px;
}
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--fg);
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}
.manifesto-body {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Closing */
.closing {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(0, 229, 200, 0.03) 100%);
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 20px;
  line-height: 1.1;
}
.closing-sub {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--fg);
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-diagram {
    order: -1;
  }
  .lifecycle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .sub-diagram-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .hero {
    padding: 100px 20px 60px;
  }
  .section-inner {
    padding: 0 20px;
  }
  .lifecycle {
    padding: 60px 0;
  }
  .lifecycle-grid {
    grid-template-columns: 1fr;
  }
  .features {
    padding: 60px 0;
  }
  .features-row {
    grid-template-columns: 1fr;
  }
  .manifesto {
    padding: 60px 0;
  }
  .closing {
    padding: 80px 0;
  }
  .flow-row {
    gap: 4px;
  }
  .flow-node {
    padding: 10px 12px;
    min-width: 60px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}