* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  padding: 0 1rem;
  max-width: 42rem;
  margin: 0 auto;
}

header {
  padding: 2rem 0 1rem;
  border-bottom: 1px solid #eee;
  margin-bottom: 2rem;
}

header h1 {
  font-size: 1.5rem;
  font-weight: 600;
}

header h1 a {
  color: #333;
  text-decoration: none;
}

header h1 a:hover {
  color: #666;
}

main {
  min-height: calc(100vh - 12rem);
  margin-bottom: 3rem;
}

main h1, main h2, main h3 {
  margin-bottom: 1rem;
  line-height: 1.3;
}

main h1 {
  font-size: 1.75rem;
  font-weight: 700;
}

main h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

main h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

main p {
  margin-bottom: 1.5rem;
}

main a {
  color: #0066cc;
  text-decoration: none;
}

main a:hover {
  text-decoration: underline;
}

footer {
  padding-top: 2rem;
  border-top: 1px solid #eee;
  color: #666;
  font-size: 0.9rem;
  text-align: center;
}

.posts {
  margin-top: 2rem;
}

.post-preview {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.post-preview:last-child {
  border-bottom: none;
}

.post-preview h2 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.post-preview h2 a {
  color: #333;
  text-decoration: none;
}

.post-preview h2 a:hover {
  color: #0066cc;
  text-decoration: underline;
}

.post-preview time {
  color: #666;
  font-size: 0.9rem;
}

.post-preview p {
  margin-top: 0.5rem;
  margin-bottom: 0;
  color: #555;
}

@media (max-width: 480px) {
  body {
    padding: 0 0.75rem;
  }

  header {
    padding: 1.5rem 0 0.75rem;
    margin-bottom: 1.5rem;
  }

  header h1 {
    font-size: 1.25rem;
  }

  main h1 {
    font-size: 1.5rem;
  }

  main h2 {
    font-size: 1.25rem;
  }

  main h3 {
    font-size: 1.1rem;
  }
}