/* Legal and seller pages: one readable column, numbered sections, a contents box.
   Built on the tokens in site.css (ink, mint, 3px rule, hard 5px drop). */

.legal{max-width:62rem}
.legal__head{max-width:40rem;margin:0 0 2rem}
.legal__head h1{font-size:var(--t-4);margin-bottom:0.8rem}
.legal__lede{font-size:var(--t-1);line-height:1.5;margin:0}
.legal__date{margin:0.9rem 0 0;font-size:var(--t--1)}

.legal__body{display:grid;gap:2rem}
@media (min-width:60rem){
  .legal__body{grid-template-columns:15rem minmax(0,1fr);column-gap:3.5rem;align-items:start}
}

/* contents: a small mount of its own */
.toc{
  margin:0 var(--drop) var(--drop) 0;padding:1rem 1.1rem 0.8rem;
  border:var(--rule) solid var(--ink);box-shadow:var(--drop) var(--drop) 0 var(--ink);
  background:var(--ground);font-size:var(--t--1);
}
.toc h2{font-size:1.4rem;margin-bottom:0.4rem}
.toc ol{list-style:decimal;padding-left:1.4rem}
.toc a{display:inline-block;padding:0.7rem 0;color:var(--ink);line-height:1.2}

/* the text: sections count themselves */
.legal__text{counter-reset:sec;max-width:38rem;min-width:0}
.legal__text section{counter-increment:sec;margin:0 0 2.25rem;scroll-margin-top:7rem}
.legal__text h2{font-size:var(--t-2);margin-bottom:0.7rem}
.legal__text h2::before{content:counter(sec) ". "}
.legal__text p{max-width:none}
.legal__text p+p{margin-top:0.9rem}
.legal__text ul{list-style:disc;padding-left:1.3rem;margin:0 0 1rem}
.legal__text li{margin-bottom:0.45rem;padding-left:0.2rem}
.legal__text a{color:var(--ink);text-decoration:underline;text-underline-offset:0.18em;text-decoration-thickness:0.09em}
.legal__text a:hover{text-decoration-thickness:0.16em}
.legal__text .btn{margin:0.6rem 0.4rem 0.4rem 0;text-decoration:none}
.legal code{font-family:var(--font-text);font-weight:500;overflow-wrap:anywhere}

/* facts: what is stored, in one boxed list */
.facts{
  display:grid;grid-template-columns:1fr;gap:0.15rem 1.25rem;margin:0.5rem var(--drop) 1.25rem 0;
  padding:0.9rem 1rem;border:var(--rule) solid var(--ink);box-shadow:var(--drop) var(--drop) 0 var(--ink);
  font-size:var(--t--1);
}
.facts dt{font-weight:700;margin-top:0.55rem}
.facts dt:first-child{margin-top:0}
.facts dd{margin:0;overflow-wrap:anywhere}
@media (min-width:40rem){
  .facts{grid-template-columns:9rem 1fr}
  .facts dt{margin-top:0}
  .facts dd{margin-bottom:0.4rem}
}

/* 404: a pair across the gutter, kept small enough to sit in the first window */
.lost{max-width:46rem}
.lost h1{margin-bottom:0.8rem}
.lost__lede{font-size:var(--t-1);line-height:1.5;margin:0 0 1.5rem;max-width:34rem}
.lost .pair{margin-bottom:1.75rem}
.lost__links{max-width:34rem}
.lost__links a{color:var(--ink);text-decoration:underline;text-underline-offset:0.18em;text-decoration-thickness:0.09em}
