:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --surface: #eeece4;
  --ink: #292b25;
  --muted: #666b5e;
  --subtle: #6b7062;
  --line: #dcded2;
  --accent: #527047;
  --accent-soft: #e5ebdd;
  --rust: #95533e;
  --shadow: 0 20px 80px #20241d26;
  --serif: Georgia, "Times New Roman", serif;
  --sans:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #191d19;
  --surface: #222822;
  --ink: #e8e9df;
  --muted: #afb7a7;
  --subtle: #a0ab96;
  --line: #394237;
  --accent: #abc391;
  --accent-soft: #2c3828;
  --rust: #dfa28a;
  --shadow: 0 20px 80px #0006;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --paper: #191d19;
    --surface: #222822;
    --ink: #e8e9df;
    --muted: #afb7a7;
    --subtle: #a0ab96;
    --line: #394237;
    --accent: #abc391;
    --accent-soft: #2c3828;
    --rust: #dfa28a;
    --shadow: 0 20px 80px #0006;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}
a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 2px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
::selection {
  background: var(--accent-soft);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.muted {
  color: var(--muted);
  font-weight: 400;
}
.meta,
.eyebrow,
.shelf-heading {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.055em;
  color: var(--muted);
}
.small-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
