:root {
  color-scheme: light;
  --cream: #f6f3ec;
  --paper: #fffdf9;
  --teal: #173f32;
  --muted: #4f6157;
  --border: #dce5de;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--teal);
  background: var(--cream);
  line-height: 1.8;
  overflow-wrap: anywhere;
}
* { box-sizing: border-box; }
body { margin: 0; }
.legal-shell { width: min(740px, calc(100% - 32px)); margin: 0 auto; }
.legal-header { padding: 24px 0 18px; }
.legal-brand { font-size: 22px; font-weight: 750; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
a {
  display: inline-block;
  min-width: 32px;
  min-height: 28px;
  padding: 2px 3px;
  color: var(--teal);
  line-height: 1.65;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 5px 10px;
  border-radius: 8px;
  white-space: nowrap;
}
nav a[aria-current="page"] { background: #e5ede7; text-decoration: none; }
a:hover { background: #e5ede7; }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px; }
main { padding: clamp(20px, 4vw, 44px); background: var(--paper); border: 1px solid var(--border); border-radius: 18px; }
h1 { margin: 0 0 8px; font-size: clamp(30px, 6vw, 42px); line-height: 1.2; letter-spacing: -0.025em; }
h2 { margin: 32px 0 10px; font-size: 22px; line-height: 1.4; }
h3 { margin: 24px 0 8px; font-size: 18px; line-height: 1.5; }
p { margin: 12px 0; }
ul, ol { margin: 12px 0; padding-left: 24px; }
li { margin: 10px 0; padding-left: 2px; }
code { font-size: 0.9em; overflow-wrap: anywhere; }
.legal-date, .legal-footer { color: var(--muted); font-size: 14px; }
.legal-intro { font-size: 18px; }
.legal-footer { padding: 20px 0 36px; }
@media (max-width: 420px) {
  nav { gap: 4px; }
  nav a { padding: 5px 8px; font-size: 14px; }
}
