/*
 * Sin framework ni build: es una página que tiene que abrir rápido en el
 * teléfono de alguien que acaba de tocar un link en WhatsApp, probablemente con
 * datos móviles y sin paciencia.
 */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f5f8;
  --text: #1c1c1e;
  --text-soft: #5b5b60;
  --primary: #2e4fa8;
  --primary-contrast: #ffffff;
  --border: #dfe2ea;
  --warning: #b32d2d;
  --warning-bg: #fdeaea;
  --width: 54rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16171b;
    --bg-soft: #1e2026;
    --text: #ececf0;
    --text-soft: #a5a7b0;
    --primary: #8fa9f0;
    --primary-contrast: #16171b;
    --border: #2e3138;
    --warning: #ff8f8f;
    --warning-bg: #3a1f1f;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

main {
  max-width: var(--width);
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.hero {
  text-align: center;
  padding-bottom: 2.5rem;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
  margin: 0 0 1.5rem;
}

h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--text-soft);
  margin: 0 auto;
  max-width: 34rem;
}

.store-notice {
  margin: 2rem 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 2rem 0 0;
}

.store {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-contrast);
  text-decoration: none;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
}

.store.secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.features {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.features li {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
}

.features h2 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.features p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* Datos que hay que completar antes de publicar. En rojo y a propósito
   imposibles de pasar por alto. */
.placeholder {
  background: var(--warning-bg);
  color: var(--warning);
  border: 1px dashed var(--warning);
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  font-weight: 700;
  font-size: 0.85em;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  text-align: center;
}

footer a { color: var(--primary); }

footer nav {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

@media (max-width: 30rem) {
  body { font-size: 16px; }
  h1 { font-size: 1.7rem; }
  main { padding-top: 2rem; }
  .store { width: 100%; text-align: center; }
}
