/*
 * Página de próximo lanzamiento de ecoimpress.pe.
 *
 * Usa el mismo sistema de diseño que la web completa (docs/03-sistema-de-diseno.md):
 * fondo crema, cero sombras, radio de 4px, titulares en peso 400 y el verde sólo
 * en el subrayado y en el logo. Cuando salga la web completa, esta carpeta se retira.
 *
 * Las tipografías salen de este mismo dominio, nunca de Google Fonts.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fuentes/inter-latin-5.3.0.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fuentes/inter-latin-ext-5.3.0.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fuentes/source-serif-4-latin-5.3.0.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fuentes/source-serif-4-latin-ext-5.3.0.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --crema: #fbf8f6;
  --tinta: #000000;
  --carbon: #222222;
  --cuerpo: #333333;
  --secundario: #6c6a6a;
  --borde: #dadada;
  --verde: #009933;

  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  --gutter: 40px;
  --display: 52px;
}

@media (max-width: 520px) {
  :root {
    --gutter: 16px;
    --display: 32px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--crema);
  color: var(--cuerpo);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.pagina {
  min-height: 100vh;
  min-height: 100svh;
  max-width: 760px;
  margin: 0 auto;
  padding: var(--gutter);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.marca {
  width: 200px;
}

.contenido {
  align-self: center;
  padding-block: 56px;
}

.versalita {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--secundario);
}

h1 {
  margin: 16px 0 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--display);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--tinta);
  text-wrap: balance;
}

/* El único lugar decorativo donde aparece el verde. */
.subrayado-marca {
  box-shadow: inset 0 -3px 0 var(--verde);
  padding-bottom: 2px;
}

.bajada {
  margin: 0 0 32px;
  max-width: 34em;
  font-size: 18px;
  line-height: 1.6;
}

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 4px;
  background: var(--tinta);
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
}
.boton:hover {
  background: var(--carbon);
}
.boton:focus-visible {
  outline: 2px solid var(--tinta);
  outline-offset: 3px;
}

.contacto {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--secundario);
}
.contacto a {
  color: var(--cuerpo);
  text-underline-offset: 3px;
}

.avisos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 48px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--borde);
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--secundario);
}

.pie {
  padding-top: 24px;
  border-top: 1px solid var(--borde);
  font-size: 14px;
  color: var(--secundario);
}
.pie p {
  margin: 0 0 8px;
}
.pie strong {
  font-weight: 500;
  color: var(--cuerpo);
}

@media (max-width: 520px) {
  .marca {
    width: 170px;
  }
  .contenido {
    padding-block: 40px;
  }
  .bajada {
    font-size: 17px;
  }
  .boton {
    display: flex;
    width: 100%;
  }
  .avisos {
    flex-direction: column;
  }
}
