/* =========================================
   LEGAL / PRIVACY PAGES — main-legal.css
   ========================================= */

/* ---- Page Banner ---- */
.lg-banner {
    background: var(--primary-gradient);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.lg-banner::before {
    content: '';
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    top: -160px; right: -80px;
    pointer-events: none;
}
.lg-banner::after {
    content: '';
    position: absolute;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    bottom: -80px; left: -60px;
    pointer-events: none;
}
.lg-banner-inner { position: relative; z-index: 1; }
.lg-banner-label {
    display: inline-block;
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}
.lg-banner-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.2;
}
.lg-banner-meta {
    font-size: .875rem;
    color: rgba(255,255,255,.75);
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.lg-banner-breadcrumb { font-size: .9rem; color: rgba(255,255,255,.7); }
.lg-banner-breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.lg-banner-breadcrumb a:hover { color: #fff; }
.lg-banner-breadcrumb span { margin: 0 8px; }

/* ---- Section layout ---- */
.lg-section { padding: 80px 0; }

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

/* ---- TOC Sidebar ---- */
.lg-toc { position: sticky; top: 100px; }
.lg-toc-title {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.lg-toc-list { list-style: none; padding: 0; margin: 0; }
.lg-toc-list li { margin-bottom: 4px; }
.lg-toc-list a {
    display: block;
    font-size: .85rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    border-left: 2px solid transparent;
    transition: var(--transition);
    line-height: 1.4;
}
.lg-toc-list a:hover {
    color: var(--primary);
    background: #f0f9ff;
    border-left-color: var(--primary);
}

/* ---- Content body ---- */
.lg-body { max-width: 720px; }

.lg-section-block {
    margin-bottom: 48px;
    scroll-margin-top: 100px;
}
.lg-section-block:last-child { margin-bottom: 0; }

.lg-section-num {
    display: inline-block;
    background: #e8f7fd;
    color: var(--primary);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
}
.lg-section-heading {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 14px;
}
.lg-section-text {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0 0 12px;
}
.lg-section-text:last-child { margin-bottom: 0; }
.lg-section-text a { color: var(--primary); text-decoration: none; }
.lg-section-text a:hover { text-decoration: underline; }

.lg-list {
    margin: 12px 0;
    padding-left: 0;
    list-style: none;
}
.lg-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
}
.lg-list li::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 9px;
}

.lg-highlight {
    background: #f0f9ff;
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 16px 20px;
    margin: 16px 0;
    font-size: .9rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.lg-divider {
    border: none;
    border-top: 1px solid #edf0f7;
    margin: 0 0 48px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .lg-grid { grid-template-columns: 1fr; gap: 0; }
    .lg-toc { display: none; }
}
@media (max-width: 560px) {
    .lg-section { padding: 56px 0; }
}
