.nodes-hero {
  padding-top: 36px;
  padding-bottom: 44px;
}

.nodes-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.nodes-hero-copy,
.nodes-route-card {
  min-height: 520px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.nodes-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  border: 1px solid var(--color-white-45);
  background: var(--color-panel);
}

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

.nodes-hero-copy .lead {
  max-width: 42em;
  margin-top: 22px;
  margin-bottom: 0;
}

.nodes-route-card {
  position: relative;
  min-width: 0;
  overflow: clip;
  border: 1px solid var(--color-white-45);
}

.nodes-route-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(var(--color-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-grid) 1px, transparent 1px);
  background-size: 38px 38px;
}

.nodes-route-card svg {
  position: absolute;
  inset: 34px 26px 68px;
  width: calc(100% - 52px);
  height: calc(100% - 102px);
}

.nodes-map-shape {
  stroke: var(--color-border);
  stroke-width: 20;
  stroke-linecap: round;
  opacity: 0.7;
}

.nodes-map-shape-lower {
  opacity: 0.5;
}

.nodes-route-line {
  stroke: var(--color-text);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nodes-route-highlight {
  stroke: var(--color-panel);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.82;
}

.nodes-map-node {
  fill: var(--color-panel);
  stroke: var(--color-text);
  stroke-width: 4;
}

.nodes-map-node-primary {
  fill: var(--color-mint);
}

.nodes-map-ring {
  stroke: var(--color-text);
  stroke-width: 2;
  opacity: 0.42;
}

.nodes-map-ring-wide {
  opacity: 0.2;
}

.nodes-ground {
  stroke: var(--color-border);
  stroke-width: 8;
  stroke-linecap: round;
}

.nodes-bolt {
  stroke: var(--color-text);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nodes-route-caption {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid var(--color-white-45);
  border-radius: var(--radius-pill);
  background: var(--color-panel);
  box-shadow: var(--shadow-small);
  font-size: 13px;
}

.nodes-route-caption strong {
  font-family: var(--font-mono);
  font-size: 12px;
}

.route-kind,
.streaming-state {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.route-kind {
  border: 1px solid var(--color-border);
  background: var(--color-lavender);
}

.streaming-state {
  color: var(--color-success);
  background: var(--color-mint);
}

.nodes-types {
  background: var(--color-panel-deep);
}

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

.route-type-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 22px 24px 28px;
}

.route-type-card h3 {
  margin-top: 12px;
}

.route-type-card p {
  color: var(--color-muted);
}

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

.route-sketch {
  position: relative;
  height: 126px;
  margin: -4px -6px 22px;
  overflow: hidden;
  border: 1px solid var(--color-white-45);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
}

.route-sketch-cloud {
  position: absolute;
  top: 24px;
  left: 26px;
  width: 72px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: var(--color-lavender);
  box-shadow: 22px -12px 0 -3px var(--color-lavender);
}

.route-sketch-ground {
  position: absolute;
  right: 20px;
  bottom: 24px;
  left: 20px;
  height: 12px;
  border-radius: var(--radius-pill);
  background: var(--color-panel-deep);
}

.route-sketch-line {
  position: absolute;
  top: 50px;
  right: 42px;
  left: 78px;
  height: 42px;
  border-right: 5px solid var(--color-text);
  border-bottom: 5px solid var(--color-text);
  transform: skewX(-24deg);
}

.route-sketch-line-relay {
  left: 102px;
  border-bottom-style: dashed;
}

.route-sketch-line-open {
  border-right-style: dashed;
  border-bottom-style: dashed;
}

.route-sketch-hop {
  position: absolute;
  top: 54px;
  left: 50%;
  z-index: 2;
  width: 22px;
  height: 22px;
  transform: translateX(-50%);
  border: 4px solid var(--color-text);
  border-radius: var(--radius-pill);
  background: var(--color-peach);
}

.route-cost-note {
  margin-top: 18px;
  padding: 30px;
}

.route-cost-note h3 {
  font-size: 24px;
}

.route-cost-note p {
  max-width: 74em;
  color: var(--color-muted);
}

.route-cost-note p:last-child {
  margin-bottom: 0;
}

.use-case-list {
  display: grid;
  gap: 14px;
}

.use-case-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 1fr);
  overflow: clip;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-panel);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-card), box-shadow var(--transition-card);
}

.use-case-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.use-case-label {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px;
}

.use-case-label span {
  font-family: var(--font-mono);
  font-size: 30px;
}

.use-case-label strong {
  font-size: 19px;
}

.use-case-copy {
  padding: 30px 34px;
}

.use-case-copy h3 {
  font-size: 24px;
}

