:root {
  --paper: #f8f8f5;
  --ink: #1d211d;
  --muted: #60675f;
  --line: #d7dbd4;
  --link: #245c3b;
  --soft: #eef1ec;
  --white: #fff;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { font-size: 100%; }

body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration-thickness: .08em;
  text-underline-offset: .16em;
}

a:hover { text-decoration-thickness: .14em; }
a:focus-visible { outline: .2rem solid currentColor; outline-offset: .2rem; }

.skip {
  position: absolute;
  left: -10000px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: .5rem .75rem;
  background: var(--white);
}

.masthead,
main {
  width: min(60rem, calc(100% - 2rem));
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -.015em;
  text-decoration: none;
}

.masthead nav {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.1rem;
  font-size: .9rem;
}

main { padding: clamp(2.5rem, 6vw, 4.5rem) 0 5rem; }

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.025em;
}

h1 {
  max-width: 24ch;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

h2 {
  max-width: 32ch;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.2;
}

h3 {
  max-width: 40ch;
  font-size: 1.12rem;
  line-height: 1.3;
}

p,
li,
dd { max-width: 70ch; }

p { margin: .75rem 0 0; }
strong { font-weight: 700; }

section + section { margin-top: 3.5rem; }

.home-intro,
.page-head,
.dispatch-head {
  max-width: 47rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.intro {
  max-width: 62ch;
  font-size: 1.12rem;
  line-height: 1.6;
}

.meta {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.5;
}

.guide-list,
.source-list,
.price-history,
.condition-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.guide-list > li {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.guide-list h2,
.guide-list h3 { max-width: 46rem; }
.guide-list p { margin-top: .45rem; }
.guide-list .meta { margin-top: .6rem; }

.guide-list--index { margin-top: 2rem; }

.home-more {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.home-more article { min-width: 0; }
.home-more h3 { margin-top: .85rem; }

.short-answer,
.note,
.limits { max-width: 47rem; }

.short-answer {
  padding: 1.35rem 1.5rem;
  border-left: .25rem solid var(--link);
  background: var(--soft);
}

.short-answer p {
  max-width: 65ch;
  font-size: 1.05rem;
  font-weight: 400;
}

.answer-grid {
  max-width: 50rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.answer-row {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.answer-row h3 { font-size: 1.25rem; }
.answer-text { font-size: 1.04rem; }

.answer-prices {
  margin-top: 1.25rem;
  padding: 1rem;
  background: var(--soft);
}

.answer-prices > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: .8rem;
}

.answer-price {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .15rem;
}

.answer-price span { font-size: 1rem; }
.answer-price small { color: var(--muted); }

.source-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.source-list p {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .9rem;
}

.table-wrap {
  max-width: 100%;
  margin-top: 1.25rem;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: .9rem;
}

th,
td {
  min-width: 7.5rem;
  padding: .75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 650;
}

tbody th {
  min-width: 15rem;
  font-weight: 650;
}

.note {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.price-history li {
  display: grid;
  grid-template-columns: 7rem minmax(10rem, 1fr) 7rem auto;
  gap: .75rem 1rem;
  align-items: baseline;
  max-width: none;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
}

.price-history span { color: var(--muted); }

.daily-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.daily-price {
  min-width: 0;
  margin-top: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.price-number {
  font-size: 1.6rem;
  font-weight: 650;
}

.condition-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .1rem 1rem;
  max-width: none;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
}

.condition-list small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.dispatch { max-width: 50rem; }
.dispatch-copy { max-width: 47rem; }
.dispatch-copy h2 { margin-top: 2.75rem; }
.dispatch-copy ul { padding-left: 1.35rem; }
.dispatch-copy li + li { margin-top: .6rem; }
.dispatch-sources { margin-top: 3.5rem; }

.prose { max-width: 47rem; }
.prose h2 { margin-top: 2.5rem; }
.back-link { margin-top: 2.5rem; }

@media (max-width: 44rem) {
  .masthead { display: block; }
  .masthead nav { margin-top: .7rem; }

  .home-more,
  .daily-grid,
  .answer-prices > div { grid-template-columns: 1fr; }

  .price-history li { grid-template-columns: 1fr auto; }
  .price-history li a { grid-column: 1 / -1; }
  .source-list li { grid-template-columns: 1fr; }
}

@media (max-width: 28rem) {
  .masthead,
  main { width: min(100% - 1.25rem, 60rem); }
  h1 { font-size: 2rem; }
}
