:root{color-scheme:dark;
  /* Same tokens as the instrument pages. These pages predated that design pass and were still on the old
     blue theme (#080b10 ground, #5ad1ff links, #8fd4ff chips), so a facility page looked like a different
     product from the metric page that linked to it. */
  --bg:#09090b; --panel:#18181b; --panel2:#ffffff0d; --border:#ffffff1a;
  --fg:#ffffff; --muted:rgba(255,255,255,.4); --dim:rgba(255,255,255,.55); --accent:#34d399;
  --mono:ui-monospace,SFMono-Regular,Menlo,monospace}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--fg);font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}
/* Full width, like the app's own pages (Ashton, 2026-11-05) — was a centred 1180px column. */
.wrap{max-width:none;margin:0 auto;padding:28px clamp(16px,3vw,40px) 64px}
header.top{border-bottom:1px solid var(--border);padding-bottom:14px;margin-bottom:26px;display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
header.top .brand{font-weight:600;color:var(--fg);letter-spacing:.45px}
header.top .brand a{color:var(--accent);text-decoration:none;display:inline-flex;align-items:center;gap:6px}
header.top .brand a:hover{text-decoration:underline}
header.top .brand a .arw{font-size:14px;line-height:1}
h1{font-size:26px;line-height:1.25;margin:0 0 6px;color:var(--fg);letter-spacing:-.01em}
.sub{color:var(--muted);margin:0 0 22px;font-size:14px}
h2{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);margin:30px 0 12px;font-weight:600}
/* The same full-bleed hairline grid the instrument pages use for their stat strip (.instr-sum/.isum):
   1px gaps with the parent showing through, cells painted in --bg. Rounded bordered boxes here made a
   facility page read as a different product from the metric page linking to it. */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1px;background:rgba(255,255,255,.1);
  border:1px solid var(--border);border-radius:8px;overflow:hidden}
.card{background:var(--bg);padding:16px 20px}
.card .k{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:400}
.card .v{font-size:14px;font-weight:500;color:rgba(255,255,255,.9);margin-top:4px;font-family:var(--mono);font-variant-numeric:tabular-nums}
table{width:100%;border-collapse:collapse;font-size:12px}
td,th{text-align:left;padding:10px 16px 10px 0;border-bottom:1px solid rgba(255,255,255,.05);vertical-align:top}
th{color:var(--dim);font-weight:600;width:150px;font-size:10px;text-transform:uppercase;letter-spacing:.06em}
td{font-variant-numeric:tabular-nums}
.nets{display:flex;flex-wrap:wrap;gap:6px}
.net{background:var(--panel2);border:1px solid var(--border);border-radius:5px;padding:3px 8px;font-size:11px;color:var(--dim)}
/* Compute providers are the one thing worth picking out of 513 ASNs, so they carry the accent. */
.net.cloud{border-color:var(--accent);color:var(--accent)}
/* Server table — same shape as the instrument pages' inventory table. */
.tbl-wrap{border:1px solid var(--border);border-radius:8px;overflow:auto;max-height:60vh}
table.srv{width:100%;border-collapse:collapse;font-size:12px}
table.srv th{position:sticky;top:0;z-index:1;background:var(--panel);box-shadow:0 1px 0 rgba(255,255,255,.08);
  text-align:left;padding:10px 16px;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--dim);width:auto}
table.srv td{padding:10px 16px;border-bottom:1px solid rgba(255,255,255,.05);white-space:nowrap}
table.srv tbody tr:hover{background:rgba(255,255,255,.05)}
table.srv .r{text-align:right;font-family:var(--mono);font-variant-numeric:tabular-nums}
table.srv .mono{font-family:var(--mono);color:rgba(255,255,255,.8)}
table.srv .price{font-weight:600}
.note{background:var(--panel2);border-left:2px solid var(--accent);padding:11px 14px;margin:14px 0;font-size:11px;color:var(--muted);border-radius:0 6px 6px 0}
footer{margin-top:44px;padding-top:16px;border-top:1px solid var(--border);color:var(--muted);font-size:11px}
.muted{color:var(--muted)}
/* --- v2 additions: the 3D site hero. Everything above this line is v1's approved facility
   stylesheet, copied verbatim, so a v2 facility page is the same product as a v1 one. --- */
