.terms-page main{
  background:#ffffff;
  color:#101716;
}

.terms-hero{
  padding-block:var(--bvm-hero-crumb-space) var(--bvm-space-6);
  background:#f2f1ed;
  color:#17201f;
}

.terms-hero-copy{
  max-width:58rem;
  display:grid;
  gap:.5rem;
  margin-inline:0;
}

.terms-heading-group{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.75rem;
  min-width:0;
}

.terms-heading-group .c-kicker{
  width:fit-content;
  max-width:100%;
  align-self:flex-start;
  background:#ffffff;
  color:#34413d;
}

.terms-heading-group .c-kicker::before{
  background:#00685f;
}

.terms-heading-group h1{
  max-width:56rem;
  margin-inline:0;
  font-size:clamp(2.25rem,4.5vw,3.2rem);
  line-height:1.18;
  color:#101716;
}

.terms-hero-lead{
  max-width:52rem;
  color:#46514d;
}

.terms-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin-top:var(--bvm-space-2);
}

.terms-meta span{
  min-width:0;
  padding:.55rem .75rem;
  border-radius:var(--bvm-radius-sm);
  background:#ffffff;
  color:#34413d;
  font-size:var(--bvm-text-0);
  line-height:var(--bvm-leading-body);
  overflow-wrap:anywhere;
}

.terms-meta strong{
  color:#101716;
  font-weight:var(--bvm-weight-semibold);
}

.terms-document{
  background:#ffffff;
  color:#101716;
}

.terms-legal-shell{
  display:grid;
  grid-template-columns:minmax(14rem,18rem) minmax(0,1fr);
  gap:var(--bvm-space-5);
  align-items:start;
  isolation:isolate;
}

.terms-toc-column,
.terms-content{
  min-width:0;
}

.terms-legal-shell .c-legal-toc{
  position:sticky;
  top:calc(var(--bvm-header-height) + var(--bvm-space-3));
  align-self:start;
  z-index:3;
  min-width:0;
  max-height:calc(100vh - var(--bvm-header-height) - var(--bvm-space-5));
  overflow:auto;
  background:#ffffff;
}

.terms-toc,
.terms-legal-shell .bvm-toc-card{
  min-width:0;
  padding:var(--bvm-space-3);
  border-radius:var(--bvm-radius-md);
  background:#eaf1f4;
  color:#152126;
}

.terms-toc-heading{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.75rem;
}

.terms-toc-heading .c-badge{
  width:fit-content;
  max-width:100%;
  align-self:flex-start;
  background:#ffffff;
  color:#39494f;
}

.terms-toc-heading h2{
  color:#152126;
  font-size:var(--bvm-text-3);
  line-height:var(--bvm-leading-heading);
  letter-spacing:-.015em;
}

.terms-toc ol,
.terms-legal-shell .bvm-toc-card ol{
  display:grid;
  gap:0;
  margin:var(--bvm-space-3) 0 0;
  padding:0;
  list-style:none;
}

.terms-toc li,
.terms-legal-shell .bvm-toc-card li{
  min-width:0;
  border-bottom:1px solid #d4dfe1;
}

.terms-toc li:first-child,
.terms-legal-shell .bvm-toc-card li:first-child{
  border-top:1px solid #d4dfe1;
}

.terms-toc ol a,
.terms-legal-shell .bvm-toc-card ol a{
  min-width:0;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:.625rem;
  align-items:start;
  padding:.7rem 0;
  color:#35474c;
  font-size:var(--bvm-text-0);
  line-height:1.45;
}

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

.terms-toc ol a:focus-visible{
  outline:0;
  box-shadow:var(--bvm-shadow-focus);
}

.terms-toc ol a span{
  min-width:0;
  color:#00685f;
  font-family:var(--bvm-font-mono);
  font-variant-numeric:tabular-nums;
}

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

.terms-content{
  display:grid;
  gap:var(--bvm-space-6);
}

.terms-clause{
  min-width:0;
  display:grid;
  gap:.5rem;
  scroll-margin-top:calc(var(--bvm-header-height) + var(--bvm-space-4));
}

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

.terms-clause-index{
  min-width:2.5rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.4rem .55rem;
  border-radius:var(--bvm-radius-sm);
  background:#00685f;
  color:#ffffff;
  font-size:var(--bvm-text-0);
  line-height:1;
}

.terms-clause-heading h2{
  min-width:0;
  color:#101716;
  font-size:clamp(1.7rem,3vw,2.35rem);
  line-height:1.2;
}

.terms-clause p{
  color:#46514d;
}

.terms-clause a:not(.c-btn){
  color:#005f57;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:.2em;
  overflow-wrap:anywhere;
}

.terms-role-list{
  display:grid;
  gap:0;
  margin:var(--bvm-space-3) 0;
  padding:0;
  border-top:1px solid #dfe3de;
}

.terms-role-list div{
  min-width:0;
  display:grid;
  grid-template-columns:minmax(8rem,.35fr) minmax(0,1fr);
  gap:var(--bvm-space-2);
  padding:var(--bvm-space-2) 0;
  border-bottom:1px solid #dfe3de;
}

.terms-role-list dt,
.terms-role-list dd{
  min-width:0;
  overflow-wrap:anywhere;
}

