.legal-page .legal-content section {
    background-color: transparent !important;
}

.legal-header {
    background: linear-gradient(135deg, #111827, #1F2937);
    padding: 100px 24px 56px;
    text-align: center;
    margin-top: 68px;
}

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

.legal-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #F9FAFB;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.legal-date,
.legal-effective {
    font-size: 0.9rem;
    color: #9CA3AF;
    margin-bottom: 4px;
}

.legal-content {
    padding: 56px 0 64px;
}

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

.legal-content h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #111827;
    margin-top: 44px;
    margin-bottom: 14px;
    padding-top: 24px;
    border-top: 1px solid #E5E0D8;
    letter-spacing: -0.01em;
    scroll-margin-top: 88px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content p {
    font-size: 1rem;
    color: #374151;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content strong {
    font-weight: 700;
    color: #1F2937;
}

.legal-content a {
    color: #4338CA;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: #3730A3;
    text-decoration: underline;
}

.toc {
    background: #FFFFFF;
    border: 1px solid #E5E0D8;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 48px;
}

.toc-title {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    padding-top: 0 !important;
    border-top: none !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
}

.toc-list {
    list-style-position: inside;
    column-count: 2;
    column-gap: 32px;
    padding: 0;
}

.toc-list li {
    margin-bottom: 8px;
    break-inside: avoid;
}

.toc-list a {
    font-size: 0.9rem;
    color: #4338CA;
    font-weight: 500;
}

.toc-list a:hover {
    color: #3730A3;
    text-decoration: underline;
}

.legal-contact-details {
    background: #F9F8F5;
    border: 1px solid #E5E0D8;
    border-radius: 12px;
    padding: 24px 28px;
    margin-top: 20px;
}

.legal-contact-details p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

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

.legal-contact-details strong {
    color: #111827;
}

@media (max-width: 768px) {
    .legal-header {
        padding: 88px 20px 44px;
    }

    .legal-title {
        font-size: 2rem;
    }

    .legal-content {
        padding: 40px 0 48px;
    }

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

    .legal-content h2 {
        font-size: 1.35rem;
        margin-top: 36px;
    }

    .toc {
        padding: 20px;
    }

    .toc-list {
        column-count: 1;
    }

    .legal-contact-details {
        padding: 20px;
    }
}
