:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #17202a;
  --muted: #4a5564;
  --accent: #0a6e6e;
  --border: #d8dee6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, #f6f7f9 0%, #eef2f7 100%);
  color: var(--ink);
  line-height: 1.65;
}

.container {
  width: min(900px, 92vw);
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

main {
  padding: 2rem 0;
}

h1, h2, h3 {
  line-height: 1.25;
}

.lede {
  color: var(--muted);
  max-width: 65ch;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.post-list li,
.article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}

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

.content p,
.content li {
  max-width: 75ch;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  margin-top: 2rem;
}

.site-footer .container {
  padding: 1rem 0 1.2rem;
}

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

  nav {
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  main {
    padding-top: 1.3rem;
  }
}
