/* ── Brand palette — exact values from the Manual de identidad, §5 Paleta cromática ── */
:root{
  --eidos-ink:#181633;            /* Pantone 2119 — primary brand dark */
  --eidos-violet-deep:#2D008C;
  --eidos-violet:#5325B8;
  --eidos-violet-bright:#7B4DE7;
  --eidos-periwinkle:#9D9AC8;
  --eidos-rose:#D4A8AD;
  --eidos-sand:#E1CCB3;
  --eidos-black:#000000;
  --eidos-white:#FFFFFF;

  /* ── 2026 brochure additions (Brochure 2026.fig) ── the current deck/PDF language
     keeps the 2021 palette and adds an electric brand blue, an off-white paper
     ground and two lavenders used for stat numerals and labels. */
  --eidos-ink-2026:#181631;        /* rgb(24,22,49) — ink as used in every 2026 page */
  --eidos-blue:#482CF9;            /* rgb(72,44,249) — stars, rules, filled chips, step dots */
  --eidos-paper:#F4F1EC;           /* rgb(244,241,236) — light page ground */
  --eidos-lavender:#DFDDFF;        /* rgb(223,221,255) — 140px stat numerals on ink */
  --eidos-lavender-mid:#A49EFF;    /* rgb(164,158,255) — label chips, hairlines */
  --eidos-lavender-deep:#A09BC7;   /* rgb(160,155,199) — section titles on ink */
  --eidos-mauve:#C6A4B4;           /* rgb(198,164,180) — wave stroke */
  --eidos-slate:#75739C;           /* rgb(117,115,156) — wave stroke */
  --eidos-ink-soft:#323051;        /* rgb(50,48,81) — wave stroke, darkest */

  /* The wave ("malla 2026") is drawn with this 7-stop stroke ramp, light to dark */
  --wave-stroke-1:var(--eidos-sand);
  --wave-stroke-2:var(--eidos-rose);
  --wave-stroke-3:var(--eidos-mauve);
  --wave-stroke-4:#A09BC7;
  --wave-stroke-5:var(--eidos-periwinkle);
  --wave-stroke-6:var(--eidos-slate);
  --wave-stroke-7:var(--eidos-ink-soft);

  /* Neutrals — derived from the ink hue. The brand book names three greys
     ("Piramidal", "Gris Claro", "Gris Oscuro") without printing values;
     this ramp fills that gap and keeps the ink cast. */
  --gray-50:#F6F6F9;
  --gray-100:#ECECF2;
  --gray-200:#D7D7E1;
  --gray-300:#B9B9C9;
  --gray-400:#8E8EA3;
  --gray-500:#6A6A80;
  --gray-600:#4C4C60;
  --gray-700:#343446;
  --gray-800:#211E45;
  --gray-900:#181633;

  /* ── Semantic aliases ── */
  --text-primary:var(--eidos-ink);
  --text-secondary:var(--gray-500);
  --text-muted:var(--gray-400);
  --text-inverse:var(--eidos-white);
  --text-inverse-secondary:var(--eidos-periwinkle);
  --text-accent:var(--eidos-violet-bright);
  --text-link:var(--eidos-violet);
  --text-link-hover:var(--eidos-violet-deep);

  --surface-page:var(--eidos-white);
  --surface-subtle:var(--gray-50);
  --surface-card:var(--eidos-white);
  --surface-inverse:var(--eidos-ink);
  --surface-inverse-raised:var(--gray-800);
  --surface-accent:var(--eidos-violet-bright);
  --surface-accent-soft:#EFE9FC;
  --surface-rose:var(--eidos-rose);
  --surface-sand:var(--eidos-sand);
  --surface-paper:var(--eidos-paper);

  --border-subtle:var(--gray-200);
  --border-strong:var(--gray-300);
  --border-inverse:rgba(255,255,255,.18);
  --border-accent:var(--eidos-violet-bright);

  --accent-electric:var(--eidos-blue);
  --accent:var(--eidos-violet-bright);
  --accent-hover:var(--eidos-violet);
  --accent-press:var(--eidos-violet-deep);
  --focus-ring:var(--eidos-violet-bright);

  /* Status colours are an intentional addition — the brand book defines none.
     Hues are picked to sit beside the violet without fighting it. */
  --status-success:#1E7F5C;
  --status-warning:#B07A1E;
  --status-danger:#B0223F;
  --status-info:var(--eidos-violet);

  --stat-numeral:var(--eidos-lavender);
}
