/* Offpath marketing site — Offpath AI, Inc.
   Dark-first B2B security style with subtle grid texture, glowing
   accents, and confident typography. No tracking, no third-party
   fonts, no client-side JavaScript. */

:root {
  --bg: #04070d;
  --bg-elev: #0c1322;
  --bg-card: #0e1626;
  --bg-band: #070b14;
  --fg: #e9eef7;
  --fg-bright: #ffffff;
  --muted: #9aa6bb;
  --muted-2: #64748b;
  --rule: #1a2236;
  --rule-strong: #2a3a5a;
  --accent: #2dd4bf;
  --accent-2: #67e8f9;
  --accent-hover: #5eead4;
  --accent-soft: rgba(45, 212, 191, 0.12);
  --accent-soft-strong: rgba(45, 212, 191, 0.22);
  --accent-glow: rgba(45, 212, 191, 0.35);
  --danger: #f87171;
  --warn: #fbbf24;
  --ok: #34d399;
  --max-width: 1140px;
  --max-prose: 700px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 36px -18px rgba(0,0,0,0.7);
  --grid-line: rgba(255,255,255,0.025);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --bg-elev: #f4f6fa;
    --bg-card: #ffffff;
    --bg-band: #f6f8fb;
    --fg: #0a0f1a;
    --fg-bright: #0a0f1a;
    --muted: #475569;
    --muted-2: #64748b;
    --rule: #e2e8f0;
    --rule-strong: #cbd5e1;
    --accent: #0d9488;
    --accent-2: #0891b2;
    --accent-hover: #0f766e;
    --accent-soft: rgba(13, 148, 136, 0.10);
    --accent-soft-strong: rgba(13, 148, 136, 0.18);
    --accent-glow: rgba(13, 148, 136, 0.22);
    --shadow-card: 0 1px 0 rgba(255,255,255,0.6) inset, 0 12px 36px -20px rgba(15, 23, 42, 0.20);
    --grid-line: rgba(10, 15, 26, 0.05);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global subtle background grid — Onyx-style visual texture. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center top, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center top, #000 30%, transparent 80%);
}

main, header, footer { position: relative; z-index: 1; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease, color 120ms ease;
}

a:hover, a:focus-visible {
  border-bottom-color: var(--accent);
  color: var(--accent-hover);
}

code {
  font-family: ui-monospace, "SF Mono", "Menlo", "Monaco", Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.88em;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.08em 0.42em;
  border-radius: 5px;
}

/* ── Header ──────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  border-bottom: none;
}

.brand:hover { border-bottom: none; }

.brand-logo {
  display: block;
  height: 44px;
  width: auto;
}

.brand-logo-light { display: none; }
.brand-logo-dark { display: block; }

@media (prefers-color-scheme: light) {
  .brand-logo-light { display: block; }
  .brand-logo-dark { display: none; }
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.site-header nav a {
  color: var(--muted);
  border-bottom: none;
  font-weight: 500;
  font-size: 14.5px;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--fg);
  border-bottom: none;
}

.site-header .btn { padding: 9px 16px; font-size: 13.5px; }

/* ── Buttons ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 80ms ease, box-shadow 140ms ease;
}

.btn:hover { border-bottom: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #04070d;
  border-color: var(--accent);
  box-shadow: 0 8px 24px -10px var(--accent-glow);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #04070d;
  box-shadow: 0 12px 28px -8px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--rule-strong);
}

.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--bg-elev);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-arrow::after {
  content: "→";
  font-weight: 400;
  transition: transform 140ms ease;
}

.btn-arrow:hover::after { transform: translateX(3px); }

/* ── Hero ─────────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 128px;
  border-bottom: 1px solid var(--rule);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 14% 8%, rgba(45, 212, 191, 0.18), transparent 65%),
    radial-gradient(720px 460px at 96% 92%, rgba(103, 232, 249, 0.10), transparent 65%);
  z-index: 0;
  pointer-events: none;
}

.hero > .container { position: relative; z-index: 1; }

.hero-secondary { padding: 72px 0 56px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 24px;
  padding: 7px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-strong);
  border-radius: 999px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  font-size: clamp(40px, 5.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.032em;
  font-weight: 700;
  margin: 0 0 24px;
  max-width: 16ch;
  color: var(--fg-bright);
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero .lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 54ch;
}

.hero-secondary h1 {
  max-width: 24ch;
  font-size: clamp(36px, 4.6vw, 52px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

/* ── Hero preview (mock event feed) ───────────────────────────── */

.hero-preview {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  isolation: isolate;
}

