/*
 * The legal pages. Read on a phone, often by someone deciding whether to trust
 * the app with where their children are — so: long measure, real paragraphs,
 * and a table where a table is honest about what is collected.
 */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px calc(64px + var(--safe-bottom));
  width: 100%;
}
.legal h1 { font-size: 28px; margin: 8px 0 4px; }
.legal h2 { font-size: 19px; color: var(--text); margin: 32px 0 10px; }
.legal p, .legal li { line-height: 1.6; }
.legal .meta { color: var(--text-dim); font-size: 14px; margin: 0 0 24px; }
.legal a { color: var(--accent); }
.legal ul { padding-inline-start: 22px; }
.legal li { margin-bottom: 8px; }

.callout {
  background: rgba(255,59,48,.12);
  border: 1px solid var(--danger);
  border-radius: var(--radius);
  padding: 16px;
  margin: 20px 0 28px;
}

.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 15px; }
.legal th, .legal td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--text-dim); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.legal tr:last-child td { border-bottom: 0; }

/* A table cannot wrap below ~560px without becoming unreadable, so it scrolls
   inside its own box rather than pushing the page sideways. */
@media (max-width: 560px) {
  .legal table { display: block; overflow-x: auto; white-space: normal; }
}
