/* ---------------------------------------------------------------------------
   Design tokens — the single source of truth for the public site AND the staff
   dashboard. Both stylesheets link this file first, so a brand change lands in
   one place.

   Before this existed, both files declared --navy and --bg with *different*
   values, so the same token name meant two different colours depending on which
   page you were on. Surface colours that genuinely differ per app now have
   distinct names (--bg vs --app-bg) instead of colliding.
--------------------------------------------------------------------------- */
:root {
    /* --- Brand palette, sampled from the Banzai logo --- */
    --navy: #1d2748;       /* brand dark — headings, dark sections (white text 14.6:1) */
    --navy-2: #26325c;     /* gradient partner */
    --navy-deep: #0d1b3e;  /* dashboard chrome — darker than --navy on purpose */
    --red: #d42920;        /* functional red — buttons, links, accents (white text 5.1:1) */
    --red-dark: #b31e17;   /* hover / pressed */
    --red-bright: #ff6b62; /* red accent on dark navy (5.2:1 on --navy) */

    /* --- Neutrals --- */
    --white: #ffffff;
    --ink: #1b2433;
    --muted: #5b6675;      /* 5.8:1 on white */
    --line: #e6e9f0;
    --bg: #ffffff;         /* public page background */
    --bg-alt: #f6f7fb;     /* alternating section background */
    --app-bg: #f2f5fb;     /* dashboard shell background */

    /* --- Text on dark navy surfaces ---
       Three steps replace the five near-identical tints that used to be
       sprinkled through the footer, hero and CTA band. */
    --on-navy: #d5def5;        /* 8.8:1 on --navy */
    --on-navy-muted: #c3cde3;  /* 9.2:1 on --navy */
    --on-navy-subtle: #90a0c4; /* 5.6:1 on --navy — the dimmest that still passes */

    /* --- Semantic / status --- */
    --success: #1c7a3f;
    --success-bg: #e7f7ec;
    --success-line: #b7e6c6;
    --danger: #b3261e;
    --danger-bg: #fdecec;
    --danger-line: #f5c2c0;

    /* --- Font stacks ---
       Neither Inter nor Poppins carries Devanagari glyphs, so Noto Sans
       Devanagari sits behind each of them: browsers fall through per-character,
       which keeps Latin text on the brand faces while नेपाली content renders in
       a font that actually has the glyphs instead of an OS default. */
    --font-body: 'Inter', 'Noto Sans Devanagari', system-ui, -apple-system, sans-serif;
    --font-heading: 'Poppins', 'Noto Sans Devanagari', sans-serif;

    /* --- Type scale ---
       Ten steps replacing thirteen ad-hoc sizes. 15px, 17px and 22px were
       dropped as near-duplicates of their neighbours. */
    --text-2xs: 11px;      /* micro badges, brand subtitle */
    --text-xs: 12px;       /* uppercase labels, help text */
    --text-sm: 13px;       /* eyebrows, fine print */
    --text-base: 14px;     /* UI default — nav, buttons, footer, small body */
    --text-body: 16px;     /* reading body copy */
    --text-lg: 18px;       /* lead paragraphs, h4 */
    --text-xl: 20px;       /* card headings */
    --text-2xl: 26px;      /* large numerals / icon glyphs */
    --text-3xl: 30px;      /* stat values */
    --text-display: 68px;  /* decorative quote glyph */

    /* --- Shape & elevation --- */
    --radius: 14px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px rgba(29, 39, 72, .10);
    --shadow-sm: 0 4px 14px rgba(29, 39, 72, .07);
}
