/* ============================================================
   NorwichDC — Server Constellation design system
   Dark infrastructure-led homepage. Tokens from design blueprint.
   ============================================================ */

:root {
  /* Colours */
  --color-void: #000000;
  --color-rack-black: #08090d;
  --color-bone: #ffffff;
  --color-rack-steel: #c7ced8;
  --color-smoke: #8d94a3;
  --color-network-violet: #8052ff;
  --color-network-violet-bright: #9a73ff;
  --color-uptime-teal: #16d6b1;
  --color-power-amber: #ffb829;
  --color-alert-red: #ff4d5e;

  /* Typography */
  --font-display: "Space Grotesk", "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --text-caption: 12px;
  --text-body-sm: 14px;
  --text-body: 16px;
  --text-subheading: 18px;
  --text-heading-sm: 24px;
  --text-heading: 38px;
  --text-heading-lg: 56px;
  --text-hero: 86px;

  /* Spacing */
  --spacing-6: 6px;
  --spacing-12: 12px;
  --spacing-18: 18px;
  --spacing-24: 24px;
  --spacing-30: 30px;
  --spacing-36: 36px;
  --spacing-48: 48px;
  --spacing-60: 60px;
  --spacing-72: 72px;
  --spacing-96: 96px;
  --spacing-120: 120px;

  /* Layout */
  --page-max-width: 1280px;
  --section-pad-y: 112px;
  --section-pad-y-mobile: 64px;

  /* Radius */
  --radius-pill: 999px;
  --radius-card: 24px;
  --radius-image: 24px;
  --radius-nav: 24px;

  /* Borders */
  --hairline: rgba(255, 255, 255, 0.12);
  --hairline-strong: rgba(255, 255, 255, 0.22);

  /* Fallbacks for the .vuk page tokens — shared components (e.g. the global
     network globe section) use these on pages whose <main> lacks the .vuk
     class; without a :root definition the var() is invalid and the whole
     declaration (card borders included) is dropped. */
  --vuk-ash: #bdbdbd;
  --vuk-smoke: #9a9a9a;
  --vuk-hairline: rgba(255, 255, 255, 0.1);

  /* Surfaces */
  --surface-card: rgba(255, 255, 255, 0.025);
  --surface-nav: rgba(8, 9, 13, 0.72);
  --surface-image-overlay: rgba(0, 0, 0, 0.32);
}

/* ---------- Reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  background: var(--color-void);
  color: var(--color-rack-steel);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.55;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

::selection { background: rgba(128, 82, 255, 0.45); color: var(--color-bone); }

/* ---------- Shared layout ---------- */

.ndc-container {
  max-width: var(--page-max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.ndc-section { padding-block: var(--section-pad-y); position: relative; }

.ndc-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-network-violet-bright);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ndc-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--color-network-violet);
}

.ndc-h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, var(--text-heading-lg));
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-bone);
  margin-top: 18px;
  max-width: 18em;
}

.ndc-section-intro {
  margin-top: 18px;
  max-width: 620px;
  color: var(--color-smoke);
  font-size: var(--text-subheading);
  line-height: 1.5;
}

/* ---------- Buttons ---------- */

.ndc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.ndc-btn--primary {
  background: var(--color-network-violet);
  color: var(--color-bone);
}

.ndc-btn--primary:hover { background: var(--color-network-violet-bright); }

.ndc-btn--secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--color-bone);
}

.ndc-btn--secondary:hover { border-color: rgba(255, 255, 255, 0.4); }

.ndc-btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-network-violet-bright);
  outline-offset: 3px;
}

/* Quiet text link with arrow */
.ndc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-body-sm);
  font-weight: 600;
  color: var(--color-network-violet-bright);
  transition: gap 0.18s ease;
}

.ndc-link:hover { gap: 10px; }

/* ============================================================
   Navigation
   ============================================================ */

.ndc-nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  padding-inline: 18px;
}

.ndc-nav {
  max-width: var(--page-max-width);
  margin-inline: auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline: 22px 10px;
  background: var(--surface-nav);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-nav);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.ndc-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--color-bone);
  white-space: nowrap;
}

.ndc-logo-dc { color: var(--color-network-violet-bright); }

.ndc-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-inline: auto;
}

.ndc-nav-links a {
  display: block;
  padding: 8px 12px;
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-smoke);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.ndc-nav-links a:hover { color: var(--color-bone); }

.ndc-nav-right { display: flex; align-items: center; gap: 14px; }

.ndc-nav-phone {
  font-size: var(--text-body-sm);
  font-weight: 600;
  color: var(--color-rack-steel);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ndc-nav-phone:hover { color: var(--color-bone); }

.ndc-nav .ndc-btn--primary { padding: 12px 18px; font-size: 12px; }

/* Mobile nav toggle */
.ndc-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  border-radius: 12px;
}

.ndc-nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--color-bone);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ndc-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ndc-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ndc-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu panel */
.ndc-nav-mobile {
  display: none;
  max-width: var(--page-max-width);
  margin: 8px auto 0;
  background: var(--surface-nav);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-nav);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px;
}

.ndc-nav-mobile.is-open { display: block; }

.ndc-nav-mobile ul { list-style: none; }

.ndc-nav-mobile ul a {
  display: block;
  padding: 13px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-rack-steel);
  border-radius: 14px;
}

.ndc-nav-mobile ul a:hover { background: rgba(255, 255, 255, 0.05); color: var(--color-bone); }

.ndc-nav-mobile-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px 6px 6px;
  border-top: 1px solid var(--hairline);
  margin-top: 8px;
}

/* Mobile: grouped "Colocation" sub-items */
.ndc-nav-mobile-label {
  padding: 14px 14px 4px;
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-network-violet-bright);
}

.ndc-nav-mobile ul a.ndc-nav-mobile-sub { padding-left: 26px; }

/* ---------- Desktop dropdown (Colocation) ---------- */

.ndc-nav-has-sub { position: relative; }

.ndc-nav-subtrigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-smoke);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.ndc-nav-has-sub:hover .ndc-nav-subtrigger,
.ndc-nav-has-sub:focus-within .ndc-nav-subtrigger { color: var(--color-bone); }

.ndc-nav-chev { transition: transform 0.18s ease; }

.ndc-nav-has-sub:hover .ndc-nav-chev,
.ndc-nav-has-sub:focus-within .ndc-nav-chev,
.ndc-nav-has-sub.is-open .ndc-nav-chev { transform: rotate(180deg); }

.ndc-nav-sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 232px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  background: #08090d;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 110;
}

/* Invisible bridge so the cursor can cross the gap without closing the menu */
.ndc-nav-sub::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.ndc-nav-has-sub:hover .ndc-nav-sub,
.ndc-nav-has-sub:focus-within .ndc-nav-sub,
.ndc-nav-has-sub.is-open .ndc-nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ndc-nav-sub a {
  display: block;
  padding: 10px 12px;
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-rack-steel);
  border-radius: 10px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.ndc-nav-sub a:hover { background: rgba(255, 255, 255, 0.05); color: var(--color-bone); }

.ndc-nav-sub-all {
  margin-top: 4px;
  padding-top: 12px !important;
  border-top: 1px solid var(--hairline);
  color: var(--color-network-violet-bright) !important;
}

@media (max-width: 1080px) {
  .ndc-nav-links, .ndc-nav-phone { display: none; }
  .ndc-nav-toggle { display: flex; }
  .ndc-nav { padding-inline: 18px 10px; justify-content: space-between; }
}

