/* About and Pricing banner animations (js/mkt-anim.js). 520 x 400 stage, scaled to the column.
   Not part of the generated dark theme: dark values are set on .mx below. */

.mx {
  --mx-card: #ffffff;
  --mx-line: #e4e9f4;
  --mx-soft: #f2f5fb;
  --mx-ink: #101828;
  --mx-mut: #667085;
  --mx-brand: #2563eb;
  --mx-sh: 0 1px 2px rgba(16, 24, 40, 0.04), 0 24px 50px -24px rgba(50, 60, 160, 0.4);
  --mx-sh-sm: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 26px -14px rgba(50, 60, 160, 0.35);
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  aspect-ratio: 520 / 400;
}
html[data-px-theme='dark'] .mx {
  --mx-card: #161d2c;
  --mx-line: #273149;
  --mx-soft: #1d2537;
  --mx-ink: #eef2f8;
  --mx-mut: #95a1b6;
  --mx-brand: #60a5fa;
  --mx-sh: 0 30px 60px -28px rgba(0, 0, 0, 0.8);
  --mx-sh-sm: 0 14px 30px -16px rgba(0, 0, 0, 0.7);
}
.mx__stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 520px;
  height: 400px;
  transform: scale(var(--mx-s, 1));
  transform-origin: 0 0;
  font-family: var(--font-family);
  color: var(--mx-ink);
  -webkit-font-smoothing: antialiased;
}
.mx__stage * {
  box-sizing: border-box;
}
.mx__stage svg {
  display: block;
  width: 100%;
  height: 100%;
}
.mx__stage p,
.mx__stage ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mx-noanim {
  transition: none !important;
}

/* soft glow behind both scenes */
.mx__stage::before {
  content: '';
  position: absolute;
  inset: 8% 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.28), transparent);
  filter: blur(30px);
  z-index: 0;
}

/* entrance */
.mx.is-ready .mx__stage > * {
  animation: mx-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.mx.is-ready .mx__stage > *:nth-child(2) {
  animation-delay: 0.08s;
}
.mx.is-ready .mx__stage > *:nth-child(3) {
  animation-delay: 0.16s;
}
.mx.is-ready .mx__stage > *:nth-child(n + 4) {
  animation-delay: 0.24s;
}
@keyframes mx-rise {
  from {
    opacity: 0;
    translate: 0 14px;
  }
}

/* ================= About ================= */
.mx-ab__wires {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.mx-ab__wires path {
  fill: none;
  stroke: var(--mx-line);
  stroke-width: 1.6;
  stroke-dasharray: 0.02 0.015;
  transition: stroke 0.4s;
}
.mx-ab__wires path.is-on {
  stroke: var(--mx-brand);
  stroke-dasharray: 0.03 0.02;
  animation: mx-flow 1s linear infinite;
}
@keyframes mx-flow {
  to {
    stroke-dashoffset: -0.05;
  }
}
.mx-person {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 56px;
}
.mx-person__av {
  display: flex;
  width: 56px;
  height: 56px;
  padding: 16px;
  border-radius: 18px;
  background: var(--mx-card);
  border: 1px solid var(--mx-line);
  box-shadow: var(--mx-sh-sm);
  color: var(--mx-mut);
  transition:
    transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1),
    color 0.4s,
    background-color 0.4s,
    border-color 0.4s;
}
.mx-person b {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--mx-mut);
  transition: color 0.4s;
}
.mx-person.is-on .mx-person__av {
  transform: translateY(-3px) scale(1.06);
  background: var(--mx-brand);
  border-color: var(--mx-brand);
  color: #fff;
}
.mx-person.is-on b {
  color: var(--mx-ink);
}
/* the item that travels from a team into the library */
.mx-fly {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #101828;
  color: #fff;
  font:
    500 11.5px/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(16, 24, 40, 0.5);
  transform: translate(var(--fx, 0), var(--fy, 0)) translate(-50%, -50%) scale(0.6);
  opacity: 0;
  transition:
    transform 0.85s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.3s;
}
html[data-px-theme='dark'] .mx-fly {
  background: #f2f4f7;
  color: #101828;
}
.mx-fly.is-on {
  opacity: 1;
  transform: translate(var(--fx, 0), var(--fy, 0)) translate(-50%, -50%) scale(1);
}
.mx-fly.is-land {
  opacity: 0;
  transform: translate(var(--fx, 0), var(--fy, 0)) translate(-50%, -50%) scale(0.4);
  transition:
    transform 0.35s ease-in,
    opacity 0.3s;
}
.mx-sw {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: #1e40af;
}
.mx-ck {
  width: 13px !important;
  height: 13px !important;
  color: #6ee7b7;
}

