:root {
  --paper: #f3eee4;
  --ink: #1b1916;
  --muted: #5c564c;
  --rule: #c9c0b0;
  --accent: #8a3d1c;
  --card: #faf7f0;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

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

.site-header,
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.site-header {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.brand {
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
}

nav {
  display: flex;
  gap: 1.1rem;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

nav a[aria-current="page"],
nav a:hover {
  color: var(--ink);
}

.lede {
  font-size: 1.35rem;
  max-width: 28rem;
  margin: 0 0 2rem;
}

h1,
h2 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.2rem;
  margin: 0 0 0.4rem;
}

h2 {
  font-size: 1.15rem;
  margin: 2.2rem 0 0.7rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--rule);
}

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

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

ul {
  margin: 0;
  padding-left: 1.15rem;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
}

th,
td {
  text-align: left;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

th {
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.rate {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.empty {
  color: var(--muted);
  font-style: italic;
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

@media print {
  :root {
    --paper: #fff;
    --card: #fff;
  }

  body {
    font-size: 12pt;
    background: #fff;
  }

  .wrap {
    width: 100%;
    padding: 0;
  }

  nav,
  .no-print {
    display: none;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  h2 {
    break-after: avoid;
  }

  table {
    break-inside: avoid;
  }
}