@media (max-width: 480px) {
  .ndc-nav-wrap { padding-inline: 10px; top: 10px; }
  .ndc-nav { gap: 10px; padding-inline: 14px 6px; height: 58px; }
  .ndc-nav-right { gap: 6px; }
  .ndc-logo { font-size: 17px; }
  .ndc-nav .ndc-btn--primary { padding: 10px 14px; font-size: 11px; }
}

/* ============================================================
   Hero
   ============================================================ */

.ndc-hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  padding-top: 150px;
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}

/* WebGL light bloom painted behind the hero content (index page only).
   The canvas is opaque black, so it also stands in for the section
   background wherever it is present. */
.ndc-hero-bloom {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* Faint facility floor-grid behind everything */
.ndc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, black 0%, transparent 75%);
  pointer-events: none;
}

.ndc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  position: relative;
}

.ndc-hero-copy { max-width: 600px; }

.ndc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.4vw, var(--text-hero));
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--color-bone);
  margin-top: 22px;
}

.ndc-hero-body {
  margin-top: 26px;
  font-size: var(--text-subheading);
  line-height: 1.55;
  color: var(--color-smoke);
  max-width: 520px;
}

.ndc-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* Hero proof row */
.ndc-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  list-style: none;
}

.ndc-hero-proof li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-rack-steel);
  letter-spacing: 0.01em;
}

.ndc-hero-proof li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-uptime-teal);
  flex: none;
}

.ndc-hero-proof li.is-violet::before { background: var(--color-network-violet); }
.ndc-hero-proof li.is-amber::before { background: var(--color-power-amber); }
.ndc-hero-proof li.is-steel::before { background: var(--color-smoke); }

/* Hero visual — rack constellation */
.ndc-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Two layers behind the cabinet: a dark core keeps its faint linework
   legible, and a wider violet rim-light around it gives the hero glow a
   source — the light reads as coming from behind the rack. */
.ndc-hero-visual::before {
  content: "";
  position: absolute;
  inset: -14% -22%;
  background:
    radial-gradient(
      ellipse 55% 52% at 50% 50%,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.28) 45%,
      transparent 72%
    ),
    radial-gradient(
      ellipse 68% 62% at 50% 48%,
      rgba(128, 82, 255, 0.22) 0%,
      rgba(128, 82, 255, 0.09) 55%,
      transparent 78%
    );
  pointer-events: none;
}

.ndc-hero-visual svg {
  position: relative;   /* paints above the halo */
  width: 100%;
  max-width: 560px;
  height: auto;
}

@media (max-width: 980px) {
  .ndc-hero { min-height: 0; padding-top: 130px; }
  .ndc-hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .ndc-hero-visual svg { max-width: 460px; }
}

@media (max-width: 640px) {
  .ndc-hero-ctas .ndc-btn { flex: 1 1 100%; }
}

/* Constellation animation */
@keyframes ndc-led-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.ndc-led { animation: ndc-led-pulse 2.6s ease-in-out infinite; }
.ndc-led--slow { animation-duration: 4.1s; animation-delay: 0.9s; }
.ndc-led--fast { animation-duration: 1.7s; animation-delay: 0.4s; }

@keyframes ndc-packet-a {
  from { stroke-dashoffset: 220; }
  to { stroke-dashoffset: 0; }
}

.ndc-fibre-flow {
  stroke-dasharray: 3 28;
  animation: ndc-packet-a 7s linear infinite;
}

/* Patch-in sequence: JS adds .is-connected to each .ndc-step in turn.
   The cable draws in, then the switch port and server LED light up. */
.ndc-srv-tray {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1;
  fill: rgba(255, 255, 255, 0.02);
  transition: stroke 0.4s ease 0.8s;
}

.ndc-cable {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.ndc-step.is-connected .ndc-cable {
  transition: stroke-dashoffset 0.9s ease-in-out;
  stroke-dashoffset: 0;
}

.ndc-port-fill,
.ndc-srv-led {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ndc-step.is-connected .ndc-port-fill,
.ndc-step.is-connected .ndc-srv-led {
  opacity: 1;
  transition-delay: 0.85s;
}

.ndc-step.is-connected .ndc-srv-led { animation: ndc-led-pulse 2.8s ease-in-out 1.4s infinite; }

.ndc-step.is-connected .ndc-srv-tray { stroke: rgba(255, 255, 255, 0.4); }

@media (prefers-reduced-motion: reduce) {
  .ndc-led, .ndc-fibre-flow, .ndc-step.is-connected .ndc-srv-led { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Trust strip
   ============================================================ */

.ndc-trust { padding-block: var(--spacing-96); border-top: 1px solid var(--hairline); }

.ndc-trust-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.ndc-trust-note {
  font-size: var(--text-body-sm);
  color: var(--color-smoke);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ndc-trust-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-uptime-teal);
}

.ndc-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 48px;
  list-style: none;
}

.ndc-metric {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  padding: 24px;
}

.ndc-metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-bone);
  line-height: 1.1;
}

.ndc-metric-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-smoke);
}

.ndc-partners {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 36px;
}

.ndc-partners-label {
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-smoke);
}

.ndc-partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 40px;
  list-style: none;
}

.ndc-partner-logos li {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.34);
  transition: color 0.2s ease;
  cursor: default;
}

.ndc-partner-logos li:hover { color: var(--color-rack-steel); }

@media (max-width: 1080px) { .ndc-metrics { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .ndc-metrics { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   Services
   ============================================================ */

.ndc-services { border-top: 1px solid var(--hairline); }

.ndc-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.ndc-service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  padding: 26px 24px 24px;
  transition: border-color 0.2s ease;
}

.ndc-service-card:hover { border-color: rgba(128, 82, 255, 0.45); }

.ndc-service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 20px;
}

.ndc-service-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--color-bone);
}

.ndc-service-pos {
  margin-top: 8px;
  font-size: var(--text-body-sm);
  color: var(--color-rack-steel);
  line-height: 1.5;
}

.ndc-service-for {
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-smoke);
  line-height: 1.5;
}

.ndc-service-for strong {
  color: var(--color-rack-steel);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.ndc-service-bullets {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.ndc-service-bullets li {
  display: flex;
  gap: 9px;
  align-items: baseline;
  font-size: var(--text-body-sm);
  color: var(--color-rack-steel);
}

.ndc-service-bullets li::before {
  content: "";
  width: 8px;
  height: 1.5px;
  background: var(--color-network-violet);
  flex: none;
  transform: translateY(-3px);
}

.ndc-service-card .ndc-link { margin-top: auto; padding-top: 22px; }

@media (max-width: 1080px) { .ndc-services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .ndc-services-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Facility
   ============================================================ */

.ndc-facility { border-top: 1px solid var(--hairline); }

.ndc-facility-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 18px;
  margin-top: 56px;
}

.ndc-photo {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-image);
  overflow: hidden;
  min-height: 280px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(128, 82, 255, 0.07), transparent 55%),
    linear-gradient(160deg, #0b0c11 0%, #060708 100%);
  display: flex;
  align-items: flex-end;
}

.ndc-photo--tall { grid-row: span 2; min-height: 0; }

/* Placeholder treatment: subtle rack-line texture so tiles read as imagery slots */
.ndc-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 26px,
    rgba(255, 255, 255, 0.035) 26px,
    rgba(255, 255, 255, 0.035) 27px
  );
  mask-image: linear-gradient(180deg, transparent 0%, black 40%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 40%);
}

/* Real photo treatment: dark, slightly desaturated, integrated with the UI */
.ndc-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05) brightness(0.92);
}

.ndc-photo.has-img::before {
  background-image: none;
  background: var(--surface-image-overlay);
  mask-image: none;
  -webkit-mask-image: none;
  z-index: 1;
}

