/* Shared stylesheet for the legal pages only. The landing page keeps its
   styles inline; these two pages share enough to earn one small file. Tokens
   match the product's globals.css — change them there first. */
:root {
  --background: #fafaf8;
  --foreground: #1c2321;
  --primary: #16655a;
  --primary-hover: #125349;
  --muted-foreground: #5f6b66;
  --body-foreground: #4e5a55;
  --faint-foreground: #6d7571;
  --border: #e4e7e4;
  --font-display: "Clash Display", "General Sans", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}
@font-face {
  font-family: "Clash Display";
  src: url("/fonts/ClashDisplay-Variable.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("/fonts/GeneralSans-Variable.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
::selection { background: #e7f0ec; }

.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 760px; margin: 0 auto; padding: 20px 24px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--foreground); }
.brand span { font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.back { font-size: 13.5px; font-weight: 500; text-decoration: none; color: var(--body-foreground); }
.back:hover { color: var(--primary); }

.page { max-width: 760px; margin: 0 auto; padding: 48px 24px 64px; }
.kicker {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted-foreground);
  margin: 0 0 10px;
}
h1 {
  font-family: var(--font-display); font-size: clamp(32px, 5vw, 44px);
  font-weight: 600; line-height: 1.06; letter-spacing: -0.015em; margin: 0;
}
.meta { margin: 10px 0 0; font-family: var(--font-mono); font-size: 11.5px; color: var(--faint-foreground); }
.page > p, .page li { color: var(--body-foreground); font-size: 15.5px; }
.page > p { margin: 20px 0 0; max-width: 64ch; }
.page > p strong, .page li strong { color: var(--foreground); }
h2 {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  letter-spacing: -0.01em; margin: 40px 0 0; padding-top: 24px;
  border-top: 1px solid var(--border);
}
h2 + p { margin-top: 12px; }
ul { margin: 12px 0 0; padding-left: 20px; }
li { margin-top: 8px; }
li::marker { color: var(--primary); }

.foot { max-width: 760px; margin: 0 auto; padding: 0 24px 48px; }
.foot p { border-top: 1px solid var(--border); padding-top: 24px; margin: 0; font-size: 12.5px; color: var(--faint-foreground); }
.foot a { color: var(--body-foreground); font-weight: 500; }
