/* ============ Privacy policy and terms of use ============
   A reading layout: a short dark stage, then a sticky contents list beside the document. */
.lg-hero .stage-hero__copy { padding-bottom: clamp(2rem, 5vw, 4rem); }
.lg-hero .stage-hero__sub { max-width: 52ch; }
.lg { display: grid; grid-template-columns: minmax(200px, 3fr) 8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.lg-toc { position: sticky; top: 104px; }
.lg-toc .kicker { margin-bottom: 1rem; }
.lg-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; border-left: 1px solid var(--line); }
.lg-toc li { counter-increment: t; }
.lg-toc ol a { display: flex; gap: .75rem; padding: .45rem 0 .45rem 1rem; margin-left: -1px; border-left: 1px solid transparent; font-size: var(--step-small); line-height: 1.35; color: var(--soft); text-decoration: none; transition: color .3s, border-color .3s; }
.lg-toc ol a::before { content: counter(t, decimal-leading-zero); flex: none; font-variant-numeric: tabular-nums; opacity: .6; }
.lg-toc ol a:hover, .lg-toc ol a.is-on { color: var(--ink); border-left-color: var(--glow); }
.lg-other { display: inline-block; margin-top: 1.75rem; padding: .7rem 0; font-size: var(--step-small); font-weight: 600; color: var(--glow); text-decoration: none; }
.lg-other::after { content: ' →'; }

.lg-doc { max-width: 72ch; }
.lg-lead { margin: 0 0 clamp(2.5rem, 5vw, 4rem); font-size: var(--step-lead); line-height: 1.5; color: var(--ink); }
.lg-sec { padding: clamp(1.75rem, 3vw, 2.5rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.lg-sec h2 { display: flex; align-items: baseline; gap: 1rem; margin: 0 0 1.25rem; max-width: none; font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; color: var(--ink); }
.lg-sec h2 span { flex: none; font-size: var(--step-small); font-weight: 600; letter-spacing: .04em; color: var(--glow); font-variant-numeric: tabular-nums; }
.lg-sec p, .lg-sec li, .lg-defs dd { font-size: var(--step-body); line-height: 1.65; color: var(--soft); }
.lg-sec p + p, .lg-sec p + ul { margin-top: 1rem; }
.lg-sec ul { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.lg-sec li { position: relative; padding-left: 1.5rem; }
.lg-sec li::before { content: ''; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--glow); }
.lg-sec a { color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--glow) 50%, transparent); text-underline-offset: 3px; }
.lg-defs { display: grid; margin: 0; }
.lg-defs div { display: grid; grid-template-columns: minmax(150px, 2fr) 5fr; gap: .5rem 2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.lg-defs div:first-child { padding-top: 0; }
.lg-defs dt { font-size: var(--step-body); font-weight: 600; line-height: 1.45; color: var(--ink); }
.lg-defs dd { margin: 0; }
.lg-table { overflow-x: auto; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.lg-table table { width: 100%; border-collapse: collapse; }
.lg-table th { padding: .9rem 1.1rem; background: var(--ground, #F4F4F6); text-align: left; font-size: var(--step-small); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--soft); }
.lg-table td { padding: 1rem 1.1rem; border-top: 1px solid var(--line); vertical-align: top; font-size: var(--step-body); line-height: 1.55; color: var(--soft); }
.lg-table td:first-child { width: 56%; color: var(--ink); }

@media (max-width: 899px) {
  .lg { grid-template-columns: 1fr; }
  .lg-toc { position: static; padding: 1.25rem; border-radius: 18px; background: var(--ground, #F4F4F6); }
  .lg-toc ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; border: 0; }
  .lg-toc ol a { padding-left: 0; border: 0; }
}
@media (max-width: 599px) {
  .lg-toc ol { grid-template-columns: 1fr; }
  .lg-defs div { grid-template-columns: 1fr; gap: .25rem; }
  .lg-table thead { display: none; }
  .lg-table tr { display: block; padding: 1rem 1.1rem; border-top: 1px solid var(--line); }
  .lg-table tr:first-child { border-top: 0; }
  .lg-table td { display: block; width: auto !important; padding: 0; border: 0; }
  .lg-table td + td { margin-top: .35rem; font-size: var(--step-small); color: var(--glow); }
}
@media (max-width: 1199px) { .lg-toc ol a { min-height: 44px; align-items: center; } }
