/* Egodi policy pages — matches the egodi.app brand system. */

:root {
  --paper: #fafbf8;
  --ink: #1f2823;
  --muted: #5c6660;
  --accent: #a67b0f;
  --line: #dde3dd;
  --card: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0 auto;
  padding: 56px 22px 96px;
  max-width: 680px;
  background: var(--paper);
  color: var(--ink);
  font-family: Charter, "Iowan Old Style", Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
}

/* Brand bar: a quiet amber thread across the top of every policy page */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
}

h1 {
  font-family: -apple-system, "Segoe UI", system-ui, sans-serif;
  font-weight: 750;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  text-wrap: balance;
}

h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 14px;
  background: var(--accent);
  border-radius: 2px;
}

h2 {
  font-family: -apple-system, "Segoe UI", system-ui, sans-serif;
  font-weight: 650;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 2.2em 0 0.5em;
}

.meta {
  font-family: -apple-system, "Segoe UI", system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--muted);
  margin: 10px 0 28px;
}

p { margin: 0 0 1em; }

ul {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
}

li {
  margin-bottom: 0.55em;
  padding-left: 0.2em;
}

li::marker { color: var(--accent); }

b, strong { font-weight: 650; }

a {
  color: var(--accent);
  text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
  text-underline-offset: 2px;
}

a:hover { text-decoration-color: var(--accent); }

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

@media (max-width: 480px) {
  body { padding-top: 40px; font-size: 16px; }
  h1 { font-size: 26px; }
}

@media print {
  body { max-width: none; padding: 0; background: #fff; }
  body::before { display: none; }
  a { color: inherit; text-decoration: none; }
}
