/* Copyright (C) Adaptive Technologies, Inc. 2026 All Rights Reserved
 *
 * ADPTV-2026. The two public policy documents (privacy.html, terms.html).
 * Hand-authored static HTML under frontend/public/ so the served bytes carry
 * the text: a carrier reviewer fetches the URL without running JavaScript,
 * and a React route gave that fetch an empty shell (the 10DLC rejection).
 *
 * Colours are the brand palette declared in a11y/brand-palette.json and
 * measured by backend/tests/test_a11y_brand_contrast.py. Every pairing used
 * here is declared there: ink, ink-soft, muted and law on paper. This file is
 * outside the Vite bundle and cannot import tokens, so the values are
 * repeated; change brand-palette.json first and mirror it here.
 */
:root {
  --ink: #0F1A1F;
  --ink-soft: #2A3540;
  --paper: #FBF9F4;
  --rule: rgba(15, 26, 31, 0.12);
  --muted: #6A7479;
  --law: #5B2A4A;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.doc header { padding-bottom: 8px; }
.doc header .home {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--law);
  text-decoration: none;
}
.doc header .home:hover, .doc header .home:focus-visible { text-decoration: underline; }
.doc header .entity {
  margin: 24px 0 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.doc h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 12px 0 6px;
}
.doc .updated {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.doc main { margin-top: 32px; }
.doc h2 {
  font-family: var(--serif);
  font-size: 1.375rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 36px 0 12px;
}
.doc h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 24px 0 8px;
}
.doc p, .doc li {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.doc ol, .doc ul { padding-left: 22px; margin: 0 0 14px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--law); font-weight: 600; }
.doc .lede {
  font-size: 1.0625rem;
  color: var(--ink);
}
.doc .notice {
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 0 0 24px;
}
.doc .notice p:last-child { margin-bottom: 0; }
.doc footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 0.8125rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}
.doc footer a { color: var(--law); }
:focus-visible { outline: 2px solid var(--law); outline-offset: 2px; }
