/* ===== LEGAL PAGES (prefix lg-) ===== */
.lg-hero {
    padding: 140px 0 60px
}

.lg-hero-title {
    color: #fff;
    font-size: clamp(30px,4.4vw,46px)
}

.lg-updated {
    color: #9aa3be;
    font-size: 14px;
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 9px
}

    .lg-updated i {
        color: var(--ofsl-accent-3)
    }

.lg-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 52px;
    align-items: start
}

/* sticky toc */
.lg-toc {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 2px
}

.lg-toc-h {
    font-family: 'Plus Jakarta Sans';
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ofsl-muted);
    margin-bottom: 12px
}

.lg-toc a {
    font-size: 13.5px;
    color: var(--ofsl-muted);
    padding: 8px 12px;
    border-radius: 9px;
    border-left: 2px solid transparent;
    transition: .2s;
    line-height: 1.4
}

    .lg-toc a:hover {
        color: var(--ofsl-accent);
        background: var(--ofsl-accent-soft);
        border-left-color: var(--ofsl-accent)
    }

/* content */
.lg-content {
    max-width: 760px
}

.lg-intro {
    font-size: 18px;
    color: var(--ofsl-ink-soft);
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--ofsl-line);
    line-height: 1.7
}

.lg-sec {
    margin-bottom: 34px;
    scroll-margin-top: 100px
}

    .lg-sec h2 {
        font-size: 19px;
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 14px
    }

        .lg-sec h2 span {
            font-family: 'Plus Jakarta Sans';
            font-weight: 800;
            font-size: 14px;
            color: #fff;
            background: var(--ofsl-grad);
            width: 36px;
            height: 36px;
            border-radius: 11px;
            display: grid;
            place-items: center;
            flex: none
        }

    .lg-sec p {
        font-size: 15.5px;
        color: var(--ofsl-ink-soft);
        line-height: 1.75;
        margin-bottom: 12px
    }

        .lg-sec p b {
            color: var(--ofsl-ink);
            font-weight: 600
        }

.lg-note {
    margin-top: 40px;
    background: var(--ofsl-accent-soft);
    border: 1px solid rgba(79,70,229,.18);
    border-radius: 16px;
    padding: 20px 22px;
    font-size: 14px;
    color: var(--ofsl-ink-soft);
    display: flex;
    gap: 12px;
    align-items: flex-start
}

    .lg-note i {
        color: var(--ofsl-accent);
        font-size: 17px;
        margin-top: 2px
    }

@media(max-width:992px) {
    .lg-grid {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .lg-toc {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--ofsl-line)
    }

    .lg-toc-h {
        width: 100%;
        margin-bottom: 4px
    }

    .lg-toc a {
        border-left: none;
        border: 1px solid var(--ofsl-line)
    }
}
