/* The legal pages: privacy, terms, security.
   One column, generous measure, and nothing decorative. Somebody reading these
   is checking a fact, so the job is to let them find it and leave. Everything
   else comes from styles.css, which the pages load first. */

.legal {
  max-width: 74ch;
  margin: 0 auto;
  padding: 96px 24px 120px;
}

.legal-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
  text-wrap: balance;
}

.legal-updated {
  margin: 0 0 44px;
  font-size: 0.875rem;
  color: var(--muted);
}

.legal h2 {
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 52px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.legal h3 {
  font-size: 1rem;
  margin: 30px 0 10px;
}

.legal p,
.legal li {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--muted-strong);
}

.legal p { margin: 0 0 18px; }

.legal ul,
.legal ol {
  margin: 0 0 20px;
  padding-left: 1.3em;
}

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

.legal strong { color: var(--ink); font-weight: 600; }

/* styles.css strips underlines site-wide, which is right for navigation and
   wrong in a paragraph: an address somebody needs to write to has to look like
   something they can click. */
.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
}
.legal a:hover { text-decoration-color: var(--blue-bright); }
.legal-back { text-decoration: none; }

.legal code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 0.875em;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
}

/* A fact worth not missing: what GitGraf never stores, who to write to. */
.legal-note {
  margin: 26px 0;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-left: 2px solid var(--blue-bright);
  border-radius: 10px;
  background: rgba(7, 87, 255, 0.06);
}

.legal-note p:last-child { margin-bottom: 0; }

.legal-table {
  width: 100%;
  margin: 0 0 24px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
  color: var(--muted-strong);
}

.legal-table th {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  padding-right: 22px;
}

.legal-scroll { overflow-x: auto; }

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

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

@media (max-width: 640px) {
  .legal { padding: 64px 18px 84px; }
  .legal h2 { margin-top: 40px; }
}
