/* ═══════════════════════════════════════════════════════════════════
   SALTY ENGINES — BRAND TOKENS (single source of truth)
   ═══════════════════════════════════════════════════════════════════
   Every color, font and radius used by saltyengines.com AND by the
   internal tools (CRM / Office / Admin) is declared HERE and nowhere
   else. Extracted verbatim from the public site on 2026-11-27:
     · Homepage (static/index.html :root) — warm paper + orange accent
     · SEO pages (city / service / legal templates) — sky + sunset
   Rules live in VISUAL_RULES.md at the repo root. The guard test
   tests/test_design_tokens.py fails the suite if an internal
   template or stylesheet uses a hex color that is not in this file.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* ── Brand palette (public site, exact values) ─────────────────── */
  --brand-orange:    #F07240;  /* THE action color — CTAs, next action */
  --brand-orange-dk: #C04D20;  /* orange hover / AA text on light      */
  --brand-orange-soft: #FFF6F2; /* orange tint background              */
  --brand-orange-tint: #FCE8DF; /* deeper orange tint (scanner states) */
  --brand-sky:       #5BAFDC;  /* brand blue — links/info on dark      */
  --brand-sky-soft:  #D6EEF9;  /* sky tint background (scanner states) */
  --brand-sky-dk:    #2A7FA8;  /* brand blue — links/info on light     */
  --brand-sun:       #FAD961;  /* sun accent (hero, highlights)        */
  --brand-ink:       #0A0A0A;  /* deepest text                         */
  --brand-ink-2:     #1D1D1F;  /* headings on light                    */
  --brand-text-2:    #525252;  /* secondary text on light              */
  --brand-text-3:    #8A8A8A;  /* tertiary text on light               */
  --brand-paper:     #FAFAF7;  /* warm off-white body (light)          */
  --brand-paper-2:   #F2EFE9;  /* warm off-white band (light)          */
  --brand-white:     #FFFFFF;  /* cards on light                       */
  --brand-gray-100:  #F5F5F7;
  --brand-gray-200:  #E8E8ED;
  --brand-gray-400:  #86868B;
  --brand-gray-700:  #424245;

  /* ── Functional status (alerts/status ONLY — never decoration) ── */
  --brand-good:      #22C55E;
  --brand-warn:      #F59E0B;
  --brand-error:     #EF4444;

  /* ── Typography (public site stacks) ───────────────────────────── */
  --brand-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --brand-font-display: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ── Shape & spacing (public site conventions) ─────────────────── */
  --brand-radius-sm: 6px;
  --brand-radius:    10px;
  --brand-radius-lg: 16px;
  --brand-space-1:   4px;
  --brand-space-2:   8px;
  --brand-space-3:   12px;
  --brand-space-4:   16px;
  --brand-space-5:   24px;
  --brand-t:         0.18s ease;

  /* ── Internal UI surfaces (CRM/Office/Admin themes) ──────────────
     Neutrals for the internal dark (default) and light themes.
     These are the ONLY non-brand hexes allowed internally, and they
     live here so this file stays the single source. */
  --brand-ui-bg-dark:         #0E1116;
  --brand-ui-panel-dark:      #161A23;
  --brand-ui-panel-2-dark:    #1C2230;
  --brand-ui-border-dark:     #242A36;
  --brand-ui-border-2-dark:   #2E3545;
  --brand-ui-border-fb-dark:  #2A2F3A;  /* fallback border (board/cards) */
  --brand-ui-card-dark:       #161A22;  /* fallback card (board)         */
  --brand-ui-text-dark:       #E7EAF0;
  --brand-ui-muted-dark:      #B3BCCD;
  --brand-ui-muted-2-dark:    #8A93A5;

  --brand-ui-bg-light:        #F6F7F9;
  --brand-ui-panel-2-light:   #F1F3F7;
  --brand-ui-border-light:    #E2E6EC;
  --brand-ui-border-2-light:  #C9D0DB;
  --brand-ui-text-light:      #1A1F2C;
  --brand-ui-muted-light:     #5F6878;
  --brand-ui-muted-2-light:   #6E7889;

  /* Status foregrounds on tinted backgrounds (AA-checked pairs) */
  --brand-ui-success-fg-dark:  #86EFAC;
  --brand-ui-warn-fg-dark:     #FCD34D;
  --brand-ui-danger-fg-dark:   #FDA4A4;
  --brand-ui-danger-fg-2-dark: #FCA5A5;
  --brand-ui-success-fg-light: #166534;
  --brand-ui-warn-fg-light:    #92400E;
  --brand-ui-danger-fg-light:  #991B1B;
  --brand-ui-danger-bg-light:  #FEF2F2;  /* login light-theme error box */
  --brand-ui-danger-bd-light:  #FECACA;  /* login light-theme error box */
  --brand-ui-danger-solid:     #B91C1C;
  --brand-ui-danger-deep:      #7F1D1D;
  --brand-ui-good-dk:          #16A34A;
  --brand-ui-warn-dk:          #D97706;
  --brand-ui-error-dk:         #DC2626;
  --brand-ui-root-tag-light:   #B45309;
}
