/* ─── Legal Pages (Terms & Privacy) ────────────────────────── */
.legal-page {
    padding: 120px 24px 80px;
    min-height: 100vh;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-effective {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 48px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 16px;
}

.legal-section p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-section ul li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.legal-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #818cf8;
    font-weight: 600;
}

/* Tables */
.legal-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    border-radius: 8px;
    overflow: hidden;
}

.legal-section table tr {
    border-bottom: 1px solid var(--border);
}

.legal-section table tr:last-child {
    border-bottom: none;
}

.legal-section table td {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.legal-section table td:first-child {
    font-weight: 600;
    color: #f1f5f9;
    width: 160px;
    background: rgba(30, 41, 59, 0.5);
}

.legal-section table td:last-child {
    background: rgba(15, 23, 42, 0.4);
}

/* Highlight Box */
.legal-highlight {
    background: rgba(129, 140, 248, 0.06);
    border: 1px solid rgba(129, 140, 248, 0.15);
    border-radius: 12px;
    padding: 20px 24px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Footer Note */
.legal-footer-note {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-dim);
    text-align: center;
    font-style: italic;
}

/* Responsive */
@media (max-width: 640px) {
    .legal-page h1 {
        font-size: 1.75rem;
    }

    .legal-section table td:first-child {
        width: 120px;
    }
}