:root {
  --ink: #1b1916;
  --muted: #5c574e;
  --paper: #f3efe6;
  --card: #fffdf8;
  --line: #e2dacb;
  --accent: #0d5c4d;
  --accent-soft: #e4f0ec;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.top {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.wrap {
  width: min(44rem, calc(100% - 2.5rem));
  margin: 0 auto;
}
header.wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
}
.mark {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.mark span { color: var(--accent); }
nav { display: flex; gap: 1.15rem; font-family: system-ui, -apple-system, "Segoe UI", 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); }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.25em; }
main.wrap { flex: 1; padding: 2.5rem 0 3.5rem; }
.eyebrow {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.7rem;
}
h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 1.1rem;
}
p { margin: 0 0 1rem; color: var(--ink); }
.lead { font-size: 1.12rem; color: var(--muted); }
.note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  margin: 1.6rem 0 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.95rem;
}
.note strong { font-weight: 650; }
.note p:last-child { margin-bottom: 0; }
footer {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0 1.4rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
}
footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
footer a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
