
.lg-hero {
    padding: var(--space-5) 0 var(--space-4);
    border-bottom: 1px solid var(--border-soft);
    background:
        radial-gradient(ellipse at 80% 0%, rgba(212, 175, 124, .10), transparent 60%),
        var(--bg);
}

.lg-hero__title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: -.015em;
    margin: 0 0 var(--space-2);
}

.lg-hero__lead {
    margin: 0 0 var(--space-2);
    max-width: 620px;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.6vw, 1.08rem);
    line-height: 1.7;
}

.lg-hero__meta {
    margin: 0;
    font-size: .82rem;
    color: var(--text-muted);
    letter-spacing: .03em;
}


.lg { padding: var(--space-5) 0; }

.lg__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    align-items: start;
}

@media (min-width: 960px) {
    .lg__inner {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: var(--space-5);
    }
}


.lg-toc {
    padding: var(--space-3);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

@media (min-width: 960px) {
    .lg-toc {
        position: sticky;
        top: 100px;
        max-height: calc(100vh - 140px);
        overflow-y: auto;
    }
}

.lg-toc__title {
    margin: 0 0 var(--space-1);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
}

.lg-toc ol {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: .15rem;
    font-size: .88rem;
    color: var(--text-muted);
}

.lg-toc a {
    display: block;
    padding: .25rem 0;
    transition: color .15s ease;
}

.lg-toc a:hover { color: var(--gold); }


.lg-content {
    max-width: 780px;
    color: var(--text-muted);
    font-size: .98rem;
    line-height: 1.8;
}

.lg-content section {
    scroll-margin-top: 90px;
    padding-bottom: var(--space-3);
    margin-bottom: var(--space-3);
    border-bottom: 1px solid var(--border-soft);
}

.lg-content section:last-child { border-bottom: 0; margin-bottom: 0; }

.lg-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 var(--space-2);
    color: var(--text);
}

.lg-content p { margin: 0 0 var(--space-2); }

.lg-content strong { color: var(--text); font-weight: 600; }

.lg-content a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(212, 175, 124, .4);
    transition: color .15s ease, text-decoration-color .15s ease;
}

.lg-content a:hover { color: var(--text); text-decoration-color: var(--gold); }

.lg-content ul {
    list-style: none;
    margin: 0 0 var(--space-2);
    padding: 0;
}

.lg-content li {
    position: relative;
    padding: .3rem 0 .3rem 1.5rem;
}

.lg-content li::before {
    content: "";
    position: absolute;
    left: .3rem;
    top: 1.05rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}

.lg-card {
    padding: var(--space-2) var(--space-3);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
}


.todo {
    padding: .05em .35em;
    background: #f4d35e;
    color: #2a1a08;
    border-radius: 4px;
    font-weight: 500;
}


.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
}

.footer-legal a {
    color: var(--text-muted);
    transition: color .15s ease;
}

.footer-legal a:hover { color: var(--gold); }