:root {
  color-scheme: light dark;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  font-size: 16px;
  --bg: #0d1117;
  --card: #161b22;
  --text: #e6edf3;
  --accent: #58a6ff;
  --muted: #8b949e;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
}

.container {
  width: min(720px, 90vw);
  margin: 0 auto;
  padding: 2rem 0;
}

.site-header {
  background-color: rgba(13, 17, 23, 0.8);
  border-bottom: 1px solid #1f2933;
}

.header-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

.site-description {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--accent);
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-card {
  background: var(--card);
  border: 1px solid #1f2933;
  border-radius: 12px;
  padding: 1.5rem;
}

.post-card h2 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.post-card a {
  color: var(--text);
  text-decoration: none;
}

.post-card a:hover {
  color: var(--accent);
}

.post-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid #1f2933;
  text-align: center;
  color: var(--muted);
}

.content {
  background: var(--card);
  border: 1px solid #1f2933;
  border-radius: 12px;
  padding: 2rem;
}

.content a {
  color: var(--accent);
}

@media (max-width: 640px) {
  .header-content {
    align-items: flex-start;
  }

  nav ul {
    flex-wrap: wrap;
  }
}
