/* Paper-trail pages: privacy, terms, cookies, delivery, returns, payment and the not-found page.
   Phone first; wider screens added in em. Written in the order the page is read.
   Uses the real things named in site.css (--sunflower, --read-wide, --photo-shift ...). */

:root {
  --clause-gap: 2rem;
  --number-run: 2.5rem;
}

/* Top of the page: the answer, the date, and the blank card one step to the right. */
.vis-updated {
  margin-top: 0.9rem;
  font-size: var(--small-size);
  color: var(--sunflower);
}
.vis-answer .vis-enclosure { margin-left: 0; }
.vis-answer .vis-photo { margin-top: 0.75rem; }
.vis-answer .vis-enclosure-wide { transform: rotate(-3deg); }

/* The contents: numbered links, two columns once there is room. */
.vis-roll {
  counter-reset: roll;
  display: grid;
  gap: 0 2.5rem;
  max-width: 44rem;
}
.vis-roll li { counter-increment: roll; }
.vis-roll a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
}
.vis-roll a::before {
  content: counter(roll, decimal-leading-zero);
  color: var(--sunflower);
  font-weight: 400;
}
@media (min-width: 36em) {
  .vis-roll { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The numbered clauses. One column on a phone, two side by side on a wide screen. */
.vis-clauses {
  counter-reset: clause;
  display: grid;
  gap: var(--clause-gap) 4vw;
}
.vis-clause {
  counter-increment: clause;
  scroll-margin-top: 1rem;
}
.vis-clause h2::before {
  content: counter(clause, decimal-leading-zero) "\00a0";
  color: var(--sunflower);
  font-weight: 700;
}
.vis-clause .vis-read,
.vis-clause ul,
.vis-clause .vis-slip { margin-top: 0.8rem; }
.vis-clause ul {
  max-width: var(--read-wide);
  padding-left: var(--number-run);
  list-style: square;
}
.vis-clause li { padding-block: 0.15rem; }
.vis-clause li::marker { color: var(--sunflower); }
.vis-clause .vis-slip { max-width: 100%; }
.vis-clause .vis-action { min-height: 2.75rem; }
@media (min-width: 64em) {
  .vis-clauses { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}

/* Closing hand-off: the phone, the email and two pages to go to. */
.vis-onward .vis-ways { margin-top: 0.9rem; }
.vis-onward .vis-read + .vis-read { margin-top: 0.8rem; }