.ndc-photo.has-img .ndc-photo-overlay { z-index: 2; }

.ndc-photo-overlay {
  position: relative;
  width: 100%;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.ndc-photo-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-bone);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  background: rgba(8, 9, 13, 0.7);
  backdrop-filter: blur(6px);
}

.ndc-photo-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-uptime-teal);
}

.ndc-photo-chip--amber::before { background: var(--color-power-amber); }
.ndc-photo-chip--violet::before { background: var(--color-network-violet); }

.ndc-photo-placeholder {
  font-size: 12.5px;
  color: var(--color-smoke);
  font-style: italic;
}

.ndc-facility-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.ndc-facility-block {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  padding: 24px;
}

.ndc-facility-block h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-bone);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ndc-facility-block h3 svg { flex: none; }

.ndc-facility-block p {
  margin-top: 10px;
  font-size: var(--text-body-sm);
  color: var(--color-smoke);
  line-height: 1.55;
}

.ndc-facility-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 48px;
}

@media (max-width: 980px) {
  .ndc-facility-grid { grid-template-columns: 1fr; }
  .ndc-photo--tall { grid-row: auto; min-height: 320px; }
  .ndc-facility-blocks { grid-template-columns: 1fr; }
}

/* ============================================================
   Network / Enterprise colocation
   ============================================================ */

.ndc-network { border-top: 1px solid var(--hairline); }

.ndc-network-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.ndc-network-lead-copy p + p { margin-top: 16px; }

.ndc-network-lead-copy p {
  color: var(--color-smoke);
  font-size: var(--text-body);
  line-height: 1.6;
  max-width: 540px;
}

.ndc-network-lead-copy p:first-of-type {
  color: var(--color-rack-steel);
  font-size: var(--text-subheading);
}

/* Infrastructure flow diagram */
.ndc-flow {
  margin-top: 64px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  padding: 32px 24px;
  overflow-x: auto;
}

.ndc-flow svg { min-width: 920px; width: 100%; height: auto; }

/* Resilience feature grid */
.ndc-resilience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 56px;
  list-style: none;
}

.ndc-resilience-item {
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 18px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-rack-steel);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface-card);
}

.ndc-resilience-item svg { flex: none; }

@media (max-width: 1080px) {
  .ndc-network-lead { grid-template-columns: 1fr; gap: 24px; }
  .ndc-resilience-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .ndc-resilience-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Operator-led support
   ============================================================ */

.ndc-support { border-top: 1px solid var(--hairline); }

.ndc-support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ndc-support-copy .ndc-section-intro { max-width: 480px; }

.ndc-support-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.ndc-proof-cards { display: grid; gap: 14px; list-style: none; }

.ndc-proof-card {
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface-card);
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ndc-proof-card svg { flex: none; margin-top: 2px; }

.ndc-proof-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-bone);
}

.ndc-proof-card span {
  display: block;
  margin-top: 4px;
  font-size: var(--text-body-sm);
  color: var(--color-smoke);
  line-height: 1.5;
}

.ndc-customer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  list-style: none;
}

.ndc-customer-chips li {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-rack-steel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
}

@media (max-width: 980px) {
  .ndc-support-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   Final CTA
   ============================================================ */

.ndc-cta { border-top: 1px solid var(--hairline); position: relative; overflow: hidden; }

.ndc-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 110%, rgba(128, 82, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.ndc-cta-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ndc-cta-inner .ndc-h2 { max-width: 14em; }

.ndc-cta-inner .ndc-section-intro { margin-inline: auto; }

.ndc-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.ndc-cta-meta {
  margin-top: 28px;
  font-size: var(--text-body-sm);
  color: var(--color-smoke);
}

.ndc-cta-meta a { color: var(--color-rack-steel); font-weight: 600; }
.ndc-cta-meta a:hover { color: var(--color-bone); }

@media (max-width: 640px) {
  .ndc-cta-actions .ndc-btn { flex: 1 1 100%; }
}

/* ============================================================
   Footer
   ============================================================ */

.ndc-footer { border-top: 1px solid var(--hairline); padding-block: 64px 40px; }

.ndc-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.ndc-footer-brand p {
  margin-top: 14px;
  font-size: var(--text-body-sm);
  color: var(--color-smoke);
  max-width: 300px;
  line-height: 1.55;
}

.ndc-footer h4 {
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-smoke);
  margin-bottom: 16px;
}

.ndc-footer ul { list-style: none; display: grid; gap: 10px; }

.ndc-footer ul a {
  font-size: var(--text-body-sm);
  color: var(--color-rack-steel);
}

.ndc-footer ul a:hover { color: var(--color-bone); }

.ndc-footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--color-smoke);
}

@media (max-width: 900px) {
  .ndc-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .ndc-footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Mobile sticky CTA bar
   ============================================================ */

.ndc-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 9, 13, 0.88);
  border-top: 1px solid var(--hairline);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  gap: 10px;
}

.ndc-sticky-cta .ndc-btn { flex: 1; padding: 13px 10px; }

@media (max-width: 700px) {
  .ndc-sticky-cta { display: flex; }
  body { padding-bottom: 70px; }
}

/* ---------- Section padding responsive ---------- */
@media (max-width: 768px) {
  .ndc-section { padding-block: var(--section-pad-y-mobile); }
  .ndc-trust { padding-block: var(--spacing-60); }
}

/* ============================================================
   VPS page (vps-uk)
   ============================================================ */

/* Sub-page hero: shorter than homepage */
.ndc-hero--sub { min-height: 0; padding-top: 140px; padding-bottom: 56px; }

/* VM provisioning animation */
@keyframes ndc-vm-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.ndc-vm {
  opacity: 0;
  animation: ndc-vm-in 0.7s ease var(--vm-delay, 0s) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .ndc-vm { animation: none; opacity: 1; }
}

/* Plans */
.ndc-plans-section { border-top: 1px solid var(--hairline); }

.ndc-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
  align-items: stretch;
}

.ndc-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  padding: 26px 24px 24px;
  transition: border-color 0.2s ease;
}

.ndc-plan:hover { border-color: rgba(255, 255, 255, 0.25); }

.ndc-plan--featured { border-color: rgba(128, 82, 255, 0.55); }
.ndc-plan--featured:hover { border-color: rgba(128, 82, 255, 0.8); }

.ndc-plan-badge {
  position: absolute;
  top: -11px;
  left: 22px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-bone);
  background: var(--color-network-violet);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}

.ndc-plan h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-bone);
}

.ndc-plan-for {
  margin-top: 6px;
  font-size: 13px;
  color: var(--color-smoke);
  line-height: 1.45;
  min-height: 2.6em;
}

.ndc-plan-price {
  margin-top: 16px;
  font-size: var(--text-body-sm);
  color: var(--color-smoke);
}

.ndc-plan-price span {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-bone);
}

.ndc-plan-specs {
  list-style: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 9px;
}

.ndc-plan-specs li {
  display: flex;
  gap: 9px;
  align-items: baseline;
  font-size: var(--text-body-sm);
  color: var(--color-rack-steel);
}

.ndc-plan-specs li::before {
  content: "";
  width: 8px;
  height: 1.5px;
  background: var(--color-network-violet);
  flex: none;
  transform: translateY(-3px);
}

.ndc-plan-specs strong { color: var(--color-bone); font-weight: 600; }

.ndc-plan .ndc-btn { margin-top: auto; width: 100%; }
.ndc-plan-specs { margin-bottom: 22px; }

.ndc-plans-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--color-smoke);
  font-style: italic;
}

