/* Long documents: wide, left-aligned and readable on the same glass card as the other pages */
.legal.container {
  max-width: 820px;
  text-align: left;
  line-height: 1.6;
  color: #1e2124;
}
.legal h1 { margin-top: 0.4em; }
.legal h2 { font-family: 'Montserrat', sans-serif; font-size: 1.25em; margin: 1.6em 0 0.5em; color: #23272a; }
.legal h3 { font-size: 1.05em; margin: 1.2em 0 0.4em; }
.legal p, .legal li { font-size: 1em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin: 0.25em 0; }
.legal a { color: #3442c9; }
.legal code { background: rgba(255, 255, 255, 0.45); border-radius: 4px; padding: 0 0.3em; }
.legal .lead { font-size: 1.08em; }
.legal-home { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; color: #23272a !important; text-decoration: none; }
.legal-home img { border-radius: 10px; }
.legal-updated { color: #4a4f57; margin-top: 0; }
.legal-other { margin-top: 2em; }
.legal table { width: 100%; border-collapse: collapse; margin: 0.6em 0; font-size: 0.95em; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 0.5em 0.6em; border-bottom: 1px solid rgba(35, 39, 42, 0.18); }
.legal th { font-weight: 600; }
.legal footer { text-align: center; }
@media (max-width: 560px) {
  .legal.container { padding: 1.6em 1.1em 1.2em; }
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal td:first-child { font-weight: 600; border-bottom: none; padding-bottom: 0; }
  /* Wide tables lose their header row here: each cell names its column */
  .legal td[data-label] { border-bottom: none; padding-top: 0.15em; padding-bottom: 0; }
  .legal td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; }
  .legal td[data-label]:last-child { border-bottom: 1px solid rgba(35, 39, 42, 0.18); padding-bottom: 0.5em; }
}
/* A version that isn't in effect yet, or an earlier one */
.legal-notice { background: rgba(88, 101, 242, 0.12); border-left: 4px solid #5865f2; border-radius: 8px; padding: 0.6em 0.9em; margin: 1em 0; }
.legal-notice p { margin: 0.2em 0; }
.legal-notice-summary, .legal-history-summary { color: #4a4f57; }
.legal-history li { margin: 0.6em 0; }
