/* PRIVACY POLICY & LEGAL PAGES STYLING
   ============================================================ */
.legal-page-wrap {
    max-width: 1300px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 20px 20px 60px !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
}
.legal-hero-card {
    background: linear-gradient(135deg, #0a254a 0%, #004dc7 50%, #0068f7 100%);
    border-radius: 16px;
    padding: 40px 36px;
    color: #ffffff;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 77, 199, 0.15);
    text-align: center;
}
.legal-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 14px;
    backdrop-filter: blur(4px);
}
.legal-hero-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}
.legal-hero-meta {
    font-size: 14.5px;
    color: #dbeafe;
    font-weight: 500;
    margin: 0;
}

.legal-content-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 44px 48px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05), 0 0 1px 1px rgba(0, 0, 0, 0.03);
    color: #334155;
    font-size: 15.5px;
    line-height: 1.75;
}
.legal-intro-lead {
    font-size: 16.5px;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}
.legal-toc-bar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 36px;
}
.legal-toc-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.legal-toc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.legal-toc-grid li a {
    font-size: 13.5px;
    font-weight: 600;
    color: #0064e5 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.legal-toc-grid li a:hover {
    color: #004bd6 !important;
    text-decoration: underline !important;
}

.legal-section {
    margin-bottom: 36px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f1f5f9;
    scroll-margin-top: 100px;
}
.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.legal-section-heading {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.legal-section-heading::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: #0064e5;
    border-radius: 2px;
}
.legal-section p {
    margin: 0 0 14px 0;
    color: #334155;
}
.legal-list {
    margin: 0 0 16px 0;
    padding-left: 20px;
}
.legal-list li {
    margin-bottom: 8px;
    color: #334155;
}
.legal-list li:last-child {
    margin-bottom: 0;
}

.legal-callout-box {
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin: 18px 0;
    font-size: 14.5px;
    color: #166534;
    line-height: 1.6;
}
.legal-callout-box.blue {
    background: #eff6ff;
    border-left-color: #0064e5;
    color: #1e40af;
}
.legal-callout-box strong {
    font-weight: 700;
}

.legal-contact-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-top: 18px;
}
.legal-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14.5px;
    color: #334155;
}
.legal-contact-item:last-child {
    margin-bottom: 0;
}
.legal-contact-item a {
    color: #0064e5 !important;
    font-weight: 600;
    text-decoration: none !important;
}
.legal-contact-item a:hover {
    text-decoration: underline !important;
}

@media (max-width: 768px) {
    .legal-hero-card {
        padding: 30px 20px;
    }
    .legal-hero-title {
        font-size: 28px;
    }
    .legal-content-card {
        padding: 28px 20px;
    }
    .legal-toc-grid {
        grid-template-columns: 1fr;
    }
}


