.nodes-hero {
  position: relative;
  overflow-x: clip;
  padding-top: clamp(54px, 8vw, 96px);
  padding-bottom: clamp(64px, 9vw, 112px);
  background:
    linear-gradient(to right, var(--color-accent-faint) 1px, transparent 1px),
    linear-gradient(to bottom, var(--color-accent-faint) 1px, transparent 1px);
  background-size: 52px 52px;
}

.nodes-hero::before {
  position: absolute;
  top: -18%;
  left: 50%;
  width: min(86vw, 940px);
  aspect-ratio: 1;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle, var(--color-accent-soft), transparent 66%);
  transform: translateX(-50%);
  content: "";
  pointer-events: none;
}

.nodes-hero-inner {
  position: relative;
  z-index: 1;
}

.nodes-hero-copy {
  max-width: 940px;
  margin-inline: auto;
  text-align: center;
}

.nodes-hero-copy h1 {
  margin: 18px auto 16px;
}

.nodes-hero-lead {
  max-width: 790px;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.75;
}

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

.nodes-hero-actions {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.nodes-fact-line {
  max-width: 840px;
  margin: 25px auto 0;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-white-soft);
  box-shadow: var(--shadow-soft);
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 650;
}

.nodes-fact-line span {
  padding-inline: 18px;
}

.nodes-fact-line span + span {
  border-left: 1px solid var(--color-border);
}

.nodes-fact-line strong {
  color: var(--color-accent-dark);
  font-family: var(--font-mono);
}

.nodes-route-board {
  position: relative;
  max-width: 1120px;
  margin: 42px auto 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 52%, var(--color-accent-soft), transparent 30%),
    var(--color-panel);
  box-shadow: var(--shadow-card);
}

.nodes-route-board::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
  background-size: 19px 19px;
  opacity: .48;
  content: "";
  pointer-events: none;
}

.nodes-board-top {
  position: relative;
  z-index: 2;
  min-height: 49px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white-soft);
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
}

.nodes-board-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-success);
}

.nodes-board-state span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: var(--radius-pill);
  background: var(--color-success);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--color-success) 12%, transparent);
}

.nodes-map-field {
  position: relative;
  z-index: 1;
  min-height: 330px;
}

.nodes-map-lines {
  position: absolute;
  inset: 5px 3% 0;
  width: 94%;
  height: 100%;
}

.nodes-line-soft,
.nodes-line-core {
  fill: none;
  stroke-linecap: round;
}

.nodes-line-soft {
  stroke: var(--color-accent-soft);
  stroke-width: 16;
}

.nodes-line-core {
  stroke: var(--color-accent);
  stroke-width: 2;
  stroke-dasharray: 6 8;
}

.nodes-map-ring {
  fill: var(--color-accent-faint);
  stroke: var(--color-accent-soft);
  stroke-width: 2;
}

.nodes-map-point {
  fill: var(--color-white);
  stroke: var(--color-accent);
  stroke-width: 4;
}

.nodes-map-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 132px;
  min-height: 78px;
  padding: 13px;
  display: grid;
  place-content: center;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: 0 0 0 10px var(--color-accent-faint), var(--shadow-soft);
  transform: translate(-50%, -50%);
  text-align: center;
}

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

.nodes-map-center span {
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .08em;
}

.nodes-map-center strong {
  margin-top: 3px;
  color: var(--color-accent-dark);
  font-size: 14px;
}

.nodes-map-label {
  position: absolute;
  min-height: 33px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  color: var(--color-text);
  font-size: 11px;
  font-weight: 750;
}

.nodes-map-label-device {
  top: 47%;
  left: 5%;
}

.nodes-map-label-apac {
  top: 17%;
  right: 6%;
}

.nodes-map-label-america {
  right: 5%;
  bottom: 18%;
}

.nodes-map-label-europe {
  top: 14%;
  left: 25%;
}

.nodes-board-regions {
  position: relative;
  z-index: 2;
  min-height: 62px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--color-border);
  background: var(--color-white-soft);
}

