/* AegisMesh website styles
   Plain CSS, no build step. Sections follow the order of index.html. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-subset.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f8fe;
  --surface: #fff;
  --ink: #0b1442;
  --ink-2: #26325f;
  --muted: #55617f;
  --line: #e2e8f5;
  --line-strong: #cbd8f1;
  --blue: #1764ff;
  --blue-deep: #0e4fdc;
  --violet: #6b3dff;
  --cyan: #16c7ef;
  --teal: #0fb98a;
  --eyebrow: #4a5fb2;
  --grad: linear-gradient(100deg, #1764ff 0%, #4650ff 55%, #6b3dff 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(15 30 80 / .05), 0 6px 16px -8px rgb(15 30 80 / .12);
  --shadow: 0 1px 2px rgb(15 30 80 / .04), 0 18px 40px -20px rgb(20 48 120 / .28);
  --shadow-lg: 0 40px 80px -40px rgb(16 40 110 / .5);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, "Liberation Mono", monospace;
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--blue); text-underline-offset: 3px; }

h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
code { font-family: var(--mono); font-size: .92em; }

:focus-visible {
  outline: 3px solid #6f9cff;
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* filled silhouette; the thin stroke closes hairline gaps between country shapes */
.icon--fill { fill: currentColor; stroke: currentColor; stroke-width: .5; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .8em 1.35em;
  border: 1.5px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; stroke-width: 2.2; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }

.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 26px -12px rgb(70 80 255 / .75), inset 0 1px 0 rgb(255 255 255 / .18);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px -14px rgb(70 80 255 / .8), inset 0 1px 0 rgb(255 255 255 / .2);
}

.btn-secondary {
  color: var(--blue);
  background: #fff;
  border-color: #c4d4f5;
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--blue); transform: translateY(-1px); }

.btn-lg { padding: .95em 1.6em; font-size: 1.02rem; border-radius: 16px; }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / .84);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgb(12 37 91 / .07);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled {
  background: rgb(255 255 255 / .94);
  box-shadow: 0 12px 30px -20px rgb(16 40 110 / .4);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; flex: none; border-radius: 10px; }
.brand img { width: auto; height: 44px; }

.site-nav { display: flex; flex: 1; align-items: center; justify-content: flex-end; }
.nav-panel { display: flex; flex: 1; align-items: center; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); margin-inline: auto; }

