/* Páginas legales de Konnu (privacy, terms, safety). Mismos colores y tipografías que index.html. */
:root {
  --red: #dd2349;
  --red-deep: #b0163a;
  --red-tint: #ffe8ec;
  --ink: #1f1416;
  --muted: #5e4f53;
  --paper: #fff8f6;
  --line: #eadcd8;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--red-deep); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.bar { padding: 14px clamp(16px, 4vw, 32px); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1080px; margin: 0 auto; }
.logo { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.5px; color: var(--ink); text-decoration: none; }
.logo span { color: var(--red); }
.bar nav { display: flex; gap: 20px; flex-wrap: wrap; }
.bar nav a { color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; }
.bar nav a[aria-current="page"] { color: var(--red-deep); text-decoration: underline; }

.doc { max-width: 760px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 32px) 72px; font-size: 18px; line-height: 1.65; }
.doc h1 { margin: 0 0 8px; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 7vw, 64px); line-height: 1; letter-spacing: -2px; }
.doc .updated { margin: 0 0 28px; color: var(--muted); font-size: 16px; }
.doc h2 { margin: 48px 0 12px; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 4vw, 32px); line-height: 1.1; letter-spacing: -.8px; scroll-margin-top: 16px; }
.doc h3 { margin: 28px 0 8px; font-size: 19px; font-weight: 800; }
.doc p, .doc ul, .doc ol { margin: 0 0 16px; }
.doc li { margin-bottom: 8px; }
.doc ul, .doc ol { padding-left: 24px; }

.card { margin: 0 0 32px; padding: 22px 24px; border-radius: 24px; background: #fff; border: 2px solid var(--line); }
.card.alert { background: var(--red-tint); border-color: var(--red); }
.card h2, .card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.toc { margin: 0 0 32px; padding: 0; list-style: none; columns: 2 260px; column-gap: 32px; font-size: 16px; }
.toc li { margin: 0 0 6px; break-inside: avoid; }

.table-wrap { overflow-x: auto; margin: 0 0 24px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; background: #fff; border-radius: 12px; }
th, td { padding: 10px 12px; text-align: left; vertical-align: top; border: 1px solid var(--line); }
th { background: #f7efec; font-weight: 800; }

/* Datos que faltan antes de publicar: razón social, dirección, estado. */
.todo { background: #fff3a8; padding: 0 4px; border-radius: 4px; }

.caps { text-transform: uppercase; font-size: 16px; line-height: 1.55; }

footer { max-width: 1080px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 32px) 48px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); }
footer p { flex: 1 1 320px; margin: 0; }
footer a { color: var(--muted); min-height: 48px; display: inline-flex; align-items: center; }
