:root {
  --max: 900px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem;
}

.site-header {
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

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

.brand {
  font-weight: 700;
  text-decoration: none;
  color: #111;
}

.nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: #333;
}

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

.hero {
  padding: 2rem 0 1rem;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.buttons {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 0.6rem 0.9rem;
  border: 1px solid #222;
  border-radius: 10px;
  text-decoration: none;
  color: #111;
}

.button.primary {
  background: #111;
  color: #fff;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 720px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

.card {
  display: block;
  padding: 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
}

.card:hover { border-color: #bbb; }

.note {
  border-left: 4px solid #111;
  padding-left: 1rem;
  margin: 2rem 0;
}

.site-footer {
  border-top: 1px solid #e5e5e5;
  margin-top: 2rem;
  padding: 1rem 0;
  color: #666;
}

.lede {
  font-size: 1.05rem;
  color: #333;
  max-width: 65ch;
}

.post-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.post-item {
  padding: 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #fff;
}

.post-title {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.post-title a {
  color: #111;
  text-decoration: none;
}

.post-title a:hover {
  text-decoration: underline;
}

.post-meta {
  margin: 0 0 0.75rem;
  color: #666;
  font-size: 0.95rem;
}

.post-summary {
  margin: 0 0 0.75rem;
  max-width: 70ch;
}

.post-readmore {
  margin: 0;
}

.hero h1 {
  letter-spacing: -0.02em;
}

.post {
  max-width: 75ch;
  margin: 0 auto;
  padding: 1.5rem 0;
}

.post-header {
  margin-bottom: 1.25rem;
}

.post-h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  line-height: 1.2;
}

.post-meta {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

.post-dot {
  margin: 0 0.5rem;
}

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

.post-content p {
  margin: 0 0 1rem;
}

.post-content h2 {
  margin: 1.75rem 0 0.75rem;
  line-height: 1.25;
}

.post-content ul,
.post-content ol {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.post-content li {
  margin: 0.25rem 0;
}

.post-content blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid #111;
  background: #f7f7f7;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
}

.post-nav a {
  text-decoration: none;
}

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

