:root {
  --paper: #f3efe4;
  --ink: #1a1714;
  --soft: #4e473f;
  --faint: #6e675c;
  --line: #d5cdbd;
  --stamp: #8f2d14;
  --stamp-bg: #f6e4dc;
  --ok: #1d5a38;
  --focus: #1a1714;
}

* { box-sizing: border-box; }

html { font-size: 18px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  line-height: 1.55;
}

body::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--stamp);
}

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

a:hover { color: var(--ink); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

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

.nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
}

.nav a { color: var(--soft); text-decoration: none; }
.nav a:hover { color: var(--ink); text-decoration: underline; }

h1 {
  font-size: 2.5rem;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0.8rem 0 0.6rem;
}

h2 {
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 2.2rem 0 0.5rem;
}

h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 1.4rem 0 0.3rem;
}

p { margin: 0.7rem 0; }

.lede {
  font-size: 1.2rem;
  line-height: 1.45;
}

.soft { color: var(--soft); }

.banner {
  margin: 1.25rem 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--stamp);
  background: var(--stamp-bg);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: center;
  margin: 1.2rem 0 0.4rem;
}

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  padding: 0.65rem 0.9rem;
  border-radius: 2px;
}

.btn:hover { background: var(--stamp); color: white; }

.price {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--soft);
}

ul, ol { padding-left: 1.2rem; }
li { margin: 0.35rem 0; }

.checks { list-style: none; padding: 0; }
.checks li {
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
}
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks strong { font-weight: 500; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  margin: 1rem 0 0.4rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  padding: 0.45rem 0.4rem 0.45rem 0;
}

th {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
}

.blank td { height: 2.2rem; color: transparent; }

.note {
  font-size: 0.92rem;
  color: var(--soft);
}

.check {
  margin: 0.8rem 0 0.2rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.done, .fill {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  color: var(--faint);
  line-height: 1.45;
}

footer a { color: var(--soft); }

.kicker {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stamp);
  margin: 0;
}

code {
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
  font-size: 0.88em;
}

pre {
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.75rem 0.85rem;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 520px) {
  html { font-size: 17px; }
  h1 { font-size: 2.05rem; }
  table { font-size: 0.78rem; }
}

@media print {
  body { background: white; }
  body::before { display: none; }
  .nav { display: none; }
  a { color: inherit; }
  .wrap { max-width: none; padding-top: 0; }
}