.mx-lib {
  position: absolute;
  left: 150px;
  top: 64px;
  z-index: 3;
  width: 240px;
  height: 272px;
  padding: 16px;
  border-radius: 20px;
  background: var(--mx-card);
  border: 1px solid var(--mx-line);
  box-shadow: var(--mx-sh);
}
.mx-lib__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.mx-lib__head b {
  font-weight: 600;
}
.mx-lib__mark {
  display: flex;
  width: 26px;
  height: 26px;
  padding: 6px;
  border-radius: 8px;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: #fff;
}
.mx-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  font-size: 10.5px;
  color: var(--mx-mut);
}
.mx-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.18);
}
.mx-lib__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.mx-t {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  border-radius: 12px;
  background: var(--mx-soft);
  border: 1px solid transparent;
  transition:
    border-color 0.4s,
    background-color 0.4s;
}
.mx-t.is-pop {
  animation: mx-pop 0.8s cubic-bezier(0.34, 1.4, 0.64, 1);
  border-color: color-mix(in oklab, var(--mx-brand) 50%, transparent);
  background: color-mix(in oklab, var(--mx-brand) 10%, var(--mx-card));
}
@keyframes mx-pop {
  40% {
    transform: scale(1.1);
  }
}
.mx-t__sw {
  display: flex;
}
.mx-t__sw i {
  width: 18px;
  height: 18px;
  margin-right: -5px;
  border-radius: 50%;
  border: 2px solid var(--mx-card);
  background: #2563eb;
  transition: background-color 0.8s;
}
.mx-alt .mx-t__sw i:first-child {
  background: #1e40af;
}
.mx-t__sw i:nth-child(2) {
  background: #12b76a;
}
.mx-t__sw i:nth-child(3) {
  background: #f79009;
}
.mx-t__btn {
  padding: 5px 9px;
  border-radius: 7px;
  background: #2563eb;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
}
.mx-t__aa {
  font-size: 20px;
  font-weight: 600;
  color: var(--mx-brand);
}
.mx-t__tg {
  position: relative;
  width: 30px;
  height: 17px;
  border-radius: 999px;
  background: #2563eb;
}
.mx-t__tg i {
  position: absolute;
  right: 2px;
  top: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
}
.mx-t__ic {
  width: 22px;
  height: 22px;
  color: var(--mx-brand);
}
.mx-t__ok {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  width: 16px;
  height: 16px;
  padding: 3px;
  border-radius: 50%;
  background: #12b76a;
  color: #fff;
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.3s,
    transform 0.45s cubic-bezier(0.34, 1.6, 0.64, 1);
}
.mx-t.is-ok .mx-t__ok {
  opacity: 1;
  transform: none;
}
.mx-t__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 38px;
  padding: 6px;
  border-radius: 6px;
  background: var(--mx-card);
  border: 1px solid var(--mx-line);
}
.mx-t__card i {
  height: 4px;
  border-radius: 2px;
  background: var(--mx-line);
}
.mx-t__card i:first-child {
  width: 70%;
  background: #bfdbfe;
}
.mx-lib__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--mx-line);
  font-size: 11.5px;
  color: var(--mx-mut);
}
.mx-avs {
  display: flex;
}
.mx-avs i {
  width: 22px;
  height: 22px;
  margin-right: -6px;
  border-radius: 50%;
  border: 2px solid var(--mx-card);
  background: linear-gradient(135deg, #93c5fd, #3b82f6);
}
.mx-avs i:nth-child(2) {
  background: linear-gradient(135deg, #fda4af, #f97316);
}
.mx-avs i:nth-child(3) {
  background: linear-gradient(135deg, #86efac, #14b8a6);
}
.mx-lib__toast {
  position: absolute;
  left: 50%;
  bottom: -16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--mx-card);
  border: 1px solid var(--mx-line);
  box-shadow: var(--mx-sh-sm);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition:
    opacity 0.35s,
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mx-lib__toast i {
  display: flex;
  width: 14px;
  height: 14px;
  padding: 2px;
  border-radius: 50%;
  background: #12b76a;
  color: #fff;
}
.mx-lib__toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ================= Pricing ================= */
.mx-plan {
  position: absolute;
  left: 110px;
  top: 30px;
  z-index: 2;
  width: 300px;
  height: 340px;
  padding: 16px 20px 20px;
  border-radius: 22px;
  background: var(--mx-card);
  border: 1px solid var(--mx-line);
  box-shadow: var(--mx-sh);
  transition: border-color 0.5s;
}
.mx-plan[data-plan='1'] {
  border-color: color-mix(in oklab, var(--mx-brand) 45%, var(--mx-line));
}
.mx-seg {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 3px;
  border-radius: 10px;
  background: var(--mx-soft);
}
.mx-seg span {
  position: relative;
  z-index: 1;
  padding: 6px 0;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--mx-mut);
  transition: color 0.4s;
}
.mx-seg i {
  position: absolute;
  left: 3px;
  top: 3px;
  bottom: 3px;
  width: calc((100% - 6px) / 3);
  border-radius: 8px;
  background: var(--mx-card);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.14);
  transition: transform 0.55s cubic-bezier(0.34, 1.25, 0.64, 1);
}
.mx-plan[data-plan='1'] .mx-seg i {
  transform: translateX(100%);
}
.mx-plan[data-plan='2'] .mx-seg i {
  transform: translateX(200%);
}
.mx-plan[data-plan='0'] .mx-seg span:nth-of-type(1),
.mx-plan[data-plan='1'] .mx-seg span:nth-of-type(2),
.mx-plan[data-plan='2'] .mx-seg span:nth-of-type(3) {
  color: var(--mx-ink);
}
.mx-pop {
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #101828;
  color: #fff;
  font-size: 10.5px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px) scale(0.9);
  transition:
    opacity 0.35s,
    transform 0.45s cubic-bezier(0.34, 1.5, 0.64, 1);
}
html[data-px-theme='dark'] .mx-pop {
  background: #f2f4f7;
  color: #101828;
}
.mx-plan[data-plan='1'] .mx-pop {
  opacity: 1;
  transform: none;
}
.mx-plan__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.mx-plan__head.is-in {
  animation: mx-fade 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes mx-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.mx-plan__ico {
  display: flex;
  flex: none;
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 11px;
  transition:
    background-color 0.5s,
    color 0.5s;
}
.mx-plan[data-tone='green'] .mx-plan__ico {
  background: #eaf8f5;
  color: #00a698;
}
.mx-plan[data-tone='indigo'] .mx-plan__ico {
  background: #eef5ff;
  color: #3c82f6;
}
.mx-plan[data-tone='purple'] .mx-plan__ico {
  background: #f0eeff;
  color: #4837ff;
}
.mx-plan__head div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mx-plan__name {
  font-size: 15px;
  font-weight: 600;
}
.mx-plan__tag {
  font-size: 11px;
  color: var(--mx-mut);
  white-space: nowrap;
}
.mx-price {
  margin-top: 16px !important;
  font-size: 38px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.mx-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 18px !important;
}
.mx-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--mx-ink);
  animation: mx-fade 0.45s calc(var(--k) * 70ms) cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.mx-list i {
  display: flex;
  flex: none;
  width: 16px;
  height: 16px;
  padding: 3px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--mx-brand) 14%, var(--mx-card));
  color: var(--mx-brand);
}
.mx-cta {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--mx-line);
  font-size: 12.5px;
  font-weight: 500;
  transition:
    background-color 0.5s,
    color 0.5s,
    border-color 0.5s;
}
.mx-plan[data-plan='1'] .mx-cta {
  background: #101828;
  border-color: #101828;
  color: #fff;
}
html[data-px-theme='dark'] .mx-plan[data-plan='1'] .mx-cta {
  background: #f2f4f7;
  border-color: #f2f4f7;
  color: #101828;
}
.mx-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--mx-card);
  border: 1px solid var(--mx-line);
  box-shadow: var(--mx-sh-sm);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  animation: mx-float 7s ease-in-out infinite;
}
.mx-chip i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: conic-gradient(#f24e1e 0 25%, #a259ff 0 50%, #1abcfe 0 75%, #0acf83 0);
}
.mx-fly svg {
  flex: none;
}
.mx-chip svg {
  flex: none;
  width: 16px !important;
  height: 16px !important;
  color: var(--mx-brand);
}
.mx-chip--a {
  right: calc(100% - 118px);
  top: 150px;
}
.mx-chip--b {
  left: 402px;
  top: 262px;
  animation-delay: -3.5s;
}
@keyframes mx-float {
  50% {
    translate: 0 -8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mx *,
  .mx *::before,
  .mx *::after {
    animation: none !important;
    transition: none !important;
  }
}
.mx-lib__mark--logo {
  padding: 0;
  background: none;
  overflow: hidden;
}
.mx-lib__mark--logo img {
  display: block;
  width: 100%;
  height: 100%;
}
