:root {
  color-scheme: light dark;
  --bg:     #fcfcfa;
  --fg:     #1b1a17;
  --muted:  #5f5c55;
  --rule:   #e3e0d8;
  --accent: #7a4a1e;
  --card:   #f6f4ef;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg:     #16150f;
    --fg:     #eceadf;
    --muted:  #a39e91;
    --rule:   #2e2c23;
    --accent: #d9a46a;
    --card:   #1e1c15;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.65 ui-serif, Georgia, "Times New Roman", serif;
  padding: 0 20px;
}
.wrap { max-width: 44rem; margin: 0 auto; }
header { padding: clamp(3rem, 11vh, 7rem) 0 0; }
.mark {
  font: 600 0.78rem/1 ui-sans-serif, system-ui, -apple-system, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
h1 {
  font-size: clamp(1.9rem, 5.5vw, 2.9rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 1.1rem 0 0;
  text-wrap: balance;
}
.lede { font-size: clamp(1.05rem, 2.4vw, 1.2rem); color: var(--muted); margin: 1.1rem 0 0; }
h2 {
  font: 600 0.78rem/1 ui-sans-serif, system-ui, -apple-system, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 3.2rem 0 1rem;
}
p { margin: 0 0 1.05rem; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 3.2rem 0 0; }
ul { margin: 0 0 1.05rem; padding-left: 1.15rem; }
li { margin-bottom: 0.55rem; }
.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.2rem 1.35rem;
  margin: 0 0 1.05rem;
}
.card p:last-child { margin-bottom: 0; }
code {
  font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 5px;
  padding: 0.1em 0.38em;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.status {
  display: inline-block;
  font: 600 0.72rem/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.42em 0.8em;
  margin-bottom: 1.4rem;
}
footer {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 2rem 0 4rem;
}

/* The legal pages: the one-pager's type, with room for longer prose. */
.back {
  font: 600 0.78rem/1 ui-sans-serif, system-ui, -apple-system, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}
.updated { color: var(--muted); margin: 0.8rem 0 0; }
h3 { font-size: 1.05rem; font-weight: 600; margin: 1.8rem 0 0.6rem; }
footer nav a { color: var(--muted); }
footer nav a + a { margin-left: 1rem; }