.nav-links a {
  position: relative;
  padding: 6px 2px;
  color: var(--ink-2);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="true"] { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a[aria-current="true"]::after { transform: scaleX(1); }

.nav-actions { display: flex; flex: none; align-items: center; gap: 10px; }
.nav-cta { padding: .72em 1.25em; font-size: .94rem; }
.nav-cta.btn-secondary { padding-inline: 1.05em; }
/* narrow desktop: the Console stays reachable from the Console section and the footer */
@media (min-width: 960px) and (max-width: 1179.98px) {
  .nav-cta.btn-secondary { display: none; }
}
.nav-links a { white-space: nowrap; }

.section-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.nav-toggle { display: none; }

@media (max-width: 959.98px) {
  :root { --header-h: 68px; }
  .brand img { height: 38px; }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
  }
  .nav-toggle .icon { width: 22px; height: 22px; stroke-width: 2; }

  .js .nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgb(16 40 110 / .45);
  }
  .js .menu-open .nav-panel { display: flex; }

  .js .nav-links { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .js .nav-links a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .js .nav-links a::after { display: none; }
  .js .nav-actions { flex-direction: column; align-items: stretch; margin-top: 16px; }

  /* without JavaScript the links simply wrap under the logo */
  .no-js .nav-toggle,
  .no-js .nav-cta { display: none; }
  .no-js .header-bar { flex-wrap: wrap; padding-block: 10px; }
  .no-js .site-nav { flex-basis: 100%; justify-content: flex-start; }
  .no-js .nav-links { flex-wrap: wrap; gap: 4px 18px; margin: 0; }
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  overflow-x: clip;
  padding-top: clamp(36px, 5.5vw, 76px);
  background:
    radial-gradient(900px 520px at 0% 0%, #e8efff 0%, rgb(232 239 255 / 0) 60%),
    linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
}

.hero-layout { min-height: clamp(470px, 40vw, 540px); }
.hero-copy { position: relative; z-index: 2; max-width: 620px; padding-bottom: 36px; }

.status-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 22px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgb(255 255 255 / .85);
  box-shadow: var(--shadow-sm);
  color: var(--ink-2);
  font-size: .85rem;
  font-weight: 600;
}
.status-pill__tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: #efe9ff;
  color: #5428d8;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.hero h1 {
  font-size: clamp(2.1rem, 1rem + 3.6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.text-gradient {
  padding-right: .04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 560px;
  margin-top: 20px;
  color: #43507a;
  font-size: clamp(1.02rem, .95rem + .3vw, 1.13rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  color: #34426b;
  font-size: .9rem;
  font-weight: 600;
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 18px; height: 18px; color: var(--teal); stroke-width: 2.6; }

/* illustration + network overlay; img and svg share one coordinate system */
.hero-art { position: absolute; top: 0; right: 0; bottom: 64px; width: min(62%, 1160px); z-index: 0; }
.hero-art__frame {
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%), linear-gradient(180deg, #000 64%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 40%), linear-gradient(180deg, #000 64%, transparent 100%);
  mask-composite: intersect;
}
.hero-art__frame img,
.hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-note {
  position: absolute;
  top: 15%;
  left: 7%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  color: #2b47a3;
  font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  font-size: clamp(1.55rem, 1rem + 1.05vw, 2.15rem);
  font-weight: 500;
  line-height: 1.02;
  transform: rotate(-9deg);
  transform-origin: left center;
}
.hero-note span:nth-child(2) { padding-left: .9em; }
.hero-note__swoosh { width: 5.4em; height: auto; margin: -2px 0 0 1.6em; overflow: visible; }
.hero-note__swoosh path { fill: none; stroke: #19d3b0; stroke-width: 3.2; stroke-linecap: round; }

.net-line { fill: none; stroke: rgb(255 255 255 / .72); stroke-width: 2.2; }
.net-line--soft { stroke: rgb(220 235 255 / .45); stroke-width: 1.6; }
.net-pulse {
  fill: none;
  stroke: #fff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: .04 .96;
  stroke-dashoffset: 1;
  opacity: .95;
  animation: net-travel 7s linear infinite;
}
.net-pulse--late { stroke: #c9f5ff; animation-duration: 5.5s; animation-delay: -2.5s; }
.net-ring { fill: rgb(255 255 255 / .14); stroke: #c3f3ff; stroke-width: 2; }
.net-core { fill: #fff; }
.net-node--violet .net-ring { stroke: #e3d6ff; stroke-width: 2.6; }
.net-halo { transform-box: fill-box; transform-origin: center; animation: net-breathe 4.2s ease-in-out infinite; }
.net-node:nth-child(3n + 2) .net-halo { animation-delay: -1.4s; }
.net-node:nth-child(3n) .net-halo { animation-delay: -2.8s; }

@keyframes net-travel { to { stroke-dashoffset: 0; } }
@keyframes net-breathe { 50% { transform: scale(1.22); opacity: .7; } }

/* metric cards */
.metrics {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.metric {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgb(214 225 245 / .95);
  border-radius: 20px;
  background: rgb(255 255 255 / .93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.metric__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(180deg, #eef4ff, #e2ebff);
  color: var(--blue);
}
.metric__icon .icon { width: 28px; height: 28px; stroke-width: 1.7; }
.metric__icon--map .icon { width: 36px; height: 36px; }
.metric__icon--violet { background: linear-gradient(180deg, #f3efff, #e8e0ff); color: var(--violet); }
.metric p { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.metric__value { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; margin-bottom: 3px; }
.metric__label { color: var(--ink); font-size: 1rem; font-weight: 700; }
.metric__label--lg { margin-bottom: 3px; font-size: 1.14rem; letter-spacing: -.01em; }
.metric__note { margin-top: 3px; color: var(--muted); font-size: .84rem; }

@media (min-width: 1000px) and (max-width: 1179.98px) {
  .hero-copy { max-width: 520px; }
  .hero h1 { font-size: 3.15rem; }
  .hero-art { width: 60%; }
  .hero-note { left: 9%; }
  .metric { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; }
  .metric__icon { width: 48px; height: 48px; border-radius: 14px; }
}

@media (max-width: 999.98px) {
  .hero-copy { max-width: 680px; padding-bottom: 0; }
  .hero-layout { min-height: 0; }
  .hero-art { position: relative; inset: auto; width: auto; margin-top: 36px; }
  .hero-art__frame {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 24px;
    -webkit-mask-image: none;
    mask-image: none;
    box-shadow: var(--shadow-lg);
  }
  .hero-note {
    top: 7%;
    left: 5%;
    color: #fff;
    text-shadow: 0 2px 14px rgb(20 30 90 / .5);
    transform: rotate(-6deg);
  }
  .hero-note__swoosh path { stroke: #5ff0cf; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
}

@media (max-width: 599.98px) {
  .status-pill { font-size: .8rem; }
  .hero-art { margin-top: 30px; }
  .hero-art__frame { aspect-ratio: 5 / 4.2; border-radius: 20px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-points { flex-direction: column; gap: 8px; }
  .metrics { gap: 12px; }
  .metric { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .metric__icon { width: 46px; height: 46px; border-radius: 14px; }
  .metric__icon .icon { width: 24px; height: 24px; }
  .metric__icon--map .icon { width: 30px; height: 30px; }
  .metric__value { font-size: 1.5rem; }
  .metric__label--lg { font-size: 1.02rem; }
}

@media (max-width: 429.98px) {
  .status-pill { padding: 6px 14px; }
  .status-pill__tag { display: none; }
}

@media (max-width: 379.98px) {
  .metrics { grid-template-columns: 1fr; }
  .metric { flex-direction: row; align-items: center; }
}

/* ------------------------------------------------------------------ sections */

.section { padding-block: clamp(56px, 6.5vw, 92px); }

.eyebrow {
  margin-bottom: 12px;
  color: var(--eyebrow);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow--light { color: #9ec0ff; }

.section h2,
.cta h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.3vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.section-lead { max-width: 58ch; color: var(--muted); font-size: 1.04rem; }

.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 18px 48px;
  align-items: end;
}
.section-head--split .section-lead { justify-self: end; max-width: 46ch; }

@media (max-width: 899.98px) {
  .section-head--split { grid-template-columns: minmax(0, 1fr); }
  .section-head--split .section-lead { justify-self: start; }
}

/* ------------------------------------------------------------------ planned footprint */

.footprint { padding-top: clamp(48px, 6vw, 80px); }

.footprint-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-areas:
    "head map"
    "lists map";
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, #f8faff);
  box-shadow: var(--shadow);
}

.footprint-head { grid-area: head; padding: clamp(28px, 4vw, 48px) clamp(22px, 3.5vw, 44px) 24px; }
.footprint-head h2 { margin-bottom: 14px; }

.fp-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.fp-facts > div { padding: 14px 16px; }
.fp-facts > div + div { border-left: 1px dashed var(--line-strong); }
.fp-facts dt { color: var(--eyebrow); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.fp-facts dd { margin: 4px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.35; }
.fp-facts strong { display: block; color: var(--ink); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }

.locations {
  grid-area: lists;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 0 clamp(22px, 3.5vw, 44px) clamp(28px, 4vw, 44px);
}

.location-card {
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.location-card h3 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 1rem;
  line-height: 1.25;
}
.location-card .count { grid-column: 2; color: var(--eyebrow); font-size: .76rem; font-weight: 700; }
.location-card--eu .count { color: #5428d8; }
.flag,
.globe { grid-row: 1 / span 2; }
.flag { width: 26px; height: 17px; border-radius: 3px; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); }
.globe { width: 24px; height: 24px; color: var(--violet); }

.city-list { color: #46537a; font-size: .9rem; line-height: 1.4; }
.city-list--cols { columns: 2; column-gap: 18px; }
.city-list li { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; break-inside: avoid; }
.city-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgb(23 100 255 / .12);
}
.location-card--eu .city-list li::before { background: var(--violet); box-shadow: 0 0 0 3px rgb(107 61 255 / .14); }

.footprint-map {
  grid-area: map;
  position: relative;
  min-height: 600px;
  color: #dbe7ff;
  background:
    radial-gradient(60% 50% at 58% 46%, rgb(40 130 255 / .28), rgb(40 130 255 / 0) 70%),
    linear-gradient(180deg, #0a1d47, #061433);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px);
}
.map-canvas { position: absolute; inset: 0; overflow: hidden; }
.map-canvas img,
.map-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.map-labels text { fill: rgb(200 220 255 / .55); font-family: var(--font); font-size: 17px; font-weight: 700; letter-spacing: .08em; text-anchor: middle; }
.map-links { fill: none; stroke: rgb(120 200 255 / .24); stroke-width: 1.3; }
.map-nodes--de circle { fill: #29e1ff; stroke: #eafcff; stroke-width: 2; }
.map-nodes--eu circle { fill: #a47aff; stroke: #f4eeff; stroke-width: 2; }
.pulse {
  fill: none;
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: map-pulse 3.6s ease-out infinite;
}
.pulse--de { stroke: #29e1ff; }
.pulse--eu { stroke: #b896ff; }
.pulse.d1 { animation-delay: .9s; }
.pulse.d2 { animation-delay: 1.8s; }
.pulse.d3 { animation-delay: 2.7s; }
@keyframes map-pulse {
  0% { transform: scale(1); opacity: .9; }
  75%, 100% { transform: scale(4.4); opacity: 0; }
}

.map-legend {
  position: absolute;
  top: 24px;
  left: 76px;
  display: grid;
  gap: 6px;
  padding: 11px 15px;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: 14px;
  background: rgb(6 18 48 / .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: .84rem;
  font-weight: 600;
}
.map-legend li { display: flex; align-items: center; gap: 10px; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.legend-dot--de { background: #29e1ff; box-shadow: 0 0 12px rgb(41 225 255 / .9); }
.legend-dot--eu { background: #a47aff; box-shadow: 0 0 12px rgb(164 122 255 / .9); }

.map-caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
  padding: 8px 14px;
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: 999px;
  background: rgb(6 18 48 / .7);
  color: #c4d5f7;
  font-size: .8rem;
  font-weight: 600;
}
.map-caption .icon { width: 16px; height: 16px; color: #8fb6ff; }

@media (max-width: 999.98px) {
  .footprint-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "map" "lists";
    grid-template-rows: auto;
  }
  .footprint-map {
    min-height: 0;
    aspect-ratio: 1 / .9;
    margin: 0 clamp(14px, 3vw, 28px) 20px;
    overflow: hidden;
    border-radius: 20px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .map-legend { top: 14px; left: 14px; }
  .map-caption { right: 12px; bottom: 12px; }
}

@media (max-width: 639.98px) {
  .locations { grid-template-columns: minmax(0, 1fr); }
  .location-card--eu .city-list { columns: 2; column-gap: 18px; }
  .footprint-map { aspect-ratio: 1 / 1.1; }
  .map-legend { padding: 8px 12px; font-size: .78rem; }
  .map-caption { left: 12px; right: 12px; justify-content: center; border-radius: 12px; font-size: .76rem; }
  /* facts become rows: label on the left, value on the right */
  .fp-facts { grid-template-columns: minmax(0, 1fr); }
  .fp-facts > div { display: flex; align-items: baseline; gap: 12px; padding: 11px 14px; }
  .fp-facts > div + div { border-left: 0; border-top: 1px dashed var(--line-strong); }
  .fp-facts dd { display: flex; align-items: baseline; gap: 8px; margin: 0 0 0 auto; text-align: right; }
  .fp-facts strong { display: inline; font-size: 1.15rem; }
}

/* ------------------------------------------------------------------ platform */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feature {
  position: relative;
  padding: 22px 20px 24px;
  border: 1px solid;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; }
.feature__icon .icon { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 8px; font-size: 1.02rem; line-height: 1.25; letter-spacing: -.01em; }
.feature p { color: var(--muted); font-size: .9rem; line-height: 1.55; }

.feature--blue { border-color: #dde7fb; background: linear-gradient(180deg, #f2f6ff, #fff 72%); }
.feature--blue .feature__icon { background: #e4edff; color: var(--blue); }
.feature--mint { border-color: #d5f0e6; background: linear-gradient(180deg, #edfbf6, #fff 72%); }
.feature--mint .feature__icon { background: #d8f6ec; color: #0a9a74; }
.feature--violet { border-color: #e5ddfb; background: linear-gradient(180deg, #f6f2ff, #fff 72%); }
.feature--violet .feature__icon { background: #ebe4ff; color: var(--violet); }

/* a heading link that makes the whole card clickable */
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 3px solid #6f9cff; outline-offset: 2px; }
.feature:hover .card-link { color: var(--blue); }

@media (max-width: 1099.98px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479.98px) {
  .features { grid-template-columns: minmax(0, 1fr); }
  .feature { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 18px; }
  .feature__icon { grid-row: span 2; margin: 0; }
}

.scale-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 32px 48px;
  align-items: center;
  margin-top: clamp(28px, 4vw, 40px);
  padding: clamp(26px, 4vw, 48px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 320px at 88% 10%, rgb(107 61 255 / .3), rgb(107 61 255 / 0) 60%),
    radial-gradient(500px 300px at 6% 100%, rgb(22 199 239 / .2), rgb(22 199 239 / 0) 60%),
    linear-gradient(160deg, #0c1f52, #071233);
  color: #c9d6f5;
  box-shadow: var(--shadow-lg);
}
.scale-band h3 { margin-bottom: 12px; color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -.03em; }
.scale-band p { max-width: 46ch; color: #b9c7eb; }
.scale-legend { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; color: #d3def8; font-size: .84rem; }
.scale-legend li { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 18px; height: 12px; border-radius: 4px; }
.swatch--app { background: linear-gradient(135deg, #2f7bff, #7a4dff); }
.swatch--node { border: 1.5px solid rgb(255 255 255 / .4); background: rgb(255 255 255 / .06); }
.swatch--moved { border: 1.5px dashed #3ee0c0; background: rgb(62 224 192 / .2); }

.scale-band__diagram svg { width: 100%; height: auto; overflow: visible; }
.mesh { fill: none; stroke: rgb(140 180 255 / .3); stroke-width: 1.5; stroke-dasharray: 4 6; }
.node-card > rect:first-child { fill: rgb(255 255 255 / .06); stroke: rgb(255 255 255 / .2); stroke-width: 1.5; }
.node-card circle { fill: #8fb4ff; opacity: .7; }
.chip { fill: url(#chip-grad); }
.chip--moved {
  fill: rgb(62 224 192 / .18);
  stroke: #3ee0c0;
  stroke-width: 1.6;
  stroke-dasharray: 4 3;
  animation: chip-glow 2.4s ease-in-out infinite;
}
.node-card--down > rect:first-child { fill: rgb(255 255 255 / .02); stroke: rgb(255 255 255 / .25); stroke-dasharray: 5 5; }
.node-card--down path { fill: none; stroke: rgb(255 150 170 / .75); stroke-width: 2.5; stroke-linecap: round; }
.moved-path { fill: none; stroke: #3ee0c0; stroke-width: 2; stroke-dasharray: 6 6; animation: dash-flow 1.6s linear infinite; }

@keyframes chip-glow { 50% { fill: rgb(62 224 192 / .4); } }
@keyframes dash-flow { to { stroke-dashoffset: -24; } }

@media (max-width: 859.98px) { .scale-band { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ console */

.console {
  overflow: hidden;
  border: 1px solid #d8e2f6;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.console__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfcff, #f3f6fe);
  font-size: .85rem;
}
.console__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.console__brand img { width: 26px; height: 26px; }
.console__crumbs { padding-left: 16px; border-left: 1px solid var(--line); color: var(--muted); }

.console__body { display: grid; grid-template-columns: 228px minmax(0, 1fr); }
.console__side {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  background: #f8faff;
}
.console__side li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: .9rem;
  font-weight: 600;
}
.console__side .icon { width: 18px; height: 18px; color: #7d8fbf; }
.console__side .is-active { background: #fff; box-shadow: var(--shadow-sm); color: var(--blue); }
.console__side .is-active .icon { color: var(--blue); }

.console__modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(16px, 2.5vw, 24px);
  background:
    radial-gradient(420px 260px at 100% 0%, rgb(107 61 255 / .06), rgb(107 61 255 / 0) 70%),
    radial-gradient(420px 260px at 0% 100%, rgb(22 199 239 / .06), rgb(22 199 239 / 0) 70%);
}
.module { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.module__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; }
.module__icon .icon { width: 22px; height: 22px; }
.module h3 { margin: 14px 0 6px; font-size: 1.04rem; }
.module p { color: var(--muted); font-size: .9rem; }
.module code { padding: 1px 5px; border-radius: 5px; background: #eef3fd; color: var(--ink-2); font-size: .84em; overflow-wrap: anywhere; }
.module--apps .module__icon { background: #e4edff; color: var(--blue); }
.module--db .module__icon { background: #d8f6ec; color: #0a9a74; }
.module--id .module__icon { background: #ebe4ff; color: var(--violet); }
.module--cdn .module__icon { background: #dcf6fc; color: #0789ab; }

@media (max-width: 799.98px) {
  .console__body { grid-template-columns: minmax(0, 1fr); }
  .console__side { display: none; }
}
@media (max-width: 559.98px) {
  .console__modules { grid-template-columns: minmax(0, 1fr); }
  .console__crumbs { display: none; }
}

/* ------------------------------------------------------------------ CDN */

.cdn {
  background:
    radial-gradient(640px 380px at 88% 45%, rgb(22 199 239 / .09), rgb(22 199 239 / 0) 70%),
    linear-gradient(180deg, var(--bg), #eef3fe 50%, var(--bg));
}
.cdn-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.cdn-copy h2 { margin-bottom: 16px; }

.cdn-uses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.cdn-uses li {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.cdn-uses__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #e3f8fd; color: #0789ab; }
.cdn-uses__icon .icon { width: 21px; height: 21px; }
.cdn-uses h3 { margin-bottom: 2px; font-size: .95rem; }
.cdn-uses p { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.fine-print { margin-top: 18px; color: var(--muted); font-size: .88rem; }

.cdn-flow {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 260px at 85% 100%, rgb(22 199 239 / .22), rgb(22 199 239 / 0) 70%),
    radial-gradient(380px 260px at 10% 0%, rgb(107 61 255 / .25), rgb(107 61 255 / 0) 70%),
    linear-gradient(160deg, #0c1f52 0%, #081436 100%);
  color: #dbe6ff;
  box-shadow: var(--shadow-lg);
}
.cdn-flow__title {
  margin-bottom: 22px;
  color: #93b3f3;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.flow { display: grid; justify-items: center; }
.flow-node {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 300px;
  padding: 12px 14px;
  border: 1px solid rgb(255 255 255 / .14);
  border-radius: 14px;
  background: rgb(255 255 255 / .06);
}
.flow-node strong { display: block; color: #fff; font-size: .94rem; line-height: 1.3; }
.flow-node small { display: block; color: #a3b6e2; font-size: .79rem; line-height: 1.35; }
.flow-node__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: rgb(255 255 255 / .09); color: #8fd8ff; }
.flow-node__icon .icon { width: 20px; height: 20px; }
.flow-node--visitor { max-width: 330px; border-color: rgb(255 255 255 / .22); background: rgb(255 255 255 / .1); }

.flow-split { width: 100%; height: 44px; }
.flow-split svg { width: 100%; height: 100%; overflow: visible; }
.flow-split path {
  fill: none;
  stroke: rgb(143 190 255 / .55);
  stroke-width: 2;
  stroke-dasharray: 5 6;
  vector-effect: non-scaling-stroke;
  animation: dash-flow-down 1.4s linear infinite;
}
@keyframes dash-flow-down { to { stroke-dashoffset: -22; } }

.flow-lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; }
.flow-lane { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.flow-label { padding: 4px 11px; border-radius: 999px; font-size: .75rem; font-weight: 700; text-align: center; }
.flow-lane--app .flow-label { background: rgb(122 77 255 / .2); color: #c4b4ff; }
.flow-lane--cdn .flow-label { background: rgb(22 199 239 / .16); color: #84e8ff; }
.flow-lane--app .flow-node__icon { color: #c4b4ff; }
.flow-node--store { position: relative; margin-top: 14px; }
.flow-node--store::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  height: 26px;
  border-left: 2px dashed rgb(143 190 255 / .55);
}

@media (max-width: 959.98px) {
  .cdn-layout { grid-template-columns: minmax(0, 1fr); }
  .cdn-flow { max-width: 680px; }
}
@media (max-width: 519.98px) {
  .cdn-uses { grid-template-columns: minmax(0, 1fr); }
  .flow-split { display: none; }
  .flow-lanes { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 22px; }
  .flow-node { max-width: none; }
}

/* ------------------------------------------------------------------ identity */

.identity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.identity-copy h2 { margin-bottom: 16px; }

.id-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.id-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--ink-2);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.35;
}
.id-features .icon { width: 18px; height: 18px; color: var(--violet); stroke-width: 2.4; }

.id-flow {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.5vw, 36px);
  border: 1px solid #e1d9fb;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(360px 240px at 100% 0%, rgb(107 61 255 / .12), rgb(107 61 255 / 0) 70%),
    linear-gradient(160deg, #f6f2ff, #eef4ff);
  box-shadow: var(--shadow);
}
.id-flow__title {
  margin-bottom: 22px;
  color: #5a43c4;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.id-steps { display: grid; gap: 34px; }
.id-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.id-step + .id-step::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  height: 34px;
  border-left: 2px dashed #b4a2f3;
}
.id-step strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.id-step small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.id-step__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: #f0eaff; color: var(--violet); }
.id-step__icon .icon { width: 22px; height: 22px; }
.id-step--core { border-color: transparent; background: var(--grad); box-shadow: 0 20px 36px -18px rgb(80 70 255 / .75); }
.id-step--core strong,
.id-step--core small { color: #fff; }
.id-step--core small { opacity: .85; }
.id-step--core .id-step__icon { background: rgb(255 255 255 / .18); color: #fff; }

@media (max-width: 959.98px) {
  .identity-layout { grid-template-columns: minmax(0, 1fr); }
  .identity-copy { order: -1; }
  .id-flow { max-width: 680px; }
}
@media (max-width: 479.98px) {
  .id-features { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ prepare an app */

.registry-rule {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  padding: 20px 24px;
  overflow: hidden;
  border: 1px solid #d3e0fb;
  border-radius: 20px;
  background: linear-gradient(100deg, #edf3ff 0%, #f4efff 100%);
}
.registry-rule::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--grad); }
.registry-rule__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 20px -10px rgb(70 80 255 / .8);
}
.registry-rule__icon .icon { width: 24px; height: 24px; }
.registry-rule__kicker { margin-bottom: 4px; color: #5428d8; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.registry-rule__text { color: var(--ink-2); font-size: 1.04rem; font-weight: 500; }
.registry-rule code {
  padding: 2px 8px;
  border: 1px solid #c9d9fa;
  border-radius: 8px;
  background: #fff;
  color: var(--blue-deep);
  font-weight: 700;
  white-space: nowrap;
}

.prepare-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.steps { display: grid; gap: 12px; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 22px;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 62px;
  bottom: -26px;
  left: 39px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(#c7d7f8, #e3eaf9);
}
.step__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2d7dff, #1556e8);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 18px -8px rgb(23 100 255 / .8);
}
.step:last-child .step__num { background: linear-gradient(180deg, #1fd0a4, #0ea57f); box-shadow: 0 8px 18px -8px rgb(15 185 138 / .8); }
.step h3 { margin: 2px 0 4px; font-size: 1.02rem; }
.step p { color: var(--muted); font-size: .9rem; }
.step code,
.good-to-know code {
  padding: 1px 6px;
  border-radius: 6px;
  background: #eef3fd;
  color: var(--ink-2);
  font-size: .84em;
  overflow-wrap: anywhere;
}
.step__icon { width: 22px; height: 22px; margin-top: 2px; color: #8ea4d6; }

.terminal {
  overflow: hidden;
  border: 1px solid #1a2a5a;
  border-radius: 20px;
  background: #0a1430;
  box-shadow: var(--shadow-lg);
}
.terminal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 10px 18px;
  border-bottom: 1px solid rgb(255 255 255 / .06);
  background: #0f1d44;
}
.terminal__title { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: #b7c6ee; font-size: .84rem; font-weight: 600; }
.terminal__title .icon { width: 18px; height: 18px; color: #7fd8ff; }
.terminal__body {
  margin: 0;
  padding: 18px 20px 22px;
  overflow-x: auto;
  color: #e2e9ff;
  font-family: var(--mono);
  font-size: .86rem;
  line-height: 1.75;
  tab-size: 2;
}
.terminal__body:focus-visible { outline-offset: -3px; }
.tok-c { color: #7c8dbd; }
.tok-k { color: #7fd8ff; }
.tok-s { color: #ffd38a; }
.tok-f { color: #c7a6ff; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgb(255 255 255 / .18);
  border-radius: 10px;
  background: rgb(255 255 255 / .06);
  color: #dbe6ff;
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.copy-btn:hover { background: rgb(255 255 255 / .12); }
.copy-btn .icon { width: 16px; height: 16px; }
.copy-btn.is-copied { border-color: rgb(95 240 207 / .45); color: #5ff0cf; }
.copy-btn--light { border-color: #c9d9fa; background: #fff; color: var(--blue); }
.copy-btn--light:hover { border-color: var(--blue); background: #fff; }
.copy-btn--light.is-copied { border-color: #9fe2cd; color: #0a8a67; }

.image-ref {
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.image-ref__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.image-ref__title { color: var(--eyebrow); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.image-ref__value {
  padding: 12px 14px;
  border: 1px dashed #c9d9fa;
  border-radius: 12px;
  background: #f5f8ff;
  color: var(--muted);
  font-family: var(--mono);
  font-size: clamp(.8rem, .74rem + .32vw, .98rem);
  font-weight: 600;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.image-ref__value code { font-size: 1em; }
.seg { padding: 2px 5px; border-radius: 6px; }
.seg--host { background: #e2ecff; color: #0d4bd4; }
.seg--ns { background: #efe8ff; color: #5a2fd6; }
.seg--app { background: #dcf5f6; color: #08737a; }
.seg--tag { background: #fff0d9; color: #9a4f00; }
.image-ref__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; color: var(--muted); font-size: .8rem; }
.image-ref__legend li { display: inline-flex; align-items: center; gap: 6px; }
.seg-dot { width: 9px; height: 9px; border-radius: 3px; }
.seg-dot--host { background: #1764ff; }
.seg-dot--ns { background: #6b3dff; }
.seg-dot--app { background: #0aa6ae; }
.seg-dot--tag { background: #e48a14; }

.good-to-know { display: grid; gap: 10px; margin-top: 16px; }
.good-to-know li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(255 255 255 / .65);
  color: var(--ink-2);
  font-size: .9rem;
}
.good-to-know .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--blue); }

@media (max-width: 959.98px) {
  .prepare-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 519.98px) {
  .registry-rule { flex-direction: column; gap: 14px; padding: 18px 18px 20px 22px; }
  .registry-rule code { white-space: normal; overflow-wrap: anywhere; }
  .step { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .step__num { width: 36px; height: 36px; }
  .step:not(:last-child)::after { top: 56px; left: 33px; bottom: -24px; }
  .step__icon { display: none; }
  .terminal__body { padding: 16px; font-size: .8rem; }
  .terminal__title { font-size: .78rem; }
}

/* ------------------------------------------------------------------ call to action */

.cta-section { padding-block: clamp(16px, 3vw, 32px) clamp(56px, 7vw, 88px); }

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 300px;
  border-radius: 30px;
  background:
    radial-gradient(520px 260px at 18% 110%, rgb(22 199 239 / .35), rgb(22 199 239 / 0) 70%),
    linear-gradient(100deg, #051138 0%, #0a1f5c 55%, #18246e 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta__art {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 60%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 50%);
}
.cta__waves { position: absolute; left: 0; bottom: 0; z-index: -1; width: 72%; height: 62%; pointer-events: none; }

.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: center;
  max-width: 1000px;
  padding: clamp(32px, 5vw, 56px);
}
.cta h2 { color: #fff; }
.cta h2 span {
  display: block;
  background: linear-gradient(90deg, #2ee6ff, #5aa8ff 60%, #9884ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta__aside p { max-width: 40ch; color: #cad8fa; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.cta__mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgb(219 230 255 / .35);
  color: #dbe6ff;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.cta__mail:hover { border-color: #fff; color: #fff; }
.cta__mail .icon { width: 18px; height: 18px; }

@media (max-width: 899.98px) {
  .cta__inner { grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(150px, 34vw, 240px); }
  .cta__art {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 62%;
    object-position: 75% 30%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
  }
  .cta__waves { width: 100%; height: 60%; top: 0; bottom: auto; transform: scaleY(-1); opacity: .6; }
}

/* ------------------------------------------------------------------ footer */

.site-footer { padding-bottom: 40px; color: var(--muted); font-size: .92rem; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.footer-brand img { width: auto; height: 40px; margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; }
.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.footer-title { margin-bottom: 12px; color: var(--ink); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.footer-nav ul { display: grid; gap: 8px; }
.footer-nav a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.footer-nav a:hover { color: var(--blue); }
.footer-nav a .icon { width: 16px; height: 16px; }
.footer-code { padding: 2px 8px; border-radius: 6px; background: #eaf0fd; color: var(--ink-2); font-family: var(--mono); font-size: .8rem; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .84rem;
}
.footer-status { display: inline-flex; align-items: flex-start; gap: 8px; max-width: 72ch; }
.footer-status .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--eyebrow); }

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

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

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-copy > :nth-child(5) { animation-delay: .24s; }
  .hero-art { animation: fade-in 1.2s ease .1s both; }
}

@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .net-pulse,
  .pulse { display: none; }
  .net-halo,
  .chip--moved,
  .moved-path,
  .flow-split path { animation: none; }
  .btn,
  .feature,
  .btn .icon { transition: none; }
}

@media print {
  .site-header,
  .hero-network,
  .cta__art,
  .cta__waves { display: none; }
  .cta { background: none; color: var(--ink); box-shadow: none; }
  .cta h2,
  .cta h2 span,
  .cta__aside p { color: var(--ink); -webkit-text-fill-color: currentColor; }
}
