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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
}

a {
  color: #1a1a1a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  border-bottom: 3px solid #1a1a1a;
  padding: 1.5rem 0;
  margin-bottom: 2rem;
}

.site-header .container {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.site-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.site-tagline {
  font-size: 0.85rem;
  color: #666;
}

/* Layout */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  min-height: 60vh;
}

/* Homepage */
.article-list {
  list-style: none;
}

.article-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.article-item:last-child {
  border-bottom: none;
}

.article-item h2 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.article-item h2 a:hover {
  text-decoration: none;
  color: #c00;
}

.article-date {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.article-summary {
  color: #444;
  font-size: 0.95rem;
}

/* Article page */
.article-full .article-title {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.article-author {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 0.25rem;
}

.article-full .article-date {
  margin-bottom: 1.5rem;
}

.article-full .article-body p {
  margin-bottom: 1.25rem;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  font-size: 0.8rem;
  color: #999;
}

/* Responsive */
@media (max-width: 480px) {
  .site-header .container {
    flex-direction: column;
    gap: 0.25rem;
  }

  .article-full .article-title {
    font-size: 1.5rem;
  }
}
