.ul-legal-page {
    background: linear-gradient(180deg, rgba(246, 249, 255, 0.8) 0%, #ffffff 38%);
}

.ul-legal-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 34px;
}

.ul-legal-intro-main,
.ul-legal-contact-panel,
.ul-legal-nav,
.ul-legal-card {
    border: 1px solid rgba(0, 88, 255, 0.12);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(4, 17, 46, 0.07);
}

.ul-legal-intro-main {
    padding: clamp(28px, 4vw, 46px);
    position: relative;
    overflow: hidden;
}

.ul-legal-intro-main::after {
    content: "";
    position: absolute;
    inset: auto -90px -120px auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(0, 88, 255, 0.08);
    pointer-events: none;
}

.ul-legal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ul-primary, #0058ff);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.ul-legal-kicker i {
    font-size: 18px;
}

.ul-legal-title {
    margin-bottom: 14px;
}

.ul-legal-summary {
    max-width: 760px;
    margin-bottom: 24px;
    color: #5d6475;
    font-size: 18px;
    line-height: 1.75;
}

.ul-legal-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ul-legal-highlight {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 8px;
    background: rgba(0, 88, 255, 0.06);
    color: #111827;
    font-weight: 600;
}

.ul-legal-highlight i {
    color: var(--ul-primary, #0058ff);
    margin-top: 2px;
}

.ul-legal-contact-panel {
    padding: 28px;
    background: linear-gradient(135deg, #0058ff 0%, #c91ac7 100%);
    color: #ffffff;
}

.ul-legal-contact-panel h3,
.ul-legal-contact-panel p,
.ul-legal-contact-panel a {
    color: #ffffff;
}

.ul-legal-contact-panel h3 {
    margin-bottom: 12px;
}

.ul-legal-contact-panel p {
    margin-bottom: 14px;
    opacity: 0.92;
}

.ul-legal-contact-panel a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.ul-legal-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.ul-legal-nav {
    position: sticky;
    top: 108px;
    padding: 24px;
}

.ul-legal-nav-title {
    margin-bottom: 16px;
    font-size: 18px;
}

.ul-legal-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    color: #4b5563;
    font-weight: 600;
}

.ul-legal-nav a:hover {
    color: var(--ul-primary, #0058ff);
}

.ul-legal-content {
    display: grid;
    gap: 18px;
}

.ul-legal-card {
    padding: clamp(24px, 3vw, 34px);
}

.ul-legal-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 24px;
}

.ul-legal-card h3 span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 50%;
    background: rgba(0, 88, 255, 0.08);
    color: var(--ul-primary, #0058ff);
    font-size: 16px;
}

.ul-legal-card p {
    margin-bottom: 12px;
    color: #4b5563;
    line-height: 1.75;
}

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

.ul-legal-card strong {
    color: #111827;
}

.ul-legal-footer-cta {
    margin-top: 18px;
    padding: clamp(26px, 4vw, 38px);
    border-radius: 8px;
    background: #06133d;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.ul-legal-footer-cta h3,
.ul-legal-footer-cta p {
    color: #ffffff;
}

.ul-legal-footer-cta p {
    margin: 0;
    opacity: 0.82;
}

@media (max-width: 991px) {
    .ul-legal-intro,
    .ul-legal-layout {
        grid-template-columns: 1fr;
    }

    .ul-legal-nav {
        position: static;
    }
}

@media (max-width: 767px) {
    .ul-legal-highlights {
        grid-template-columns: 1fr;
    }

    .ul-legal-footer-cta {
        display: block;
    }

    .ul-legal-footer-cta .ul-btn {
        margin-top: 18px;
    }
}
