/* Mossforge's own palette, taken from core-ui/src/main/java/com/mossforge/core/ui/Color.kt so the
   policy page reads as the app's sibling rather than a stray document. Light values are the
   *Light scheme's, dark are the base scheme's, and both are painted explicitly. */
:root {
  --bg:      #E9E1CE;
  --surface: #FDFBF4;
  --text:    #1F1D16;
  --muted:   #4F4C40;
  --rule:    #7D7A6C;
  --accent:  #4B6B3B;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg:      #121410;
    --surface: #1B1E17;
    --text:    #E7E5DC;
    --muted:   #A8A79C;
    --rule:    #3C3B33;
    --accent:  #7FA06B;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 3rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 2rem 1.75rem;
}

.brand {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

h1 { font-size: 1.65rem; line-height: 1.25; margin: 0 0 0.35rem; }

h2 {
  font-size: 1.05rem;
  margin: 2.25rem 0 0.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }

.dateline { color: var(--muted); font-size: 0.9rem; margin: 0 0 1.75rem; }

ul { padding-left: 1.2rem; }
li { margin: 0.4rem 0; }

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

.lede {
  font-size: 1.05rem;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin: 0 0 1.75rem;
}

footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
  color: var(--muted);
  font-size: 0.85rem;
}
footer a { color: var(--muted); }
