/* Status public site theme — design tokens + relay-shaped vocabulary
   (.container/.section/.detail/.flip/.dvis/.cta-band/.features-grid/
   .plan), recolored to Status's brand: monitoring-green (#34d399 canonical).
   Icons are inline SVG only — no icon fonts, no image requests. */
:root {
  color-scheme: dark;
  --bg: #0b1020;
  --bg-soft: #0f1530;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-2: linear-gradient(160deg, rgba(35, 44, 72, 0.55), rgba(18, 24, 44, 0.55));
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e6eaf2;
  --muted: #9aa3bd;
  --muted-2: #8c95b1; /* ≥4.9:1 on every page background (was #6b7493, below AA) */
  /* Brand = monitoring-green, canonical across www + dashboard + cpanel. */
  --brand: #34d399;
  --brand-2: #6ee7b7;
  --brand-glow: rgba(52, 211, 153, 0.38);
  --brand-ink: #04140d; /* text color placed on top of a solid --brand fill */
  --accent: #38bdf8; /* secondary accent for "live" indicators */
  --radius: 18px;
  --maxw: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 620px at 50% -8%, #14224a 0%, rgba(20, 34, 74, 0) 60%),
    radial-gradient(900px 500px at 85% 8%, rgba(52, 211, 153, 0.08), rgba(52, 211, 153, 0) 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.section { padding: 96px 0; position: relative; }
.section.tight { padding: 56px 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin: 16px 0 0; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 15px; font-weight: 600; text-decoration: none;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease;
  white-space: nowrap;
}
.btn-primary {
  color: var(--brand-ink); background: linear-gradient(180deg, #4fe3a6, #2ec98a);
  box-shadow: 0 10px 30px -10px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.26); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.04); border-color: var(--border); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--border-strong); background: rgba(255, 255, 255, 0.07); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
/* Prelaunch: real disabled element (a span, never a link) shown in place of every
   trial / sign-up / login / dashboard CTA. Uniform for primary and ghost variants. */
.btn.is-disabled, .btn.is-disabled:hover {
  cursor: not-allowed; pointer-events: none; user-select: none; transform: none;
  color: var(--muted); background: rgba(255, 255, 255, 0.05); border-color: var(--border);
  box-shadow: none; opacity: 0.85;
}
.foot-soon { color: var(--muted-2); font-size: 14px; cursor: not-allowed; }
.soon-pill {
  display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border);
}
.plan .price.price-soon { margin: 14px 0 4px; }
.plan .price .amt-soon { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--brand-2); line-height: 1.5; }
/* Contact form: Turnstile slot + honeypot (off-screen, not display:none, so bots still fill it). */
.field-turnstile { min-height: 65px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-arrow { width: 16px; height: 16px; flex: 0 0 auto; transition: transform .14s ease; }
.btn:hover .btn-arrow { transform: translateX(2px); }

/* Nav */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(11, 16, 32, 0.62);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
header.nav.scrolled { border-bottom-color: var(--border); background: rgba(11, 16, 32, 0.86); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; color: var(--text); }
.brand .logo {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(160deg, var(--brand), #22c88f);
  display: grid; place-items: center; box-shadow: 0 6px 18px -6px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a.link { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 9px; transition: color .14s ease, background .14s ease; }
.nav-links a.link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links a.link.active { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-menu { display: flex; align-items: center; gap: 18px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Mobile nav toggle (hamburger). CSP-safe: no inline handlers — assets/site.js
   just toggles the "open" class on #nav-menu / #nav-toggle. Without JS the
   menu is shown inline instead (see the (scripting: none) rule at the end). */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04); color: var(--text); cursor: pointer; flex: 0 0 auto;
}
.nav-toggle:hover { border-color: var(--border-strong); }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-menu { display: none; }
.nav-toggle.open .icon-close { display: block; }

/* Hero */
.hero { padding: 84px 0 72px; text-align: center; position: relative; }
.hero h1 { font-size: clamp(36px, 6vw, 62px); font-weight: 900; max-width: 16ch; margin: 0 auto; }
.hero h1 .grad { background: linear-gradient(120deg, var(--brand-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); max-width: 60ch; margin: 22px auto 0; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero .trust { margin-top: 20px; color: var(--muted-2); font-size: 13.5px; }
.hero .trust strong { color: var(--muted); font-weight: 600; }

/* Page hero (interior pages) */
.page-hero { padding: 72px 0 24px; text-align: center; }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 900; }
.page-hero p.sub { font-size: 17px; color: var(--muted); max-width: 62ch; margin: 18px auto 0; }

/* Hero visual (mock panel — used by future pages, kept ready per §2.2) */
.hero-visual {
  margin: 56px auto 0; max-width: 940px; border-radius: 22px;
  border: 1px solid var(--border); background: var(--panel-2);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 18px; position: relative; overflow: hidden;
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 200px at 50% -20%, rgba(52, 211, 153, 0.16), transparent 70%);
  pointer-events: none;
}
.hv-bar { display: flex; align-items: center; gap: 7px; padding: 4px 6px 14px; }
.hv-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.hv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hv-tile {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 16px; text-align: left; min-height: 72px;
  display: flex; flex-direction: row; align-items: center; gap: 12px;
}
.hv-tile .ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(52, 211, 153, 0.16); color: var(--brand-2); }
.hv-tile .ic svg { width: 18px; height: 18px; }
.hv-tile .tbody { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hv-tile .lbl { font-size: 13px; font-weight: 600; }
.hv-tile .meta { font-size: 11.5px; color: var(--muted-2); }
.hv-tile.live .ic { background: rgba(56, 189, 248, 0.16); color: var(--accent); }
.hv-tile.down .ic { background: rgba(248, 113, 113, 0.16); color: #fca5a5; }
.hv-tile.down .meta { color: #fca5a5; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 var(--brand-glow); animation: pulse 1.8s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--brand-glow); } 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

/* Stats strip */
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 56px; padding: 8px 0 0; }
.stat { text-align: center; }
.stat .n { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.stat .l { font-size: 13px; color: var(--muted-2); }

/* ── Homepage network map (HOMEPAGE_MAP_PLAN.md) ───────────────────────────
   Inline SVG in plate carrée: x = lon + 170, y = 80 − lat, viewBox 0 0 360 138,
   so 1 user unit = 1° ≈ 3px at the 1120px container. Only transform + opacity
   animate. Drawn straight on the page background — no panel, the mask fade is
   the boundary, which is the one deliberate break from the card vocabulary
   every other visual on this site uses. */
:root {
  --map-land: rgba(255, 255, 255, 0.028);
  --map-coast: rgba(230, 234, 242, 0.30);
  --map-dot: var(--brand-2);
  --map-ring: var(--brand-2);
  --map-period: 3.2s;
}
.netmap { margin: 52px auto 0; max-width: var(--maxw); }
.netmap-scroll { overflow: hidden; }
.map-svg { display: block; width: 100%; height: auto; }
.map-land { fill: var(--map-land); stroke: var(--map-coast); stroke-width: 1.25; stroke-linejoin: round; stroke-linecap: round; }
.map-city .halo { opacity: .9; transform-box: fill-box; transform-origin: center; transition: transform .25s ease, opacity .25s ease; }
.map-city .ring {
  fill: none; stroke: var(--map-ring); stroke-width: .35; opacity: .8;
  transform-box: fill-box; transform-origin: center;
  animation: map-ping var(--map-period) cubic-bezier(.2, .6, .3, 1) infinite;
  animation-delay: calc(var(--d, 0s) - var(--map-period)); /* start mid-cycle: no dead second on load */
}
.map-city .dot { fill: var(--map-dot); stroke: var(--bg); stroke-width: .5; }
@keyframes map-ping {
  0%   { transform: scale(1);   opacity: .85; }
  65%  { transform: scale(3.6); opacity: 0; }
  100% { transform: scale(3.6); opacity: 0; }
}
/* List ↔ dot pairing (site.js adds .is-hot; without JS both are simply visible) */
.map-city.is-hot .halo { transform: scale(1.6); opacity: 1; }
.map-city.is-hot .dot { fill: #fff; }
.netmap-list li.is-hot { color: var(--brand-2); }

/* Caption: the locations list is the text of the map */
.netmap-caption { margin: 22px 0 0; }
.netmap-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 13.5px; }
.netmap-list li { display: inline-flex; align-items: center; gap: 7px; color: var(--text); font-weight: 600; }
.netmap-list small { font-size: 12.5px; font-weight: 500; color: var(--muted); } /* --muted, not --muted-2: 7.5:1 vs 4.1:1 on --bg */
.netmap-list .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18); }
.netmap-list .state { font-size: 12px; font-weight: 500; color: var(--muted); }
/* --muted (7.5:1), NOT --muted-2 (4.1:1 — fails AA at this size). The plan's §5
   listing used --muted-2 here, which contradicts its own §9 rule ("do not add
   another"); measured 4.10:1 on --bg. This sentence carries the coverage
   framing, so it is the last thing that should be hard to read. */
.netmap-note { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.netmap-note a { color: var(--brand-2); }
.netmap-note.netmap-graph { margin-top: 6px; }

/* Framing B: planned (no live probe yet) — hollow dot, no ring, no halo, and
   the word "planned" in the list. Never colour alone. */
.map-city.planned .dot { fill: var(--bg); stroke: var(--map-dot); stroke-width: .45; }
.map-city.planned .ring, .map-city.planned .halo { display: none; }
.netmap-list li.planned .pip { background: transparent; box-shadow: inset 0 0 0 1.5px var(--brand); }

/* Light tokens — INERT today. www is dark-only (layout.mustache:6, site.css:7);
   keyed on an attribute no template sets so it can't light the map alone on a
   dark page. Deliberately not prefers-color-scheme. Values from theme.ts:
   emerald-6 (#059669) is the dashboard's light primaryShade. */
:root[data-theme="light"] { --map-land: rgba(15, 21, 48, 0.05); --map-coast: rgba(15, 21, 48, 0.34); --map-dot: #059669; --map-ring: #059669; }
:root[data-theme="light"] #map-halo stop { stop-color: #10b981; }
:root[data-theme="light"] #map-halo stop:first-child { stop-opacity: .26; }
:root[data-theme="light"] .map-city .dot { stroke: #f6f7fb; }

@media (forced-colors: active) {
  .map-land { fill: Canvas; stroke: CanvasText; }
  .map-city .halo, .map-city .ring { display: none; }
  .map-city .dot { fill: Highlight; stroke: Canvas; }
  .netmap-list .pip { background: Highlight; box-shadow: none; }
}
@media (max-width: 760px) {
  .netmap { margin-top: 40px; }
  /* Phones: keep the dots legible by keeping the map ≥ 680px and letting it
     scroll sideways inside its own strip (body is overflow-x hidden). */
  .netmap-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .netmap-scroll::-webkit-scrollbar { display: none; }
  .map-svg { min-width: 680px; }
}
@media (prefers-reduced-motion: reduce) {
  /* Static target mark: dot + thin ring + halo. The global rule at the end of
     this file also stops the animation; this pins what the resting ring looks like. */
  .map-city .ring { animation: none; opacity: .55; }
  .map-city .halo { transition: none; }
}

/* Features grid — icon LEFT, copy beside it. */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
  position: relative; overflow: hidden;
  display: flex; flex-direction: row; align-items: flex-start; gap: 16px;
}
.feature:hover { transform: translateY(-3px); border-color: rgba(52, 211, 153, 0.45); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.7); }
.feature .ficon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(52, 211, 153, 0.22), rgba(56, 189, 248, 0.10));
  border: 1px solid rgba(52, 211, 153, 0.28); color: var(--brand-2);
}
.feature .ficon svg { width: 23px; height: 23px; }
.feature .fbody { min-width: 0; }
.feature h3 { font-size: 17px; font-weight: 700; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 8px 0 0; }

/* How it works — number LEFT, copy beside it (kept ready per §2.2). */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; position: relative;
  display: flex; flex-direction: row; align-items: flex-start; gap: 16px;
}
.step .num {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  font-weight: 800; font-size: 17px; color: var(--brand-ink);
  background: linear-gradient(160deg, var(--brand), #22c88f);
  box-shadow: 0 8px 22px -10px var(--brand-glow);
}
.step .sbody { min-width: 0; flex: 1; }
.step h3 { font-size: 17px; font-weight: 700; }
.step p { color: var(--muted); font-size: 14.5px; margin: 8px 0 0; }

/* Product/deep-dive page: alternating detail rows (kept ready for §2.2 /product). */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 44px 0; border-top: 1px solid var(--border); }
.detail:first-of-type { border-top: none; }
/* F43: these are h2 now (they were h3 under an h1 with no h2 in between —
   seven heading-level skips on one page). Styling unchanged. */
.detail .dcopy h2 { font-size: 24px; font-weight: 800; }
.detail .dcopy p { color: var(--muted); font-size: 15.5px; margin: 14px 0 0; }
.detail .dcopy ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.detail .dcopy ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text); }
.detail .dcopy ul li svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: var(--brand); }
.detail .dvis {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel-2);
  padding: 26px; min-height: 200px; display: flex; flex-direction: column; gap: 12px; justify-content: center;
}
.detail .dvis .row { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.detail .dvis .row .ic { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: rgba(52,211,153,0.16); color: var(--brand-2); }
.detail .dvis .row .ic svg { width: 17px; height: 17px; }
.detail .dvis .row .t { font-size: 13px; font-weight: 600; }
.detail .dvis .row .m { font-size: 11.5px; color: var(--muted-2); }
.detail .dvis .row .right { margin-left: auto; font-size: 11.5px; color: var(--muted-2); white-space: nowrap; }
/* Site review H2: grid/flex items default to min-width:auto, so one long
   unbreakable row label sized the single-column /product layout past the
   viewport at phone width (scrollWidth 429 at 390). */
.detail > *, .detail .dvis .row > span { min-width: 0; }
.detail .dvis .row .t, .detail .dvis .row .m { overflow-wrap: anywhere; }
.detail.flip .dvis { order: -1; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; position: relative;
  transition: transform .16s ease, border-color .16s ease;
}
.plan:hover { transform: translateY(-3px); }
.plan.featured {
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow: 0 30px 70px -34px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  background: linear-gradient(160deg, rgba(35, 70, 58, 0.55), rgba(18, 32, 27, 0.6));
}
.plan .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand-ink); background: linear-gradient(180deg, #4fe3a6, #2ec98a);
  padding: 5px 14px; border-radius: 999px; box-shadow: 0 8px 20px -8px var(--brand-glow); white-space: nowrap;
}
.plan .pname { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand-2); }
.plan .price { margin: 14px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan .price .amt { font-size: 44px; font-weight: 900; letter-spacing: -0.03em; }
/* The billing period must read unmistakably as yearly — not small muted text. */
.plan .price .per { color: var(--brand-2); font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.plan .ptag { color: var(--muted); font-size: 14px; min-height: 20px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.plan ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text); }
.plan ul li svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: var(--brand); }
.plan ul li.none { color: var(--muted-2); }
.plan ul li.none svg { color: var(--muted-2); }
.plan .plan-link { color: inherit; text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.plan .plan-link:hover { color: var(--brand-2); }
.plan .plan-foot { margin-top: auto; }
.plan .btn { width: 100%; }
/* Full-width "custom plan" card under the three plan columns. */
.custom-plan {
  margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 30px;
}
.custom-plan-copy { flex: 1 1 420px; }
.custom-plan h2 { font-size: 19px; font-weight: 800; }
.custom-plan p { color: var(--muted); font-size: 14.5px; margin: 8px 0 0; }
.custom-plan .btn { flex: 0 0 auto; }
.pricing-note { text-align: center; color: var(--muted-2); font-size: 13.5px; margin-top: 28px; }

/* Plan limits table + add-ons (site review M13 / L-J). */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 900px; margin: 0 auto; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); }
.table-scroll:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
/* Pass-2 F-17a: a scroll cue. site.js flags which edges have more content;
   the inset shadow sits on the scroll box itself, so it stays put while the
   table scrolls under it. No JS → no cue, the table still scrolls. */
