:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --line: #dddddd;
  --link: #111111;
  --max-width: 36rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    "Courier New",
    monospace;
  line-height: 1.65;
}

.page {
  width: min(100% - 2rem, var(--max-width));
  margin: 4rem auto;
}

.site-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 3rem;
  color: var(--muted);
}

.site-header a {
  color: var(--text);
}

.content h1 {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.content h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  text-transform: lowercase;
}

.content p,
.content ul,
.content ol {
  margin: 1rem 0;
}

.content img {
  display: block;
  width: 100%;
  height: auto;
  margin: 1.5rem 0;
}

.date {
  color: var(--muted);
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

pre {
  overflow-x: auto;
  padding: 1rem;
  border: 1px solid var(--line);
}

code {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    monospace;
}

.site-footer {
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
