.terms-hero{
  padding:132px 0 54px;
  background:
    radial-gradient(circle at 82% 18%,rgba(113,74,224,.15),transparent 27%),
    linear-gradient(150deg,#061a39 0%,#00132f 58%,#0c1d46 100%);
  color:#fff;
}
.terms-hero__inner{max-width:1040px}
.terms-hero .inner-eyebrow{color:#bba8ff}
.terms-hero h1{
  max-width:760px;
  margin:10px 0 14px;
  font-size:clamp(42px,6vw,70px);
  line-height:1.02;
  letter-spacing:-2.8px;
}
.terms-hero__lead{
  max-width:760px;
  margin:0;
  color:#d9deed;
  font-size:18px;
  line-height:1.7;
}
.terms-meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  max-width:940px;
  margin-top:34px;
}
.terms-meta>div{
  padding:15px 17px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:14px;
  background:rgba(255,255,255,.055);
  backdrop-filter:blur(8px);
}
.terms-meta span,.terms-meta strong{display:block}
.terms-meta span{
  margin-bottom:5px;
  color:#aeb9cf;
  font-size:10px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.terms-meta strong{font-size:13px;color:#fff}
.terms-page{padding:52px 0 88px;background:#f7f6fc}
.terms-layout{
  display:grid;
  grid-template-columns:270px minmax(0,1fr);
  gap:34px;
  align-items:start;
}
.terms-sidebar{position:sticky;top:100px}
.terms-index{
  max-height:calc(100vh - 128px);
  overflow:auto;
  padding:22px 20px;
  border:1px solid #e1deec;
  border-radius:18px;
  background:#fff;
  box-shadow:0 16px 38px rgba(34,27,82,.06);
}
.terms-index>strong{
  display:block;
  margin-bottom:13px;
  color:#101b35;
  font-size:13px;
  letter-spacing:.02em;
}
.terms-index ol{
  display:grid;
  gap:2px;
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:terms;
}
.terms-index li{counter-increment:terms}
.terms-index a{
  display:grid;
  grid-template-columns:24px 1fr;
  gap:6px;
  padding:7px 7px;
  border-radius:8px;
  color:#626b7f;
  font-size:11px;
  line-height:1.35;
  text-decoration:none;
}
.terms-index a:before{
  content:counter(terms,decimal-leading-zero);
  color:#7658df;
  font-weight:800;
}
.terms-index a:hover,.terms-index a:focus-visible{background:#f4f1ff;color:#3e2c91;outline:none}
.terms-document{
  padding:46px 54px;
  border:1px solid #e1deec;
  border-radius:22px;
  background:#fff;
  box-shadow:0 24px 54px rgba(34,27,82,.07);
}
.terms-summary{
  display:grid;
  grid-template-columns:50px 1fr;
  gap:17px;
  margin-bottom:18px;
  padding:20px;
  border:1px solid #dfd6fb;
  border-radius:16px;
  background:linear-gradient(135deg,#f8f5ff,#f3f0ff);
}
.terms-summary__icon{
  width:48px;height:48px;border-radius:14px;
  display:grid;place-items:center;
  color:#6745d8;background:#fff;
  box-shadow:0 10px 22px rgba(83,56,175,.10)
}
.terms-summary__icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8}
.terms-summary strong{display:block;margin-bottom:5px;color:#171d36;font-size:15px}
.terms-summary p{margin:0;color:#4b556d;font-size:13px;line-height:1.65}
.terms-summary small{display:block;margin-top:7px;color:#746c8a;font-size:11px;line-height:1.5}
.terms-clause{
  scroll-margin-top:108px;
  padding:30px 0;
  border-bottom:1px solid #ebe9f1;
}
.terms-clause:last-of-type{border-bottom:0}
.terms-clause h2{
  margin:0 0 11px;
  color:#0c1832;
  font-size:21px;
  line-height:1.3;
  letter-spacing:-.45px;
}
.terms-clause p{
  margin:0;
  color:#485268;
  font-size:14px;
  line-height:1.85;
}
.terms-contact{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin-top:30px;
  padding:24px 26px;
  border-radius:18px;
  color:#fff;
  background:linear-gradient(135deg,#071a3b,#201259);
}
.terms-contact strong{display:block;margin-bottom:5px;font-size:17px}
.terms-contact p{margin:0;color:#cfd5e6;font-size:13px}
.terms-contact .button{flex:none}
@media(max-width:960px){
  .terms-layout{grid-template-columns:1fr}
  .terms-sidebar{position:static}
  .terms-index{max-height:none}
  .terms-index ol{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .terms-hero{padding:108px 0 42px}
  .terms-meta{grid-template-columns:1fr}
  .terms-document{padding:30px 24px}
  .terms-index ol{grid-template-columns:1fr}
  .terms-contact{align-items:flex-start;flex-direction:column}
  .terms-contact .button{width:100%}
}
@media(max-width:520px){
  .terms-hero h1{font-size:42px;letter-spacing:-1.8px}
  .terms-hero__lead{font-size:16px}
  .terms-page{padding:34px 0 58px}
  .terms-document{padding:24px 18px;border-radius:17px}
  .terms-summary{grid-template-columns:1fr}
  .terms-clause h2{font-size:18px}
  .terms-clause p{font-size:13.5px}
}
