.vcp{
  position:fixed;
  inset:0;
  z-index:120;
  display:grid;
  place-items:center;
  padding:20px;
}

.vcp[hidden]{
  display:none;
}

.vcp:not(.is-open){
  pointer-events:none;
}

.vcp.is-open{
  pointer-events:auto;
}

.vcp__backdrop{
  position:absolute;
  inset:0;
  background:var(--rh-overlay);
  backdrop-filter:var(--rh-overlay-blur);
  -webkit-backdrop-filter:var(--rh-overlay-blur);
  opacity:0;
  transition:opacity .22s ease;
}

.vcp.is-open .vcp__backdrop{
  opacity:1;
}

.vcp__panel{
  position:relative;
  width:min(640px, 100%);
  max-height:calc(100dvh - 40px);
  overflow-y:auto;
  overscroll-behavior:contain;
  background:var(--rh-surface2);
  border:1px solid var(--rh-line2);
  border-radius:var(--rh-r);
  padding:30px 30px 26px;
  box-shadow:0 30px 80px rgba(0,0,0,.55);
  opacity:0;
  transform:translateY(14px) scale(.985);
  transition:opacity .22s ease, transform .22s ease;
}

.vcp.is-open .vcp__panel{
  opacity:1;
  transform:none;
}

.vcp__close{
  position:absolute;
  top:14px;
  right:14px;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:10px;
  border:1px solid var(--rh-line2);
  background:transparent;
  color:var(--rh-muted);
  cursor:pointer;
  transition:background var(--transition-fast), color var(--transition-fast);
}

.vcp__close:hover{
  background:rgba(255,255,255,.06);
  color:var(--rh-text);
}

.vcp__close svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
}

.vcp__badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 14px;
  border:1px solid rgba(59,139,246,.3);
  border-radius:999px;
  color:var(--rh-blue2);
  font-size:13px;
  font-weight:650;
  line-height:1.3;
}

.vcp__badgeDot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--rh-green);
  box-shadow:0 0 8px rgba(47,203,114,.7);
}

.vcp .vcp__h2{
  margin:14px 0 10px;
  font-family:var(--rh-display);
  font-size:30px;
  font-weight:750;
  line-height:1.16;
  letter-spacing:-.03em;
  max-width:none;
}

.vcp__hl{
  color:var(--rh-blue);
}

.vcp__lead{
  margin:0 0 20px;
  color:var(--rh-muted);
  font-size:15px;
  line-height:1.6;
}

.vcp__trust{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin:18px 0 0;
  padding:0;
  font-size:13px;
  color:var(--rh-muted2);
}

.vcp__trust li{
  position:relative;
  padding-left:18px;
}

.vcp__trust li::before{
  content:"";
  position:absolute;
  left:0;
  top:6px;
  width:9px;
  height:5px;
  border-left:2px solid var(--rh-green);
  border-bottom:2px solid var(--rh-green);
  transform:rotate(-45deg);
}

.vcp__or{
  display:flex;
  align-items:center;
  gap:16px;
  margin:22px 0 14px;
  color:var(--rh-muted2);
  font-size:13px;
}

.vcp__or::before,
.vcp__or::after{
  content:"";
  flex:1;
  height:1px;
  background:var(--rh-line);
}

.vcp__alt{
  margin:0;
  font-size:14px;
  line-height:1.6;
  color:var(--rh-muted);
}

.vcp__alt button{
  display:inline;
  padding:0;
  border:0;
  background:none;
  color:var(--rh-blue2);
  font:inherit;
  font-weight:600;
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:3px;
}

.vcp__alt button:hover{
  color:var(--rh-text);
}

body.vcp-open{
  overflow:hidden;
}

@media (max-width: 560px){
  .vcp{
    padding:12px;
  }

  .vcp__panel{
    padding:24px 18px 22px;
    max-height:calc(100dvh - 24px);
  }

  .vcp .vcp__h2{
    font-size:24px;
  }
}

@media (prefers-reduced-motion: reduce){
  .vcp__backdrop,
  .vcp__panel{
    transition:none;
  }
}
