.nodes-hero{
  position:relative;
  padding-top:72px;
  padding-bottom:76px;
  overflow-x:clip;
}
.nodes-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(180deg,var(--wash),transparent 48%),
    linear-gradient(var(--grid-line) 1px,transparent 1px),
    linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);
  background-size:100% 100%,32px 32px,32px 32px;
  pointer-events:none;
}
.nodes-hero-inner{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(420px,.92fr);
  align-items:center;
  gap:58px;
}
.nodes-hero-copy{
  position:relative;
  z-index:1;
}
.nodes-title{
  max-width:720px;
  margin:20px 0 0;
  font-size:clamp(48px,5vw,66px);
  font-weight:900;
}
.nodes-lead{
  max-width:690px;
  margin:20px 0 0;
  color:var(--text-muted);
  font-size:18px;
}
.nodes-facts{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:22px;
}
.nodes-actions{
  justify-content:flex-start;
  margin-top:24px;
}
.route-board{
  position:relative;
  z-index:1;
  overflow:hidden;
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
}
.route-board-head{
  min-height:42px;
  padding:8px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:var(--bg);
  border-bottom:1px solid var(--border);
  color:var(--text-muted);
  font-size:12px;
}
.route-board-state{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--tint-green-fg);
  font-weight:750;
}
.route-board-state i{
  width:8px;
  height:8px;
  flex:none;
  border-radius:var(--radius-pill);
  background:var(--success);
  box-shadow:0 0 0 3px var(--tint-green-bg);
}
.route-board-body{
  padding:26px;
}
.route-origin{
  padding:16px;
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  column-gap:12px;
  border:1px solid var(--border);
  border-radius:var(--radius);
}
.route-origin strong{
  line-height:1.3;
}
.route-origin small{
  grid-column:2;
  color:var(--text-muted);
}
.route-point{
  width:13px;
  height:13px;
  flex:none;
  border:3px solid var(--bg-panel);
  border-radius:var(--radius-pill);
  background:var(--accent);
  box-shadow:0 0 0 2px var(--tint-blue-line);
}
.route-point-origin{
  grid-row:1 / span 2;
  background:var(--text);
  box-shadow:0 0 0 2px var(--border);
}
.route-track{
  position:relative;
  height:46px;
  margin-left:22px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.route-track::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:1px;
  height:22px;
  background:var(--connection);
}
.route-track::after{
  content:"";
  position:absolute;
  top:21px;
  left:0;
  right:16%;
  height:1px;
  background:var(--connection);
}
.route-track span{
  position:relative;
}
.route-track span::after{
  content:"";
  position:absolute;
  top:21px;
  right:0;
  width:1px;
  height:25px;
  background:var(--connection);
}
.route-destinations{
  display:grid;
  gap:10px;
}
.route-destination{
  min-height:62px;
  padding:11px 14px;
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid;
  border-radius:var(--radius);
}
.route-destination strong,
.route-destination small{
  display:block;
}
.route-destination small{
  margin-top:2px;
}
.tone-blue-card{
  color:var(--tint-blue-fg);
  background:var(--tint-blue-bg);
  border-color:var(--tint-blue-line);
}
.tone-cyan-card{
  color:var(--tint-cyan-fg);
  background:var(--tint-cyan-bg);
  border-color:var(--tint-cyan-line);
}
.tone-cyan-card .route-point{
  background:var(--accent-2);
  box-shadow:0 0 0 2px var(--tint-cyan-line);
}
.tone-green-card{
  color:var(--tint-green-fg);
  background:var(--tint-green-bg);
  border-color:var(--tint-green-line);
}
.tone-green-card .route-point{
  background:var(--success);
  box-shadow:0 0 0 2px var(--tint-green-line);
}
.route-board-foot{
  padding:12px 16px;
  display:flex;
  justify-content:center;
  gap:10px;
  background:var(--bg);
  border-top:1px solid var(--border);
}
.route-board-foot span{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--text-muted);
  font-family:var(--font-mono);
  font-size:11px;
}
.route-board-foot span+span::before{
  content:"→";
  color:var(--accent);
}

.route-doc{
  padding-top:32px;
  padding-bottom:96px;
}
.route-section{
  padding-top:58px;
  padding-bottom:58px;
}
.section-heading{
  max-width:780px;
  margin-bottom:34px;
}
.section-heading h2{
  margin:7px 0 12px;
}
.section-heading p{
  margin-bottom:0;
  color:var(--text-muted);
  font-size:17px;
}
.section-index{
  color:var(--accent-dark);
  font-size:12px;
  font-weight:750;
  letter-spacing:.08em;
}
.route-directory{
  margin-top:24px;
  box-shadow:var(--shadow-card);
}
.route-directory td:nth-child(1),
.route-directory td:nth-child(2){
  white-space:nowrap;
}
.line-label{
  display:inline-flex;
  align-items:center;
  min-height:27px;
  max-width:100%;
  padding:3px 9px;
  overflow:hidden;
  border:1px solid;
  border-radius:var(--radius-pill);
  font-size:12px;
  font-weight:750;
  white-space:nowrap;
}
.line-iepl{
  color:var(--tint-blue-fg);
  background:var(--tint-blue-bg);
  border-color:var(--tint-blue-line);
}
.line-relay{
  color:var(--tint-cyan-fg);
  background:var(--tint-cyan-bg);
  border-color:var(--tint-cyan-line);
}
.line-direct{
  color:var(--tint-green-fg);
  background:var(--tint-green-bg);
  border-color:var(--tint-green-line);
}
.directory-note{
  margin:18px 0 0;
  color:var(--text-muted);
  font-size:14px;
}

