/* Your site's look. Change any of these — you can't break anything permanently,
   the previous version is always in git. */

:root {
  --bg: #fdfcfa;
  --text: #24211d;
  --muted: #6b6459;
  --accent: #b4562a;
  --rule: #e7e2da;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1816;
    --text: #ece7e0;
    --muted: #9b9287;
    --accent: #e08a5a;
    --rule: #322e2a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Helvetica, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

header { margin-bottom: 3rem; }

h1 {
  font-size: clamp(2.2rem, 7vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 .4rem;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

section {
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  margin-top: 2rem;
}

h2 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 .8rem;
}

p { margin: 0 0 1rem; }

ul {
  margin: 0;
  padding-left: 1.1rem;
}

li { margin-bottom: .4rem; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover { text-decoration-thickness: 2px; }

.links a { margin-right: 1.2rem; }

code {
  background: var(--rule);
  padding: .12em .4em;
  border-radius: 4px;
  font-size: .88em;
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: .9rem;
}
