/* =========================================================
   HOW IT WORKS PAGE
   ========================================================= */

.hiw-page{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 8% 42%,rgba(2,81,255,.045),transparent 23%),
    radial-gradient(circle at 92% 68%,rgba(2,81,255,.04),transparent 25%),
    #0b0d0f;
}

.hiw-hero{
  position:relative;
  min-height:390px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  isolation:isolate;
  text-align:center;
}

.hiw-hero-ambient{
  position:absolute;
  z-index:-1;
  top:-120px;
  left:50%;
  width:min(1000px,78vw);
  height:540px;
  transform:translateX(-50%);
  background:
    radial-gradient(circle at 50% 30%,
      rgba(2,81,255,.23) 0%,
      rgba(2,81,255,.10) 31%,
      rgba(2,81,255,.035) 50%,
      rgba(2,81,255,0) 72%);
  filter:blur(10px);
  pointer-events:none;
}

.hiw-hero-copy{
  position:relative;
  z-index:2;
  width:min(900px,calc(100% - 320px));
}

.hiw-eyebrow,
.hiw-section-index,
.hiw-step-label,
.hiw-next-label{
  color:#397dff;
  font-size:13px;
  line-height:1;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.hiw-hero h1{
  margin:22px 0 25px;
  color:#f8f8f9;
  font-size:clamp(58px,5.4vw,80px);
  line-height:1.02;
  letter-spacing:-.055em;
  font-weight:600;
}

.hiw-hero-copy p{
  max-width:780px;
  margin:0 auto;
  color:#d4d7dc;
  font-size:20px;
  line-height:1.6;
  letter-spacing:-.02em;
}

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

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

.hiw-hero-floater-left{
  left:max(6vw,70px);
  top:98px;
  width:190px;
  animation:hiwFloatLeft 6.7s ease-in-out infinite;
}

.hiw-hero-floater-left img{
  animation:hiwTwinkle 3.5s ease-in-out infinite;
}

.hiw-hero-floater-right{
  right:max(6vw,72px);
  top:72px;
  width:178px;
  animation:hiwFloatRight 7s ease-in-out infinite;
}

.hiw-hero-floater-right img{
  animation:hiwCoinGlow 4.9s ease-in-out infinite;
}

.hiw-section-heading{
  display:grid;
  grid-template-columns:70px minmax(0,1fr);
  gap:22px;
  align-items:start;
  max-width:980px;
}

.hiw-section-heading h2,
.hiw-overview-heading h2,
.hiw-before-copy h2{
  margin:0;
  color:#f7f7f8;
  font-size:clamp(38px,4vw,58px);
  line-height:1.08;
  letter-spacing:-.045em;
  font-weight:600;
}

.hiw-section-heading p{
  max-width:720px;
  margin:18px 0 0;
  color:#aeb3bc;
  font-size:18px;
  line-height:1.65;
}

.hiw-overview{
  display:grid;
  grid-template-columns:minmax(280px,.9fr) minmax(0,1.1fr);
  gap:90px;
  align-items:start;
  padding-top:115px;
  padding-bottom:130px;
}

.hiw-overview-heading{
  display:flex;
  flex-direction:column;
  gap:24px;
}

.hiw-overview-copy p{
  margin:0 0 26px;
  color:#c6cad0;
  font-size:19px;
  line-height:1.75;
}

.hiw-overview-copy p:last-child{
  margin-bottom:0;
}

.hiw-steps{
  position:relative;
  padding:130px 0 145px;
}

.hiw-step-list{
  margin-top:72px;
  border-top:1px solid rgba(255,255,255,.10);
}

.hiw-step{
  display:grid;
  grid-template-columns:94px minmax(0,1fr) 255px;
  gap:34px;
  align-items:start;
  padding:38px 0;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.hiw-step-number{
  width:64px;
  height:64px;
  display:grid;
  place-items:center;
  border:1px solid rgba(2,81,255,.48);
  border-radius:18px;
  color:#fff;
  background:
    radial-gradient(circle at 35% 25%,rgba(2,81,255,.22),transparent 58%),
    #10141b;
  font-size:17px;
  font-weight:600;
  box-shadow:0 8px 34px rgba(2,81,255,.08);
}

.hiw-step-copy h3{
  margin:10px 0 13px;
  color:#f3f4f6;
  font-size:28px;
  line-height:1.2;
  letter-spacing:-.035em;
  font-weight:600;
}

.hiw-step-copy p{
  max-width:760px;
  margin:0;
  color:#b9bec6;
  font-size:17px;
  line-height:1.7;
}

.hiw-step-note{
  min-height:98px;
  padding:20px 22px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:17px;
  background:#0f1319;
}

.hiw-step-note strong{
  display:block;
  margin-bottom:8px;
  color:#f3f4f6;
  font-size:14px;
  font-weight:600;
}

.hiw-step-note span{
  display:block;
  color:#959ba5;
  font-size:14px;
  line-height:1.5;
}

.hiw-details{
  padding-top:135px;
  padding-bottom:145px;
}

.hiw-detail-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:70px;
}

.hiw-detail-card{
  min-height:290px;
  padding:30px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:22px;
  background:
    radial-gradient(circle at 15% 5%,rgba(2,81,255,.085),transparent 38%),
    #101319;
}

.hiw-detail-icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:1px solid rgba(2,81,255,.45);
  border-radius:13px;
  color:#8db4ff;
  font-size:12px;
  font-weight:600;
}

