.nodes-hero {
  position: relative;
  max-width: 100%;
  overflow-x: clip;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, var(--color-hero-top), var(--color-hero-bottom));
}

.nodes-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--color-accent-08) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-accent-08) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  opacity: .45;
}

.nodes-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 64px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.nodes-hero-copy {
  position: relative;
  z-index: 2;
}

.nodes-title {
  max-width: 9em;
  margin-top: 22px;
  margin-bottom: 0;
}

.nodes-intro {
  max-width: 42rem;
  margin-top: 24px;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.75;
}

.nodes-intro strong {
  color: var(--color-text);
}

.nodes-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.nodes-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 36px;
  margin-bottom: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  list-style: none;
}

.nodes-facts li {
  min-width: 0;
  padding: 16px 13px;
  border-right: 1px solid var(--color-border);
}

.nodes-facts li:first-child {
  padding-left: 0;
}

.nodes-facts li:last-child {
  border-right: 0;
}

.nodes-facts span,
.nodes-facts strong {
  display: block;
}

.nodes-facts strong {
  margin-top: 4px;
  font-size: 13px;
}

.nodes-facts [data-counter] {
  display: inline-block;
  min-width: 0;
  text-align: left;
}

.nodes-atlas {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--color-paper-12);
  border-radius: var(--radius-block);
  background: linear-gradient(180deg, var(--color-ink-panel), var(--color-ink-deep));
  color: var(--color-paper);
  box-shadow: var(--shadow-accent), inset 0 1px 0 var(--color-paper-12);
}

.nodes-atlas::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, var(--color-accent-16), transparent 32%),
    linear-gradient(90deg, transparent, var(--color-paper-06), transparent);
  content: "";
}

.nodes-atlas-head,
.nodes-atlas-foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--color-paper-72);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
}

.nodes-atlas-head {
  border-bottom: 1px solid var(--color-paper-12);
  padding: 18px 22px;
}

.nodes-atlas-foot {
  flex-wrap: wrap;
  border-top: 1px solid var(--color-paper-12);
  padding: 17px 22px;
}

.nodes-map {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 370px;
  padding: 22px;
  color: var(--color-accent);
}

.nodes-map-land {
  fill: var(--color-paper-06);
  stroke: var(--color-paper-12);
  stroke-width: 2;
}

.nodes-route {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
}

.nodes-route-short {
  stroke: var(--color-amber);
  stroke-dasharray: 8 10;
}

.nodes-map-node {
  fill: var(--color-ink-deep);
  stroke: var(--color-amber);
  stroke-width: 4;
}

.nodes-map-node-main {
  fill: var(--color-accent);
  stroke: var(--color-paper);
}

.nodes-table-note {
  margin-bottom: 22px;
}

.nodes-table-wrap {
  box-shadow: var(--shadow-panel);
}

.nodes-route-chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--color-accent-55);
  border-radius: var(--radius-pill);
  background: var(--color-accent-08);
  color: var(--color-accent-dark);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.nodes-caption {
  max-width: 58rem;
  margin-top: 20px;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.nodes-dark-head .section-kicker {
  color: var(--color-amber);
}

.nodes-dark-head p {
  color: var(--color-paper-72);
}

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

.nodes-type-card {
  min-width: 0;
  border: 1px solid var(--color-paper-12);
  border-radius: var(--radius-card);
  background: var(--color-ink-card);
  padding: 26px;
  box-shadow: 0 28px 52px -36px var(--color-accent-32), inset 0 1px 0 var(--color-paper-12);
}

.nodes-type-card .mono-label {
  display: inline-block;
  margin-top: 22px;
  color: var(--color-amber);
}

.nodes-type-card h3 {
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--color-paper);
}

.nodes-type-card p {
  margin-top: 16px;
  margin-bottom: 0;
  color: var(--color-paper-72);
}

.nodes-type-sketch {
  display: grid;
  height: 132px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--color-accent-55);
  border-radius: var(--radius-md);
  background: var(--color-accent-08);
  color: var(--color-amber);
}

.nodes-type-sketch svg {
  width: 76%;
  height: 86px;
}

