/*
 * Brand palette: the only stylesheet a deployment swaps (BRAND=<name> serves web/brands/<name>/css/
 * brand.css at this same URL). It may only redefine --color-* tokens of tokens.css, each as
 * light-dark(light, dark); never add token names, never touch spacing, type or motion. Every page
 * links it right after tokens.css. scripts/check-contrast.py proves the pairs listed in tokens.css.
 *
 * Default brand: Datamob (Guia de Identidade Visual p.15 + brand rules 2026-10-13). Azul Marinho
 * #2A3F53 leads text and structure, Verde #17B89B is the signal (decorative on light: white on it is
 * 2.51:1, so text and buttons use the darker #0E7A67), Azul #4694D0 carries information, Lilás
 * #AD7CB7 is the rare third accent. Dark mode is the site's night navy #0B1320.
 */
@layer tokens {
  :root {
    --color-bg: light-dark(#eef2f5, #0b1320);
    --color-surface: light-dark(#ffffff, #1b2a38);
    --color-surface-raised: light-dark(#ffffff, #2a3f53);
    --color-surface-sunken: light-dark(#e3e9ef, #111c29);
    --color-surface-inverse: light-dark(#2a3f53, #f2f5f7);
    --color-border: light-dark(#d3dbe3, #3a5068);
    --color-border-strong: light-dark(#6d6e70, #9d9fa1);
    --color-text: light-dark(#2a3f53, #f2f5f7);
    --color-text-muted: light-dark(#566573, #c6c8ca);
    --color-text-inverse: light-dark(#ffffff, #2a3f53);

    --color-action: light-dark(#0e7a67, #17b89b);
    --color-action-hover: light-dark(#0b6655, #3dcfb5);
    --color-action-tint: light-dark(#e3f6f2, #143b36);
    --color-on-action: light-dark(#ffffff, #231f20);
    --color-brand: #17b89b;
    --color-brand-2: #4694d0;
    --color-brand-3: #ad7cb7;
    --color-nav: light-dark(#2a3f53, #0b1320);
    --color-nav-hover: light-dark(#1b2a38, #1b2a38);
    --color-nav-active: #0e7a67;
    --color-on-nav: light-dark(#ffffff, #f2f5f7);

    --color-info: light-dark(#2e6fa3, #6aaee0);
    --color-info-tint: light-dark(#e1eef8, #15314a);
    --color-info-strong: light-dark(#1e4a70, #bfdcf3);
    --color-scrim: light-dark(rgb(42 63 83 / 0.5), rgb(0 0 0 / 0.6));

    /* Tracks follow the chart order of the brand: Verde, Azul, Lilás. */
    --color-track-suporte: light-dark(#0e7a67, #17b89b);
    --color-track-suporte-tint: light-dark(#e3f6f2, #11362f);
    --color-track-implantacao: light-dark(#2e6fa3, #6aaee0);
    --color-track-implantacao-tint: light-dark(#e1eef8, #15314a);
    --color-track-vendas: light-dark(#7c4f86, #c9a2d1);
    --color-track-vendas-tint: light-dark(#f3e9f5, #3a2740);
  }
}