@media (max-width: 1080px) { .ndc-plans-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ndc-plans-grid { grid-template-columns: 1fr; } }

/* Features grid variant */
.ndc-vps-features { border-top: 1px solid var(--hairline); }
.ndc-resilience-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .ndc-resilience-grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* Use cases */
.ndc-vps-usecases { border-top: 1px solid var(--hairline); }

.ndc-usecase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 56px;
}

.ndc-usecase {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  padding: 24px;
}

.ndc-usecase h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-bone);
}

.ndc-usecase p {
  margin-top: 10px;
  font-size: var(--text-body-sm);
  color: var(--color-smoke);
  line-height: 1.55;
}

@media (max-width: 700px) { .ndc-usecase-grid { grid-template-columns: 1fr; } }

/* Upgrade path strip */
.ndc-vps-path { border-top: 1px solid var(--hairline); }

.ndc-path-strip {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.ndc-path-step {
  flex: 1 1 200px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ndc-path-num {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(128, 82, 255, 0.6);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-network-violet-bright);
  margin-bottom: 8px;
}

.ndc-path-step strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-bone);
}

.ndc-path-step span:last-child { font-size: 13px; color: var(--color-smoke); }

.ndc-path-arrow {
  align-self: center;
  color: var(--color-smoke);
  font-size: 20px;
}

@media (max-width: 760px) {
  .ndc-path-arrow { display: none; }
}

/* FAQ */
.ndc-faq { border-top: 1px solid var(--hairline); }

.ndc-faq-list { margin-top: 48px; display: grid; gap: 12px; max-width: 820px; }

.ndc-faq-item {
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface-card);
  overflow: hidden;
}

.ndc-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-bone);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.ndc-faq-item summary::-webkit-details-marker { display: none; }

.ndc-faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--color-smoke);
  transition: transform 0.2s ease;
  flex: none;
}

.ndc-faq-item[open] summary::after { transform: rotate(45deg); }

.ndc-faq-item p {
  padding: 0 22px 20px;
  font-size: var(--text-body-sm);
  color: var(--color-smoke);
  line-height: 1.6;
  max-width: 64ch;
}

/* VPS DDoS mitigation section */
.ndc-vps-ddos { border-top: 1px solid var(--hairline); }

.ndc-vps-ddos .ndc-flow { margin-top: 48px; }

.ndc-ddos-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.ndc-ddos-points li {
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface-card);
  padding: 18px 20px;
  font-size: var(--text-body-sm);
  color: var(--color-smoke);
  line-height: 1.55;
}

.ndc-ddos-points strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-bone);
  margin-bottom: 4px;
}

@media (max-width: 900px) { .ndc-ddos-points { grid-template-columns: 1fr; } }
/* VPS control panel section */
.ndc-vps-panel { border-top: 1px solid var(--hairline); }

.ndc-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.ndc-panel-points {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 11px;
}

.ndc-panel-points li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: var(--text-body-sm);
  color: var(--color-rack-steel);
}

.ndc-panel-points li::before {
  content: "";
  width: 8px;
  height: 1.5px;
  background: var(--color-network-violet);
  flex: none;
  transform: translateY(-3px);
}

.ndc-vps-panel .ndc-hero-ctas { margin-top: 30px; }

/* Browser frame for product screenshots */
.ndc-browser {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--color-rack-black);
  overflow: hidden;
}

.ndc-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
}

.ndc-browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.ndc-browser-url {
  margin-left: 12px;
  font-size: 12px;
  color: var(--color-smoke);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
}

.ndc-browser-body {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 25% 15%, rgba(128, 82, 255, 0.08), transparent 55%),
    linear-gradient(165deg, #0b0c11 0%, #060708 100%);
}

.ndc-browser-body img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

@media (max-width: 980px) {
  .ndc-panel-grid { grid-template-columns: 1fr; gap: 36px; }
  .ndc-browser-body { min-height: 240px; }
}

/* FAQ: centre the section */
.ndc-faq { text-align: center; }

.ndc-faq .ndc-h2 { margin-inline: auto; }

.ndc-faq-list {
  margin-inline: auto;
  text-align: left;
}
/* Included-features selling cards */
.ndc-incl-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.ndc-incl-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  padding: 22px;
  transition: border-color 0.2s ease;
}

.ndc-incl-card:hover { border-color: rgba(128, 82, 255, 0.45); }

.ndc-incl-card svg { margin-bottom: 14px; }

.ndc-incl-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-bone);
}

.ndc-incl-card span {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--color-smoke);
  line-height: 1.5;
}

@media (max-width: 1080px) { .ndc-incl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ndc-incl-grid { grid-template-columns: 1fr; } }
/* Blade-cluster hero animation: blades slide home along the chassis depth
   axis one at a time on a shared 14s loop, hold populated, reset together. */
.ndc-blade {
  opacity: 0;
  transform-box: fill-box;
  animation: 14s ease-out infinite;
}

.ndc-bl1 { animation-name: ndc-bl1; }
.ndc-bl2 { animation-name: ndc-bl2; }
.ndc-bl3 { animation-name: ndc-bl3; }
.ndc-bl4 { animation-name: ndc-bl4; }
.ndc-bl5 { animation-name: ndc-bl5; }
.ndc-bl6 { animation-name: ndc-bl6; }
.ndc-bl7 { animation-name: ndc-bl7; }
.ndc-bl8 { animation-name: ndc-bl8; }
.ndc-bl9 { animation-name: ndc-bl9; }
.ndc-bl10 { animation-name: ndc-bl10; }

@keyframes ndc-bl1 { 0%, 2% { opacity: 0; transform: translate(-62px, 36px); } 3.2% { opacity: 1; transform: translate(-62px, 36px); } 7%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translate(-62px, 36px); } }
@keyframes ndc-bl2 { 0%, 7.5% { opacity: 0; transform: translate(-62px, 36px); } 8.7% { opacity: 1; transform: translate(-62px, 36px); } 12.5%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translate(-62px, 36px); } }
@keyframes ndc-bl3 { 0%, 13% { opacity: 0; transform: translate(-62px, 36px); } 14.2% { opacity: 1; transform: translate(-62px, 36px); } 18%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translate(-62px, 36px); } }
@keyframes ndc-bl4 { 0%, 18.5% { opacity: 0; transform: translate(-62px, 36px); } 19.7% { opacity: 1; transform: translate(-62px, 36px); } 23.5%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translate(-62px, 36px); } }
@keyframes ndc-bl5 { 0%, 24% { opacity: 0; transform: translate(-62px, 36px); } 25.2% { opacity: 1; transform: translate(-62px, 36px); } 29%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translate(-62px, 36px); } }
@keyframes ndc-bl6 { 0%, 29.5% { opacity: 0; transform: translate(-62px, 36px); } 30.7% { opacity: 1; transform: translate(-62px, 36px); } 34.5%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translate(-62px, 36px); } }
@keyframes ndc-bl7 { 0%, 35% { opacity: 0; transform: translate(-62px, 36px); } 36.2% { opacity: 1; transform: translate(-62px, 36px); } 40%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translate(-62px, 36px); } }
@keyframes ndc-bl8 { 0%, 40.5% { opacity: 0; transform: translate(-62px, 36px); } 41.7% { opacity: 1; transform: translate(-62px, 36px); } 45.5%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translate(-62px, 36px); } }
@keyframes ndc-bl9 { 0%, 46% { opacity: 0; transform: translate(-62px, 36px); } 47.2% { opacity: 1; transform: translate(-62px, 36px); } 51%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translate(-62px, 36px); } }
@keyframes ndc-bl10 { 0%, 51.5% { opacity: 0; transform: translate(-62px, 36px); } 52.7% { opacity: 1; transform: translate(-62px, 36px); } 56.5%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translate(-62px, 36px); } }

