/* ═══════════════════════════════════════════════════════════════════════════
   EL MURO — Moto Pueblo.
   🔴 Tokens copiados a mano de `src/index.css`. Si se corrigen allá, se corrigen acá.
   🪤 Las fuentes se declaran ACÁ y ⛔ se heredan: viven en `public/fonts/` (que nginx sirve
      igual) pero sus `@font-face` están en el CSS del bundle, y el muro ⛔ sirve el bundle.
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/figtree-latin-wght-normal.woff2") format("woff2");
}

:root {
  --negro: #171c23;
  --negro-2: #232a34;
  --papel: #ffffff;
  --calcareo: #4a5064;
  --calcareo-medio: #9d9ca7;
  --linea: #dcdee3;
  --rojo: #f20104;
  --rojo-hondo: #c80003;

  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

body {
  background: var(--negro);
  color: var(--papel);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* 🔴 `dvh` y ⛔ `vh`: la barra del navegador del celular entra y sale. */
.pantalla {
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.caja {
  width: 100%;
  max-width: 440px;
  text-align: center;
}

.logo {
  display: block;
  width: auto;
  max-width: 150px;
  height: auto;
  margin: 0 auto 30px;
}

.titulo {
  margin: 0 0 20px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 9vw, 48px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--papel);
}

.texto {
  margin: 0 0 12px;
  font-size: 17px;
  color: var(--calcareo-medio);
}

.texto:last-of-type { margin-bottom: 40px; }

/* Blanco sobre el rojo de la marca. `min-height: 48px` para que el pulgar lo acierte. */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 6px;
  background: var(--rojo);
  color: var(--papel);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.boton:hover { background: var(--rojo-hondo); }
.boton:active { transform: translateY(1px); }

.boton:focus-visible {
  outline: 3px solid var(--papel);
  outline-offset: 3px;
}

.firma {
  margin: 36px 0 0;
  font-size: 13px;
  color: var(--calcareo-medio);
  opacity: 0.8;
}

/* Subrayado SIEMPRE: en un teléfono ⛔ hay hover. El padding negativo lleva el área de toque
   a 44px sin mover el texto. */
.firma-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  display: inline-block;
  padding: 12px 6px;
  margin: -12px -6px;
}

.firma-link:hover { color: var(--papel); }

.firma-link:focus-visible {
  outline: 2px solid var(--papel);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (max-height: 560px) {
  .logo { max-width: 140px; margin-bottom: 18px; }
  .titulo { font-size: 30px; margin-bottom: 14px; }
  .firma { margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .boton { transition: none; }
  .boton:active { transform: none; }
}
