/*
 * @chaveztech/tokens · brand.css
 * ChavezTech identity, direction "Índigo sóbrio": neutrals with a slight indigo tint, one brand
 * color, one dark band. Used by ChavezTech surfaces (public site, and later the Console and the
 * login). Customer-facing apps keep the company's own --brand and do not load this file.
 * Contrast is checked by test/tokens.test.mjs (4.5:1 for text, both themes).
 */
:root {
  --bg: #f6f6f9;
  --surface: #ffffff;
  --surface-2: #f0f0f6;
  --border: #e4e4ec;
  --border-strong: #cfd0de;
  --text: #0f1020;
  --muted: #5a5d72;

  --ct-brand: #4338ca;
  --ct-brand-hover: #3730a3;
  --ct-on-brand: #ffffff;
  --ct-brand-soft: #eceafd;
  --ct-brand-text: #4338ca;
  /* Second block of the symbol: decoration only, never text. */
  --ct-brand-hi: #8183f4;

  /* Dark band (one per page) and its text. Same in both themes. */
  --ct-ink: #0d0e1a;
  --ct-ink-2: #171930;
  --ct-ink-border: #2a2d4a;
  --ct-ink-text: #ecebf7;
  --ct-ink-muted: #b9bbd0;
  --ct-on-ink: #0d0e1a;
  --ct-ink-action: #ffffff;
  --ct-ink-action-hover: #e4e3f7;
}

:root[data-theme='dark'] {
  --bg: #0b0c14;
  --surface: #131524;
  --surface-2: #181b2e;
  --border: #252840;
  --border-strong: #343858;
  --text: #ecedf5;
  --muted: #a3a6bd;

  --ct-brand: #8183f4;
  --ct-brand-hover: #9a9cf7;
  --ct-on-brand: #0b0c14;
  --ct-brand-soft: #1d1f3a;
  --ct-brand-text: #a5a7ff;
  --ct-brand-hi: #c7c8fb;

  --ct-ink: #131524;
  --ct-ink-2: #1b1e34;
  --ct-ink-border: #2c3052;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0b0c14;
    --surface: #131524;
    --surface-2: #181b2e;
    --border: #252840;
    --border-strong: #343858;
    --text: #ecedf5;
    --muted: #a3a6bd;

    --ct-brand: #8183f4;
    --ct-brand-hover: #9a9cf7;
    --ct-on-brand: #0b0c14;
    --ct-brand-soft: #1d1f3a;
    --ct-brand-text: #a5a7ff;
    --ct-brand-hi: #c7c8fb;

    --ct-ink: #131524;
    --ct-ink-2: #1b1e34;
    --ct-ink-border: #2c3052;
  }
}