@media (prefers-reduced-motion: reduce) {
  .ndc-blade { animation: none; opacity: 1; }
}

/* Deploy-in-60s microcopy under plan buttons */
.ndc-plan-deploy {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-uptime-teal);
}

.ndc-plan-deploy::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-uptime-teal);
}
/* Desktop colocation page */
.ndc-plans-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 800px;
}

@media (max-width: 600px) { .ndc-plans-grid--2 { grid-template-columns: 1fr; } }

.ndc-colo-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

@media (max-width: 900px) { .ndc-colo-photos { grid-template-columns: 1fr; } }

/* Tower hero: power + dual network feeds connect, then the tower comes online */
.ndc-colo-cable {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: 14s ease-in-out infinite;
}

.ndc-cc1 { animation-name: ndc-cc1; }
.ndc-cc2 { animation-name: ndc-cc2; }
.ndc-cc3 { animation-name: ndc-cc3; }

.ndc-colo-on { opacity: 0; animation: ndc-colo-on 14s linear infinite; }

@keyframes ndc-cc1 { 0%, 4% { stroke-dashoffset: 1; } 11%, 95% { stroke-dashoffset: 0; } 98%, 100% { stroke-dashoffset: 1; } }
@keyframes ndc-cc2 { 0%, 16% { stroke-dashoffset: 1; } 23%, 95% { stroke-dashoffset: 0; } 98%, 100% { stroke-dashoffset: 1; } }
@keyframes ndc-cc3 { 0%, 28% { stroke-dashoffset: 1; } 35%, 95% { stroke-dashoffset: 0; } 98%, 100% { stroke-dashoffset: 1; } }
@keyframes ndc-colo-on { 0%, 37% { opacity: 0; } 41%, 95% { opacity: 1; } 98%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .ndc-colo-cable { animation: none; stroke-dashoffset: 0; }
  .ndc-colo-on { animation: none; opacity: 1; }
}
/* Three-up plan grid (tower colocation) */
.ndc-plans-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1140px;
}

@media (max-width: 1000px) { .ndc-plans-grid--3 { grid-template-columns: 1fr; max-width: 480px; } }
/* Single-server colocation hero: tray slides into the rails, then cables */
.ndc-rack-tray {
  opacity: 0;
  transform-box: fill-box;
  animation: ndc-rack-tray 14s ease-out infinite;
}

@keyframes ndc-rack-tray { 0%, 3% { opacity: 0; transform: translate(-66px, 40px); } 4.5% { opacity: 1; transform: translate(-66px, 40px); } 10%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translate(-66px, 40px); } }

.ndc-sc1 { animation-name: ndc-sc1; }
.ndc-sc2 { animation-name: ndc-sc2; }
.ndc-sc3 { animation-name: ndc-sc3; }

@keyframes ndc-sc1 { 0%, 14% { stroke-dashoffset: 1; } 21%, 95% { stroke-dashoffset: 0; } 98%, 100% { stroke-dashoffset: 1; } }
@keyframes ndc-sc2 { 0%, 25% { stroke-dashoffset: 1; } 32%, 95% { stroke-dashoffset: 0; } 98%, 100% { stroke-dashoffset: 1; } }
@keyframes ndc-sc3 { 0%, 35% { stroke-dashoffset: 1; } 42%, 95% { stroke-dashoffset: 0; } 98%, 100% { stroke-dashoffset: 1; } }

.ndc-ssc-on { opacity: 0; animation: ndc-ssc-on 14s linear infinite; }

@keyframes ndc-ssc-on { 0%, 44% { opacity: 0; } 48%, 95% { opacity: 1; } 98%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .ndc-rack-tray, .ndc-ssc-on { animation: none; opacity: 1; }
}
/* Airflow streamlines (single-server hero) */
.ndc-airflow {
  stroke-dasharray: 5 16;
  animation: ndc-packet-a 8s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .ndc-airflow { animation: none; }
}

/* ============================================================
   VPS-UK — particle cosmos redesign
   Scoped under .vuk (the page <main>); nav/header untouched.
   Pure black canvas, hairline borders, thin display type, one
   violet action colour. No shadows, no gradients.
   ============================================================ */

.vuk {
  --vuk-ash: #bdbdbd;
  --vuk-smoke: #9a9a9a;
  --vuk-hairline: rgba(255, 255, 255, 0.1);
}

.vuk .ndc-container { max-width: 1200px; }

.vuk .ndc-section-intro { color: var(--vuk-ash); }

/* Cards become hairline outlines on the void — no fills */
.vuk .ndc-plan,
.vuk .ndc-faq-item,
.vuk .ndc-ddos-points li,
.vuk .ndc-flow,
.vuk .ndc-browser {
  background: transparent;
  border-color: var(--vuk-hairline);
}

.vuk .ndc-plan--featured { border-color: rgba(128, 82, 255, 0.65); }
.vuk .ndc-plan--featured:hover { border-color: rgba(128, 82, 255, 0.9); }

.vuk .ndc-browser-body { background: #000; }
.vuk .ndc-cta::before { display: none; }

/* ---------- Hero ---------- */

/* position: relative anchors the shared hero light-bloom canvas; the grid is
   positioned so the copy paints above the opaque canvas (same trick as
   .ndc-hero-grid). */
.vuk-hero { padding-top: 156px; padding-bottom: 72px; overflow: hidden; position: relative; }

.vuk-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.vuk-hero-copy { max-width: 560px; }

.vuk-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--color-bone);
  margin-top: 22px;
}

.vuk-hero-body {
  margin-top: 26px;
  font-size: var(--text-subheading);
  line-height: 1.55;
  color: var(--vuk-ash);
  max-width: 56ch;
}

.vuk-hero-visual { position: relative; }

.vuk-hero-visual svg {
  width: 100%;
  height: auto;
  max-width: 620px;
  margin-inline: auto;
}

/* Halo variant: the same dark-core + violet rim-light the index hero paints
   behind its cabinet (.ndc-hero-visual::before), for vuk heroes that want the
   glow hugging the illustration rather than a full-hero bloom (DR rack). */
.vuk-hero-visual--halo::before {
  content: "";
  position: absolute;
  inset: -14% -22%;
  background:
    radial-gradient(
      ellipse 55% 52% at 50% 50%,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.28) 45%,
      transparent 72%
    ),
    radial-gradient(
      ellipse 68% 62% at 50% 48%,
      rgba(128, 82, 255, 0.22) 0%,
      rgba(128, 82, 255, 0.09) 55%,
      transparent 78%
    );
  pointer-events: none;
}

.vuk-hero-visual--halo svg { position: relative; }

@media (max-width: 980px) {
  .vuk-hero { padding-top: 130px; padding-bottom: 56px; }
  .vuk-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .vuk-hero-visual svg { max-width: 440px; }
}

@media (max-width: 640px) {
  .vuk-hero .ndc-hero-ctas .ndc-btn { flex: 1 1 100%; }
  .vuk-hero-visual svg { max-width: 340px; }
}

/* ---------- Trust / performance strip ---------- */

.vuk-strip {
  border-top: 1px solid var(--vuk-hairline);
  padding-block: 48px;
}

.vuk-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px 24px;
  list-style: none;
}

.vuk-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-bone);
}

.vuk-stat-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: var(--vuk-smoke);
}

@media (max-width: 1080px) { .vuk-strip-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .vuk-strip-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Hairline card grids (why / use cases) ---------- */

.vuk-why { border-top: 1px solid var(--vuk-hairline); }

.vuk-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 60px;
  list-style: none;
}

