:root {
  color-scheme: light;
  --background: #faf8f3;
  --text: #292b27;
  --muted: #62675d;
  --accent: #365b42;
  --border: #d8dace;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  background: var(--background);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -6rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--background);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.site-name {
  font-size: 1.35rem;
  font-weight: bold;
  text-decoration: none;
}

.tagline,
.post-date,
.post-list time,
.site-footer {
  color: var(--muted);
  font-size: 0.95rem;
}

.tagline {
  margin: 0.25rem 0 0;
}

main {
  padding: 2rem 0 3rem;
}

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

h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 6vw, 2.75rem);
}

h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
}

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

.post-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

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

.post-list p {
  margin: 0.5rem 0 0;
}

.post-header {
  margin-bottom: 2rem;
}

.post-header h1 {
  margin-bottom: 0.5rem;
}

.post-date {
  margin: 0;
}

blockquote {
  margin: 1.5rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
  font-style: italic;
}

img {
  max-width: 100%;
  height: auto;
}

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

code {
  font-size: 0.9em;
}

.post-navigation {
  margin-top: 3rem;
}

.site-footer {
  padding: 1rem 0 2rem;
  border-top: 1px solid var(--border);
}
