/* ===== Legal Pages Stylesheet ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f5f5f5;
    --gray-dark: #333333;
    --accent-blue-dark: #004799;
    --accent-blue-light: #018eef;
    --bg-bluish-white: #e3f9ff;
}

body {
    font-family: "Bricolage Grotesque", sans-serif;
    line-height: 1.7;
    color: var(--gray-dark);
    background-color: var(--bg-bluish-white);
}

.legal-wrapper {
    min-height: 100vh;
    padding: 2rem 1rem;
}

.legal-header {
    max-width: 900px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-link {
    color: var(--accent-blue-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--accent-blue-light);
    transform: translateX(-5px);
}

.legal-logo {
    height: 40px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 71, 153, 0.1);
}

.legal-container h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.last-updated {
    font-size: 0.9375rem;
    color: var(--gray-dark);
    opacity: 0.7;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-blue-dark);
    margin-bottom: 1rem;
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--black);
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.legal-section strong {
    color: var(--black);
    font-weight: 700;
}

.legal-footer {
    max-width: 900px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--accent-blue-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
}

.legal-links a:hover {
    color: var(--accent-blue-light);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-container {
        padding: 2rem 1.5rem;
    }
    
    .legal-container h1 {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .legal-wrapper {
        padding: 1rem 0.75rem;
    }
    
    .legal-container {
        padding: 1.5rem 1rem;
    }
    
    .legal-container h1 {
        font-size: 1.75rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}
