/* Legal pages (aviso legal, privacidad, términos). Sin dependencias externas:
   nada de CDNs ni analítica, para que estas páginas carguen solas y limpias. */
:root {
    --bg: #0f172a;
    --surface: #ffffff;
    --ink: #1f2937;
    --muted: #6b7280;
    --accent: #7c3aed;
    --line: #e5e7eb;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

.topbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: #c7d2fe;
    font-size: 14px;
}

.topbar a { color: #c7d2fe; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.brand { font-weight: 700; letter-spacing: 0.02em; color: #ffffff; }

main {
    max-width: 760px;
    margin: 0 auto 40px;
    padding: 32px 24px 40px;
    background: var(--surface);
    border-radius: 16px;
}

h1 { font-size: 28px; line-height: 1.2; margin: 0 0 6px; }
h2 { font-size: 19px; margin: 32px 0 8px; }
p, li { margin: 0 0 12px; }
ul { padding-left: 22px; }
a { color: var(--accent); }

.meta {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 14px;
}

.identity {
    padding: 14px 16px;
    margin: 0 0 16px;
    border-left: 3px solid var(--accent);
    background: #f9fafb;
    border-radius: 8px;
}

.identity p { margin: 0 0 4px; }

footer {
    max-width: 760px;
    margin: 0 auto 48px;
    padding: 0 24px;
    color: #94a3b8;
    font-size: 14px;
}

footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 8px;
}

footer a { color: #c7d2fe; text-decoration: none; }
footer a:hover { text-decoration: underline; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 16px;
    font-size: 15px;
}

th, td {
    text-align: left;
    vertical-align: top;
    padding: 8px 10px;
    border-bottom: 1px solid var(--line);
}

th { background: #f9fafb; font-weight: 600; }

@media (max-width: 520px) {
    main { border-radius: 0; }
    th, td { display: block; border-bottom: none; padding: 2px 0; }
    th { background: none; }
    tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }
}
