:root {
  --bg: #1f2421;
  --fg: #d1d7d3;
  --muted: #8a978d;
  --border: #AEBAB1;
  --code-bg: #1f1f1d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  /* all caps */
  text-transform: uppercase;
}

body {
  margin: 0 auto;
  max-width: 44rem;
  padding: 0 1.25rem;
  background: var(--bg);
  color: var(--fg);
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a {
  color: var(--fg);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

h1 {
  font-size: 2rem;
  margin: 2rem 0 .5rem;
}

h2 {
  margin-top: 2.25rem;
}

img,
iframe,
video {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

picture {
  display: block;
  margin: 1.5rem 0;
}

pre,
code {
  background: var(--code-bg);
  border-radius: 4px;
  font-size: .9em;
}

code {
  padding: .1em .3em;
}

pre {
  padding: 1rem;
  overflow-x: auto;
}

pre code {
  padding: 0;
  background: none;
}

blockquote {
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--border);
  color: var(--muted);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.site-title {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fg);
  text-decoration: none;
}

.site-header nav a {
  margin-left: 1rem;
  color: var(--muted);
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--fg);
}

main {
  padding-bottom: 3rem;
}

.site-footer {
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .9rem;
  text-transform: none;
}

.site-footer p {
  margin: 0;
}

.meta {
  color: var(--muted);
  font-size: .9rem;
  margin: 0 0 1.5rem;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.post-list li {
  display: flex;
  gap: 1rem;
  padding: .5rem 0;
  align-items: baseline;
}

.post-list time {
  color: var(--muted);
  font-size: .9rem;
  flex: 0 0 7.5rem;
  font-variant-numeric: tabular-nums;
}

.post-list p {
  margin: .1rem 0 0;
  color: var(--muted);
  font-size: .95rem;
}

@media (max-width: 30rem) {
  .post-list li {
    flex-direction: column;
    gap: 0;
  }
}

.site-footer .links {
  margin-top: .5rem;
}

.site-footer .links a {
  margin-right: 1rem;
  color: var(--muted);
}

article {
  text-transform: none;
}