/* ============================================================
   REINICIO DE ESTILOS (RESET)
   Normaliza el comportamiento de los elementos en todos los
   navegadores antes de aplicar los estilos del sitio.
   ============================================================ */

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    background: transparent;
}

body {
    font-family: var(--font-serif);
    font-weight: var(--fw-400);
    font-size: var(--fs-md);
    color: var(--text-secondary);
    min-height: 100vh;
    line-height: 1.5;
    background: var(--background); /* fondo explícito: sin él, algunos navegadores en modo oscuro pintan negro */
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img,
video {
    max-width: 100%;
}
