:root {
  color-scheme: light;
  --ink: #171b17;
  --muted: #526157;
  --green: #1f6947;
  --paper: #bce8c7;
  --panel: rgba(255, 255, 255, .22);
  --line: rgba(23, 27, 23, .18);
}

* { box-sizing: border-box; }

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

a { color: var(--green); }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

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

header {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  text-decoration: none;
}

main { padding: clamp(2.5rem, 7vw, 5rem) 0; }

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.12;
}

h1 {
  max-width: 14ch;
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 8vw, 4.6rem);
  letter-spacing: -.035em;
}

h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.lede {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.notice {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

ul { padding-left: 1.25rem; }

footer {
  padding: 1.5rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}
