/* Landing /r. Base visual: /sistemas-aloise/marca.css. Sin fuentes web: tiene que pesar menos de 50 KB. */
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--aloise-fondo); color: var(--aloise-texto);
  display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 24px 16px;
}
.tarjeta {
  width: 100%; max-width: 380px; background: var(--aloise-blanco); border-radius: 16px;
  padding: 28px 22px 20px; text-align: center;
  box-shadow: 0 4px 18px rgba(16, 48, 61, .10);
  border-top: 6px solid var(--aloise-celeste);
}
.logo { width: 200px; max-width: 80%; height: auto; display: block; margin: 0 auto 18px; }
.spinner {
  width: 46px; height: 46px; margin: 0 auto 18px; border-radius: 50%;
  border: 5px solid var(--aloise-borde-suave);
  border-top-color: var(--aloise-celeste); border-right-color: var(--aloise-rojo);
  border-bottom-color: var(--aloise-amarillo);
  animation: girar .9s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }
h1 { font-size: 1.3rem; line-height: 1.3; margin: 0 0 8px; color: var(--aloise-rojo); }
p { margin: 0 0 16px; font-size: 1rem; line-height: 1.45; }
.invito { font-size: .95rem; font-weight: 500; color: var(--aloise-texto); margin-bottom: 12px; }
.invito[hidden], .btn[hidden] { display: none; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 700;
  background: var(--aloise-azul); color: var(--aloise-blanco); text-decoration: none;
  font-size: 1rem; margin-bottom: 16px;
}
.btn:hover { background: var(--aloise-azul-hover); }
.btn:focus-visible { outline: 3px solid var(--aloise-rojo); outline-offset: 2px; }
.privacidad { font-size: .75rem; color: var(--aloise-texto-suave); margin: 4px 0 0; line-height: 1.4; }
@media (prefers-reduced-motion: reduce) {
  .spinner { animation: none; }
}