.nodes-type-sketch path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nodes-type-sketch circle {
  fill: var(--color-ink-card);
  stroke: currentColor;
  stroke-width: 3;
}

.nodes-cost-note {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: 34px;
  align-items: start;
  margin-top: 28px;
  border-top: 1px solid var(--color-paper-12);
  padding-top: 28px;
}

.nodes-cost-note h3 {
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--color-paper);
}

.nodes-cost-note .mono-label {
  color: var(--color-amber);
}

.nodes-cost-note p {
  color: var(--color-paper-72);
}

.nodes-use-list {
  display: grid;
  border-top: 1px solid var(--color-border);
}

.nodes-use-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--color-border);
  padding-top: 30px;
  padding-bottom: 30px;
}

.nodes-use-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  background: var(--color-accent-08);
  color: var(--color-accent-dark);
  font-family: var(--font-mono);
  font-weight: 700;
}

.nodes-use-item h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.nodes-use-item p {
  max-width: 52rem;
  color: var(--color-muted);
}

.nodes-use-item .fact-chip {
  margin-top: 5px;
  white-space: normal;
}

.nodes-method {
  border-block: 1px solid var(--color-border);
  background: var(--color-panel-alt);
}

.nodes-method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 64px;
  align-items: start;
}

.nodes-method-copy p {
  color: var(--color-muted);
  font-size: 17px;
}

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

.nodes-method-steps li {
  position: relative;
  min-height: 112px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
  padding: 20px 20px 20px 74px;
  box-shadow: var(--shadow-panel);
  counter-increment: nodes-step;
}

.nodes-method-steps li::before {
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-ink);
  content: counter(nodes-step);
  font-family: var(--font-mono);
  font-weight: 700;
}

.nodes-method-steps strong {
  color: var(--color-text);
}

.nodes-method-steps p {
  margin-top: 5px;
  color: var(--color-muted);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .nodes-hero-grid {
    grid-template-columns: 1fr;
  }

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

  .nodes-atlas {
    width: 100%;
  }

  .nodes-type-grid {
    grid-template-columns: 1fr;
  }

  .nodes-type-card {
    display: grid;
    grid-template-columns: minmax(220px, .55fr) minmax(0, 1fr);
    column-gap: 28px;
  }

  .nodes-type-card .nodes-type-sketch {
    grid-row: 1 / 6;
  }

  .nodes-type-card .mono-label {
    margin-top: 0;
  }

  .nodes-method-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nodes-facts {
    grid-template-columns: 1fr 1fr;
  }

  .nodes-facts li:nth-child(2) {
    border-right: 0;
  }

  .nodes-facts li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-border);
  }

  .nodes-facts li:nth-child(3) {
    padding-left: 0;
  }

  .nodes-cost-note {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nodes-use-item {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .nodes-use-item .fact-chip {
    grid-column: 2;
    justify-self: start;
  }
}

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

  .nodes-atlas {
    min-height: 390px;
  }

  .nodes-map {
    min-height: 300px;
  }

  .nodes-type-card {
    display: block;
  }

  .nodes-type-card .mono-label {
    margin-top: 22px;
  }
}

@media (max-width: 640px) {
  .nodes-hero-grid {
    padding-top: 40px;
    padding-bottom: 44px;
  }

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

  .nodes-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nodes-actions .button {
    width: 100%;
  }

  .nodes-facts li {
    padding: 14px 10px;
  }

  .nodes-facts strong {
    font-size: 12px;
  }

  .nodes-atlas {
    min-height: 320px;
    border-radius: var(--radius-card);
  }

  .nodes-map {
    min-height: 240px;
    padding: 10px;
  }

  .nodes-atlas-head,
  .nodes-atlas-foot {
    padding-inline: 14px;
  }

  .nodes-type-card {
    padding: 20px;
  }

  .nodes-use-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 15px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .nodes-use-mark {
    width: 40px;
    height: 40px;
  }

  .nodes-use-item h3 {
    font-size: 24px;
  }

  .nodes-use-item .fact-chip {
    grid-column: 1 / -1;
  }

  .nodes-method-steps li {
    padding: 18px 16px 18px 66px;
  }

  .nodes-method-steps li::before {
    top: 18px;
    left: 16px;
  }
}