/* Privacy, Terms, Support and Data Deletion pages. Builds on the tokens in site.css. */

body.legal {
  background:
    radial-gradient(60% 420px at 8% 0%, rgba(73, 166, 255, .16), transparent 70%),
    radial-gradient(55% 420px at 96% 0%, rgba(167, 139, 250, .16), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 780px;
  padding-top: clamp(24px, 4vw, 48px);
}
.legal-tabs a {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.legal-tabs a:hover { border-color: var(--ink-3); color: var(--ink); }
.legal-tabs a[aria-current="page"] { border-color: transparent; background: var(--ink); color: var(--bg); }

.page-shell {
  width: min(100% - clamp(32px, 8vw, 80px), 780px);
  margin-inline: auto;
  padding-block: clamp(28px, 4vw, 44px) clamp(64px, 9vw, 120px);
}

.document h1 {
  margin-top: 14px;
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.document .lead {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem);
  line-height: 1.5;
}
.document .updated { margin-top: 14px; color: var(--ink-3); font-size: .9375rem; font-weight: 550; }

.document h2 {
  margin: 44px 0 0;
  font-size: clamp(1.375rem, 1.2rem + .7vw, 1.625rem);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.document h3 { margin: 28px 0 0; font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; }
.document p { margin-top: 12px; line-height: 1.68; }
.document h2 + p, .document h3 + p { margin-top: 10px; }
.document ul, .document ol { margin-top: 12px; padding-left: 1.4em; list-style: revert; line-height: 1.68; }
.document li + li { margin-top: 8px; }
.document li::marker { color: var(--brand-ink); font-weight: 700; }
.document strong { font-weight: 700; }

.callout {
  margin: 30px 0 0;
  padding: 18px 22px;
  border: 1px solid color-mix(in srgb, var(--mint) 45%, transparent);
  border-radius: 20px;
  background: color-mix(in srgb, var(--mint) 12%, var(--surface));
  font-weight: 550;
  line-height: 1.55;
}
.callout.blue {
  border-color: color-mix(in srgb, var(--sky) 50%, transparent);
  background: color-mix(in srgb, var(--sky) 12%, var(--surface));
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 30px;
}
.contact-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-2);
}
.contact-card strong { display: block; margin-bottom: 6px; font-size: .9375rem; }
.contact-card a { font-weight: 600; overflow-wrap: anywhere; }

.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.button:hover { border-color: var(--ink); }
.button.primary { border-color: transparent; background: var(--brand); color: #fff; }
.button.primary:hover { background: var(--brand-hover); }
