:root {
  --bg: #f4f0e8;
  --text: #1a1a1a;
  --secondary: #666;
  --divider: #d8d2c2;
  --serif: Georgia, "Iowan Old Style", "EB Garamond", serif;
  --sans: ui-sans-serif, -apple-system, system-ui, sans-serif;
  --max-width: 640px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  max-width: var(--max-width);
  margin: 96px auto;
  padding: 0 24px;
}

.label {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
  margin: 0 0 18px 0;
}

h1 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 28px 0;
}

.links {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--secondary);
  margin-bottom: 32px;
}

.links a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.links .sep {
  margin: 0 6px;
  color: var(--divider);
}

hr {
  border: 0;
  border-top: 1px solid var(--divider);
  margin: 0 0 24px 0;
}

.label-small {
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin: 0 0 12px 0;
}

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

.recent li {
  margin-bottom: 8px;
  font-size: 16px;
}

.recent a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.recent .date {
  color: var(--secondary);
  font-family: var(--sans);
  font-size: 12px;
  margin-left: 6px;
}

@media (max-width: 600px) {
  main {
    margin: 48px auto;
    padding: 0 20px;
  }
  h1 {
    font-size: 22px;
  }
}

main.post h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

main.post .date {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 32px 0;
}

main.post p {
  margin: 0 0 18px 0;
}

main.post .label a {
  color: var(--secondary);
  text-decoration: none;
}

main.post .label a:hover {
  color: var(--text);
}
