/* ==========================================================================
   Brand themes
   --------------------------------------------------------------------------
   Everything that differs between ELIC and Pinnacle is a variable in the two
   blocks below. Designers: change values here, not further down.

   Colours and fonts: ELIC from www.elic.org (Oct 2026); Pinnacle from
   www.pinnacleteachingsolutions.com (Oct 2026), with the new Pinnacle site's ink
   text and brand blue (pinnacleteaching.vercel.app, Nov 2026). Both brands share
   that new site's shapes: 12px corners on buttons and fields, 24px on cards, and
   the header as an inset bar with rounded bottom corners. Text colours meet WCAG
   AA contrast (4.5:1) on every background they're used on.
   ========================================================================== */

[data-brand="elic"] {
  --color-bg: #fbf6ee;            /* warm cream page */
  --color-surface: #fffdf9;       /* cards */
  --color-surface-alt: #f4f1ec;   /* soft warm grey: stat cards, banners, table heads */
  --color-text: #3f3423;          /* dark brown */
  --color-muted: #6b5f4d;
  --color-border: #dcd8d1;
  --color-accent: #b32a2e;        /* brick red: links, buttons, nav */
  --color-accent-strong: #8f1f23; /* hover */
  --color-accent-soft: #fbe3e4;
  --color-on-accent: #ffffff;
  --color-accent-decor: #b32a2e;  /* underlines and rules */

  --header-bg: #fffdf9;           /* the card colour, so the header bar shows */
  --header-text: #3f3423;
  --header-border: #dcd8d1;
  --footer-bg: #fbf6ee;
  --footer-text: #6b5f4d;

  --font-body: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-heading: var(--font-body);
  --heading-weight: 800;
  --heading-tracking: -0.04em;
  --label-transform: uppercase;
  --label-tracking: 0.04em;
  --button-transform: uppercase;
  --button-tracking: 0.04em;
  --eyebrow-color: #6b5f4d;
  --color-field: #fffdf9;         /* form fields */
  --color-field-border: #dcd8d1;
  /* The balance panel: light, on the page colour with a thin border, so the big
     number leads rather than a block of colour. */
  --color-hero-bg: #fbf6ee;
  --color-hero-text: #3f3423;
  --color-hero-strong: #3f3423;
  --color-hero-muted: #6b5f4d;
  --color-hero-border: #dcd8d1;
  --radius: 12px;
  --radius-card: 24px;
}

[data-brand="pinnacle"] {
  --color-bg: #f8f9fa;            /* light grey page */
  --color-surface: #ffffff;
  --color-surface-alt: #eef8fc;   /* very light cyan */
  --color-text: #101c22;          /* ink, as on the new site */
  --color-muted: #5c656d;
  --color-border: #dee2e6;
  --color-accent: #006f96;        /* brand blue: links, buttons */
  --color-accent-strong: #00566f; /* hover */
  --color-accent-soft: #e0f5fb;
  --color-on-accent: #ffffff;
  /* Underlines, focus rings and current-page marks. The bright cyan (#00b1e1) is
     too faint on white for these; it stays in the logo. */
  --color-accent-decor: #006f96;

  --header-bg: #ffffff;
  --header-text: #101c22;
  --header-border: #dee2e6;
  --footer-bg: #343a40;           /* charcoal */
  --footer-text: #ced4da;

  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-heading: var(--font-body);
  --heading-weight: 500;
  --heading-tracking: -0.035em;
  --label-transform: uppercase;
  --label-tracking: 0.12em;
  --button-transform: none;
  --button-tracking: normal;
  --eyebrow-color: #006f96;
  --color-field: #ffffff;
  --color-field-border: #ced4da;
  --color-hero-bg: #00323f;       /* the balance panel: the new site's deep teal */
  --color-hero-text: #ffffff;
  --color-hero-strong: #ffffff;
  --color-hero-muted: #c4e3ec;
  --color-hero-border: transparent;
  --radius: 12px;
  --radius-card: 24px;
}

/* Shared, brand-neutral values. Data colours mean the same thing on both sites. */
:root {
  --color-danger: #b42318;
  --color-received: #1d6b45;
  --color-pending: #b26a00;
  --color-forecast: #7aa7d1;
  --color-track: #e7e9ee;
  --color-notice-bg: #fff6e5;
  --color-notice-border: #f0d49a;
  --color-info-bg: var(--color-accent-soft);
  --color-info-border: var(--color-accent-decor);
}
