/* Sam's legal pages: one plain stylesheet. System fonts only, no remote resources, light and dark. */
:root {
  color-scheme: light dark;
  --bg: #fbfaff;
  --text: #1d1b26;
  --muted: #5b576b;
  --link: #5a3fd6;
  --rule: #e4e0f0;
  --box: #f1edff;
  --box-border: #cfc4ff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15131c;
    --text: #ece9f5;
    --muted: #a7a2b8;
    --link: #b6a4ff;
    --rule: #2e2a3b;
    --box: #221d33;
    --box-border: #4a3f7a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.page { max-width: 42rem; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
header.site { padding-bottom: 0.75rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.5rem; }
header.site a { font-weight: 700; text-decoration: none; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 0.25rem; }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.0625rem; margin: 1.5rem 0 0.25rem; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }
a { color: var(--link); text-underline-offset: 0.15em; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 2px; }
.meta { color: var(--muted); font-size: 0.9375rem; margin-bottom: 1.5rem; }
.note {
  background: var(--box);
  border: 1px solid var(--box-border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin: 1rem 0 1.5rem;
}
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: 0.9375rem; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem 0.5rem 0.5rem 0; border-bottom: 1px solid var(--rule); }
th { font-weight: 600; }
.table-wrap { overflow-x: auto; }
nav.pages ul { list-style: none; padding: 0; }
nav.pages li { margin-bottom: 0.75rem; }
nav.pages a { font-weight: 600; }
footer.site { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.9375rem; }
footer.site p { margin-bottom: 0.5rem; }
