:root {
  color-scheme: light;
  --background: #fffdf8;
  --text: #1f2933;
  --muted: #6b7280;
  --rule: #e5e7eb;
  --link: #0f766e;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

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

.site-header,
.content {
  margin: 0 auto;
  max-width: 680px;
  padding: 0 1.25rem;
}

.site-header {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.25rem;
  padding-top: 3rem;
}

.site-title {
  color: var(--text);
  display: inline-block;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.site-header p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.25rem 0 0;
}

.content {
  padding-bottom: 4rem;
  padding-top: 2.5rem;
}

h1,
h2,
h3 {
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.2;
}

h1 {
  font-size: 2.1rem;
  margin: 0 0 1.5rem;
}

h2 {
  font-size: 1.35rem;
}

time {
  color: var(--muted);
  display: block;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
}

.post-list article {
  border-bottom: 1px solid var(--rule);
  padding: 1.25rem 0;
}

.post-list article:first-child {
  padding-top: 0;
}

.post-list h2 {
  margin: 0.15rem 0 0.25rem;
}

.post-list p {
  color: var(--muted);
  margin: 0;
}

p {
  margin: 1.2rem 0;
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .site-header {
    padding-top: 2rem;
  }

  .content {
    padding-top: 2rem;
  }

  h1 {
    font-size: 1.8rem;
  }
}
