/* Shared styles for the Privacy and Terms pages. Matches the landing page tokens. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --paper-alt: #f5f7fb;
  --ink: #0f1a2e;
  --ink-muted: #3d4a5e;
  --rule: #dde3ec;
  --accent: #3168ea;
  --accent-dark: #2a5fe6;
  --font: "Public Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.1875rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #fff; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--accent-dark); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 74rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

/* Document */
.doc { padding-block: clamp(3rem, 8vw, 5.5rem); }
.doc .wrap { max-width: 46rem; }
.doc h1 {
  margin: 0;
  font-size: clamp(2.25rem, 1.7rem + 2.2vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.updated { margin: 0.75rem 0 0; color: var(--ink-muted); font-size: 1rem; }
.lede {
  margin: 1.5rem 0 0;
  color: var(--ink-muted);
  font-size: 1.375rem;
  line-height: 1.5;
}
.doc h2 {
  margin: 3rem 0 0;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.doc p, .doc ul { margin: 0.75rem 0 0; }
.doc ul { padding-left: 1.25rem; }
.doc li + li { margin-top: 0.375rem; }
.doc strong { font-weight: 600; }

.callout {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  background: var(--paper-alt);
  border: 1px solid var(--rule);
}
.callout p { margin: 0; }

/* Footer */
.site-footer {
  padding-block: 3rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-muted);
  font-size: 1rem;
}
.site-footer .wrap { display: grid; gap: 1rem; }
.site-footer .brand { font-size: 1.125rem; min-height: 0; }
.site-footer p { margin: 0; max-width: 62ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 500; }
.footer-links a[aria-current="page"] { color: var(--ink); text-decoration: none; font-weight: 600; }

@media (max-width: 760px) {
  body { font-size: 1.125rem; }
  .lede { font-size: 1.25rem; }
  .doc h2 { margin-top: 2.5rem; font-size: 1.375rem; }
}
