:root {
  --azul: #1A4F6E;
  --azul-medio: #2A7A9D;
  --celeste: #5BA8C4;
  --blanco: #FFFFFF;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }

html, body { height: 100%; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 16px;
  background: radial-gradient(120% 90% at 50% 0%, var(--azul-medio) 0%, var(--azul) 60%);
  color: var(--blanco);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.portada {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
  animation: aparecer 900ms ease-out both;
}

.logo { width: min(320px, 70vw); height: auto; }

h1 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
  line-height: 1.15;
}

.pronto { font-size: clamp(2.4rem, 8vw, 4rem); color: var(--celeste); }

.lema { font-size: clamp(1.25rem, 4.5vw, 2rem); }

.bajada {
  max-width: 34rem;
  font-size: clamp(1rem, 3.5vw, 1.125rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.pie {
  padding: 24px 0;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

@keyframes aparecer {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .portada { animation: none; }
}
