/* SECTION: TYPOGRAPHY — fonts from the live CALM reference, scoped families */
@font-face {
  font-family: 'BNPL Proxima Nova';
  src: url('https://http2.mlstatic.com/storage/pog-cm-admin/calm-assets/proxima-nova-bold--b7c049bd.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BNPL Inter';
  src: url('https://http2.mlstatic.com/storage/pog-cm-admin/calm-assets/Inter-Semibold--73f8a746.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* SECTION: HERO — 1440 × 712 reference */
.hero-h5c1 {
  --hero-progress: 0;
  --hero-radius: var(--andes-border-radius-xlarge, 20px);
  --hero-gutter: var(--andes-spacing-padding-medium, 40px);
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: calc(100% - 16px);
  max-width: 1904px;
  margin: 8px auto;
  height: calc(100vh - 16px);
  height: calc(100dvh - 16px);
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--hero-radius);
  background: #282834;
  color: #fff;
  font-family: 'BNPL Inter', Inter, Arial, sans-serif;
  touch-action: pan-y;
}
.hero-h5c1 [class] { box-sizing: border-box; }
.hero-h5c1 [hidden] { display: none !important; }
.hero-h5c1 .hero-background-h5c1,
.hero-h5c1 .hero-images-container-h5c1,
.hero-h5c1 .hero-picture-h5c1,
.hero-h5c1 .hero-bg-overlay-h5c1 { position: absolute; inset: 0; }
.hero-h5c1 .hero-background-h5c1 { pointer-events: none; }
.hero-h5c1 .hero-picture-h5c1 {
  display: block;
  overflow: hidden;
  opacity: 0;
  transition: opacity 150ms ease;
}
.hero-h5c1 .hero-picture-h5c1.active { opacity: 1; transition-duration: 100ms; }
.hero-h5c1 .hero-bg-image-h5c1 {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
}
.hero-h5c1 .hero-picture-h5c1[data-slide="1"] .hero-bg-image-h5c1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.hero-h5c1 .hero-picture-h5c1[data-slide="1"] .hero-bg-overlay-h5c1 {
  background: linear-gradient(209.219deg, rgba(0, 0, 0, 0) 46.715%, rgba(0, 0, 0, .2) 66.946%);
}

/* SECTION: CONTENT — caption, headline and CTA align to the bottom */
.hero-h5c1 .hero-content-h5c1 {
  position: absolute;
  z-index: 2;
  right: var(--hero-gutter);
  bottom: var(--hero-gutter);
  left: var(--hero-gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--andes-spacing-gap-medium, 40px);
}
.hero-h5c1 .hero-subtitle-h5c1 {
  margin: 0;
  color: #fff;
  font-family: 'BNPL Inter', Inter, Arial, sans-serif;
  font-size: var(--andes-text-heading-size-xlarge, 20px);
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0;
  font-feature-settings: 'case' 1;
}
.hero-h5c1 .headline-carousel-h5c1 {
  display: grid;
  overflow: hidden;
  margin: 0;
  max-width: 100%;
  color: #fff;
  font-family: 'BNPL Proxima Nova', 'Proxima Nova', Arial, sans-serif;
  font-size: clamp(52px, 6.944444vw, 100px);
  font-weight: 700;
  font-synthesis: none;
  line-height: 1;
  letter-spacing: -.05em;
  font-feature-settings: 'salt' 1, 'calt' 0;
}
.hero-h5c1 .carousel-slide-h5c1 { display: block; grid-area: 1 / 1; }
.hero-h5c1 .carousel-slide-h5c1:not(.active):not(.is-leaving) { display: none; }
.hero-h5c1 .carousel-slide-h5c1.is-entering { animation: bnpl-hero-headline 550ms cubic-bezier(.4, 0, .2, 1) both; }
.hero-h5c1 .carousel-slide-h5c1.is-leaving { animation: bnpl-hero-headline-exit 550ms cubic-bezier(.4, 0, .2, 1) both; }
.hero-h5c1 .cta-button-h5c1 {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 2px 24px;
  border: 0;
  border-radius: var(--andes-border-radius-medium, 12px);
  background: var(--andes-color-interactive-fill-loud-idle, #434ce4);
  color: #fff;
  font-family: 'BNPL Inter', Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease-out;
}
.hero-h5c1 .cta-button-h5c1:hover { background: #353ac5; color: #fff; }
.hero-h5c1 .cta-button-h5c1:active { background: #272c96; }

/* SECTION: CONTROLS — desktop paginator and pause button */
.hero-h5c1 .hero-player-h5c1 {
  position: absolute;
  z-index: 3;
  right: var(--hero-gutter);
  bottom: var(--hero-gutter);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(40, 40, 52, .1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-h5c1 .hero-bullets-h5c1 {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(40, 40, 52, .7);
}
.hero-h5c1 .hero-bullet-h5c1 {
  position: relative;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .2);
  cursor: pointer;
}
.hero-h5c1 .hero-bullet-h5c1::before { content: ''; position: absolute; inset: -16px 0; }
.hero-h5c1 .hero-bullet-h5c1.active { width: 32px; }
.hero-h5c1 .hero-bullet-h5c1 { transition: width 300ms cubic-bezier(.4, 0, .2, 1); }
.hero-h5c1 .hero-progress-h5c1 {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
}
.hero-h5c1 .hero-bullet-h5c1.active .hero-progress-h5c1 { transform: scaleX(var(--hero-progress)); }
.hero-h5c1 .hero-bullet-h5c1.completed .hero-progress-h5c1 { transform: scaleX(1); }
.hero-h5c1 .hero-controller-h5c1 { border-radius: 20px; }
.hero-h5c1 .hero-player-btn-h5c1 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(40, 40, 52, .7);
  color: #fff;
  cursor: pointer;
}
.hero-h5c1 .hero-player-btn-h5c1:hover { background: rgba(40, 40, 52, .85); }
.hero-h5c1 .hero-player-btn-h5c1 .icon-play-h5c1 { display: none; }
.hero-h5c1 .hero-player-btn-h5c1[aria-pressed="true"] .icon-pause-h5c1 { display: none; }
.hero-h5c1 .hero-player-btn-h5c1[aria-pressed="true"] .icon-play-h5c1 { display: block; }
.hero-h5c1 .hero-bullet-h5c1:focus-visible,
.hero-h5c1 .hero-player-btn-h5c1:focus-visible,
.hero-h5c1 .cta-button-h5c1:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* SECTION: RESPONSIVE — 344/348 × 724 reference */
@media (max-width: 767px) {
  .hero-h5c1 { --hero-gutter: var(--andes-spacing-padding-xsmall, 24px); height: 724px; min-height: 0; }
  .hero-h5c1 .hero-bg-image-h5c1 { object-position: 94.4% center; }
  .hero-h5c1 .hero-picture-h5c1[data-slide="1"] .hero-bg-image-h5c1 {
    top: -7.6%;
    left: 0;
    width: 100%;
    height: 107.6%;
    object-position: 78.63% center;
  }
  .hero-h5c1 .hero-picture-h5c1 .hero-bg-overlay-h5c1 {
    background: linear-gradient(229.93deg, rgba(40, 40, 52, 0) 49.172%, rgba(40, 40, 52, .4) 68.094%);
  }
  .hero-h5c1 .hero-content-h5c1 { gap: 24px; }
  .hero-h5c1 .hero-subtitle-h5c1 { font-size: 14px; line-height: 18px; }
  .hero-h5c1 .headline-carousel-h5c1 { font-size: 40px; letter-spacing: -.04em; }
  .hero-h5c1 .hero-desktop-break-h5c1 { display: none; }
  .hero-h5c1 .cta-button-h5c1 { width: 100%; }
  .hero-h5c1 .hero-player-h5c1 {
    top: var(--bnpl-hero-controls-top, 104px);
    right: 24px;
    bottom: auto;
    left: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 0;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero-h5c1 .hero-bullets-h5c1 { height: 4px; padding: 0; border-radius: 0; background: none; }
  .hero-h5c1 .hero-bullet-h5c1,
  .hero-h5c1 .hero-bullet-h5c1.active { flex: 1 1 0; width: auto; height: 4px; }
  .hero-h5c1 .hero-bullet-h5c1::before { inset: -8px 0; }
  .hero-h5c1 .hero-controller-h5c1 {
    align-self: flex-end;
    padding: 8px;
    background: rgba(40, 40, 52, .1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}
@keyframes bnpl-hero-headline {
  from { transform: translateY(calc(100% + 20px)); }
  to { transform: translateY(0); }
}
@keyframes bnpl-hero-headline-exit {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-100% - 20px)); }
}
@media (min-width: 768px) {
  .hero-h5c1 .hero-content-h5c1 { gap: 24px; }
  .hero-h5c1 .hero-subtitle-h5c1 { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-h5c1 .hero-picture-h5c1, .hero-h5c1 .cta-button-h5c1 { transition: none; }
  .hero-h5c1 .carousel-slide-h5c1.is-entering,
  .hero-h5c1 .carousel-slide-h5c1.is-leaving { animation: none; }
}


/* CALM BNPL auth decision transition. */

#s-landing:not(.bnpl-auth-ready-mlm-6dc313e26f) {
  visibility: hidden;
  animation: bnpl-auth-ready-mlm-6dc313e26f-reveal 0s 8s forwards;
}
#s-landing.bnpl-auth-ready-mlm-6dc313e26f {
  visibility: visible;
  animation: none;
}
#s-landing.bnpl-auth-redirecting-mlm-6dc313e26f {
  visibility: hidden;
  animation: none;
}
.bnpl-auth-transition-mlm-6dc313e26f {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
  padding: 24px;
  background: #fff;
  color: #333;
  font: 16px/1.5 Arial, sans-serif;
  text-align: center;
  visibility: visible;
  animation: bnpl-auth-transition-mlm-6dc313e26f-uncover 0s 8s forwards;
}
.bnpl-auth-transition-mlm-6dc313e26f[data-bnpl-auth-phase="redirecting"] { animation: none; }
.bnpl-auth-transition-mlm-6dc313e26f[hidden] { display: none !important; }
.bnpl-auth-spinner-mlm-6dc313e26f {
  display: block;
  width: 24px;
  height: 24px;
  border: 3px solid #e6e6e6;
  border-top-color: #434ce4;
  border-radius: 50%;
  animation: bnpl-auth-spinner-mlm-6dc313e26f-spin 900ms linear infinite;
}
@keyframes bnpl-auth-spinner-mlm-6dc313e26f-spin { to { transform: rotate(360deg); } }
@keyframes bnpl-auth-ready-mlm-6dc313e26f-reveal { to { visibility: visible; } }
@keyframes bnpl-auth-transition-mlm-6dc313e26f-uncover { to { visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) {
  .bnpl-auth-spinner-mlm-6dc313e26f { animation: none; }
}