.hero-preview::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  background: linear-gradient(140deg, var(--accent-glow), transparent 38%);
  z-index: -1;
  filter: blur(1px);
  opacity: 0.8;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 4px 14px;
  border-bottom: 1px solid var(--rule);
}

.preview-title {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.preview-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px rgba(52,211,153,0.7);
  margin-right: 8px;
  vertical-align: middle;
}

.preview-meta {
  font-size: 12px;
  color: var(--muted-2);
  font-family: ui-monospace, "SF Mono", monospace;
}

.preview-events {
  display: flex;
  flex-direction: column;
  padding-top: 6px;
}

.evt {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 14px 6px;
}

.evt + .evt { border-top: 1px solid var(--rule); }

.evt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
}

.evt-icon-block { background: rgba(248, 113, 113, 0.14); color: var(--danger); }
.evt-icon-warn { background: rgba(251, 191, 36, 0.14); color: var(--warn); }

.evt-body { min-width: 0; }

.evt-cat {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-bright);
  letter-spacing: -0.005em;
  margin: 0;
}

.evt-sub {
  font-size: 12px;
  color: var(--muted);
  margin: 3px 0 0;
  font-family: ui-monospace, "SF Mono", monospace;
}

.evt-right {
  text-align: right;
  font-size: 11.5px;
  color: var(--muted-2);
  font-family: ui-monospace, "SF Mono", monospace;
  line-height: 1.45;
}

.evt-conf {
  display: inline-block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}

.preview-footer {
  margin-top: 4px;
  padding: 14px 8px 4px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  color: var(--muted-2);
  font-family: ui-monospace, "SF Mono", monospace;
  text-align: center;
}

/* ── Big stat callout ────────────────────────────────────────── */

.stat-strip {
  position: relative;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 72px 0;
  background: var(--bg-band);
  text-align: center;
  overflow: hidden;
}

.stat-strip::before {
  /* Decorative oversized open-quote mark */
  content: "“";
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 200px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.08;
  pointer-events: none;
}

.stat-strip > .container { position: relative; }

.stat-strip blockquote {
  margin: 0 auto;
  max-width: 880px;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg-bright);
}

.stat-strip blockquote .accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-strip cite {
  display: block;
  margin-top: 20px;
  font-size: 12.5px;
  font-style: normal;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── Sections ─────────────────────────────────────────────────── */

main section {
  padding: 104px 0;
  position: relative;
}

main section + section { border-top: 1px solid var(--rule); }

.band { background: var(--bg-band); }

.section-head {
  max-width: 760px;
  margin: 0 0 64px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 20px;
}

.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  letter-spacing: -0.024em;
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 20px;
  color: var(--fg-bright);
}

h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
  color: var(--fg-bright);
}

.section-lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
}

p { margin: 0 0 16px; max-width: var(--max-prose); }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 22px; margin: 0 0 18px; max-width: var(--max-prose); }
li { margin-bottom: 10px; }
li:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--fg-bright); }
em { font-style: italic; color: var(--muted); }

/* ── Blind-spot grid ──────────────────────────────────────────── */

.grid-blindspot {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.bs-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
  overflow: hidden;
}

.bs-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  pointer-events: none;
  background: radial-gradient(420px 220px at 0% 0%, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity 240ms ease;
}

.bs-card:hover {
  border-color: var(--rule-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.bs-card:hover::after { opacity: 1; }

.bs-tag {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  padding: 3px 8px;
  border-radius: 4px;
}

.bs-card h3 { font-size: 19px; margin: 0 0 12px; line-height: 1.3; }
.bs-card p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ── Feature bento ────────────────────────────────────────────── */

.feature-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}

.feature-bento .fcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color 240ms ease;
  overflow: hidden;
}

.feature-bento .fcard:hover { border-color: var(--rule-strong); }

.fcard-hero {
  grid-column: span 2;
  grid-row: span 2;
  padding: 44px 40px;
}

.fcard-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(640px 320px at 100% 0%, var(--accent-soft), transparent 65%);
  z-index: 0;
}

.fcard-hero > * { position: relative; z-index: 1; }

.fcard-num {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 4px;
}

.fcard h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.018em;
  font-weight: 600;
  line-height: 1.2;
  color: var(--fg-bright);
  max-width: 22ch;
}

.fcard-hero h3 {
  font-size: clamp(26px, 2.4vw, 32px);
  max-width: 18ch;
  letter-spacing: -0.022em;
}

.fcard p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.fcard-hero p {
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 56ch;
}

