/* Legal Pages Styles */

.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.legal-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 4px;
}

.legal-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.legal-intro {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-intro p:last-child {
    margin-bottom: 0;
}

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

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.legal-section h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-section p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-section li:last-child {
    margin-bottom: 0;
}

.legal-section li strong {
    color: var(--text-primary);
    font-weight: 500;
}

.legal-section a {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.legal-section a:hover {
    opacity: 0.8;
}

.legal-address {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 16px 0;
}

.legal-address p {
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.legal-address p:last-child {
    margin-bottom: 0;
}

.legal-contact {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer links for legal pages */
.footer-links {
    display: inline-block;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .legal-container {
        padding: 0 20px;
    }

    .legal-title {
        margin-bottom: 8px;
    }

    .legal-date {
        margin-bottom: 36px;
    }

    .legal-intro {
        margin-bottom: 36px;
        padding-bottom: 24px;
    }

    .legal-section {
        margin-bottom: 36px;
    }

    .legal-section h2 {
        font-size: 1.35rem;
    }

    .legal-address {
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding-top: 90px;
    }

    .legal-intro p,
    .legal-section p,
    .legal-section li {
        font-size: 0.95rem;
    }
}
