/* ============================================================
   SPINBOSS PROTECT — Cryptographic Cartography Design System
   Style: Swiss editorial precision + NOC/SOC telemetry
   Palette: midnight navy base, single teal accent for verified states
   Type: Geist (display) + Inter Tight (body) + JetBrains Mono (telemetry)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Base surfaces */
  --bg-0: #070b14;
  --bg-1: #0a0f1c;
  --bg-2: #0f1626;
  --bg-3: #131c30;

  /* Borders / rules */
  --rule: #1e2a44;
  --rule-strong: #2a3a5c;

  /* Foreground */
  --fg-0: #f1f5fb;
  --fg-1: #e6edf7;
  --fg-2: #b6c1d6;
  --fg-3: #8895b0;
  --fg-4: #5a6680;

  /* Signature accent (verified states only) */
  --teal: #22d3b6;
  --teal-dim: #22d3b633;
  --teal-glow: 0 0 0 1px rgba(34, 211, 182, 0.35), 0 0 24px rgba(34, 211, 182, 0.18);

  /* Secondary status */
  --amber: #f5b461;
  --rose: #f47174;

  /* Type */
  --ff-display: "Geist", "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  --maxw: 1280px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-1);
  background: var(--bg-1);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

/* ---------- Body backdrop: subtle hairline grid ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(30, 42, 68, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 42, 68, 0.18) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.65), transparent 70%);
  opacity: 0.45;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
@media (min-width: 1024px) { .wrap { padding: 0 40px; } }

.row { display: grid; gap: var(--s-7); }
.row.cols-2 { grid-template-columns: 1fr; }
.row.cols-3 { grid-template-columns: 1fr; }
.row.cols-4 { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.row.split-7-5 { grid-template-columns: 1fr; }

@media (min-width: 880px) {
  .row.cols-2 { grid-template-columns: 1fr 1fr; }
  .row.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .row.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .row.split-7-5 { grid-template-columns: 7fr 5fr; }
  .row.split-5-7 { grid-template-columns: 5fr 7fr; }
}

.section { padding: var(--s-9) 0; position: relative; }
.section--tight { padding: var(--s-7) 0; }
.section--hero { padding: var(--s-8) 0 var(--s-9); }

.section-divider {
  border-top: 1px solid var(--rule);
}

/* Section codes and kickers */
.kicker {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.section-code {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.eyebrow-rule {
  height: 1px;
  background: var(--rule);
  margin: var(--s-3) 0 var(--s-5);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; color: var(--fg-0); margin: 0; }
h1 { font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -0.015em; }
h4 { font-size: 17px; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s-4); color: var(--fg-2); }
.lede { font-size: 18px; line-height: 1.55; color: var(--fg-2); max-width: 64ch; }
.muted { color: var(--fg-3); }
.mono { font-family: var(--ff-mono); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 28, 0.78);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: var(--s-5);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--teal);
  color: var(--teal);
  background: rgba(34, 211, 182, 0.06);
  clip-path: polygon(30% 0,70% 0,100% 30%,100% 70%,70% 100%,30% 100%,0 70%,0 30%);
}
.brand-mark svg { width: 14px; height: 14px; }
.brand-name {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--fg-0);
}
.brand-name b { color: var(--fg-0); }
.brand-name span { color: var(--fg-3); font-weight: 500; }
.brand-tag {
  display: none;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding-left: 12px;
  border-left: 1px solid var(--rule);
  margin-left: 4px;
}
@media (min-width: 1100px) { .brand-tag { display: inline-block; } }

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  position: relative;
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--fg-2);
  border-radius: 4px;
  transition: color 200ms ease, background 200ms ease;
}
.nav-links a:hover { color: var(--fg-0); background: rgba(255,255,255,0.025); }
.nav-links a[aria-current="page"] { color: var(--fg-0); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 1px;
  background: var(--teal);
}
@media (min-width: 980px) { .nav-links { display: flex; } }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-0);
  border: 1px solid var(--rule);
  padding: 9px 14px;
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease;
}
.nav-cta:hover { border-color: var(--teal); color: var(--teal); }
.nav-cta .dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 8px var(--teal); animation: pulse 2.2s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.92); }
}

.nav-toggle {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--fg-1);
}
@media (min-width: 980px) { .nav-toggle { display: none; } }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--rule);
  background: var(--bg-1);
  padding: var(--s-4) 0;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 24px;
  color: var(--fg-2);
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a[aria-current="page"] { color: var(--teal); }