.nodes-board-regions span {
  padding: 5px 11px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-panel);
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 700;
}

.nodes-toc-wrap {
  position: relative;
  z-index: 30;
  margin-top: -23px;
}

.nodes-toc-wrap .toc-tabs {
  width: fit-content;
  margin-inline: auto;
}

.route-directory-note {
  margin-bottom: 22px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
}

.route-directory-note strong {
  display: block;
  margin-bottom: 4px;
}

.route-directory-note p {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.route-directory-note > span {
  color: var(--color-accent-dark);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .05em;
  white-space: nowrap;
}

.nodes-route-table td:first-child {
  font-weight: 720;
}

.route-kind,
.route-support,
.route-review {
  display: inline-flex;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  padding: 3px 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 740;
  line-height: 1.3;
  white-space: nowrap;
}

.route-kind {
  background: var(--color-panel);
  color: var(--color-accent-dark);
}

.route-kind-premium {
  border-color: color-mix(in srgb, var(--color-accent) 48%, var(--color-border));
  background: var(--color-panel-strong);
}

.route-kind-direct {
  background: var(--color-white);
  color: var(--color-muted);
}

.route-support {
  border-color: color-mix(in srgb, var(--color-success) 38%, var(--color-border));
  background: color-mix(in srgb, var(--color-success) 8%, var(--color-white));
  color: var(--color-success);
}

.route-review {
  background: var(--color-white);
  color: var(--color-muted);
}

.nodes-type-section {
  background: var(--color-panel);
}

.route-type-track {
  position: relative;
  display: grid;
  gap: 18px;
}

.route-type-track::before {
  position: absolute;
  top: 48px;
  bottom: 48px;
  left: 74px;
  width: 1px;
  background: var(--color-border);
  content: "";
}

.route-type-entry {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-columns: 102px 170px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.route-type-index {
  position: relative;
  z-index: 2;
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  background: var(--color-panel-strong);
  color: var(--color-accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
}

.route-type-path {
  min-height: 54px;
  display: flex;
  align-items: center;
}

.route-type-path span {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border: 3px solid var(--color-accent);
  border-radius: var(--radius-pill);
  background: var(--color-white);
}

.route-type-path i {
  height: 2px;
  flex: 1;
  background: repeating-linear-gradient(
    to right,
    var(--color-accent),
    var(--color-accent) 6px,
    transparent 6px,
    transparent 11px
  );
}

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

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

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

.route-type-facts div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-panel);
}

.route-type-facts dt {
  color: var(--color-accent-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
}

.route-type-facts dd {
  margin: 6px 0 0;
  color: var(--color-muted);
  font-size: 12px;
}

.use-case-layout {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 28px;
}

.use-case-rail {
  position: sticky;
  top: calc(var(--toc-top) + 68px);
  align-self: start;
  padding: 18px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  box-shadow: var(--shadow-soft);
}

.use-case-rail span {
  min-height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 750;
}

.use-case-rail span:first-child,
.use-case-rail span:last-child {
  color: var(--accent-dark);
}

.use-case-details {
  min-width: 0;
  display: grid;
}

.use-case-item {
  min-width: 0;
  padding: 30px 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 22px;
  border-bottom: 1px solid var(--color-border);
}

.use-case-item:first-child {
  padding-top: 0;
}

.use-case-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.use-case-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel-strong);
  color: var(--color-accent-dark);
}

.use-case-mark svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.7;
}

.use-case-item h3 {
  margin-bottom: 10px;
}

.use-case-item p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.nodes-switch-section {
  background:
    linear-gradient(to right, var(--color-accent-faint) 1px, transparent 1px),
    var(--color-panel);
  background-size: 52px 52px;
}

.switch-sequence {
  max-width: 980px;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
  counter-reset: route-step;
}

.switch-sequence li {
  position: relative;
  min-width: 0;
  padding: 24px 26px 24px 82px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  counter-increment: route-step;
}

