.nodes-hero {
  position: relative;
  overflow: clip;
  padding-top: 76px;
  padding-bottom: 82px;
}

.nodes-hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 18%, var(--color-halo-warm), transparent 58%),
    radial-gradient(ellipse at 76% 36%, var(--color-halo-green), transparent 62%),
    radial-gradient(var(--color-dot-grid) 1px, transparent 1.4px);
  background-size: auto, auto, 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, currentColor, transparent);
  mask-image: linear-gradient(to bottom, currentColor, transparent);
}

.nodes-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 68px;
}

.nodes-hero-copy {
  min-width: 0;
}

.nodes-hero-copy h1 {
  max-width: 650px;
  margin-top: 22px;
  margin-bottom: 22px;
}

.nodes-hero-lede {
  max-width: 670px;
  margin-bottom: 28px;
  color: var(--color-ink-muted);
  font-size: 18px;
}

.nodes-fact-list {
  display: flex;
  margin: 26px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  color: var(--color-ink-muted);
  font-size: 14px;
}

.nodes-fact-list li {
  position: relative;
  padding-left: 17px;
}

.nodes-fact-list li::before {
  position: absolute;
  top: .72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--color-warning);
  content: "";
  transform: translateY(-50%);
}

.nodes-route-visual {
  min-width: 0;
  overflow: clip;
  border: 1px solid var(--color-night-line);
  border-radius: var(--radius-large);
  background: var(--color-night);
  color: var(--color-cream-line);
  box-shadow: var(--shadow-card);
}

.nodes-route-chrome {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 22px;
  border-bottom: 1px solid var(--color-night-line);
  background: var(--color-night-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
}

.nodes-route-status {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: var(--color-cream-text);
}

.nodes-route-status i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: var(--radius-pill);
  background: var(--color-success);
}

.nodes-route-code {
  flex: 0 0 auto;
  color: var(--color-cream-text);
  opacity: .68;
}

.nodes-route-visual svg {
  width: 100%;
  height: auto;
  padding: 12px 18px 0;
}

.nodes-grid-line {
  fill: none;
  stroke: var(--color-cream-line);
  stroke-width: 1;
  stroke-dasharray: 3 10;
  opacity: .1;
}

.nodes-map-arc {
  fill: none;
  stroke: var(--color-cream-line);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: .76;
}

.nodes-map-arc-secondary {
  stroke-width: 1.2;
  stroke-dasharray: 7 9;
  opacity: .34;
}

.nodes-map-node circle:first-child {
  fill: var(--color-cream-dot);
}

.nodes-map-ring {
  fill: none;
  stroke: var(--color-cream-line);
  stroke-width: 1;
  opacity: .4;
}

.nodes-route-regions {
  display: flex;
  min-width: 0;
  padding: 16px 22px 20px;
  flex-wrap: wrap;
  gap: 10px 20px;
  border-top: 1px solid var(--color-night-line);
  color: var(--color-cream-text);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
}

.nodes-main {
  padding-top: 34px;
  padding-bottom: var(--section-space);
}

.nodes-section {
  padding-top: 76px;
  padding-bottom: 26px;
}

.nodes-section + .nodes-section {
  border-top: 1px solid var(--color-line);
}

.nodes-region-copy {
  max-width: 860px;
  margin-bottom: 22px;
  color: var(--color-ink-muted);
}

.nodes-type-tag {
  display: inline-flex;
  max-width: 100%;
  min-height: 27px;
  align-items: center;
  padding: 3px 10px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: var(--color-canvas);
  color: var(--color-accent-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
}

.nodes-type-ledger {
  border-top: 1px solid var(--color-line);
}

.nodes-type-row {
  display: grid;
  grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr);
  gap: 58px;
  padding-top: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--color-line);
}

.nodes-type-heading {
  min-width: 0;
}

.nodes-type-heading h3 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.4vw, 44px);
}

.nodes-type-mark {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--color-accent-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
}

.nodes-type-body {
  min-width: 0;
}

.nodes-type-body p {
  color: var(--color-ink-muted);
}

.nodes-type-body p:last-child {
  margin-bottom: 0;
}

.nodes-scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.nodes-scenario {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-large);
  background: var(--color-surface);
  box-shadow: var(--shadow-panel);
}

.nodes-scenario:last-child {
  grid-column: 1 / -1;
}

.nodes-scenario-label {
  display: block;
  margin-bottom: 14px;
  color: var(--color-warning);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
}

.nodes-scenario p {
  color: var(--color-ink-muted);
}

.nodes-scenario p:last-child {
  margin-bottom: 0;
}

.nodes-steps {
  display: grid;
  margin: 0;
  gap: 0;
  padding: 0;
  list-style: none;
  counter-reset: nodes-step;
}

.nodes-steps li {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 22px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-line);
  counter-increment: nodes-step;
}

.nodes-steps li::before {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-pill);
  color: var(--color-accent-deep);
  content: counter(nodes-step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 12px;
}

.nodes-steps h3 {
  margin-bottom: 8px;
  font-size: 25px;
}

.nodes-steps p {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--color-ink-muted);
}

.nodes-closing-panel {
  display: grid;
  margin-top: 52px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding: 38px;
  border-radius: var(--radius-large);
  background: var(--color-night);
  color: var(--color-cream-dot);
  box-shadow: var(--shadow-card);
}

.nodes-closing-panel h2 {
  margin-bottom: 12px;
  color: var(--color-cream-dot);
  font-size: clamp(32px, 3.8vw, 48px);
}

.nodes-closing-panel p {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--color-cream-text);
}

.nodes-closing-panel .eyebrow {
  margin-bottom: 10px;
  color: var(--color-cream-text);
}

.nodes-closing-panel .btn-secondary {
  border-color: var(--color-cream-line);
  color: var(--color-cream-dot);
}

.nodes-closing-panel .btn-secondary:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-white);
}

@media (max-width: 980px) {
  .nodes-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .nodes-hero-copy {
    max-width: 760px;
  }

  .nodes-route-visual {
    width: 100%;
    max-width: 760px;
  }

  .nodes-type-row {
    grid-template-columns: minmax(170px, .55fr) minmax(0, 1.45fr);
    gap: 34px;
  }

  .nodes-closing-panel {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .nodes-hero {
    padding-top: 54px;
    padding-bottom: 60px;
  }

  .nodes-hero-grid {
    gap: 34px;
  }

  .nodes-hero-lede {
    font-size: 16px;
  }

  .nodes-route-visual svg {
    padding-inline: 8px;
  }

  .nodes-section {
    padding-top: 62px;
  }

  .nodes-type-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .nodes-scenario-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nodes-scenario:last-child {
    grid-column: auto;
  }

  .nodes-closing-panel {
    padding: 30px;
  }
}

@media (max-width: 520px) {
  .nodes-hero {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .nodes-fact-list {
    align-items: flex-start;
    flex-direction: column;
  }

  .nodes-route-chrome {
    align-items: flex-start;
    flex-direction: column;
  }

  .nodes-route-code {
    align-self: flex-end;
  }

  .nodes-route-regions {
    gap: 9px 14px;
  }

  .nodes-scenario {
    padding: 24px 21px;
  }

  .nodes-steps li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 15px;
  }

  .nodes-steps li::before {
    width: 40px;
    height: 40px;
  }

  .nodes-closing-panel {
    padding: 26px 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nodes-route-visual,
  .nodes-map-node {
    transform: none;
  }
}