:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #dbe2ea;
  --accent: #0f766e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: #0f172a;
  color: #fff;
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav a,
.card a {
  color: var(--accent);
  text-decoration: none;
}

.nav a:hover,
.card a:hover {
  text-decoration: underline;
}

.hero,
.card,
.article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.hero h1,
.article h1,
.card h2 {
  margin-top: 0;
}

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

.post-list {
  display: grid;
  gap: 1rem;
}

.site-footer {
  text-align: center;
  color: var(--muted);
  padding: 2rem 0 3rem;
}

@media (max-width: 700px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
