:root {
  --bg: #050711;
  --bg-soft: #080c17;
  --surface: rgba(13, 20, 36, .76);
  --surface-solid: #0d1424;
  --surface-2: rgba(18, 29, 50, .78);
  --surface-3: #15233a;
  --text: #f5f7fb;
  --muted: #a2b0c3;
  --faint: #6e7d92;
  --line: rgba(138, 164, 199, .16);
  --line-strong: rgba(126, 156, 198, .28);
  --cyan: #67e8f9;
  --blue: #60a5fa;
  --indigo: #818cf8;
  --violet: #a78bfa;
  --green: #4ade80;
  --yellow: #facc15;
  --red: #fb7185;
  --accent: var(--cyan);
  --accent-soft: rgba(103, 232, 249, .10);
  --green-soft: rgba(74, 222, 128, .10);
  --max: 1220px;
  --radius: 18px;
  --radius-sm: 11px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-sm: 0 12px 30px rgba(0, 0, 0, .18);
  --shadow: 0 30px 90px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% -5%, rgba(96, 165, 250, .16), transparent 34rem),
    radial-gradient(circle at 8% 18%, rgba(167, 139, 250, .10), transparent 30rem),
    linear-gradient(180deg, #050711 0%, #060915 55%, #050711 100%);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(103, 232, 249, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, .026) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
body::after {
  content: "";
  position: fixed;
  width: 34rem;
  height: 34rem;
  right: -18rem;
  top: 22rem;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(103, 232, 249, .08);
  filter: blur(110px);
}

::selection { color: #031018; background: var(--cyan); }
a { color: var(--cyan); text-underline-offset: .22em; }
a:hover { color: #b8f5ff; }
img, svg { max-width: 100%; }
.container { width: min(calc(100% - 2.4rem), var(--max)); margin-inline: auto; }
.mono, code, pre { font-family: var(--mono); }
.muted { color: var(--muted); }

.skip-link {
  position: absolute; left: -9999px; top: .5rem; z-index: 999;
  color: #031018; background: var(--cyan); padding: .65rem .9rem; border-radius: 8px;
}
.skip-link:focus { left: .75rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 17, .76);
  backdrop-filter: blur(22px) saturate(145%);
  transition: background .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { background: rgba(5, 7, 17, .92); box-shadow: 0 14px 40px rgba(0,0,0,.24); }
.network-bar { border-bottom: 1px solid rgba(138, 164, 199, .10); background: rgba(3, 6, 14, .55); }
.network-bar-inner {
  min-height: 32px; display: flex; align-items: center; gap: 1.15rem;
  color: var(--faint); font-family: var(--mono); font-size: .67rem;
  letter-spacing: .065em; text-transform: uppercase; white-space: nowrap; overflow: hidden;
}
.network-bar-inner > * { flex: 0 0 auto; }
.network-bar-label { color: #8798af; }
.network-bar-sep { width: 1px; height: 11px; background: var(--line-strong); }
.live-link { margin-left: auto; color: #9caec2; text-decoration: none; }
.live-link:hover { color: var(--text); }
.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: .45rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(74,222,128,.9); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; color: var(--text); text-decoration: none; }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid rgba(103, 232, 249, .34);
  border-radius: 13px;
  color: #e4fbff;
  background:
    linear-gradient(145deg, rgba(103, 232, 249, .20), rgba(129, 140, 248, .13)),
    rgba(12, 19, 34, .94);
  box-shadow: inset 0 1px rgba(255,255,255,.09), 0 12px 28px rgba(10, 30, 58, .26);
  font-family: var(--mono); font-size: .72rem; font-weight: 850; letter-spacing: -.04em;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.12; }
.brand-copy strong { font-family: var(--mono); font-size: 1rem; letter-spacing: .025em; }
.brand-copy small { margin-top: .24rem; color: var(--faint); font-size: .6rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav a {
  position: relative; color: #92a2b7; text-decoration: none; padding: .7rem .82rem;
  border-radius: 9px;
  font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .025em; text-transform: uppercase;
  transition: color .18s ease, background .18s ease;
}
.site-nav a:hover { color: var(--text); background: rgba(255,255,255,.045); }
.site-nav a[aria-current="page"] { color: #eefcff; background: rgba(103,232,249,.09); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: .2rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.site-nav .nav-cta {
  margin-left: .55rem; padding: .62rem .82rem; border: 1px solid var(--line-strong);
  color: var(--text); background: rgba(18,29,50,.62);
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { border-color: rgba(103,232,249,.48); background: rgba(103,232,249,.08); color: var(--cyan); }
.nav-toggle {
  display: none; border: 1px solid var(--line-strong); border-radius: 9px; color: var(--text); background: var(--surface);
  padding: .58rem .72rem; font: 700 .72rem var(--mono); text-transform: uppercase;
}

/* Typography */
h1, h2, h3 { line-height: 1.15; }
h1 { margin: 0; font-size: clamp(2.8rem, 7vw, 6.15rem); letter-spacing: -.062em; }
h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 3vw, 2.55rem); letter-spacing: -.042em; }
h3 { margin: 0 0 .65rem; font-size: 1.08rem; letter-spacing: -.018em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 .9rem;
  color: var(--cyan); font: 800 .69rem var(--mono); letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.lead { max-width: 68ch; color: #aab8ca; font-size: clamp(1rem, 2vw, 1.2rem); }

/* Home hero */
.hero { position: relative; padding: 6.7rem 0 5rem; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 52rem; height: 52rem; left: -24rem; top: -24rem;
  border-radius: 50%; background: radial-gradient(circle, rgba(129,140,248,.14), transparent 66%); pointer-events: none;
}
.hero::after {
  content: "AS198149"; position: absolute; right: -1rem; bottom: -4rem;
  color: rgba(255,255,255,.018); font: 900 clamp(8rem, 20vw, 19rem)/1 var(--mono); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) minmax(420px,.96fr); gap: 4.4rem; align-items: center; }
.hero .asn-title {
  font-family: var(--mono); font-weight: 850;
  background: linear-gradient(100deg, #effcff 10%, #8beafa 38%, #a9b3ff 69%, #f1efff 94%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 16px 35px rgba(64, 159, 211, .15));
}
.hero .asn-title span { color: inherit; }
.hero-subtitle { margin: .45rem 0 1.25rem; color: #f4f7fb; font: 700 clamp(1rem,2vw,1.22rem) var(--mono); letter-spacing: .055em; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .72rem; margin-top: 1.8rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; gap: .5rem;
  padding: .7rem 1rem; border: 1px solid var(--line-strong); border-radius: 10px;
  color: var(--text); background: rgba(18,29,50,.70);
  box-shadow: inset 0 1px rgba(255,255,255,.035);
  text-decoration: none; font: 760 .72rem var(--mono); letter-spacing: .025em; text-transform: uppercase;
  transition: border-color .18s, background .18s, color .18s, transform .18s, box-shadow .18s;
}
.button:hover { transform: translateY(-2px); border-color: rgba(103,232,249,.48); color: var(--cyan); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.button.primary {
  color: #04121a; border-color: transparent;
  background: linear-gradient(120deg, #67e8f9, #8ce3ff 48%, #a5b4fc);
  box-shadow: 0 14px 35px rgba(71, 191, 232, .20), inset 0 1px rgba(255,255,255,.55);
}
.button.primary:hover { color: #04121a; filter: brightness(1.05); box-shadow: 0 18px 42px rgba(71, 191, 232, .26); }
.button.ghost { background: rgba(5,9,18,.36); }
.external::after { content: " ↗"; font-size: .9em; }

.meta-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.15rem; }
.badge {
  display: inline-flex; align-items: center; gap: .42rem; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .62rem;
  color: #a9b8ca; background: rgba(9,15,28,.58); font: 740 .64rem var(--mono); letter-spacing: .035em; text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.badge.success { color: #b8f7cb; border-color: rgba(74,222,128,.25); background: rgba(74,222,128,.08); }
.badge.warning { color: #fde978; border-color: rgba(250,204,21,.28); }
.status-dot { width: .44rem; height: .44rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }

/* Topology visual */
.topology-card {
  position: relative; overflow: hidden; border: 1px solid rgba(138,164,199,.24); border-radius: 22px;
  background: linear-gradient(145deg, rgba(18,29,50,.86), rgba(8,13,25,.90));
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.06);
}
.topology-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 36%, rgba(103,232,249,.10), transparent 45%);
}
.topology-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.25rem .7rem; }
.topology-head strong { display: block; margin-top: .15rem; font: 760 .95rem var(--mono); }
.panel-kicker { color: var(--faint); font: 760 .61rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.health-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .58rem; border: 1px solid rgba(74,222,128,.25); border-radius: 999px; color: #bdf7cf; background: rgba(74,222,128,.07); font: 750 .61rem var(--mono); text-transform: uppercase; }
.health-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(74,222,128,.9); }
.topology-canvas { position: relative; padding: .2rem .65rem .35rem; }
.topology-canvas svg { display: block; width: 100%; height: auto; }
.topology-grid line { stroke: rgba(138,164,199,.06); stroke-width: 1; }
.link-path { fill: none; stroke: url(#linkGradient); stroke-width: 1.6; stroke-linecap: round; opacity: .8; stroke-dasharray: 6 8; animation: routeFlow 9s linear infinite; }
.link-glow { fill: none; stroke: rgba(103,232,249,.12); stroke-width: 10; filter: blur(5px); }
.node-halo { fill: rgba(103,232,249,.07); stroke: rgba(103,232,249,.16); }
.node-core { fill: #111d32; stroke: rgba(103,232,249,.72); stroke-width: 1.5; }
.node-core.secondary { stroke: rgba(167,139,250,.56); }
.node-label { fill: #dffbff; font: 700 14px var(--mono); text-anchor: middle; }
.node-sub { fill: #7f91a7; font: 600 9px var(--mono); text-anchor: middle; letter-spacing: 1px; }
.center-ring { fill: rgba(9,17,31,.92); stroke: url(#ringGradient); stroke-width: 2.2; filter: drop-shadow(0 0 13px rgba(103,232,249,.25)); }
.center-label { fill: #f3fdff; font: 850 20px var(--mono); text-anchor: middle; }
.center-sub { fill: #79dfee; font: 700 10px var(--mono); text-anchor: middle; letter-spacing: 1.2px; }
.pulse-dot { fill: #80f4ff; filter: drop-shadow(0 0 6px #67e8f9); animation: nodePulse 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.pulse-dot.delay { animation-delay: -1.2s; }
.topology-metrics { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); background: rgba(4,8,17,.36); }
.topology-metrics > div { min-height: 75px; padding: .9rem 1rem; border-right: 1px solid var(--line); }
.topology-metrics > div:last-child { border-right: 0; }
.topology-metrics span { display: block; color: var(--faint); font: 710 .58rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.topology-metrics strong { display: block; margin-top: .28rem; color: #e9f6ff; font: 760 .78rem var(--mono); word-break: break-word; }

@keyframes routeFlow { to { stroke-dashoffset: -140; } }
@keyframes nodePulse { 0%, 100% { transform: scale(.8); opacity: .62; } 50% { transform: scale(1.2); opacity: 1; } }

.data-strip { border-bottom: 1px solid var(--line); background: rgba(7,11,22,.62); backdrop-filter: blur(12px); }
.data-strip-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.data-cell { min-height: 112px; padding: 1.35rem 1.25rem; border-right: 1px solid var(--line); }
.data-cell:first-child { border-left: 1px solid var(--line); }
.data-label { display: block; margin-bottom: .5rem; color: var(--faint); font: .62rem var(--mono); letter-spacing: .095em; text-transform: uppercase; }
.data-value { color: #ebf6ff; font: 750 .93rem var(--mono); word-break: break-word; }
.data-value.large { font-size: 1.34rem; background: linear-gradient(90deg,var(--cyan),#c2c8ff); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* General layout */
.section { padding: 5rem 0; }
.section.compact { padding: 3rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 1.9rem; }
.section-head > p { max-width: 58ch; margin: 0; color: var(--muted); }
.grid { display: grid; gap: 1.15rem; }
.grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid.four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.card {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.45rem;
  background: linear-gradient(145deg, rgba(18,29,50,.74), rgba(9,15,28,.76));
  box-shadow: inset 0 1px rgba(255,255,255,.035), var(--shadow-sm);
}
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(103,232,249,.60), transparent); opacity: .7; }
.card::after { content: ""; position: absolute; width: 8rem; height: 8rem; right: -5rem; top: -5rem; border-radius: 50%; background: rgba(103,232,249,.06); filter: blur(20px); pointer-events: none; }
.card p:last-child { margin-bottom: 0; }
.card-link { color: inherit; text-decoration: none; transition: border-color .2s, transform .2s, background .2s, box-shadow .2s; }
.card-link:hover { color: inherit; border-color: rgba(103,232,249,.30); transform: translateY(-5px); background: linear-gradient(145deg, rgba(22,36,60,.88), rgba(11,18,33,.86)); box-shadow: 0 20px 48px rgba(0,0,0,.26); }
.card h2, .card h3 { font-family: var(--mono); }
.icon {
  display: inline-flex; min-width: 42px; justify-content: center; margin-bottom: 1rem; padding: .36rem .55rem;
  border: 1px solid rgba(103,232,249,.18); border-radius: 8px;
  color: #b9f7ff; background: linear-gradient(120deg, rgba(103,232,249,.12), rgba(129,140,248,.09));
  font: 800 .67rem var(--mono); letter-spacing: .04em;
}

.page-hero { position: relative; padding: 5.2rem 0 3.5rem; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 76% 10%, rgba(103,232,249,.10), transparent 25rem), radial-gradient(circle at 20% 120%, rgba(167,139,250,.10), transparent 30rem); }
.page-hero::after { content: "AS198149 / NETWORK INFORMATION"; position: absolute; right: max(1rem, calc((100vw - var(--max))/2)); bottom: .95rem; color: rgba(155,174,199,.36); font: .58rem var(--mono); letter-spacing: .1em; }
.page-hero > .container { position: relative; }
.page-hero h1 { font-family: var(--mono); font-size: clamp(2.6rem,5vw,4.8rem); background: linear-gradient(100deg,#f4fbff,#9eeeff 52%,#c4c8ff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; color: var(--faint); font: .65rem var(--mono); text-transform: uppercase; }
.breadcrumbs a { color: #8294a9; text-decoration: none; }
.breadcrumbs a:hover { color: var(--cyan); }
.content-layout { display: grid; grid-template-columns: minmax(0,1fr) 315px; gap: 2.5rem; align-items: start; }
.prose { max-width: 79ch; }
.prose p, .prose li { color: #becbda; }
.prose h2 { margin-top: 2.8rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 1.52rem; }
.prose h3 { margin-top: 1.9rem; font-family: var(--mono); }
.sidebar { position: sticky; top: 128px; }

.note { border: 1px solid rgba(103,232,249,.22); border-radius: var(--radius-sm); padding: 1.15rem; background: linear-gradient(120deg, rgba(103,232,249,.075), rgba(129,140,248,.04)); }
.notice { border: 1px solid rgba(250,204,21,.24); border-left: 3px solid var(--yellow); border-radius: var(--radius-sm); padding: 1.05rem 1.15rem; background: rgba(250,204,21,.055); }
code { padding: .15rem .38rem; border: 1px solid rgba(126,156,198,.18); border-radius: 6px; color: #ddfaff; background: rgba(2,6,13,.66); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table { width: 100%; min-width: 650px; border-collapse: collapse; background: rgba(10,16,30,.70); }
th, td { padding: .92rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
th { color: #7f91a7; background: rgba(14,23,40,.9); font: 750 .65rem var(--mono); letter-spacing: .09em; text-transform: uppercase; }
td { color: #ccd8e5; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(103,232,249,.025); }
.list-clean { padding: 0; margin: 0; list-style: none; }
.list-clean li { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.list-clean li:last-child { border-bottom: 0; }
.formatted-list li { margin-bottom: .65rem; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem; background: linear-gradient(140deg, rgba(18,29,50,.74), rgba(9,15,28,.76)); box-shadow: var(--shadow-sm); }
.stat strong { display: block; color: var(--text); font: 760 1.24rem var(--mono); }
.kpi-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.kpi { min-height: 126px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(18,29,50,.76), rgba(9,15,28,.76)); }
.kpi::before { display: block; }
.kpi .value { font: 780 1.34rem var(--mono); letter-spacing: -.03em; }
.kpi .label { margin-top: .36rem; color: var(--muted); font-size: .83rem; }
.contact-box { display: flex; flex-direction: column; gap: .58rem; }
.contact-box a { font-family: var(--mono); font-size: .87rem; font-weight: 700; word-break: break-word; }
.cta-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem;
  border: 1px solid rgba(103,232,249,.22); border-radius: 22px;
  background: linear-gradient(120deg, rgba(103,232,249,.10), rgba(129,140,248,.07) 50%, rgba(13,20,36,.88));
  box-shadow: var(--shadow-sm), inset 0 1px rgba(255,255,255,.05);
}

/* Network data panels */
.network-summary { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr); gap: 1.15rem; }
.spec-list { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10,16,30,.72); box-shadow: var(--shadow-sm); }
.spec-row { display: grid; grid-template-columns: 180px 1fr; min-height: 51px; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt, .spec-row dd { margin: 0; padding: .82rem .95rem; }
.spec-row dt { color: var(--faint); border-right: 1px solid var(--line); font: .67rem var(--mono); text-transform: uppercase; }
.spec-row dd { color: #dce6f1; font: .79rem var(--mono); word-break: break-word; }
.resource-list { display: grid; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.resource-list a { display: grid; grid-template-columns: 105px 1fr auto; gap: 1rem; align-items: center; padding: .94rem 1rem; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; background: rgba(10,16,30,.72); transition: background .18s, padding-left .18s; }
.resource-list a:last-child { border-bottom: 0; }
.resource-list a:hover { background: rgba(22,36,60,.82); padding-left: 1.15rem; }
.resource-list code { color: var(--cyan); background: transparent; border: 0; padding: 0; }
.resource-list span { color: var(--muted); font-size: .84rem; }
.resource-list b { color: var(--faint); font: .68rem var(--mono); }

/* Old console (kept for compatibility on any page) */
.route-console { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(6,11,20,.88); box-shadow: var(--shadow); }
.console-head { display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.78rem 1rem;border-bottom:1px solid var(--line);background:rgba(15,24,42,.82);color:var(--muted);font:700 .66rem var(--mono);letter-spacing:.09em;text-transform:uppercase; }
.console-lights { display:flex;gap:.35rem; }.console-lights i{width:7px;height:7px;border-radius:50%;background:var(--line-strong)}.console-lights i:first-child{background:var(--green)}
.console-body{padding:1.3rem}.console-command{margin:0 0 1rem;color:var(--faint);font:.77rem/1.75 var(--mono)}.console-command .prompt{color:var(--green)}
.route-record{display:grid;grid-template-columns:115px 1fr;gap:.35rem 1rem;margin:0}.route-record dt{color:var(--faint);font:.73rem/1.65 var(--mono)}.route-record dd{margin:0;color:#dceaf6;font:.77rem/1.65 var(--mono);word-break:break-word}.route-record .accent{color:var(--cyan)}
.console-footer{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--line)}.console-tag{color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:.28rem .5rem;font:.64rem var(--mono);text-transform:uppercase}

/* Footer */
.site-footer { margin-top: 5rem; border-top: 1px solid var(--line); background: rgba(3,6,13,.78); }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3,1fr); gap: 2.5rem; padding: 3.7rem 0 3rem; }
.footer-grid h3 { color: #7d8ea5; font: 750 .64rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a { display: block; color: #91a1b5; padding: .25rem 0; text-decoration: none; font-size: .84rem; }
.footer-grid a:hover { color: var(--cyan); }
.footer-identity { max-width: 350px; }
.footer-asn { margin: 1.15rem 0 .45rem; color: var(--cyan); font: 820 1.04rem var(--mono); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; border-top: 1px solid var(--line); color: #637389; font: .64rem var(--mono); text-transform: uppercase; }

/* Progressive reveal */
.reveal-ready { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal-ready.is-visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .hero-grid, .content-layout, .network-summary { grid-template-columns: 1fr; }
  .hero-grid { gap: 3rem; }
  .topology-card { max-width: 720px; }
  .data-strip-grid { grid-template-columns: repeat(2,1fr); }
  .data-cell:nth-child(2) { border-right: 0; }
  .data-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .sidebar { position: static; }
  .grid.three, .grid.four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 1.5rem), var(--max)); }
  .network-bar-inner .optional { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 109px; left: .75rem; right: .75rem; flex-direction: column; align-items: stretch;
    padding: .65rem; border: 1px solid var(--line-strong); border-radius: 15px;
    background: rgba(8,13,25,.97); box-shadow: var(--shadow); backdrop-filter: blur(20px);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .78rem .78rem; }
  .site-nav a[aria-current="page"]::after { display:none; }
  .site-nav .nav-cta { margin: .4rem 0 0; text-align: center; }
  .hero { padding-top: 4.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .grid.two, .grid.three, .grid.four, .data-strip-grid, .kpi-grid { grid-template-columns: 1fr; }
  .data-cell, .data-cell:first-child { border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .data-cell:last-child { border-bottom: 0; }
  .section { padding: 3.8rem 0; }
  .section-head, .cta-panel, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .section-head { gap: .9rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 118px 1fr; }
  .resource-list a { grid-template-columns: 78px 1fr; }
  .resource-list b { display: none; }
  .page-hero::after { display: none; }
  .topology-metrics { grid-template-columns: 1fr; }
  .topology-metrics > div { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .topology-metrics > div:last-child { border-bottom: 0; }
}

@media (max-width: 520px) {
  h1 { font-size: clamp(2.65rem, 16vw, 4.5rem); }
  .brand-copy small { display: none; }
  .hero-actions .button { flex: 1 1 auto; }
  .topology-head { align-items: flex-start; }
  .health-pill { font-size: .55rem; }
  .topology-canvas { margin-inline: -.3rem; }
  .data-cell { min-height: 94px; }
}

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