/* Páginas internas: política de privacidad y página 404. */

/* ---- Documento largo (política) ---- */
.measure { width: min(720px, 92%); margin: 0 auto; }
a.inline { color: #B4531F; text-decoration: underline; text-underline-offset: 2px; }

.doc-head { padding: 4rem 0 2.5rem; border-bottom: 1px solid var(--rule); }
.doc-head h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); max-width: 18ch; margin-bottom: 1rem; }
.doc-head .meta { font-size: var(--text-sm); color: var(--ink-3); font-weight: 500; }

.toc { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 12px; padding: 1.5rem 1.75rem; margin: 2.5rem auto; }
.toc-title { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; display: grid; gap: 0.5rem; }
.toc li { counter-increment: toc; font-size: var(--text-sm); color: var(--ink-2); display: flex; gap: 0.75rem; }
.toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); font-weight: 600; color: #B4531F; min-width: 1.5rem; }
.toc a:hover { color: var(--ink); text-decoration: underline; }

.doc { padding: 2.5rem 0 5rem; }
.doc section { margin-top: 3rem; scroll-margin-top: 1.5rem; }
.doc section:first-child { margin-top: 0; }
.doc h2 { font-size: var(--text-2xl); margin-bottom: 0.75rem; display: flex; gap: 0.75rem; align-items: baseline; }
.doc h2 .num { font-family: var(--font-display); font-weight: 600; color: #B4531F; font-size: var(--text-xl); min-width: 2.25rem; }
.doc h3 { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.01em; margin: 1.5rem 0 0.5rem; }
.doc p { font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); margin-bottom: 1rem; }
.doc p:last-child { margin-bottom: 0; }
.doc ul { font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); padding-left: 1.25rem; margin: 0 0 1rem; }
.doc li { margin-bottom: 0.4rem; }
.doc li::marker { color: var(--accent); }
.doc strong { color: var(--ink); font-weight: 600; }

@media (max-width: 720px) {
  .doc-head { padding: 2.5rem 0 2rem; }
  .doc section { margin-top: 2.5rem; }
  .doc h2 { font-size: var(--text-xl); }
  .doc p, .doc ul { font-size: var(--text-md); }
}

/* ---- Página 404 ---- */
.page-404 { min-height: 100vh; display: flex; flex-direction: column; }
.page-404 main { flex: 1; display: grid; place-items: center; padding: 3rem 0 5rem; }
.err { max-width: 56ch; }
.err-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(7rem, 22vw, 15rem); line-height: 0.9; letter-spacing: -0.06em; margin-bottom: 1.5rem; }
.err-code em { font-style: normal; color: var(--accent); }
.err h1 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); margin-bottom: 1rem; max-width: 20ch; }
.err .lead { font-size: var(--text-lg); color: var(--ink-2); max-width: 48ch; margin-bottom: 2.25rem; line-height: 1.5; }
.err-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }
@media (max-width: 480px) { .err-ctas .btn { flex: 1; } }