@media (max-width: 880px) {
  .feature-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .fcard-hero, .fcard-wide { grid-column: span 1; grid-row: span 1; }
}

/* Inline visual: detection chips inside the hero card */

.detect-mock {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: auto;
  padding: 1px;
  background: var(--rule);
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 880px) {
  .detect-mock { grid-template-columns: 1fr; }
}

.dchip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--bg);
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 12.5px;
}

.dchip-fired { background: var(--bg-elev); }

.dchip .dlabel {
  color: var(--muted-2);
  letter-spacing: -0.005em;
}

.dchip-fired .dlabel { color: var(--fg-bright); }

.dchip .dconf {
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
}

.dchip-fired .dconf {
  color: var(--accent);
  font-weight: 600;
}

/* Pills (vendor / agent) */

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}

.pill {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11.5px;
  padding: 5px 10px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--fg);
  letter-spacing: -0.005em;
}

.pill-muted {
  color: var(--muted-2);
  border-style: dashed;
}

/* Check-list (outcome chips inside cards) */

.check-list {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

@media (max-width: 480px) {
  .check-list { grid-template-columns: 1fr; }
}

.check-list li {
  position: relative;
  padding: 8px 12px 8px 32px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-size: 13px;
  color: var(--fg);
  margin: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
}

.check-list li::after {
  content: "✓";
  position: absolute;
  left: 14.5px;
  top: 50%;
  transform: translateY(-55%);
  font-size: 9px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

/* Privacy flow */

.privacy-flow {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}

.pf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-size: 13px;
}

.pf-label { color: var(--fg); }

.pf-tag {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
}

.pf-tag-stay  { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-soft-strong); }
.pf-tag-out   { background: rgba(251, 191, 36, 0.10); color: var(--warn); border: 1px solid rgba(251, 191, 36, 0.25); }
.pf-tag-gated { background: var(--bg-elev); color: var(--muted); border: 1px solid var(--rule); }

/* Stat row inside the wide "invisible" card */

.stat-row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 36px;
  padding-top: 8px;
}

@media (max-width: 720px) {
  .stat-row { grid-template-columns: 1fr; gap: 16px; }
}

.stat-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-unit {
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 4px;
}

.stat-cap {
  font-size: 12px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-side {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ── How it works flow diagram ────────────────────────────────── */

.flow {
  margin: 0;
  padding: 32px 16px 8px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: var(--shadow-card);
}

.flow svg {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto;
  min-width: 760px;
}

/* Default (dark) palette colors for the diagram */
.flow .node-bg {
  fill: var(--bg);
  stroke: var(--rule-strong);
  stroke-width: 1.5;
}

.flow .node-feature-bg {
  fill: var(--bg-elev);
  stroke: var(--accent);
  stroke-width: 1.5;
}

.flow .node-icon {
  color: var(--muted);
  stroke: var(--muted);
}

.flow .node-title {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  fill: var(--fg-bright);
  letter-spacing: -0.01em;
}

.flow .node-title-feature {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  fill: var(--accent);
  letter-spacing: -0.012em;
}

.flow .node-line {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  font-size: 13px;
  fill: var(--muted);
}

.flow .node-detail {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  font-size: 11.5px;
  fill: var(--muted-2);
}

.flow .node-divider { stroke: var(--rule); stroke-width: 1; }

.flow .sensor-tagline {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  fill: var(--muted);
  letter-spacing: -0.005em;
}

.flow .sensor-tagline-accent {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  fill: var(--accent);
  letter-spacing: -0.005em;
}

.flow .layer-pill {
  fill: var(--bg);
  stroke: var(--rule);
  stroke-width: 1;
}

.flow .layer-pill-strong {
  fill: var(--accent-soft);
  stroke: var(--accent);
}

.flow .layer-text {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11px;
  fill: var(--muted);
}

.flow .layer-text-strong { fill: var(--accent); font-weight: 600; }

.flow .line-content {
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.45;
}

.flow .line-meta {
  stroke: var(--muted-2);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  stroke-linecap: round;
  opacity: 0.45;
}

.flow .line-label {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  fill: var(--muted-2);
}

.flow .dot-content {
  fill: var(--accent);
  filter: drop-shadow(0 0 8px var(--accent));
}

.flow .dot-meta {
  fill: var(--muted);
  filter: drop-shadow(0 0 4px var(--muted));
  opacity: 0.85;
}

.flow-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding: 18px 8px 12px;
  margin: 12px 0 0;
  border-top: 1px solid var(--rule);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.legend-swatch {
  display: inline-block;
  width: 28px;
  height: 2px;
  border-radius: 1px;
}

.legend-content { background: var(--accent); }
.legend-meta { background: var(--muted-2); }

/* Subtle pulse on the hero live-dot */
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

.preview-dot {
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .preview-dot { animation: none; }
  .flow .dot-content, .flow .dot-meta { display: none; }
}

/* ── Coverage stat cards ─────────────────────────────────────── */

.coverage-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 880px) { .coverage-stats { grid-template-columns: 1fr; } }

.cov-card {
  position: relative;
  padding: 36px 32px 32px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cov-num {
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.cov-plus {
  font-size: 0.6em;
  margin-left: 2px;
  vertical-align: 0.18em;
}

.cov-cat {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0;
}

.cov-list {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ── Trust grid ──────────────────────────────────────────────── */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 720px) { .trust-grid { grid-template-columns: 1fr; } }

.tcard {
  padding: 32px 30px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 240ms ease;
}

.tcard:hover { border-color: var(--rule-strong); }

.tcard .fcard-num { margin-bottom: 4px; }

.tcard h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg-bright);
}

.tcard p {
  margin: 4px 0 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

.trust-more {
  display: flex;
  justify-content: center;
  margin: 36px 0 0;
}

/* ── About grid ──────────────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

.about-mission { max-width: 60ch; }

.about-lede {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.018em;
  font-weight: 500;
  color: var(--fg-bright);
  margin: 0 0 24px;
}

.about-mission p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}

.about-mission p + p { margin-top: 16px; }

.about-facts {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 30px;
}

.about-facts dl {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.about-facts dl > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

.about-facts dl > div:first-child { padding-top: 0; }
.about-facts dl > div:last-child { border-bottom: none; padding-bottom: 0; }

.about-facts dt {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  font-weight: 600;
  padding-top: 1px;
}

.about-facts dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--fg);
  letter-spacing: -0.005em;
}

/* ── Trust callout ────────────────────────────────────────────── */

.callout {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 32px 28px 36px;
  margin: 12px auto 0;
  max-width: 780px;
  overflow: hidden;
}

.callout::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 2px;
}

.callout p { margin: 0; font-size: 16px; color: var(--muted); }
.callout strong { color: var(--fg-bright); }

/* ── CTA band ────────────────────────────────────────────────── */

.band-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-band);
}

