:root {
  color-scheme: light dark;
  --bg: #f7f7f4;
  --fg: #1c1c1a;
  --muted: #62625d;
  --panel: #ffffff;
  --border: #d8d8d2;
  --accent: #2457a7;
  --code: #efefe9;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151515;
    --fg: #ededeb;
    --muted: #aaa9a4;
    --panel: #1d1d1d;
    --border: #353535;
    --accent: #8eb7ff;
    --code: #282828;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.shell {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 3rem;
}
.masthead, .content {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}
.masthead { margin-bottom: 1rem; }
.eyebrow {
  margin: 0 0 .4rem;
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1 { margin: 0; line-height: 1.15; }
.lede { margin-bottom: 0; color: var(--muted); }
h2 { margin-top: 2.2rem; line-height: 1.25; }
a { color: var(--accent); }
pre, code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
pre {
  overflow-x: auto;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--code);
}
code {
  overflow-wrap: anywhere;
}
.content > p:first-of-type {
  font-size: 1.08rem;
}
footer {
  padding: 1.25rem .4rem 0;
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}

/* The fingerprint is the page's trust anchor, not ordinary body copy. */
#trusted-primary-fingerprint + p {
  margin: .75rem 0 1rem;
  padding: 1rem 1.1rem;
  overflow-wrap: normal;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 650;
  letter-spacing: .035em;
  line-height: 1.55;
  background: var(--code);
  border: 1px solid var(--border);
  border-radius: 9px;
}
