.nodes-hero {
  position: relative;
  overflow-x: clip;
  padding-top: clamp(44px, 8vw, 96px);
  padding-bottom: clamp(58px, 9vw, 112px);
}

.nodes-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 820px;
  height: 620px;
  top: -210px;
  left: calc(50% - 760px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--rgb-accent), .25), rgba(var(--rgb-accent), .08) 44%, transparent 70%);
  pointer-events: none;
}

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

.nodes-hero h1 {
  margin-top: 4px;
}

.nodes-hero-lede {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--color-text-muted);
  font-size: clamp(16px, 2vw, 19px);
}

.nodes-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.nodes-facts .fact-chip {
  min-height: 34px;
  padding-inline: 15px;
  background: rgba(var(--rgb-panel), .78);
}

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

.region-board {
  width: min(100%, 1060px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
  gap: 18px;
  margin: clamp(46px, 7vw, 76px) auto 0;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: var(--color-panel);
  box-shadow: var(--shadow-near), var(--shadow-far);
  text-align: left;
}

.region-board-primary {
  min-width: 0;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-medium);
  background: var(--color-panel-raised);
}

.region-board-primary h2 {
  margin-top: 10px;
  font-size: clamp(30px, 4vw, 43px);
}

.region-board-primary p:last-child {
  margin-top: 18px;
  color: var(--color-text-muted);
}

.region-board-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.region-tile {
  min-width: 0;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: rgba(var(--rgb-shadow), .12);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.region-tile:hover {
  border-color: var(--color-accent-dark);
  background: var(--color-panel-raised);
  transform: translateY(-2px);
}

.region-tile span {
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 26px;
}

.region-tile small {
  margin-top: 8px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
}

.directory-note {
  margin-bottom: 24px;
}

.server-table th:nth-child(1) {
  min-width: 150px;
}

.server-table th:nth-child(2) {
  min-width: 150px;
}

.server-table th:nth-child(3) {
  min-width: 150px;
}

.server-table th:nth-child(4) {
  min-width: 170px;
}

.server-table .badge {
  min-width: 92px;
}

.table-caption {
  max-width: 880px;
  margin-top: 18px;
  color: var(--color-text-muted);
  font-size: 13px;
}

.route-types {
  position: relative;
  overflow-x: clip;
  border-top: 1px solid rgba(var(--rgb-text), .06);
  border-bottom: 1px solid rgba(var(--rgb-text), .06);
  background: rgba(var(--rgb-shadow), .1);
}

.route-types::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 540px;
  height: 420px;
  right: -180px;
  bottom: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--rgb-accent), .1), transparent 68%);
}

.outline-node p + p {
  margin-top: 12px;
}

.usage-list {
  overflow: clip;
  border-top: 1px solid var(--color-border);
}

.usage-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(190px, .52fr) minmax(0, 1.48fr);
  gap: clamp(30px, 7vw, 90px);
  padding-top: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--color-border);
}

.usage-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.usage-label h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 550;
}

.usage-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  margin-top: 7px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  background: var(--color-panel);
  box-shadow: 0 0 0 5px rgba(var(--rgb-accent), .08);
}

.usage-item:hover .usage-dot {
  background: var(--color-accent);
}

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

.workflow-panel {
  position: relative;
  overflow: clip;
  display: grid;
  grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr);
  gap: clamp(38px, 8vw, 92px);
  padding: clamp(28px, 6vw, 62px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: var(--color-panel-raised);
  box-shadow: var(--shadow-far);
}

.workflow-panel::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 300px;
  top: -210px;
  left: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--rgb-accent), .24), transparent 70%);
  pointer-events: none;
}

.workflow-heading {
  position: relative;
  min-width: 0;
}

.workflow-heading h2 {
  margin-top: 10px;
  font-size: clamp(32px, 4.4vw, 48px);
}

.workflow-heading > p:last-child {
  margin-top: 18px;
  color: var(--color-text-muted);
}

.workflow-list {
  position: relative;
  display: grid;
  gap: 22px;
  list-style: none;
  counter-reset: workflow;
}

.workflow-list li {
  position: relative;
  min-width: 0;
  padding-left: 46px;
  counter-increment: workflow;
}

.workflow-list li::before {
  content: counter(workflow);
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-accent-dark);
  border-radius: 50%;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 12px;
}

.workflow-list li::after {
  content: "";
  position: absolute;
  top: 36px;
  bottom: -18px;
  left: 15px;
  width: 1px;
  background: var(--color-border);
}

.workflow-list li:last-child::after {
  display: none;
}

.workflow-list h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 550;
}

.workflow-list p {
  margin-top: 8px;
  color: var(--color-text-muted);
}

.workflow-list a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: var(--color-accent-dark);
  text-underline-offset: 3px;
}

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

.notes-grid .panel {
  min-width: 0;
}

.notes-grid h2 {
  margin-top: 10px;
  font-size: clamp(30px, 4vw, 42px);
}

.notes-grid .panel > p:not(.mono-label) {
  margin-top: 18px;
  color: var(--color-text-muted);
}

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

.actions-note {
  margin-top: 14px;
  color: var(--color-text-muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 900px) {
  .region-board,
  .workflow-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .workflow-panel {
    gap: 38px;
  }
}

@media (max-width: 768px) {
  .nodes-hero::before {
    width: 620px;
    height: 500px;
    top: -170px;
    left: calc(50% - 510px);
  }

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

  .region-tile {
    min-height: 108px;
  }

  .usage-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

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

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

  .region-board {
    padding: 10px;
  }

  .region-board-primary,
  .region-tile {
    padding: 20px;
  }

  .nodes-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nodes-facts .fact-chip {
    width: 100%;
  }

  .workflow-panel {
    padding: 24px;
  }

  .workflow-list li {
    padding-left: 42px;
  }

  .nodes-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

@media (max-width: 380px) {
  .nodes-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .region-tile span {
    font-size: 23px;
  }
}