/* Estate Design System — tokens (plan S1)
   Trust & authority: restrained, clinical, data-first. One accent per domain.
   Nothing decorative without a data slot. */

:root {
  /* Type scale (16/18/21/28/40) */
  --font-sans: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --text-xs: 0.75rem;    /* 12 — stamps, chips */
  --text-s: 0.875rem;    /* 14 — table dense */
  --text-base: 1rem;     /* 16 — body */
  --text-m: 1.1875rem;   /* 19 — lead */
  --text-l: 1.375rem;    /* 22 — h3 */
  --text-xl: 1.75rem;    /* 28 — h2 */
  --text-2xl: 2.5rem;    /* 40 — h1 */
  --lh-body: 1.65;
  --lh-tight: 1.25;

  /* Spacing: 4-grid */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --measure: 42rem;      /* prose line length */
  --wide: 72rem;         /* data layouts */

  /* Color: near-black on white, hairline borders, single accent.
     Accent set per domain via --accent (see README theme map). */
  --ink: #16181d;
  --ink-2: #444a54;      /* secondary text */
  --ink-3: #7a8089;      /* stamps, captions */
  --paper: #ffffff;
  --paper-2: #f7f8fa;    /* zebra rows, wells */
  --line: #dcdfe4;
  --line-2: #eceef1;
  --accent: #0f4c81;     /* default; overridden per domain */
  --accent-ink: #0b3860;
  --ok: #1a7f4b;         /* semantic: positive delta ONLY */
  --bad: #b3261e;        /* semantic: negative delta ONLY */
  --focus: #16181d;

  /* Depth: flat. Borders do the work. */
  --radius: 3px;
  --shadow-none: none;
}

/* Per-domain accents (S2 theme map) — apply via <html data-domain="...">
   or a one-line override in the site's own css. */
[data-domain="pubsec.pro"]      { --accent: #0f4c81; --accent-ink: #0b3860; }
[data-domain="publicserviceindex.org"],
[data-domain="publicserviceinstitute.org"],
[data-domain="procurementinstitution.org"],
[data-domain="pubsecdata.org"]  { --accent: #274690; --accent-ink: #1d3670; }
[data-domain="contractrecords.info"],
[data-domain="cleaningrecords.info"] { --accent: #69502f; --accent-ink: #513d22; }
[data-domain="hitlay.com"]      { --accent: #116043; --accent-ink: #0c4a34; }
[data-domain="dfsatlas.com"]    { --accent: #1f5f8b; --accent-ink: #174a6d; }
[data-domain="thedropwatch.com"],
[data-domain="restocklog.info"] { --accent: #a1392b; --accent-ink: #7f2c21; }
[data-domain="fam.casa"]        { --accent: #8a5a83; --accent-ink: #6f4769; }
[data-domain="pettoxcheck.com"] { --accent: #0e6b5c; --accent-ink: #0a5348; }
[data-domain="homeairhazards.com"] { --accent: #33691e; --accent-ink: #275116; }
[data-domain="isitasin.org"],
[data-domain="beholdnow.org"]   { --accent: #5d4037; --accent-ink: #472f28; }
[data-domain="numberdestiny.com"] { --accent: #4a3f8f; --accent-ink: #3a3172; }
[data-domain="thefixguide.com"] { --accent: #37474f; --accent-ink: #29363c; }
[data-domain="fixrcost.com"]    { --accent: #74551f; --accent-ink: #5c4218; }
[data-domain="toolrecon.com"]   { --accent: #334a5e; --accent-ink: #273a4a; }
[data-domain="launchxo.com"]    { --accent: #141a1f; --accent-ink: #0d1114; }
[data-domain="datadrivenresults.org"] { --accent: #0b5d3b; --accent-ink: #084a2f; }
