:root {
  --bg: #f6f3ee;
  --paper: #fffcf8;
  --ink: #2a241f;
  --muted: #5e564e;
  --line: #e6dfd6;
  --accent: #6f5424;
  --accent-soft: #f3ead8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

.wrap {
  width: min(42rem, calc(100% - 2rem));
  margin: 0 auto;
}

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

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.wordmark {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1rem;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

main {
  padding: 2.5rem 0 3rem;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.35rem;
}

.kicker {
  margin: 0 0 0.4rem;
  color: var(--accent);
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.35rem;
  line-height: 1.3;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

section + section {
  margin-top: 0.75rem;
}

ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.35rem;
}

.note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: var(--accent-soft);
  border-radius: 8px;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  padding: 1.25rem 0 2rem;
}

.foot nav {
  font-size: 0.9rem;
}

.updated {
  color: var(--muted);
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
}
