/* Estilo común de las guías. Va en un fichero aparte y no repetido en cada página
   porque son cinco y van a ser más: nginx ya las cachea siete días por su extensión.
   La paleta es la de la portada; el cuerpo, claro u oscuro según el sistema, que es lo
   que pide un texto largo. */
:root {
  color-scheme: light dark;
  --accent: #1a8f5f;
  --texto: #1c1c1e;
  --suave: #6b6b70;
  --fondo: #fff;
  --borde: #d1d1d6;
  --caja: #f6f8f7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #34d38b;
    --texto: #e8f5ee;
    --suave: #8fae9f;
    --fondo: #0b1410;
    --borde: #1f3a2e;
    --caja: #12201a;
  }
}
* { box-sizing: border-box; }
body {
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  color: var(--texto);
  background: var(--fondo);
}
a { color: var(--accent); }
nav.migas { font-size: .85rem; color: var(--suave); margin-bottom: 1.75rem; }
nav.migas a { color: var(--suave); }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 .35rem; letter-spacing: -.01em; }
h2 { font-size: 1.22rem; margin-top: 2.4rem; }
h3 { font-size: 1.02rem; margin-top: 1.8rem; }
.lede { color: var(--suave); margin-top: 0; font-size: 1.05rem; }
table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .95rem; }
th, td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--borde); }
th { font-weight: 600; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.nota {
  margin: 1.75rem 0;
  padding: .9rem 1.15rem;
  background: var(--caja);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: .96rem;
}
.app {
  margin: 2.5rem 0 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--caja);
  border: 1px solid var(--borde);
  border-radius: 14px;
}
.app h2 { margin-top: 0; font-size: 1.05rem; }
.app p { margin: .4rem 0 1rem; color: var(--suave); font-size: .95rem; }
.boton {
  display: inline-block;
  padding: .55rem 1.1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  text-decoration: none;
  font-size: .92rem;
}
footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--borde);
  font-size: .88rem;
  color: var(--suave);
}
footer a { color: var(--suave); }
