:root {
  --ink: #1f2933;
  --muted: #5f6c7b;
  --paper: #faf8f4;
  --accent: #2c6e7f;
  --line: #e4ded3;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
a { color: var(--accent); }
.site-header, main, .site-footer {
  width: min(100% - 2rem, 62rem);
  margin-inline: auto;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
}
nav a {
  margin-left: 1.25rem;
  color: var(--muted);
  text-decoration: none;
}
nav a:hover, nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.hero { padding: 4rem 0 2.5rem; max-width: 40rem; }
.hero h1 { margin: 0 0 1rem; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; }
.hero p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}
.cards article {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .5rem;
}
.cards h2 { margin: 0 0 .5rem; font-size: 1.1rem; }
.cards p { margin: 0; color: var(--muted); }
.note { max-width: 40rem; margin-bottom: 3rem; }
.note h2 { font-size: 1.25rem; }
.note li { margin-bottom: .35rem; }
.site-footer {
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}
.site-footer p { margin: 0; }
