#features-showcase {
  background-color: transparent;
  margin-top: -100vh;
  z-index: 38;
  padding-top: 0;
  overflow: clip;
  isolation: isolate;
}

#features-showcase .feature-background-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  margin-bottom: -100vh;
  margin-bottom: -100dvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
}

#features-showcase .feature-background-layer {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-color: #fff;
  opacity: 0;
}

#features-showcase .feature-background-layer:first-child {
  background-attachment: scroll;
  background-size: cover;
  background-position: center top;
}

#features-showcase > .container {
  position: relative;
  z-index: 1;
  opacity: var(--daka-feature-entry-opacity, 1);
  padding-top: calc(var(--feature-entrance-travel, 52.513711dvh) + clamp(48px, 7.5vw, 96px));
}

#features-showcase .feature-on-dark h3,
#features-showcase .feature-on-dark p,
#features-showcase .feature-on-dark span:not([aria-hidden]) {
  color: #fff;
  text-shadow: 0 1px 2px rgba(16, 37, 71, 0.25);
}

#features-showcase .feature-timeline-rows {
  position: relative;
}

/* Reserve the left half for the upcoming visual; keep all copy on the right. */
#features-showcase .feature-timeline-rows > .grid {
  direction: ltr;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(24px, 5vw, 64px);
  min-height: clamp(420px, 71.111svh, 560px);
  align-items: center;
}

#features-showcase .feature-panel-copy {
  grid-column: 2;
  grid-row: 1;
}

#features-showcase .feature-panel-visual {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

@media (max-width: 700px) {
  #features-showcase .feature-timeline-rows > .grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: max(320px, 55svh);
  }
  #features-showcase .feature-panel-copy { grid-column: 1; }
  #features-showcase .feature-panel-visual { display: none; }
}

/* The four panels stay in place while the timeline and backgrounds progress. */
#features-showcase .feature-timeline-rows > .grid,
#features-showcase .feature-timeline-rows > .grid > * {
  animation: none !important;
  transition: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  scale: 1 !important;
}

#features-showcase .feature-timeline {
  position: absolute;
  left: 50%;
  width: 2px;
  z-index: 3;
  pointer-events: none;
}

#features-showcase .feature-timeline__line {
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent calc(var(--feature-marker-top) - var(--feature-line-reach)), #000 calc(var(--feature-marker-top) - 60px), #000 calc(var(--feature-marker-top) + 60px), transparent calc(var(--feature-marker-top) + var(--feature-line-reach)));
  mask-image: linear-gradient(to bottom, transparent calc(var(--feature-marker-top) - var(--feature-line-reach)), #000 calc(var(--feature-marker-top) - 60px), #000 calc(var(--feature-marker-top) + 60px), transparent calc(var(--feature-marker-top) + var(--feature-line-reach)));
}

#features-showcase .feature-timeline__track,
#features-showcase .feature-timeline__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
}

#features-showcase .feature-timeline__track {
  height: 100%;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.8) 0 3px, transparent 3px 11px);
  background-position-y: var(--feature-dot-shift, 0px);
}

#features-showcase .feature-timeline__fill {
  background: #1685f3;
  border-radius: 2px;
}

#features-showcase .feature-timeline.is-receding .feature-timeline__fill {
  transition: height .7s cubic-bezier(.22, 1, .36, 1);
}

#features-showcase .feature-timeline__cursor {
  position: absolute;
  left: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: 0 0 5px rgba(22, 133, 243, .4);
  opacity: 0;
  transition: opacity .25s;
}

#features-showcase .feature-timeline__cursor.is-visible {
  opacity: 1;
}

@media (max-width: 700px) {
  #features-showcase .feature-timeline { left: 11px; }
  #features-showcase .feature-timeline-rows > .grid { margin-left: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  #features-showcase .feature-timeline__cursor,
  #features-showcase .feature-timeline__fill { transition: none; }
}

/* The four text panels pass one continuous transparent product sequence. */
#features-showcase .feature-sequence {
  position: sticky;
  top: 0;
  width: calc(50% - clamp(12px, 2.5vw, 32px));
  height: 100dvh;
  margin-bottom: -100dvh;
  z-index: 2;
  pointer-events: none;
}
#features-showcase .feature-sequence__canvas {
  position: absolute;
  top: 0;
  display: block;
  width: 100vw;
  height: 100%;
  filter: drop-shadow(0 16px 18px rgba(43,57,73,.23)) drop-shadow(0 4px 6px rgba(43,57,73,.13));
}
@media (max-width: 700px) {
  #features-showcase .feature-timeline-rows > .grid {
    grid-template-columns: minmax(0, .44fr) minmax(0, .56fr);
    min-height: max(480px, 75svh);
    margin-left: 0;
    column-gap: 28px;
  }
  #features-showcase .feature-panel-copy { grid-column: 2; }
  #features-showcase .feature-panel-copy h3 { font-size: clamp(18px, 3.8vw, 25px); }
  #features-showcase .feature-panel-copy p { font-size: 14px; }
  #features-showcase .feature-timeline { left: 44%; }
  #features-showcase .feature-sequence {
    width: calc(44% - 14px);
    height: 100dvh;
    margin-bottom: -100dvh;
    top: 0;
  }
}
