.legal-hero{
  padding-block:var(--space-6) var(--space-5);
  background:#161714;
  color:#E6E8DC;
}
.legal-hero__kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:fit-content;
  padding:.4em .9em;
  margin-bottom:var(--space-3);
  border-radius:var(--r-pill);
  background:#22231F;
  color:#B5B8AA;
  font-size:var(--text-xs);
  line-height:1;
}
.legal-hero__title{
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1.2;
  color:#E6E8DC;
}
.legal-hero__intro{
  max-width:72ch;
  margin-top:var(--space-3);
  color:#B5B8AA;
  font-size:1rem;
  line-height:1.75;
  overflow-wrap:break-word;
}
.legal-hero__meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:var(--space-2);
  margin-top:var(--space-4);
}
.legal-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.4em;
  width:fit-content;
  max-width:100%;
  padding:.4em .9em;
  border-radius:var(--r-pill);
  background:#22231F;
  color:#B5B8AA;
  font-size:var(--text-xs);
  line-height:1;
  overflow-wrap:break-word;
}
.legal-layout{
  display:grid;
  grid-template-columns:minmax(14rem,17rem) minmax(0,1fr);
  gap:var(--space-6);
  align-items:start;
  padding-block:var(--space-6) var(--space-close);
}
.legal-layout>*{
  min-width:0;
}
.legal-toc{
  position:sticky;
  top:var(--sticky-toc-top);
  z-index:1;
  padding:var(--space-4);
  border-radius:var(--r-lg);
  background:#22231F;
  color:#B5B8AA;
}
.legal-toc__title{
  margin-bottom:var(--space-3);
  color:#E6E8DC;
  font-size:var(--text-sm);
  line-height:var(--lh-label);
  font-weight:500;
}
.legal-index{
  display:grid;
  gap:var(--space-1);
  margin:0;
  padding:0;
  list-style:none;
}
.legal-index li{
  min-width:0;
}
.legal-index a{
  display:block;
  padding:var(--space-2) var(--space-3);
  border-radius:var(--r-md);
  color:#B5B8AA;
  font-size:var(--text-sm);
  line-height:var(--lh-label);
  overflow-wrap:break-word;
}
.legal-index a:hover{
  background:#1B1C18;
  color:#E6E8DC;
}
.legal-index a.is-active{
  background:#161714;
  color:#E6E8DC;
  box-shadow:inset 3px 0 0 var(--primary);
}
.legal-toc .legal-toc__cta{
  display:inline-flex;
  grid-template-columns:none;
  justify-content:center;
  justify-self:start;
  width:auto;
  margin-top:var(--space-4);
  padding:var(--space-2) var(--space-4);
  background:transparent;
  color:#E6E8DC;
  border-color:color-mix(in srgb,currentColor 45%,transparent);
}
.legal-toc .legal-toc__cta:hover{
  background:#3A3C35;
  color:#E6E8DC;
}
.legal-doc{
  min-width:0;
}
.legal-section{
  scroll-margin-top:var(--header-offset);
}
.legal-section+.legal-section{
  margin-top:var(--space-6);
}
.legal-section h2{
  margin-bottom:var(--space-3);
  color:#E6E8DC;
  font-size:var(--text-reading);
  line-height:1.4;
  font-weight:400;
  letter-spacing:-.2px;
}
.legal-section p{
  color:#B5B8AA;
  font-size:1rem;
  line-height:1.75;
  overflow-wrap:break-word;
}
.legal-section p+p{
  margin-top:var(--space-3);
}
.legal-doc a:not(.c-btn){
  color:#A9C77A;
  text-decoration:underline;
  text-underline-offset:.2em;
  overflow-wrap:anywhere;
}
.legal-doc a:not(.c-btn):hover{
  color:#E6E8DC;
}
.legal-doc .legal-doc__actions{
  justify-content:flex-start;
  margin-top:var(--space-4);
}
@media(max-width:64rem){
  .legal-layout{
    grid-template-columns:minmax(0,1fr);
  }
  .legal-toc{
    position:static;
  }
  .legal-doc{
    max-width:none;
  }
}
@media(max-width:42rem){
  .legal-hero__meta{
    align-items:flex-start;
  }
  .legal-doc__actions>.c-btn{
    width:100%;
  }
}
