/*
 * Shared stylesheet for the legal/compliance pages: one narrow reading
 * column with a small amount of brand color for orientation.
 */

:root {
  color: #1a1a1a;
  background: #fff;
  --accent: #1746d2;
  --muted: #60636c;
}

* {
  box-sizing: border-box;
}

body {
  max-width: 42rem;
  min-width: 320px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
  color: #1a1a1a;
  background: #fff;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-header__inner {
  display: flex;
  align-items: baseline;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.wordmark {
  font-weight: 600;
  text-decoration: none;
}

.wordmark:hover {
  text-decoration: underline;
}

.site-nav {
  display: flex;
  gap: 8px 16px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 650;
  line-height: 1.25;
}

h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1.3;
}

h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 650;
}

p,
li {
  margin: 0.75rem 0;
  color: #333;
}

ul {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
}

.lede {
  color: var(--muted);
}

.updated {
  color: var(--muted);
  font-size: 0.85rem;
}

.callout {
  margin-top: 2rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
}

.callout h2 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.callout p {
  margin: 0;
}