.hiw-detail-card h3{
  margin:30px 0 14px;
  color:#f2f3f5;
  font-size:23px;
  line-height:1.24;
  letter-spacing:-.03em;
}

.hiw-detail-card p{
  margin:0;
  color:#aeb4bd;
  font-size:16px;
  line-height:1.7;
}

.hiw-before{
  padding:120px 0 135px;
}

.hiw-before-panel{
  position:relative;
  overflow:hidden;
  padding:62px;
  border:1px solid rgba(2,81,255,.19);
  border-radius:30px;
  background:
    radial-gradient(circle at 90% 0%,rgba(2,81,255,.14),transparent 34%),
    linear-gradient(145deg,#111722 0%,#0d1118 74%);
}

.hiw-before-panel::before{
  content:"";
  position:absolute;
  top:-100px;
  right:-80px;
  width:380px;
  height:380px;
  border:1px solid rgba(2,81,255,.09);
  border-radius:50%;
}

.hiw-before-copy{
  max-width:760px;
}

.hiw-before-copy h2{
  margin-top:22px;
}

.hiw-before-copy p{
  max-width:720px;
  margin:22px 0 0;
  color:#bdc2ca;
  font-size:18px;
  line-height:1.7;
}

.hiw-checklist{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 30px;
  margin-top:45px;
}

.hiw-check{
  display:flex;
  gap:13px;
  align-items:flex-start;
  padding:14px 0;
}

.hiw-check span{
  flex:0 0 auto;
  width:9px;
  height:9px;
  margin-top:9px;
  border-radius:50%;
  background:#0251ff;
  box-shadow:0 0 13px rgba(2,81,255,.7);
}

.hiw-check p{
  margin:0;
  color:#d0d3d8;
  font-size:16px;
  line-height:1.6;
}

.hiw-risk-link{
  position:relative;
  z-index:1;
  display:inline-flex;
  gap:10px;
  align-items:center;
  margin-top:36px;
  color:#f5f7fa;
  font-size:15px;
  font-weight:600;
  text-decoration:none;
}

.hiw-risk-link:hover{
  color:#78a4ff;
}

.hiw-next{
  padding-top:130px;
  padding-bottom:135px;
}

.hiw-next-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  margin-top:62px;
}

.hiw-next-card{
  min-height:270px;
  display:flex;
  flex-direction:column;
  padding:34px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:24px;
  background:#0f1319;
  color:inherit;
  text-decoration:none;
  transition:transform .25s ease,border-color .25s ease,background .25s ease;
}

.hiw-next-card:hover{
  transform:translateY(-4px);
  border-color:rgba(2,81,255,.34);
  background:#111722;
}

.hiw-next-card h3{
  margin:28px 0 14px;
  color:#f5f6f7;
  font-size:28px;
  letter-spacing:-.035em;
}

.hiw-next-card p{
  max-width:520px;
  margin:0;
  color:#adb3bc;
  font-size:16px;
  line-height:1.65;
}

