.nodes-hero {
  overflow-x: clip;
  max-width: 100%;
  padding-top: 72px;
  padding-bottom: 72px;
  background:
    radial-gradient(circle at top left, rgba(var(--rgb-peach), .58), rgba(var(--rgb-peach), 0) 42%),
    linear-gradient(180deg, var(--color-hero-top), var(--color-hero-bottom));
  border-bottom: 1px solid var(--color-line);
}

.nodes-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  align-items: center;
  gap: 56px;
}

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

.nodes-kicker {
  margin-bottom: 18px;
}

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

.nodes-lead {
  max-width: 760px;
  margin-bottom: 26px;
  color: var(--color-text-muted);
  font-size: 19px;
}

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

.nodes-summary {
  position: relative;
  overflow: hidden;
}

.nodes-summary::after {
  position: absolute;
  right: -72px;
  bottom: -92px;
  width: 210px;
  height: 210px;
  content: "";
  border-radius: var(--radius-pill);
  background: rgba(var(--rgb-sage), .28);
  pointer-events: none;
}

.summary-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 96px;
  height: 96px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  color: var(--color-accent);
  background: var(--color-hero-top);
}

.summary-mark svg {
  width: 76px;
  height: 76px;
}

.summary-list {
  position: relative;
  z-index: 1;
  margin: 0;
}

.summary-list div {
  display: grid;
  grid-template-columns: minmax(90px, .7fr) minmax(0, 1.3fr);
  gap: 14px;
  padding-top: 11px;
  padding-bottom: 11px;
  border-top: 1px solid var(--color-line);
}

.summary-list dt {
  color: var(--color-text-muted);
  font-size: 14px;
}

.summary-list dd {
  margin: 0;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.nodes-content {
  min-width: 0;
}

.nodes-content > section {
  min-width: 0;
}

.nodes-section {
  padding-top: 96px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 32px;
}

.section-heading > :last-child {
  margin-bottom: 0;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--color-danger);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.route-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-paper);
}

.route-legend span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 700;
}

.route-legend i {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xs);
}

.legend-sage {
  background: var(--color-sky-sage);
}

.legend-apricot {
  background: var(--color-sky-apricot);
}

.legend-peach {
  background: var(--color-sky-peach);
}

.legend-paper {
  background: var(--color-paper-muted);
}

.route-kind {
  display: inline-flex;
  min-height: 26px;
  max-width: 100%;
  align-items: center;
  padding: 3px 9px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xs);
  color: var(--color-text-muted);
  background: var(--color-hero-top);
  font-size: 12px;
  font-weight: 800;
}

.route-kind-priority {
  color: var(--color-paper);
  background: var(--color-accent);
  border-color: var(--color-accent);
}

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

.route-type-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-paper);
  box-shadow: var(--shadow-panel);
}

.route-type-card:nth-child(2) {
  background: linear-gradient(180deg, var(--color-paper), var(--color-hero-top));
}

.route-type-card:nth-child(3) {
  background: var(--color-paper-muted);
}

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

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

.type-card-head {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.type-card-head > div {
  min-width: 0;
}

.type-card-head h3 {
  margin-top: 10px;
  margin-bottom: 0;
}

.type-symbol {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  color: var(--color-accent);
  background: var(--color-hero-top);
}

.type-symbol svg {
  width: 32px;
  height: 32px;
}

.usage-board {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-line);
  box-shadow: var(--shadow-panel);
}

.usage-row {
  display: grid;
  grid-template-columns: minmax(180px, .42fr) minmax(0, 1.58fr);
  gap: 28px;
  padding: 28px;
  background: var(--color-paper);
}

.usage-row + .usage-row {
  margin-top: 1px;
}

.usage-row:nth-child(even) {
  background: var(--color-hero-top);
}

.usage-row p {
  color: var(--color-text-muted);
}

.usage-row p:last-child {
  margin-bottom: 0;
}

.usage-label span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 12px;
  padding: 3px 10px;
  border: 1px solid var(--color-danger);
  border-radius: var(--radius-sm);
  color: var(--color-danger);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

.usage-label h3 {
  margin-bottom: 0;
}

.selection-panel {
  display: grid;
  grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr);
  gap: 44px;
  padding: 36px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at bottom left, rgba(var(--rgb-sage), .32), rgba(var(--rgb-sage), 0) 44%),
    var(--color-paper-muted);
  box-shadow: var(--shadow-panel);
}

.selection-copy {
  min-width: 0;
}

.selection-copy p:last-child {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.selection-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: route-step;
}

.selection-steps li {
  position: relative;
  min-width: 0;
  padding: 20px 20px 20px 64px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-paper);
  counter-increment: route-step;
}

.selection-steps li + li {
  margin-top: 10px;
}

.selection-steps li::before {
  position: absolute;
  top: 20px;
  left: 18px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  content: counter(route-step);
  border-radius: var(--radius-pill);
  color: var(--color-paper);
  background: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

.selection-steps h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.selection-steps p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-line);
}

.note-card {
  min-width: 0;
  padding: 25px;
  background: var(--color-paper);
}

.note-card:nth-child(3n) {
  background: var(--color-hero-top);
}

.note-card h3 {
  font-size: 20px;
}

.note-card p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.nodes-trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin-top: 48px;
  padding: 34px;
  overflow-x: clip;
  border-radius: var(--radius-lg);
  color: var(--color-paper);
  background: linear-gradient(135deg, var(--color-accent-warm), var(--color-accent-deep));
  box-shadow: var(--shadow-window);
}

.nodes-trust h2 {
  margin-top: 14px;
  margin-bottom: 10px;
  color: var(--color-paper);
}

.nodes-trust p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--color-line);
}

.nodes-trust-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nodes-trust .btn-primary {
  color: var(--color-accent);
  background: var(--color-paper);
}

.nodes-trust .btn-secondary {
  color: var(--color-paper);
  background: transparent;
  border-color: var(--color-line);
  box-shadow: none;
}

@media (max-width: 980px) {
  .nodes-hero-inner,
  .selection-panel {
    grid-template-columns: 1fr;
  }

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

  .nodes-summary {
    max-width: 680px;
  }

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

  .nodes-trust {
    grid-template-columns: 1fr;
  }
}

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

  .nodes-section {
    padding-top: 72px;
  }

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

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

  .selection-panel {
    gap: 28px;
    padding: 26px;
  }
}

@media (max-width: 640px) {
  .nodes-lead {
    font-size: 17px;
  }

  .summary-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .route-type-card,
  .usage-row,
  .note-card {
    padding: 20px;
  }

  .selection-panel {
    padding: 20px;
  }

  .selection-steps li {
    padding: 18px 16px 18px 56px;
  }

  .selection-steps li::before {
    top: 18px;
    left: 14px;
  }

  .nodes-trust {
    padding: 24px;
  }

  .nodes-trust-actions {
    width: 100%;
    flex-direction: column;
  }

  .nodes-trust-actions .btn {
    width: 100%;
  }
}