/* ---------- Waitlist success dialog ---------- */
.wl-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(21, 19, 15, 0.38);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0s linear 0.3s;
}
.wl-modal.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}
.wl-card {
  position: relative;
  width: 440px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 40px 36px 32px;
  border-radius: 28px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 30px 80px -20px rgba(21, 19, 15, 0.35);
  translate: 0 16px;
  scale: 0.97;
  transition:
    translate 0.45s cubic-bezier(0.22, 0.8, 0.24, 1),
    scale 0.45s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.wl-modal.open .wl-card {
  translate: 0 0;
  scale: 1;
}
.wl-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f2f0ea;
  color: #5c5957;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wl-close:hover {
  background: #e8e5dd;
}
.wl-close svg {
  width: 14px;
  height: 14px;
}
.wl-check {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e9fe8a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wl-check svg {
  width: 26px;
  height: 26px;
}
.wl-modal.open .wl-check {
  animation: wlPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}
@keyframes wlPop {
  from {
    scale: 0.4;
    opacity: 0;
  }
  to {
    scale: 1;
    opacity: 1;
  }
}
.wl-card .wl-title {
  margin: 0;
  font: 800 24px/1.2 var(--sans);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.wl-card .wl-sub {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.wl-card .wl-sub b {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
.wl-follow {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #eeebe4;
}
.wl-follow p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.wl-follow .socials {
  justify-content: center;
}
.wl-follow .soc-x {
  box-shadow: none;
}
/* 03 Call: drag a Capsule into a creative tool, or call it from the Monsora CLI */
.ep-tool {
  top: 0;
  padding: 1em 1.1em 1.1em;
}
.ep-win {
  display: flex;
  align-items: center;
  gap: 0.35em;
  margin-bottom: 0.75em;
}
.ep-win i {
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: #e3dfd5;
}
.ep-win span {
  margin-left: 0.4em;
  font-size: 0.95em;
  font-weight: 700;
  color: var(--ink-soft);
}
.ep-drop {
  height: 8.6em;
  margin-bottom: 0.8em;
  outline: calc(2 * var(--art-line, 1px)) dashed transparent;
  outline-offset: calc(3 * var(--art-line, 1px));
  transition: outline-color 0.3s ease;
}
.ep-drop {
  outline-color: #a8a293;
}
.ep-tool .ep-chips {
  margin-bottom: 0;
  align-items: center;
}
.ep-back {
  margin-left: auto;
  font-size: 0.92em;
  font-weight: 700;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  border-radius: 999px;
  padding: 0.25em 0.65em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.3em);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.panel.active .ep-back {
  opacity: 1;
  transform: none;
  transition-delay: 3s;
}
.ep-cli {
  right: 0;
  top: 20.3em;
  width: 22.6em;
  padding: 0.9em 1.1em 1em;
  background: #15130f;
  border-color: #15130f;
  color: #e8e4da;
  font: 500 0.95em/1.55 var(--sans);
  box-shadow: 0 1.2em 3em rgba(21, 19, 15, 0.18);
  transform: translateY(0.6em);
  opacity: 0.92;
  transition:
    transform 0.6s cubic-bezier(0.22, 0.8, 0.24, 1) 0.5s,
    opacity 0.4s ease 0.5s;
}
.panel.active .ep-cli {
  transform: none;
  opacity: 1;
}
.ep-cli-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5em;
  font-family: var(--sans);
}
.ep-cli-head span {
  font-size: 1em;
  font-weight: 700;
  color: #faf9f5;
}
.ep-cli-head em {
  font-style: normal;
  font-size: 0.88em;
  font-weight: 600;
  color: #15130f;
  background: #e9fe8a;
  border-radius: 999px;
  padding: 0.15em 0.55em;
}
.ep-cli p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep-cli b {
  color: #e9fe8a;
  font-weight: 600;
}
.ep-ok {
  color: #e9fe8a;
  opacity: 0;
}
.panel.active .ep-ok {
  animation: epOk 0.4s ease 1.6s both;
}
@keyframes epOk {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.ep-ghost {
  position: absolute;
  left: 2em;
  top: 9.5em;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.35em 0.7em 0.35em 0.4em;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 0.8em 2em rgba(21, 19, 15, 0.18);
  font-size: 1em;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.ep-ghost .cs-chip {
  font-size: 0.8em;
}
.ep-ghost svg {
  position: absolute;
  right: -0.6em;
  bottom: -0.9em;
  width: 1.3em;
  height: 1.3em;
}
.panel.active .ep-ghost {
  animation: epGhost 3.2s cubic-bezier(0.45, 0, 0.25, 1) 0.4s both;
}
@keyframes epGhost {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(0);
  }
  10% {
    opacity: 1;
    transform: translate(0, 0) rotate(-3deg);
  }
  55% {
    opacity: 1;
    transform: translate(25em, -4.6em) rotate(2deg);
  }
  68% {
    opacity: 0;
    transform: translate(25.6em, -4.2em) scale(0.85);
  }
  100% {
    opacity: 0;
    transform: translate(25.6em, -4.2em) scale(0.85);
  }
}
.panel.active .ep-tool .ep-chips span {
  transition-delay: calc(2.4s + var(--c) * 0.14s);
}
@media (prefers-reduced-motion: reduce) {
  .ep-ghost {
    display: none;
  }
  .ep-ok {
    opacity: 1;
    animation: none !important;
  }
  .ep-drop {
    animation: none !important;
  }
  .ep-cli {
    transition: none;
  }
}