.switch-sequence li::before {
  position: absolute;
  top: 25px;
  left: 24px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-white);
  content: counter(route-step);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

.switch-sequence h3 {
  margin-bottom: 7px;
  font-size: 20px;
}

.switch-sequence p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.switch-principle {
  max-width: 980px;
  margin-top: 18px;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  border-radius: var(--radius-md);
  background: var(--color-text);
  color: var(--color-white);
}

.switch-principle strong {
  color: var(--color-white);
  white-space: nowrap;
}

.switch-principle p {
  margin-bottom: 0;
  color: var(--color-border);
}

.coverage-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 62px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 82% 52%, var(--color-accent-soft), transparent 34%),
    var(--color-panel);
  box-shadow: var(--shadow-card);
}

.coverage-panel::before {
  position: absolute;
  right: -74px;
  bottom: -106px;
  width: 250px;
  height: 250px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 28px var(--color-accent-faint), 0 0 0 56px var(--color-accent-faint);
  content: "";
}

.coverage-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.coverage-copy h2 {
  margin: 18px 0 16px;
}

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

.coverage-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.region-badge-wall {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.region-badge-wall span {
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white-soft);
  box-shadow: var(--shadow-soft);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 710;
}

@media (max-width: 980px) {
  .route-type-entry {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .route-type-path {
    display: none;
  }

  .route-type-track::before {
    left: 66px;
  }

  .route-type-facts {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .region-badge-wall {
    max-width: 680px;
  }
}

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

  .nodes-fact-line {
    border-radius: var(--radius-lg);
  }

  .nodes-fact-line span {
    width: 50%;
    padding: 6px 10px;
  }

  .nodes-fact-line span + span {
    border-left: 0;
  }

  .nodes-route-board {
    margin-top: 30px;
    border-radius: var(--radius-lg);
  }

  .nodes-map-field {
    min-height: 265px;
  }

  .nodes-map-label-europe {
    display: none;
  }

  .nodes-map-label-device {
    left: 4%;
  }

  .nodes-map-label-apac,
  .nodes-map-label-america {
    right: 4%;
  }

  .nodes-map-center {
    width: 112px;
  }

  .route-directory-note {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .route-type-entry {
    padding: 22px;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .route-type-track::before {
    display: none;
  }

  .route-type-index {
    width: fit-content;
    min-width: 84px;
    min-height: 42px;
    padding-inline: 13px;
  }

  .use-case-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .use-case-rail {
    position: static;
    padding: 8px;
    display: flex;
    overflow-x: auto;
    border-radius: var(--radius-md);
    -webkit-overflow-scrolling: touch;
  }

  .use-case-rail span {
    min-width: 92px;
    flex: 0 0 auto;
    justify-content: center;
  }

  .switch-principle {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .nodes-board-top {
    padding-inline: 15px;
  }

  .nodes-board-mark {
    max-width: 58%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nodes-map-field {
    min-height: 235px;
  }

  .nodes-map-label {
    min-height: 29px;
    padding-inline: 10px;
    font-size: 10px;
  }

  .nodes-map-label-device {
    top: 45%;
  }

  .nodes-map-label-apac {
    top: 17%;
  }

  .nodes-map-label-america {
    bottom: 16%;
  }

  .nodes-map-center {
    width: 98px;
    min-height: 68px;
  }

  .nodes-board-regions {
    justify-content: flex-start;
    padding: 12px 14px;
  }

  .nodes-toc-wrap {
    margin-top: -18px;
  }

  .nodes-toc-wrap .toc-tabs {
    width: 100%;
  }

  .route-directory-note {
    padding: 18px;
  }

  .use-case-item {
    padding: 25px 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

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

  .switch-sequence li {
    padding: 70px 20px 22px;
  }

  .switch-sequence li::before {
    top: 20px;
    left: 20px;
  }

  .coverage-panel {
    padding: 26px 20px;
    border-radius: var(--radius-lg);
  }

  .region-badge-wall {
    grid-template-columns: minmax(0, 1fr);
  }

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