.site3d{position:relative;height:min(46vh,380px);margin:0 0 26px;border:1px solid var(--border);
  border-radius:8px;overflow:hidden;background:#000}
.site3d canvas{display:block}
.site3d .cesium-viewer-bottom,.site3d .cesium-widget-credits{display:none!important}
.site3d .s3-cap{position:absolute;left:10px;bottom:9px;z-index:5;font-size:11px;color:rgba(255,255,255,.75);
  background:rgba(9,9,11,.72);border:1px solid var(--border);border-radius:6px;padding:5px 9px;pointer-events:none;
  max-width:calc(100% - 68px);box-sizing:border-box}   /* stops short of the 28px button column + margins */
.site3d .s3-hint{position:absolute;right:10px;top:9px;z-index:5;font-size:11px;color:rgba(255,255,255,.65);
  background:rgba(9,9,11,.72);border:1px solid var(--border);border-radius:6px;padding:5px 9px;pointer-events:none}
/* Back and Fly-by share one top-left group instead of each claiming a corner — Fly-by used to sit at
   right:10px;top:9px, the EXACT spot s3-hint ("N more datacenters nearby") already occupies, so the two
   overlapped the moment both had content. Grouping them left also reads better: both are navigation
   (leave this view / tour it), s3-hint is informational, and informational stays alone on its own side. */
.site3d .s3-topleft{position:absolute;left:10px;top:9px;z-index:6;display:flex;gap:8px}
.site3d .s3-back{font-size:12px;color:rgba(255,255,255,.85);background:rgba(9,9,11,.72);
  border:1px solid var(--border);border-radius:6px;padding:5px 11px;text-decoration:none;display:none}
.site3d .s3-back:hover{border-color:var(--accent);color:#fff;text-decoration:none}
/* Accent border BY DEFAULT, not only on hover — a control that looks identical to the inert s3-hint
   pill beside it reads as inert too. */
.site3d .s3-fly{font-size:12px;color:rgba(255,255,255,.92);background:rgba(9,9,11,.72);
  border:1px solid var(--accent);border-radius:6px;padding:5px 11px;cursor:pointer;font-family:inherit;display:none}
.site3d .s3-fly:hover{background:rgba(52,211,153,.12);color:#fff}
.site3d .s3-fly[disabled]{opacity:.5;cursor:default;border-color:var(--border)}
.site3d .s3-ctl{position:absolute;left:10px;bottom:10px;z-index:6;font-size:11px;
  color:rgba(255,255,255,.72);background:rgba(9,9,11,.66);border:1px solid var(--border);
  border-radius:6px;padding:5px 10px;pointer-events:none;opacity:0;transition:opacity .45s ease;
  max-width:calc(100% - 68px);box-sizing:border-box}
.site3d .s3-ctl.on{opacity:1}
.site3d .s3-ctl b{color:rgba(255,255,255,.92);font-weight:600}
.site3d .s3-help{position:absolute;right:10px;bottom:10px;z-index:6;display:none;width:24px;height:24px;
  border-radius:50%;font-size:12px;line-height:1;cursor:pointer;font-family:inherit;
  color:rgba(255,255,255,.7);background:rgba(9,9,11,.66);border:1px solid var(--border)}
.site3d .s3-help:hover{border-color:var(--accent);color:#fff}
/* ONE COLUMN, ONE SHAPE. dc-page.js moves help and fullscreen into .s3-zoom at runtime, so the corner is
   +, −, fullscreen, help: four 28px rounded squares on one edge. Three shapes at three offsets (28px
   squares, a 24px circle, a second circle beside it) is what read as misaligned. Done in JS rather than
   in prerender-dc.mjs on purpose: the /dc/ HTML is regenerated on the box by a timer and cached an hour,
   while this file ships with the deploy, so any structure the CSS depends on must not live in the HTML.
   The absolute .s3-help rule above is the fallback if the script never runs. */
.site3d .s3-zoom .s3-help{position:static;border-radius:6px;color:rgba(255,255,255,.85);background:rgba(9,9,11,.72)}
.site3d .s3-zoom .s3-full{display:none}
.site3d .s3-zoom .s3-full.on{border-color:var(--accent);color:#fff}
/* EXPANDED MAP = an in-page overlay, the same pattern as the app's chart maximize (.chartmaxo), not the
   browser Fullscreen API. That API does not exist for non-video elements on iPhone, and where it does,
   the only way out on a phone was a gesture nobody knew — "can't get out of full screen" (Ashton,
   2026-11-05). This always has a visible ✕, and Escape closes it. The overlay keeps every map control. */
.site3d.s3-max{position:fixed;inset:0;z-index:1000;height:auto;margin:0;border:0;border-radius:0}
body.s3-max-open{overflow:hidden}
.site3d .s3-close{display:none;position:absolute;right:10px;top:8px;z-index:7;width:34px;height:34px;
  border-radius:8px;font-size:18px;line-height:1;cursor:pointer;font-family:inherit;padding:0;
  color:rgba(255,255,255,.85);background:rgba(9,9,11,.82);border:1px solid rgba(255,255,255,.18)}
.site3d .s3-close:hover{color:#fff;background:rgba(255,255,255,.1)}
.site3d.s3-max .s3-close{display:block}
.site3d.s3-max .s3-hint{right:54px}   /* clear of the ✕ */
/* TOUCH: the inline map must not trap the page. Cesium sets touch-action:none on its widget and canvas
   (widgets.css), so a one-finger swipe that starts on the map never scrolls — "mobile gets stuck with
   3d view". pan-y hands vertical swipes to the page; horizontal drag still orbits and pinch still zooms
   (the browser may not page-zoom under pan-y, so the pinch reaches the map). Expanded, the map takes
   every gesture. Touch-first devices only: a mouse doesn't use touch-action. */
@media (pointer:coarse){
  .site3d:not(.s3-max) .cesium-widget,
  .site3d:not(.s3-max) .cesium-widget canvas{touch-action:pan-y}
}
.site3d .s3-zoom{position:absolute;right:10px;bottom:10px;z-index:6;display:none;flex-direction:column;gap:4px}
.site3d .s3-zoom button{width:28px;height:28px;border-radius:6px;font-size:15px;line-height:1;cursor:pointer;
  font-family:inherit;color:rgba(255,255,255,.85);background:rgba(9,9,11,.72);border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;padding:0}
.site3d .s3-zoom button:hover{border-color:var(--accent);color:#fff}
.site3d .s3-zoom button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.site3d .s3-help svg{display:block}
.site3d .s3-modal{position:absolute;inset:0;z-index:12;display:flex;align-items:center;justify-content:center;
  background:rgba(9,9,11,.72);backdrop-filter:blur(3px)}
.site3d .s3-modal[hidden]{display:none}
/* FITS INSIDE THE MAP, NO SCROLL. The panel lives in the 380px hero, and a 560px cap wrapped its four
   groups into 3 + 1 rows, which ran past the hero's bottom edge and needed an inner scrollbar. Wider cap
   plus a wrapping row lets all four sit side by side on desktop; each group takes its natural width so
   "look straight down" never breaks mid-phrase. Narrow screens still wrap, and still scroll inside. */
.site3d .s3-modal-in{position:relative;max-width:min(94%,820px);max-height:calc(100% - 24px);overflow:auto;
  background:rgba(9,9,11,.97);border:1px solid var(--border);border-radius:12px;padding:14px 18px}
.site3d .s3-modal-in h3{margin:0 0 10px;font-size:13px;letter-spacing:.04em;text-transform:uppercase;
  color:rgba(255,255,255,.9)}
.site3d .s3-modal-in h4{margin:0 0 5px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--accent)}
.site3d .s3-modal-grid{display:flex;flex-wrap:wrap;gap:12px 28px}
.site3d .s3-modal-grid > div{flex:0 0 auto}
.site3d .s3-modal-in dl{margin:0;display:grid;grid-template-columns:auto auto;gap:2px 10px;font-size:12px}
.site3d .s3-modal-in dt{color:rgba(255,255,255,.92);font-weight:600;white-space:nowrap}
.site3d .s3-modal-in dd{margin:0;color:rgba(255,255,255,.6);white-space:nowrap}
.site3d .s3-modal-note{margin:10px 0 0;font-size:11px;color:rgba(255,255,255,.45);line-height:1.45}
@media (max-width:640px){
  .site3d .s3-modal-note{display:none}
  .site3d .s3-modal-in{padding:10px 12px}
  .site3d .s3-modal-in h3{margin:0 0 6px;font-size:12px}
  .site3d .s3-modal-in h4{margin:0 0 3px}
  .site3d .s3-modal-grid{gap:10px 16px}
  .site3d .s3-modal-in dl{font-size:11px;gap:1px 8px}
}
/* A phone needs the Touch group only. On an iPhone-height viewport the hero is ~305 px and all four
   groups (Mouse, Trackpad, Touch, Keyboard — template order) still scrolled; mouse and keyboard don't
   apply on a touch-only phone. Tablets (wider) keep every group, which fits. */
@media (max-width:640px) and (pointer:coarse){
  .site3d .s3-modal-grid > div:nth-child(1),
  .site3d .s3-modal-grid > div:nth-child(2),
  .site3d .s3-modal-grid > div:nth-child(4){display:none}
}
.site3d .s3-modal-x{position:absolute;right:10px;top:8px;width:26px;height:26px;border-radius:6px;
  font-size:16px;line-height:1;cursor:pointer;font-family:inherit;color:rgba(255,255,255,.7);
  background:transparent;border:1px solid var(--border)}
.site3d .s3-modal-x:hover{border-color:var(--accent);color:#fff}
.site3d .s3-tip{position:absolute;z-index:7;pointer-events:none;display:none;background:rgba(9,9,11,.95);
  border:1px solid rgba(255,255,255,.12);border-radius:8px;padding:6px 9px;font-size:12px;max-width:260px}
