/* Purposeful, upright product demonstrations. All content remains illustrative. */
.benefit-studio .quote-visual,
.benefit-studio .benefit-quote:hover .quote-visual { transform: none; }
.benefit-studio .studio-ghost { transform: none; animation: none; }
.benefit-studio article:hover { transform: none; }
.benefit-studio .benefit-route { background: #181916; }

/* One packet follows the route; the gateway and destination respond in order. */
.transfer-demo { flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 236px; padding: 30px 0 16px; }
.transfer-route { display: grid; grid-template-columns: 64px minmax(20px,1fr) 80px minmax(20px,1fr) 64px; align-items: center; width: 100%; max-width: 420px; margin: 0 auto; }
.transfer-node { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid #ffffff16; border-radius: 50%; background: #272923; }
.transfer-node > img { width: 34px; height: 34px; object-fit: contain; }
.transfer-node > small { position: absolute; top: calc(100% + 17px); left: 50%; transform: translateX(-50%); font: 8px Poppins,sans-serif; letter-spacing: 1.2px; color: #a5a99a; white-space: nowrap; }
.transfer-node::before { content: ''; position: absolute; inset: -7px; border: 1px solid #c6dec440; border-radius: inherit; opacity: 0; }
.transfer-node.source-node { background: #efeee5; }
.transfer-node.gateway-node { width: 80px; height: 80px; border-radius: 22px; background: #f3f0e5; border: 0; box-shadow: 0 12px 32px #0003; }
.transfer-node.gateway-node > img { width: 57px; height: 57px; }
.transfer-node.gateway-node > small { top: calc(100% + 9px); }
.transfer-node.destination-node { background: #0d0f0c; }
.transfer-rail { height: 1px; position: relative; margin: 0 12px; background: #ffffff20; }
.transfer-rail::before { content: ''; position: absolute; inset: 0; background: #c0d8b3; transform: scaleX(0); transform-origin: left; }
.transfer-rail i { position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #deedd3; box-shadow: 0 0 12px #c5e9b982; opacity: 0; }
.transfer-stages { margin: 62px auto 0; display: flex; justify-content: space-between; gap: 10px; width: 100%; max-width: 360px; padding: 14px 0 0; border-top: 1px solid #ffffff12; }
.transfer-stages span { display: flex; gap: 7px; align-items: center; font-size: 9px; color: #939a87; }
.transfer-stages i { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #737965; }

/* Straight, aligned route review. No tilted dashboard or random equalizer. */
.benefit-studio .quote-visual { padding: 17px 18px 15px; margin-top: 22px; border-radius: 12px; background: #f5f3ec; max-width: none; }
.benefit-studio .quote-pair { padding-bottom: 14px; margin-bottom: 13px; }
.quote-pair .quote-asset { display: flex; gap: 9px; align-items: center; }
.quote-asset > span { display: grid; gap: 2px; }
.quote-asset b { font-size: 12px; font-weight: 500; }
.quote-asset small { font-size: 7px; letter-spacing: .75px; color: #8c897b; }
.benefit-studio .quote-pair img { width: 28px; height: 28px; }
.quote-pair .review-arrow { width: 42px; height: 16px; color: #9a9b88; }
.quote-review-row { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 11px; font-size: 10px; color: #6f7364; }
.quote-review-result { display: flex; align-items: center; gap: 7px; }
.quote-review-result b { font-size: 9px; font-weight: 500; color: #414e35; }
.review-check { width: 13px; height: 13px; color: #53694a; overflow: visible; }
.review-check path { stroke-dasharray: 20; stroke-dashoffset: 0; }
.review-progress { height: 2px; margin-top: 15px; background: #e4e5d9; border-radius: 2px; overflow: hidden; }
.review-progress i { display: block; height: 100%; background: #879a73; transform-origin: left; }

/* The shackle closes and the small confirmation badge draws into place. */
.benefit-studio .key-halo { animation: none; border-style: solid; }
.benefit-studio .key-halo::after { border-style: solid; opacity: .45; }
.benefit-studio .key-visual > svg { stroke-width: 1.8; }
.lock-shackle { transform-origin: 23px 27px; }
.lock-confirm { position: absolute; right: -1px; bottom: 1px; width: 24px; height: 24px; z-index: 2; border: 3px solid #eeece3; border-radius: 50%; display: grid; place-items: center; background: #dde6d2; color: #455e36; }
.lock-confirm svg { width: 12px; height: 12px; }
.lock-confirm path { stroke-dasharray: 20; }

/* JS opts into playback only while each card is visible. No JS = static diagram. */
.benefit-studio.motion-ready .source-node::before { animation: source-signal 9s ease-in-out infinite; }
.benefit-studio.motion-ready .rail-in i { animation: packet-in 9s linear infinite; }
.benefit-studio.motion-ready .rail-in::before { animation: line-in 9s ease-in-out infinite; }
.benefit-studio.motion-ready .gateway-node { animation: gateway-receive 9s ease-in-out infinite; }
.benefit-studio.motion-ready .gateway-node::before { animation: gateway-signal 9s ease-out infinite; }
.benefit-studio.motion-ready .rail-out i { animation: packet-out 9s linear infinite; }
.benefit-studio.motion-ready .rail-out::before { animation: line-out 9s ease-in-out infinite; }
.benefit-studio.motion-ready .destination-node::before { animation: destination-signal 9s ease-out infinite; }
.benefit-studio.motion-ready .transfer-stages span:nth-child(1) { animation: stage-source 9s ease-in-out infinite; }
.benefit-studio.motion-ready .transfer-stages span:nth-child(2) { animation: stage-verify 9s ease-in-out infinite; }
.benefit-studio.motion-ready .transfer-stages span:nth-child(3) { animation: stage-destination 9s ease-in-out infinite; }
.benefit-studio.motion-ready .quote-review-row { animation: review-row 9s ease-in-out infinite; }
.benefit-studio.motion-ready .quote-review-row + .quote-review-row { animation-name: review-row-second; }
.benefit-studio.motion-ready .review-check path { animation: review-tick 9s ease-in-out infinite; }
.benefit-studio.motion-ready .quote-review-row + .quote-review-row .review-check path { animation-name: review-tick-second; }
.benefit-studio.motion-ready .review-progress i { animation: review-progress 9s ease-in-out infinite; }
.benefit-studio.motion-ready .lock-shackle { animation: close-lock 9s cubic-bezier(.22,1,.36,1) infinite; }
.benefit-studio.motion-ready .lock-confirm { animation: confirm-lock 9s ease-in-out infinite; }
.benefit-studio.motion-ready .lock-confirm path { animation: lock-tick 9s ease-in-out infinite; }
.benefit-studio.motion-ready .key-halo { animation: lock-halo 9s ease-out infinite; }
.benefit-studio.motion-ready article:not(.motion-visible) *,
.benefit-studio.motion-ready article:not(.motion-visible) *::before,
.benefit-studio.motion-ready article:not(.motion-visible) *::after { animation-play-state: paused; }
.benefit-studio.motion-suspended *, .benefit-studio.motion-suspended *::before,
.benefit-studio.motion-suspended *::after { animation-play-state: paused!important; }

@keyframes source-signal { 0%,4%,28%,100% { opacity: 0; transform: scale(.95); } 10%,18% { opacity: .8; transform: scale(1.05); } }
@keyframes packet-in { 0%,8% { left: 0; opacity: 0; } 10% { left: 0; opacity: 1; } 28% { left: 100%; opacity: 1; } 30%,100% { left: 100%; opacity: 0; } }
@keyframes line-in { 0%,9% { transform: scaleX(0); } 29%,78% { transform: scaleX(1); opacity: 1; } 90%,100% { transform: scaleX(1); opacity: 0; } }
@keyframes gateway-receive { 0%,26%,50%,100% { transform: scale(1); box-shadow: 0 12px 32px #0003; } 33%,39% { transform: scale(1.055); box-shadow: 0 0 35px #bed5b326; } }
@keyframes gateway-signal { 0%,27% { opacity: 0; transform: scale(.95); } 33% { opacity: .9; transform: scale(1); } 49%,100% { opacity: 0; transform: scale(1.3); } }
@keyframes packet-out { 0%,40% { left: 0; opacity: 0; } 42% { left: 0; opacity: 1; } 60% { left: 100%; opacity: 1; } 62%,100% { left: 100%; opacity: 0; } }
@keyframes line-out { 0%,41% { transform: scaleX(0); } 61%,78% { transform: scaleX(1); opacity: 1; } 90%,100% { transform: scaleX(1); opacity: 0; } }
@keyframes destination-signal { 0%,59% { opacity: 0; transform: scale(.95); } 63% { opacity: 1; transform: scale(1); } 78%,100% { opacity: 0; transform: scale(1.25); } }
@keyframes stage-source { 0%,5%,84%,100% { color: #939a87; } 12%,74% { color: #d3e5bf; } }
@keyframes stage-verify { 0%,27%,84%,100% { color: #939a87; } 35%,74% { color: #d3e5bf; } }
@keyframes stage-destination { 0%,59%,88%,100% { color: #939a87; } 65%,80% { color: #d3e5bf; } }
@keyframes review-row { 0%,12%,100% { opacity: .4; transform: translateY(3px); } 25%,86% { opacity: 1; transform: none; } }
@keyframes review-row-second { 0%,29%,100% { opacity: .4; transform: translateY(3px); } 42%,86% { opacity: 1; transform: none; } }
@keyframes review-tick { 0%,24%,100% { stroke-dashoffset: 20; } 34%,86% { stroke-dashoffset: 0; } }
@keyframes review-tick-second { 0%,42%,100% { stroke-dashoffset: 20; } 52%,86% { stroke-dashoffset: 0; } }
@keyframes review-progress { 0%,10%,100% { transform: scaleX(0); opacity: .4; } 32% { transform: scaleX(.45); opacity: 1; } 54%,86% { transform: scaleX(1); opacity: 1; } }
@keyframes close-lock { 0%,15%,100% { transform: translateY(-7px); } 30%,88% { transform: translateY(0); } }
@keyframes confirm-lock { 0%,28%,100% { opacity: 0; transform: scale(.7); } 38%,88% { opacity: 1; transform: scale(1); } }
@keyframes lock-tick { 0%,36%,100% { stroke-dashoffset: 20; } 47%,88% { stroke-dashoffset: 0; } }
@keyframes lock-halo { 0%,29%,100% { transform: scale(1); opacity: .7; } 47% { transform: scale(1.12); opacity: .25; } 65%,88% { transform: scale(1); opacity: .7; } }

@media (max-width: 900px) {
  .transfer-route { grid-template-columns: 48px minmax(10px,1fr) 64px minmax(10px,1fr) 48px; }
  .transfer-node { width: 48px; height: 48px; }
  .transfer-node > img { width: 28px; height: 28px; }
  .transfer-node.gateway-node { width: 64px; height: 64px; border-radius: 18px; }
  .transfer-node.gateway-node > img { width: 45px; height: 45px; }
  .transfer-rail { margin-inline: 8px; }
  .transfer-node small { font-size: 6px; letter-spacing: .8px; }
  .transfer-stages { gap: 5px; }
  .transfer-stages span { font-size: 8px; gap: 5px; }
}
@media (max-width: 600px) {
  .transfer-demo { padding-block: 28px 18px; min-height: 235px; }
  .transfer-route { max-width: 340px; }
  .transfer-stages { max-width: 300px; }
  .benefit-studio .quote-visual { padding: 15px; }
  .quote-review-row { font-size: 9px; }
  .quote-review-result b { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .benefit-studio.motion-ready *, .benefit-studio.motion-ready *::before,
  .benefit-studio.motion-ready *::after { animation: none!important; transition: none!important; }
}
@media (max-width: 380px) {
  .benefit-studio .keys-layout { gap: 16px; }
  .benefit-studio .key-visual { width: 56px; height: 56px; }
  .benefit-studio .key-visual > svg { width: 44px; height: 44px; }
  .benefit-studio .benefit-keys h3 { font-size: 20px; letter-spacing: -.65px; }
  .lock-confirm { width: 20px; height: 20px; right: -3px; bottom: -3px; }
}
