@charset "UTF-8";
/* ============================================================
 *  ProcessBOX — Design Tokens  ("Operational Ledger" system)
 *  ------------------------------------------------------------
 *  Editorial, corporate, paper-and-ink. Each product overrides
 *  the four --accent-* tokens (and --accent-ink) in its own
 *  accent.css; everything else is shared and stable.
 * ============================================================ */
:root {

  /* --- Ink & paper (the spine of the whole system) --- */
  --ink:            #16110d;   /* near-black, warm */
  --ink-soft:       #3a342d;
  --ink-muted:      #6f675c;
  --ink-faint:      #9b9488;

  --paper:          #f7f5f0;   /* warm off-white page */
  --paper-raised:   #fffdf8;   /* cards sit slightly brighter than the page */
  --paper-sunk:     #efece4;   /* recessed wells / table zebra */

  --rule:           #e2ddd1;   /* hairline rules & borders */
  --rule-strong:    #cfc8b8;

  /* --- Product accents (defaults to ProcessBOX indigo-ink) --- */
  --accent:         #2f2a6b;   /* primary accent */
  --accent-deep:    #211d4f;
  --accent-bright:  #4a43a8;
  --accent-wash:    #ecebf6;   /* tint fill for chips / wells */
  --accent-ink:     #ffffff;   /* text that sits ON the accent */

  /* --- Dark panel + signal ---------------------------------------
     home.css and capture.css have referenced var(--panel) and
     var(--signal) since 27 Oct without either being defined anywhere,
     so both resolved to nothing: the hero diagram and the trial band
     painted a transparent background and kept their white text, which
     left them invisible on the cream page. Defining them here, next to
     the accents they belong with.

     --panel is --accent-deep rather than a new colour, so the dark
     blocks stay the same indigo the rest of the page already uses.
     White on it is 15.52:1, and the .72-alpha white lede is 8.64:1.

     --signal is the mint already hardcoded beside these rules
     (home.css .v2-node-src and .v2-points b). It reads 10.36:1 on the
     panel. It is NOT safe on paper: 1.37:1, so .v2-pull and the
     roadmap now-marker take --signal-ink, the same hue darkened to
     carry on a light ground (.v2-pull sits on --paper-sunk, the
     darker of the two, so the step is set to clear AA on both). */
  --panel:          var(--accent-deep);
  --signal:         #6ee7d2;   /* mint, for use ON --panel only */
  --signal-ink:     #0e7260;   /* light-ground step: 5.36:1 paper, 4.95:1 sunk */

  /* --- Fixed product hues (used on the hub to differentiate) --- */
  --hue-capture:   #2E7D99;   /* brand teal : shared with the WPF app + WebApp */
  --hue-capture-wash:#e8f1f5;
  --hue-execute:    #b4521f;   /* burnt sienna  */
  --hue-execute-wash: #f6e9e1;
  /* Explorer was #2f5d86, only 12.6deg of hue from the new Capture teal, which
     defeated the point of these per-product hues on the hub. Deepened to 217deg
     so the two still read as different products side by side. */
  --hue-explorer:   #2b4a7d;   /* indigo-slate  */
  --hue-explorer-wash:#e6eaf4;
  --hue-processbox: #2f2a6b;   /* indigo ink    */

  /* --- Semantic --- */
  --ok:             #1f7a4d;
  --warn:           #b06a00;
  --warn-wash:      #faf0d9;
  --err:            #b3261e;

  /* --- Typography --- */
  /* Display: geometric sans. Replaced Fraunces because the serif display read as
     stock-editorial rather than like our own product. Geist holds tight tracking at
     large sizes and sits beside IBM Plex Sans without a second voice. */
  --font-display:   'Geist', 'Inter Tight', system-ui, -apple-system, sans-serif;
  --font-sans:      'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-mono:      'IBM Plex Mono', 'JetBrains Mono', ui-monospace, monospace;

  /* --- Geometry --- */
  --radius-sm:      6px;
  --radius-md:      10px;
  --radius-lg:      14px;

  --maxw:           1180px;
  --nav-height:     68px;

  /* --- Shadows: barely-there, paper-like --- */
  --shadow-card:    0 1px 0 var(--rule), 0 1px 2px rgba(22,17,13,0.03);
  --shadow-raise:   0 1px 0 var(--rule-strong), 0 10px 30px -12px rgba(22,17,13,0.18);

  /* --- Terminal (Execute run logs) --- */
  --term-bg:        #181410;
  --term-text:      #d8d2c5;
  --term-muted:     #6f675c;

  /* ------------------------------------------------------------
   *  LEGACY ALIASES
   *  Older pages (contact.php, the explorer coming-soon page)
   *  reference the previous token names inline. Map them onto
   *  the ledger palette so those pages render correctly without
   *  rewriting their markup. Prefer the names above for new work.
   * ------------------------------------------------------------ */
  --text-heading:   var(--ink);
  --text-body:      var(--ink-soft);
  --text-muted:     var(--ink-muted);
  --border:         var(--rule);
  --border-light:   var(--rule);
  --surface-page:   var(--paper);
  --surface-card:   var(--paper-raised);

  --accent-mid:     var(--accent);
  --accent-light:   var(--accent-bright);
  --accent-dark:    var(--accent-deep);
  --accent-soft:    var(--accent-wash);
  --accent-softer:  var(--accent-wash);

  --radius-pill:    999px;
  --shadow-btn:     0 1px 0 var(--rule-strong), 0 8px 22px -12px rgba(22,17,13,0.25);
  --font-sans:      'IBM Plex Sans', system-ui, -apple-system, sans-serif; /* re-affirm */

  --pb-purple-mid:  var(--hue-processbox);
  --pb-teal-mid:    var(--hue-capture);
  --pb-coral-mid:   var(--hue-execute);
  --pb-blue-mid:    var(--hue-explorer);
  --pb-green:       var(--ok);
  --pb-green-soft:  #e9f3ec;
  --pb-amber:       var(--warn);
}
