
:root {
  --bg: #f7f5f1;
  --card: #ffffff;
  --ink: #1c2430;
  --muted: #5b6675;
  --accent: #0f5c6e;
  --accent-soft: #d9eef2;
  --line: #dde3ea;
  --max: 42rem;
}
* { box-sizing: border-box; }
html { font-size: 18px; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--accent); }
a:hover { text-decoration: underline; }
.wrap { max-width: 56rem; margin: 0 auto; padding: 0 1.1rem; }
header.site {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.nav {
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem;
  align-items: center; justify-content: space-between;
  padding: .85rem 0;
}
.brand {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 700; letter-spacing: .01em;
  color: var(--ink); text-decoration: none; font-size: 1.05rem;
}
.navlinks { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.navlinks a {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: .92rem; text-decoration: none; color: var(--muted);
}
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--accent); }
main { padding: 1.75rem 0 3rem; }
.hero, .card, article.post {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem 1.35rem;
  box-shadow: 0 1px 0 rgba(28,36,48,.03);
}
.hero h1, article.post h1 {
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  line-height: 1.2; margin: 0 0 .7rem;
}
.lede { color: var(--muted); font-size: 1.05rem; margin: 0 0 1rem; }
.meta {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: .85rem; color: var(--muted); margin-bottom: 1rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem; margin-top: 1.25rem;
}
.card h2 { font-size: 1.15rem; margin: 0 0 .45rem; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card a.title { color: var(--ink); text-decoration: none; }
.card a.title:hover { color: var(--accent); }
.note {
  background: var(--accent-soft);
  border: 1px solid #b7d9e0;
  border-radius: 10px;
  padding: .9rem 1rem;
  margin: 1.1rem 0;
  font-size: .95rem;
}
ul, ol { padding-left: 1.2rem; }
li { margin: .35rem 0; }
h2 { margin-top: 1.6rem; font-size: 1.25rem; }
h3 { margin-top: 1.25rem; font-size: 1.05rem; }
footer.site {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: .88rem;
}
footer.site a { color: var(--muted); }
.btn {
  display: inline-block;
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--accent); color: #fff; text-decoration: none;
  padding: .65rem 1rem; border-radius: 999px; font-size: .95rem;
}
.btn:hover { filter: brightness(1.05); text-decoration: none; }
@media (max-width: 640px) {
  html { font-size: 17px; }
  .hero, .card, article.post { padding: 1.15rem 1rem; }
}
