/* What the landing did not have: the download call to action, the links of the footer, the pricing section, and the pages around it.
   It speaks the landing's language: paper and ink, straight lines, one shadow only on the app's window. */

/* ---------- The paper, under everything the first screen does not cover ---------- */

body { position: relative; isolation: isolate; }
body::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .05; background: url("grano.svg"); pointer-events: none; }

/* ---------- The call to action ---------- */

.descarga {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--chip-borde);
  background: var(--chip-fondo);
  color: var(--chip-tinta);
  font-size: 13px;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s, border-color .2s;
}
a.descarga[href]:hover { transform: translateY(-1px); border-color: var(--chip-borde-activo); }
.descarga[aria-disabled="true"] { color: var(--tinta-tenue); border-style: dashed; cursor: default; }

.cabecera .descarga { position: absolute; left: var(--margen); top: 50%; margin-top: -20px; }
/* A flexible box drops the space before its second part. */
.descarga-mac { margin-left: .28em; }
/* On a phone the logo is close, so the header's button says less. */
@media (max-width: 480px) {
  .descarga-mac { display: none; }
}
@media (max-width: 360px) {
  .cabecera .descarga { padding: 0 8px; font-size: 12px; }
}

.descarga.llena { height: 44px; padding: 0 22px; border-color: var(--enviar-activo-fondo); background: var(--enviar-activo-fondo); color: var(--enviar-activo-tinta); font-size: 14px; }
.descarga.llena[aria-disabled="true"] { border-color: var(--chip-borde); background: transparent; color: var(--tinta-tenue); }

/* ---------- The links of the footer ---------- */

.pie-enlaces { display: none; gap: 20px; margin-left: auto; margin-right: 24px; }
.pie a { color: inherit; text-decoration: none; transition: color .2s; }
.pie a:hover { color: var(--tinta); }

@media (min-width: 900px) {
  .pie-enlaces { display: flex; }
}

/* The footer at the end of a page, under everything: the same strip, in the flow. */
.pie-final {
  height: auto;
  min-height: var(--pie);
  margin: 0 var(--margen);
  padding: 12px 0;
  flex-wrap: wrap;
}
.pie-final .pie-enlaces { display: flex; }
.documento code { font-family: var(--mono); font-size: .86em; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .pie-final { row-gap: 10px; padding: 14px 0; font-size: 11px; }
  .pie-final .pie-enlaces { order: 3; flex-basis: 100%; margin: 0; }
}

/* ---------- Pricing ---------- */

.precios {
  position: relative;
  padding: clamp(56px, 11vh, 110px) var(--margen) clamp(40px, 8vh, 80px);
  color: var(--tinta);
}
.precios h2 {
  margin: 0;
  font-size: clamp(31px, 4.4vw, 56px);
  font-weight: 450;
  letter-spacing: -.045em;
  line-height: 1.05;
  text-align: center;
  text-wrap: balance;
}
.precios-entrada {
  max-width: 37em;
  margin: 14px auto 0;
  color: var(--tinta-suave);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.5;
  letter-spacing: -.011em;
  text-align: center;
  text-wrap: balance;
}

.planes {
  max-width: 1120px;
  margin: clamp(32px, 6vh, 56px) auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--raya-pagina);
  border-left: 1px solid var(--raya-pagina);
}
.plan { padding: 22px 20px 24px; border-right: 1px solid var(--raya-pagina); border-bottom: 1px solid var(--raya-pagina); }
.plan h3 { margin: 0; font-family: var(--serifa); font-size: 22px; line-height: 26px; font-style: italic; font-weight: 400; }
.precio { margin: 14px 0 0; font-size: 40px; line-height: 1; font-weight: 450; letter-spacing: -.04em; }
.precio small { margin-left: 2px; color: var(--tinta-tenue); font-size: 14px; font-weight: 400; letter-spacing: -.005em; }
.plan-creditos { margin: 14px 0 0; font-family: var(--mono); font-size: 12px; line-height: 18px; color: var(--tinta); }
.plan-nota { margin: 8px 0 0; font-size: 14px; line-height: 20px; letter-spacing: -.006em; color: var(--tinta-suave); }

.precios-detalle {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  border-left: 1px solid var(--raya-pagina);
}
.paquetes, .gastos { padding: 22px 20px 24px; border-right: 1px solid var(--raya-pagina); border-bottom: 1px solid var(--raya-pagina); }
.paquetes h3, .gastos h3 { margin: 0; font-size: 16px; line-height: 22px; font-weight: 500; letter-spacing: -.01em; }
.paquetes p, .gastos p { margin: 6px 0 0; font-size: 14px; line-height: 20px; color: var(--tinta-suave); }
.paquetes-lista, .gastos-lista { margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; }
.paquetes-lista li, .gastos-lista li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-top: 1px solid var(--raya-pagina); }
.paquetes-lista b { font-weight: 500; }
.paquetes-lista span, .gastos-lista span:last-child { font-family: var(--mono); font-size: 12px; color: var(--tinta-suave); }
.gastos p { margin-top: 12px; }

