:root {
  --bg: #fcfbf7;
  --ink: #181818;
  --muted: #6e6a62;
  --rule: #d8d1c2;
  --gold: #9a7b2f;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 1.6;
}

.page {
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 3rem;
}

.hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.eyebrow,
.label,
.footer {
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted);
}

h1 {
  font-size: clamp(2.3rem, 7vw, 4.4rem);
  line-height: 1.05;
  margin: 0.2rem 0 0.75rem;
  font-weight: 600;
}

.intro {
  max-width: 34rem;
  margin: 0 auto 1.5rem;
  color: var(--muted);
}

button {
  appearance: none;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 0.7rem 1rem;
  font: inherit;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

button:hover,
button:focus-visible {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.highlight {
  margin-bottom: 3rem;
}

.rule {
  height: 1px;
  background: var(--rule);
}

.label {
  margin: 1rem 0 0.75rem;
}

.featured {
  border-left: 3px solid var(--gold);
  padding: 0.25rem 0 0.25rem 1rem;
  margin-bottom: 1rem;
}

.featured h2,
.certainty-list h2 {
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.featured p,
.certainty-list p {
  margin: 0;
}

.certainty-list {
  list-style: decimal-leading-zero;
  padding-left: 1.5rem;
  margin: 0;
}

.certainty-list li {
  padding: 1.15rem 0 1.2rem 0.4rem;
  border-top: 1px solid var(--rule);
}

.certainty-list li:last-child {
  border-bottom: 1px solid var(--rule);
}

.footer {
  text-align: center;
  padding: 0 0 2.5rem;
}

@media (max-width: 640px) {
  .page { padding-top: 2.5rem; }
  .featured { padding-left: 0.8rem; }
}


.featured-number,
.item-number {
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.permalink-row {
  margin-top: 0.85rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
}

.permalink-row a,
.certainty-list a {
  color: inherit;
  text-decoration-color: var(--rule);
  text-underline-offset: 0.18em;
}

.certainty-list li.active {
  background: rgba(154, 123, 47, 0.06);
}


.controls {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

body.quiet-mode .list-section {
  display: none;
}
