:root{
  --bg: #f7fbff;
  --card: #ffffff;
  --ink: #0b1220;
  --muted: rgba(11,18,32,.62);
  --line: rgba(11,18,32,.10);
  --shadow: 0 26px 70px rgba(9, 22, 45, .10);

  --blue: #1b72ff;
  --blue2: #39b2ff;
  --focus: rgba(27,114,255,.22);
  --radius: 14px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
body.noscroll{ overflow: hidden; }

a{ color: var(--blue); text-decoration: none; }
a:hover{ text-decoration: underline; }

.bg{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.bg__fade{
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(900px 400px at 50% -10%, rgba(57,178,255,.22), transparent 60%),
    radial-gradient(700px 340px at 20% 18%, rgba(27,114,255,.14), transparent 55%),
    radial-gradient(700px 340px at 82% 24%, rgba(27,114,255,.10), transparent 55%);
  filter: blur(8px);
}
.bg__grid{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 1px 1px, rgba(11,18,32,.06) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,.65) 0%, rgba(0,0,0,0) 62%);
}

.topbar{
  position: relative;
  height: 56px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 0 18px;
}

.brandimg{
  display:block;
}
.brandimg--small{
  height: 20px;
  width: auto;
}
.brandimg--center{
  height: 32px;
  width: auto;
}

.brandmark{
  display:flex;
  justify-content:center;
  margin-bottom: 10px;
}

.iconbtn{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  color: rgba(11,18,32,.65);
  display:grid;
  place-items:center;
  box-shadow: 0 10px 24px rgba(11,18,32,.06);
  cursor:pointer;
}
.iconbtn:hover{ background: #fff; }
.iconbtn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px var(--focus), 0 10px 24px rgba(11,18,32,.06);
}

.wrap{
  min-height: calc(100vh - 56px);
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content: flex-start;
  gap: 18px;
  padding: 54px 16px 26px;
}

.card{
  width: min(480px, 92vw);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px 18px;
}

