[data-lottie] { position: relative; overflow: hidden; }
[data-lottie] > picture { display: block; }
.lottie-stage { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.lottie-stage svg { display: block; width: 100%; height: 100%; }
[data-lottie-ready="true"] > picture { visibility: hidden; }
[data-lottie-ready="true"] > .lottie-stage { opacity: 1; }
.show-animation-stills [data-lottie] > picture, .reduce-lottie-motion [data-lottie] > picture { visibility: visible; }
.show-animation-stills .lottie-stage, .reduce-lottie-motion .lottie-stage { opacity: 0; }
.animation-controls { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 16px; }
.animation-controls[hidden] { display: none; }
.animation-controls button { padding: 4px 0; min-height: 28px; border: 0; background: transparent; color: #5a6d81; font: inherit; font-size: 12px; line-height: 20px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.features .animation-controls { position: absolute; top: calc(100% + 12px); right: 0; }
.animation-lab { padding: 64px 80px 80px; }
.animation-lab-content { max-width: 1280px; margin-inline: auto; }
.animation-lab h1 { font-size: 48px; line-height: 56px; }
.animation-lab-intro { max-width: 760px; margin: 24px 0; color: #5a6d81; font-size: 16px; line-height: 26px; }
.animation-lab .animation-controls { justify-content: flex-start; margin-bottom: 40px; }
.animation-lab .animation-controls button { font-size: 14px; }
.animation-lab-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.animation-example { min-width: 0; }
.animation-example [data-lottie] { border-radius: 24px; background: var(--ice); }
.animation-example img { display: block; width: 100%; height: auto; }
.animation-example h2 { margin: 24px 0 12px; font-size: 24px; line-height: 28px; font-weight: 500; }
.animation-example p { margin: 0 0 16px; color: #5a6d81; font-size: 14px; line-height: 22px; }
.animation-example > a { font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.animation-lab-back { display: inline-block; margin-top: 48px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1000px) {
  .features .feature-progress-position { position: relative; }
  .features-stage { padding-bottom: 40px; }
  .animation-lab { padding: 48px 32px; }
  .animation-lab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .animation-lab { padding: 40px 24px; }
  .animation-lab h1 { font-size: 36px; line-height: 42px; }
  .animation-lab-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-lottie] > picture { visibility: visible !important; }
  .lottie-stage, .animation-controls { display: none; }
}

.hero-interactive { position: relative; height: 680px; }
.hero-device { position: absolute; top: 0; left: 50%; width: 326.78px; height: 638px; transform: translateX(-50%); border: 0; background: transparent; overflow: visible; }
.hero-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 300ms; }
.hero-scene[data-active="true"] { opacity: 1; visibility: visible; }
.hero-scene > picture { height: 100%; }
.hero-scene > picture img { position: absolute; width: 140.156%; max-width: none; height: auto; left: 0; top: 0; }
.hero-label { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 24px; min-height: 66px; border: 1px solid #fff; border-radius: 16px; background: #ffffffcc; backdrop-filter: blur(8px); box-shadow: 0 10px 24px #0901391a; color: #5a6d81; font: 500 12px/18px Poppins, sans-serif; letter-spacing: 1.44px; text-transform: uppercase; cursor: pointer; transition: background-color 200ms; }
.hero-label-icon { flex: none; width: 13px; aspect-ratio: 1; background: var(--navy); mask: url("/images/hero-label-star.svg") center / contain no-repeat; }
.hero-label-text { white-space: nowrap; }
.hero-label[aria-pressed="true"] .hero-label-text { background: linear-gradient(90deg, #00d0ff, #6320ee); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-label[aria-pressed="true"] .hero-label-icon { background: linear-gradient(#00d0ff, #6320ee); transform: rotate(-45deg); }
.hero-label-branded { top: 196px; right: calc(50% + 114px); }
.hero-label-earning { top: 196px; left: calc(50% + 110px); }
.hero-label-linking { top: 453px; right: calc(50% + 114px); }
.hero-label-rewards { top: 453px; left: calc(50% + 110px); }
@media (max-width: 1000px) {
  .hero-label { padding: 16px; font-size: 9px; letter-spacing: 1px; }
  .hero-label-branded, .hero-label-linking { right: calc(50% + 65px); }
  .hero-label-earning, .hero-label-rewards { left: calc(50% + 65px); }
}
@media (max-width: 767px) {
  .hero-interactive { height: 537px; }
  .hero-device { width: 244.31px; height: 477px; }
  .hero-label { min-height: 48px; padding: 12px 10px; gap: 6px; font-size: 7px; letter-spacing: .6px; border-radius: 12px; }
  .hero-label-icon { width: 10px; }
  .hero-label-branded { top: 148px; right: calc(50% + 8px); }
  .hero-label-earning { top: 148px; left: calc(50% + 8px); }
  .hero-label-linking { top: 338px; right: calc(50% + 8px); }
  .hero-label-rewards { top: 338px; left: calc(50% + 8px); }
}
@media (prefers-reduced-motion: reduce) { .hero-scene, .hero-label { transition: none; } .hero-label:hover { translate: none; } }

.hero-motion-controls { position: absolute; bottom: 0; right: 24px; }

@media (max-width: 767px) {
  .hero-highlight { margin-top: 24px; }
  .hero-label[aria-pressed="true"] { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #00d0ff, #6320ee) border-box; box-shadow: 0 8px 24px #0901391a, 0 0 18px #6320ee26; }
}
@media (max-width: 360px) {
  .hero-intro, .hero-main { font-size: 22px; }
  .hero-highlight { font-size: 26px; white-space: nowrap; }
  .hero-label { font-size: 6px; padding-inline: 8px; gap: 4px; }
  .hero-label-icon { width: 9px; }
}

/* Mobile Figma 714:4600: a centered phone and a separate label carousel. */
@media (max-width: 767px) {
  .hero-interactive { height: auto; display: flex; flex-direction: column; align-items: center; }
  .hero-device { position: relative; left: auto; transform: none; flex: none; }
  .hero-labels { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 24px; padding: 12px 0 40px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .hero-labels::before, .hero-labels::after { content: ""; flex: 0 0 calc(50% - 125px); }
  .hero-labels::-webkit-scrollbar { display: none; }
  .hero-labels .hero-label { position: relative; inset: auto; flex: 0 0 250px; width: 250px; min-height: 56px; padding: 16px 12px; gap: 8px; font-size: 9px; line-height: 18px; letter-spacing: 1px; scroll-snap-align: center; }
  .hero-labels .hero-label-icon { width: 12px; }
}
