:root {
  --tinta: #1f2430;
  --suave: #5b6472;
  --fondo: #fbfaf7;
  --tarjeta: #ffffff;
  --acento: #2f6f5e;
  --acento-2: #e8f1ee;
  --borde: #e3e1da;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--tinta);
  background: var(--fondo);
  line-height: 1.6;
}
main, header, footer { max-width: 720px; margin: 0 auto; padding: 0 20px; }
header { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 8px; }
header nav a { margin-left: 16px; color: var(--suave); text-decoration: none; font-size: 0.95rem; }
header nav a:hover { color: var(--acento); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinta); font-weight: 700; font-size: 1.25rem; }
.logo img { width: 36px; height: 36px; }
h1 { font-size: 2.1rem; line-height: 1.15; margin: 32px 0 12px; letter-spacing: -0.01em; }
h2 { font-size: 1.35rem; margin: 40px 0 12px; }
h3 { font-size: 1.05rem; margin: 24px 0 8px; }
p.lead { font-size: 1.15rem; color: var(--suave); margin: 0 0 24px; }
.boton {
  display: inline-block; background: var(--acento); color: #fff; padding: 14px 22px; border-radius: 12px;
  text-decoration: none; font-weight: 600; font-size: 1.05rem;
}
.boton:hover { filter: brightness(1.08); }
.nota { color: var(--suave); font-size: 0.95rem; }
.pasos { counter-reset: paso; list-style: none; padding: 0; margin: 16px 0; }
.pasos li { counter-increment: paso; position: relative; padding-left: 44px; margin: 14px 0; }
.pasos li::before {
  content: counter(paso); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--acento-2); color: var(--acento); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.ejemplos { background: var(--tarjeta); border: 1px solid var(--borde); border-radius: 14px; padding: 8px 18px; }
.ejemplos p { margin: 10px 0; }
.ejemplos p::before { content: "💬 "; }
details { border-top: 1px solid var(--borde); padding: 12px 0; }
details summary { cursor: pointer; font-weight: 600; }
footer { border-top: 1px solid var(--borde); margin-top: 56px; padding-top: 20px; padding-bottom: 40px; color: var(--suave); font-size: 0.9rem; }
footer a { color: var(--suave); }
article h2 { margin-top: 32px; }
article ul { padding-left: 22px; }
code { background: var(--acento-2); padding: 1px 6px; border-radius: 6px; font-size: 0.95em; }
@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  header { flex-direction: column; align-items: flex-start; gap: 10px; }
  header nav a { margin-left: 0; margin-right: 14px; }
}
