/* ============================================================================
   Brand overrides (white labelling).

   The Aware360 palette is the default, defined as semantic tokens in
   styles.css :root (--dark*, --accent*, --focus-ring, ...). A brand redefines
   ONLY those tokens here; every component picks them up automatically. The
   server sets <html data-brand="..."> from the hostname the page was requested
   on (server/lib/brands.js), so the first paint is already on-brand.

   Preview locally: any page + ?brand=telus (cookie), ?brand=auto to clear.
   ========================================================================== */

/* ---- TELUS (devicetest.telus.net) ---------------------------------------
   Colours from the TELUS Universal Design System palette:
     TELUS Purple #4B286D · Eminence #613889 · Deluge #7C53A5 · Light Purple #EFEDFF
     TELUS Green #66CC00 (on dark) · Accessible Green #2B8000 (text/buttons on white)
     Neutrals: Thunder #2C2E30 · Shuttle #676E73 · Mystic #E3E6E8 · Athens #F4F4F7
   Font: TELUS digital properties set Helvetica Neue with an Arial fallback. */
html[data-brand="telus"] {
  --dark:        #4B286D;
  --dark-2:      #613889;
  --dark-3:      #7C53A5;
  --accent:      #2B8000;
  --accent-deep: #1F5C09;
  --accent-burn: #2B8000;
  --accent-soft: #66CC00;
  --accent-on-dark: #66CC00;
  --accent-glow: rgba(43,128,0,.45);
  --accent-glow-hover: rgba(43,128,0,.6);
  --hero-glow:   rgba(102,204,0,.22);
  --focus-ring:  rgba(43,128,0,.22);
  --hl:          rgba(102,204,0,.42);
  --overlay:     rgba(63,42,84,.6);

  --blue:        #4B286D;
  --blue-mid:    #7C53A5;
  --blue-pale:   #EFEDFF;

  --ink:         #2C2E30;
  --muted:       #676E73;
  --line:        #E3E6E8;
  --bg:          #F4F4F7;

  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/* The TELUS wordmark is wider than the Aware360 mark - keep the top bar tidy on phones. */
html[data-brand="telus"] .topbar img { height: 22px; }
html[data-brand="telus"] .foot img { height: 26px; }
/* Purple gradients read better without the orange-tinted shadows of the default brand. */
html[data-brand="telus"] .btn-primary { box-shadow: 0 10px 20px -8px var(--accent-glow); }
