/* Main Revenue design tokens — MAIN_REVENUE_DESIGN_SYSTEM.md v1 (owner 2026-10-06). The ONE source of design values for
   the marketing site, /app and /ops: one token per line. Surfaces read these names; they do not invent their own values.
   Measured AA notes: --accent on --bg 4.52:1, on --surface-1 4.29:1 (so never body-size link text on cards — /app links
   use --accent-text); white on --accent 4.35:1 (below 4.5 for 15px text), so primary buttons fill with --accent-btn
   (white 4.9:1). --text-3 on --surface-1 5.61:1.
   Loaded AFTER mr.css: ":root[data-theme]" matches the specificity of mr.css's theme blocks so these values win. */
:root, :root[data-theme] {
  /* surfaces */
  --bg: #0B0B10;
  --surface-1: #121219;
  --surface-2: #181822;
  --surface-3: #20202C;
  --border: #26263A;
  --border-strong: #34344C;
  /* text */
  --text-1: #F4F3FA;
  --text-2: #B9B6C9;
  --text-3: #8E8AA3;
  /* the one accent: "act here" */
  --accent: #7C5CFF;
  --accent-hover: #8E73FF;
  --accent-subtle: rgba(124, 92, 255, .14);
  --accent-btn: #7452FF;
  --accent-btn-hover: #6E4BFF;
  --accent-text: #C4B5FD;
  /* status: text on subtle background, 1px border of the same hue at 40% */
  --positive: #3DD68C;
  --positive-bg: rgba(61, 214, 140, .12);
  --positive-border: rgba(61, 214, 140, .4);
  --warning: #F5B547;
  --warning-bg: rgba(245, 181, 71, .12);
  --warning-border: rgba(245, 181, 71, .4);
  --danger: #FF6B6B;
  --danger-bg: rgba(255, 107, 107, .12);
  --danger-border: rgba(255, 107, 107, .4);
  --neutral: #A5A3B8;
  --neutral-bg: rgba(165, 163, 184, .12);
  --neutral-border: rgba(165, 163, 184, .4);
  /* evidence labels (clarity spec wording): Strong evidence = warning, Probable match = accent-subtle, Needs your input = neutral */
  --evidence-strong: var(--warning);
  --evidence-strong-bg: var(--warning-bg);
  --evidence-probable: var(--accent-text);
  --evidence-probable-bg: var(--accent-subtle);
  --evidence-needs-input: var(--neutral);
  --evidence-needs-input-bg: var(--neutral-bg);
  /* type */
  --font-sans: "Geist", "Inter", "Geist Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-display: 56px;
  --fs-h1: 40px;
  --fs-h2: 28px;
  --fs-h3: 20px;
  --fs-body-lg: 18px;
  --fs-body: 15px;
  --fs-small: 13px;
  --fs-eyebrow: 12px;
  --fs-kpi: 32px;
  --measure: 68ch;
  /* spacing (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  /* radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-badge: 999px;
  /* elevation */
  --shadow-pop: 0 16px 48px rgba(0, 0, 0, .5);
  /* motion */
  --dur-press: 120ms;
  --dur-panel: 200ms;
  --dur-page: 300ms;
  --ease-std: cubic-bezier(.2, .8, .2, 1);
  /* sizes */
  --control-h: 40px;
  --control-h-touch: 44px;
  --control-h-dense: 32px;
  --badge-h: 22px;
}
@media (max-width: 640px) {
  :root, :root[data-theme] {
    --fs-display: 36px;
    --fs-h1: 30px;
    --fs-h2: 24px;
    --fs-h3: 18px;
    --fs-body-lg: 17px;
    --fs-kpi: 28px;
    --control-h: 44px;
  }
}