.use-case-copy p {
  color: var(--color-muted);
}

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

.nodes-coverage {
  background: var(--color-butter);
}

.coverage-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: 48px;
  align-items: center;
}

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

.coverage-copy .text-link {
  margin-top: 10px;
}

.coverage-board {
  position: relative;
  min-height: 430px;
  overflow: clip;
  border: 1px solid var(--color-white-45);
  border-radius: var(--radius-xl);
  background: var(--color-panel);
  box-shadow: var(--shadow-card);
}

.coverage-board::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(var(--color-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-grid) 1px, transparent 1px);
  background-size: 44px 44px;
}

.coverage-board svg {
  position: absolute;
  inset: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
}

.coverage-board svg path,
.coverage-board svg circle {
  stroke: var(--color-border);
  stroke-width: 2;
  stroke-linecap: round;
}

.coverage-board svg circle:last-child {
  stroke-dasharray: 6 10;
}

.coverage-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 118px;
  height: 118px;
  place-content: center;
  transform: translate(-50%, -50%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-mint);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.coverage-center strong,
.coverage-center span {
  display: block;
}

.coverage-center strong {
  font-family: var(--font-display);
  font-size: 20px;
}

.coverage-center span {
  color: var(--color-muted);
  font-size: 13px;
}

.coverage-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-panel);
  box-shadow: var(--shadow-small);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.coverage-chip-asia {
  top: 50px;
  left: 54px;
  background: var(--color-peach);
}

.coverage-chip-america {
  top: 48px;
  right: 50px;
  background: var(--color-lavender);
}

.coverage-chip-europe {
  top: 210px;
  right: 38px;
  background: var(--color-mint);
}

.coverage-chip-oceania {
  bottom: 44px;
  left: 48px;
  background: var(--color-butter);
}

.coverage-chip-other {
  right: 118px;
  bottom: 26px;
}

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

.testing-card {
  position: relative;
  padding: 28px 28px 28px 76px;
}

.testing-card h3 {
  font-size: 22px;
}

.testing-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.testing-mark {
  position: absolute;
  top: 28px;
  left: 24px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: var(--radius-md);
  color: var(--color-accent-dark);
  background: var(--color-lavender);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
}

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

  .nodes-hero-copy,
  .nodes-route-card {
    min-height: 440px;
  }

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

  .coverage-layout {
    gap: 30px;
  }

  .coverage-board {
    min-height: 410px;
  }
}

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

  .nodes-hero-copy {
    min-height: auto;
    padding: 30px 24px;
  }

  .nodes-route-card {
    min-height: 360px;
  }

  .nodes-route-card svg {
    inset: 24px 14px 64px;
    width: calc(100% - 28px);
    height: calc(100% - 88px);
  }

  .nodes-route-caption {
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding-inline: 13px;
  }

  .route-type-card {
    padding: 20px 20px 26px;
  }

  .use-case-row {
    grid-template-columns: 1fr;
  }

  .use-case-label {
    min-height: 94px;
    flex-direction: row;
    align-items: center;
    padding: 20px 22px;
  }

  .use-case-copy {
    padding: 24px 22px;
  }

  .coverage-board {
    min-height: 380px;
  }

  .coverage-chip-asia {
    top: 34px;
    left: 24px;
  }

  .coverage-chip-america {
    top: 34px;
    right: 22px;
  }

  .coverage-chip-europe {
    top: 190px;
    right: 18px;
  }

  .coverage-chip-oceania {
    bottom: 42px;
    left: 22px;
  }

  .coverage-chip-other {
    right: 30px;
    bottom: 24px;
  }

  .testing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nodes-route-card {
    min-height: 310px;
  }

  .nodes-route-caption span {
    font-size: 11px;
  }

  .nodes-route-caption strong {
    font-size: 10px;
  }

  .route-cost-note {
    padding: 24px 22px;
  }

  .coverage-board {
    min-height: 340px;
  }

  .coverage-center {
    width: 98px;
    height: 98px;
  }

  .coverage-chip {
    min-height: 34px;
    padding: 6px 11px;
    font-size: 12px;
  }

  .coverage-chip-asia {
    top: 25px;
    left: 16px;
  }

  .coverage-chip-america {
    top: 25px;
    right: 16px;
  }

  .coverage-chip-europe {
    top: 162px;
    right: 12px;
  }

  .coverage-chip-oceania {
    bottom: 36px;
    left: 14px;
  }

  .coverage-chip-other {
    right: 18px;
    bottom: 18px;
  }

  .testing-card {
    padding: 70px 22px 24px;
  }

  .testing-mark {
    top: 22px;
    left: 22px;
  }
}