:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --text: #1d1d1b;
  --muted: #6a655f;
  --line: #e5e0d8;
  --accent: #2f4a3a;
  --max-width: 640px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 48px 24px 72px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Palatino", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 150ms ease;
}

a:hover {
  border-color: var(--accent);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-header {
  margin-bottom: 40px;
}

.site-title {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: none;
}

.site-description {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-title {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin: 0 0 16px;
}

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

.post-list-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.post-list-item:first-child {
  border-top: 1px solid var(--line);
}

.post-list-date {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.post-list-title {
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.post-list-description {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.post {
  margin-top: 12px;
}

.post-header {
  margin-bottom: 32px;
}

.post-title {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

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

.post-description {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.post-body p {
  margin: 0 0 18px;
}

.site-footer {
  margin-top: 56px;
  font-size: 0.8rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

pre,
code {
  font-family: "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;
  font-size: 0.9rem;
}

pre {
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  padding: 14px 16px;
  border-radius: 6px;
  overflow-x: auto;
  line-height: 1.5;
}

code {
  background: #f6f8fa;
  padding: 0.15em 0.35em;
  border-radius: 4px;
}

.highlight {
  background: #f6f8fa;
  border-radius: 6px;
  border: 1px solid #d0d7de;
  margin: 0 0 18px;
}

.highlight pre {
  margin: 0;
  background: transparent;
  border: none;
  padding: 14px 16px;
}

@media (max-width: 600px) {
  body {
    padding: 40px 20px 64px;
    font-size: 17px;
  }

  .post-title {
    font-size: 1.6rem;
  }
}
