@import url('variables.css');

/*
 Capa base global: reset minimo y tipografia heredable.
 Se carga antes que los CSS de componentes y de cada vista, de modo que
 estos puedan sobreescribir cualquier regla por orden/especificidad.
 No define colores de marca nuevos: usa los tokens de variables.css.
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--color-gray-800);
  background: var(--color-white);
}

h1, h2, h3, h4 {
  margin: 0 0 var(--spacing-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1.3;
  color: var(--color-gray-800);
}

h1 { font-size: var(--font-size-2xl); }
h2 { font-size: var(--font-size-xl); }
h3 { font-size: var(--font-size-lg); }
h4 { font-size: var(--font-size-base); }

p {
  margin: 0 0 var(--spacing-md);
  line-height: 1.6;
}

a {
  color: var(--color-primary);
}
