:root {
  --bg: #fbfbfa;
  --fg: #1c1d20;
  --muted: #5d6169;
  --rule: #dcdde0;
  --accent: #1f5f8b;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --fg: #e8e9eb;
    --muted: #9ba0a8;
    --rule: #2c2f34;
    --accent: #7db4dc;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0 auto;
  max-width: 44rem;
  padding: 3rem 1.25rem 4rem;
  background: var(--bg);
  color: var(--fg);
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
h1 { font-size: 2rem; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
h2 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); border-bottom: 1px solid var(--rule);
  padding-bottom: 0.4rem; margin: 3rem 0 1.25rem;
}
h3 { font-size: 1.05rem; margin: 0; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lede { margin: 0 0 1rem; color: var(--muted); }
nav { display: flex; gap: 1.25rem; }
article { margin-bottom: 2rem; }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; align-items: baseline; }
.date { color: var(--muted); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.tags { margin: 0.15rem 0 0.5rem; color: var(--muted); font-size: 0.9rem; }
ul { margin: 0; padding-left: 1.2rem; }
li { margin-bottom: 0.25rem; }
dl { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem; margin: 0; }
dd { margin: 0; color: var(--muted); font-size: 0.9rem; text-align: right; }
dl.skills { grid-template-columns: 8rem 1fr; }
dl.skills dt { font-weight: 600; }
dl.skills dd { text-align: left; color: var(--fg); font-size: 1rem; }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.9rem; }
@media (max-width: 30rem) {
  dl, dl.skills { grid-template-columns: 1fr; gap: 0.1rem; }
  dd { text-align: left; margin-bottom: 0.6rem; }
}
