/**
 * HelloBar + dialog — silver / black / white, animated reveal.
 */

#rk-waitlist-bar[hidden] {
  display: none !important;
}

#rk-waitlist-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.55rem 2.75rem 0.55rem 1.25rem;
  background: linear-gradient(180deg, #010101 0%, #060607 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b9099;
  transform: translate3d(0, -100%, 0);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease,
    box-shadow 0.45s ease;
  will-change: transform, opacity;
}

#rk-waitlist-bar.rk-waitlist-bar--in {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  pointer-events: auto;
}

#rk-waitlist-bar.rk-waitlist-bar--out {
  transform: translate3d(0, -100%, 0);
  opacity: 0;
  pointer-events: none;
  box-shadow: none;
}

#rk-waitlist-bar .rk-waitlist-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  max-width: 72rem;
  width: 100%;
}

#rk-waitlist-bar .rk-waitlist-bar-copy {
  margin: 0;
  text-align: center;
  line-height: 1.45;
  color: #c4c8cf;
}

#rk-waitlist-bar .rk-waitlist-bar-copy strong {
  color: #f0f1f4;
  font-weight: 600;
}

#rk-waitlist-bar .rk-waitlist-bar-cta {
  flex-shrink: 0;
  padding: 0.42rem 1rem;
  font: inherit;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0a0a0b;
  background: linear-gradient(180deg, #f2f3f5 0%, #b9bec7 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 1px;
  cursor: pointer;
  transition: filter 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

#rk-waitlist-bar .rk-waitlist-bar-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

#rk-waitlist-bar .rk-waitlist-bar-dismiss {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: transparent;
  color: #555b66;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

#rk-waitlist-bar .rk-waitlist-bar-dismiss:hover {
  color: #fff;
}

body.rk-wl-bar-padded {
  padding-top: 3.15rem;
  transition: padding-top 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.rk-wl-bar-off {
  padding-top: 0 !important;
}

.rk-wl-dialog {
  max-width: 26rem;
  width: calc(100vw - 2rem);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #080809;
  color: #f2f2f2;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
}

.rk-wl-dialog::backdrop {
  background: rgba(0, 0, 0, 0.74);
}

.rk-wl-dialog-inner {
  padding: 1.5rem 1.35rem 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.rk-wl-dialog h2 {
  margin: 0 0 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c5c9d2;
}

.rk-wl-dialog .rk-wl-dialog-lead {
  margin: 0 0 1.25rem;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #9399a3;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.rk-wl-form .rk-wl-field {
  width: 100%;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.65rem;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #040405;
  color: #f2f2f2;
  border-radius: 1px;
}

.rk-wl-form .rk-wl-field:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.28);
}

.rk-wl-consent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0.75rem 0 1rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #7d838c;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 400;
}

.rk-wl-consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.rk-wl-submit {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(180deg, #fff 0%, #aeb4bd 100%);
  color: #0a0a0b;
  cursor: pointer;
  border-radius: 1px;
  transition: filter 0.2s ease;
}

.rk-wl-submit:hover {
  filter: brightness(1.05);
}

.rk-wl-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.rk-wl-msg {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #8ebda3;
}

.rk-wl-msg.rk-wl-msg--err {
  color: #e08080;
}

.rk-wl-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: #555;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.rk-wl-close:hover {
  color: #fff;
}

.rk-wl-dialog-wrap {
  position: relative;
}

@media (prefers-reduced-motion: reduce) {
  #rk-waitlist-bar {
    transition-duration: 0.01ms !important;
  }

  body.rk-wl-bar-padded {
    transition: none !important;
  }
}
