.legal-hero {
    position: relative;
    background: linear-gradient(135deg, #020617, #0f172a);
    padding: 110px 0 90px;
    overflow: hidden;
}

.legal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 30%),
        radial-gradient(circle at bottom left, rgba(56, 189, 248, 0.12), transparent 25%);
    pointer-events: none;
}

.legal-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
}

.legal-hero-inner h1 {
    color: #ffffff;
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.2;
}

.legal-hero-inner p {
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.8;
    max-width: 760px;
    margin: 0 auto;
}

.legal-page {
    background: #f8fafc;
    padding: 70px 0 100px;
}

.legal-wrap {
    max-width: 1000px;
}

.legal-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 48px;
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.08);
    border: 1px solid #e2e8f0;
}

.legal-meta {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
    color: #64748b;
    font-size: 14px;
}

.legal-content h2 {
    font-size: 28px;
    line-height: 1.3;
    color: #020617;
    margin: 38px 0 16px;
    font-weight: 800;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: #475569;
    font-size: 16px;
    line-height: 1.95;
    margin: 0 0 18px;
}

.legal-content strong {
    color: #020617;
    font-weight: 700;
}

.legal-content a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.legal-content a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .legal-hero {
        padding: 90px 0 70px;
    }

    .legal-hero-inner h1 {
        font-size: 32px;
    }

    .legal-hero-inner p {
        font-size: 15px;
        line-height: 1.7;
    }

    .legal-page {
        padding: 40px 0 70px;
    }

    .legal-card {
        padding: 24px;
        border-radius: 20px;
    }

    .legal-content h2 {
        font-size: 22px;
        margin: 28px 0 12px;
    }

    .legal-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .legal-meta {
        justify-content: flex-start;
        font-size: 13px;
    }
}