/* Reset mínimo + tipografía base. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

/* El fondo de la app es el de la portada de la landing: azul noche con la grilla de puntos.
   Arriba es ese azul y, a medida que baja, se funde a negro. */
body {
  background-color: var(--fondo);
  background-image:
    radial-gradient(var(--punto) 1px, transparent 1.4px),
    linear-gradient(180deg, var(--fondo-alto), #000000);
  background-size: 22px 22px, auto;
  color: var(--texto-2);
  font-family: var(--fuente);
  font-size: var(--t-cuerpo);
  font-weight: var(--peso-regular);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  color: var(--texto);
  margin: 0;
  font-family: var(--fuente-titulo);
  font-weight: 700;
  line-height: 1.1;
}

h1 {
  font-size: var(--t-h1);
  letter-spacing: -0.015em;
}

h2 {
  font-size: 1.45rem;
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0;
}

a {
  color: var(--texto);
}

img,
video,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--celeste);
  outline-offset: 2px;
}

.oculto {
  display: none !important;
}

.muteado {
  color: var(--texto-3);
}

.chico {
  font-size: var(--t-chico);
}

/* Para lo que tiene que leerlo un lector de pantalla y no verse. */
.solo-lector {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