.terms-role-list dt{
  color:#101716;
}

.terms-role-list dd{
  color:#59635f;
}

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

.terms-fact-grid div{
  min-width:0;
  padding:var(--bvm-space-3);
  border-radius:var(--bvm-radius-md);
  background:#eef0e5;
  color:#1d2118;
}

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

.terms-fact-grid strong{
  color:#1d2118;
  font-family:var(--bvm-font-mono);
  font-size:var(--bvm-text-2);
  line-height:var(--bvm-leading-heading);
  font-variant-numeric:tabular-nums;
}

.terms-fact-grid span{
  margin-top:.5rem;
  color:#4d5546;
  font-size:var(--bvm-text-1);
  line-height:var(--bvm-leading-body);
}

.terms-table{
  display:table;
  width:100%;
  margin:var(--bvm-space-3) 0;
  background:#ffffff;
  color:#17201f;
}

.terms-table caption{
  padding:0 0 .75rem;
  color:#46514d;
  font-size:var(--bvm-text-1);
  line-height:var(--bvm-leading-body);
  text-align:left;
}

.terms-table th{
  background:#f2f1ed;
  color:#3f4946;
}

.terms-table td{
  background:#ffffff;
  color:#17201f;
}

.terms-table th,
.terms-table td{
  min-width:7rem;
  overflow-wrap:anywhere;
}

.terms-price-table th:not(:first-child),
.terms-price-table td:not(:first-child){
  text-align:left;
}

.terms-stage-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--bvm-space-2);
  margin:var(--bvm-space-3) 0;
  align-items:start;
}

.terms-stage-list div{
  min-width:0;
  padding:var(--bvm-space-3);
  border-radius:var(--bvm-radius-md);
  background:#f7ede2;
  color:#251c16;
}

.terms-stage-list strong{
  display:block;
  color:#251c16;
  font-size:var(--bvm-text-2);
  line-height:var(--bvm-leading-heading);
}

.terms-stage-list p{
  margin-top:.5rem;
  color:#5d4d42;
  font-size:var(--bvm-text-1);
}

.terms-rule-list{
  display:grid;
  gap:0;
  margin:var(--bvm-space-3) 0;
  padding:0;
  list-style:none;
  border-top:1px solid #dfe3de;
}

.terms-rule-list li{
  padding:var(--bvm-space-2) 0;
  color:#46514d;
  border-bottom:1px solid #dfe3de;
}

.terms-rule-list strong{
  color:#101716;
}

.terms-availability{
  display:grid;
  grid-template-columns:minmax(10rem,.35fr) minmax(0,1fr);
  gap:var(--bvm-space-3);
  align-items:center;
  margin:var(--bvm-space-3) 0;
  padding:var(--bvm-space-4);
  border-radius:var(--bvm-radius-md);
  background:#101716;
  color:#ffffff;
}

.terms-availability div{
  min-width:0;
}

.terms-availability strong,
.terms-availability span{
  display:block;
  min-width:0;
  overflow-wrap:anywhere;
}

.terms-availability strong{
  color:#ffffff;
  font-size:clamp(2.25rem,5vw,3.2rem);
  line-height:1;
}

.terms-availability span{
  margin-top:.5rem;
  color:#aab4b1;
  font-size:var(--bvm-text-1);
  line-height:var(--bvm-leading-body);
}

.terms-availability p{
  color:#d2d9d7;
}

.terms-inline-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-start;
  gap:.625rem;
  margin-top:var(--bvm-space-3);
}

.terms-closing-section{
  padding-top:0;
  background:#ffffff;
  color:#101716;
}

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

.terms-closing-heading{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.75rem;
}

.terms-closing-heading .c-kicker{
  width:fit-content;
  max-width:100%;
  align-self:flex-start;
  background:#252c2a;
  color:#d3dbd8;
}

.terms-closing-heading .c-kicker::before{
  background:#62c9bd;
}

.terms-closing-heading h2{
  color:#ffffff;
}

.terms-closing-copy p{
  color:#aab4b1;
}

.terms-closing-actions{
  flex:0 0 auto;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  margin-top:0;
}

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

.terms-closing-actions .c-btn-ghost{
  color:#ffffff;
  border-color:rgba(255,255,255,.45);
}

@media (max-width:64rem){
  .terms-legal-shell{
    grid-template-columns:1fr;
  }

  .terms-toc-column,
  .terms-legal-shell .c-legal-toc{
    position:static;
    max-height:none;
    overflow:visible;
    background:transparent;
  }

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

  .terms-toc li:first-child{
    border-top:0;
  }

  .terms-toc li{
    border-top:1px solid #d4dfe1;
  }
}

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

  .terms-meta{
    display:grid;
  }

  .terms-toc ol,
  .terms-legal-shell .bvm-toc-card ol{
    grid-template-columns:1fr;
  }

  .terms-role-list div,
  .terms-stage-list,
  .terms-availability{
    grid-template-columns:1fr;
  }

  .terms-role-list div{
    gap:.5rem;
  }

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

  .terms-clause-index{
    width:fit-content;
  }

  .terms-inline-actions{
    display:grid;
  }

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