.nodes-hero{
  position:relative;
  overflow-x:clip;
  border-bottom:1px solid var(--border);
  background-image:
    radial-gradient(ellipse at top right,var(--accent-glow-soft),transparent),
    linear-gradient(var(--grid-dot) 1px,transparent 1px),
    linear-gradient(90deg,var(--grid-dot) 1px,transparent 1px);
  background-size:auto,48px 48px,48px 48px;
}

.nodes-hero-grid{
  display:grid;
  min-height:clamp(620px,calc(100svh - var(--header-height)),820px);
  grid-template-columns:minmax(0,1fr) minmax(440px,46%);
  gap:clamp(38px,6vw,76px);
  align-items:center;
  padding-top:64px;
  padding-bottom:64px;
}

.nodes-hero-copy{
  min-width:0;
}

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

.nodes-lead{
  max-width:650px;
  margin-top:22px;
  color:var(--text-muted);
  font-size:clamp(16px,1.6vw,19px);
}

.nodes-hero-copy .fact-list{
  margin-top:26px;
}

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

.nodes-route-board{
  position:relative;
  min-width:0;
  min-height:440px;
  overflow:hidden;
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:0 0 0 1px var(--accent-glow-soft),0 28px 68px var(--shadow-deep);
}

.nodes-route-board::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(ellipse at center,var(--accent-glow-soft),transparent);
}

.route-board-head{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:space-between;
  padding:18px 20px;
  color:var(--text-muted);
  border-bottom:1px solid var(--border);
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.12em;
}

.route-board-svg{
  position:absolute;
  inset:54px 0 auto;
  width:100%;
  height:auto;
}

.route-grid-line{
  fill:none;
  stroke:var(--border);
  stroke-width:1;
  opacity:.6;
}

.route-track{
  fill:none;
  stroke:var(--accent);
  stroke-width:2;
  filter:drop-shadow(0 0 7px var(--accent-glow-strong));
}

.route-track-secondary{
  fill:none;
  stroke:var(--accent-dark);
  stroke-width:1.5;
  stroke-dasharray:7 7;
}

.route-node{
  fill:var(--bg-panel-2);
  stroke:var(--accent-dark);
  stroke-width:2;
}

.route-node-main{
  fill:var(--accent);
  stroke:var(--text);
  filter:drop-shadow(0 0 8px var(--accent-glow-strong));
}

.region-badge{
  position:absolute;
  z-index:3;
  min-width:132px;
  padding:10px 12px;
  background:var(--bg-panel-2);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  box-shadow:0 10px 24px var(--shadow-mid);
}

.region-badge strong{
  display:block;
  font-size:13px;
}

.region-badge span{
  display:block;
  margin-top:2px;
  color:var(--text-muted);
  font-size:11px;
}

.region-badge-asia{
  left:7%;
  bottom:17%;
}

.region-badge-america{
  top:25%;
  right:7%;
}

.region-badge-europe{
  right:12%;
  bottom:18%;
}

.route-note{
  position:absolute;
  z-index:4;
  right:20px;
  bottom:16px;
  max-width:260px;
  padding-top:8px;
  color:var(--warn);
  border-top:1px dashed var(--warn);
  font-family:var(--font-mono);
  font-size:10px;
  text-align:right;
}

.nodes-directory{
  background:var(--bg);
}

.directory-section,
.type-section,
.use-case-section,
.switching-section,
.coverage-section{
  min-width:0;
}

.directory-section{
  padding-top:28px;
}

.line-kind,
.streaming-state,
.switching-label{
  display:inline-flex;
  max-width:100%;
  align-items:center;
  border-radius:var(--radius-pill);
  font-size:12px;
}

.line-kind{
  padding:4px 10px;
  color:var(--accent);
  background:var(--accent-glow-soft);
  border:1px solid var(--accent-dark);
}

.streaming-state{
  gap:7px;
  color:var(--text-muted);
}

.streaming-state::before{
  content:"";
  width:7px;
  height:7px;
  flex:0 0 auto;
  background:var(--success);
  border-radius:50%;
}

.type-section,
.use-case-section,
.switching-section,
.coverage-section{
  border-top:1px solid var(--border);
}

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

