.nodes-hero {
  position: relative;
  overflow-x: clip;
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(circle at 50% 18%, var(--color-white-halo), var(--color-transparent) 48%),
    linear-gradient(var(--color-bg), var(--color-bg));
}

.nodes-hero::before {
  content: "";
  position: absolute;
  inset: 38% -12% -18%;
  opacity: 0.74;
  background-image:
    linear-gradient(var(--color-grid-line) 1px, var(--color-transparent) 1px),
    linear-gradient(90deg, var(--color-grid-line) 1px, var(--color-transparent) 1px);
  background-size: 44px 44px;
  transform: perspective(620px) rotateX(64deg);
  transform-origin: center bottom;
  pointer-events: none;
}

.nodes-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(72px, 9vw, 112px);
  padding-bottom: clamp(70px, 8vw, 108px);
  text-align: center;
}

.nodes-hero h1 {
  max-width: 880px;
  margin: 18px auto 0;
}

.nodes-lead {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--color-text-muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.8;
}

.nodes-lead strong {
  color: var(--color-text);
  font-weight: 600;
}

.nodes-facts {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.region-console {
  width: min(920px, 100%);
  margin: 48px auto 0;
  overflow: hidden;
  border: 1px solid var(--color-device-line);
  border-radius: var(--radius-md);
  background: var(--color-device);
  color: var(--color-device-text);
  box-shadow: var(--shadow-device);
  text-align: left;
}

.region-console-head,
.console-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 18px;
  background: var(--color-device-deep);
  color: var(--color-device-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.region-console-head {
  border-bottom: 1px solid var(--color-device-line);
}

.console-foot {
  justify-content: flex-start;
  border-top: 1px solid var(--color-device-line);
}

.console-foot span {
  padding-right: 18px;
  border-right: 1px solid var(--color-device-line);
}

.region-track {
  display: grid;
  grid-template-columns: auto minmax(28px, 1fr) auto minmax(28px, 1fr) auto minmax(28px, 1fr) auto;
  align-items: center;
  padding: 38px clamp(22px, 5vw, 54px);
}

.region-stop {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 92px;
  text-align: center;
}

.region-marker {
  width: 14px;
  height: 14px;
  border: 3px solid var(--color-accent);
  border-radius: var(--radius-pill);
  background: var(--color-device);
  box-shadow: 0 0 0 5px var(--color-device-glass);
}

.region-stop strong {
  color: var(--color-device-text);
  font-size: 14px;
  font-weight: 560;
}

.region-stop small {
  color: var(--color-device-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.region-line {
  height: 1px;
  background: var(--color-device-line);
}

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

.route-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 2fr);
  gap: clamp(24px, 5vw, 64px);
  padding-top: 38px;
  padding-bottom: 42px;
  border-top: 1px solid var(--color-border);
}

.route-band:last-of-type {
  border-bottom: 1px solid var(--color-border);
}

.route-band-label {
  padding-top: 4px;
}

.route-band-label .mono {
  display: block;
  margin-bottom: 10px;
  color: var(--color-accent-dark);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.route-band-label h3 {
  font-size: 25px;
}

.route-band-label p {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

.route-band .table-scroll {
  align-self: start;
}

.route-band .route-table {
  min-width: 640px;
}

.route-types {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-panel-secondary);
}

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

.type-entry {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1.55fr);
  gap: clamp(28px, 6vw, 84px);
  padding-top: 46px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--color-border);
}

.type-code {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.type-code span {
  color: var(--color-accent-dark);
  font-family: var(--font-mono);
  font-size: clamp(24px, 4vw, 38px);
  letter-spacing: -0.03em;
}

.type-code small {
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.type-copy h3 {
  margin-bottom: 20px;
}

.type-copy p {
  color: var(--color-text-muted);
}

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

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

.usecase-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(24px, 6vw, 74px);
  padding-top: 38px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--color-border);
}

.usecase-label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.usecase-label .status-dot {
  margin-top: 12px;
}

.usecase-label h3 {
  margin-bottom: 0;
  font-size: 23px;
}

.usecase-copy {
  color: var(--color-text-muted);
}

.usecase-copy p:last-child {
  margin-bottom: 0;
}

.route-method {
  border-top: 1px solid var(--color-device-line);
  border-bottom: 1px solid var(--color-device-line);
  background: var(--color-device);
  color: var(--color-device-text);
}

.route-method-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 8vw, 110px);
}

.route-method .section-heading {
  margin-bottom: 0;
}

.route-method h2,
.route-method h3 {
  color: var(--color-device-text);
}

.route-method .section-heading p,
.route-method .method-copy p {
  color: var(--color-device-muted);
}

.route-method .kicker {
  border-color: var(--color-device-line);
  background: var(--color-device-deep);
  color: var(--color-device-muted);
  box-shadow: none;
}

.method-copy {
  border-top: 1px solid var(--color-device-line);
}

.method-copy article {
  padding-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-device-line);
}

.method-copy h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.method-copy p {
  margin-bottom: 0;
}

.route-notes {
  background: var(--color-panel);
}

.route-notes .section-heading {
  max-width: var(--reading-max);
}

.route-notes .prose h3 {
  margin-top: 2em;
}

.route-notes .prose > h3:first-child {
  margin-top: 0;
}

.route-notes .prose p {
  color: var(--color-text-muted);
}

.route-notes .prose a {
  font-weight: 600;
}

@media (max-width: 900px) {
  .route-band,
  .type-entry,
  .usecase-row,
  .route-method-grid {
    grid-template-columns: 1fr;
  }

  .route-band {
    gap: 22px;
  }

  .route-band-label {
    max-width: 680px;
  }

  .type-entry,
  .usecase-row {
    gap: 18px;
  }

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

  .region-line {
    display: none;
  }

  .region-stop {
    min-width: 0;
  }

  .route-method .section-heading {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .nodes-hero-inner {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .nodes-hero h1 {
    max-width: 360px;
  }

  .nodes-lead {
    font-size: 16px;
  }

  .nodes-facts {
    align-items: stretch;
  }

  .nodes-facts .badge {
    justify-content: center;
  }

  .region-console {
    margin-top: 34px;
  }

  .region-console-head {
    padding: 11px 13px;
  }

  .region-console-head span:last-child {
    display: none;
  }

  .region-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 14px;
    padding: 28px 14px;
  }

  .console-foot {
    overflow-x: auto;
    padding: 11px 13px;
  }

  .route-band {
    padding-top: 30px;
    padding-bottom: 34px;
  }

  .type-entry,
  .usecase-row {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .type-code span {
    font-size: 28px;
  }
}