/* Legal pages: the long text of the shop, set in the same stair as the rest of the site. */

/* burlw: the legal wrap. Areas head (title panel), list (contents), text (the numbered clauses). */
.burlw {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "list" "text";
  gap: var(--space-between-blocks);
  margin: 0 4vw var(--space-between-sections) 3vw;
}
.burlw > .burhd { grid-area: head; margin-left: 4vw; }
.burlw > .burcn { grid-area: list; margin-right: 9vw; align-self: start; }
.burlw > .burtx { grid-area: text; margin-left: 2vw; }
@media (min-width: 56em) {
  .burlw {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr);
    grid-template-areas: "head head" "list text";
    margin: 0 6vw var(--space-between-sections) 11vw;
  }
  .burlw > .burhd { margin-left: 8vw; margin-right: 12vw; }
  .burlw > .burcn { margin-right: 0; }
  .burlw > .burtx { margin-left: 0; }
}

/* burhd: the title panel; burdt: its "last updated" line. */
.burhd .burh { margin-bottom: 0.35em; }
.burdt { font-size: var(--size-of-the-small-text); margin: 0; }

/* burcn: the contents panel, a numbered list of jumps to the clauses. */
.burcn h2 { font-size: 1.75rem; margin-bottom: 0.4em; }
.burcn ol { list-style: none; margin: 0; padding: 0; counter-reset: entry; }
.burcn li { counter-increment: entry; }
.burcn a {
  display: flex; align-items: center; gap: 0.6em;
  min-height: 2.75rem;
  font-size: var(--size-of-the-small-text);
  line-height: 1.3;
  text-decoration: none;
}
.burcn a::before { content: counter(entry) "."; min-width: 1.6em; font-weight: 700; }
.burcn a:hover, .burcn a:focus-visible { text-decoration: underline; }

/* burtx: the text panel; burcl: one numbered clause inside it. */
.burtx { counter-reset: clause; }
.burcl { max-width: 46em; }
.burcl + .burcl { margin-top: 2.25rem; }
.burcl h2 {
  counter-increment: clause;
  font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem);
  margin: 0 0 0.4em;
}
.burcl h2::before { content: counter(clause) ". "; }
.burcl ul { margin: 0 0 1em; padding-left: 1.25em; }
.burcl li { margin-bottom: 0.4em; }
.burcl address { font-style: normal; margin: 0 0 1em; }
.burcl .buru { margin-top: 0.5rem; }
