/*
 * The legal pages (privacy.html, terms.html): static files outside the Vite build, so the brand v2
 * tokens (src/design-tokens.css) are repeated here: Granite ground, Limestone text, Copper links,
 * Chakra Petch headings and Barlow body from /fonts.
 */
@font-face {
  font-family: 'Chakra Petch';
  font-weight: 600 900;
  font-display: swap;
  src: url('/fonts/chakra-petch-700-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-weight: 300 400;
  font-display: swap;
  src: url('/fonts/barlow-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-weight: 500 700;
  font-display: swap;
  src: url('/fonts/barlow-600-latin.woff2') format('woff2');
}

:root {
  --ground: #1b1e22;
  --card: #25282d;
  --text: #eee9e1;
  --text-2: rgba(238, 233, 225, 0.72);
  --edge: rgba(238, 233, 225, 0.12);
  --accent: #dc8a64;
  --warn-bg: rgba(194, 97, 43, 0.16);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font:
    400 17px/1.6 'Barlow',
    'Helvetica Neue',
    Arial,
    sans-serif;
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

h1,
h2,
h3 {
  font-family: 'Chakra Petch', 'Arial Narrow', Arial, sans-serif;
  letter-spacing: 0.04em;
  line-height: 1.25;
}
h1 {
  font-size: 32px;
  text-transform: uppercase;
  margin: 16px 0 4px;
}
h2 {
  font-size: 21px;
  text-transform: uppercase;
  margin: 40px 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--edge);
}
h3 {
  font-size: 17px;
  margin: 24px 0 4px;
}

p,
li {
  color: var(--text-2);
}
li + li {
  margin-top: 6px;
}

a {
  color: var(--accent);
}

code {
  font-size: 0.92em;
  background: var(--card);
  padding: 1px 5px;
  border-radius: 4px;
}

.updated {
  margin-top: 0;
  font-size: 15px;
}

.draft {
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--warn-bg);
  color: var(--text);
  font-weight: 600;
}

.back {
  font-size: 15px;
}

/* A value the owner and a lawyer must fill in. */
.ph {
  color: var(--text);
  background: var(--warn-bg);
  border: 1px dashed var(--accent);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 600;
}

/* Planned, not live yet. */
.soon {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ground);
  background: var(--accent);
  border-radius: 4px;
  padding: 0 6px;
  vertical-align: 1px;
}
