.terms-hero{
  padding-block:var(--space-4) var(--space-5);
  background:#17161a;
  color:#f8f7f5;
}

.terms-hero__inner{
  display:grid;
  gap:var(--space-3);
}

.terms-hero .c-breadcrumb{
  color:#d5d2d9;
}

.terms-hero .c-breadcrumb a{
  color:#f8f7f5;
}

.terms-intro{
  display:grid;
  max-width:58rem;
  gap:var(--space-1);
  margin-inline:0;
}

.terms-title-block{
  display:grid;
  justify-items:start;
  gap:var(--space-2);
}

.terms-title-block .c-kicker{
  width:fit-content;
  align-self:flex-start;
}

.terms-hero h1{
  max-width:18ch;
  color:#f8f7f5;
  font-size:clamp(2.35rem,5vw,3.2rem);
  line-height:1.16;
}

.terms-hero__lead{
  max-width:54rem;
  color:#c8c4cc;
  font-size:var(--fs-3);
}

.terms-meta{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:var(--space-1);
  margin:var(--space-2) 0 0;
}

.terms-meta>div{
  min-width:0;
  padding:var(--space-2);
  border-radius:var(--radius-md);
  background:#232226;
  color:#f8f7f5;
}

.terms-meta dt{
  color:#aaa7ae;
  font-family:var(--font-mono);
}

.terms-meta dd{
  margin-top:var(--space-1);
  color:#f8f7f5;
  font-weight:750;
  overflow-wrap:anywhere;
}

.terms-body{
  padding-block:var(--space-5) var(--section-space);
  background:#fcfbf7;
  color:#17161a;
}

.terms-layout{
  display:grid;
  grid-template-columns:minmax(14rem,.34fr) minmax(0,1fr);
  align-items:start;
  gap:var(--space-4);
}

.terms-layout>*{
  min-width:0;
}

.terms-toc{
  position:sticky;
  top:calc(var(--header-height) + var(--space-3));
  padding:var(--space-3);
  border-radius:var(--radius-md);
  background:#e3e1ea;
  color:#211d2c;
}

.terms-toc h2{
  color:#211d2c;
  font-size:var(--fs-4);
}

.terms-toc ol{
  display:grid;
  gap:0;
  margin:var(--space-2) 0 0;
  padding:0;
  list-style:none;
}

.terms-toc li{
  margin:0;
  padding:0;
  border-top:1px solid rgba(33,29,44,.14);
}

.terms-toc li:last-child{
  border-bottom:1px solid rgba(33,29,44,.14);
}

.terms-toc ol a{
  display:grid;
  grid-template-columns:2rem minmax(0,1fr);
  gap:var(--space-1);
  align-items:start;
  padding-block:.7rem;
  color:#211d2c;
  font-size:var(--fs-1);
  line-height:var(--lh-small);
}

.terms-toc ol a:hover{
  color:#26335f;
}

.terms-toc ol a span{
  min-width:0;
  overflow-wrap:anywhere;
}

.terms-toc ol a span:first-child{
  font-family:var(--font-mono);
  color:#5b4a70;
}

.terms-toc__action{
  display:grid;
  justify-items:start;
  gap:var(--space-2);
  margin-top:var(--space-3);
}

.terms-toc__action p{
  color:#514b5b;
  font-size:var(--fs-1);
}

.terms-toc__action .c-btn{
  width:auto;
  justify-self:start;
}

.terms-article{
  min-width:0;
  padding:var(--space-4);
  border-radius:var(--radius-lg);
  background:#ffffff;
  color:#17161a;
}

.terms-section{
  scroll-margin-top:calc(var(--header-height) + var(--space-3));
  padding-block:0 var(--space-4);
  color:#343139;
  border-bottom:1px solid #d8d5d0;
}

.terms-section+.terms-section{
  padding-top:var(--space-4);
}

.terms-section:last-child{
  padding-bottom:0;
  border-bottom:0;
}

.terms-section__heading{
  display:grid;
  grid-template-columns:2.5rem minmax(0,1fr);
  align-items:start;
  gap:var(--space-2);
  margin-bottom:var(--space-2);
}

