/* ── Legal pages ── */
.legal-page {
    padding: 120px 0 80px;
    min-height: 70vh;
}

/* ── Header hero ── */
.legal-header {
    margin-bottom: 48px;
}
.legal-header__badge {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #7c3aed;
    border: 1px solid rgba(124,58,237,0.35);
    border-radius: 20px;
    margin-bottom: 16px;
    background: rgba(124,58,237,0.08);
}
.legal-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}
.legal-meta {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
}

/* ── Content wrapper ── */
.legal-content {
    max-width: 820px;
}

/* ── Sections ── */
.legal-section {
    margin-bottom: 44px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.legal-section h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.legal-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #7c3aed;
    background: rgba(124,58,237,0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

/* ── Subsection headings ── */
.legal-sub {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.75) !important;
    margin: 20px 0 10px !important;
    display: block !important;
}

/* ── Body text ── */
.legal-content p {
    font-size: 0.93rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.85;
    margin-bottom: 10px;
}

/* ── Numbered point rows ── */
.legal-points { display: flex; flex-direction: column; gap: 14px; }
.legal-point {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.legal-point-num {
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(124,58,237,0.7);
    padding-top: 2px;
    min-width: 28px;
}
.legal-point p {
    margin: 0;
}

/* ── Definition terms (section 2) ── */
.legal-terms { display: flex; flex-direction: column; gap: 18px; }
.legal-term {
    padding-left: 16px;
    border-left: 2px solid rgba(124,58,237,0.2);
}
.legal-term dt {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.78);
    margin-bottom: 4px;
}
.legal-term dd {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
}

/* ── Lists ── */
.legal-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}
.legal-content ul li {
    position: relative;
    padding-left: 22px;
    font-size: 0.93rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 6px;
}
.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary, #7c3aed);
}

/* ── Highlighted note block ── */
.legal-note {
    margin-top: 12px;
    padding: 14px 18px;
    background: rgba(124,58,237,0.05);
    border-radius: 10px;
    border: 1px solid rgba(124,58,237,0.12);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}
.legal-note strong {
    color: rgba(255,255,255,0.75);
}

/* ── Section 6 grid (purposes) ── */
.legal-grid-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}
.legal-grid-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.04);
    transition: border-color 0.25s;
}
.legal-grid-item:hover {
    border-color: rgba(124,58,237,0.2);
}
.legal-grid-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c3aed;
    font-size: 0.9rem;
    background: rgba(124,58,237,0.1);
    border-radius: 8px;
}
.legal-grid-item > div:last-child {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
}
.legal-grid-item strong {
    color: rgba(255,255,255,0.75);
    font-weight: 600;
    margin-right: 4px;
}

/* ── Links ── */
.legal-content a {
    color: var(--primary-light, #a78bfa);
    text-decoration: none;
    transition: color 0.2s;
}
.legal-content a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .legal-title { font-size: 1.45rem; }
    .legal-section h2 { font-size: 1.05rem; }
    .legal-grid-item { padding: 10px 12px; }
    .legal-grid-icon { width: 28px; height: 28px; font-size: 0.8rem; }
}

/* ── Requisites table ── */
.legal-requisites {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow: hidden;
}
.legal-req-row {
    display: flex;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s;
}
.legal-req-row:last-child { border-bottom: none; }
.legal-req-row:hover { background: rgba(124,58,237,0.04); }
.legal-req-label {
    flex: 0 0 180px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.legal-req-value {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    word-break: break-word;
}
@media (max-width: 640px) {
    .legal-req-row { flex-direction: column; gap: 2px; padding: 10px 14px; }
    .legal-req-label { flex: unset; }
}