/* Top status strip under header */
.status-strip {
  border-bottom: 1px solid var(--rule);
  background: var(--bg-0);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-3);
}
.status-strip .strip-inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  height: 32px;
  overflow: hidden;
  white-space: nowrap;
}
.status-strip .item { display: inline-flex; align-items: center; gap: 8px; }
.status-strip .item .dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 6px var(--teal); }
.status-strip .item.warn .dot { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.status-strip .sep { width: 1px; height: 12px; background: var(--rule-strong); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--s-9) 0 var(--s-10);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-topology.jpg");
  background-size: cover;
  background-position: right center;
  opacity: 0.85;
  mask-image: linear-gradient(to bottom, black 60%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent);
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg-1) 0%, rgba(10,15,28,0.85) 40%, rgba(10,15,28,0.2) 100%);
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { max-width: 17ch; margin-top: var(--s-5); }
.hero .lede { margin-top: var(--s-5); max-width: 58ch; }
.hero .cta-row { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--rule);
  color: var(--fg-0);
  background: rgba(15, 22, 38, 0.7);
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease, transform 200ms ease;
}
.btn:hover { border-color: var(--teal); color: var(--teal); }
.btn.primary { border-color: var(--teal); color: var(--bg-0); background: var(--teal); }
.btn.primary:hover { background: #1bbfa3; border-color: #1bbfa3; color: var(--bg-0); }
.btn .arrow { transition: transform 200ms ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Hero metric strip */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  margin-top: var(--s-7);
  background: rgba(7, 11, 20, 0.55);
  position: relative;
  z-index: 1;
}
@media (min-width: 880px) { .metric-strip { grid-template-columns: repeat(4, 1fr); } }
.metric {
  padding: 20px 22px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.metric:nth-child(2n) { border-right: 0; }
@media (min-width: 880px) {
  .metric { border-bottom: 0; }
  .metric:nth-child(2n) { border-right: 1px solid var(--rule); }
  .metric:last-child { border-right: 0; }
}
.metric .label { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--fg-3); text-transform: uppercase; }
.metric .val { font-family: var(--ff-display); font-size: 32px; font-weight: 600; color: var(--fg-0); margin-top: 8px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.metric .sub { font-family: var(--ff-mono); font-size: 11px; color: var(--teal); margin-top: 4px; }
.metric .sub.muted { color: var(--fg-3); }

/* ---------- Cards ---------- */
.card {
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(15, 22, 38, 0.7), rgba(10, 15, 28, 0.7));
  padding: 28px 26px;
  position: relative;
  transition: border-color 200ms ease, transform 200ms ease;
}
.card:hover { border-color: var(--rule-strong); }
.card .num-tag {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.16em;
}
.card h3 { margin: 14px 0 10px; }
.card p { font-size: 14.5px; color: var(--fg-2); margin-bottom: 0; }
.card .meta {
  margin-top: var(--s-5);
  display: flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal);
}
.card .meta::before { content: ""; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 6px var(--teal); }

.card.bracket::before, .card.bracket::after {
  content: ""; position: absolute; width: 12px; height: 12px;
  border-color: var(--teal);
}
.card.bracket::before { top: -1px; left: -1px; border-top: 1px solid var(--teal); border-left: 1px solid var(--teal); }
.card.bracket::after { bottom: -1px; right: -1px; border-bottom: 1px solid var(--teal); border-right: 1px solid var(--teal); }

/* List rows */
.list-rows { border: 1px solid var(--rule); }
.list-rows .row-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: var(--s-4);
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--rule);
}
.list-rows .row-item:last-child { border-bottom: 0; }
.list-rows .row-item .idx { font-family: var(--ff-mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.12em; }
.list-rows .row-item h4 { font-size: 15px; color: var(--fg-0); margin-bottom: 4px; }
.list-rows .row-item p { font-size: 13.5px; color: var(--fg-3); margin: 0; }
.list-rows .row-item .status { font-family: var(--ff-mono); font-size: 11px; color: var(--teal); letter-spacing: 0.12em; }

/* Tag pills */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-2);
  padding: 6px 10px;
  border: 1px solid var(--rule);
}
.pill.verified { color: var(--teal); border-color: rgba(34,211,182,0.35); }
.pill.warn { color: var(--amber); border-color: rgba(245,180,97,0.35); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--bg-0);
  margin-top: var(--s-9);
  padding: var(--s-8) 0 var(--s-6);
  font-size: 14px;
  color: var(--fg-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
}
@media (min-width: 880px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-grid h5 {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-2);
  text-transform: uppercase;
  margin: 0 0 var(--s-4);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { color: var(--fg-3); transition: color 200ms ease; }
.footer-grid ul a:hover { color: var(--fg-0); }
.footer-brand p { color: var(--fg-3); font-size: 13.5px; max-width: 38ch; }
.footer-meta {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3);
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--fg-4);
  letter-spacing: 0.1em;
}

