/* Default MQ Web theme — the "Motivforce" brand from the 2026-08-18 design wireframes
   (docs/design-discussions/sources/2026-08-18-b2b-loyalty-wireframes-v2/), used by all
   clients that don't have specific overrides. Clients with their own client.css
   (Eaton, Celebrity, …) are unaffected.

   Values are space-separated RGB channels (see docs/client-theming.md) so the
   rgb(var(--color-x) / <alpha>) form and opacity utilities keep working. */

/* Montserrat, self-hosted (variable weight 300–900; SIL OFL — see
   /fonts/montserrat/OFL.txt). Self-hosting keeps style-src/font-src at 'self',
   per the csp-maintenance rules — never load this from a font CDN. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/montserrat/montserrat-latin-wght.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/montserrat/montserrat-latin-ext-wght.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/montserrat/montserrat-latin-italic-wght.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/montserrat/montserrat-latin-ext-italic-wght.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* brand */
  --color-primary: 0 185 227;          /* #00b9e3 */
  --color-primary-hover: 68 153 186;   /* #4499ba */
  --color-on-primary: 255 255 255;
  --color-accent: 58 130 194;          /* #3a82c2 */
  --color-secondary: 33 73 107;        /* #21496b — "san juan" deep brand */
  --color-on-secondary: 255 255 255;
  --color-btn-text: 255 255 255;
  --color-secondary-text: 255 255 255;

  /* surfaces / lines / text */
  --color-surface-muted: 249 250 252;  /* #f9fafc */
  --color-border: 227 232 239;         /* #e3e8ef */
  --color-text: 29 29 29;              /* ink */
  --color-muted: 113 113 121;
  /* tinted brand surface — primary-tinted cards, active nav hover, the member's own
     leaderboard row (#eaf8fc) */
  --color-primary-surface: 234 248 252;
  /* cool page canvas behind the cards (#eef1f6) — declared for the 2026-09 artboard; nothing
     paints it yet (the layout tint waits on the v3 delta's §5 regression questions) */
  --color-canvas: 238 241 246;

  /* status */
  --color-danger: 225 79 98;           /* #e14f62 */
  --color-success: 67 148 108;         /* #43946c */
  --color-warning: 233 162 59;         /* #e9a23b */
  --color-info: 58 130 194;
  /* gamification accent — multiplier and rank-movement chips (#883ae2) */
  --color-highlight: 136 58 226;
  --color-on-highlight: 255 255 255;

  /* chrome — the wireframes use a white header with dark nav text */
  --color-header-bg: 255 255 255;
  --color-header-text: 29 29 29;
  --color-header-border: 227 232 239;
  --color-banner-bg: 33 73 107;
  --color-banner-text: 255 255 255;
  /* dark footer band under the light chrome (the footer falls back to the header
     tokens when these are absent, so only themes that split the two set them) */
  --color-footer-bg: 33 73 107;        /* #21496b — the deep brand */
  --color-footer-text: 255 255 255;
  --color-footer-border: 33 73 107;

  /* active nav pill — the v3 artboard's exact gradient (primary → deep brand, 99.588°) */
  --gradient-nav-active: linear-gradient(99.588deg, rgb(var(--color-primary)) 0%, rgb(var(--color-secondary)) 99.59%);
  /* page-banner band: the artboard's three-stop deep→bright sweep (#21496B → #25596E → #00B9E3) */
  --gradient-banner: linear-gradient(90deg, rgb(var(--color-secondary)) 0%, #25596e 50%, rgb(var(--color-primary)) 100%);

  /* shape + type: pill controls over softly-rounded cards, Montserrat throughout */
  --radius: 10px;
  --radius-control: 20px;
  --font-sans: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
