/* The legal pages (privacy, terms, deleting your account; English and
   Arabic), which the App Store and Play listings link to. They load
   ../site.css first, for the landing page's tokens, fonts, topbar and
   footer, and this sheet only for the text between them: one readable
   column, aligned with the logo above it.

   site.css resets margins and list bullets for the landing page's layout;
   running text needs them back. Same CSP as the rest of the site: no inline
   style, no script. */

.legal {
  padding-block: 48px 8px;
}

@media (min-width: 720px) {
  .legal {
    padding-block: 72px 8px;
  }
}

.legal > * {
  max-width: 46rem;
}

.legal h1 {
  margin-top: 10px;
  font-size: clamp(34px, 5vw, 46px);
}

html[lang="ar"] .legal h1 {
  font-size: clamp(36px, 5.4vw, 50px);
  line-height: 1.3;
}

.legal h2 {
  margin: 44px 0 12px;
  font-size: 24px;
}

html[lang="ar"] .legal h2 {
  font-size: 26px;
  line-height: 1.4;
}

.legal p,
.legal li {
  margin: 0 0 12px;
}

.legal ul {
  margin: 0 0 12px;
  padding-inline-start: 22px;
  list-style: disc;
}

.legal li::marker {
  color: var(--faint);
}

.legal strong {
  color: var(--body-strong);
  font-weight: 500;
}

.legal .effective {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

/* A card in the app's line and radius; the head row on the well tone. */
.legal table {
  width: 100%;
  margin: 8px 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--surface);
  font-size: 15px;
}

.legal th,
.legal td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}

.legal th + th,
.legal td + td {
  border-inline-start: 1px solid var(--line);
}

.legal tr:last-child td {
  border-bottom: 0;
}

.legal th {
  background: var(--well);
  color: var(--ink);
  font-weight: 500;
}

/* The footer names the page you are on. */
.footer nav a[aria-current="page"] {
  color: var(--ink);
}