.line-type-card{
  min-width:0;
  padding:28px;
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
}

.line-type-card:nth-child(2){
  background:var(--bg-panel-2);
  border-color:var(--accent-dark);
  box-shadow:0 20px 52px var(--shadow-mid);
}

.type-card-head{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  margin-bottom:20px;
}

.type-code{
  color:var(--accent);
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.12em;
}

.line-type-card h3{
  font-size:25px;
}

.line-type-card p{
  margin-top:15px;
  color:var(--text-muted);
}

.type-points{
  display:grid;
  gap:9px;
  margin-top:22px;
  list-style:none;
  color:var(--text-muted);
  font-size:14px;
}

.type-points li{
  display:flex;
  gap:9px;
}

.type-points li::before{
  content:"";
  width:7px;
  height:7px;
  flex:0 0 auto;
  margin-top:.62em;
  background:var(--accent);
  border-radius:50%;
  box-shadow:0 0 8px var(--accent-glow-strong);
}

.use-case-ledger{
  border-top:1px solid var(--border);
}

.use-case-row{
  display:grid;
  grid-template-columns:minmax(180px,26%) minmax(0,1fr);
  gap:32px;
  padding-top:28px;
  padding-bottom:28px;
  border-bottom:1px solid var(--border);
}

.case-label{
  min-width:0;
}

.case-mark{
  display:block;
  margin-bottom:8px;
  color:var(--accent);
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.14em;
}

.case-label h3{
  font-size:23px;
}

.case-copy{
  min-width:0;
  color:var(--text-muted);
}

.case-copy p+p{
  margin-top:12px;
}

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

.switching-card{
  min-width:0;
  padding:25px;
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
}

.switching-label{
  padding:3px 9px;
  color:var(--accent);
  background:var(--accent-glow-soft);
  border:1px solid var(--accent-dark);
  font-family:var(--font-mono);
}

.switching-card h3{
  margin-top:14px;
  font-size:21px;
}

.switching-card p{
  margin-top:11px;
  color:var(--text-muted);
}

.coverage-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,36%);
  gap:32px;
  align-items:start;
}

.coverage-copy h3{
  font-size:22px;
}

.coverage-copy h3:not(:first-child){
  margin-top:34px;
}

.coverage-facts{
  position:sticky;
  top:var(--toc-offset);
  padding:26px;
}

.coverage-facts dl{
  margin:24px 0;
}

.coverage-facts dl div{
  display:grid;
  grid-template-columns:minmax(90px,34%) minmax(0,1fr);
  gap:16px;
  padding-top:15px;
  padding-bottom:15px;
  border-bottom:1px solid var(--border);
}

.coverage-facts dt{
  color:var(--text-muted);
  font-size:13px;
}

.coverage-facts dd{
  min-width:0;
  color:var(--text);
  overflow-wrap:anywhere;
  font-weight:650;
}

.coverage-facts .btn{
  width:100%;
}

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

  .nodes-route-board{
    min-height:420px;
  }

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

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

  .coverage-facts{
    position:static;
  }
}

@media (max-width:768px){
  .nodes-hero-grid{
    min-height:auto;
    padding-top:52px;
    padding-bottom:52px;
  }

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

  .route-board-svg{
    top:66px;
  }

  .region-badge{
    min-width:112px;
  }

  .region-badge-america{
    top:28%;
    right:4%;
  }

  .region-badge-europe{
    right:6%;
    bottom:20%;
  }

  .route-note{
    display:none;
  }

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

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

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

  .route-board-head{
    padding-inline:14px;
  }

  .region-badge{
    min-width:0;
    max-width:132px;
    padding:8px 9px;
  }

  .region-badge span{
    display:none;
  }

  .region-badge-asia{
    left:5%;
    bottom:15%;
  }

  .region-badge-america{
    top:28%;
    right:5%;
  }

  .region-badge-europe{
    right:8%;
    bottom:18%;
  }

  .line-type-card,
  .switching-card,
  .coverage-facts{
    padding:21px;
  }

  .coverage-facts dl div{
    grid-template-columns:1fr;
    gap:5px;
  }
}