/* Páginas legales de Cadoteca: texto de lectura en una columna, mismos colores que el sitio. */
:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --ink: #141b2d;
  --muted: #5b6478;
  --line: #dde3ef;
  --accent: #2f5bea;
  --mark: #fff1c2;
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0e121c; --surface: #161b28; --ink: #e8ecf5; --muted: #9aa3b8; --line: #2a3245; --accent: #6f8fff; --mark: #4a3d12; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0e121c; --surface: #161b28; --ink: #e8ecf5; --muted: #9aa3b8; --line: #2a3245; --accent: #6f8fff; --mark: #4a3d12; color-scheme: dark; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.65 var(--font-body); }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
header.top { border-bottom: 1px solid var(--line); background: var(--surface); }
header.top div { width: min(760px, 100% - 32px); margin: 0 auto; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { font: 700 18px var(--font-display); text-decoration: none; color: var(--ink); letter-spacing: -.02em; }
.logo i { font-style: normal; color: var(--accent); }
.back { font-weight: 600; font-size: 14px; text-decoration: none; }
main { width: min(760px, 100% - 32px); margin: 0 auto; padding: 36px 0 64px; }
h1, h2 { font-family: var(--font-display); text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 6px; }
h2 { font-size: 19px; margin: 34px 0 8px; }
.updated { color: var(--muted); margin: 0 0 22px; font-size: 14px; }
.notice { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 14px 16px; font-size: 14.5px; color: var(--muted); }
p, li { max-width: 68ch; }
ul, ol { padding-left: 22px; }
li + li { margin-top: 4px; }
mark { background: var(--mark); color: inherit; padding: 0 3px; border-radius: 3px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 8px 0; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.table-wrap { overflow-x: auto; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer div { width: min(760px, 100% - 32px); margin: 0 auto; padding: 22px 0 36px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: inherit; }
