@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600&family=Source+Serif+4:wght@300;400&display=swap');

:root {
  --color-bg:      #faf9f7;
  --color-text:    #2c2c2c;
  --color-muted:   #6b6560;
  --color-accent:  #5a4e44;
  --color-link:    #3d6b9e;
  --color-border:  #e0dbd5;
  --font-heading:  'Lora', Georgia, serif;
  --font-body:     'Source Serif 4', Georgia, serif;
  --max-width:     720px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  margin: 0;
  padding: 0;
}

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.site-header {
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
}
.site-header h1 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.site-header h1 a {
  color: var(--color-text);
  text-decoration: none;
}
.site-header .tagline {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

a { color: var(--color-link); text-decoration: none; }
a:hover { text-decoration: underline; }

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.post-list li {
  border-bottom: 1px solid var(--color-border);
  padding: 0.65rem 0;
}
.post-list li:last-child { border-bottom: none; }
.post-list a {
  font-size: 1rem;
  color: var(--color-text);
  display: block;
  padding: 0.15rem 0;
  transition: color 0.15s;
}
.post-list a:hover {
  color: var(--color-link);
  text-decoration: none;
}

.post-content h1, .post-content h2, .post-content h3 {
  font-family: var(--font-heading);
  line-height: 1.3;
  margin-top: 2rem;
}
.post-content h1 { font-size: 1.75rem; }
.post-content h2 { font-size: 1.35rem; }
.post-content p { margin: 0 0 1.25rem; }

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.back-link:hover { color: var(--color-link); text-decoration: none; }

footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
  line-height: 1.9;
}
footer a { color: var(--color-muted); text-decoration: underline dotted; }
footer a:hover { color: var(--color-link); }

@media (max-width: 600px) {
  .wrapper { padding: 1.25rem 1rem; }

  .site-header h1 { font-size: 1.25rem; }

  .post-list a {
    font-size: 0.975rem;
    padding: 0.4rem 0;
  }

  .post-content h1 { font-size: 1.4rem; }
  .post-content h2 { font-size: 1.15rem; }

  body { font-size: 1rem; }
}
