/* Páginas públicas de textos legales (/legal/...). */
@font-face { font-family: "Momo Trust Display"; src: url("/fonts/momo-trust-display.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
:root {
  --fondo: #ffffff; --texto: #1e222e; --suave: #6c7280; --borde: #e1e5ee; --primario: #203b70; --info-fondo: #f3f5f9;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --fondo: #0f141c; --texto: #e8ebf2; --suave: #a2a8b6; --borde: #2a3342; --primario: #9db4e6; --info-fondo: #1a2740; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 "Hanken Grotesk", Arial, sans-serif; background: var(--fondo); color: var(--texto); }
a { color: var(--primario); }
header { background: var(--fondo); border-bottom: 1px solid var(--borde); padding: 0.6rem 1rem; }
.marca { display: inline-flex; align-items: center; text-decoration: none; }
.marca img { display: block; height: 40px; width: auto; }
main { max-width: 760px; margin: 0 auto; padding: 1rem 16px 2rem; }
h1 { font-family: "Momo Trust Display", "Hanken Grotesk", Arial, sans-serif; font-weight: 400; font-size: 1.6rem; line-height: 1.25; margin: 1rem 0 0.5rem; }
h2 { font-size: 1.1rem; margin: 1.75rem 0 0.5rem; }
ul, ol { padding-left: 1.3rem; }
li { margin: 0.25rem 0; }
table { width: 100%; border-collapse: collapse; margin: 0.75rem 0; font-size: 0.93rem; display: block; overflow-x: auto; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem; border-bottom: 1px solid var(--borde); }
th { color: var(--suave); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--borde); margin: 1.5rem 0; }
small { color: var(--suave); }
.aviso { background: var(--info-fondo); padding: 0.75rem 1rem; border-radius: 8px; }
.documentos { list-style: none; padding: 0; }
.documentos li { padding: 0.6rem 0; border-bottom: 1px solid var(--borde); }
.firmas { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 4rem; }
.firmas span { flex: 1; min-width: 200px; border-top: 1px solid var(--texto); padding-top: 0.4rem; }
footer { max-width: 760px; margin: 0 auto; padding: 1rem 16px 2rem; border-top: 1px solid var(--borde); color: var(--suave); font-size: 0.88rem; }
@media print {
  header, footer { display: none; }
  body { background: #fff; color: #000; }
  a { color: inherit; text-decoration: none; }
}
