.nodes-hero{
  position:relative;
  max-width:100%;
  overflow-x:clip;
  padding-top:76px;
  padding-bottom:84px;
  background:
    linear-gradient(180deg,var(--wash-top),var(--wash-mid) 58%,var(--wash-bottom)),
    linear-gradient(to right,var(--grid-line) 1px,transparent 1px) 0 0/72px 72px,
    linear-gradient(to bottom,var(--grid-line) 1px,transparent 1px) 0 0/72px 72px;
}
.nodes-hero::after{
  content:"";
  position:absolute;
  right:-120px;
  bottom:-210px;
  width:560px;
  height:460px;
  border-radius:var(--radius-pill);
  background:linear-gradient(135deg,var(--accent),var(--cyan));
  opacity:.18;
  pointer-events:none;
}
.nodes-hero__grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,.88fr) minmax(420px,1.12fr);
  align-items:center;
  gap:68px;
}
.nodes-hero__copy{
  min-width:0;
}
.nodes-hero__copy h1{
  max-width:650px;
  margin-top:18px;
  margin-bottom:18px;
}
.nodes-hero__lead{
  max-width:640px;
  margin-bottom:0;
  color:var(--muted);
  font-size:19px;
  line-height:1.7;
}
.nodes-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:26px;
}
.nodes-hero__facts{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin:20px 0 0;
  padding:0;
  color:var(--muted);
  font-size:13px;
  list-style:none;
}
.nodes-hero__facts li{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.nodes-hero__facts li::before{
  content:"";
  width:7px;
  height:7px;
  flex:0 0 auto;
  border-radius:50%;
  background:var(--success);
  box-shadow:0 0 0 3px var(--success-soft);
}
.route-console{
  position:relative;
  min-width:0;
  padding:22px;
  overflow:hidden;
}
.route-console::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(to right,var(--ink-line) 1px,transparent 1px) 0 0/44px 44px,
    linear-gradient(to bottom,var(--ink-line) 1px,transparent 1px) 0 0/44px 44px;
  opacity:.45;
}
.route-console__top,
.route-console__body,
.route-console__foot{
  position:relative;
  z-index:1;
}
.route-console__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding-bottom:18px;
  border-bottom:1px solid var(--ink-line);
}
.route-console__top strong{
  display:block;
  margin-top:4px;
  color:var(--on-ink);
  font:750 21px/1.2 var(--font-display);
}
.route-console__state{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:30px;
  padding:5px 10px;
  border-radius:var(--radius-pill);
  background:var(--ink-3);
  color:var(--on-ink-muted);
  font:600 11px/1.2 var(--font-mono);
  white-space:nowrap;
}
.route-console__state i{
  width:7px;
  height:7px;
  flex:0 0 auto;
  border-radius:50%;
  background:var(--success);
}
.route-console__body{
  position:relative;
  display:grid;
  gap:8px;
  padding-top:18px;
}
.route-console__rail{
  position:absolute;
  top:36px;
  bottom:36px;
  left:22px;
  width:1px;
  background:var(--ink-line);
}
.route-console__rail span{
  position:absolute;
  left:-3px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 3px var(--accent-soft);
}
.route-console__rail span:nth-child(1){top:0}
.route-console__rail span:nth-child(2){top:33%}
.route-console__rail span:nth-child(3){top:66%}
.route-console__rail span:nth-child(4){bottom:0}
.route-entry{
  position:relative;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  min-height:66px;
  padding:10px 12px;
  border:1px solid var(--ink-line);
  border-radius:var(--radius-sm);
  background:var(--ink-2);
}
.route-entry.is-current{
  border-color:var(--accent);
  background:var(--ink-3);
}
.route-entry__mark{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:var(--radius-sm);
  background:var(--accent);
  color:var(--on-ink);
  font:750 10px/1 var(--font-mono);
}
.route-entry strong{
  display:block;
  color:var(--on-ink);
  font-size:14px;
}
.route-entry small{
  display:block;
  margin-top:3px;
  overflow-wrap:anywhere;
  color:var(--on-ink-muted);
  font:500 10px/1.4 var(--font-mono);
}
.route-console__foot{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:16px;
  padding-top:15px;
  border-top:1px solid var(--ink-line);
}
.route-console__foot span{
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:5px 9px;
  border-radius:var(--radius-pill);
  background:var(--ink-3);
  color:var(--on-ink-muted);
  font:550 10px/1.2 var(--font-mono);
}
.route-sketch{
  position:absolute;
  right:18px;
  bottom:12px;
  z-index:2;
  width:92px;
  height:62px;
  color:var(--on-ink);
  opacity:.8;
  pointer-events:none;
}
.route-sketch path{
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.route-sketch path:last-child{
  fill:currentColor;
  stroke:none;
}
.route-table-note{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:24px;
  margin-bottom:18px;
  padding:18px 20px;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  background:var(--panel-soft);
}
.route-table-note div{
  padding-right:24px;
  border-right:1px solid var(--border);
}
.route-table-note strong,
.route-table-note span{
  display:block;
}
.route-table-note strong{
  color:var(--muted);
  font:700 10px/1.2 var(--font-mono);
  letter-spacing:.08em;
  text-transform:uppercase;
}
.route-table-note span{
  margin-top:5px;
  color:var(--accent-dark);
  font:800 17px/1.2 var(--font-mono);
}
.route-table-note p{
  margin:0;
  color:var(--muted);
}
.line-kind{
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:4px 9px;
  border-radius:var(--radius-pill);
  background:var(--panel-soft);
  color:var(--text);
  font:650 11px/1.2 var(--font-mono);
  white-space:nowrap;
}
.line-types{
  background:var(--panel-soft);
}
.line-type-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.line-type-card{
  position:relative;
  min-width:0;
  padding:24px;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  background:var(--panel);
  box-shadow:var(--shadow-card);
}
.line-type-card.is-accent{
  border-color:var(--accent);
  box-shadow:inset 0 3px 0 var(--accent),var(--shadow-card);
}
.line-type-card__head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
  padding-bottom:16px;
  border-bottom:1px solid var(--border);
}
.line-type-card__head h3{
  margin:0;
  font-size:23px;
}
.line-type-card__code{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:5px 9px;
  border-radius:var(--radius-sm);
  background:var(--accent);
  color:var(--on-ink);
  font:750 10px/1 var(--font-mono);
}
.line-type-card p{
  color:var(--muted);
}
.line-type-card__list{
  display:grid;
  gap:9px;
  margin:22px 0 0;
  padding:18px 0 0;
  border-top:1px solid var(--border);
  list-style:none;
}
.line-type-card__list li{
  display:flex;
  gap:9px;
}
.line-type-card__list li::before{
  content:"✓";
  flex:0 0 auto;
  color:var(--success);
  font-weight:800;
}
.cost-logic{
  display:grid;
  grid-template-columns:minmax(220px,.36fr) minmax(0,1fr);
  gap:30px;
  margin-top:18px;
  padding:28px;
}
.cost-logic__title{
  display:flex;
  align-items:flex-start;
  gap:12px;
}
.cost-logic__title h3{
  margin:0;
}
.cost-logic__body{
  columns:2;
  column-gap:30px;
}
.cost-logic__body p{
  break-inside:avoid;
  color:var(--muted);
}
.usage-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
}
.usage-card{
  min-width:0;
  padding:22px;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  background:var(--panel);
  box-shadow:var(--shadow-card);
}
.usage-card:nth-child(1),
.usage-card:nth-child(2){
  grid-column:span 3;
}
.usage-card:nth-child(3),
.usage-card:nth-child(4),
.usage-card:nth-child(5){
  grid-column:span 2;
}
.usage-card__icon{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  margin-bottom:16px;
  border-radius:var(--radius-sm);
  background:var(--accent-soft);
  color:var(--accent);
}
.usage-card__icon svg{
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.usage-card h3{
  margin-bottom:9px;
  font-size:20px;
}
.usage-card p{
  margin-bottom:0;
  color:var(--muted);
}
.region-section{
  border-block:1px solid var(--border);
  background:var(--panel);
}
.region-wall{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:24px;
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  background:
    linear-gradient(to right,var(--grid-line) 1px,transparent 1px) 0 0/52px 52px,
    linear-gradient(to bottom,var(--grid-line) 1px,transparent 1px) 0 0/52px 52px,
    var(--panel-soft);
}
.region-wall span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:8px 16px;
  border:1px solid var(--border);
  border-radius:var(--radius-pill);
  background:var(--panel);
  box-shadow:var(--shadow-card);
  font-weight:700;
}
.selection-check{
  padding:28px;
}
.selection-check__head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  padding-bottom:22px;
  border-bottom:1px solid var(--border);
}
.selection-check__head h2{
  max-width:680px;
  margin:0;
  font-size:clamp(30px,4vw,46px);
}
.selection-check__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
}
.selection-check__grid article{
  min-width:0;
  padding:24px;
  border-right:1px solid var(--border);
}
.selection-check__grid article:first-child{
  padding-left:0;
}
.selection-check__grid article:last-child{
  padding-right:0;
  border-right:0;
}
.selection-check__mark{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  margin-bottom:15px;
  border-radius:var(--radius-sm);
  background:var(--ink);
  color:var(--on-ink);
  font:750 11px/1 var(--font-mono);
}
.selection-check__grid h3{
  margin-bottom:8px;
  font-size:18px;
}
.selection-check__grid p{
  margin-bottom:0;
  color:var(--muted);
}
.route-guidance{
  margin-top:68px;
}
.route-guidance>h2{
  margin-bottom:28px;
}
.route-guidance__columns{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.route-guidance__columns>div{
  min-width:0;
  padding:22px;
  border-top:3px solid var(--accent);
  border-radius:var(--radius-sm);
  background:var(--panel-soft);
}
.route-guidance__columns h3{
  margin-bottom:8px;
  font-size:20px;
}
.route-guidance__columns p{
  margin-bottom:0;
  color:var(--muted);
}

@media (max-width:1000px){
  .nodes-hero__grid{
    grid-template-columns:1fr;
    gap:42px;
  }
  .nodes-hero__copy{
    max-width:760px;
  }
  .route-console{
    max-width:760px;
  }
  .line-type-grid{
    grid-template-columns:1fr;
  }
  .selection-check__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .selection-check__grid article{
    border-bottom:1px solid var(--border);
  }
  .selection-check__grid article:nth-child(2){
    border-right:0;
  }
  .selection-check__grid article:nth-child(3){
    padding-left:0;
    border-bottom:0;
  }
  .selection-check__grid article:nth-child(4){
    border-bottom:0;
  }
}
@media (max-width:768px){
  .nodes-hero{
    padding-top:56px;
    padding-bottom:64px;
  }
  .nodes-hero__grid{
    gap:32px;
  }
  .nodes-hero__lead{
    font-size:17px;
  }
  .cost-logic{
    grid-template-columns:1fr;
  }
  .cost-logic__body{
    columns:1;
  }
  .usage-grid{
    grid-template-columns:1fr 1fr;
  }
  .usage-card:nth-child(1),
  .usage-card:nth-child(2),
  .usage-card:nth-child(3),
  .usage-card:nth-child(4),
  .usage-card:nth-child(5){
    grid-column:span 1;
  }
  .selection-check__head{
    display:block;
  }
}
@media (max-width:640px){
  .nodes-hero::after{
    right:-180px;
    bottom:-150px;
    width:360px;
    height:300px;
  }
  .nodes-hero__actions{
    align-items:stretch;
    flex-direction:column;
  }
  .nodes-hero__actions .btn{
    width:100%;
  }
  .nodes-hero__facts{
    display:grid;
  }
  .route-console{
    padding:16px;
  }
  .route-console__top{
    align-items:flex-start;
    flex-direction:column;
  }
  .route-entry{
    grid-template-columns:36px minmax(0,1fr);
  }
  .route-entry .toggle{
    display:none;
  }
  .route-console__rail,
  .route-sketch{
    display:none;
  }
  .route-table-note{
    grid-template-columns:1fr;
    gap:14px;
  }
  .route-table-note div{
    padding-right:0;
    padding-bottom:14px;
    border-right:0;
    border-bottom:1px solid var(--border);
  }
  .line-type-card,
  .cost-logic,
  .selection-check{
    padding:20px;
  }
  .usage-grid,
  .selection-check__grid,
  .route-guidance__columns{
    grid-template-columns:1fr;
  }
  .selection-check__grid article,
  .selection-check__grid article:first-child,
  .selection-check__grid article:nth-child(3),
  .selection-check__grid article:last-child{
    padding:20px 0;
    border-right:0;
    border-bottom:1px solid var(--border);
  }
  .selection-check__grid article:last-child{
    border-bottom:0;
  }
  .region-wall{
    padding:16px;
  }
  .region-wall span{
    flex:1 1 auto;
  }
}