.route-types{
  position:relative;
  width:calc(100% + var(--gutter) * 2);
  margin-left:calc(var(--gutter) * -1);
  padding-left:var(--gutter);
  padding-right:var(--gutter);
  background:var(--bg-panel-2);
  color:var(--ink-text);
}
.section-heading-light h2{
  color:var(--ink-text);
}
.section-heading-light p{
  color:var(--ink-text-muted);
}
.section-heading-light .section-index{
  color:var(--accent-2);
}
.topology-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.topology-card{
  padding:24px;
  background:var(--ink-panel);
  border:1px solid var(--ink-edge);
  border-radius:var(--radius-lg);
}
.topology-card p{
  color:var(--ink-text-muted);
}
.topology-card p:last-child{
  margin-bottom:0;
}
.topology-head{
  display:flex;
  align-items:center;
  gap:13px;
}
.topology-head h3{
  margin:0 0 3px;
  color:var(--ink-text);
  font-size:21px;
}
.topology-head div>span{
  color:var(--ink-text-muted);
  font-size:13px;
}
.topology-mark{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  flex:none;
  border:1px solid;
  border-radius:var(--radius);
  font-family:var(--font-mono);
  font-weight:800;
}
.topology-mark-blue{
  color:var(--tint-blue-line);
  background:var(--pill);
  border-color:var(--accent);
}
.topology-mark-cyan{
  color:var(--tint-cyan-line);
  background:var(--ink-edge);
  border-color:var(--accent-2);
}
.topology-mark-green{
  color:var(--tint-green-line);
  background:var(--ink-edge);
  border-color:var(--success);
}
.mini-path{
  height:46px;
  margin:20px 0;
  display:flex;
  align-items:center;
}
.mini-path i{
  width:13px;
  height:13px;
  flex:none;
  border:3px solid var(--ink-panel);
  border-radius:var(--radius-pill);
  background:var(--accent);
  box-shadow:0 0 0 2px var(--accent);
}
.mini-path b{
  height:1px;
  flex:1;
  background:var(--accent);
}
.mini-path em{
  width:20px;
  height:20px;
  flex:none;
  border:1px solid var(--accent-2);
  border-radius:var(--radius-sm);
  background:var(--ink-panel);
}
.mini-path-relay i,
.mini-path-relay b{
  background:var(--accent-2);
}
.mini-path-relay i{
  box-shadow:0 0 0 2px var(--accent-2);
}
.mini-path-direct i,
.mini-path-direct b{
  background:var(--success);
}
.mini-path-direct i{
  box-shadow:0 0 0 2px var(--success);
}

.use-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.use-card{
  padding:23px;
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:start;
  gap:0 16px;
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
}
.use-symbol{
  width:42px;
  height:42px;
  grid-row:1 / span 3;
  display:grid;
  place-items:center;
  border:1px solid var(--tint-blue-line);
  border-radius:var(--radius);
  background:var(--tint-blue-bg);
  color:var(--accent-dark);
}
.use-symbol svg{
  width:24px;
  height:24px;
}
.use-card h3{
  margin:0 0 8px;
  font-size:21px;
}
.use-card p{
  margin-bottom:14px;
  color:var(--text-muted);
}
.use-choice{
  color:var(--accent-dark);
  font-family:var(--font-mono);
  font-size:12px;
  font-weight:750;
}
.use-card-wide{
  grid-column:1 / -1;
  grid-template-columns:auto 1fr auto;
  align-items:center;
}
.use-card-wide .use-symbol{
  grid-row:auto;
}
.use-card-wide h3{
  margin-top:0;
}
.use-card-wide p{
  margin-bottom:0;
}
.use-card-wide .use-choice{
  max-width:190px;
  text-align:right;
}

.switch-section{
  border-top:1px solid var(--border);
}
.switch-layout{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);
  gap:28px;
  align-items:start;
}
.switch-steps{
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:route-step;
}
.switch-steps li{
  position:relative;
  min-height:106px;
  padding:0 0 28px 66px;
  counter-increment:route-step;
}
.switch-steps li::before{
  content:counter(route-step);
  position:absolute;
  top:0;
  left:0;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:var(--radius);
  background:var(--accent);
  color:var(--bg-panel);
  font-family:var(--font-mono);
  font-weight:800;
}
.switch-steps li:not(:last-child)::after{
  content:"";
  position:absolute;
  top:45px;
  bottom:5px;
  left:20px;
  width:1px;
  background:var(--border);
}
.switch-steps h3{
  margin:0 0 8px;
  font-size:20px;
}
.switch-steps p{
  margin:0;
  color:var(--text-muted);
}
.selection-panel{
  position:sticky;
  top:88px;
  padding:25px;
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
}
.selection-kicker{
  color:var(--accent-dark);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
}
.selection-panel h3{
  margin:10px 0 15px;
  font-size:22px;
}
.selection-panel ul{
  padding-left:20px;
  color:var(--text-muted);
}
.selection-panel li+li{
  margin-top:7px;
}
.selection-panel p{
  margin:18px 0 0;
  padding-top:17px;
  border-top:1px solid var(--border);
  color:var(--text-muted);
  font-size:14px;
}

