@font-face { font-family: Titulos; src: url(WixMadeforDisplay-Bold.ttf); font-weight: 700; font-display: swap; }
@font-face { font-family: Texto; src: url(WixMadeforText-Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Texto; src: url(WixMadeforText-SemiBold.ttf); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light dark;
  --acento: #EE6600;
  --fondo: #fff;
  --panel: #eaeaea;
  --texto: #1a1a1a;
  --suave: #5c5c5c;
  --linea: #c6c6c6;
}
@media (prefers-color-scheme: dark) {
  :root { --fondo: #1a1a1a; --panel: #242424; --texto: #fff; --suave: #c6c6c6; --linea: #3f3f3f; }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--fondo); color: var(--texto); font: 400 1.0625rem/1.6 Texto, system-ui, sans-serif; overflow-wrap: break-word; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; }
strong { font-weight: 600; }
.logo { display: block; width: auto; height: 7.5rem; margin: 0 auto; }

header { background: var(--panel); border-radius: 0 0 1.75rem 1.75rem; padding: 1.75rem 1.25rem 0; text-align: center; }
header > a { display: inline-block; }
header nav { display: flex; justify-content: center; gap: 2rem; margin-top: 1rem; }
header nav a { padding: .75rem .25rem; border-bottom: 4px solid transparent; color: var(--suave); font-weight: 600; text-decoration: none; }
header nav a:hover { color: var(--texto); }
header nav a[aria-current] { color: var(--texto); border-color: var(--acento); }

main { max-width: 44rem; margin: 0 auto; padding: 2rem 1.25rem 1rem; }
h1, h2, h3 { font-family: Titulos, system-ui, sans-serif; font-weight: 700; line-height: 1.15; text-wrap: balance; }
h1 { font-size: 2rem; margin: 0 0 .5rem; }
h1 + p { margin-top: 0; }
h2 { font-size: 1.375rem; margin: 2.5rem 0 .75rem; }
p { margin: .75rem 0; }
ul, ol { margin: .75rem 0; padding-left: 1.25rem; }
li { margin: .5rem 0; }
li::marker { color: var(--acento); font-weight: 600; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; max-width: 44rem; margin: 2rem auto 0; padding: 1.25rem 1.25rem 2.5rem; color: var(--suave); font-size: .9375rem; }

.portada main { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; text-align: center; }
.portada .logo { height: 11rem; margin-bottom: 1.5rem; }
.portada h1 { font-size: 1.5rem; }
.portada nav { display: grid; gap: .75rem; width: min(20rem, 100%); margin-top: 1rem; }
.portada nav a { padding: .9rem 1.25rem; border: 1.5px solid var(--linea); border-radius: 999px; font-weight: 600; text-decoration: none; }
.portada nav a:hover { border-color: var(--acento); }

@media print { header nav, footer { display: none; } header { background: none; } }
