:root {
  --green: #008939;
  --green-dark: #006d2d;
  --ink: #202420;
  --muted: #647067;
  --line: #dfe6e0;
  --paper: #fff;
  --wash: #f4f8f5;
}

* { box-sizing: border-box; }

html { font-size: 18px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--green-dark); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--green); }

.wrap { width: min(100% - 2rem, 760px); margin-inline: auto; }

.site-header { border-top: .45rem solid var(--green); padding: 2.8rem 0 0; }
.site-title { color: var(--ink); font-size: clamp(1.75rem, 5vw, 2.6rem); font-weight: 780; letter-spacing: -.04em; text-decoration: none; }
.site-title:hover { color: var(--green-dark); }
.site-description { max-width: 680px; margin: .3rem 0 1.5rem; color: var(--muted); font-size: 1.05rem; }

nav { display: flex; flex-wrap: wrap; gap: .25rem .6rem; padding: .7rem 0; border-block: 1px solid var(--line); }
nav a { padding: .2rem .35rem; font-size: .9rem; font-weight: 650; text-decoration: none; }

main { min-height: 55vh; padding-block: 3.2rem 4.5rem; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.025em; }
h1 { margin: 0 0 1rem; font-size: clamp(2rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.35rem, 4vw, 1.75rem); }

.list-header { margin-bottom: 2.2rem; }
.list-header h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
.intro { color: var(--muted); }
.post-card { padding: 0 0 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.post-card:last-child { margin-bottom: 0; }
.post-card h2 { margin: .2rem 0 .45rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--green-dark); }
.post-card > p:not(.eyebrow):not(.post-meta) { margin: .8rem 0; }

.eyebrow { margin: 0 0 .35rem; color: var(--green-dark); font-size: .76rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow a { text-decoration: none; }
.post-meta { margin: 0; color: var(--muted); font-size: .84rem; }
.read-more { font-size: .88rem; font-weight: 680; }

.post-header { margin-bottom: 2.4rem; }
.content p { margin: 1.15rem 0; }
.content img { display: block; max-width: 100%; height: auto; margin: 2rem auto; border-radius: .15rem; }
.content figure { margin: 2rem 0; }
.content figure img { margin-bottom: .55rem; }
.content figcaption { color: var(--muted); font-size: .82rem; }
.content blockquote { margin: 1.6rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: .25rem solid var(--green); color: #3e4941; }
.content hr { margin: 2.5rem 0; border: 0; border-top: 1px solid var(--line); }

.term-list { padding: 0; list-style: none; }
.term-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.term-list span { color: var(--muted); font-size: .85rem; }

.site-footer { padding: 1.4rem 0 2.5rem; color: var(--muted); background: var(--wash); font-size: .82rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: .35rem; }

@media (max-width: 520px) {
  html { font-size: 17px; }
  .site-header { padding-top: 2rem; }
  main { padding-top: 2.4rem; }
  nav { gap: .15rem; }
}
.all-posts-link {
  margin-top: 2.5rem;
  text-align: center;
}

.all-posts-link a {
  font-weight: 500;
}
.site-footer p {
  margin: 0.3rem 0;
}
