:root {
  --paper: #efede7;
  --ink: #26221e;
  --muted: #5f5850;
  --felt: #8e2b2b;
  --rule: #d3cec3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 Georgia, "Times New Roman", serif;
}

.wrap {
  max-width: 41rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  border-bottom: 1px solid var(--rule);
  padding: 2.2rem 0 1.4rem;
}

.shopname {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.shopname h1 {
  font-size: 1.5rem;
  font-weight: normal;
  letter-spacing: 0.01em;
  margin: 0;
}

.shopname span {
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
}

nav {
  margin-top: 1.1rem;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 0.9rem;
}

nav a {
  color: var(--felt);
  text-decoration: none;
  margin-right: 1.3rem;
}

nav a:hover,
nav a:focus { text-decoration: underline; }

nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: none;
}

main { padding: 2.4rem 0 1rem; }

h2 {
  font-size: 1.22rem;
  font-weight: normal;
  margin: 2.4rem 0 0.7rem;
}

main > h2:first-child { margin-top: 0; }

h3 {
  font-size: 1.02rem;
  font-weight: bold;
  margin: 1.6rem 0 0.35rem;
}

p { margin: 0 0 1.05rem; }

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

.lede {
  font-size: 1.1rem;
  color: var(--muted);
}

dl { margin: 0 0 1.2rem; }

dt {
  font-weight: bold;
  margin-top: 0.9rem;
}

dd {
  margin: 0.15rem 0 0;
  color: var(--muted);
}

ul { padding-left: 1.15rem; }

li { margin-bottom: 0.4rem; }

table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.3rem;
}

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

th {
  font-weight: bold;
  font-size: 0.95rem;
}

td:last-child { white-space: nowrap; }

blockquote {
  margin: 1.6rem 0;
  padding-left: 1.1rem;
  border-left: 2px solid var(--rule);
  color: var(--muted);
  font-style: italic;
}

footer {
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
  padding: 1.4rem 0 3rem;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 0.83rem;
  color: var(--muted);
}

footer p { margin: 0 0 0.35rem; }

:focus-visible {
  outline: 2px solid var(--felt);
  outline-offset: 2px;
}

@media (max-width: 30rem) {
  body { font-size: 16px; }
  .shopname { flex-direction: column; gap: 0.15rem; }
  td:last-child { white-space: normal; }
}
