/* Additions for the legal documents published verbatim from the lawyers' files
   (terms.html, privacy.html, copyright.html). They sit on top of legal.css, which
   the archived 2026-09-16 pages still depend on and which is therefore left
   untouched. These pages have no contents rail and no summary cards: the text is
   exactly the document's, so the layout is one column. */

.grid.solo { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .grid.solo { grid-template-columns: minmax(0, 1fr); } }

/* "Last Updated" line, straight under the title (above it on the privacy page,
   where the document puts the date first). */
.updated { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.title h1 + .updated { margin: 6px 0 0; }
.title h1 { max-width: none; }

article.doc { max-width: 78ch; }
article.doc h2 { margin: 34px 0 14px; }
article.doc h2:first-child { margin-top: 0; }
article.doc h2.unnum { display: block; font-size: 18px; margin-top: 30px; }
article.doc h2 .n { white-space: nowrap; }
article.doc h3 { margin: 22px 0 8px; }
article.doc u { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Paragraphs set entirely in capitals (disclaimers, liability, arbitration) keep their
   capitals; a touch smaller so a long run stays readable. */
article.doc p.caps { font-size: 14px; line-height: 1.7; letter-spacing: .005em; }

/* Lettered / numbered sub-items whose labels are part of the text: ( a ), ( 1 ) ... */
article.doc ul.lbl { list-style: none; padding-left: 0; margin: 0 0 16px; }
article.doc ul.lbl li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px; margin-bottom: 8px; }
article.doc ul.lbl .lbl-n { color: var(--muted-2); font-variant-numeric: tabular-nums; font-weight: 600; }

article.doc a { overflow-wrap: anywhere; }
article.doc p { overflow-wrap: break-word; }

@media (max-width: 820px) {
  article.doc ul.lbl li { grid-template-columns: 34px minmax(0, 1fr); }
}
