/* Web de GENTE: los colores de la app (spec 12), oscuro y claro según el móvil. */
@font-face { font-family: 'Sora'; src: url('fuentes/Sora.ttf') format('truetype'); font-weight: 100 800; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url('fuentes/AtkinsonHyperlegible-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url('fuentes/AtkinsonHyperlegible-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --fondo: #F5F8F7; --superficie: #FFFFFF; --lineas: #D5E2E0;
  --primario: #087A72; --texto: #0F2326; --texto-secundario: #46605E;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fondo: #0A1C20; --superficie: #11272C; --lineas: #24474D;
    --primario: #1ED6C6; --texto: #E6F2F1; --texto-secundario: #8FB0AE;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fondo); color: var(--texto);
  font: 400 1.0625rem/1.6 'Atkinson Hyperlegible', system-ui, sans-serif;
}
main { max-width: 42rem; margin: 0 auto; padding: 2rem 16px 4rem; }
h1, h2 { font-family: 'Sora', system-ui, sans-serif; line-height: 1.25; }
h1 { font-size: 2rem; font-weight: 700; margin: 0 0 .25rem; }
h2 { font-size: 1.25rem; font-weight: 600; margin: 2rem 0 .5rem; }
p, li { overflow-wrap: anywhere; }
a { color: var(--primario); }
a:focus-visible { outline: 3px solid var(--primario); outline-offset: 2px; }
.cabecera { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; margin-bottom: 2rem; }
.cabecera img { width: 40px; height: 40px; }
.cabecera span { font-family: 'Sora', system-ui, sans-serif; font-weight: 700; font-size: 1.25rem; }
.portada { text-align: center; padding-top: 2rem; }
.portada img { width: 120px; height: 120px; }
.subtitulo { color: var(--texto-secundario); font-size: 1.125rem; margin: 0 0 2rem; }
.tarjeta { background: var(--superficie); border: 1px solid var(--lineas); border-radius: 16px; padding: 1rem 1.25rem; text-align: left; }
.fecha, footer { color: var(--texto-secundario); font-size: .9375rem; }
footer { border-top: 1px solid var(--lineas); margin-top: 3rem; padding-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
