/* Legal pages. Builds on landing.css tokens, header and footer. */
.lg-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 380px at 82% -30%, rgba(8, 158, 90, .36), transparent 60%), var(--navy-deep); }
.lg-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 75% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 75% 30%, #000 20%, transparent 70%); }
.lg-hero-in { position: relative; z-index: 1; padding-block: 48px 56px; }
@media (min-width: 900px) { .lg-hero-in { padding-block: 68px 76px; } }
.lg-hero h1 { font-size: clamp(32px, 4.8vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; max-width: 820px; }
.lg-hero p { margin-top: 14px; max-width: 640px; font-size: 17px; color: #B6C4D4; }
.lg-hero .lg-meta { display: inline-block; margin-top: 18px; padding: 6px 14px; font-size: 13px; color: #CBD5E1; border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(255,255,255,.05); }

.lg-grid { display: grid; gap: 24px; padding-block: 40px 80px; align-items: start; }
@media (min-width: 1000px) { .lg-grid { grid-template-columns: 290px minmax(0, 1fr); gap: 56px; padding-block: 56px 96px; } }

/* on this page */
.lg-toc { border: 1px solid var(--line); border-radius: 18px; background: #fff; }
@media (min-width: 1000px) { .lg-toc { position: sticky; top: 92px; max-height: calc(100vh - 116px); overflow: auto; } }
.lg-toc summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 800; font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.lg-toc summary::-webkit-details-marker { display: none; }
.lg-toc summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .15s; margin-right: 4px; }
.lg-toc details[open] summary::after { transform: rotate(-135deg); }
@media (min-width: 1000px) { .lg-toc summary { cursor: default; pointer-events: none; } .lg-toc summary::after { display: none; } }
.lg-toc ol { padding: 0 8px 12px; display: grid; gap: 1px; }
.lg-toc a { display: block; padding: 7px 12px; border-left: 2px solid transparent; border-radius: 0 8px 8px 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; transition: color .15s, background .15s, border-color .15s; }
.lg-toc a:hover { color: var(--ink); background: var(--canvas); }
.lg-toc a.is-active { color: var(--green-deep); font-weight: 700; border-left-color: var(--green); background: var(--mint-soft); }

/* reading column */
.lg-body { max-width: 780px; }
.lg-body > div, .lg-body section { margin: 0; }
.lg-body section { padding-top: 6px; margin-bottom: 44px; scroll-margin-top: 92px; }
.lg-body h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; margin: 0 0 16px; color: var(--ink); scroll-margin-top: 92px; }
.lg-body h3 { font-size: 17.5px; font-weight: 800; letter-spacing: -.01em; margin: 26px 0 10px; color: var(--ink); }
.lg-body p, .lg-body li { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.lg-body p { margin: 0 0 14px; }
.lg-body ul, .lg-body ol { margin: 0 0 16px; padding-left: 0; display: grid; gap: 8px; }
.lg-body ul > li { position: relative; padding-left: 22px; }
.lg-body ul > li::before { content: ''; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.lg-body ol { counter-reset: n; } .lg-body ol > li { position: relative; padding-left: 30px; counter-increment: n; }
.lg-body ol > li::before { content: counter(n) '.'; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--green-deep); }
.lg-body strong { color: var(--ink); font-weight: 700; }
.lg-body a { color: var(--green-deep); text-decoration: underline; text-decoration-color: #A7F3D0; text-underline-offset: 3px; text-decoration-thickness: 2px; transition: text-decoration-color .15s; word-break: break-word; }
.lg-body a:hover { text-decoration-color: var(--green); }
.lg-body code { font-size: .88em; background: var(--canvas); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.lg-body .callout { margin: 18px 0; padding: 16px 18px; border-radius: 16px; background: var(--canvas); border: 1px solid var(--line); }
.lg-body .callout p:last-child, .lg-body .callout ul:last-child { margin-bottom: 0; }
.lg-body .callout.info { background: #EFF6FF; border-color: #BFDBFE; }
.lg-body .callout.ok { background: var(--mint-soft); border-color: #A7F3D0; }
.lg-body .callout.warn { background: #FFFBEB; border-color: #FDE68A; }
.lg-body .callout.danger { background: #FEF2F2; border-color: #FECACA; }
.lg-body .callout p { margin-bottom: 8px; }
.lg-body table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 14px 0 20px; font-size: 14.5px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: block; overflow-x: auto; }
.lg-body th { text-align: left; background: var(--canvas); color: var(--ink); font-weight: 800; padding: 12px 14px; }
.lg-body td { padding: 12px 14px; border-top: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.lg-body .legal-end { border-top: 1px solid var(--line); padding-top: 28px; }
.lg-body .center { text-align: center; }
.lg-body address { font-style: normal; }

.lg-related { margin-top: 56px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.lg-related h2 { font-size: 18px; margin: 0 0 12px; }
.lg-related ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.lg-related li { padding: 0; } .lg-related li::before { display: none; }
.lg-related a { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--canvas); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; transition: border-color .15s, background .15s; }
.lg-related a:hover { border-color: #A7F3D0; background: var(--mint-soft); }
@media print { .nav, .lg-toc, .lg-related, .foot, .progress, .lg-hero::after { display: none !important; } .lg-hero { color: #000; background: none; } .lg-hero p { color: #333; } .lg-grid { display: block; } }
