.terms-hero{
  padding-block:var(--rm-hero-crumb-pad) var(--rm-space-6);
  background:#f5eee5;
  color:#413126
}

.terms-hero-inner{
  max-width:var(--rm-container-standard)
}

.terms-hero .rm-breadcrumb{
  color:#725f50
}

.terms-hero-copy{
  display:flex;
  min-width:0;
  max-width:56rem;
  flex-direction:column;
  align-items:flex-start
}

.terms-title-group{
  display:grid;
  gap:var(--rm-space-1)
}

.terms-title-group h1{
  max-width:52rem;
  margin-inline:0;
  font-size:var(--rm-text-3xl);
  line-height:var(--rm-leading-tight)
}

.terms-title-group p{
  max-width:51rem;
  color:#725f50;
  font-size:var(--rm-text-lg)
}

.terms-meta{
  display:flex;
  flex-wrap:wrap;
  gap:var(--rm-space-1);
  margin-top:var(--rm-space-3)
}

.terms-meta span{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  max-width:100%;
  padding:.45rem .78rem;
  border-radius:var(--rm-radius-pill);
  background:#fff;
  color:#413126;
  font-size:var(--rm-text-xs);
  font-weight:750;
  line-height:1.35
}

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

.terms-toc{
  position:sticky;
  top:8.75rem;
  min-width:0;
  padding:var(--rm-space-3);
  border-radius:var(--rm-radius-md);
  background:#f5eee5;
  color:#413126
}

.terms-toc-label{
  display:block;
  width:fit-content;
  max-width:100%;
  margin-bottom:var(--rm-space-1);
  color:#725f50;
  font-size:var(--rm-text-xs);
  font-weight:800;
  letter-spacing:.075em;
  line-height:1.3;
  text-transform:uppercase
}

.terms-toc h2{
  font-size:var(--rm-text-xl);
  line-height:var(--rm-leading-heading)
}

.terms-toc ol{
  margin:var(--rm-space-3) 0 0;
  padding:0;
  list-style:none
}

.terms-toc li{
  border-bottom:1px solid rgba(65,49,38,.13)
}

.terms-toc li:first-child{
  border-top:1px solid rgba(65,49,38,.13)
}

.terms-toc ol a{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:var(--rm-space-1);
  padding:.8rem 0;
  color:#413126
}

.terms-toc ol a:hover{
  color:#981b38
}

.terms-toc ol span{
  color:#8a6f5d;
  font-family:var(--rm-font-mono);
  font-size:var(--rm-text-xs);
  font-variant-numeric:tabular-nums
}

.terms-toc ol strong{
  min-width:0;
  font-size:var(--rm-text-sm);
  line-height:1.45
}

.terms-toc-action{
  display:inline-flex;
  width:auto;
  margin-top:var(--rm-space-3);
  justify-self:start
}

.terms-content{
  min-width:0;
  max-width:52rem
}

.terms-clause{
  scroll-margin-top:8rem;
  padding-bottom:var(--rm-space-6)
}

.terms-clause + .terms-clause{
  padding-top:var(--rm-space-6);
  border-top:1px solid var(--rm-line)
}

.terms-clause:last-child{
  padding-bottom:0
}

.terms-clause-heading{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:start;
  gap:var(--rm-space-2);
  margin-bottom:var(--rm-space-4)
}

.terms-clause-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:2.75rem;
  height:2.75rem;
  border-radius:var(--rm-radius-sm);
  background:#e9eef9;
  color:#202d4d;
  font-family:var(--rm-font-mono);
  font-size:var(--rm-text-sm);
  font-weight:800;
  line-height:1
}

.terms-clause-heading > div{
  display:grid;
  min-width:0;
  gap:var(--rm-space-1)
}

.terms-clause-heading h2{
  font-size:var(--rm-text-2xl)
}

.terms-clause-heading p{
  color:#696771
}

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

.terms-prose p{
  color:#4f4b53
}

.terms-prose a:not(.rm-btn){
  color:#7d142d;
  font-weight:750;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:.2rem;
  overflow-wrap:anywhere
}

.terms-prose ul{
  display:grid;
  gap:var(--rm-space-1);
  padding-inline-start:1.25rem;
  color:#4f4b53
}

.terms-prose li{
  padding-inline-start:.25rem
}

.terms-fact-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));
  gap:var(--rm-space-2)
}

