/* Original production homepage animation art, isolated for reusable placement. */
.mv-animation {
 --surface:#fff; --canvas-dark:#0a1330; --ink:#0b1020; --ink-muted:#5d6680;
 --ink-faint:#8a94a6; --line:#e7e9f1; --status-success:#1e9e6a;
 --status-warn:#c98a1b; --status-info:#6771ce; --radius-lg:14px;
 --gradient:linear-gradient(90deg,#8717d5 0%,#6771ce 50%,#47cbc7 100%);
 width:100%; min-width:0; padding:clamp(16px,3vw,32px); border-radius:24px;
 overflow:hidden; background:#f6f7fb; color:var(--ink); text-align:left;
}
.mv-animation *, .mv-animation *::before, .mv-animation *::after { box-sizing:border-box; }
.mv-animation img { display:block; max-width:100%; }
.mv-animation--paymentRouting { background:var(--canvas-dark); color:#fff; }
.mv-animation--paymentRouting .mv-anim-chevron-mark { right:-8%; height:120%; opacity:.1; }
.mv-anim-text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mv-anim-chevron-mark {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  height: 150%;
  width: auto;
  opacity: 0.14;
  pointer-events: none;
}

.mv-anim-diagram {
  position: relative;
  width: 100%;
  aspect-ratio: 640 / 520;
}

.mv-anim-diagram svg.mv-anim-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 0;
}

.mv-anim-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-sizing: border-box;
}

.mv-anim-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
}

.mv-anim-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}

.mv-anim-phone {
  width: min(250px, 80vw);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  padding: 22px 20px 26px;
  box-shadow: 0 24px 60px rgba(11, 16, 32, 0.08);
}

.mv-anim-phone__bar {
  width: 64px;
  height: 5px;
  border-radius: 3px;
  background: var(--line);
  margin: 0 auto 18px;
}

.mv-anim-term {
  position: relative;
  height: 240px;
}

.mv-anim-term__a,
.mv-anim-term__b {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mv-anim-term__a {
  animation: mvAnimTermA 7s ease infinite;
}

.mv-anim-term__b {
  justify-content: center;
  animation: mvAnimTermB 7s ease infinite;
}

.mv-anim-qr {
  width: 118px;
  height: 118px;
  border: 1.5px dashed #c9cede;
  border-radius: 14px;
  display: grid;
  place-items: center;
  position: relative;
}

.mv-anim-code {
  background: var(--canvas-dark);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 28px);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.mv-anim-node-dot {
  display: inline-grid;
  place-items: center;
  width: min(44px, 9vw);
  height: min(44px, 9vw);
  border: 1px solid var(--line);
}

.mv-anim-node-dot--round {
  border-radius: 50%;
}

.mv-anim-node-dot--box {
  border-radius: 12px;
  background: var(--surface);
}

.mv-anim-node-label {
  font-size: 10px;
  color: var(--ink-faint);
  margin-top: 4px;
}

@keyframes mvAnimTermA {
  0%, 42% { opacity: 1; }
  50%, 92% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes mvAnimTermB {
  0%, 42% { opacity: 0; }
  50%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes mvAnimBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes mvAnimChipOkA {
  0%, 23% { opacity: 0; }
  27%, 40% { opacity: 1; }
  44%, 100% { opacity: 0; }
}

@keyframes mvAnimChipDegrade {
  0%, 43% { opacity: 0; }
  47%, 93% { opacity: 1; }
  97%, 100% { opacity: 0; }
}

@keyframes mvAnimChipOkB {
  0%, 72% { opacity: 0; }
  76%, 93% { opacity: 1; }
  97%, 100% { opacity: 0; }
}

@keyframes mvAnimHealthA {
  0%, 42% { opacity: 1; }
  44%, 100% { opacity: 0; }
}

@keyframes mvAnimHealthAoff {
  0%, 42% { opacity: 0; }
  44%, 100% { opacity: 1; }
}
/* Maintain the original diagrams on narrow screens without oversized inline labels. */
.mv-animation--connectProtocol, .mv-animation--paymentRouting { container-type:inline-size; }
@container (max-width:360px) {
 .mv-anim-diagram { zoom:.8; width:125%; }
}
.mv-anim-phone { max-width:100%; }
.mv-anim-code { overflow-wrap:anywhere; }
@media (prefers-reduced-motion:reduce) {
 .mv-animation *, .mv-animation *::before, .mv-animation *::after { animation:none !important; transition:none !important; }
 .mv-anim-term__a { opacity:0; }
 .mv-anim-term__b { opacity:1; }
 /* SMIL motion is hidden as CSS animation rules do not stop SVG animateMotion. */
 .mv-anim-wires circle { display:none; }
 .mv-animation [style*="animation:mvAnimHealthAoff"],
 .mv-animation [style*="animation:mvAnimChipDegrade"],
 .mv-animation [style*="animation:mvAnimChipOkB"] { opacity:0; }
 .mv-animation [style*="animation:mvAnimHealthA "],
 .mv-animation [style*="animation:mvAnimChipOkA"] { opacity:1; }
}
