/*
 * Portada de la demo · "Línea con banda" (DESIGN.md). Sobre /estilos/tokens.css.
 * Negro, líneas finas y una sola raya roja (bajo el letrero). Celular primero; en pantalla ancha
 * los tres botones van en fila.
 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}
html {
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--letra);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--fondo);
}
[hidden] {
  display: none !important;
}

.inicio {
  width: min(72rem, 100%);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: var(--e6) var(--e4) var(--e5);
  display: flex;
  flex-direction: column;
  gap: var(--e6);
}

/* ───── Letrero ───── */
.cabeza {
  padding-top: var(--e4);
}
.casco {
  display: block;
  width: 96px;
  height: auto;
  margin-bottom: var(--e4);
}
.letrero {
  display: inline-block;
  padding-bottom: var(--e3);
  border-bottom: 4px solid var(--marca-rojo);
  font-family: var(--letrero);
  font-weight: 400;
  font-size: clamp(1.125rem, 6.4vw, 3.6rem); /* Michroma es ancha: "SPARTAN CROSS" mide ~14.3 em */
  line-height: 1.1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.letrero b {
  font-weight: 400;
  color: var(--marca-rojo);
}
.demo {
  margin-top: var(--e5);
  font-stretch: var(--angosta);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aviso-t);
}
.lema {
  margin-top: var(--e2);
  max-width: 34ch;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--texto-2);
}

/* ───── Los tres botones ───── */
.botones {
  display: grid;
  gap: var(--e3);
}
.boton {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--e2);
  min-height: 112px;
  padding: var(--e5) 64px var(--e5) var(--e5);
  border: 1px solid var(--linea-fuerte);
  background: var(--capa);
  color: var(--texto);
  text-decoration: none;
  transition: border-color 120ms ease-out, background-color 120ms ease-out;
}
.boton:first-child {
  background: var(--accion);
  border-color: var(--accion);
  color: var(--accion-texto);
}
.b-t {
  font-stretch: var(--angosta);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}
.b-s {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--texto-2);
}
.boton:first-child .b-s {
  color: #3d3d3d;
}
.flecha {
  position: absolute;
  right: var(--e5);
  top: 50%;
  width: 28px;
  height: 28px;
  translate: 0 -50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.boton:hover {
  border-color: var(--texto);
}
.boton:first-child:hover {
  background: #e6e6e6;
}
.boton:active {
  background: var(--capa-2);
}
.boton:first-child:active {
  background: #d9d9d9;
}
.boton:focus-visible {
  outline: 3px solid var(--texto);
  outline-offset: 3px;
}

/* ───── Pie ───── */
.pie {
  margin-top: auto;
  padding-top: var(--e4);
  border-top: 1px solid var(--linea);
  display: grid;
  gap: var(--e1);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--texto-3);
}
.dominio {
  overflow-wrap: anywhere;
}

@media (min-width: 900px) {
  .inicio {
    padding: 64px 32px 32px;
    gap: 56px;
  }
  .casco {
    width: 128px;
  }
  .botones {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--e4);
  }
  .boton {
    min-height: 220px;
    justify-content: flex-end;
    padding: var(--e6) var(--e5);
  }
  .b-t {
    font-size: 2.4rem;
  }
  .flecha {
    top: var(--e6);
    translate: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .boton {
    transition: none;
  }
}
