/* Shared styling for the Privacy Policy and Terms of Service pages.
   Deliberately plain: these are documents people skim to find one clause, so
   the priority is a comfortable measure, obvious headings and scannable lists —
   not the marketing styling used elsewhere on the site. */

.legal-body {
  background: #fff;
}

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 96px;
}

.legal-wrap h1 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.legal-updated {
  color: #667085;
  font-size: 14px;
  margin: 0 0 12px;
}

/* Short orientation paragraph under the title — the thing most people actually
   want, stated before they have to read anything legal. */
.legal-summary {
  background: #f6f8ff;
  border: 1px solid #d5ddfb;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 20px 0 36px;
  font-size: 15px;
  line-height: 1.65;
  color: #1d2939;
}

.legal-summary strong { font-weight: 700; }

.legal-wrap h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  padding-top: 20px;
  border-top: 1px solid #e4e7ec;
}

.legal-wrap h3 {
  font-size: 16px;
  margin: 24px 0 8px;
}

.legal-wrap p,
.legal-wrap li {
  font-size: 15.5px;
  line-height: 1.75;
  color: #344054;
}

.legal-wrap ul { padding-left: 22px; margin: 12px 0; }
.legal-wrap li { margin: 8px 0; }
.legal-wrap li > strong { color: #101828; }

.legal-wrap a { color: #2450e9; }

.legal-wrap code {
  background: #f2f4f7;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 13.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Table used for "what we store in your browser" — a list would bury the
   distinction between what stays local and what is sent anywhere. */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14.5px;
  display: block;
  overflow-x: auto;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #e4e7ec;
  vertical-align: top;
  line-height: 1.55;
}

.legal-table th {
  font-weight: 600;
  color: #101828;
  white-space: nowrap;
}

.legal-table td code { white-space: nowrap; }

.legal-contact {
  margin-top: 40px;
  padding: 18px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fcfcfd;
}

@media (max-width: 600px) {
  .legal-wrap { padding: 32px 16px 72px; }
  .legal-wrap h2 { margin-top: 32px; }
}
