/* Página única del sitio «En construcción». Sin JavaScript, sin fuentes ni recursos de fuera (la CSP solo deja 'self').
   Medidas y colores: docs/diseno/sitio-en-construccion.md. Espaciado en múltiplos de 8 px; sin animaciones. */
:root {
  color-scheme: light dark;
  --fondo: #f6f7f9;
  --texto: #0e1726;
  --apoyo: #4a5568;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fondo: #0e1726;
    --texto: #f6f7f9;
    --apoyo: #a0aec0;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  background: var(--fondo);
  color: var(--texto);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

img {
  display: block;
  max-width: min(256px, 100%);
  height: auto;
}

h1 {
  margin: 2.5rem 0 1rem;
  max-width: 20ch;
  font-size: 1.75rem;
  line-height: 1.25;
  font-weight: 700;
  text-wrap: balance;
  overflow-wrap: break-word;
}

p {
  margin: 0;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--apoyo);
  overflow-wrap: break-word;
}

footer {
  margin-top: 1.5rem;
  text-align: center;
}

footer p {
  margin-inline: auto; /* el párrafo tiene ancho máximo: sin esto, en pantallas anchas se queda a la izquierda */
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (min-width: 600px) {
  body {
    padding: 4rem 3rem;
  }

  h1 {
    margin-top: 3rem;
    font-size: 2.5rem;
    line-height: 1.2;
  }

  p {
    font-size: 1.25rem;
  }
}
