/* T-507 (site file): /terms and /privacy. One reading column of at most 680 px (about 68 ch of the text face at 18 px),
   body 18 px / 1.6, h2 26 px in the display face with 48 px above, the meta line --muted 15 px (.help), the contents
   list in two columns from 768 px, anchors landing 80 px below the top of the window, and every owner gap a yellow
   mark (--warn-bg, text --ink). Load after site.css. Class names carry lg- so nothing meets another page's. */

/* ---------------------------------------------------------------- the column */
.wrap.lg {
  /* the content box at most 680 px, whatever base.css's gutter is at this width */
  max-width: calc(680px + 2 * clamp(20px, 5vw, 64px));
  padding-top: clamp(28px, 6vw, 56px);
  padding-bottom: 96px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
}
.lg h1.title { margin-bottom: 12px; }
.lg-meta { margin-bottom: 32px; }
/* the version ("2026-11-15") is one word: it never breaks at its hyphens on a narrow phone (2026-11-16) */
.lg-nb { white-space: nowrap; }
.lg p, .lg ul { text-wrap: pretty; }
.lg > p + p, .lg section > * + p, .lg section > * + ul { margin-top: 16px; }
.lg strong { font-weight: 650; color: var(--ink); }

/* ---------------------------------------------------------------- the contents list */
.lg-toc {
  margin-top: 32px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lg-toc ul { list-style: none; }
.lg-toc li { break-inside: avoid; }
/* a block, not a flex box: a link with an element inside (Privacy's item 6 holds the company span) stays one run of
   text (T-516's I2); the padding centres one line in the 44 px target */
.lg-toc a {
  display: block;
  min-height: 44px;
  padding: calc((44px - 1.35em) / 2) 0;
  font-size: 17px;
  line-height: 1.35;
  color: var(--ink);
  text-decoration: none;
}
@media (hover: hover) { .lg-toc a:hover { text-decoration: underline; text-underline-offset: 4px; } } /* never kept after a tap (controls.css) */
@media (min-width: 768px) {
  .lg-toc ul { columns: 2; column-gap: 32px; }
}

/* ---------------------------------------------------------------- the sections */
.lg section { scroll-margin-top: 80px; }
.lg h2 { margin: 48px 0 12px; font-size: 26px; line-height: 1.2; letter-spacing: -.03em; text-wrap: balance; }
.lg section ul { list-style: disc; padding-left: 1.2em; }
.lg section li + li { margin-top: 8px; }
.lg section li::marker { color: var(--muted); }
.lg p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- the owner's gaps */
.lg-gap {
  padding: 1px 4px;
  border-radius: 3px;
  background: var(--warn-bg);
  color: var(--ink);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