.terms-section__number{
  display:inline-flex;
  width:2.5rem;
  height:2.5rem;
  align-items:center;
  justify-content:center;
  border-radius:var(--radius-sm);
  background:#26335f;
  color:#ffffff;
  font-family:var(--font-mono);
  font-size:var(--fs-0);
  line-height:1;
}

.terms-section h2{
  color:#17161a;
  font-size:clamp(1.65rem,3vw,2.2rem);
}

.terms-section p{
  color:#4f4b53;
}

.terms-section p+p{
  margin-top:var(--space-2);
}

.terms-section a:not(.c-btn){
  color:#394a7b;
  text-decoration:underline;
  text-decoration-thickness:.08em;
  text-underline-offset:.18em;
}

.terms-fact-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));
  align-items:start;
  gap:var(--space-2);
  margin-block:var(--space-3);
}

.terms-fact-grid>div{
  min-width:0;
  padding:var(--space-3);
  border-radius:var(--radius-md);
  background:#d8e8e6;
  color:#172a31;
}

.terms-fact-grid strong{
  display:block;
  color:#172a31;
  font-size:var(--fs-2);
}

.terms-fact-grid p{
  margin-top:var(--space-1);
  color:#40545a;
  font-size:var(--fs-1);
}

.terms-section .table-scroll{
  margin-block:var(--space-3);
  border-radius:var(--radius-md);
}

.terms-section .c-table{
  display:table;
  width:100%;
  min-width:46rem;
  background:#ffffff;
  color:#17161a;
}

.terms-section .c-table caption{
  padding:0 0 var(--space-1);
  color:#5f5b63;
  font-size:var(--fs-1);
  text-align:left;
}

.terms-section .c-table th,
.terms-section .c-table td{
  text-align:left;
}

.terms-section .c-table th{
  background:#f3f1ec;
  color:#343139;
}

.terms-section .c-table td{
  background:#ffffff;
  color:#343139;
  border-bottom-color:#d8d5d0;
}

.terms-note{
  margin-top:var(--space-3);
  padding:var(--space-3);
  border-radius:var(--radius-md);
  background:#f2e0cf;
  color:#321e17;
}

.terms-note strong{
  display:block;
  color:#321e17;
}

.terms-note p{
  margin-top:var(--space-1);
  color:#60453b;
}

.terms-closing-section{
  padding-block:0 var(--space-5);
  background:#fcfbf7;
  color:#17161a;
}

.terms-closing-section .c-closing{
  background:#17161a;
  color:#f8f7f5;
}

.terms-closing-section .c-closing h2{
  color:#f8f7f5;
}

.terms-closing-section .c-closing p{
  color:#bcb8c1;
}

.terms-closing__actions{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  gap:var(--space-2);
}

.terms-closing__actions .c-btn{
  width:100%;
}

.terms-closing__actions .c-btn-primary{
  background:#ffffff;
  color:#17161a;
}

.terms-closing__actions .c-btn-primary:hover{
  background:#f3f1ec;
}

.terms-closing__actions .c-btn-ghost{
  background:transparent;
  color:#f8f7f5;
  border-color:rgba(248,247,245,.42);
}

.terms-closing__actions .c-btn-ghost:hover{
  background:rgba(255,255,255,.08);
}

@media(max-width:64rem){
  .terms-meta{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .terms-layout{
    grid-template-columns:1fr;
  }

  .terms-toc{
    position:static;
  }

  .terms-toc ol{
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:var(--space-3);
  }
}

@media(max-width:40rem){
  .terms-hero{
    padding-block:var(--space-3) var(--space-4);
  }

  .terms-hero__lead{
    font-size:var(--fs-2);
  }

  .terms-meta{
    grid-template-columns:1fr;
  }

  .terms-body{
    padding-block:var(--space-4) var(--space-5);
  }

  .terms-toc ol{
    grid-template-columns:1fr;
  }

  .terms-article{
    padding:var(--space-3);
  }

  .terms-section__heading{
    grid-template-columns:2.25rem minmax(0,1fr);
  }

  .terms-section__number{
    width:2.25rem;
    height:2.25rem;
  }

  .terms-closing__actions{
    width:100%;
  }

  .terms-closing__actions .c-btn{
    white-space:normal;
  }
}
