/* Terms & Conditions page.
   No top padding between the shared navbar and legal hero. */

.terms-page{
  position:relative;
  padding:0 0 132px;
  background:#0b0d0f;
}

/* Legal-page hero */
.terms-hero{
  position:relative;
  width:100%;
  height:300px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  isolation:isolate;
}

.terms-hero-ambient{
  position:absolute;
  z-index:-1;
  inset:-70px 11% -34px;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 25%, rgba(2,81,255,.22) 0%, rgba(2,81,255,.09) 28%, rgba(2,81,255,0) 64%);
  filter:blur(8px);
}

.terms-hero-title{
  position:relative;
  z-index:2;
  margin:0;
  color:#f7f7f8;
  font-size:76px;
  line-height:1;
  letter-spacing:-3.4px;
  font-weight:600;
  text-align:center;
}

.terms-floater{
  position:absolute;
  z-index:1;
  pointer-events:none;
  will-change:transform;
}

.terms-floater img{
  display:block;
  width:100%;
  height:auto;
  user-select:none;
  -webkit-user-drag:none;
}

.terms-floater-left{
  left:max(9vw, 115px);
  top:69px;
  width:205px;
  animation:termsFloatLeft 6.6s ease-in-out infinite;
}

.terms-floater-left img{
  animation:termsTwinkle 3.4s ease-in-out infinite;
}

.terms-floater-right{
  right:max(8vw, 105px);
  top:51px;
  width:180px;
  animation:termsFloatRight 6.9s ease-in-out infinite;
}

.terms-floater-right img{
  animation:termsCoinGlow 4.8s ease-in-out infinite;
}

@keyframes termsFloatLeft{
  0%,100%{transform:translate3d(0,0,0) rotate(-1deg);}
  50%{transform:translate3d(7px,-13px,0) rotate(1.2deg);}
}

@keyframes termsFloatRight{
  0%,100%{transform:translate3d(0,0,0) rotate(.8deg);}
  50%{transform:translate3d(-5px,-15px,0) rotate(-1.4deg);}
}

@keyframes termsTwinkle{
  0%,100%{
    opacity:.78;
    filter:brightness(.94) drop-shadow(0 0 0 rgba(255,255,255,0));
  }
  50%{
    opacity:1;
    filter:brightness(1.18) drop-shadow(0 0 9px rgba(255,255,255,.12));
  }
}

@keyframes termsCoinGlow{
  0%,100%{
    filter:brightness(.97) drop-shadow(0 10px 18px rgba(2,81,255,.08));
  }
  50%{
    filter:brightness(1.08) drop-shadow(0 14px 24px rgba(2,81,255,.17));
  }
}

/* Main legal panel */
.terms-card{
  overflow:hidden;
  border-radius:24px;
  background:#0d121c;
}

.terms-copy{
  padding:68px 60px 72px;
}

.terms-section{
  margin-top:46px;
}

.terms-section:first-child{
  margin-top:0;
}

.terms-section h2{
  margin:0 0 24px;
  color:#f5f5f6;
  font-size:34px;
  line-height:1.15;
  letter-spacing:-1.25px;
  font-weight:600;
}

.terms-intro h2{
  margin-bottom:8px;
}

.terms-updated{
  margin-top:0 !important;
  color:#9b9fa7 !important;
  font-size:15px !important;
}

.terms-updated span{
  margin-left:5px;
}

.terms-section p,
.terms-section li{
  color:#cdd0d5;
  font-size:19px;
  line-height:1.62;
  letter-spacing:-.12px;
}

.terms-section p{
  margin:0 0 24px;
}

.terms-section p:last-child{
  margin-bottom:0;
}

.terms-section ul{
  margin:22px 0 0;
  padding-left:24px;
}

.terms-section li{
  margin:2px 0;
}

.terms-section a{
  color:inherit;
}

.terms-section a:hover{
  color:#fff;
}

.terms-cta{
  padding-top:0;
}

@media(max-width:1100px){
  .terms-hero{
    height:270px;
  }

  .terms-hero-title{
    font-size:64px;
  }

  .terms-floater-left{
    left:5vw;
    width:175px;
  }

  .terms-floater-right{
    right:4.5vw;
    width:158px;
  }

  .terms-copy{
    padding:58px 48px 64px;
  }

  .terms-section h2{
    font-size:31px;
  }

  .terms-section p,
  .terms-section li{
    font-size:18px;
  }
}

/* Conservative small-screen fallback.
   Exact mobile matching should follow a mobile reference if supplied. */
@media(max-width:720px){
  .terms-page{
    padding-bottom:80px;
  }

  .terms-hero{
    height:225px;
  }

  .terms-hero-title{
    font-size:42px;
    letter-spacing:-2px;
  }

  .terms-floater-left{
    left:-26px;
    top:66px;
    width:125px;
    opacity:.72;
  }

  .terms-floater-right{
    right:-20px;
    top:54px;
    width:120px;
    opacity:.9;
  }

  .terms-card{
    border-radius:18px;
  }

  .terms-copy{
    padding:38px 22px 46px;
  }

  .terms-section{
    margin-top:38px;
  }

  .terms-section h2{
    margin-bottom:18px;
    font-size:28px;
    letter-spacing:-.9px;
  }

  .terms-section p,
  .terms-section li{
    font-size:16px;
    line-height:1.65;
  }

  .terms-updated{
    font-size:14px !important;
  }
}

@media(prefers-reduced-motion:reduce){
  .terms-floater,
  .terms-floater img{
    animation:none !important;
  }
}