/* ---------- Verification UI ---------- */
.verify-panel {
  border: 1px solid var(--rule);
  background: var(--bg-2);
  padding: 28px;
}
.verify-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: var(--s-4);
}
.verify-input input {
  font-family: var(--ff-mono);
  font-size: 14px;
  padding: 14px 16px;
  background: var(--bg-0);
  border: 1px solid var(--rule);
  color: var(--fg-0);
  outline: none;
  transition: border-color 200ms ease;
}
.verify-input input:focus { border-color: var(--teal); }
.verify-result {
  margin-top: var(--s-5);
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-5);
  display: none;
  font-family: var(--ff-mono);
  font-size: 12.5px;
  color: var(--fg-2);
}
.verify-result.show { display: block; animation: fadeIn 400ms ease both; }
.verify-result .ok { color: var(--teal); }
.verify-result .row-r { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed rgba(30,42,68,0.6); }
.verify-result .row-r:last-child { border-bottom: 0; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; border: 1px solid var(--rule); font-size: 14px; }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--rule); }
.table th { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); background: var(--bg-0); }
.table td { color: var(--fg-2); }
.table td.mono { font-family: var(--ff-mono); font-size: 13px; color: var(--fg-1); }
.table tr:last-child td { border-bottom: 0; }

/* ---------- Timeline ---------- */
.timeline {
  border-left: 1px solid var(--rule);
  padding-left: var(--s-6);
}
.timeline .t-item { position: relative; padding-bottom: var(--s-7); }
.timeline .t-item:last-child { padding-bottom: 0; }
.timeline .t-item::before {
  content: ""; position: absolute; left: -36px; top: 6px;
  width: 9px; height: 9px;
  border: 1px solid var(--teal);
  background: var(--bg-1);
}
.timeline .t-item .yr { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--teal); }
.timeline .t-item h4 { margin: 6px 0 6px; }
.timeline .t-item p { font-size: 14px; color: var(--fg-2); margin: 0; }