.vuk-card {
  border: 1px solid var(--vuk-hairline);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  transition: border-color 0.2s ease;
}

.vuk-card:hover { border-color: rgba(128, 82, 255, 0.45); }

.vuk-card svg { margin-bottom: 18px; }

.vuk-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--color-bone);
}

.vuk-card p {
  margin-top: 10px;
  font-size: var(--text-body-sm);
  line-height: 1.55;
  color: var(--vuk-smoke);
}

@media (max-width: 1080px) { .vuk-card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .vuk-card-grid { grid-template-columns: 1fr; } }

/* ---------- Constellation motion ---------- */

.vuk-rotate {
  transform-origin: 320px 320px;
  animation: vuk-rot 180s linear infinite;
}

@keyframes vuk-rot { to { transform: rotate(360deg); } }

@keyframes vuk-tw {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

.vuk-tw { animation: vuk-tw 4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .vuk-rotate, .vuk-tw, .vuk-net-metro.is-edge .vuk-net-halo { animation: none; }
}

/* ---------- Global network / fibre map ---------- */

.vuk-network { border-top: 1px solid var(--vuk-hairline); }

.vuk-net-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  list-style: none;
}

@media (max-width: 600px) { .vuk-net-stats { grid-template-columns: 1fr 1fr; gap: 24px 18px; } }

.vuk-net-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: 18px;
  margin-top: 40px;
  align-items: stretch;
}

.vuk-net-mapwrap {
  border: 1px solid var(--vuk-hairline);
  border-radius: var(--radius-card);
  padding: 18px;
  min-width: 0;
}

.vuk-net-map {
  position: relative;
  width: 100%;
  aspect-ratio: 800 / 420;
  overflow: hidden;
  cursor: grab;
  touch-action: auto;
  /* Clicking/dragging the map should never select text or flash a tap
     highlight — it reads as a "stuck" selection on the SVG. */
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* 3D globe variant (remote-ddos-mitigation) — three.js canvas fills the box;
   pan-y keeps vertical page scroll alive on touch while horizontal swipes
   rotate the globe. */
.vuk-net-globe {
  position: relative;
  width: 100%;
  aspect-ratio: 10 / 9;
  max-height: 540px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.vuk-net-globe.is-grabbing { cursor: grabbing; }
.vuk-net-globe canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.vuk-net-globe::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128, 82, 255, 0.12), transparent 62%);
  pointer-events: none;
}
.vuk-net-globe-fail {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}
/* Static dot-map shown while the globe boots, and left in place if the
   three.js module or WebGL is unavailable. */
.vuk-net-globe-fallback {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  opacity: 0.7;
}
@media (max-width: 600px) {
  .vuk-net-globe { aspect-ratio: 1 / 1; }
}

.vuk-net-map.is-zoomed { touch-action: none; }
.vuk-net-map.is-grabbing { cursor: grabbing; }

.vuk-net-stage {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
}

.vuk-net-base,
.vuk-net-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vuk-net-base { opacity: 0.85; }

/* Zoom controls — small map utility buttons, not transformed with the stage */
.vuk-net-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vuk-net-zbtn {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-rack-steel);
  border: 1px solid var(--hairline-strong);
  border-radius: 9px;
  background: rgba(8, 9, 13, 0.6);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.vuk-net-zbtn:hover { color: var(--color-bone); border-color: rgba(255, 255, 255, 0.45); }

.vuk-net-hit { cursor: pointer; }

.vuk-net-cables path[data-line] { transition: stroke 0.18s ease, stroke-width 0.18s ease; }
.vuk-net-cables path[data-line].is-active {
  stroke: var(--color-power-amber);
  stroke-width: 1.6;
}

.vuk-net-metro { cursor: pointer; outline: none; }
.vuk-net-metro .vuk-net-halo { transition: r 0.18s ease, opacity 0.18s ease; }
.vuk-net-metro:hover .vuk-net-halo,
.vuk-net-metro:focus-visible .vuk-net-halo { opacity: 0.9; }
.vuk-net-metro.is-active .vuk-net-halo { opacity: 1; }
.vuk-net-metro.is-active circle:last-child { fill: var(--color-power-amber); }
.vuk-net-metro:focus-visible { outline: none; }
.vuk-net-metro:focus-visible circle:last-child { stroke: var(--color-bone); stroke-width: 1; }

/* Gentle twinkle on edge metros */
@keyframes vuk-net-pulse { 0%, 100% { opacity: 0.16; } 50% { opacity: 0.4; } }
.vuk-net-metro.is-edge .vuk-net-halo { animation: vuk-net-pulse 4s ease-in-out infinite; }

/* UK emphasis: soft glow behind the British Isles */
.vuk-net-uk-glow { animation: vuk-net-ukglow 6s ease-in-out infinite; }
@keyframes vuk-net-ukglow { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
/* The detailed UK dot layer must never intercept metro/cable clicks */
.vuk-net-uk-detail, .vuk-net-uk-glow { pointer-events: none; }

.vuk-net-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--vuk-hairline);
  list-style: none;
}

.vuk-net-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--vuk-smoke);
  letter-spacing: 0.02em;
}

.vuk-net-legend li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}

.vuk-net-legend .is-edge::before { background: var(--color-network-violet); }
.vuk-net-legend .is-upstream::before { background: #78b4ff; }
.vuk-net-legend .is-fibre::before {
  width: 16px;
  height: 0;
  border-radius: 0;
  border-top: 1px solid rgba(128, 82, 255, 0.7);
}

/* Detail panel */
.vuk-net-panel-wrap {
  border: 1px solid var(--vuk-hairline);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.vuk-net-panel { flex: 1; }

.vuk-net-panel-empty {
  margin-top: 12px;
  font-size: var(--text-body-sm);
  color: var(--color-smoke);
  line-height: 1.5;
  max-width: 24ch;
}

.vuk-net-panel-mark { opacity: 0.8; }

.vuk-net-panel-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-network-violet-bright);
}

.vuk-net-panel-title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-bone);
}

.vuk-net-panel-meta {
  margin-top: 4px;
  font-size: var(--text-body-sm);
  color: var(--vuk-ash);
}

.vuk-net-panel-sub {
  margin-top: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-smoke);
}

.vuk-net-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.vuk-net-chip {
  font-size: 12px;
  color: var(--color-rack-steel);
  border: 1px solid var(--vuk-hairline);
  border-radius: var(--radius-pill);
  padding: 5px 11px;
  line-height: 1.3;
}

.vuk-net-reset {
  align-self: flex-start;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-smoke);
  border: 1px solid var(--vuk-hairline);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.vuk-net-reset:hover { color: var(--color-bone); border-color: var(--hairline-strong); }

@media (max-width: 900px) {
  .vuk-net-layout { grid-template-columns: 1fr; }
  .vuk-net-panel-empty { max-width: none; }
}

/* ============================================================
   Remote DDoS mitigation — filter library
   ============================================================ */

.rdm-filters { border-top: 1px solid var(--vuk-hairline); }

/* ---------- Category tabs ---------- */

.rdm-tabs {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rdm-tab {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-rack-steel);
  padding: 9px 18px;
  border: 1px solid var(--vuk-hairline);
  border-radius: var(--radius-pill);
  background: transparent;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.rdm-tab:hover { color: var(--color-bone); border-color: var(--hairline-strong); }

.rdm-tab.is-active {
  color: var(--color-bone);
  border-color: rgba(128, 82, 255, 0.65);
  background: rgba(128, 82, 255, 0.12);
}

/* ---------- Filter card grid ---------- */

.rdm-filter-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.rdm-filter-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 26px 24px;
  border: 1px solid var(--vuk-hairline);
  border-radius: var(--radius-card);
  background: transparent;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.rdm-filter-card:hover {
  border-color: rgba(128, 82, 255, 0.45);
  transform: translateY(-2px);
}

.rdm-filter-card.is-hidden { display: none; }

.rdm-filter-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-subheading);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-bone);
  line-height: 1.2;
}

