/* Shared shell for the plain-text pages: privacy, terms, support.
   Same type and ink as the landing page, no parallax, no images —
   these pages exist to be read by a parent and by an App Review
   engineer, so the only job here is a comfortable measure. */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 120px;
}

.legal h1 {
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.legal .updated {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 44px;
}

.legal h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 44px 0 12px;
}

.legal h3 {
  font-size: 17px;
  margin: 28px 0 8px;
}

.legal p,
.legal li {
  font-size: 17px;
  line-height: 1.6;
}

.legal p {
  margin-bottom: 14px;
}

.legal ul {
  margin: 0 0 14px 22px;
}

.legal li {
  margin-bottom: 8px;
}

.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal .lede {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 28px;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  font-size: 16px;
}

.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid #ececec;
}

.legal th {
  font-weight: 500;
  color: var(--muted);
  font-size: 14px;
}

.legal .back {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

.legal .back:hover { color: var(--ink); }

/* On a text page the footer follows the words closely — the landing page's
   160px of air is there to end a long scroll, and there is no long scroll here. */
.legal ~ .footer { padding-top: 60px; }

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer a:hover { color: var(--ink); }
