/* Base compartida. Los colores y la tipografía viven en tokens.css. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--fondo);
  color: var(--marino);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--azul-accion);
}

a:hover {
  color: var(--marino);
}

:focus-visible {
  outline: 3px solid var(--azul-liceo);
  outline-offset: 2px;
}

.sr-solo {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pagina {
  min-height: 100vh;
}

.pagina__contenido {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 32px;
}

.enlace-saltar {
  position: absolute;
  left: 16px;
  top: 8px;
  transform: translateY(-150%);
  background: var(--superficie);
  color: var(--marino);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  z-index: 2;
}

.enlace-saltar:focus {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
