/* Legal and utility pages: same v3 Stage system, no scroll motion */
body.legal-page { background: var(--bg); color: var(--text); font-family: var(--body); }
.lg-hdr { position: sticky; top: 0; z-index: 30; border-radius: 0; border-width: 0 0 1px; }
.lg-hdr-in { height: var(--hdr-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.lg-nav { display: none; gap: clamp(1.8rem, 3vw, 3rem); font-size: 14px; font-weight: 600; color: var(--muted); }
.lg-nav a:hover { color: var(--text); }
@media (min-width: 900px) { .lg-nav { display: flex; } }
@media (max-width: 520px) { .lg-hdr .btn { padding: 9px 14px; font-size: 11px; } }

.lg-hero { position: relative; padding: clamp(4rem, 9vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem); background: radial-gradient(60% 80% at 80% 0%, rgba(30, 16, 199, 0.28), transparent 70%); }
.lg-hero h1 { font-size: clamp(44px, 6vw, 88px); max-width: 16ch; }
.lg-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-top: 1.75rem; font-size: 13px; color: var(--muted); }
.lg-meta b { color: var(--text); font-weight: 700; }

.lg-grid { display: grid; gap: 3rem; padding-bottom: clamp(4rem, 8vw, 7rem); }
@media (min-width: 1000px) { .lg-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 4rem; } .lg-toc { position: sticky; top: calc(var(--hdr-h) + 1.5rem); align-self: start; } }
.lg-toc { font-size: 13px; }
.lg-toc .lg-toc-h { font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lime); font-size: 11px; margin-bottom: 0.9rem; }
.lg-toc ol { display: grid; gap: 0.55rem; counter-reset: t; }
.lg-toc li a { color: var(--muted); }
.lg-toc li a:hover { color: var(--text); }
@media (max-width: 999px) { .lg-toc { display: none; } }

.lg-article { max-width: 760px; font-size: 16px; line-height: 1.7; color: rgba(243, 240, 232, 0.82); }
.lg-article section { padding: 2.2rem 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hdr-h) + 1rem); }
.lg-article section:first-of-type { border-top: 0; }
.lg-article .lg-h { display: flex; align-items: baseline; gap: 0.9rem; margin-bottom: 0.9rem; }
.lg-article .lg-num { font-family: var(--display); color: var(--lime); font-size: 18px; }
.lg-article h2 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.05; color: var(--text); }
.lg-article h3 { font-size: 17px; font-weight: 700; color: var(--text); margin: 1.4rem 0 0.4rem; }
.lg-article p + p { margin-top: 0.9rem; }
.lg-article ul, .lg-article ol { margin: 0.8rem 0 0.8rem 1.2rem; list-style: disc; display: grid; gap: 0.4rem; }
.lg-article ol { list-style: decimal; }
.lg-article a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.lg-article strong, .lg-article b { color: var(--text); }
.lg-article table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 14px; }
.lg-article th, .lg-article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lg-article th { color: var(--text); font-weight: 700; }
.lg-article .lg-note { display: block; padding: 1.1rem 1.25rem; border: 1px solid var(--glass-line); border-radius: var(--r-card); background: var(--glass); margin-bottom: 1rem; }

.lg-foot { border-top: 1px solid var(--line); padding: 1.6rem 0; font-size: 13px; color: var(--muted); }
.lg-foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.lg-foot nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.lg-foot a:hover { color: var(--text); }

/* Cookie bar (Europe only, see consent.js) */
.cookie-bar { position: fixed; left: var(--gutter); bottom: 1.25rem; z-index: 80; max-width: 440px; padding: 1rem 1.1rem; border-radius: var(--r-card); font-size: 13px; line-height: 1.5; color: var(--muted); }
.cookie-bar a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; justify-content: flex-end; gap: 0.6rem; margin-top: 0.8rem; }