.hiw-next-link{
  margin-top:auto;
  padding-top:28px;
  color:#f1f3f5;
  font-size:15px;
  font-weight:600;
}

.hiw-next-card:hover .hiw-next-link{
  color:#79a5ff;
}

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

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

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

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

@keyframes hiwCoinGlow{
  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));}
}

@media(max-width:1100px){
  .hiw-hero-copy{width:min(760px,calc(100% - 260px));}
  .hiw-hero-floater-left{left:3vw;width:160px;}
  .hiw-hero-floater-right{right:3vw;width:150px;}
  .hiw-overview{gap:55px;}
  .hiw-step{grid-template-columns:82px minmax(0,1fr) 220px;gap:24px;}
  .hiw-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media(max-width:820px){
  .hiw-hero{min-height:360px;}
  .hiw-hero-copy{width:min(620px,calc(100% - 90px));}
  .hiw-hero h1{font-size:clamp(48px,8vw,64px);}
  .hiw-hero-copy p{font-size:18px;}
  .hiw-hero-floater-left{left:-42px;top:100px;width:135px;opacity:.65;}
  .hiw-hero-floater-right{right:-34px;top:82px;width:125px;opacity:.82;}
  .hiw-overview{grid-template-columns:1fr;gap:35px;padding-top:90px;padding-bottom:105px;}
  .hiw-section-heading{grid-template-columns:52px minmax(0,1fr);gap:16px;}
  .hiw-steps{padding:105px 0 115px;}
  .hiw-step{grid-template-columns:72px minmax(0,1fr);}
  .hiw-step-note{grid-column:2;min-height:auto;}
  .hiw-details{padding-top:105px;padding-bottom:110px;}
  .hiw-before{padding:95px 0 110px;}
  .hiw-before-panel{padding:44px;}
  .hiw-checklist{grid-template-columns:1fr;gap:2px;}
  .hiw-next{padding-top:105px;padding-bottom:110px;}
}

@media(max-width:580px){
  .hiw-hero{min-height:330px;padding:35px 0 45px;}
  .hiw-hero-copy{width:calc(100% - 42px);}
  .hiw-eyebrow,.hiw-section-index,.hiw-step-label,.hiw-next-label{font-size:11px;}
  .hiw-hero h1{margin-top:18px;font-size:43px;letter-spacing:-.045em;}
  .hiw-hero-copy p{font-size:16px;line-height:1.6;}
  .hiw-hero-floater-left{left:-54px;top:78px;width:110px;}
  .hiw-hero-floater-right{right:-42px;top:68px;width:105px;}
  .hiw-overview{padding-top:72px;padding-bottom:82px;}
  .hiw-overview-heading{gap:18px;}
  .hiw-section-heading{grid-template-columns:1fr;gap:14px;}
  .hiw-section-heading h2,.hiw-overview-heading h2,.hiw-before-copy h2{font-size:34px;}
  .hiw-section-heading p,.hiw-overview-copy p{font-size:16px;}
  .hiw-steps{padding:82px 0 90px;}
  .hiw-step-list{margin-top:48px;}
  .hiw-step{grid-template-columns:1fr;gap:18px;padding:30px 0;}
  .hiw-step-number{width:52px;height:52px;border-radius:15px;}
  .hiw-step-copy h3{font-size:24px;}
  .hiw-step-copy p{font-size:16px;}
  .hiw-step-note{grid-column:auto;}
  .hiw-details{padding-top:82px;padding-bottom:90px;}
  .hiw-detail-grid{grid-template-columns:1fr;margin-top:48px;}
  .hiw-detail-card{min-height:auto;padding:26px;}
  .hiw-before{padding:76px 0 90px;}
  .hiw-before-panel{padding:32px 24px;border-radius:24px;}
  .hiw-before-copy p{font-size:16px;}
  .hiw-next{padding-top:82px;padding-bottom:90px;}
  .hiw-next-grid{grid-template-columns:1fr;margin-top:46px;}
  .hiw-next-card{min-height:245px;padding:28px;}
}

@media(prefers-reduced-motion:reduce){
  .hiw-hero-floater,
  .hiw-hero-floater img,
  .hiw-next-card{
    animation:none !important;
    transition:none !important;
  }
}
