/* Hoja común de las páginas legales de Kuadra. Toma los tokens de la web. */
:root {
    --primary-color: #3b82f6;
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --text-light: #64748b;
    --card-bg: #ffffff;
    --border: #e2e8f0;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
}
.doc { max-width: 760px; margin: 0 auto; padding: 32px 20px 80px; }
.back-link {
    display: inline-block; margin-bottom: 28px; text-decoration: none;
    color: var(--primary-color); font-weight: 600; font-size: 0.95rem;
}
.back-link:hover { text-decoration: underline; }
h1 { font-size: 2rem; line-height: 1.25; margin-bottom: 6px; clear: both; }
.updated { color: var(--text-light); font-size: 0.9rem; margin-bottom: 28px; }
h2 {
    font-size: 1.25rem; margin: 36px 0 12px;
    padding-bottom: 8px; border-bottom: 2px solid var(--primary-color);
}
h3 { font-size: 1.05rem; margin: 22px 0 8px; }
p, li { margin-bottom: 12px; }
ul, ol { padding-left: 22px; }
a { color: var(--primary-color); }
strong { font-weight: 600; }
.card {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 12px; padding: 20px 24px; margin: 20px 0;
}
.card p:last-child, .card ul:last-child, .card li:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: #f1f5f9; font-weight: 600; }
.lang {
    float: right; font-size: 0.9rem; color: var(--text-light);
}
.lang a { font-weight: 600; text-decoration: none; }
.lang a:hover { text-decoration: underline; }
.lang .actual { color: var(--text-color); font-weight: 600; }
.soon {
    display: inline-block; margin-left: 8px; padding: 2px 10px;
    background: #fef3c7; color: #92400e; border-radius: 999px;
    font-size: 0.72rem; font-weight: 700; letter-spacing: .02em;
    text-transform: uppercase; vertical-align: middle;
}
footer {
    margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border);
    color: var(--text-light); font-size: 0.9rem;
}
@media (max-width: 560px) {
    h1 { font-size: 1.6rem; }
    table, thead, tbody, th, td, tr { display: block; }
    thead { display: none; }
    td { border: none; padding: 4px 0; }
    tr { border-bottom: 1px solid var(--border); padding: 10px 0; }
    td:first-child { font-weight: 600; }
}
