/*
 * Estilos del press kit (/press y /en/press) y de la página «Alternativa a
 * Pocket» (/alternativa-a-pocket y /en/pocket-alternative), encima de kanso.css.
 *
 * Solo maquetación: colores, radios y tipografías salen de las variables de
 * kanso.css, así que el tema claro y el oscuro llegan solos. Las páginas la
 * enlazan como /press.css?v=N; si cambia a la vez que el HTML, sube N en las dos.
 */

.press-header {
  max-width: 880px;
}

.press {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.muted {
  color: var(--taupe);
}
.small {
  font-size: 0.875rem;
}

/* ---------- Portada ---------- */

.press-hero {
  padding: clamp(56px, 10vh, 104px) 0 clamp(32px, 6vh, 56px);
}
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 12px;
}
.press-hero h1 {
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.press-hero .lede {
  max-width: 36rem;
  margin-top: 20px;
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  color: var(--taupe);
}
.actions,
.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- Secciones ---------- */

.press-section {
  padding: clamp(40px, 7vh, 64px) 0;
  border-top: 1px solid var(--hairline);
}
.press-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 20px;
}
.press-section h3 {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 28px 0 10px;
}
.press-section > p + p {
  margin-top: 16px;
}
.press-section > p.small {
  margin-top: 16px;
}

/* ---------- De un vistazo ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 8px 28px;
}
.facts div {
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
}
.facts div:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.facts div:nth-child(odd) {
  padding-right: 24px;
}
.facts dt {
  font-size: 0.8125rem;
  color: var(--taupe);
}
.facts dd {
  margin: 2px 0 0;
  font-weight: 500;
}
.facts dd .muted {
  font-weight: 400;
}

/* ---------- Textos para copiar ---------- */

.copyable {
  margin: 0;
  padding: 22px 26px;
}
.copyable p {
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.55;
}

/* ---------- Cómo funciona ---------- */

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-left: 44px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--serif);
  color: var(--taupe);
}
.steps strong {
  font-weight: 600;
}

/* ---------- Precios ---------- */

.plan-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.plan-box {
  padding: 24px 24px 26px;
}
.plan-box h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--charcoal);
}
.plan-box--pro {
  box-shadow: 0 12px 24px var(--shadow), inset 0 0 0 1px var(--moss-line);
}

/* ---------- Capturas ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-small);
  box-shadow: 0 8px 20px var(--card-shadow);
}

/* ---------- Logo e icono ---------- */

.marks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mark {
  overflow: hidden;
  padding: 0 0 18px;
  text-align: center;
}
.mark p {
  padding: 0 16px;
  font-size: 0.9375rem;
}
.mark .files {
  margin-top: 4px;
  font-size: 0.875rem;
}
/* Cada muestra lleva su fondo fijo, siga el sistema el tema que siga: el
   logo musgo sobre papel y el de papel sobre carbón, como pide la guía. */
.swatch {
  display: grid;
  place-items: center;
  height: 168px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}
.swatch img {
  display: block;
  max-width: 78%;
  height: auto;
}
.swatch--icon {
  background: var(--stone);
}
.swatch--icon img {
  width: 112px;
  border-radius: 22.5%;
}
.swatch--light {
  background: #FDFBF7;
}
.swatch--dark {
  background: #1A1917;
}
.rules {
  margin: 24px 0 0;
  padding-left: 22px;
  color: var(--taupe);
  font-size: 0.9375rem;
}
.rules li + li {
  margin-top: 6px;
}
.rules code {
  font-size: 0.875em;
  color: var(--charcoal);
}

/* ---------- Desarrollador y contacto ---------- */

.maker {
  padding: 24px 26px;
}
.maker .links {
  margin-top: 14px;
  font-weight: 500;
}
.press-contact {
  padding-bottom: 8px;
}

/* ---------- Preguntas (Alternativa a Pocket) ---------- */

.faq h3 {
  margin: 28px 0 8px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--charcoal);
}
.faq h3:first-of-type {
  margin-top: 0;
}
.press-section code {
  font-size: 0.875em;
}

/* ---------- Nota de marcas del pie ---------- */

.site-footer .trademark {
  max-width: 36rem;
  margin: 0 auto 12px;
  font-size: 0.8125rem;
}

@media (max-width: 720px) {
  .facts,
  .plan-pair,
  .marks {
    grid-template-columns: minmax(0, 1fr);
  }
  .facts {
    padding: 4px 20px;
  }
  .facts div:nth-child(odd) {
    padding-right: 0;
  }
  .facts div:nth-last-child(2) {
    border-bottom: 1px solid var(--hairline);
  }
  .shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .copyable,
  .maker {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .press {
    padding: 0 16px;
  }
  .actions .btn,
  .downloads .btn {
    width: 100%;
  }
}
