.fx-desc { min-height: 0; }
/* The category heading: a segmented pair above the feature list. Picking one
   swaps which tabs are even in the list below it. */
.fx-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fx-tab[hidden] { display: none; }
.fx-cats { display: flex; gap: 8px; }
.fx-cat {
  flex: 1; min-height: 44px; padding: 10px 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .07); color: rgba(244, 235, 225, .7);
  font: inherit; font-size: 14px; font-weight: 700; letter-spacing: -.01em; text-align: center;
  transition: background-color .2s linear, color .2s linear;
}
.fx-cat:hover { background: rgba(255, 255, 255, .13); color: #fff; }
.fx-cat[aria-pressed="true"] { background: #F4EBE1; color: var(--ink); }
.fx-cat:focus-visible { outline: 2px solid var(--on-dark-accent); outline-offset: 2px; }
/* The demo is a film, not a control: whatever the thumb taps, a visitor
   cannot. The box is inert (no focus, no clicks, no scrolling of its own),
   and touches pass through it to the page, so a thumb on the phone still
   scrolls the site instead of getting stuck in the demo. The script drives
   it with programmatic clicks, which inert does not stop. */
#featureCarousel .fx-demo { position: absolute; inset: 0; pointer-events: none; user-select: none; -webkit-user-select: none; }
.fx-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* The thumb, drawn as the story film draws it (.rz-touch in
   story-menu.css): a see-through dark disc with a white rim, no colour of
   its own. It travels on an ease-in-out, the way a finger speeds up and
   settles, and shrinks when it presses. */
.fx-pointer {
  position: absolute; z-index: 6; top: 0; left: 0; width: 28px; height: 28px; margin: -14px 0 0 -14px;
  border-radius: 999px; opacity: 0; pointer-events: none;
  background: rgba(26, 11, 5, .22); border: 2px solid rgba(255, 255, 255, .9);
  box-shadow: 0 3px 8px -1px rgba(26, 11, 5, .35);
  transition: transform .62s cubic-bezier(.45,.05,.25,1), opacity .25s ease;
}
.fx-pointer.is-on { opacity: 1; }
.fx-pointer.is-pressed { transition: transform .13s cubic-bezier(.4,0,.2,1), opacity .25s ease; }
/* The incoming feature rises 8px out of a slight blur as it fades in; the
   loop's restart dips the screen into the same blur and back, the film's
   own "never a jump cut". */
.fx-panel {
  opacity: 1; transform: none; filter: none;
  transition: opacity .38s cubic-bezier(.22,.9,.3,1), transform .38s cubic-bezier(.22,.9,.3,1), filter .38s cubic-bezier(.22,.9,.3,1);
}
.fx-panel.fx-panel-enter { transition: none; opacity: 0; transform: translateY(8px); filter: blur(3px); }
.fx-demo { transition: opacity .36s ease, filter .36s ease; }
.fx-demo.fx-loop-out { opacity: 0; filter: blur(2.5px); }
/* One bar per step of the script, filling as that step plays, as the story
   film's beats do. */
.fx-progress { display: flex; justify-content: center; gap: 6px; height: 3px; margin-top: 14px; }
.fx-progress i { position: relative; flex: 0 1 26px; height: 3px; border-radius: 2px; background: rgba(244, 235, 225, .18); overflow: hidden; }
.fx-progress i::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: #F4EBE1;
  transform: scaleX(0); transform-origin: left center; transition: transform var(--d, 1.8s) linear;
}
.fx-progress i.is-on::after, .fx-progress i.is-done::after { transform: scaleX(1); }
.fx-progress i.is-done::after { transition-duration: .25s; }
.fx-progress.is-reset i::after { transition: none; }
.fx-pause { order: 9; margin-left: 10px; }
.fx-pause[aria-pressed="true"] { background: #F4EBE1; color: var(--ink); }
.fx-pause[hidden] { display: none; }
.rz-map-fallback-image { width: 100%; height: 100%; object-fit: cover; }
.rz-map-fallback-note {
  position: absolute; top: 50px; left: 16px; right: 16px; margin: 0; padding: 10px;
  background: #fff; color: #2b1810; font-size: 14px; line-height: 1.3;
}
.rz-map-fallback-pin {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px;
  border-radius: 50%; background: #c13a22 !important; color: #fff !important; text-align: center !important;
}

@media (min-width: 900px) {
  #features.ap-band { overflow: clip; }
}

@media (max-width: 899px) {
  .fx { gap: 8px; }
  .fx-side { gap: 10px; }
  .fx-cat { min-height: 40px; padding: 8px 10px; font-size: 13px; }
  .fx-list { padding-block: 2px; }
  .fx-tab { min-height: 44px; padding: 8px 14px; font-size: 14px; }
  .fx-title { font-size: 19px; line-height: 1.15; }
  .fx-desc { margin-top: 4px; font-size: 13px; line-height: 1.3; }
  .fx-device { margin-top: 8px; padding: 0; border-radius: 18px; background: #fff; }
  #featureCarousel { --rz-bleed: 0px; }
  #featureCarousel .fd-phone {
    width: 100%; margin: 0; padding: 0; border-radius: 18px; box-shadow: none;
  }
  #featureCarousel .fd-phone::before { display: none; }
  #featureCarousel .fd-screen { height: clamp(240px, 43vh, 330px); border-radius: 18px; }
  .fx-steps { gap: 2px; margin-top: 6px; }
  .fx-count { min-width: 3.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-panel, .fx-pointer, .fx-demo, .fx-cat { transition: none; }
  .fx-progress { display: none; }
}

