








.legal {
    

    max-width: 760px;
}



.legal-head {
    margin-bottom: 34px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line);
}

.legal-head__date {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: .84rem;
}

.legal-lead {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: .96rem;
    line-height: 1.65;
}





.legal-toc {
    margin-bottom: 38px;
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: linear-gradient(155deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018));
}

.legal-toc__title {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.legal-toc ol {
    margin: 0;
    padding-left: 1.35em;
    display: grid;
    gap: 7px;
}

.legal-toc li {
    color: var(--text-secondary);
    font-size: .89rem;
}

.legal-toc a {
    color: var(--text-secondary);
    transition: color .16s ease;
}

.legal-toc a:hover {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}



.legal-section {
    

    scroll-margin-top: 96px;
}

.legal-section + .legal-section {
    margin-top: 34px;
}

.legal-section > h2 {
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.3;
}



.legal-body {
    counter-reset: legal-section;
}

.legal-section > h2::before {
    counter-increment: legal-section;
    content: counter(legal-section) ". ";
    color: var(--accent);
}

.legal-section h3 {
    margin: 22px 0 10px;
    font-size: .97rem;
    font-weight: 650;
    color: var(--text-primary);
}

.legal-section p {
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: .92rem;
    line-height: 1.7;
}

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

.legal-section a {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-section a:hover {
    color: #fff;
}

.legal-section ul {
    margin: 0 0 14px;
    padding-left: 1.25em;
    display: grid;
    gap: 8px;
}

.legal-section li {
    color: var(--text-secondary);
    font-size: .92rem;
    line-height: 1.65;
}

.legal-section li::marker {
    color: var(--accent);
}

.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}





.legal-note {
    margin: 18px 0;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-left: 2px solid var(--accent);
    border-radius: var(--radius-xs);
    background: rgba(169, 142, 239, .06);
}

.legal-note p {
    margin-bottom: 8px;
    font-size: .89rem;
}

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





.legal-table-wrap {
    margin: 16px 0 18px;
    

    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
}

.legal-table {
    width: 100%;
    min-width: 460px;
    border-collapse: collapse;
    font-size: .87rem;
}

.legal-table th,
.legal-table td {
    padding: 11px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line-soft);
    line-height: 1.55;
}

.legal-table thead th {
    color: var(--text-muted);
    font-size: .73rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .028);
}

.legal-table tbody tr:last-child th,
.legal-table tbody tr:last-child td {
    border-bottom: 0;
}

.legal-table td {
    color: var(--text-secondary);
}

.legal-table tbody th {
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
}



.legal-foot {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    color: var(--text-muted);
    font-size: .85rem;
}

.legal-foot a {
    color: var(--accent-light);
}

.legal-foot a:hover {
    color: #fff;
}



@media (max-width: 640px) {
    .legal-head {
        margin-bottom: 26px;
        padding-bottom: 20px;
    }

    .legal-toc {
        margin-bottom: 30px;
        padding: 16px 18px;
    }

    .legal-section + .legal-section {
        margin-top: 28px;
    }

    .legal-section > h2 {
        font-size: 1.05rem;
    }
}
