:root {
  --paper: #f6f3ee;
  --ink: #1b1917;
  --brand: #9c4a24;
  --line: #d8d2c8;
  --muted: #55504a;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.wrap {
  max-width: 70ch;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 1.5rem;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 2rem 0 0.5rem;
}

p,
ul,
dl {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.25rem;
}

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

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

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
}

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

th {
  width: 40%;
  font-weight: normal;
  color: var(--muted);
}

.draft-notice {
  background: #ffffff;
  border: 2px solid var(--brand);
  border-radius: 6px;
  padding: 1rem;
  margin: 0 0 2rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
}

.draft-notice strong {
  color: var(--brand);
}

.todo {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.85em;
  background: #ffffff;
  border: 1px dashed var(--brand);
  border-radius: 3px;
  padding: 0 0.25em;
  white-space: nowrap;
}

.back {
  display: inline-block;
  margin-top: 2.5rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (min-width: 640px) {
  .wrap {
    padding-top: 3rem;
  }

  h1 {
    font-size: 2.4rem;
  }
}
