/* Base común: tokens, reinicio y componentes sueltos. Colores de posición = DOMINIO §2 (validados). */
:root {
  --fondo: #0b1424;
  --fondo-2: #101c33;
  --panel: #121f38;
  --linea: #243a5e;
  --texto: #e8f0ff;
  --tenue: #9db1d1;
  --acento: #ffd98a;
  --acento-tinta: #2a1d00;
  --ok: #2fb36d;
  --aviso: #f2c230;
  --peligro: #e5484d;

  --c-baix: #2f7be0;
  --c-unio: #5aa9ff;
  --c-contrafort: #2fb36d;
  --c-primeresMans: #a77be6;
  --c-agulla: #f2c230;
  --c-crossa: #e5484d;
  --c-lateral: #e8964a;
  --c-vent: #6fd3cf;

  --f-texto: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-titulo: "Bricolage Grotesque", "Segoe UI Variable Display", system-ui, sans-serif;
  --radio: 14px;
  --tap: 44px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fondo); color: var(--texto);
  font: 16px/1.5 var(--f-texto); -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
