/* mattmueller.online — one stylesheet, no js */
:root {
  --bg: #faf7f2;
  --fg: #2b2a26;
  --muted: #77705f;
  --accent: #c1440e;
  --rule: #e2dcd0;
  --code-bg: #f0ebe1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16150f;
    --fg: #d9d4c7;
    --muted: #948c78;
    --accent: #f2733c;
    --rule: #35322a;
    --code-bg: #211f18;
  }
}

* { box-sizing: border-box; }
body {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
  background: var(--bg);
  color: var(--fg);
  font: 1.05rem/1.65 Georgia, 'Iowan Old Style', 'Times New Roman', serif;
}

a { color: var(--accent); }
a:hover { background: var(--accent); color: var(--bg); text-decoration: none; }

header { margin-bottom: 2.5rem; border-bottom: 1px solid var(--rule); padding-bottom: 0.75rem; }
header .prompt {
  display: inline-block;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-weight: bold;
  font-size: 1rem;
  color: var(--fg);
  text-decoration: none;
}
header .prompt::after { content: '▌'; color: var(--accent); animation: blink 1.2s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
header .prompt:hover { background: none; color: var(--accent); }
nav { margin-top: 0.35rem; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.85rem; color: var(--muted); }

h1, h2, h3 { font-family: ui-monospace, Menlo, Consolas, monospace; line-height: 1.25; }
h1 { font-size: 1.5rem; margin: 0 0 0.25rem; }
h2 { font-size: 1.1rem; margin-top: 2rem; }
h2::before, h3::before { content: '# '; color: var(--accent); }

.meta { color: var(--muted); font-size: 0.9rem; font-family: ui-monospace, Menlo, Consolas, monospace; }
.intro { border-left: 3px solid var(--accent); padding-left: 1rem; }

.postlist { list-style: none; padding: 0; }
.postlist li { margin: 0.35rem 0; }
.postlist time {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  color: var(--muted);
  margin-right: 0.5rem;
}

code, pre {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--code-bg);
}
code { padding: 0.1em 0.3em; border-radius: 3px; }
pre { padding: 0.75rem 1rem; overflow-x: auto; border-left: 3px solid var(--rule); }
pre code { padding: 0; background: none; }

blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 3px solid var(--rule); color: var(--muted); font-style: italic; }
img { max-width: 100%; }
hr { border: none; border-top: 1px solid var(--rule); margin: 2rem 0; }

footer {
  margin-top: 3.5rem;
  border-top: 1px solid var(--rule);
  padding-top: 0.75rem;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--muted);
}
