:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --border: #1e1e1e;
  --teal: #00f5a0;
  --teal-dim: rgba(0, 245, 160, 0.12);
  --white: #ffffff;
  --muted: #6b7280;
  --dim: #3a3a3a;
  --danger: #ff4757;
  --success: #00f5a0;
}

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

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--teal);
  color: var(--bg);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-left: 24px;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--white); }
.nav-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  margin-left: 24px;
  transition: color 0.2s;
}
.nav-btn:hover { color: var(--white); }
.nav-cta {
  margin-left: 24px;
  background: var(--teal);
  color: var(--bg);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* HERO */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 100px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: start;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-dim);
  border: 1px solid rgba(0, 245, 160, 0.2);
  color: var(--teal);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 32px;
}
.badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: normal;
  color: var(--teal);
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.cta-note {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* PANEL */
.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.panel-label {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.08em;
}
.panel-rows {
  padding: 20px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.panel-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: end;
  gap: 4px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.panel-row:last-child { border-bottom: none; }
.panel-row.highlight { background: var(--teal-dim); margin: 0 -20px; padding: 12px 20px; border-radius: 8px; border-bottom: none; }
.row-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  grid-column: 1;
  grid-row: 1;
}
.row-value {
  font-family: 'DM Mono', monospace;
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  grid-column: 1;
  grid-row: 2;
}
.highlight-text { color: var(--teal); }
.row-delta {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  grid-column: 2;
  grid-row: 2;
  align-self: end;
}
.positive { color: var(--teal); }
.negative { color: var(--danger); }

.panel-log {
  background: #060606;
  padding: 12px 20px 16px;
  margin-top: 4px;
}
.log-line {
  display: flex;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  padding: 3px 0;
}
.log-time { color: var(--dim); min-width: 36px; }
.log-msg { color: var(--muted); }

/* MANIFESTO */
.manifesto {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
}
.manifesto-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.manifesto-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 56px;
  line-height: 1.15;
}
.manifesto-columns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.manifesto-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 0 40px;
}
.col-title {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.old { color: var(--muted); }
.new { color: var(--teal); }
.col-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.col-list li {
  font-size: 15px;
  color: var(--white);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.old-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}
.new-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* ENGINE */
.engine {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px;
}
.engine-header { margin-bottom: 64px; }
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}
.engine-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.engine-step {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  background: var(--surface);
  transition: border-color 0.2s;
}
.engine-step:hover { border-color: rgba(0, 245, 160, 0.3); }
.step-number {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.step-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 4px;
}

/* FEATURES */
.features {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 32px;
}
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(0, 245, 160, 0.2); }
.fcard-icon {
  width: 40px;
  height: 40px;
  background: var(--teal-dim);
  color: var(--teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.fcard-title {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.fcard-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* CLOSER */
.closer {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.closer-inner { text-align: center; }
.closer-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.closer-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 56px;
  line-height: 1.7;
}
.closer-stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-bottom: 32px;
}
.stat-item { text-align: center; }
.stat-val {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  font-family: 'DM Mono', monospace;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}
.closer-footnote {
  font-size: 13px;
  color: var(--dim);
  font-family: 'DM Mono', monospace;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-mark {
  width: 24px;
  height: 24px;
  background: var(--teal);
  color: var(--bg);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.footer-name {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.footer-tagline {
  font-size: 13px;
  color: var(--muted);
}
.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--dim);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-panel { max-width: 480px; }
  .manifesto-columns { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-divider { display: none; }
  .engine-steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .closer-stat-row { flex-direction: column; gap: 24px; }
  .stat-divider { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .hero { padding: 48px 20px 64px; }
  .manifesto-inner { padding: 48px 20px; }
  .engine { padding: 64px 20px; }
  .features { padding: 48px 20px; }
  .closer { padding: 64px 20px; }
}