:root {
  --fondo: #f5f2ed;
  --tarjeta: #ffffff;
  --texto: #1c1a22;
  --suave: #5f5b68;
  --marca: #4c44d9;
  --marca-suave: #ebe9fc;
  --borde: #e7e2d9;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fondo: #141319;
    --tarjeta: #1e1c25;
    --texto: #f3f1f7;
    --suave: #aaa6b5;
    --marca: #8f88ff;
    --marca-suave: #292640;
    --borde: #2c2935;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px;
  background: var(--fondo);
  color: var(--texto);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  text-align: center;
}

.tarjeta {
  width: 100%;
  max-width: 420px;
  padding: 40px 28px;
  background: var(--tarjeta);
  border: 1px solid var(--borde);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(24, 18, 48, 0.06);
}

.icono {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--marca-suave);
  color: var(--marca);
}

.icono svg { width: 30px; height: 30px; }

h1 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  line-height: 1.25;
  text-wrap: balance;
}

p {
  margin: 0;
  color: var(--suave);
  text-wrap: pretty;
}

.marca {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--suave);
  text-decoration: none;
}

.marca span,
.logo span { color: var(--marca); }

/* Página de inicio */
.logo {
  margin: 0 0 12px;
  font-size: clamp(2.6rem, 11vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.portada p { max-width: 30ch; margin: 0 auto; }
