:root {
  --ink: #111411;
  --paper: #f2f0e8;
  --acid: #d8ff39;
  --mint: #6bffb1;
  --orange: #ff673d;
  --line: rgba(242, 240, 232, 0.22);
  --mono: "IBM Plex Mono", monospace;
  --display: "Unbounded", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--ink); color: var(--paper); }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(216,255,57,.05) 50%, transparent 50.2%),
    radial-gradient(circle at 76% 12%, rgba(107,255,177,.13), transparent 27%),
    var(--ink);
  font-family: var(--mono);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

button, a { font: inherit; }

.topbar {
  height: 82px;
  padding: 0 clamp(20px, 4vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--paper);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font: 600 18px var(--display);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  border-radius: 50%;
}

.system-state {
  font-size: 11px;
  letter-spacing: .12em;
  color: #a8afa7;
}

.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(107,255,177,.1);
  animation: pulse 1.8s infinite;
}

.login {
  justify-self: end;
  color: var(--paper);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--acid);
  padding: 7px 0;
  cursor: pointer;
}

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

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, .78fr);
  gap: clamp(44px, 7vw, 128px);
  align-items: center;
}

.hero-copy { padding: 72px 0; animation: enter .7s both; }

.eyebrow {
  margin: 0 0 24px;
  color: var(--acid);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
}

h1 {
  margin: 0;
  max-width: 900px;
  font: 600 clamp(44px, 6.1vw, 92px)/1.02 var(--display);
  letter-spacing: -.055em;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(242,240,232,.52);
}

.lead {
  max-width: 660px;
  margin: 34px 0;
  color: #b8bdb6;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.65;
}

.primary {
  min-width: 310px;
  padding: 19px 22px;
  display: inline-flex;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s, background .2s;
}

.primary:hover { transform: translate(-3px, -3px); background: var(--mint); }
.arrow { font-size: 20px; }
.demo-link {
  display: inline-block;
  margin-left: 22px;
  color: var(--paper);
  text-underline-offset: 5px;
}
.quota { color: #727871; font-size: 11px; margin-top: 15px; }

.pipeline {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(8, 11, 8, .72);
  box-shadow: 30px 30px 0 rgba(216,255,57,.035);
  animation: enter .7s .15s both;
}

.pipeline::before {
  content: "";
  position: absolute;
  top: 62px;
  bottom: 119px;
  left: 47px;
  border-left: 1px dashed #3e473d;
}

.pipeline-head {
  display: flex;
  justify-content: space-between;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .1em;
}

.running { color: var(--orange); }
.pipeline ol { list-style: none; margin: 0; padding: 22px; }

.pipeline li {
  min-height: 68px;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  color: #70766f;
}

.pipeline li div { display: flex; justify-content: space-between; gap: 12px; }
.pipeline li b { font-size: 12px; letter-spacing: .08em; }
.pipeline li small { font-size: 10px; }

.node {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  border: 1px solid #475047;
  border-radius: 50%;
  background: var(--ink);
  font-size: 10px;
}

.passed { color: var(--mint) !important; }
.passed .node { border-color: var(--mint); }
.active { color: var(--paper) !important; }
.active .node { background: var(--orange); border-color: var(--orange); }

.terminal {
  min-height: 96px;
  padding: 20px 22px;
  border-top: 1px solid var(--line);
  color: #d2d5cf;
  font-size: 11px;
  line-height: 2;
}

.terminal > span:first-child { color: var(--acid); }
.terminal em { color: #687067; font-style: normal; }
.cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  margin-left: 5px;
  background: var(--acid);
  animation: blink .8s step-end infinite;
}

.lab-card {
  display: grid;
  grid-template-columns: 110px 1.4fr 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  background: rgba(242,240,232,.025);
}

.lab-number { color: var(--acid); font: 600 68px/1 var(--display); }
.lab-card h2, dialog h2 { margin: 0 0 12px; font: 600 24px/1.25 var(--display); }
.lab-card p { color: #969c95; line-height: 1.55; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 8px 10px; border: 1px solid #485047; color: #b9beb8; font-size: 11px; }
.result small { display: block; margin-bottom: 10px; color: var(--orange); }
.result strong { font-size: 13px; line-height: 1.5; }

dialog {
  max-width: 520px;
  padding: 42px;
  color: var(--paper);
  background: #171b17;
  border: 1px solid var(--acid);
  box-shadow: 18px 18px 0 var(--acid);
}

dialog::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(4px); }
dialog p { color: #aeb4ad; line-height: 1.6; }
.dialog-close { position: absolute; top: 14px; right: 16px; border: 0; background: none; color: var(--paper); font-size: 22px; cursor: pointer; }
dialog .primary { min-width: 0; margin-top: 14px; }
dialog a.primary { text-decoration: none; }

@keyframes enter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(107,255,177,0); } }

@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr 1fr; }
  .system-state { display: none; }
  .hero { grid-template-columns: 1fr; padding: 40px 0 70px; }
  .hero-copy { padding: 24px 0 0; }
  .pipeline { max-width: 620px; }
  .lab-card { grid-template-columns: 80px 1fr; }
  .tags, .result { grid-column: 2; }
}

@media (max-width: 620px) {
  .topbar { height: 68px; }
  .login { font-size: 11px; }
  .hero { gap: 18px; }
  h1 { font-size: 38px; }
  .primary { min-width: 100%; }
  .pipeline { margin: 0 -12px; }
  .lab-card { margin: 0 -12px; padding: 26px 20px; grid-template-columns: 1fr; }
  .lab-number { font-size: 44px; }
  .tags, .result { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; }
}
