/* Legal pages (privacy-policy.html, cookie-policy.html): one text column, a contents list beside it from 1024 up.
   The text is the company's own; this file only sets it. */
.lg { padding-top: clamp(56px, 7vw, 112px); padding-bottom: var(--sec); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 72px) clamp(40px, 6vw, 96px); }
.lg__head { display: grid; gap: 18px; }
.lg__date { color: var(--ink); }

/* contents: dropped under 1024, sticky beside the text above */
.lg__toc { display: none; }
@media (min-width: 1024px) {
  .lg { grid-template-columns: 280px minmax(0, 1fr); }
  .lg__head { grid-column: 1 / -1; padding-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--hair); }
  .lg__toc { display: block; position: sticky; top: 96px; align-self: start; max-height: calc(100dvh - 128px); overflow: auto; font-size: var(--t-small); line-height: 1.4; color: var(--muted); }
  .lg__toc ol { margin-top: 14px; border-top: 1px solid var(--hair); }
  .lg__toc a { display: grid; grid-template-columns: 28px 1fr; padding: 9px 0; border-bottom: 1px solid var(--hair); text-decoration: none; transition: color calc(var(--u) * 2) var(--ease); }
  .lg__toc a:hover { color: var(--ink); }
  .lg__toc a:focus-visible { outline-offset: -2px; }
  .lg__toc span { font: 500 11px/1.75 var(--f-mono); letter-spacing: .05em; color: var(--sheet); }
}

/* the text column: about 70 characters a line at body size */
.lg__text { max-width: 32em; color: var(--muted); text-wrap: pretty; overflow-wrap: break-word; }
.lg__text > * + * { margin-top: 1em; }
.lg__text h2 { margin-top: 2.6em; padding-top: 1.1em; border-top: 1px solid var(--hair); font: 600 clamp(22px, 1.9vw, 28px)/1.15 var(--f-display); letter-spacing: -0.018em; color: var(--ink); text-wrap: balance; scroll-margin-top: 80px; }
.lg__text h3 { margin-top: 2em; font: 600 18px/1.3 var(--f-text); letter-spacing: -0.01em; color: var(--ink); }
.lg__text h2 + h3 { margin-top: 1.2em; }
.lg__text strong { font-weight: 500; color: var(--ink); }
.lg__text a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lg__text a:hover { text-decoration-thickness: 2px; }
.lg__text li { position: relative; padding-left: 22px; }
.lg__text li + li { margin-top: .45em; }
.lg__text li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 1px; background: var(--sheet); }
.lg__text table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.lg__text th, .lg__text td { padding: 10px 16px 10px 0; border-top: 1px solid var(--hair); text-align: left; vertical-align: top; }
.lg__text th { font: 500 var(--t-label) var(--f-mono); letter-spacing: .07em; text-transform: uppercase; }