.rdm-filter-card p {
  color: var(--vuk-ash);
  font-size: var(--text-body-sm);
  line-height: 1.55;
}

/* The category chip sits flush at the foot of the card */
.rdm-filter-card .rdm-chip--cat { margin-top: auto; }

/* ---------- Chips ---------- */

.rdm-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--vuk-hairline);
}

.rdm-chip--proto {
  color: var(--color-network-violet-bright);
  border-color: rgba(128, 82, 255, 0.4);
  background: rgba(128, 82, 255, 0.08);
}

.rdm-chip--cat {
  color: var(--color-smoke);
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 640px) {
  .rdm-filter-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   About — team & story
   Scoped under .abt (the page <main>, which also carries .vuk).
   ============================================================ */

/* Story photo fills its column rather than collapsing */
.abt .ndc-panel-grid { align-items: stretch; }

.abt .ndc-panel-shot { display: flex; }

.abt .ndc-panel-shot .ndc-photo {
  flex: 1;
  min-height: 420px;
}

.abt-team { border-top: 1px solid var(--vuk-hairline); }

.abt-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 60px;
  list-style: none;
}

.abt-person {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  border: 1px solid var(--vuk-hairline);
  border-radius: var(--radius-card);
  padding: 32px 30px;
  transition: border-color 0.2s ease;
}

.abt-person:hover { border-color: rgba(128, 82, 255, 0.45); }

.abt-avatar {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
}

.abt-person-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-bone);
}

.abt-person-role {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-network-violet-bright);
}

.abt-person-body > p:not(.abt-person-role) {
  margin-top: 14px;
  font-size: var(--text-body-sm);
  line-height: 1.6;
  color: var(--vuk-smoke);
}

.abt-person-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  list-style: none;
}

.abt-person-tags li {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-rack-steel);
  border: 1px solid var(--vuk-hairline);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
}

@media (max-width: 860px) {
  .abt-team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .abt-person { flex-direction: column; gap: 18px; }
}

/* ============================================================
   Dedicated servers — comparison tables
   ============================================================ */

.dsv-section { border-top: 1px solid var(--vuk-hairline); }

.dsv-tier-title {
  margin-top: 56px;
  font-family: var(--font-display);
  font-size: var(--text-heading-sm);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-bone);
}

.dsv-tier-note {
  margin-top: 8px;
  max-width: 720px;
  color: var(--color-smoke);
  font-size: var(--text-body-sm);
}

.dsv-tier-note strong { color: var(--color-rack-steel); font-weight: 600; }

.dsv-tablewrap {
  margin-top: 22px;
  border: 1px solid var(--vuk-hairline);
  border-radius: var(--radius-card);
  overflow-x: auto;
}

.dsv-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: var(--text-body-sm);
}

.dsv-table thead th {
  text-align: left;
  padding: 14px 22px;
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-smoke);
  white-space: nowrap;
  border-bottom: 1px solid var(--hairline);
}

.dsv-table thead .dsv-th-buy { text-align: right; }

.dsv-table td {
  padding: 22px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: middle;
}

.dsv-table thead th:first-child,
.dsv-table td:first-child { padding-left: 24px; }
.dsv-table thead th:last-child,
.dsv-table td:last-child { padding-right: 24px; }

.dsv-table tbody tr:last-child td { border-bottom: none; }

.dsv-row { transition: background 0.15s ease; }
.dsv-row:hover { background: rgba(255, 255, 255, 0.025); }
.dsv-row--popular { background: rgba(128, 82, 255, 0.06); }
.dsv-row--popular:hover { background: rgba(128, 82, 255, 0.09); }

.dsv-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-bone);
}

.dsv-tagline {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--color-smoke);
}

.dsv-badge {
  display: inline-block;
  margin-top: 9px;
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1px solid var(--vuk-hairline);
}

.dsv-badge--popular {
  color: var(--color-network-violet-bright);
  border-color: rgba(128, 82, 255, 0.4);
  background: rgba(128, 82, 255, 0.1);
}

.dsv-badge--limited {
  color: var(--color-power-amber);
  border-color: rgba(255, 184, 41, 0.35);
  background: rgba(255, 184, 41, 0.08);
}

.dsv-badge--stock {
  color: var(--color-uptime-teal);
  border-color: rgba(22, 214, 177, 0.3);
}

.dsv-badge--stock::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--color-uptime-teal);
  vertical-align: middle;
}

.dsv-strong {
  display: block;
  font-weight: 600;
  color: var(--color-rack-steel);
  white-space: nowrap;
}

.dsv-sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--color-smoke);
}

.dsv-gb-cell { white-space: nowrap; }

.dsv-gb {
  display: block;
  font-size: 12px;
  color: var(--color-smoke);
}

.dsv-gb b {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-bone);
}

.dsv-buy { text-align: right; white-space: nowrap; }

.dsv-price {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--color-network-violet-bright);
}

.dsv-price span { font-size: 12px; font-weight: 500; color: var(--color-smoke); }

.dsv-setup {
  display: block;
  margin: 2px 0 9px;
  font-size: 11px;
  color: var(--color-smoke);
}

.dsv-order { padding: 9px 18px; font-size: 12px; }

/* ---- Desktop: fixed column proportions so nothing fights for width. The spec
   columns are snug, the Server column holds most of the slack, and the price /
   CTA column gets real room that is actually filled by a larger price and a
   full-width Order button — no dead gap before it, no hollow space inside. ---- */
@media (min-width: 881px) {
  .dsv-table { table-layout: fixed; }

  .dsv-table th:nth-child(1), .dsv-table td:nth-child(1) { width: 36%; }
  .dsv-table th:nth-child(2), .dsv-table td:nth-child(2) { width: 11%; }
  .dsv-table th:nth-child(3), .dsv-table td:nth-child(3) { width: 10%; }
  .dsv-table th:nth-child(4), .dsv-table td:nth-child(4) { width: 11%; }
  .dsv-table th:nth-child(5), .dsv-table td:nth-child(5) { width: 11%; }
  .dsv-table th:nth-child(6), .dsv-table td:nth-child(6) { width: 21%; }

  /* Let the one long Cores value ("P-cores only") wrap instead of spilling;
     the &nbsp;-joined values stay on one line and fit. */
  .dsv-table td:nth-child(2) .dsv-strong { white-space: normal; }

  .dsv-buy { text-align: right; }
  .dsv-price { font-size: 24px; }
  .dsv-price span { font-size: 13px; }
  .dsv-setup { margin: 3px 0 12px; }
  .dsv-order {
    display: block;
    width: 100%;
    padding: 11px 18px;
    text-align: center;
    white-space: nowrap;
  }
}