.title{
  text-align:center;
  font-size: 16px;
  margin: 2px 0 6px;
  font-weight: 600;
  color: rgba(11,18,32,.72);
}
.sub{
  text-align:center;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.wallets{
  display:flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.wbtn{
  position: relative;
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 12px;
  display:flex;
  align-items:center;
  gap: 10px;
  cursor:pointer;
  text-align:left;
  transition: transform .08s ease, box-shadow .14s ease, border-color .14s ease;
}
.wbtn:hover{
  border-color: rgba(27,114,255,.22);
  box-shadow: 0 14px 28px rgba(11,18,32,.08);
  transform: translateY(-1px);
}
.wbtn:active{ transform: translateY(0); }
.wbtn:disabled{
  cursor: not-allowed;
  opacity: .60;
  transform: none;
  box-shadow: none;
}
.wbtn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px var(--focus), 0 14px 28px rgba(11,18,32,.08);
  border-color: rgba(27,114,255,.30);
}
.wbtn__icon{
  width: 34px;
  height: 34px;
  display:grid;
  place-items:center;
  border-radius: 10px;
  border: 1px solid rgba(11,18,32,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(11,18,32,.02));
  color: rgba(11,18,32,.80);
  flex: 0 0 auto;
}
.wbtn__text{
  display:flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.wbtn__name{
  font-weight: 600;
  font-size: 13px;
  color: rgba(11,18,32,.86);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wbtn__meta{
  font-size: 12px;
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wbtn--primary{
  border-color: rgba(27,114,255,.26);
  background: linear-gradient(180deg, rgba(27,114,255,.09), rgba(57,178,255,.06));
}
.pill{
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.12);
  color: rgba(11,18,32,.66);
  background: rgba(255,255,255,.65);
}

.check{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  color: rgba(11,18,32,.70);
  font-size: 12px;
  user-select: none;
  margin: 6px 0 10px;
}
.check input{
  width: 14px;
  height: 14px;
  accent-color: var(--blue);
}

.status{
  min-height: 18px;
  text-align:center;
  font-size: 12px;
  color: rgba(11,18,32,.62);
  margin: 0 0 10px;
}
.status--ok{ color: rgba(0,120,70,.85); }
.status--err{ color: rgba(170,32,32,.92); }

.fineprint{
  margin: 0;
  padding-top: 10px;
  text-align:center;
  font-size: 11px;
  color: rgba(11,18,32,.46);
  border-top: 1px solid rgba(11,18,32,.06);
  line-height: 1.35;
}

.socialproof{
  width: min(760px, 94vw);
  display:flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: auto; /* pushes logos toward the bottom on tall screens */
}
.socialproof__copy{
  margin: 0;
  font-size: 12px;
  color: rgba(11,18,32,.44);
  text-align:center;
}

.customers{
  width: min(742px, 92vw);
  height: auto;
  display:block;
  margin: 0 auto;
  filter: grayscale(100%);
  opacity: .70;
}

.toast{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: min(360px, calc(100vw - 32px));
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(11,18,32,.12);
  border-radius: 12px;
  box-shadow: 0 26px 70px rgba(9, 22, 45, .14);
  padding: 12px 12px 10px;
  backdrop-filter: blur(10px);
}
.toast__title{
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 2px;
}
.toast__body{
  font-size: 12px;
  color: rgba(11,18,32,.62);
  line-height: 1.35;
  margin-bottom: 10px;
}
.toast__close{
  width: 100%;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(11,18,32,.10);
  background: #fff;
  cursor:pointer;
  font-weight: 600;
  color: rgba(11,18,32,.82);
}
.toast__close:hover{ border-color: rgba(27,114,255,.24); }

.overlay{
  position: fixed;
  inset: 0;
  display:grid;
  place-items:center;
  padding: 18px;
  background: rgba(247,251,255,.72);
  transition: opacity 220ms ease;
  opacity: 0;
  pointer-events: none;
  z-index: 1200;
}
.overlay.is-open{
  opacity: 1;
  pointer-events: auto;
}
.overlay.is-closing{
  opacity: 0;
  pointer-events: none;
}
.overlay{
  /* Backdrop blur can be expensive; only use it when supported. */
  backdrop-filter: none;
}
@supports (backdrop-filter: blur(1px)){
  .overlay{
    backdrop-filter: blur(10px);
  }
}
.overlay[hidden]{
  display: none !important;
}
.overlay__panel{
  width: min(520px, 92vw);
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.92);
  box-shadow: 0 36px 110px rgba(9, 22, 45, .18);
  padding: 16px 16px 14px;
  transform: translateY(10px) scale(.99);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
  will-change: transform, opacity;
}
.overlay.is-open .overlay__panel{
  transform: translateY(0) scale(1);
  opacity: 1;
}
.overlay.is-closing .overlay__panel{
  transform: translateY(8px) scale(.985);
  opacity: 0;
}
.overlay__badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2px;
  color: rgba(11,18,32,.70);
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.70);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.overlay__badge::before{
  content:"";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--blue2));
  box-shadow: 0 0 0 4px rgba(27,114,255,.14);
}
.overlay__head{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 12px;
}
.overlay__headtext{ min-width: 0; }
.overlay__title{
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .1px;
  color: rgba(11,18,32,.86);
}
.overlay__sub{
  margin-top: 3px;
  font-size: 12px;
  color: rgba(11,18,32,.60);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spinner{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid rgba(11,18,32,.10);
  border-top-color: rgba(27,114,255,.85);
  border-left-color: rgba(57,178,255,.65);
  animation: spin .9s linear infinite;
  flex: 0 0 auto;
}
@keyframes spin{ to { transform: rotate(360deg);} }

.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 10px 0 12px;
}
.step{
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.72);
  display:grid;
  place-items:center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(11,18,32,.55);
  user-select:none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.step--active{
  border-color: rgba(27,114,255,.26);
  background: linear-gradient(180deg, rgba(27,114,255,.10), rgba(57,178,255,.06));
  color: rgba(11,18,32,.78);
  transform: translateY(-1px);
}
.step--done{
  border-color: rgba(0,120,70,.22);
  background: rgba(220, 252, 231, .55);
  color: rgba(0,120,70,.82);
}

.bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(11,18,32,.07);
  overflow:hidden;
  border: 1px solid rgba(11,18,32,.08);
}
.bar__fill{
  display:block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--blue2));
  box-shadow: 0 10px 30px rgba(27,114,255,.18);
}
.overlay.is-open .bar__fill{
  animation: verifyFill 5s linear forwards;
}
@keyframes verifyFill{
  from { width: 0%; }
  to { width: 100%; }
}

.overlay__btn{
  margin-top: 12px;
  width: 100%;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(27,114,255,.22);
  background: linear-gradient(180deg, rgba(27,114,255,.12), rgba(57,178,255,.08));
  color: rgba(11,18,32,.86);
  font-weight: 800;
  cursor: pointer;
}
.overlay__btn:disabled{
  opacity: .55;
  cursor: not-allowed;
}
.overlay__btn:not(:disabled):hover{
  border-color: rgba(27,114,255,.35);
  box-shadow: 0 20px 46px rgba(9, 22, 45, .12);
}
.overlay__btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px var(--focus), 0 20px 46px rgba(9, 22, 45, .12);
}
.overlay__fine{
  margin: 10px 0 0;
  text-align:center;
  font-size: 11px;
  color: rgba(11,18,32,.48);
}

@media (prefers-reduced-motion: reduce){
  .spinner{ animation: none; }
  .overlay{ transition: none; }
  .overlay__panel{ transition: none; }
  .overlay.is-open .bar__fill{ animation: none; width: 100%; }
}

@media (max-width: 420px){
  .card{ padding: 22px 16px 16px; }
  .brandimg--center{ height: 30px; }
  .steps{ grid-template-columns: 1fr 1fr; }
}