/* ---------- Process flow steps ---------- */
.steps {
  border: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .steps.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.steps .step { padding: 24px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.steps .step:last-child { border-right: 0; border-bottom: 0; }
.steps .step .step-num { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--teal); }
.steps .step h4 { margin: 10px 0; }
.steps .step p { font-size: 13.5px; color: var(--fg-3); margin: 0; }

/* ---------- Page header (non-home) ---------- */
.page-head {
  padding: var(--s-9) 0 var(--s-7);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(ellipse at 80% 10%, rgba(34,211,182,0.08), transparent 60%),
    linear-gradient(to bottom, var(--bg-0), var(--bg-1));
}
.page-head .crumbs {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.page-head .crumbs a { color: var(--fg-3); }
.page-head .crumbs a:hover { color: var(--teal); }
.page-head h1 { font-size: clamp(36px, 5vw, 64px); max-width: 22ch; }
.page-head .lede { margin-top: var(--s-4); }

/* ---------- Aside index (left rail) ---------- */
.with-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
}
@media (min-width: 1024px) {
  .with-rail { grid-template-columns: 200px 1fr; gap: var(--s-9); }
}
.rail {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.rail ol { list-style: none; padding: 0; margin: 0; counter-reset: rail; }
.rail ol li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  counter-increment: rail;
}
.rail ol li::before {
  content: counter(rail, decimal-leading-zero) " / ";
  color: var(--fg-4);
}
.rail ol li a { color: var(--fg-2); }
.rail ol li a:hover { color: var(--teal); }

/* ---------- Sparkline ---------- */
.spark {
  display: inline-block;
  height: 22px;
  width: 90px;
  vertical-align: middle;
}
.spark path { fill: none; stroke: var(--teal); stroke-width: 1.5; }

/* ---------- Animations / scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Big numeric callouts ---------- */
.big-num {
  font-family: var(--ff-display);
  font-size: clamp(60px, 8vw, 120px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--fg-0);
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
.big-num .unit { font-size: 0.35em; color: var(--fg-3); margin-left: 6px; font-weight: 500; }

/* ---------- Misc ---------- */
.hex-id {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border: 1px solid rgba(34,211,182,0.25);
  background: rgba(34,211,182,0.04);
  display: inline-block;
}

.notice {
  border: 1px solid var(--rule);
  border-left: 2px solid var(--teal);
  padding: 18px 22px;
  background: rgba(34,211,182,0.04);
  font-size: 14.5px;
  color: var(--fg-2);
}
.notice strong { color: var(--fg-0); }
.notice.warn { border-left-color: var(--amber); background: rgba(245,180,97,0.04); }

/* Search results 404 */
.fourofour {
  padding: var(--s-10) 0;
  text-align: left;
}
.fourofour .code {
  font-family: var(--ff-mono);
  font-size: clamp(80px, 14vw, 220px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--teal);
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.fourofour h1 { margin-top: var(--s-5); }

/* Print friendliness */
@media print {
  .site-header, .site-footer, .status-strip { display: none; }
  body { background: white; color: black; }
}

/* Anchor offset for sticky header */
:target { scroll-margin-top: 96px; }

/* Code/inline */
code {
  font-family: var(--ff-mono);
  font-size: 0.92em;
  padding: 1px 6px;
  border: 1px solid var(--rule);
  background: var(--bg-0);
  color: var(--fg-1);
}

/* Contact cards */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 880px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card { border: 1px solid var(--rule); padding: 22px 24px; background: rgba(15,22,38,0.4); }
.contact-card .role { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }
.contact-card .email { font-family: var(--ff-mono); font-size: 16px; color: var(--fg-0); margin-top: 12px; display: block; }
.contact-card p { font-size: 13.5px; color: var(--fg-3); margin: 10px 0 0; }
.contact-card .sla { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--rule); display: flex; gap: 16px; font-family: var(--ff-mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.08em; text-transform: uppercase; }

/* Doc cards */
.doc-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media (min-width: 880px) { .doc-grid { grid-template-columns: repeat(2, 1fr); } }
.doc-cat { border: 1px solid var(--rule); padding: 22px 24px; }
.doc-cat h4 { font-size: 16px; margin: 0 0 6px; }
.doc-cat p { font-size: 13.5px; color: var(--fg-3); margin: 0 0 14px; }
.doc-cat ul { list-style: none; padding: 0; margin: 0; }
.doc-cat ul li { padding: 8px 0; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; }
.doc-cat ul li:first-child { border-top: 1px dashed var(--rule); }
.doc-cat ul li a { color: var(--fg-2); }
.doc-cat ul li a:hover { color: var(--teal); }
.doc-cat ul li .ref { font-family: var(--ff-mono); font-size: 10.5px; color: var(--fg-4); letter-spacing: 0.12em; }

/* Anchor links inline */
.inline-link { color: var(--teal); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.inline-link:hover { border-bottom-color: var(--teal); }

/* Service detail blocks */
.service-block {
  border: 1px solid var(--rule);
  padding: 30px 32px;
  margin-bottom: var(--s-5);
}
.service-block header {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-bottom: var(--s-4); border-bottom: 1px solid var(--rule); margin-bottom: var(--s-5);
}
.service-block header h3 { font-size: 22px; }
.service-block header .section-code { color: var(--teal); }
.service-block .grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 880px) { .service-block .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.service-block .block-label { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 8px; }
.service-block p { font-size: 14px; color: var(--fg-2); margin: 0; }

/* Status indicator bars */
.uptime-bar {
  display: flex; gap: 2px; margin: 8px 0;
}
.uptime-bar span {
  flex: 1; height: 22px; background: var(--teal); opacity: 0.85;
}
.uptime-bar span.warn { background: var(--amber); opacity: 0.85; }
.uptime-bar span.down { background: var(--rose); opacity: 0.85; }

/* Tabular small */
.tab-small { font-family: var(--ff-mono); font-size: 12px; color: var(--fg-3); letter-spacing: 0.05em; }

/* Inline status dot */
.dotline { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.dotline::before { content: ""; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 8px var(--teal); }
.dotline.warn { color: var(--amber); }
.dotline.warn::before { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