/* ---- Mobile: collapse each row into a card ---- */
@media (max-width: 880px) {
  .dsv-tablewrap { border: none; border-radius: 0; overflow: visible; }
  .dsv-table { min-width: 0; display: block; }
  .dsv-table thead { display: none; }
  .dsv-table tbody, .dsv-table tr { display: block; }

  .dsv-row {
    border: 1px solid var(--vuk-hairline);
    border-radius: 18px;
    margin-bottom: 14px;
    padding: 4px 6px;
  }
  .dsv-row:hover, .dsv-row--popular { background: transparent; }
  .dsv-row--popular { border-color: rgba(128, 82, 255, 0.55); }

  .dsv-table td {
    display: block;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: right;
    overflow: hidden;
  }
  .dsv-table tbody tr td:last-child { border-bottom: none; }

  .dsv-table td::before {
    content: attr(data-label);
    float: left;
    color: var(--color-smoke);
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
  }

  /* First cell = card header: full width, no label */
  .dsv-row td[data-label="Server"] {
    text-align: left;
    border-bottom: 1px solid var(--vuk-hairline);
    padding: 14px 14px 13px;
  }
  .dsv-row td[data-label="Server"]::before { display: none; }

  .dsv-gb-cell .dsv-gb { display: inline-block; margin-left: 12px; }

  /* Buy cell: stacked, full-width button */
  .dsv-row td.dsv-buy { text-align: left; }
  .dsv-row td.dsv-buy::before { content: "Price"; }
  .dsv-buy .dsv-price, .dsv-buy .dsv-setup { text-align: right; }
  .dsv-buy .dsv-price { float: right; clear: right; }
  .dsv-buy .dsv-setup { float: right; clear: right; margin: 2px 0 0; }
  .dsv-order { display: block; clear: both; width: 100%; margin-top: 12px; text-align: center; }
}

/* ============================================================
   Checkout redirect interstitial (plan "Get started" → billing site)
   ============================================================ */
.ndc-redirect {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.ndc-redirect[hidden] { display: none; }
body.ndc-redirect-open { overflow: hidden; }

.ndc-redirect-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 8, 0.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ndc-redirect-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 34px 32px 30px;
  text-align: center;
  background: #0c0e15;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(128, 82, 255, 0.18);
  animation: ndc-redirect-in 0.28s ease both;
}
@keyframes ndc-redirect-in {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.ndc-redirect-spinner {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 3px solid rgba(128, 82, 255, 0.22);
  border-top-color: var(--color-network-violet-bright, #9a73ff);
  animation: ndc-redirect-spin 0.8s linear infinite;
}
@keyframes ndc-redirect-spin { to { transform: rotate(360deg); } }

.ndc-redirect-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 6px 0 10px;
  color: #fff;
}
.ndc-redirect-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-rack-steel, #c7ced8);
  margin: 0 auto 14px;
  max-width: 340px;
}
.ndc-redirect-plan { color: var(--color-network-violet-bright, #9a73ff); font-weight: 600; }
.ndc-redirect-context {
  font-size: 12.5px;
  color: var(--color-smoke, #8d94a3);
  margin: 0 0 10px;
}
.ndc-redirect-context[hidden] { display: none; }
.ndc-redirect-host {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--color-smoke, #8d94a3);
  margin: 0 0 22px;
}
.ndc-redirect-fallback {
  font-size: 12.5px;
  color: var(--color-smoke, #8d94a3);
  margin: 0;
}
.ndc-redirect-fallback a {
  color: var(--color-network-violet-bright, #9a73ff);
  font-weight: 600;
  white-space: nowrap;
}
.ndc-redirect-fallback a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
  .ndc-redirect-card { animation: none; }
  .ndc-redirect-spinner { animation-duration: 1.8s; }
}

/* ============================================================
   Colocation for hosting providers
   ============================================================ */

/* Swap the panel columns so the visual sits on the left */
@media (min-width: 901px) {
  .hp-panel-rev .ndc-panel-copy { order: 2; }
  .hp-panel-rev .ndc-panel-shot { order: 1; }
}

/* Let panel children shrink below their content's intrinsic width so the
   code window / firewall mockup never force horizontal page overflow on
   mobile — the code <pre> scrolls internally instead. */
.ndc-panel-grid > * { min-width: 0; }
.hp-code, .hp-fw { max-width: 100%; }
.hp-fw { overflow: hidden; }

/* ---- White-label firewall manager mockup ---- */
.hp-fw {
  display: flex;
  min-height: 300px;
  font-size: 12px;
  text-align: left;
  color: var(--color-rack-steel);
}

.hp-fw-nav {
  width: 124px;
  flex-shrink: 0;
  padding: 18px 12px;
  border-right: 1px solid var(--hairline);
}

.hp-fw-brand {
  display: block;
  margin-bottom: 18px;
  padding-left: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-bone);
}
.hp-fw-brand span { color: var(--color-network-violet-bright); }

.hp-fw-nav ul { list-style: none; display: flex; flex-direction: column; gap: 3px; }
.hp-fw-nav li { padding: 8px 10px; border-radius: 8px; color: var(--color-smoke); }
.hp-fw-nav li.is-active { background: rgba(128, 82, 255, 0.14); color: var(--color-bone); }

.hp-fw-main { flex: 1; padding: 18px; min-width: 0; }

.hp-fw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--color-bone);
  font-weight: 600;
}

.hp-fw-state {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--color-uptime-teal);
  border: 1px solid rgba(22, 214, 177, 0.35);
  border-radius: var(--radius-pill);
  padding: 2px 9px;
}

.hp-fw-rules { width: 100%; border-collapse: collapse; }
.hp-fw-rules td { padding: 8px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.hp-fw-rules tr:last-child td { border-bottom: none; }
.hp-fw-svc { color: var(--color-smoke); }
.hp-fw-rules td.ok { text-align: right; color: var(--color-uptime-teal); }
.hp-fw-rules td.warn { text-align: right; color: var(--color-power-amber); }
.hp-fw-rules td.drop { text-align: right; color: var(--color-smoke); }

.hp-fw-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.hp-fw-pill {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--color-network-violet-bright);
  border: 1px solid rgba(128, 82, 255, 0.35);
  background: rgba(128, 82, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}

/* ---- API code window ---- */
.hp-code {
  background: #05070c;
  border: 1px solid var(--vuk-hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.hp-code-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--hairline);
}
.hp-code-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.hp-code-bar p { margin-left: 8px; font-size: 12px; color: var(--color-smoke); }

.hp-code pre {
  margin: 0;
  padding: 20px 18px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--color-rack-steel);
}
.hp-c-com { color: var(--color-smoke); }
.hp-c-verb { color: var(--color-network-violet-bright); font-weight: 600; }
.hp-c-url { color: var(--color-rack-steel); }
.hp-c-str { color: var(--color-uptime-teal); }

/* ---- Wholesale POA band ---- */
.hp-wholesale { border-top: 1px solid var(--vuk-hairline); }

.hp-poa {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 48px;
  border: 1px solid var(--vuk-hairline);
  border-radius: var(--radius-card);
  background: rgba(128, 82, 255, 0.04);
}

.hp-poa-copy { flex: 1 1 460px; }
.hp-poa-copy .ndc-h2 { margin-top: 14px; }
.hp-poa-copy .ndc-section-intro { margin-top: 14px; }

.hp-poa-points {
  margin-top: 20px;
  list-style: none;
  display: grid;
  gap: 10px;
}
.hp-poa-points li {
  position: relative;
  padding-left: 26px;
  color: var(--color-rack-steel);
  font-size: var(--text-body-sm);
}
.hp-poa-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--color-network-violet);
}

.hp-poa-aside {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.hp-poa-k {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-network-violet-bright);
}
.hp-poa-sub {
  font-size: var(--text-body-sm);
  color: var(--color-smoke);
  margin-bottom: 12px;
}

@media (max-width: 720px) {
  .hp-poa { padding: 30px; gap: 28px; }
  .hp-poa-aside { align-items: flex-start; text-align: left; }
  .hp-poa-aside .ndc-btn { width: 100%; text-align: center; }
}