:root {
  --bg: #08090d;
  --bg-2: #0f1117;
  --surface: #13161f;
  --border: #1e2330;
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --text: #e8eaf0;
  --text-muted: #6b7491;
  --text-dim: #3d4461;
  --green: #22c55e;
  --green-dim: rgba(34, 197, 94, 0.12);
  --mono-font: 'IBM Plex Mono', monospace;
  --body-font: 'IBM Plex Sans', sans-serif;
  --display-font: 'Space Grotesk', sans-serif;
}

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

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

/* ── NAV ── */
.nav {
  border-bottom: 1px solid var(--border);
  background: rgba(8, 9, 13, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.3px;
  color: var(--text);
}
.nav-os {
  color: var(--amber);
}
.nav-status {
  font-family: var(--mono-font);
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ── SHARED ── */
.section-label {
  font-family: var(--mono-font);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--display-font);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text);
}

/* ── HERO ── */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px 64px;
}
.hero-label {
  font-family: var(--mono-font);
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--display-font);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 48px;
}

/* ── TERMINAL ── */
.hero-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  max-width: 580px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(245,158,11,0.06);
}
.terminal-bar {
  background: var(--bg-2);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-red { background: #ff5f57; }
.t-amber { background: #febc2e; }
.t-green { background: #28c840; }
.t-label { font-family: var(--mono-font); font-size: 11px; color: var(--text-muted); margin-left: 8px; }
.terminal-body { padding: 18px 20px; }
.t-line { font-family: var(--mono-font); font-size: 13px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.t-prompt { color: var(--amber); }
.t-cmd { color: var(--text); }
.t-out { font-family: var(--mono-font); font-size: 12.5px; color: var(--text-muted); padding: 2px 0; }
.t-out.t-muted { color: var(--text-dim); }
.t-out.t-ok { color: var(--green); }

/* ── PROCESS ── */
.process {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
}
.process-header {
  max-width: 1100px;
  margin: 0 auto 56px;
}
.process-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.process-step {
  background: var(--bg-2);
  padding: 36px 32px;
  display: flex;
  gap: 20px;
}
.step-num {
  font-family: var(--display-font);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dim);
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
}
.step-body h3 {
  font-family: var(--display-font);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.step-body p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── CAPABILITIES ── */
.capabilities {
  max-width: 1100px;
  margin: 0 auto;
  padding: 88px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.cap-left .section-title { margin-bottom: 16px; }
.cap-desc { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.cap-right { display: flex; flex-direction: column; gap: 2px; }
.cap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.cap-card:hover { border-color: var(--amber); }
.cap-icon {
  width: 36px;
  height: 36px;
  background: var(--amber-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cap-content h4 {
  font-family: var(--display-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}
.cap-content p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── STACK ── */
.stack {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 24px;
}
.stack-inner { max-width: 1100px; margin: 0 auto; }
.stack-title { font-family: var(--display-font); font-size: 28px; font-weight: 700; letter-spacing: -0.5px; color: var(--text); margin: 16px 0 32px; max-width: 560px; }
.stack-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-family: var(--mono-font);
  font-size: 12px;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 20px;
  padding: 5px 14px;
}

/* ── CLOSING ── */
.closing {
  padding: 88px 24px 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.closing-inner {
  display: flex;
  gap: 0;
  margin-bottom: 56px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  width: fit-content;
}
.closing-metric {
  padding: 24px 40px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  text-align: center;
}
.closing-metric:last-child { border-right: none; }
.metric-num {
  font-family: var(--display-font);
  font-size: 36px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 6px;
}
.metric-label {
  font-family: var(--mono-font);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.closing-title {
  font-family: var(--display-font);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--text-muted);
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-logo {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  display: block;
  margin-bottom: 8px;
}
.footer-os { color: var(--amber); }
.footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.footer-cycle { font-family: var(--mono-font); font-size: 11px; color: var(--text-muted); }
.footer-status { font-family: var(--mono-font); font-size: 11px; color: var(--green); display: flex; align-items: center; gap: 6px; }
.footer-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding: 52px 20px 48px; }
  .process { padding: 60px 20px; }
  .process-grid { grid-template-columns: 1fr; }
  .capabilities { grid-template-columns: 1fr; gap: 40px; }
  .closing-metric { padding: 20px 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { align-items: flex-start; }
  .stack-pills { gap: 6px; }
}
@media (max-width: 480px) {
  .closing-inner { flex-direction: column; width: 100%; }
  .closing-metric { border-right: none; border-bottom: 1px solid var(--border); padding: 20px 24px; text-align: left; }
  .metric-num { font-size: 28px; }
}