body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111;
  background: #fff;
}

a {
  color: inherit;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    'Liberation Mono', 'Courier New', monospace;
}

pre {
  overflow-x: auto;
  padding: 0.875rem;
  background: #f3f3f3;
}

:not(pre) > code {
  padding: 0.1rem 0.25rem;
  background: #f3f3f3;
}

.shell {
  box-sizing: border-box;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.site-header,
.site-footer,
.post-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}

.site-header {
  margin-bottom: 2.5rem;
}

.site-title,
.site-nav a {
  text-decoration: none;
}

.site-title {
  font-weight: 600;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.content {
  min-height: 60vh;
}

.prose h1,
.prose h2,
.prose h3,
.prose p,
.prose ul,
.prose ol,
.prose pre {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.post-meta,
.post-list time,
.site-footer {
  color: #666;
}

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

.post-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.site-footer {
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
}

@media (max-width: 640px) {
  .shell {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
  }

  .site-header,
  .site-footer,
  .post-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}