.precios-accion { margin-top: clamp(28px, 5vh, 44px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.requisitos { margin: 0; font-family: var(--mono); font-size: 11.5px; line-height: 16px; letter-spacing: .02em; color: var(--tinta-suave); text-align: center; }
.precios-letra { max-width: 760px; margin: clamp(20px, 3vh, 28px) auto 0; font-size: 13px; line-height: 19px; color: var(--tinta-suave); text-align: center; text-wrap: pretty; }
.precios-letra b { font-weight: 500; color: var(--tinta); }
.precios-letra a { color: inherit; text-underline-offset: 2px; }

/* ---------- The pages around the landing ---------- */

.pagina { --tira: 0px; display: flex; flex-direction: column; min-height: calc(100 * var(--vh)); }
.pagina .cabecera { position: relative; flex: none; }

.documento {
  flex: 1;
  width: min(100% - 2 * var(--margen), 720px);
  margin: 0 auto;
  padding: clamp(16px, 4vh, 40px) 0 clamp(48px, 9vh, 88px);
  color: var(--tinta-suave);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -.006em;
}
.documento h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  text-align: left;
  white-space: normal;
  color: var(--tinta);
}
.documento h2 { margin: 2.4em 0 .6em; scroll-margin-top: 16px; color: var(--tinta); font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -.02em; }
.documento h3 { margin: 1.6em 0 .4em; color: var(--tinta); font-family: var(--serifa); font-size: 19px; line-height: 1.3; font-style: italic; font-weight: 400; letter-spacing: 0; }
.documento p, .documento ul, .documento ol { margin: 0 0 1em; }
.documento ul, .documento ol { padding-left: 1.2em; }
.documento li { margin-bottom: .45em; }
.documento a { color: var(--tinta); text-underline-offset: 2px; }
.documento strong { color: var(--tinta); font-weight: 500; }
.documento address { font-style: normal; }
.documento .fecha { margin: 14px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--tinta-tenue); }
.documento .entradilla { margin: 22px 0 0; color: var(--tinta); font-size: 18px; line-height: 1.5; letter-spacing: -.012em; }

.aviso-claro { margin: 1.4em 0; padding: 14px 16px; border: 1px solid var(--raya-pagina); color: var(--tinta); }
.aviso-claro p:last-child, .aviso-claro ul:last-child { margin-bottom: 0; }

.indice { margin: 2em 0 0; padding: 14px 16px; border: 1px solid var(--raya-pagina); font-size: 14px; line-height: 1.5; }
.indice ol { margin: 0; columns: 2; column-gap: 24px; padding-left: 1.4em; }
.indice li { margin-bottom: .2em; break-inside: avoid; }
.indice a { color: var(--tinta-suave); text-decoration: none; }
.indice a:hover { color: var(--tinta); text-decoration: underline; }

.tabla { width: 100%; margin: 1.2em 0 1.6em; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.tabla th { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--tinta-tenue); color: var(--tinta); font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: .02em; text-align: left; vertical-align: bottom; }
.tabla td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--raya-pagina); vertical-align: top; }
.tabla td:first-child { color: var(--tinta); }

/* A table on a phone: each row a small card, with its column named above each value. */
@media (max-width: 640px) {
  .indice ol { columns: 1; }
  .tabla thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tabla, .tabla tbody, .tabla tr, .tabla td { display: block; width: 100%; }
  .tabla tr { padding: 10px 0; border-bottom: 1px solid var(--raya-pagina); }
  .tabla td { padding: 3px 0; border: 0; }
  .tabla td::before { content: attr(data-label); display: block; color: var(--tinta-tenue); font-family: var(--mono); font-size: 11px; letter-spacing: .02em; }
}

.soporte-correo { display: inline-block; margin: 1.2em 0 .4em; color: var(--tinta); font-size: clamp(26px, 4vw, 36px); line-height: 1.2; font-weight: 450; letter-spacing: -.03em; }

.no-hallada { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px var(--margen) 64px; text-align: center; }
.no-hallada h1 { max-width: 13.5em; margin: 0; white-space: normal; font-size: clamp(34px, 5vw, 56px); }
.no-hallada p { margin: 14px 0 26px; color: var(--tinta-suave); font-size: 16px; line-height: 1.5; }
