/* crialeve.com: one stylesheet for every page (served from the same origin; the CSP allows nothing inline). */
:root {
  --bg: #fffaf3;
  --text: #2b2420;
  --muted: #6b5f57;
  --accent: #c2410c;
  --line: #eadfd3;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1815;
    --text: #f3ece6;
    --muted: #b8aca3;
    --accent: #fb923c;
    --line: #3a322c;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.25rem;
  margin: 2.25rem 0 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.25rem;
}

a {
  color: var(--accent);
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.35rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 0;
}

.updated {
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