.terms-fact-grid > div{
  min-width:0;
  padding:var(--rm-space-3);
  border-radius:var(--rm-radius-md);
  background:#eaf5f1;
  color:#183b32
}

.terms-fact-grid strong,
.terms-fact-grid span{
  display:block;
  overflow-wrap:anywhere
}

.terms-fact-grid strong{
  font-size:var(--rm-text-sm)
}

.terms-fact-grid span{
  margin-top:var(--rm-space-1);
  color:#42665d;
  font-size:var(--rm-text-sm)
}

.terms-check-list li::marker{
  color:#981b38
}

.terms-table-caption{
  padding:var(--rm-space-2) var(--rm-space-3);
  background:#fff;
  color:#4f4b53;
  font-size:var(--rm-text-sm);
  font-weight:700;
  text-align:left
}

.terms-addon-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));
  gap:var(--rm-space-2);
  align-items:start
}

.terms-addon{
  display:flex;
  min-width:0;
  padding:var(--rm-space-3);
  border-radius:var(--rm-radius-md);
  background:#fff1cf;
  color:#493512;
  flex-direction:column;
  align-items:flex-start;
  gap:var(--rm-space-1)
}

.terms-addon strong,
.terms-addon span{
  max-width:100%;
  overflow-wrap:anywhere
}

.terms-addon span{
  color:#705c35;
  font-size:var(--rm-text-sm)
}

.terms-prohibition-list{
  margin:0;
  padding:0;
  list-style:none
}

.terms-prohibition-list li{
  padding:var(--rm-space-2) 0;
  border-bottom:1px solid var(--rm-line)
}

.terms-prohibition-list li:first-child{
  border-top:1px solid var(--rm-line)
}

.terms-prohibition-list strong{
  color:#171426
}

.terms-responsibility{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));
  gap:var(--rm-space-2)
}

.terms-responsibility > div{
  display:grid;
  min-width:0;
  gap:var(--rm-space-1);
  padding:var(--rm-space-3);
  border-radius:var(--rm-radius-md);
  background:#f2e9f0;
  color:#41243a
}

.terms-responsibility span{
  color:#735f6c;
  font-size:var(--rm-text-sm)
}

.terms-final{
  padding-block:var(--rm-section-pad) var(--rm-space-4);
  background:#fcfbf9;
  color:#171426
}

.terms-closing{
  align-items:center
}

.terms-closing-copy{
  min-width:0;
  max-width:45rem
}

.terms-closing-copy .rm-kicker{
  margin-bottom:var(--rm-space-3)
}

.terms-closing-copy h2{
  max-width:42rem;
  color:#fff
}

.terms-closing-copy p{
  color:#c8c3cd
}

.terms-closing-actions{
  display:flex;
  flex:0 0 auto;
  min-width:min(100%,17rem);
  flex-direction:column;
  align-items:stretch;
  gap:var(--rm-space-2)
}

.terms-closing-actions .rm-btn{
  width:100%
}

.terms-closing-actions .rm-btn-ghost{
  border-color:rgba(255,255,255,.38);
  background:transparent;
  color:#fff
}

@media (max-width:64rem){
  .terms-layout{
    grid-template-columns:1fr;
    gap:var(--rm-space-5)
  }

  .terms-toc{
    position:static
  }

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

  .terms-content{
    max-width:none
  }
}

@media (max-width:44rem){
  .terms-hero{
    padding-bottom:var(--rm-space-5)
  }

  .terms-title-group h1{
    font-size:clamp(2rem,10vw,2.75rem)
  }

  .terms-meta{
    align-items:flex-start;
    flex-direction:column
  }

  .terms-layout{
    gap:var(--rm-space-4)
  }

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

  .terms-clause{
    padding-bottom:var(--rm-space-5)
  }

  .terms-clause + .terms-clause{
    padding-top:var(--rm-space-5)
  }

  .terms-clause-heading{
    grid-template-columns:1fr;
    margin-bottom:var(--rm-space-3)
  }

  .terms-clause-number{
    width:2.5rem;
    height:2.5rem
  }

  .terms-clause-heading h2{
    font-size:var(--rm-text-xl)
  }

  .terms-addon-grid,
  .terms-fact-grid,
  .terms-responsibility{
    grid-template-columns:1fr
  }

  .terms-closing{
    align-items:flex-start
  }

  .terms-closing-actions{
    width:100%;
    min-width:0
  }
}
