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

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

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

header {
  margin-bottom: 4rem;
}

.site-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-title:hover {
  color: #666;
}

.site-author {
  font-size: 0.95rem;
  color: #666;
  margin-top: 0.25rem;
}

.article-list {
  list-style: none;
}

.article-list li {
  margin-bottom: 1.5rem;
}

.article-list a {
  text-decoration: none;
  display: block;
}

.article-list a:hover .article-title {
  color: #666;
}

.article-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #1a1a1a;
  display: block;
}

.article-list time {
  font-size: 0.85rem;
  color: #888;
}

.back-link {
  font-size: 0.9rem;
  color: #888;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 2rem;
}

.back-link:hover {
  color: #1a1a1a;
}

.article-header {
  margin-bottom: 2.5rem;
}

.article-header h1 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.article-header time {
  font-size: 0.9rem;
  color: #888;
}

.article-content {
  font-size: 1.05rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
}

.article-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.article-content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
}

.article-content a {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content a:hover {
  color: #666;
}

.article-content blockquote {
  border-left: 2px solid #ddd;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #555;
  font-style: italic;
}

.article-content code {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.9em;
  background: #f5f5f5;
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

.article-content pre {
  background: #f5f5f5;
  padding: 1rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 4px;
}

.article-content pre code {
  background: none;
  padding: 0;
}

.article-content ul,
.article-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}
