:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #5f6b64;
  --paper: #fffdf8;
  --wash: #f2f6ef;
  --line: #dce5dc;
  --accent: #246b45;
}

* { box-sizing: border-box; }

html { font-size: 17px; }

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

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

header {
  border-bottom: 1px solid var(--line);
  background: var(--wash);
}

nav, main, footer {
  width: min(100% - 2rem, 760px);
  margin-inline: auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

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

main { padding: 3.25rem 0 4rem; }
h1 { font-size: clamp(2rem, 8vw, 3.25rem); line-height: 1.05; letter-spacing: -0.035em; }
h2 { margin-top: 2.4rem; font-size: 1.35rem; line-height: 1.25; }
h3 { margin-top: 1.5rem; font-size: 1.05rem; }
p, li { max-width: 70ch; }
li + li { margin-top: 0.45rem; }
.lede { color: var(--muted); font-size: 1.12rem; }
.meta { color: var(--muted); font-size: 0.92rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  display: block;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--ink);
  text-decoration: none;
}

.card:hover { border-color: var(--accent); }
.card strong { display: block; margin-bottom: 0.35rem; }

.notice {
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--accent);
  background: var(--wash);
}

footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 520px) {
  html { font-size: 16px; }
  nav { align-items: flex-start; flex-direction: column; padding-block: 1rem; }
  main { padding-top: 2.25rem; }
}
