:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #64748b;
  --line: #dce3eb;
  --accent: #0f766e;
  --accent-2: #1d4ed8;
  --accent-3: #b45309;
  --shadow: 0 20px 60px rgba(17, 24, 39, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bg) 46%, #f8fafc 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
h1,
h2,
h3,
.metrics strong {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: #172033;
  box-shadow: inset 0 -10px 20px rgba(15, 118, 110, 0.36);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--ink);
}

main {
  padding: 0 clamp(20px, 5vw, 72px) 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 1.06fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: min(760px, calc(100vh - 70px));
  padding: clamp(56px, 8vw, 104px) 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.07;
}

h1 {
  max-width: 790px;
  font-size: clamp(2.45rem, 4vw, 4.1rem);
}

h2 {
  font-size: clamp(1.95rem, 3.3vw, 3.45rem);
}

h3 {
  font-size: 1.16rem;
}

.hero-copy p:not(.eyebrow),
.split p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
}

.button.primary {
  color: #ffffff;
  background: #172033;
  box-shadow: 0 14px 32px rgba(23, 32, 51, 0.18);
}

.button.secondary {
  border: 1px solid #172033;
  background: #ffffff;
}

.event-board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.board-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: #ffffff;
  background: #172033;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
}

.board-header strong {
  color: #a7f3d0;
}

.pipeline {
  display: block;
  width: 100%;
  padding: 22px;
}

.line {
  fill: none;
  stroke: url(#pipelineLine);
  stroke-width: 6;
  stroke-linecap: round;
}

.muted-line {
  opacity: 0.32;
}

.vertical {
  stroke: var(--accent);
}

.node rect {
  fill: #ffffff;
  stroke: #172033;
  stroke-width: 2.4;
}

.node text {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  text-anchor: middle;
  fill: #172033;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: -24px 0 62px;
}

.metrics article,
.feature-grid article,
.runbook a,
.lab-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 38px rgba(17, 24, 39, 0.06);
}

.metrics article {
  padding: 20px;
}

.metrics strong {
  display: block;
  color: var(--accent);
  font-size: 2rem;
}

.metrics span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(52px, 8vw, 96px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.feature-grid,
.lab-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.lab-card {
  min-height: 218px;
  padding: 24px;
}

.feature-grid span,
.lab-card span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
}

.feature-grid p,
.runbook span,
.lab-card p {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
}

.runbook {
  display: grid;
  gap: 14px;
}

.runbook a {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.runbook strong,
.lab-card strong {
  font-family: "IBM Plex Mono", monospace;
}

.lab-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lab-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.13rem;
}

.lab-card.active {
  border-color: rgba(15, 118, 110, 0.34);
  background: linear-gradient(180deg, #ffffff, #f0fdfa);
}

.lab-card:hover,
.runbook a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.1);
}

@media (max-width: 920px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .metrics,
  .feature-grid,
  .lab-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  main {
    padding: 0 18px 56px;
  }

  h1 {
    font-size: 2.28rem;
  }

  .metrics,
  .feature-grid,
  .lab-grid {
    grid-template-columns: 1fr;
  }
}
