/* Legal pages and the 404: long text set on the pink ground, with a contents tile and numbered sections. */
.legal__head{padding-block:var(--sect) clamp(1rem,3vh,2rem)}
.legal__head h1{max-width:22ch}
.legal__head .lede{margin-top:1rem;max-width:52ch}
.legal__stamp{margin-top:1rem;font-family:'Martian Mono',ui-monospace,monospace;font-size:.9rem}
.legal__board{padding-bottom:var(--sect)}

/* contents tile: cut-corner frame, numbered links that sit on 44px rows */
.toc{margin:0}
.toc__in{background:var(--pink);padding:var(--pad)}
.toc h2{font-size:1.1rem;color:var(--blue)}
.toc ol{counter-reset:t;margin-top:.6rem}
.toc li{counter-increment:t;border-top:var(--edge)}
.toc li:first-child{border-top:0}
.toc a{display:flex;align-items:center;gap:.7rem;min-height:2.75rem;font-size:var(--fs-0);line-height:1.3;color:var(--ink);text-decoration:none}
.toc a::before{content:counter(t,decimal-leading-zero);font-family:'Martian Mono',ui-monospace,monospace;font-size:.9rem;color:var(--blue)}
.toc a:hover{color:var(--blue);background:var(--blue-wash)}

/* the text: a readable measure, ruled and numbered sections */
.legal__body{counter-reset:s;max-width:46rem}
.legal__body section{counter-increment:s;padding-block:clamp(1.2rem,3vh,1.9rem);border-top:var(--edge);scroll-margin-top:1rem}
.legal__body section:first-child{border-top:0;padding-top:0}
.legal__body h2{display:grid;grid-template-columns:auto 1fr;gap:.2rem .9rem;align-items:baseline;font-size:clamp(1.25rem,1vw + 1rem,1.5rem);margin-bottom:.9rem}
.legal__body h2::before{content:counter(s,decimal-leading-zero);color:var(--blue)}
.legal__body p+p,.legal__body p+ul,.legal__body ul+p,.legal__body p+dl,.legal__body dl+p{margin-top:.85rem}
.legal__body li{position:relative;padding-left:1.3rem}
.legal__body li+li{margin-top:.5rem}
.legal__body li::before{content:"";position:absolute;left:0;top:.6em;width:.55rem;height:.55rem;background:var(--blue)}
.legal__body .facts{margin-top:.5rem}
.legal__body .facts > div{font-size:var(--fs-0)}
.legal__body .btn{margin-top:.2rem}

/* wide screens: contents left, text right */
@media (min-width:861px){
  .legal__toc{grid-column:1/5}
  .legal__body{grid-column:5/13}
}

/* 404: words left, one pair right — a cast, an arrow, the mark it suggests */
.lost__board{padding-block:var(--sect);align-items:center}
.lost__text h1{max-width:12ch}
.lost__text .lede{margin-top:1rem}
.lost__go{margin-block:1.4rem 1rem}
.lost__pair{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:clamp(.4rem,1.2vw,1rem)}
.lost__pair .mount img{height:100%}
@media (min-width:861px){
  .lost__text{grid-column:1/6}
  .lost__pair{grid-column:6/13}
}
@media (max-width:860px){
  .lost__pair{grid-template-columns:minmax(0,1fr) 1.6rem minmax(0,1fr)}
  .lost__pair .arrow{width:1.6rem}
}
