:root {
  --bg: #0a0c0f;
  --surface: #14171c;
  --text: #ece8e1;
  --muted: #a39d92;
  --line: #2a2e35;
  --accent: #efa23f;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f1ec;
    --surface: #fbfaf7;
    --text: #1c1b18;
    --muted: #5f5a51;
    --line: #d9d5cc;
    --accent: #94590a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.site {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1rem;
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
  font-size: .95rem;
}
.site strong a { color: var(--text); text-decoration: none; }
.site ul { display: flex; gap: 1rem; margin: 0; padding: 0; list-style: none; }
main { max-width: 44rem; margin: 0 auto; padding: 3rem 1rem 4rem; }
h1 {
  margin: 0 0 .75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 6.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.2;
}
h2 { margin: 2.75rem 0 .75rem; font-size: 1.35rem; line-height: 1.3; }
p { margin: 0 0 1.15rem; }
ul, ol { margin: 0 0 1.15rem; padding-left: 1.25rem; }
li { margin-bottom: .4rem; }
.meta { margin-bottom: 2.25rem; color: var(--muted); font-size: .95rem; }
code {
  padding: .1em .3em;
  border-radius: 4px;
  background: var(--surface);
  font: .88em/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
pre {
  margin: 0 0 1.25rem;
  padding: 1rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
pre code { padding: 0; background: none; }
.table { margin-bottom: 1.25rem; overflow-x: auto; }
table { width: 100%; min-width: 20rem; border-collapse: collapse; font-size: .94rem; }
th, td { padding: .6rem .7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
blockquote {
  margin: 0 0 1.25rem;
  padding: .1rem 0 .1rem 1rem;
  border-left: 3px solid var(--accent);
}
blockquote p { margin: 0; }
.note { color: var(--muted); font-size: .95rem; }
.posts { padding: 0; list-style: none; }
.posts li { margin: 0; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.posts h2 { margin: 0 0 .35rem; font-size: 1.3rem; }
.posts p { margin: 0; }
.posts time { display: block; margin-bottom: .35rem; color: var(--muted); font-size: .9rem; }
.bio { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .97rem; }
