/* Legal pages (terms, privacy): style only. Short hero panel + sticky contents + one prose card. */
main > .section + .section { border-top: 0; }

/* hero panel */
main > .section.legal-head.lg-hero { padding-top: clamp(92px, 12svh, 112px); padding-bottom: clamp(3rem, 2rem + 2.5vw, 5rem); }
.lg-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 30%); gap: clamp(2rem, 4vw, 4rem); align-items: end; }
.lg-copy.prose { max-width: none; }
.lg-copy .status-pill { margin-bottom: 1.25rem; }
.lg-copy h1 { font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); line-height: 0.98; letter-spacing: -0.045em; margin: 0 0 clamp(1.25rem, 0.5rem + 1.5vw, 2rem); }
.lg-copy .lead { max-width: 44rem; font-size: 1.0625rem; line-height: 1.55; }
.lg-copy p:not(.lead) { max-width: 44rem; font-size: 0.95rem; color: var(--muted, #475569); }

/* hero visual: a document card + one person */
.lg-vis { position: relative; min-height: 19rem; }
.lg-doc { position: absolute; left: 0; bottom: 1rem; width: min(14rem, 62%); padding: 1.1rem 1.1rem 1rem; background: #fff; border-radius: 22px; box-shadow: var(--sh-3, 0 30px 60px -20px rgba(11, 31, 59, .25)); transform: rotate(-3deg); }
.lg-doc-h { display: flex; align-items: center; gap: .6rem; margin: 0; font: 600 0.95rem/1.2 Outfit, system-ui, sans-serif; color: var(--ink, #0B1F3B); }
.lg-doc-ic { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 10px; background: var(--pa-soft, #DBEAFE); color: var(--pa, #2563EB); font-weight: 700; }
.lg-doc-s { margin: .35rem 0 .8rem; font-size: .78rem; color: var(--muted, #64748B); }
.lg-doc i { display: block; height: 7px; border-radius: 4px; background: #E7EDF7; margin-bottom: 7px; }
.lg-doc i.s { width: 62%; }
.lg-doc-f { margin: .7rem 0 0; }
.lg-pp { position: absolute; right: 4%; bottom: -0.5rem; width: 9rem; display: block; }
.lg-pp svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 14px 10px rgba(11, 31, 59, .12)); }
.lg-bub { position: absolute; right: 34%; top: 0; margin: 0; z-index: 2; }

/* body: contents left, prose card right, inside the 1384 container */
.lg-body { padding-top: var(--sy, 120px); }
.lg-grid { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 48px; align-items: start; max-width: 1384px; }
.lg-toc { position: sticky; top: 5.5rem; padding: 1.4rem 1.2rem; background: #fff; border-radius: 24px; box-shadow: var(--sh-1, 0 2px 8px rgba(11, 31, 59, .06)); }
.lg-toc-h { margin: 0 0 .75rem; font: 600 .95rem/1.2 Outfit, system-ui, sans-serif; color: var(--ink, #0B1F3B); }
.lg-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: lg; }
.lg-toc li { counter-increment: lg; margin: 0; }
.lg-toc a { display: flex; gap: .55rem; padding: .42rem .55rem; border-radius: 10px; font-size: .88rem; line-height: 1.3; color: var(--muted, #475569); text-decoration: none; }
.lg-toc a::before { content: counter(lg); flex: none; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 7px; background: var(--pa-soft, #DBEAFE); color: var(--pa, #2563EB); font-size: .72rem; font-weight: 700; }
.lg-toc a:hover, .lg-toc a:focus-visible { background: var(--pa-soft, #DBEAFE); color: var(--ink, #0B1F3B); }

.lg-card.prose { max-width: none; padding: clamp(1.75rem, 1rem + 2.5vw, 3.25rem); background: #fff; border-radius: 36px; box-shadow: var(--sh-2, 0 12px 32px -12px rgba(11, 31, 59, .18)); }
.lg-card > * { max-width: 46rem; }
.lg-card h2 { font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.7rem); line-height: 1.15; letter-spacing: -0.03em; margin: 2.6rem 0 .8rem; padding-top: 2rem; border-top: 1px solid #E7EDF7; scroll-margin-top: 6rem; }
.lg-card h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.lg-card p, .lg-card li { font-size: 1rem; line-height: 1.65; }
.lg-card a { color: var(--pa-ink, #1D4ED8); }

@media (max-width: 63.99rem) {
  .lg-hero-in { grid-template-columns: 1fr; }
  .lg-vis { min-height: 14rem; max-width: 26rem; }
  .lg-grid { grid-template-columns: 1fr; gap: 24px; }
  .lg-toc { position: static; }
  .lg-toc ol { columns: 2; column-gap: 1rem; }
  .lg-toc li { break-inside: avoid; }
}
@media (max-width: 40rem) {
  .lg-vis { display: none; }
  .lg-toc ol { columns: 1; }
  .lg-card.prose { border-radius: 28px; padding: 1.5rem 1.25rem; }
}
