/* Legal Pages Styles */

.legal-page {
    padding-top: 80px;
    min-height: 100vh;
    background: #f5f5f7;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 64px 24px;
}

/* Header */
.legal-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.legal-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.effective-date {
    font-size: 14px;
    color: #6e6e73;
    font-weight: 500;
}

/* Body */
.legal-body {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.lead {
    font-size: 1.125rem;
    color: #1d1d1f;
    line-height: 1.7;
    margin-bottom: 32px;
    font-weight: 500;
}

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

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

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.legal-section p {
    font-size: 1rem;
    color: #6e6e73;
    line-height: 1.7;
    margin-bottom: 16px;
}

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

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-section li {
    font-size: 1rem;
    color: #6e6e73;
    line-height: 1.7;
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
}

.legal-section li::before {
    content: '•';
    position: absolute;
    left: 12px;
    color: #0071E3;
    font-weight: 700;
    font-size: 1.2rem;
}

.legal-section a {
    color: #0071E3;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

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

/* Footer */
.legal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid rgba(0, 0, 0, 0.08);
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0071E3;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.back-link:hover {
    opacity: 0.7;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-links a {
    font-size: 14px;
    color: #6e6e73;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: #0071E3;
}

.legal-links .separator {
    color: #d2d2d7;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-content {
        padding: 48px 16px;
    }

    .legal-body {
        padding: 32px 24px;
    }

    .legal-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .legal-links {
        flex-direction: column;
        gap: 8px;
    }

    .legal-links .separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .legal-body {
        padding: 24px 20px;
    }

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