.coverage-layout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);
  gap:38px;
  align-items:start;
}
.coverage-copy h3{
  margin:0 0 7px;
  font-size:20px;
}
.coverage-copy h3:not(:first-child){
  margin-top:28px;
}
.coverage-copy p{
  color:var(--text-muted);
}
.region-wall{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  padding:18px;
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
}
.region-wall span{
  min-height:42px;
  padding:7px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--bg);
  color:var(--text-muted);
  font-size:13px;
  font-weight:650;
}
.region-wall .region-wall-more{
  grid-column:1 / -1;
  color:var(--accent-dark);
  background:var(--tint-blue-bg);
  border-color:var(--tint-blue-line);
  font-family:var(--font-mono);
  font-weight:800;
}
.coverage-callout{
  margin-top:34px;
}

.nodes-end{
  padding-top:68px;
  padding-bottom:68px;
  background:var(--bg-panel-2);
  color:var(--ink-text);
}
.nodes-end-inner{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:32px;
}
.nodes-end h2{
  margin:13px 0 8px;
  color:var(--ink-text);
  font-size:clamp(30px,4vw,44px);
}
.nodes-end p{
  margin:0;
  color:var(--ink-text-muted);
}
.nodes-end-actions{
  display:flex;
  gap:12px;
}
.nodes-end-secondary{
  color:var(--ink-text);
  background:var(--ink-panel);
  border-color:var(--ink-edge);
}
.nodes-end-secondary:hover{
  border-color:var(--ink-text-muted);
}

@media(max-width:1024px){
  .nodes-hero-inner{
    grid-template-columns:1fr;
    gap:38px;
  }
  .route-board{
    width:100%;
    max-width:720px;
  }
  .topology-grid{
    grid-template-columns:1fr;
  }
  .use-card-wide{
    grid-template-columns:auto 1fr;
  }
  .use-card-wide .use-symbol{
    grid-row:1 / span 2;
  }
  .use-card-wide .use-choice{
    grid-column:2;
    max-width:none;
    text-align:left;
  }
  .coverage-layout{
    grid-template-columns:1fr;
  }
  .region-wall{
    max-width:720px;
  }
}

@media(max-width:768px){
  .nodes-hero{
    padding-top:54px;
    padding-bottom:58px;
  }
  .nodes-title{
    font-size:clamp(34px,9vw,40px);
  }
  .nodes-lead{
    font-size:16px;
  }
  .route-doc{
    padding-top:22px;
    padding-bottom:68px;
  }
  .route-section{
    padding-top:46px;
    padding-bottom:46px;
  }
  .use-grid{
    grid-template-columns:1fr;
  }
  .use-card-wide{
    grid-column:auto;
  }
  .switch-layout{
    grid-template-columns:1fr;
  }
  .selection-panel{
    position:static;
  }
  .nodes-end-inner{
    grid-template-columns:1fr;
  }
  .nodes-end-actions{
    flex-wrap:wrap;
  }
}

@media(max-width:640px){
  .nodes-actions{
    width:100%;
  }
  .nodes-actions .btn{
    width:100%;
  }
  .route-board-body{
    padding:16px;
  }
  .route-board-foot{
    flex-wrap:wrap;
  }
  .route-track::after{
    right:8%;
  }
  .section-heading p{
    font-size:16px;
  }
  .route-types{
    width:calc(100% + var(--gutter) * 2);
  }
  .use-card,
  .use-card-wide{
    grid-template-columns:1fr;
  }
  .use-symbol,
  .use-card-wide .use-symbol{
    grid-row:auto;
    margin-bottom:14px;
  }
  .use-card-wide .use-choice{
    grid-column:auto;
  }
  .switch-steps li{
    padding-left:56px;
  }
  .region-wall{
    grid-template-columns:repeat(2,minmax(0,1fr));
    padding:12px;
  }
  .nodes-end-actions{
    flex-direction:column;
    width:100%;
  }
  .nodes-end-actions .btn{
    width:100%;
  }
}

@media(max-width:390px){
  .route-board-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .route-origin{
    grid-template-columns:auto 1fr;
  }
  .region-wall{
    grid-template-columns:1fr;
  }
  .region-wall .region-wall-more{
    grid-column:auto;
  }
}

@media(prefers-reduced-motion:reduce){
  .route-board,
  .topology-card,
  .use-card{
    transition:none;
  }
}