:root {
  --bg: #020c18;
  --surface: #071525;
  --surface-2: #0c2035;
  --accent: #f5a623;
  --accent-dim: rgba(245, 166, 35, 0.12);
  --accent-green: #3dffa0;
  --text: #e8eff5;
  --text-dim: rgba(232, 239, 245, 0.5);
  --text-muted: rgba(232, 239, 245, 0.3);
  --border: rgba(245, 166, 35, 0.15);
  --font: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

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

html { scroll-behavior: smooth; }

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

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(2, 12, 24, 0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  font-size: 22px;
  color: var(--accent);
}
.logo-text {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--text);
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.status-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-green);
  letter-spacing: 0.1em;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 166, 35, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 166, 35, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}
.hero-label {
  margin-bottom: 24px;
}
.label-mono {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.15em;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  padding: 6px 14px;
  display: inline-block;
}
.hero-headline {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
}
.stat {
  padding: 20px 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-value {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
}
.stat-desc {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-divider {
  width: 1px;
  height: 52px;
  background: var(--border);
}

/* SECTION SHARED */
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 52px;
}

/* SYSTEMS */
.systems {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}
.systems-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.system-card {
  background: var(--surface);
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.system-card:last-child { border-right: none; }
.system-card:hover { background: var(--surface-2); }
.system-icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 16px;
}
.system-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.system-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* FLOW */
.flow {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.flow-inner {
  max-width: 880px;
  margin: 0 auto;
}
.flow-example {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.flow-header {
  background: var(--surface-2);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.flow-case-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
}
.flow-time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}
.flow-steps {
  padding: 0;
}
.flow-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  border-bottom: 1px solid var(--border);
}
.flow-step:last-child { border-bottom: none; }
.step-time {
  padding: 20px 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
}
.step-content {
  padding: 20px 24px;
}
.step-action {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent-green);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 6px;
}
.step-content p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* NUMBERS */
.numbers {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}
.numbers-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.number-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 36px 32px;
  background: var(--surface);
}
.number-big {
  display: block;
  font-family: var(--mono);
  font-size: 52px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.number-desc {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.number-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}
.numbers-note {
  font-size: 14px;
  color: var(--text-muted);
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  line-height: 1.7;
}

/* GAP */
.gap {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.gap-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.gap-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 60px;
}
.gap-heading {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.gap-heading.bad { color: var(--text-muted); }
.gap-heading.good { color: var(--accent-green); }
.gap-list {
  list-style: none;
}
.gap-list li {
  font-size: 15px;
  color: var(--text-dim);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
}
.gap-list li:first-child { border-top: 1px solid var(--border); }
.gap-tagline {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--accent);
  font-style: italic;
}

/* CONTRACTORS */
.contractors {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}
.contractors-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.contractors-lead {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 44px;
}
.contractors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
}
.contractor-feature {
  background: var(--surface);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
}
.cf-icon {
  color: var(--accent-green);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.contractor-feature span:last-child {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* CLOSING */
.closing {
  padding: 120px 32px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 32px;
}
.closing-body {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.8;
}

/* FOOTER */
.footer {
  padding: 48px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  flex: 1;
}
.footer-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 100px 20px 60px; }
  .hero-stats { flex-wrap: wrap; }
  .stat { padding: 16px 24px; }
  .stat-divider { display: none; }
  .numbers-grid { grid-template-columns: 1fr; }
  .gap-split { grid-template-columns: 1fr; }
  .contractors-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .systems-grid { grid-template-columns: 1fr; }
  .system-card { border-right: none; border-bottom: 1px solid var(--border); }
  .system-card:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 32px; }
  .section-title { font-size: 24px; }
  .number-big { font-size: 40px; }
  .closing-headline { font-size: 24px; }
}