.table-scroll.more-right { box-shadow: inset -22px 0 16px -16px rgba(52, 211, 153, 0.45); }
.table-scroll.more-left { box-shadow: inset 22px 0 16px -16px rgba(52, 211, 153, 0.45); }
.table-scroll.more-left.more-right { box-shadow: inset -22px 0 16px -16px rgba(52, 211, 153, 0.45), inset 22px 0 16px -16px rgba(52, 211, 153, 0.45); }
.scroll-hint { display: none; color: var(--muted-2); font-size: 12.5px; text-align: center; margin: 8px 0 0; }
.table-scroll.more-right + .scroll-hint, .table-scroll.more-left + .scroll-hint { display: block; }
.limits-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.limits-table th, .limits-table td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--border); }
.limits-table tbody tr:last-child th, .limits-table tbody tr:last-child td { border-bottom: none; }
.limits-table thead th { color: var(--muted-2); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.limits-table tbody th { color: var(--muted); font-weight: 500; }
.limits-table td { color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.addons { max-width: 900px; margin: 36px auto 0; }
.addons h3 { font-size: 18px; font-weight: 700; margin: 0; }
.addons p, .addons li { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.addons p { margin: 10px 0 0; }
.addons ul { margin: 10px 0 0; padding-left: 20px; }
.addons strong { color: var(--text); }

/* FAQ (kept ready for §2.2 /pricing FAQ) */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 15.5px; }
.faq details p { color: var(--muted); font-size: 14.5px; margin: 12px 0 0; }

/* F43: skip-link — visually hidden until it takes keyboard focus. */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--panel-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 0 0 10px 0;
  padding: 12px 18px; font-size: 14px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; outline: 2px solid var(--brand-2); outline-offset: 2px; }
main:focus { outline: none; }

/* Forms (contact) */
.form-card {
  max-width: 640px; margin: 0 auto; background: var(--panel-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label.f { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
input.f, textarea.f {
  width: 100%; font-family: inherit; font-size: 14.5px; color: var(--text);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 13px; transition: border-color .14s ease;
}
/* F43: `outline: none` used to remove the focus ring outright, leaving keyboard
   users with only a subtle border tint to locate the focused field. Keep the
   custom border treatment AND restore a real, visible focus indicator. */
input.f:focus, textarea.f:focus { border-color: rgba(52, 211, 153, 0.6); }
input.f:focus-visible, textarea.f:focus-visible {
  outline: 2px solid var(--brand-2); outline-offset: 2px;
}
textarea.f { resize: vertical; min-height: 140px; }
.form-note { color: var(--muted-2); font-size: 13px; margin-top: 14px; }
.alert { border-radius: 12px; padding: 13px 16px; font-size: 14.5px; margin-bottom: 18px; }
.alert.err { background: rgba(248, 113, 113, 0.10); border: 1px solid rgba(248, 113, 113, 0.35); color: #fca5a5; }
.alert.ok { background: rgba(52, 211, 153, 0.10); border: 1px solid rgba(52, 211, 153, 0.35); color: #6ee7b7; }
.contact-side { display: grid; gap: 14px; margin-top: 40px; }
.contact-side .row { display: flex; align-items: flex-start; gap: 12px; }
.contact-side .row .ic { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(52, 211, 153, 0.16); color: var(--brand-2); }
.contact-side .row .ic svg { width: 18px; height: 18px; }

/* Prose (legal pages) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 22px; font-weight: 800; margin: 40px 0 0; }
.prose p, .prose li { color: var(--muted); font-size: 15px; }
.prose p { margin: 14px 0 0; }
.prose ul { margin: 14px 0 0; padding-left: 22px; }
.prose .updated { color: var(--muted-2); font-size: 13px; }

/* Knowledgebase (§2.3) — search form, category index, article + sidebar. */
.kb-search-form { display: flex; gap: 10px; max-width: 560px; margin: 34px auto 0; }
.kb-search-form .f { flex: 1; }
.kb-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.kb-category {
  background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px;
}
.kb-category h2 { font-size: 18px; font-weight: 800; }
.kb-category h2 a { color: inherit; text-decoration: none; }
.kb-category h2 a:hover { color: var(--brand-2); }
.kb-category-page { max-width: 720px; }
.kb-crumb { margin: 0 0 10px; font-size: 14px; }
.kb-crumb a { color: var(--muted); text-decoration: none; }
.kb-crumb a:hover { color: var(--text); }
.kb-category .kb-blurb { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.kb-article-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.kb-article-list li { display: flex; flex-direction: column; gap: 2px; }
.kb-article-list a { color: var(--text); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.kb-article-list a:hover { color: var(--brand-2); }
.kb-article-list .kb-desc { color: var(--muted-2); font-size: 13px; }
.kb-article-list li.kb-empty { color: var(--muted-2); font-size: 13.5px; font-style: italic; }

.kb-results-summary { color: var(--muted); font-size: 15px; text-align: center; margin: 0 0 28px; }
.kb-results-summary a { color: var(--brand-2); }
.kb-search-results { list-style: none; padding: 0; margin: 0; max-width: 720px; margin: 0 auto; display: grid; gap: 16px; }
.kb-search-results li {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px;
}
.kb-search-results a { color: var(--text); text-decoration: none; font-size: 16px; font-weight: 700; }
.kb-search-results a:hover { color: var(--brand-2); }
.kb-search-results .kb-snippet { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

.kb-layout { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; }
/* Site review H-A: grid items default to min-width:auto, so one wide table
   stretched the whole column (and every paragraph) past a phone's width. */
.kb-layout > * { min-width: 0; }
.kb-sidebar { position: sticky; top: 88px; }
.kb-sidebar .kb-sidebar-title { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 14px; }
.kb-sidebar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.kb-sidebar a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; padding: 7px 10px; border-radius: 9px; }
.kb-sidebar a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.kb-sidebar a.active { color: var(--brand-2); background: rgba(52, 211, 153, 0.10); font-weight: 600; }
.kb-sidebar .kb-sidebar-title a { display: inline; padding: 0; color: inherit; font-size: inherit; background: none; }
.kb-sidebar .kb-sidebar-title a:hover { color: var(--text); }
.kb-sidebar-all { display: inline-block; margin-top: 18px; color: var(--muted-2); text-decoration: none; font-size: 13px; }
.kb-sidebar-all:hover { color: var(--text); }

.kb-updated { color: var(--muted-2); font-size: 13px; margin: 0 0 24px; }

/* Rendered-markdown scope — headings, lists, code, tables, blockquote callouts. */
.kb-article { max-width: 720px; }
.kb-article h1 { font-size: 26px; }
.kb-article h2 { font-size: 21px; font-weight: 800; margin: 36px 0 0; }
.kb-article h3 { font-size: 17px; font-weight: 700; margin: 28px 0 0; }
.kb-article p, .kb-article li { color: var(--muted); font-size: 15px; line-height: 1.7; }
.kb-article p { margin: 14px 0 0; }
.kb-article ul, .kb-article ol { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.kb-article a { color: var(--brand-2); }
.kb-article strong { color: var(--text); }
.kb-article code {
  background: rgba(255,255,255,0.07); border: 1px solid var(--border); border-radius: 5px;
  padding: 2px 6px; font-size: 13px; font-family: "SF Mono", Menlo, Consolas, monospace; color: var(--brand-2);
}
.kb-article pre {
  background: rgba(0,0,0,0.28); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; overflow-x: auto; margin: 18px 0 0;
}
.kb-article pre code { background: none; border: none; padding: 0; color: var(--text); }
/* Tables scroll inside their own box on narrow screens instead of widening the page. */
/* Pass-2 F-17b: the scroll box is the renderer's .table-scroll wrapper; the
   table keeps display:table (semantics) and fills the article width. */
.kb-article .table-scroll { max-width: 100%; margin: 18px 0 0; border: none; border-radius: 0; background: none; }
.kb-article table { width: 100%; border-collapse: collapse; font-size: 14px; }
.kb-article td code { white-space: nowrap; }
.kb-article th, .kb-article td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.kb-article th { color: var(--muted-2); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.kb-article td { color: var(--text); }
.kb-article blockquote {
  margin: 18px 0 0; padding: 14px 18px; border-left: 3px solid var(--brand);
  background: rgba(52, 211, 153, 0.06); border-radius: 0 10px 10px 0;
}
.kb-article blockquote p { color: var(--text); margin: 0; font-size: 14.5px; }

.kb-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.kb-pager-link { display: flex; flex-direction: column; gap: 4px; color: var(--text); text-decoration: none; font-size: 14.5px; font-weight: 600; max-width: 45%; }
.kb-pager-link span { color: var(--muted-2); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.kb-pager-link.next { text-align: right; margin-left: auto; }
.kb-pager-link:hover { color: var(--brand-2); }

/* Public /status page (§2.3) — overall banner + component grid + incidents. */
.status-banner { display: inline-flex; align-items: center; gap: 12px; }
.status-banner-dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; }
.status-banner-operational .status-banner-dot { background: var(--brand); box-shadow: 0 0 0 6px var(--brand-glow); }
.status-banner-degraded .status-banner-dot { background: #fbbf24; box-shadow: 0 0 0 6px rgba(251, 191, 36, 0.28); }
.status-banner-down .status-banner-dot { background: #f87171; box-shadow: 0 0 0 6px rgba(248, 113, 113, 0.28); }

.status-grid { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.status-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--panel-2); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px;
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.status-dot-operational { background: var(--brand); }
.status-dot-degraded { background: #fbbf24; }
.status-dot-down { background: #f87171; }
.status-name { font-weight: 600; font-size: 15px; }
.status-state { margin-left: auto; font-size: 13.5px; font-weight: 600; }
.status-state-operational { color: var(--brand-2); }
.status-state-degraded { color: #fbbf24; }
.status-state-down { color: #fca5a5; }

.incident-list { max-width: 760px; margin: 0 auto; display: grid; gap: 16px; }
.incident { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; }
.incident-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.incident-head h3 { font-size: 16px; font-weight: 700; margin: 0; }
.incident-date { margin-left: auto; color: var(--muted-2); font-size: 13px; }
.incident-badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 999px;
}
.incident-badge-resolved { background: rgba(52, 211, 153, 0.14); color: var(--brand-2); }
.incident-badge-monitoring { background: rgba(56, 189, 248, 0.14); color: var(--accent); }
.incident-badge-investigating { background: rgba(248, 113, 113, 0.14); color: #fca5a5; }
.incident-body { margin-top: 12px; }
.incident-body.kb-article p:first-child { margin-top: 0; }

/* CTA band */
.cta-band {
  text-align: center; border: 1px solid var(--border); border-radius: 24px;
  background:
    radial-gradient(700px 240px at 50% -30%, rgba(52, 211, 153, 0.20), transparent 70%),
    var(--panel-2);
  padding: 56px 28px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.cta-band h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
.cta-band p { color: var(--muted); font-size: 17px; margin: 14px auto 0; max-width: 52ch; }
.cta-band .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* Footer */
footer.site { border-top: 1px solid var(--border); padding: 44px 0 40px; margin-top: 40px; }
.foot-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; text-align: left; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .14s ease; }
.foot-links a:hover { color: var(--text); }
.foot-copy { color: var(--muted-2); font-size: 13px; }

@media (max-width: 920px) {
  .features-grid, .steps { grid-template-columns: 1fr 1fr; }
  /* Site review M4: an odd last card no longer sits alone in half a row. */
  .features-grid > :last-child:nth-child(odd), .steps > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* Three plans don't fit two columns; stack them, featured plan first. */
  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .plan.featured { order: -1; }
  .hv-grid { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; gap: 24px; }
  .detail.flip .dvis { order: 0; }
  .kb-categories { grid-template-columns: 1fr 1fr; }
  .kb-layout { grid-template-columns: 1fr; }
  .kb-sidebar { position: static; border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 8px; }
  /* Site review M3: between 761 and ~900 px the brand touched the first nav
     link. The hamburger now takes over at the same breakpoint as the grids:
     nav-links + nav-cta collapse into a dropdown panel under the header,
     toggled by assets/site.js (external, CSP-safe). */
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(11, 16, 32, 0.97); border: 1px solid var(--border); border-top: none;
    border-radius: 0 0 16px 16px; padding: 12px 20px 20px;
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
  }
  .nav-menu.open { display: flex; }
  .nav-menu .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-menu .nav-links a.link { padding: 12px 10px; }
  .nav-menu .nav-cta { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 10px; }
  .nav-menu .nav-cta .btn { width: 100%; }
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .features-grid, .steps, .pricing-grid, .hv-grid { grid-template-columns: 1fr; }
  .features-grid > :last-child:nth-child(odd), .steps > :last-child:nth-child(odd) { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .detail .dvis { padding: 16px; }
  .detail .dvis .row .right { white-space: normal; text-align: right; }
  .hero { padding: 56px 0 48px; }
  .hero-visual { padding: 12px; }
  .kb-categories { grid-template-columns: 1fr; }
  .kb-search-form { flex-direction: column; }
  .kb-pager { flex-direction: column; gap: 12px; }
  .kb-pager-link.next { text-align: left; margin-left: 0; }
  .incident-head { flex-direction: column; align-items: flex-start; }
  .incident-date { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}

/* Site review M5: without JavaScript the hamburger can't open, so show the
   menu as a static row under the brand instead. */
@media (max-width: 920px) and (scripting: none) {
  .nav-toggle { display: none; }
  .nav-inner { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; }
  .nav-menu { display: flex; position: static; width: 100%; border: none; box-shadow: none; background: none; padding: 8px 0 0; border-radius: 0; }
  .nav-menu .nav-links { flex-direction: row; flex-wrap: wrap; }
  .nav-menu .nav-links a.link { padding: 8px 10px; }
  .nav-menu .nav-cta { flex-direction: row; flex-wrap: wrap; }
  .nav-menu .nav-cta .btn { width: auto; }
}
