.nodes-hero {
  position: relative;
  padding-top: clamp(44px, 7vw, 92px);
  padding-bottom: clamp(50px, 8vw, 100px);
  overflow: hidden;
}

.nodes-hero::before {
  position: absolute;
  top: 9%;
  right: -8%;
  width: min(58vw, 760px);
  height: min(46vw, 590px);
  content: "";
  pointer-events: none;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle, var(--color-blue-medium), transparent 68%);
  filter: blur(36px);
  opacity: 0.72;
}

.nodes-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
}

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

.nodes-hero-copy h1 {
  max-width: 690px;
  margin-top: 18px;
  font-size: clamp(48px, 5.2vw, 68px);
}

.nodes-hero-lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--color-text-muted);
  font-size: 17px;
}

.nodes-hero-actions,
.nodes-fact-row,
.coverage-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
}

.nodes-fact-row {
  margin-top: 22px;
}

.nodes-route-board {
  position: relative;
  min-height: 470px;
  padding: 22px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 82% 15%, var(--color-yellow-soft), transparent 25%),
    linear-gradient(145deg, var(--color-white-strong), var(--color-panel-blue));
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(22px);
}

.nodes-route-board::before {
  position: absolute;
  inset: 58px 22px 54px;
  content: "";
  border-radius: var(--radius-lg);
  background:
    linear-gradient(var(--color-map-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-map-grid) 1px, transparent 1px);
  background-size: 34px 34px;
}

.nodes-board-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 36px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.nodes-board-head span:last-child {
  color: var(--color-accent-dark);
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -0.03em;
}

.nodes-map {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 360px;
}

.nodes-map-land {
  fill: var(--color-map-land);
}

.nodes-map-line {
  fill: none;
  stroke: var(--color-map-line);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 8 9;
}

.nodes-map-line-soft {
  fill: none;
  stroke: var(--color-blue-medium);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 5 8;
}

.nodes-map-node {
  fill: var(--color-warn);
  stroke: var(--color-white-strong);
  stroke-width: 5;
}

.nodes-map-hub {
  fill: var(--color-accent);
  stroke: var(--color-white-strong);
  stroke-width: 5;
}

.nodes-map-label {
  fill: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 730;
}

.nodes-board-note {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  z-index: 2;
  color: var(--color-text-muted);
  font-size: 11px;
  text-align: center;
}

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

.route-type-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 18px;
}

.route-type-card {
  position: relative;
  padding: clamp(25px, 3.5vw, 38px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  box-shadow: var(--shadow-card);
}

.route-type-card::after {
  position: absolute;
  right: -45px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  content: "";
  border-radius: var(--radius-pill);
  background: var(--color-blue-faint);
}

.route-type-primary {
  background:
    radial-gradient(circle at 95% 5%, var(--color-yellow-soft), transparent 31%),
    var(--color-panel-blue);
}

.route-type-index {
  position: relative;
  z-index: 1;
  margin-bottom: 34px;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.1em;
}

.route-type-card h3,
.route-type-card p {
  position: relative;
  z-index: 1;
}

.route-type-card p {
  color: var(--color-text-muted);
  font-size: 15px;
}

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

.route-comparison {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  gap: 32px;
  margin-top: 22px;
  padding: clamp(25px, 4vw, 42px);
  border-radius: var(--radius-xl);
  background: var(--color-accent-dark);
  color: var(--color-panel);
  box-shadow: var(--shadow-panel);
}

.route-comparison h3 {
  color: var(--color-panel);
}

.route-comparison p {
  color: var(--color-white-soft);
}

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

.route-comparison-grid > div {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--color-white-faint);
}

.route-comparison-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-panel);
}

.route-comparison-grid p {
  margin: 0;
  font-size: 13px;
}

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

.use-case-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: clamp(23px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  box-shadow: var(--shadow-card);
}

.use-case-card:nth-child(2),
.use-case-card:nth-child(4) {
  background: var(--color-panel-soft);
}

.use-case-wide {
  grid-column: 1 / -1;
}

.use-case-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: var(--radius-md);
  color: var(--color-accent-dark);
  background: var(--color-panel-blue);
}

.use-case-mark svg {
  width: 27px;
  height: 27px;
}

.use-case-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.use-case-card p {
  color: var(--color-text-muted);
  font-size: 15px;
}

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

.selection-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.selection-step {
  position: relative;
  padding: 26px 23px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  box-shadow: var(--shadow-card);
}

.selection-step::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--color-accent), var(--color-warn));
}

.selection-step-label {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  color: var(--color-accent-dark);
  background: var(--color-panel-blue);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 730;
}

.selection-step h3 {
  font-size: 20px;
}

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

.coverage-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(28px, 5vw, 62px);
  padding: clamp(30px, 6vw, 66px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 91% 10%, var(--color-yellow-soft), transparent 25%),
    var(--color-panel-blue-deep);
  box-shadow: var(--shadow-panel);
}

.coverage-copy {
  max-width: 740px;
}

.coverage-copy h2 {
  margin-top: 17px;
}

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

.coverage-actions {
  margin-top: 28px;
}

.region-badge-wall {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 10px;
  transform: rotate(-2deg);
}

.region-badge-wall span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  max-width: 100%;
  padding: 0 16px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  color: var(--color-accent-dark);
  background: var(--color-white-strong);
  box-shadow: var(--shadow-card);
  font-size: 13px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-badge-wall span:nth-child(3n) {
  color: var(--color-text);
  background: var(--color-yellow-soft);
}

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

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

  .nodes-route-board {
    max-width: 860px;
  }

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

  .route-type-primary {
    grid-column: 1 / -1;
  }

  .selection-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .route-comparison,
  .coverage-panel {
    grid-template-columns: 1fr;
  }

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

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

  .use-case-wide {
    grid-column: auto;
  }

  .region-badge-wall {
    transform: none;
  }
}

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

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

  .nodes-hero-copy h1 {
    font-size: clamp(40px, 12vw, 48px);
  }

  .nodes-hero-lead {
    font-size: 15px;
  }

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

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

  .nodes-route-board {
    min-height: 330px;
    padding: 16px;
    border-radius: var(--radius-lg);
  }

  .nodes-route-board::before {
    inset: 50px 15px 45px;
  }

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

  .nodes-board-note {
    right: 16px;
    bottom: 12px;
    left: 16px;
  }

  .route-type-layout,
  .selection-steps {
    grid-template-columns: 1fr;
  }

  .route-type-primary {
    grid-column: auto;
  }

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

  .route-comparison,
  .coverage-panel {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }

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

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

  .region-badge-wall {
    gap: 8px;
  }

  .region-badge-wall span {
    min-height: 38px;
    padding-inline: 13px;
    font-size: 12px;
  }
}

@media (max-width: 390px) {
  .nodes-map-label {
    font-size: 13px;
  }

  .use-case-card,
  .route-type-card,
  .selection-step {
    padding: 21px 18px;
  }

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