:root {
  --bg: #f7f5f1;
  --ink: #1c1b19;
  --muted: #5c574f;
  --accent: #0f5c5c;
  --rule: #d9d3c8;
  --card: #fffcf7;
  --max: 40rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  background: radial-gradient(ellipse at top, #fffdf8 0%, var(--bg) 55%, #ebe6dc 100%);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
}

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

header {
  padding: 2.5rem 0 1rem;
}

header a.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
}

nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

nav a {
  color: var(--accent);
  text-decoration: none;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
}

nav a:hover,
nav a:focus-visible {
  text-decoration: underline;
}

main {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  padding: 1.5rem 1.35rem 1.75rem;
  margin-bottom: 2rem;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 4vw, 2rem);
  line-height: 1.2;
}

h2 {
  margin: 1.6rem 0 0.5rem;
  font-size: 1.15rem;
}

p,
li {
  color: var(--muted);
}

p strong,
li strong {
  color: var(--ink);
}

ul {
  padding-left: 1.2rem;
}

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

.cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 0.4rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
}

.cta:hover,
.cta:focus-visible {
  filter: brightness(1.08);
}

.meta {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

footer {
  padding: 0 0 2.5rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}
