:root {
  color-scheme: dark;
  background: var(--stpd-bg);
  color: var(--stpd-text);
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  isolation: isolate;
  font: 400 1rem/1.6 var(--stpd-font-body);
  -webkit-font-smoothing: antialiased;
}

.site-shell {
  width: min(var(--stpd-content-width), calc(100% - 64px));
  margin-inline: auto;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
}

body::before {
  content: "";
  /* Keep the animated background anchored while the document scrolls. */
  position: fixed;
  z-index: -1;
  inset: -12%;
  background:
    linear-gradient(rgb(9 8 13 / 40%), rgb(9 8 13 / 40%)),
    var(--stpd-gradient);
  /* A single soft colour field, with quiet near-black space around the mark. */
  -webkit-mask-image: radial-gradient(ellipse at 78% 76%, #000 5%, rgb(0 0 0 / 55%) 38%, transparent 72%);
  mask-image: radial-gradient(ellipse at 78% 76%, #000 5%, rgb(0 0 0 / 55%) 38%, transparent 72%);
  animation: breathe 18s ease-in-out infinite;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  /* The reference's fine grid stays subordinate to the logo and spectrum. */
  background-image:
    linear-gradient(to right, rgb(248 245 255 / 4%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(248 245 255 / 4%) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 88% 72%, #000, transparent 65%);
  mask-image: radial-gradient(ellipse at 88% 72%, #000, transparent 65%);
  pointer-events: none;
}

.wordmark {
  position: relative;
  flex: 0 0 auto;
  display: block;
  width: clamp(200px, 18vw, 280px);
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header::after {
  content: "";
  position: absolute;
  /* Start just beyond NETWORK and align with the bottom of the full lockup. */
  left: calc(clamp(200px, 18vw, 280px) * 0.423);
  bottom: 0;
  right: 0;
  height: 1px;
  background: var(--stpd-border-strong);
  pointer-events: none;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--stpd-lilac); outline-offset: 6px; border-radius: 2px; }
::selection { background: var(--stpd-lilac); color: var(--stpd-bg); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }

.skip-link { position: fixed; z-index: 10; top: 16px; left: 16px; padding: 12px 20px; background: var(--stpd-lilac); color: var(--stpd-bg); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: clamp(48px, 8svh, 96px); }
.main-nav { display: flex; flex-wrap: wrap; gap: 28px; padding-bottom: 16px; font: 400 12px/1.5 var(--stpd-font-mono); }
.main-nav a, .footer-links a { padding-block: 8px; color: var(--stpd-text); transition: color 160ms ease; }
.main-nav a:hover, .footer-links a:hover, .text-link:hover { color: var(--stpd-lilac); }
.main-nav a span { margin-left: 6px; color: var(--stpd-muted); }

.hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; column-gap: 24px; padding-top: clamp(64px, 10svh, 112px); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .micro, .section-label, .small-note { font: 400 11px/1.6 var(--stpd-font-mono); letter-spacing: .08em; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--stpd-lilac); text-transform: uppercase; }
.eyebrow-rule { flex: 0 0 24px; height: 1px; background: var(--stpd-lilac); }
h1 { font-size: clamp(3.5rem, 6.2vw, 5.5rem); font-weight: 800; line-height: 1.02; letter-spacing: var(--stpd-tracking-display); margin-top: 28px; }
.asn-note { margin-top: 12px; color: var(--stpd-lilac); font: 400 11px/1.5 var(--stpd-font-mono); }
.hero-description { max-width: 46ch; margin-top: 28px; font-size: 17px; line-height: 1.75; color: #c5bfce; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: var(--stpd-radius-sm); font-size: 13px; font-weight: 600; transition: background 160ms ease; }
.button-primary { background: var(--stpd-lilac); color: var(--stpd-bg); }
.button-primary:hover { background: #cbbaff; }
.text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: 13px; transition: color 160ms ease; }
.hero-footnote { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 72px; padding-block: 24px; border-top: 1px solid var(--stpd-border); color: #c5bfce; font: 400 10px/1.6 var(--stpd-font-mono); }
.hero-footnote a { color: var(--stpd-text); }
.hero-footnote a span { margin-left: 20px; }

/* Abstract orbit artwork, following the brand reference; not live network data. */
.orbit-art { position: relative; width: 100%; aspect-ratio: 1; isolation: isolate; }
.orbit-grid { position: absolute; inset: 0; background-image: linear-gradient(to right, rgb(248 245 255 / 5%) 1px, transparent 1px), linear-gradient(to bottom, rgb(248 245 255 / 5%) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse, #000, transparent 70%); }
.orbit-core { position: absolute; inset: 23%; border-radius: 43% 57% 60% 40% / 45% 40% 60% 55%; background: radial-gradient(circle at 25% 25%, #ffffff50, transparent 45%), var(--stpd-gradient); box-shadow: var(--stpd-glow); transform: rotate(-15deg); }
.orbit-ring { position: absolute; z-index: 1; inset: 29% 1%; border: 1px solid rgb(203 182 255 / 40%); border-radius: 50%; }
.ring-one { transform: rotate(-25deg); }
.ring-two { transform: rotate(60deg); inset: 30% 5%; }
.orbit-node {
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  /* Follow the containing ring's ellipse at every screen size. */
  offset-path: ellipse(50% 50% at 50% 50%);
  offset-anchor: center;
  offset-rotate: 0deg;
  animation: orbit 24s linear infinite;
}
.node-one { offset-distance: 12%; background: var(--stpd-lilac); animation-delay: -3s; }
.node-two { offset-distance: 62%; background: var(--stpd-pink); animation-duration: 32s; animation-delay: -20s; animation-direction: reverse; }

@keyframes orbit {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

.section { padding-block: 80px; border-top: 1px solid var(--stpd-border); }
.section-label { margin-bottom: 32px; text-transform: uppercase; color: var(--stpd-lilac); }
h2 { font-size: var(--stpd-text-h2); font-weight: 700; line-height: 1.15; letter-spacing: var(--stpd-tracking-heading); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.about-copy { color: #c5bfce; font-size: 15px; }
.about-copy p + p { margin-top: 20px; }
.small-note { display: block; margin-top: 28px; color: var(--stpd-lilac); font-size: 10px; letter-spacing: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
.section-heading > p { color: #c5bfce; font-size: 13px; }
.interest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.interest-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--stpd-border); border-radius: var(--stpd-radius); background: var(--stpd-surface); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 48px; color: var(--stpd-lilac); }
.card-top .micro { font-size: 9px; }
.card-top svg { flex: 0 0 24px; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
h3 { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.03em; }
.interest-card p { margin-block: 16px 28px; font-size: 14px; color: var(--stpd-muted); }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--stpd-border); color: #bcb5c6; font: 400 9px/1.5 var(--stpd-font-mono); }
.closing-note { position: relative; padding: 40px 48px; background: rgb(17 16 22 / 90%); border: 1px solid var(--stpd-border-strong); border-radius: var(--stpd-radius-lg); }
.closing-note > .micro { color: var(--stpd-lilac); font-size: 9px; }
.closing-note p { font-size: clamp(24px, 3vw, 36px); font-weight: 600; line-height: 1.3; letter-spacing: -.04em; margin-top: 20px; padding-right: 48px; }
.closing-note p span { color: #a9a1b5; }
.closing-symbol { position: absolute; right: 48px; bottom: 40px; font-size: 48px; font-weight: 400; line-height: 1; color: var(--stpd-lilac); }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 32px; padding-block: 48px; margin-top: 48px; border-top: 1px solid var(--stpd-border); }
.footer-brand { display: flex; align-items: center; gap: 24px; }
.footer-brand img { display: block; width: 100px; }
.footer-brand span { color: #c5bfce; font: 400 9px/1.6 var(--stpd-font-mono); }
.footer-links { display: flex; flex-wrap: wrap; gap: 28px; font: 400 10px/1.6 var(--stpd-font-mono); }
.footer-links a span { margin-left: 8px; }

.site-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; padding-bottom: 80px; }
.detail-section { border-top: 1px solid var(--stpd-border); padding-top: 32px; }
.detail-section h2 { font-size: clamp(24px, 3vw, 32px); }
.detail-section > p:last-child { margin-top: 20px; max-width: 45ch; color: #c5bfce; font-size: 14px; }

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); column-gap: 0; }
  .hero-description { font-size: 15px; }
  .eyebrow { font-size: 9px; }
  .about-layout { gap: 32px; }
  .interest-grid { gap: 16px; }
  .interest-card { padding: 24px 20px; }
  .card-top { gap: 8px; }
  .card-top .micro { font-size: 8px; }
  h3 { font-size: 20px; }
}

@media (max-width: 700px) {
  .site-shell { width: calc(100% - 48px); }
  .site-header { display: block; padding-top: 40px; }
  .wordmark { width: 200px; }
  .site-header::after { left: 84.6px; top: 86.44px; bottom: auto; margin-top: 40px; }
  .main-nav { gap: 24px; margin-top: 28px; padding-bottom: 0; font-size: 11px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 56px; }
  h1 { font-size: clamp(3.25rem, 10vw, 4.5rem); }
  .hero-description { max-width: 45ch; }
  .hero-actions { gap: 12px 24px; }
  .orbit-art { width: min(78%, 320px); justify-self: center; margin-top: 24px; }
  .hero-footnote { margin-top: 32px; font-size: 9px; }
  .section { padding-block: 56px; }
  .section-label { margin-bottom: 24px; font-size: 10px; }
  .about-layout { grid-template-columns: 1fr; gap: 24px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 16px; }
  .section-heading > p br { display: none; }
  .interest-grid { grid-template-columns: 1fr; }
  .interest-card { padding: 28px; }
  .card-top { margin-bottom: 32px; }
  .card-top .micro { font-size: 10px; }
  h3 { font-size: 24px; }
  .closing-note { padding: 32px 24px; }
  .closing-note p { padding-right: 0; }
  .closing-symbol { display: none; }
  .site-footer { align-items: flex-start; padding-block: 32px; }
  .site-details { grid-template-columns: 1fr; gap: 40px; padding-bottom: 56px; }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.9;
    transform: translate(-2%, -1%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(2%, 1%) scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .orbit-node { animation: none; }
  body::before {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.main-nav a[aria-current="page"] {
  color: var(--stpd-lilac);
  text-decoration: underline;
  text-underline-offset: 8px;
}


/* Keep network details close to the introduction. */
.home .hero { padding-block: clamp(32px, 5vw, 64px); }
.home .hero .orbit-art { max-width: 300px; justify-self: center; }
.home .hero-copy h1 { margin-top: 0; }
.home .hero-actions { gap: 12px 20px; }
.button-secondary { border-color: var(--stpd-border-strong); background: var(--stpd-surface); }
.button-secondary:hover { background: rgb(185 163 255 / 12%); }
.home-peering { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.home-peering h2 { font-size: clamp(28px, 4vw, 44px); }
.home-peering p { color: var(--stpd-muted); margin-bottom: 16px; }
.home .site-footer { margin-top: 0; }
@media (max-width: 700px) {
  .home .site-header { padding-top: 24px; }
  .home .site-header::after { margin-top: 24px; }
  .home .hero .orbit-art { width: min(55%, 220px); margin-top: 16px; }
  .home-peering { grid-template-columns: 1fr; gap: 20px; }
}

.network-overview, .network-blocks { padding-block: 40px 48px; }
.network-section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.network-section-heading h2 { font-size: clamp(26px, 3vw, 36px); }
.network-note { color: var(--stpd-muted); font: 400 11px/1.6 var(--stpd-font-mono); }

.network-intro, .allocation-note { color: var(--stpd-muted); font-size: 13px; }
.topology-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 96px; margin-top: 32px; }
.topology-layout::before { content: ""; position: absolute; left: 50%; top: calc(25% - 6px); bottom: calc(25% - 6px); width: 1px; background: var(--stpd-lilac); }
.topology-node { position: relative; padding: 20px 24px; border: 1px solid var(--stpd-border-strong); border-radius: var(--stpd-radius-sm); background: var(--stpd-surface); min-width: 0; }
.topology-node h3 { margin-block: 8px 4px; font: 400 22px/1.3 var(--stpd-font-mono); }
.topology-node p { color: var(--stpd-muted); font: 400 12px/1.6 var(--stpd-font-mono); overflow-wrap: anywhere; }
.node-caption { color: var(--stpd-lilac); font: 400 10px/1.5 var(--stpd-font-mono); }
.route-source { grid-row: span 2; align-self: center; }
.route-source::after { content: ""; position: absolute; right: -49px; top: 50%; width: 48px; height: 1px; background: linear-gradient(90deg, var(--stpd-lilac), var(--stpd-pink)); }
.route-end::before { content: ""; position: absolute; left: -49px; top: 50%; width: 48px; height: 1px; background: var(--stpd-lilac); }
.route-end::after { content: ""; position: absolute; width: 6px; height: 6px; left: -4px; top: calc(50% - 3px); background: var(--stpd-lilac); border-radius: 50%; }
.allocation-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-block: 28px 16px; }
.allocation-heading code { font: 400 clamp(15px, 2vw, 20px)/1.5 var(--stpd-font-mono); overflow-wrap: anywhere; }
.allocation-heading > span { color: var(--stpd-muted); font-size: 13px; }
.allocation-bar { display: grid; grid-template-columns: var(--allocation-columns); height: 40px; border: 1px solid var(--stpd-border-strong); border-radius: var(--stpd-radius-sm); overflow: hidden; }
.allocation-bar > a + a { border-left: 2px solid var(--stpd-bg); }
.allocation-used { background: var(--provider-color); }
.allocation-reserved { background: var(--stpd-pink); }
.allocation-free { background: repeating-linear-gradient(135deg, transparent 0 6px, rgb(185 163 255 / 13%) 6px 7px), var(--stpd-surface); }
.allocation-legend { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-block: 16px 28px; font-size: 12px; color: var(--stpd-muted); }
.allocation-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.allocation-legend i { width: 12px; height: 12px; border: 1px solid var(--stpd-border-strong); }
@media (max-width: 700px) {
  .topology-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .topology-layout::before { left: 12px; top: 60px; bottom: 60px; }
  .route-source { grid-row: auto; }
  .route-source::after { display: none; }
  .route-end { margin-left: 36px; }
  .route-end::before { left: -25px; width: 24px; }
}

.address-block { padding-block: 8px 32px; }
.address-block + .address-block { border-top: 1px solid var(--stpd-border-strong); padding-top: 28px; }
.allocation-heading h3 { margin: 0; min-width: 0; }
.allocation-bar a { display: block; min-width: 0; transition: filter 160ms ease; }
.allocation-bar a:hover { filter: brightness(1.2); }
.allocation-bar a:focus-visible { outline: 2px solid var(--stpd-text); outline-offset: -4px; }
.allocation-explanations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.allocation-chunk { padding: 20px; border: 1px solid var(--stpd-border); border-radius: var(--stpd-radius-sm); background: var(--stpd-surface); min-width: 0; }
.allocation-chunk:target, .allocation-chunk:focus-visible { outline: 1px solid var(--provider-color, var(--stpd-lilac)); outline-offset: 3px; }
.allocation-chunk-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.allocation-chunk-heading i { width: 12px; height: 12px; border: 1px solid var(--stpd-border-strong); }
.allocation-chunk-heading h4 { margin: 0; font-size: 14px; font-weight: 600; }
.allocation-chunk-heading span { margin-left: auto; color: var(--stpd-muted); font: 400 11px/1.5 var(--stpd-font-mono); }
.allocation-chunk code { font: 400 12px/1.6 var(--stpd-font-mono); overflow-wrap: anywhere; }
.allocation-chunk p { margin-top: 12px; color: var(--stpd-muted); font-size: 13px; }
.address-family { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: baseline; border-top: 1px solid var(--stpd-border); margin-top: 32px; padding-top: 24px; }
.address-family h3 { font: 400 18px/1.5 var(--stpd-font-mono); }
.address-family p { color: var(--stpd-muted); font-size: 13px; }
@media (max-width: 700px) { .allocation-explanations { grid-template-columns: 1fr; } }

.allocation-explanations-single { grid-template-columns: minmax(0, 1fr); }
.address-block > .text-link { margin-top: 16px; }

.network-map { position: relative; width: 100%; aspect-ratio: 3 / 2; margin-top: 24px; overflow: hidden; border: 1px solid var(--stpd-border-strong); border-radius: var(--stpd-radius); background: radial-gradient(ellipse at 50% 40%, #171022, #0d0b12); }
.network-geography { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; opacity: .8; }
.map-place, .map-caption { position: absolute; color: #aaa1b7; font: 400 10px/1.5 var(--stpd-font-mono); letter-spacing: .08em; pointer-events: none; }
.map-place-uk { left: 12%; top: 22%; }
.map-place-nl { left: 73%; top: 24%; }
.map-sea { position: absolute; left: 49%; top: 28%; color: #82778f; font: italic 14px/1.5 var(--stpd-font-body); }
.map-caption { bottom: 16px; left: 20px; font-size: 9px; }
.map-node { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; transform: translate(-50%, -50%); z-index: 1; }
.map-lon { left: 37.5%; top: 54.4%; }
.map-ams { left: 76.1%; top: 38.8%; }
.map-lab { left: 45.4%; top: 45.5%; }
.map-dot { width: 16px; height: 16px; border: 3px solid var(--provider-color); border-radius: 50%; background: var(--provider-color); box-shadow: 0 0 0 3px var(--stpd-bg); }
.map-node-planned .map-dot { background: var(--stpd-bg); }
.map-node-label { padding: 6px 10px; border: 1px solid var(--stpd-border-strong); border-radius: var(--stpd-radius-sm); background: #14101ded; font: 400 14px/1.4 var(--stpd-font-mono); }
.map-node-label small { display: block; color: var(--stpd-muted); font: 400 11px/1.5 var(--stpd-font-body); }

.node-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.node-detail { min-width: 0; padding: 24px; background: var(--stpd-surface); border: 1px solid var(--stpd-border); border-radius: var(--stpd-radius-sm); }
.node-detail:target, .node-detail:focus-visible { outline: 2px solid var(--stpd-lilac); outline-offset: 3px; }
.node-detail-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.node-detail h4 { margin: 0; font: 400 20px/1.5 var(--stpd-font-mono); }
.node-detail-heading > span { color: var(--stpd-muted); font-size: 12px; }
.node-detail dl { margin: 20px 0 0; font-size: 13px; }
.node-detail dl > div { padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--stpd-border); }
.node-detail dt { color: var(--stpd-muted); font-size: 11px; margin-bottom: 4px; }
.node-detail dd { margin: 0; overflow-wrap: anywhere; }
.map-footnote { margin-top: 20px; font-size: 11px; color: var(--stpd-muted); }
.map-footnote a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .network-map { aspect-ratio: 1 / 1; }
  .node-directory { grid-template-columns: 1fr; }
  .map-ams .map-node-label { left: auto; right: 36px; }
  .map-place { font-size: 8px; }
  .map-place-nl { left: auto; right: 5%; top: 16%; }
  .map-node-label { font-size: 12px; padding: 5px 8px; }
  .map-sea { font-size: 12px; left: 48%; top: 24%; }
}

.node-state { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font: 400 11px/1.5 var(--stpd-font-mono); color: var(--stpd-muted); }
.node-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; }
.node-planned { color: var(--stpd-muted); }
.node-live { color: var(--provider-color, var(--stpd-lilac)); }
.node-live::before { background: currentColor; }

.map-connections { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.mesh-tube-outline, .mesh-route, .mesh-tube-highlight, .mesh-flow { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.mesh-tube-outline { stroke: #292530; stroke-width: 9px; }
.mesh-route { stroke: #696371; stroke-width: 6px; }
.mesh-tube-highlight { stroke: #aaa3b3; stroke-width: 2px; opacity: .65; }
.mesh-flow { display: none; }
.mesh-legend { display: flex; gap: 12px; align-items: center; margin-top: 14px; color: var(--stpd-muted); font-size: 12px; }
.mesh-legend > span { width: 32px; height: 9px; flex: 0 0 32px; border: 1px solid #292530; border-radius: 999px; background: linear-gradient(#514b59, #aaa3b3 45%, #696371 70%, #39333f); }
/* Enable per link only when its connection status is known to be active. */
.mesh-link[data-state="active"] .mesh-route { stroke: url(#mesh-gradient); stroke-width: 6px; stroke-dasharray: none; }
.mesh-link[data-state="active"] .mesh-flow { display: block; stroke: #efb4ed; stroke-width: 3px; stroke-dasharray: 2 24; animation: mesh-flow 2s linear infinite; }
@keyframes mesh-flow { from { stroke-dashoffset: 26; opacity: .45; } 50% { opacity: 1; } to { stroke-dashoffset: 0; opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .mesh-link[data-state="active"] .mesh-flow { animation: none; display: none; } }

@media (max-width: 700px) {
  .map-lon .map-node-label { top: 36px; left: 14px; transform: none; }
}

.mesh-link[data-state="active"] .mesh-tube-highlight { stroke: #e9d8ff; opacity: .55; }

/* Muted text for planned features and details awaiting documentation. */
.text-muted { color: var(--stpd-muted); }

.provider-xenyth { --provider-color: var(--stpd-success); }
.provider-vultr { --provider-color: var(--stpd-lilac); }
.provider-olilo { --provider-color: var(--stpd-pink); }
.node-detail { border-top: 5px solid var(--provider-color); }
.node-detail:target, .node-detail:focus-visible { outline-color: var(--provider-color); }
.map-node-label { position: absolute; left: 36px; top: 50%; transform: translateY(-50%); width: max-content; white-space: nowrap; visibility: hidden; opacity: 0; pointer-events: none; border-color: var(--provider-color); transition: opacity 160ms ease; }
.map-lab .map-node-label { left: auto; right: 36px; }
.map-node:not([data-label-dismissed]):hover .map-node-label,
.map-node:not([data-label-dismissed]):focus .map-node-label,
.map-node[data-label-open] .map-node-label { visibility: visible; opacity: 1; pointer-events: auto; }
.map-node:hover, .map-node:focus, .map-node[data-label-open] { z-index: 3; }

@media (max-width: 700px) {
  .map-ams .map-node-label { left: auto; right: 36px; }
  .map-lon .map-node-label { top: 36px; left: 14px; transform: none; }
}

/* Connection state is independent of whether a node is live. */
.connection-key { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 18px; font-size: 12px; }
.connection-key-title { font-weight: 600; }
.connection-key-item { display: inline-flex; align-items: center; gap: 10px; color: var(--stpd-muted); }
.tube-swatch { display: inline-block; flex: 0 0 40px; width: 40px; height: 9px; border: 1px solid #292530; border-radius: 999px; }
.tube-planned { background: linear-gradient(#514b59, #aaa3b3 45%, #696371 70%, #39333f); }
.tube-connected { background: linear-gradient(90deg, var(--stpd-violet), var(--stpd-pink)); box-shadow: inset 0 2px 1px #ffffff45, inset 0 -2px 1px #00000035; }
.connection-key-note { flex-basis: 100%; color: var(--stpd-muted); font-size: 11px; }
.node-services { list-style: none; padding: 0; margin: 0; }
.node-services li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-block: 6px; color: var(--stpd-muted); }
.work-status { display: inline-block; padding: 2px 8px; border: 1px solid var(--stpd-border-strong); border-radius: var(--stpd-radius-pill); color: var(--stpd-muted); font: 400 10px/1.5 var(--stpd-font-mono); }
.work-status[data-status="testing"] { color: var(--stpd-warning); border-color: currentColor; }
.work-status[data-status="live"] { color: var(--stpd-success); border-color: currentColor; }

.node-category { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--stpd-border); }
.node-category-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.node-category-heading h3 { font-size: 22px; }
.node-category-empty { margin-top: 16px; color: var(--stpd-muted); font-size: 13px; }
.node-hostname { margin-top: 12px; }
.node-hostname .text-link { min-height: 0; font: inherit; align-items: baseline; vertical-align: baseline; }
.node-field-label { display: block; color: var(--stpd-muted); font-size: 11px; margin-bottom: 4px; }
.node-hostname code { font: 400 12px/1.6 var(--stpd-font-mono); overflow-wrap: anywhere; }

.node-location { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--stpd-muted); font-size: 12px; }
.node-location .node-state { margin-top: 0; white-space: nowrap; }
