/* 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: #faf7f1;
  --foreground: #1a2420;
  --primary: #135e52;
  --primary-deep: #0e3f38;
  --primary-hover: #0e3f38;
  --muted-foreground: #5a6a63;
  --body-foreground: #43524c;
  --faint-foreground: #5a6a63; /* captions and kickers. Was #6b7b74, which
                                 is 4.39:1 on card, 4.17 on the page and 3.81
                                 on the muted band — under the floor on every
                                 ground the site uses. The app's token was
                                 always this; the site drifted. */
  --accent: #e7eee9;
  --border: rgb(19 58 50 / 0.13);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Instrument Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-opsz-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  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: 3px; border-radius: 6px; }
::selection { background: var(--accent); }

.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: 17px; font-weight: 500; 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-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--faint-foreground);
  margin: 0 0 10px;
}
h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 500; line-height: 1.06; letter-spacing: -0.015em; margin: 0;
  font-variation-settings: "opsz" 100;
}
.meta { margin: 10px 0 0; font-size: 13px; font-variant-numeric: tabular-nums; 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); }
/* A section heading in a legal document is furniture, not a moment: the UI
   face, the way h2 is everywhere else in the system. */
h2 {
  font-size: 1.125rem; 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; }
