/* Páginas legales (spec 0010): mismos colores y letra que public/index.html. */
:root {
  --azul: #2F6496;
  --tinta: #1F2A37;
  --gris: #5B6675;
  --fondo: #F4F7FA;
  --linea: #E3EDF6;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--tinta);
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
}
header {
  padding: 20px 16px;
  border-bottom: 1px solid var(--linea);
  display: flex;
  justify-content: center;
}
header .logo { width: 180px; height: auto; display: block; }
main { flex: 1; padding: 40px 16px 56px; }
article { max-width: 72ch; margin: 0 auto; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.2rem); font-weight: 800; line-height: 1.2; }
.vigencia { margin-top: 8px; color: var(--gris); font-weight: 700; }
h2 { margin-top: 36px; font-size: 1.25rem; font-weight: 800; color: var(--azul); line-height: 1.3; }
p, ul, ol { margin-top: 12px; }
ul, ol { padding-left: 1.4em; }
li + li { margin-top: 6px; }
article a { color: var(--azul); font-weight: 700; }
footer {
  border-top: 1px solid var(--linea);
  background: var(--fondo);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gris);
}
.legales { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.powered { display: inline-flex; align-items: center; gap: 12px; color: var(--gris); text-decoration: none; font-weight: 500; }
.powered img { height: 48px; width: auto; mix-blend-mode: multiply; }
.powered:hover span { color: var(--azul); }
a:focus-visible { outline: 2px solid var(--azul); outline-offset: 4px; border-radius: 4px; }
footer a.texto { color: var(--azul); font-weight: 700; text-decoration: none; }
footer a.texto:hover { text-decoration: underline; }
.version { font-size: 0.8rem; }
