/* Legal Pages Styling - Minimal & Clean */

/* Remove underline from brand link */
a.brand {
    text-decoration: none !important;
}

a.brand:hover {
    text-decoration: none !important;
}

.legal-container {
    padding-top: 120px; /* Space for fixed header */
    min-height: 100vh;
    background: #fffef9;
}

.legal-content {
    max-width: 720px; /* Optimal reading width */
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* Typography */
.legal-content h1 {
    font-size: 40px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
    line-height: 1.2;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin-top: 48px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #000000;
    margin-bottom: 16px;
    opacity: 0.9;
}

.last-updated {
    font-size: 14px;
    color: #666666;
    font-style: italic;
    margin-bottom: 32px;
    opacity: 0.7;
}

/* Links */
.legal-content a {
    color: #dc143c; /* Palate crimson */
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.legal-content a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Strong text for emphasis */
.legal-content strong {
    font-weight: 600;
    color: #000000;
}

/* All caps sections (disclaimers) */
.legal-content p:has(> strong) {
    font-weight: 500;
}

/* First paragraph after title */
.legal-content h1 + p {
    margin-top: 32px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .legal-container {
        padding-top: 100px;
    }
    
    .legal-content {
        padding: 0 20px 60px;
    }
    
    .legal-content h1 {
        font-size: 32px;
    }
    
    .legal-content h2 {
        font-size: 20px;
        margin-top: 40px;
    }
    
    .legal-content p {
        font-size: 15px;
    }
}

/* Smooth entrance animation */
.legal-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}