/* ── Variables ── */
:root {
  --bg: #0A0A0F;
  --bg-surface: #111118;
  --bg-elevated: #1A1A24;
  --border: rgba(255,255,255,0.07);
  --border-bright: rgba(0,229,195,0.2);
  --fg: #F0F0F5;
  --fg-dim: rgba(240,240,245,0.5);
  --fg-muted: rgba(240,240,245,0.25);
  --accent: #00E5C3;
  --accent-dim: rgba(0,229,195,0.08);
  --code-bg: #13131A;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --max-w: 1100px;
  --radius: 8px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  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: 17px;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  text-decoration: none;
  color: var(--fg-dim);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--fg); }

/* ── Shared section styles ── */
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-label::before { content: '— '; opacity: 0.5; }
section h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--fg-dim);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.6;
}

/* ── Hero ── */
.hero {
  padding: 96px 24px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-text h1 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-sub {
  color: var(--fg-dim);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 440px;
}
.hero-code {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.code-label {
  background: var(--bg-elevated);
  padding: 10px 16px;
  font-size: 12px;
  font-family: 'Space Grotesk', monospace;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--border);
}
.code-output {
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.8;
  font-family: 'Space Grotesk', monospace;
}
.c-dim { color: var(--fg-muted); }

/* Hero Visual */
.hero-visual { display: flex; align-items: center; }
.schema-block {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px var(--border-bright);
}
.schema-title {
  background: var(--bg-elevated);
  padding: 10px 16px;
  font-size: 11px;
  font-family: 'Space Grotesk', monospace;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.04em;
}
.schema-block pre {
  padding: 16px;
  font-size: 12.5px;
  line-height: 1.75;
  overflow-x: auto;
  font-family: 'Space Grotesk', 'Fira Code', monospace;
}
.schema-block code .k { color: #C792EA; }
.schema-block code .s { color: #C3E88D; }
.schema-block code .n { color: #82AAFF; }

/* ── Stack ── */
.stack { padding: 80px 0; border-top: 1px solid var(--border); }
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stack-item {
  background: var(--bg-surface);
  padding: 28px 28px 32px;
  transition: background 0.15s;
}
.stack-item:hover { background: var(--bg-elevated); }
.stack-icon { margin-bottom: 14px; }
.stack-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--fg);
}
.stack-desc { font-size: 14px; color: var(--fg-dim); line-height: 1.6; }

/* ── Features ── */
.features { padding: 80px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
}
.feature {}
.feature-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}
.feature h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.feature p { font-size: 15px; color: var(--fg-dim); line-height: 1.7; }

/* ── Manifesto ── */
.manifesto {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
}
.manifesto-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.manifesto-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 40px;
}
.manifesto-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--border);
}
.manifesto blockquote {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.55;
  color: var(--fg);
  font-style: normal;
  margin-bottom: 20px;
}
.manifesto-sub { font-size: 15px; color: var(--fg-dim); }

/* ── Outcomes ── */
.outcomes { padding: 80px 0; border-top: 1px solid var(--border); }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.outcome-stat {
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.outcome-label { font-size: 15px; color: var(--fg-dim); line-height: 1.5; }

/* ── Closing ── */
.closing {
  padding: 100px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.closing-inner { max-width: 600px; margin: 0 auto; }
.closing h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.closing p { font-size: 17px; color: var(--fg-dim); margin-bottom: 48px; line-height: 1.65; }
.cta-code {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 14px 28px;
  font-family: 'Space Grotesk', monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.cta-sub { font-size: 13px; color: var(--fg-muted); }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
}
.footer-copy { font-size: 13px; color: var(--fg-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--fg-dim); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--fg); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .stack-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 36px; }
  .outcomes-grid { grid-template-columns: 1fr; gap: 36px; }
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .stack-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 16px 56px; }
  .schema-block pre { font-size: 11px; }
}