﻿.legal-page {
    background: var(--black-color);
}

.legal-page .hero-legal {
    position: relative;
    overflow: hidden;
    padding: 160px 0 90px;
    color: var(--white-color);
    text-align: center;
    background: var(--black-color);
}

.legal-page .hero-legal::before,
.legal-page .hero-legal::after {
    content: "";
    position: absolute;
    display: block;
    left: 50%;
    pointer-events: none;
    background: #2563eb;
    opacity: .82;
    transform: translateX(-50%);
}

.legal-page .hero-legal::before {
    top: 0;
    width: 1920px;
    height: 594px;
    -webkit-mask: url("../assets/images/breadcrumb/breadcrumb-shado-top.png") center top / 100% 100% no-repeat;
    mask: url("../assets/images/breadcrumb/breadcrumb-shado-top.png") center top / 100% 100% no-repeat;
}

.legal-page .hero-legal::after {
    bottom: 0;
    width: 1920px;
    height: 594px;
    -webkit-mask: url("../assets/images/breadcrumb/breadcrumb-shado-bottom.png") center bottom / 100% 100% no-repeat;
    mask: url("../assets/images/breadcrumb/breadcrumb-shado-bottom.png") center bottom / 100% 100% no-repeat;
}

.legal-page .hero-inner {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
}

.legal-page .kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--white-color);
    font-weight: 900;
}

.legal-page .kicker .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--primary-color);
    box-shadow: 0 0 0 7px var(--primary-rgb-12);
}

.legal-page .hero-legal h1 {
    margin: 0 0 14px;
    color: var(--white-color);
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
}

.legal-page .grad {
    color: var(--primary-color);
}

.legal-page .lead {
    max-width: 820px;
    margin: 0 auto;
    color: var(--white-color);
    opacity: .86;
    font-size: 18px;
}

.legal-page .hero-stats,
.legal-page .hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.legal-page .stat {
    min-width: 190px;
    padding: 14px 18px;
    border: 1px solid var(--border-color-one);
    border-radius: var(--border-radius-three);
    background: rgba(255, 255, 255, .06);
}

.legal-page .stat-label {
    margin-bottom: 4px;
    color: var(--white-color);
    opacity: .72;
    font-size: 13px;
    font-weight: 700;
}

.legal-page .stat-value {
    color: var(--white-color);
    font-weight: 900;
}

.legal-page .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 18px;
    border: 1px solid var(--border-color-one);
    border-radius: 999px;
    color: var(--white-color);
    font-weight: 900;
    text-decoration: none;
    transition: all .2s ease;
}

.legal-page .btn:hover {
    color: var(--white-color);
    transform: translateY(-2px);
}

.legal-page .btn-primary {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.legal-page .btn-ghost {
    background: rgba(255, 255, 255, .06);
}

.legal-page .toolbar-wrap,
.legal-page .section {
    background: var(--black-color);
}

.legal-page .toolbar-wrap {
    padding: 60px 0 16px;
}

.legal-page .toc-card,
.legal-page .legal-content,
.legal-page .callout {
    border: 1px solid var(--border-color-one);
    border-radius: var(--border-radius-three);
    background: var(--background-one);
}

.legal-page .toc-card {
    padding: 24px;
}

.legal-page .toc-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--white-color);
    font-weight: 900;
}

.legal-page .toc {
    columns: 2;
    column-gap: 34px;
    margin: 0;
    padding-left: 20px;
}

.legal-page .toc li {
    margin: 7px 0;
    break-inside: avoid;
    color: var(--white-color);
}

.legal-page .toc a {
    color: var(--white-color);
    text-decoration: none;
}

.legal-page .toc a:hover,
.legal-page .toc a.active {
    color: var(--primary-color);
}

.legal-page .hint {
    margin: 14px 2px 0;
    color: var(--white-color);
    opacity: .72;
}

.legal-page .section {
    padding: 44px 0 100px;
}

.legal-page .legal-content {
    padding: 34px;
}

.legal-page .legal-content h2 {
    margin: 38px 0 14px;
    color: var(--white-color);
    font-size: 28px;
}

.legal-page .legal-content h2:first-child {
    margin-top: 0;
}

.legal-page .legal-content p,
.legal-page .legal-content li,
.legal-page .legal-content div {
    color: var(--white-color);
}

.legal-page .legal-content p,
.legal-page .legal-content li {
    opacity: .82;
}

.legal-page .legal-content strong,
.legal-page .legal-content em {
    color: var(--white-color);
    opacity: 1;
}

.legal-page .legal-content a {
    color: var(--primary-color);
    font-weight: 800;
}

.legal-page .legal-content ul {
    margin: 12px 0 18px;
}

.legal-page .legal-content li {
    margin: 8px 0;
}

.legal-page .legal-content ul ul {
    margin-top: 8px;
}

.legal-page .definition {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.legal-page .definition li {
    margin: 0;
    padding: 13px 16px;
    border: 1px solid var(--border-color-one);
    border-radius: var(--border-radius-three);
    background: rgba(255, 255, 255, .04);
}

.legal-page .callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 22px 0;
    padding: 18px;
}

.legal-page .callout i {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-rgb-12);
    color: var(--primary-color);
}

.legal-page .callout.warn i {
    color: #f2b84b;
}

.legal-page .callout.danger i {
    color: #ef4444;
}

@media (max-width: 991px) {
    .legal-page .hero-legal {
        padding: 140px 0 70px;
    }

    .legal-page .toc {
        columns: 1;
    }
}

@media (max-width: 575px) {
    .legal-page .legal-content,
    .legal-page .toc-card {
        padding: 22px;
    }

    .legal-page .callout {
        flex-direction: column;
    }
}
