/* Legal Pages Styling - Dark Theme */
/* Extends the main style.css with legal-specific styles */

/* Legal Container */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 140px 24px 80px;
    min-height: 100vh;
}

/* Legal Header */
.legal-header {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-subtle);
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 24px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.back-link:hover {
    transform: translateX(-4px);
    color: var(--accent-secondary);
}

.legal-header h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--accent-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Legal Content */
.legal-content {
    color: var(--text-secondary);
}

.legal-content section {
    margin-bottom: 48px;
}

.legal-content .intro {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 48px;
}

.legal-content .large-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-primary);
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-top: 8px;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-content li {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 12px;
    position: relative;
}

.legal-content li::marker {
    color: var(--accent-primary);
}

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-content a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* Legal Footer */
.legal-footer {
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.legal-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.legal-footer a:hover {
    color: var(--accent-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-container {
        padding: 120px 20px 60px;
    }

    .legal-header h1 {
        font-size: 32px;
    }

    .legal-content .intro {
        padding: 24px;
    }

    .legal-content h2 {
        font-size: 20px;
    }
}