/* ========================================
   Legal Pages - Minimalist Styling
   Privacy Policy & Terms of Service
   ======================================== */

:root {
    --legal-bg: #fff;
    --legal-text: #333;
    --legal-text-light: #666;
    --legal-accent: #000;
    --legal-border: #eee;
}

/* Page Hero */
.page-hero {
    background: #fff;
    padding: 140px 0 80px;
    text-align: center;
    border-bottom: 1px solid var(--legal-border);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(#f1f1f1 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--legal-accent);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: var(--legal-text-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Last Updated Badge */
.last-updated {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #555;
    border: 1px solid #eee;
}

.last-updated i {
    margin-right: 0.5rem;
    color: #999;
}

/* Legal Content Area */
.legal-content {
    background: #fff;
    padding: 80px 0;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    /* Optional: subtle shadow/border to frame content */
}

/* Typography & Spacing */
.legal-section {
    margin-bottom: 4rem;
}

.legal-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.legal-section h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

/* Lists */
.legal-section ul, 
.legal-section ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-section li {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 0.75rem;
    position: relative;
}

/* Links inside text */
.legal-section a {
    color: #000;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.legal-section a:hover {
    color: #666;
    text-decoration-color: #666;
}

/* Contact Box styles for the legal pages */
.legal-contact-box {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.legal-contact-box p {
    margin-bottom: 0.5rem;
}

.legal-contact-box strong {
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }
    
    .page-hero-title {
        font-size: 2.5rem;
    }
    
    .legal-content {
        padding: 50px 0;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
}
