@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/roboto.woff2) format("woff2");
}
@font-face {
  font-family: Roboto;
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/roboto-italic.woff2) format("woff2");
}
@font-face {
  font-family: "Roboto Mono";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url(/fonts/roboto-mono.woff2) format("woff2");
}
:root {
  color-scheme: light dark;
  --sans: Roboto, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Roboto Mono", ui-monospace, Menlo, monospace;
  --fg: #000;
  --bg: #fff;
  --muted: #666;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --fg: #fff; --bg: #000; --muted: #999; color-scheme: dark; }
}
:root[data-theme="dark"] { --fg: #fff; --bg: #000; --muted: #999; color-scheme: dark; }
:root[data-theme="light"] { --fg: #000; --bg: #fff; --muted: #666; color-scheme: light; }
* { box-sizing: border-box; }
html { font: 17px/1.65 var(--sans); }
body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
nav {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  gap: 1.25rem;
  font: 0.8rem var(--mono);
}
nav a, nav button {
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  white-space: pre;
}
nav a:hover, nav button:hover { color: var(--fg); text-decoration: none; }
main {
  max-width: 38rem;
  margin: 0 auto;
  padding: 4rem 1.25rem 6rem;
}
h1, h2, h3 { font-family: var(--mono); font-weight: 500; letter-spacing: -0.01em; }
h1 { font-size: 1.5rem; line-height: 1.25; margin: 0 0 0.5rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1rem; margin: 1.5rem 0 0.5rem; }
p, ul, ol, blockquote, pre { margin: 0 0 1.2rem; }
a { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
time, .back, small { color: var(--muted); font-size: 0.8rem; font-family: var(--mono); }
article > time { display: block; margin-bottom: 2.5rem; }
.back { margin-bottom: 3rem; }
.back a { text-decoration: none; }
.posts { list-style: none; padding: 0; margin-top: 2.5rem; }
.posts li { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.6rem; }
.posts a { text-decoration: none; font-family: var(--mono); }
.posts a:hover { text-decoration: underline; }
.posts time { flex-shrink: 0; }
blockquote { margin-left: 0; padding-left: 1rem; border-left: 2px solid var(--muted); color: var(--muted); }
code { font: 0.85em var(--mono); }
pre { padding: 1rem; overflow-x: auto; border: 1px solid var(--muted); }
img { max-width: 100%; height: auto; }
footer {
  max-width: 38rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  display: flex;
  gap: 1.25rem;
  font: 0.8rem var(--mono);
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }
.intro { margin-bottom: 1rem; }
hr { border: 0; border-top: 1px solid var(--muted); margin: 2.5rem 0; }
@media (max-width: 480px) {
  html { font-size: 16px; }
  main { padding-top: 2.5rem; }
  .posts li { flex-direction: column; gap: 0; margin-bottom: 1rem; }
}
