:root {
  --background: #f6f3ee;
  --surface: #fdfcfa;
  --foreground: #1d2a23;
  --muted: #5f685c;
  --border: #e4ded4;
  --accent: #3d6656;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font: 400 1.0625rem/1.65 var(--sans);
}

.wrap { width: 100%; max-width: 40rem; margin: 0 auto; padding: 0 1.25rem; }

header { padding: 2rem 0 0; }

.wordmark { font: 400 1.5rem/1 var(--serif); color: var(--foreground); text-decoration: none; }

main { flex: 1; padding: 4.5rem 0; }

h1 { margin: 0 0 1.5rem; font: 400 clamp(2.5rem, 1.6rem + 4.5vw, 4rem)/1.08 var(--serif); }

h2 { margin: 2.5rem 0 0.5rem; font: 400 1.5rem/1.25 var(--serif); }

p, ul { margin: 0 0 1rem; }

ul { padding-left: 1.25rem; }

.lede { font-size: 1.25rem; line-height: 1.5; }

.meta { color: var(--muted); font-size: 0.9375rem; }

a { color: var(--accent); text-underline-offset: 0.15em; }

.notice {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.notice p:last-child { margin-bottom: 0; }

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

footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-bottom: 0.5rem; }

footer p { margin: 0; }
