/* Reset + variables básicas */
:root{
  --bg: #111111;      /* Fondo negro RiseOne */
  --text: #ebe7e2;    /* Blanco cálido */
  --muted: #c9c3bb;   /* Texto secundario */
  --accent: #ff4655;  /* Acento */
}

*{ box-sizing: border-box; }
html, body { height: 100%; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  line-height: 1.5;
}

/* Centro vertical y horizontal, con padding seguro móvil */
.container{
  min-height: 100svh;
  display: grid;
  place-content: center;
  gap: 1.25rem;
  text-align: center;
  padding: 2rem;
  padding-left: max(2rem, env(safe-area-inset-left));
  padding-right: max(2rem, env(safe-area-inset-right));
}

/* Logo responsive con límites elegantes */
.logo{
  display: block;
  margin: 0 auto;
  width: clamp(324px, 50vw, 936px);
  height: auto;
  filter: drop-shadow(0 0 0 transparent); /* evita cambios de color no deseados */
}

/* Copys */
.tagline{
  margin: 0.25rem 0 0.25rem;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--muted);
}

/* Email */
.email{
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 600;
}
.email a{
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.email a:hover,
.email a:focus{
  color: var(--accent);
  outline: none;
}

/* Mejora de contraste si el usuario lo solicita en su SO */
@media (prefers-contrast: more){
  .email a{
    text-decoration-thickness: 0.14em;
  }
}
