/* The setup guide, /setup/ (templates/setup.mjs), on the terms' layout (strategy.css): "Before you start", a numbered
   list of short points, some with a picture; "Words", a box of one-line meanings; then the steps, each with a heading,
   a line or two and a picture, and one gold button, Download Chaldea Setup, the page's only gold, as on the thank-you
   page. The pictures are drawings at 1200 x 750 (assets/setup/), shown at the column's width with their caption,
   "What you will see", under them. */
.setup-cta {
  margin: 0 0 1.6em;
}

/* .terms-body a would give the button's label the cream: on the gold it keeps its own dark ink. */
.terms-body .setup-cta__btn {
  color: var(--on-accent);
  text-decoration: none;
}

.terms-body .setup-steps {
  margin: 0 0 1.6em;
  padding-left: 1.4em;
}

.terms-body .setup-step {
  margin: 0 0 2.4em;
  max-width: none;
}

.setup-step::marker {
  color: var(--on-dark-muted);
}

.terms-body .setup-step h3 {
  margin: 0 0 0.4em;
}

.terms-body .setup-step p {
  margin: 0 0 0.6em;
}

.setup-fig {
  margin: 1em 0 0;
}

.setup-fig img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: var(--space);
}

.setup-fig figcaption {
  margin-top: 0.55em;
  color: var(--on-dark-muted);
  font-size: 0.875rem;
}

.setup-body section + section {
  margin-top: 1em;
}

/* Before you start: one point a line or two, the title in bold at its start. */
.terms-body .setup-before {
  margin: 0 0 1.6em;
  padding-left: 1.4em;
}

.terms-body .setup-before__item {
  margin: 0 0 1.1em;
  max-width: none;
}

.setup-before__item::marker {
  color: var(--on-dark-muted);
}

.terms-body .setup-before__item p {
  margin: 0;
}

.terms-body .setup-before__item strong {
  color: var(--on-dark);
  font-weight: 600;
}

.setup-before__item .setup-fig {
  margin: 0.9em 0 1.6em;
}

/* Words: the word, then its meaning, a line each; two columns where there is room. */
.setup-words dl {
  margin: 0.6em 0 0;
}

.setup-words__row {
  display: grid;
  grid-template-columns: minmax(8.5em, 11em) minmax(0, 1fr);
  gap: 0 1em;
  padding: 0.35em 0;
  border-top: 1px solid var(--line-dark);
}

.setup-words dt {
  color: var(--on-dark);
  font-weight: 600;
}

.setup-words dd {
  margin: 0;
}

@media (max-width: 560px) {
  .terms-body .setup-steps,
  .terms-body .setup-before {
    padding-left: 1.1em;
  }

  .setup-words__row {
    grid-template-columns: minmax(0, 1fr);
  }
}