.band-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 360px at 50% 40%, var(--accent-glow), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.band-cta > .container { position: relative; z-index: 1; }

.band-cta h2 { margin: 0 0 16px; font-size: clamp(28px, 3.2vw, 40px); }
.band-cta p { color: var(--muted); margin-left: auto; margin-right: auto; }

.contact-line { font-size: 22px; margin: 28px 0 0; }
.contact-line a { font-weight: 600; }

/* ── Footer ──────────────────────────────────────────────────── */

.site-footer {
  padding: 56px 0 32px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  background: var(--bg);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer p { margin: 0; }

.footer-logo {
  display: block;
  height: 28px;
  width: auto;
  margin-bottom: 12px;
}

.footer-logo-light { display: none; }
.footer-logo-dark { display: block; }

@media (prefers-color-scheme: light) {
  .footer-logo-light { display: block; }
  .footer-logo-dark { display: none; }
}

.small-print { font-size: 13px; color: var(--muted); max-width: 32ch; }
.muted { color: var(--muted); }

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.site-footer nav a { color: var(--muted); }

.copyright {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 12.5px;
  color: var(--muted-2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.page-stamp {
  margin-top: 32px;
  font-size: 12.5px;
  color: var(--muted-2);
  font-family: ui-monospace, "SF Mono", monospace;
  letter-spacing: 0.02em;
}

/* ── Security page TOC ───────────────────────────────────────── */

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.toc a {
  font-size: 12.5px;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--bg-card);
}

.toc a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.principles { padding-left: 24px; }
.principles li { margin-bottom: 14px; color: var(--muted); }
.principles strong { color: var(--fg-bright); display: block; margin-bottom: 2px; }

/* ── Definition list (Trust page) ─────────────────────────────── */

.defs { display: grid; gap: 22px; }

.def {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.def h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
  color: var(--fg-bright);
  letter-spacing: -0.005em;
}

.def p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.def p + p { margin-top: 8px; }

/* ── Print ───────────────────────────────────────────────────── */

@media print {
  body::before { display: none; }
  .site-header, .site-footer nav, .hero-preview, .stat-strip { display: none; }
  body { font-size: 11pt; color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  section, .hero { padding: 18px 0; }
  .bs-card, .def, .callout, .step { border: 1px solid #999; }
}
