/**
 * Design tokens — DocumentBundler brand v1
 *
 * Loaded AFTER shared/css/core.css so any token redefined here wins the
 * cascade and overrides the StatusKWO-era defaults from core.css. Existing
 * rules that read `var(--primary)`, `var(--accent)`, etc. automatically
 * pick up the new brand palette — no per-rule edits required.
 *
 * Brand palette (kept in sync with bundler/brand/README.md):
 *   --brand-navy    #0E1320  Dark surface, sidebar, theme-color
 *   --brand-purple  #6B6BFF  Primary action, accent, active states
 *   --brand-cream   #EEF2FA  Light text on dark surfaces
 *   --brand-slate   #94A3B8  Muted text, ghost shapes
 */

:root {
    /* Brand palette */
    --brand-navy:        #0E1320;
    --brand-navy-2:      #1A2138;   /* one step lighter — for hover states on dark */
    --brand-purple:      #6B6BFF;
    --brand-purple-lt:   #8A8AFF;   /* lighter purple for gradients */
    --brand-purple-soft: rgba(107, 107, 255, 0.12);  /* subtle background tint */
    --brand-cream:       #EEF2FA;
    --brand-slate:       #94A3B8;

    /* Override existing semantic tokens to ride on the brand palette.
       core.css consumers (sidebar, page-header, buttons, status pills) all
       read these — so the rebrand cascades automatically. */
    --primary:       #0E1320;        /* was #0F2B46 (StatusKWO blue) */
    --primary-light: #1A2138;        /* was #1A3D5C */
    --primary-dark:  #050810;        /* was #0B1D2E */
    --secondary:     #6B6BFF;        /* was #0D9488 (teal) */
    --secondary-lt:  #8A8AFF;        /* was #14B8A6 */
    --accent:        #6B6BFF;        /* was #5EEAD4 (cyan) */

    /* Type-weight tokens. Inter is loaded site-wide with weights
       300, 400, 500, 600, 700, 800. The wordmark uses 300 vs 700 contrast,
       so expose those as named tokens for re-use elsewhere. */
    --w-light: 300;
    --w-reg:   400;
    --w-med:   500;
    --w-semi:  600;
    --w-bold:  700;
    --w-xbold: 800;
}
