:root {
  --bg: #0d1117;
  --bg-2: #161b22;
  --bg-3: #21262d;
  --fg: #e6edf3;
  --fg-muted: #6e7681;
  --fg-subtle: #484f58;
  --accent: #e85d04;
  --accent-dim: rgba(232, 93, 4, 0.15);
  --green: #3fb950;
  --border: rgba(255,255,255,0.06);
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Grid background */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,93,4,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,93,4,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,17,23,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;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}

/* Section base */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 56px;
  max-width: 640px;
}

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 0;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-accent-line {
  width: 3px;
  height: 64px;
  background: var(--accent);
  margin-bottom: 24px;
  border-radius: 2px;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 440px;
}

/* Dashboard card */
.hero-dashboard-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.dash-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--fg-subtle); }
.dash-dot.orange { background: var(--accent); }
.dash-title { font-size: 13px; color: var(--fg-muted); margin-left: 4px; font-weight: 600; }
.dash-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-3);
  border-radius: 8px;
}
.dash-row-label { font-size: 13px; color: var(--fg); font-weight: 500; }
.dash-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.dash-badge.green { background: rgba(63,185,80,0.2); color: #3fb950; }
.dash-badge.orange { background: var(--accent-dim); color: var(--accent); }
.dash-badge.gray { background: rgba(110,118,129,0.2); color: var(--fg-muted); }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dash-stat { text-align: center; padding: 12px; background: var(--bg-3); border-radius: 8px; }
.dash-stat-val { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; color: var(--fg); }
.dash-stat-label { font-size: 11px; color: var(--fg-muted); margin-top: 2px; }

/* Hero stats row */
.hero-stats-row {
  display: flex;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  border-top: 1px solid var(--border);
}
.hero-stat {
  flex: 1;
  padding: 32px 40px;
}
.hero-stat-div {
  width: 1px;
  background: var(--border);
  margin: 16px 0;
}
.hero-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}
.hero-stat-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* Capabilities */
.capabilities { padding: 96px 0; }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cap-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s;
}
.cap-card:hover { border-color: rgba(232,93,4,0.3); }
.cap-icon { margin-bottom: 20px; }
.cap-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}
.cap-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* Workflow */
.workflow { padding: 96px 0; background: var(--bg-2); }
.workflow-diagram {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 56px;
  overflow-x: auto;
  padding-bottom: 16px;
}
.wf-step {
  flex-shrink: 0;
  width: 200px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.wf-connector {
  display: flex;
  align-items: center;
  padding-top: 24px;
  flex-shrink: 0;
}
.wf-step-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.wf-step-body h4 {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.wf-step-body p { font-size: 13px; color: var(--fg-muted); line-height: 1.55; }

/* Stages */
.stages { padding: 96px 0; }
.stages-visual {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.stages-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
}
.stages-live { display: flex; align-items: center; gap: 6px; color: var(--green); }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.stages-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--border);
}
.stage-col {
  padding: 20px;
  border-right: 1px solid var(--border);
}
.stage-col:last-child { border-right: none; }
.stage-col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.stage-job {
  background: var(--bg-3);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
}
.stage-job--done { opacity: 0.5; }
.job-id { font-size: 11px; color: var(--fg-subtle); font-weight: 600; margin-bottom: 4px; }
.job-name { font-size: 13px; color: var(--fg); font-weight: 500; margin-bottom: 4px; }
.job-mat { font-size: 11px; color: var(--fg-muted); margin-bottom: 8px; }
.job-progress { height: 4px; background: var(--bg); border-radius: 2px; }
.job-bar { height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.3s; }
.job-bar--done { background: var(--green); }

/* Manifesto */
.manifesto {
  padding: 96px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.manifesto-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.manifesto-content blockquote {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 28px;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}
.manifesto-content p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.mec-number { margin-bottom: 40px; }
.mec-n {
  font-family: 'Syne', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.mec-d { font-size: 15px; color: var(--fg-muted); }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.footer-top { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--fg);
  flex-shrink: 0;
}
.footer-desc { font-size: 14px; color: var(--fg-muted); max-width: 360px; margin-top: 2px; }
.footer-bottom {
  font-size: 12px;
  color: var(--fg-subtle);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 48px; }
  .stages-board { grid-template-columns: repeat(2, 1fr); }
  .workflow-diagram { gap: 0; }
}
@media (max-width: 600px) {
  .hero-stat { padding: 24px 20px; }
  .cap-grid { grid-template-columns: 1fr; }
  .stages-board { grid-template-columns: 1fr; }
  .hero-stats-row { flex-direction: column; }
  .hero-stat-div { width: 100%; height: 1px; margin: 0 16px; }
}