/* Páginas legales: misma paleta y tipos que la web, lectura cómoda (≤ 72 caracteres). */
@font-face { font-family: "Unbounded"; src: url("../assets/fonts/unbounded-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../assets/fonts/geist-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; }
:root {
    --void: #07021c; --nebula: #1b0a4a; --plasma: #8b3dff; --lilac: #d9c8ff;
    --star: #f5f0ff; --dim: #a99bd6; --faint: #6e5fa3; --line: rgba(217, 200, 255, 0.14);
    --display: "Unbounded", "Segoe UI", sans-serif; --text: "Geist", "Segoe UI", system-ui, sans-serif;
    color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
body { background: var(--void); color: var(--star); font: 400 1.0625rem/1.7 var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--lilac); text-underline-offset: 3px; }
a:hover { color: var(--star); }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 4px; border-radius: 6px; }
strong { color: var(--lilac); font-weight: 600; }

.lg-nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px clamp(20px, 5vw, 48px); background: rgba(7, 2, 28, 0.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.lg-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--star); font: 600 15px var(--display); }
.lg-brand img { width: 30px; height: 30px; }
.lg-lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lg-lang button { font: 600 13px var(--text); color: var(--dim); background: none; border: 0; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.lg-lang button[aria-pressed="true"] { background: var(--plasma); color: #fff; }

.lg-main { max-width: 760px; margin: 0 auto; padding: 56px clamp(20px, 5vw, 48px) 80px; }
.lg-tabs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 40px; font-size: 14px; }
.lg-tabs a { color: var(--dim); text-decoration: none; }
.lg-tabs a[aria-current="page"] { color: var(--star); text-decoration: underline; text-decoration-color: var(--plasma); text-underline-offset: 6px; }
h1 { font: 700 clamp(1.9rem, 5vw, 2.6rem)/1.15 var(--display); letter-spacing: -0.01em; margin-bottom: 10px; }
.lg-updated { color: var(--faint); font-size: 14px; margin-bottom: 36px; }
h2 { font: 600 1.25rem/1.3 var(--display); margin: 40px 0 12px; }
h3 { font-size: 1.0625rem; font-weight: 600; margin: 22px 0 6px; color: var(--lilac); }
p, ul, ol, table { margin-bottom: 14px; color: #e6defc; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 6px; }
.lg-box { border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; background: rgba(27, 10, 74, 0.35); margin-bottom: 18px; }
.lg-box p:last-child { margin-bottom: 0; }
dl.lg-id { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; }
dl.lg-id dt { color: var(--dim); }
.lg-missing { color: #ff8fab; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--dim); font-weight: 500; }
.lg-foot { border-top: 1px solid var(--line); padding: 26px clamp(20px, 5vw, 48px); color: var(--faint); font-size: 14px; text-align: center; }
@media (max-width: 640px) {
    table, tbody, tr, td { display: block; }
    thead { display: none; }
    tr { border: 1px solid var(--line); border-radius: 14px; padding: 6px 4px; margin-bottom: 12px; }
    td { border: 0; padding: 6px 12px; }
    td::before { content: attr(data-label); display: block; color: var(--dim); font-size: 13px; }
    td:first-child { color: var(--lilac); font-weight: 600; }
}
@media (max-width: 560px) { dl.lg-id { grid-template-columns: 1fr; gap: 2px; } dl.lg-id dd { margin-bottom: 10px; } }
