/* ════════════════════════════════════════
   LEGAL HERO
════════════════════════════════════════ */
.legal-hero {
    position: relative;
    padding: 120px 80px 80px;
    overflow: hidden;
}

.legal-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d1b2a 0%, #0d1b2a 60%, #003d6b 100%);
    z-index: 0;
}

.legal-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,147,255,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,147,255,0.07) 1px, transparent 1px);
    background-size: 60px 60px;
}

.legal-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 700px;
}

.legal-hero__content .section-tag {
    color: #0093ff;
    border-left-color: #0093ff;
    background: rgba(0,147,255,0.15);
    width: fit-content;
}

.legal-hero__title {
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 800;
    font-size: 52px;
    line-height: 1.1;
    color: #fff;
    margin: 0;
}

.legal-hero__title span {
    color: #0093ff;
}

.legal-hero__content .section-line {
    background: linear-gradient(90deg, #0093ff, transparent);
    width: 80px;
}

.legal-hero__meta {
    font-family: 'nexa', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin: 0;
}

/* ════════════════════════════════════════
   LEGAL BODY
════════════════════════════════════════ */
.legal-body {
    background: #f4f8ff;
    background-image:
        linear-gradient(rgba(0,147,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,147,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    padding: 80px 80px;
}

.legal-body__container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* ── Table of Contents ── */
.legal-toc {
    position: sticky;
    top: 100px;
    background: #fff;
    padding: 32px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border-top: 4px solid #0093ff;
}

.legal-toc h4 {
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #0d1b2a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px;
}

.legal-toc ol {
    padding-left: 18px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-toc ol li a {
    font-family: 'nexa', sans-serif;
    font-size: 13px;
    color: #5a6a82;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.legal-toc ol li a:hover {
    color: #0093ff;
}

/* ── Content ── */
.legal-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.legal-intro {
    font-family: 'nexa', sans-serif;
    font-size: 15px;
    line-height: 1.85;
    color: #3a4a5c;
    background: #fff;
    padding: 28px 32px;
    border-left: 4px solid #0093ff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin: 0;
}

.legal-section {
    background: #fff;
    padding: 36px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    scroll-margin-top: 100px;
}

.legal-section h2 {
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #0d1b2a;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.legal-section h2 span {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #0093ff;
    padding: 4px 10px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.legal-section p {
    font-family: 'nexa', sans-serif;
    font-size: 14px;
    line-height: 1.85;
    color: #5a6a82;
    margin: 0 0 16px;
}

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

.legal-section ul,
.legal-section ol {
    padding-left: 20px;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-section ul li,
.legal-section ol li {
    font-family: 'nexa', sans-serif;
    font-size: 14px;
    line-height: 1.75;
    color: #5a6a82;
}

.legal-section ul li strong,
.legal-section p strong {
    color: #0d1b2a;
    font-weight: 700;
}

/* ── Contact Box ── */
.legal-contact-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
    background: #f4f8ff;
    padding: 24px 28px;
    border-left: 4px solid #0093ff;
}

.legal-contact-box div {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'nexa', sans-serif;
    font-size: 14px;
    color: #3a4a5c;
}

.legal-contact-box i {
    font-size: 20px;
    color: #0093ff;
    flex-shrink: 0;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
    .legal-body {
        padding: 60px 40px;
    }

    .legal-body__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .legal-toc {
        position: static;
    }

    .legal-hero {
        padding: 100px 40px 60px;
    }

    .legal-hero__title {
        font-size: 40px;
    }
}

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

    .legal-hero {
        padding: 90px 20px 50px;
    }

    .legal-hero__title {
        font-size: 32px;
    }

    .legal-section {
        padding: 28px 24px;
    }

    .legal-section h2 {
        font-size: 18px;
    }
}
