/* The front door (T-654). One stylesheet, no web fonts, no images: the CSP
   allows 'self' styles and nothing else to load. Dark/light follows the
   reader's prefers-color-scheme. */
:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --fg: #1d1d1f;
  --muted: #5c5c66;
  --rule: #d9d6cf;
  --accent: #1f5fae;
  --code-bg: #efece5;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --fg: #e6e4df;
    --muted: #a3a2ab;
    --rule: #2e3138;
    --accent: #8ab4f8;
    --code-bg: #1c1f25;
  }
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); }
body {
  margin: 0 auto;
  max-width: 42rem;
  padding: 3rem 1.25rem 4rem;
  font: 1.0625rem/1.65 Charter, "Bitstream Charter", "Iowan Old Style", Georgia, serif;
}
header nav, footer { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .9rem; }
header nav { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
header nav a:first-child { font-weight: 600; margin-right: auto; }
h1, h2, h3 { line-height: 1.25; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
h1 { font-size: 2rem; margin: 0 0 1.5rem; }
h2 { font-size: 1.3rem; margin: 2.5rem 0 .75rem; }
a { color: var(--accent); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
blockquote { margin: 0 0 2rem; padding: 0 0 0 1rem; border-left: 3px solid var(--rule); color: var(--muted); font-size: .95rem; }
code, pre { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .9em; }
code { background: var(--code-bg); padding: .1em .3em; border-radius: 3px; }
pre { background: var(--code-bg); padding: .8rem 1rem; border-radius: 4px; overflow-x: auto; }
pre code { background: none; padding: 0; }
.get-started { border: 1px solid var(--rule); border-radius: 6px; padding: 0 1.25rem 1rem; margin: 3rem 0 0; }
.get-started h2 { margin-top: 1.25rem; }
footer { margin-top: 3rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 1rem; }
