:root {
  --background: #f5f1e8;
  --text: #16181d;
  --secondary: #5b5e66;
  --accent: #ad5200;
  --rule: #ddd6c8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0b0d12;
    --text: #f3efe6;
    --secondary: #a9a69e;
    --accent: #ffb44c;
    --rule: #23262e;
  }
}

* { box-sizing: border-box; }

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

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

.brand {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent);
  text-decoration: none;
}

h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  margin: 0.5rem 0 0.25rem;
}

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

h3 {
  font-size: 1.0625rem;
  margin: 1.5rem 0 0.25rem;
}

p { margin: 0 0 1rem; }

.lead { font-size: 1.1875rem; }

.meta { color: var(--secondary); }

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