@font-face {
  font-family: UsecaseEK;
  src: url("hero-assets/ek-notice-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
.usecases-section {
  --uc-ease: var(--motion-rise-ease);
  position: relative;
  isolation: isolate;
  color: var(--page-ink, #151515);
  background: transparent;
  padding: clamp(36px, 5.4svh, 64px) 0 28px;
  overflow: clip;
  min-height: 100svh;
}
.uc-heading {
  text-align: center;
  margin: 0 auto 26px;
  padding: 0 36px;
  max-width: 1100px;
}
.uc-heading h2 {
  font-family: UsecaseEK, Instrument, sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
}
.uc-heading p {
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.025em;
  color: var(--page-muted, #6c6b66);
  margin: 18px 0 0;
}
.uc-carousel {
  position: relative;
  height: clamp(220px, 34svh, 360px);
  max-width: 2000px;
  margin: 0 auto;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  outline: none;
}
.uc-scene {
  --card-width: 674px;
  --card-height: 430px;
  --x: 0px;
  --y: 0px;
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--card-width);
  height: var(--card-height);
  padding: 0;
  border: 0;
  border-radius: 30px;
  overflow: hidden;
  background: #d9d6d1;
  color: #25251e;
  transform: translate3d(calc(-50% + var(--x)), var(--y), 0);
  transition:
    transform var(--motion-switch-ms) var(--uc-ease),
    width var(--motion-switch-ms) var(--uc-ease),
    height var(--motion-switch-ms) var(--uc-ease),
    opacity 0.45s,
    filter 0.5s;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 5px 14px #241e2210;
  will-change: transform;
}
.uc-scene[data-slot="0"] {
  opacity: 1;
  filter: brightness(1) saturate(1);
  z-index: 3;
  pointer-events: auto;
  box-shadow: 0 20px 35px -25px #28233465;
}
.uc-scene[data-slot="-1"],
.uc-scene[data-slot="1"] {
  opacity: 1;
  filter: brightness(0.64) saturate(0.82);
  z-index: 2;
  pointer-events: auto;
}
.uc-photo {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: var(--photo-position, center);
  pointer-events: none;
  transition:
    filter 0.65s,
    transform 1.1s var(--uc-ease);
  transform: scale(var(--photo-scale, 1.025));
}
.uc-scene:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #16151f04 20%, #16151f2a);
  opacity: 1;
  transition:
    background 0.5s,
    opacity 0.5s;
  pointer-events: none;
}
.uc-scene:not([data-slot="0"]):after {
  background: #18151c4a;
}
.uc-scene:hover .uc-photo {
  transform: scale(calc(var(--photo-scale, 1.025) + 0.03));
}
/* Use the complete gift photo sideways; keep the original asset intact. */
.uc-photo.uc-photo--rotated {
  width: var(--card-height);
  height: var(--card-width);
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg) scale(var(--photo-scale, 1.025));
  transition: width var(--motion-switch-ms) var(--uc-ease), height var(--motion-switch-ms) var(--uc-ease),
    transform 1.1s var(--uc-ease);
}
.uc-scene:hover .uc-photo--rotated {
  transform: translate(-50%, -50%) rotate(-90deg)
    scale(calc(var(--photo-scale, 1.025) + 0.03));
}
.uc-scene:focus-visible {
  outline: 3px solid #8173ca;
  outline-offset: 6px;
}
/* Category proportions follow the current Figma scene card. */
.uc-scene-label {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: var(--scene-label-size);
  height: var(--scene-label-size);
  padding: calc(10.097px * var(--label-scale));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(16.828px * var(--label-scale));
  border-radius: calc(26.925px * var(--label-scale));
  background: #fcfbf7;
  border: 0;
  transition: transform var(--motion-switch-ms) var(--uc-ease);
}
.uc-scene-label > .uc-scene-art {
  width: calc(var(--scene-label-size) * 0.54);
  height: calc(var(--scene-label-size) * 0.513);
  object-fit: contain;
  pointer-events: none;
}
.uc-scene-label strong {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(43.753px * var(--label-scale));
  font-family: UsecaseEK, Instrument, sans-serif;
  font-size: calc(21.877px * var(--label-scale));
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.uc-scene:not([data-slot="0"]) .uc-scene-label {
  transform: translate(-50%, -50%) scale(0.9);
}
.uc-label-dot {
  position: absolute;
  left: calc(-12.62px * var(--label-scale));
  top: calc(-10.93px * var(--label-scale));
  transform: scale(var(--label-scale));
  transform-origin: top left;
  pointer-events: none;
}
.uc-label-dot img {
  display: block;
  max-width: none;
}
/* Only the selected scene expands into the borderless Figma chat pill. */
.uc-chat {
  --mic-ring: rgb(21 21 21 / 0.16);
  position: absolute;
  z-index: 3;
  left: 50%;
  top: min(
    calc(50% + var(--scene-label-size) / 2 + 9.68%),
    calc(100% - 59.351px * var(--chat-scale) - 14px)
  );
  transform: translateX(-50%);
  width: var(--chat-width);
  height: calc(59.351px * var(--chat-scale));
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.57);
  backdrop-filter: blur(6.029px);
  -webkit-backdrop-filter: blur(6.029px);
  box-shadow: none;
  overflow: hidden;
  color: #151515;
  transition:
    width var(--motion-switch-ms) var(--uc-ease),
    top 0.7s var(--uc-ease),
    background-color 0.25s ease;
}
.uc-scene:not([data-slot="0"]) .uc-chat {
  top: min(
    calc(50% + var(--scene-label-size) * 0.45 + 8.63%),
    calc(100% - 59.351px * var(--chat-scale) - 14px)
  );
  width: calc(57.164px * var(--chat-scale));
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.uc-chat-collapsed {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.uc-chat-collapsed img {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  max-width: none;
  transform: translate(-50%, -50%) scale(var(--chat-scale));
}
.uc-chat-avatar {
  position: absolute;
  left: calc(18.74px * var(--chat-scale));
  top: 50%;
  transform: translateY(-50%);
  width: calc(41.233px * var(--chat-scale));
  height: calc(39.359px * var(--chat-scale));
  display: flex;
  align-items: center;
  justify-content: center;
}
.uc-chat-cat {
  width: calc(58px * var(--chat-scale));
  height: calc(58px * var(--chat-scale));
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}
.uc-chat-copy {
  position: absolute;
  left: calc(68px * var(--chat-scale));
  right: calc(68px * var(--chat-scale));
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  font:
    500 calc(16.085px * var(--chat-scale)) / 1.08 Instrument,
    Arial,
    sans-serif;
}
.uc-chat-caret {
  display: inline-block;
  flex: 0 0 1px;
  height: 0.9em;
  margin-left: 2px;
  background: currentColor;
  opacity: 0;
}
.uc-chat[data-typing="true"] .uc-chat-caret {
  opacity: 0.55;
}
.uc-chat-mic {
  position: absolute;
  right: calc(24.5px * var(--chat-scale));
  top: 50%;
  transform: translateY(-50%);
  width: calc(40px * var(--chat-scale));
  height: calc(40px * var(--chat-scale));
  display: grid;
  place-items: center;
}
.uc-chat-avatar,
.uc-chat-copy,
.uc-chat-mic {
  opacity: 1;
  transition: opacity 0.25s ease 0.2s;
}
.uc-scene:not([data-slot="0"]) .uc-chat-avatar,
.uc-scene:not([data-slot="0"]) .uc-chat-copy,
.uc-scene:not([data-slot="0"]) .uc-chat-mic {
  opacity: 0;
  transition-delay: 0s;
  transition-duration: 0.12s;
  pointer-events: none;
}
.uc-scene:not([data-slot="0"]) .uc-chat-collapsed {
  opacity: 1;
  transition-delay: 0.15s;
}
.uc-mic-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  animation: uc-chat-breathe 2.8s ease-in-out infinite paused;
}
.uc-mic-core img {
  display: block;
  max-width: none;
  transform: scale(var(--chat-scale));
}
.uc-mic-ring {
  position: absolute;
  inset: 4px;
  border: 1px solid var(--mic-ring);
  border-radius: 50%;
  opacity: 0;
  animation: uc-chat-ripple 2.8s ease-out infinite paused;
}
.uc-mic-ring:nth-child(2) {
  animation-delay: -1.4s;
}
[data-voice-style="lilac"] .uc-chat {
  --mic-ring: rgb(133 100 207 / 0.55);
}
[data-voice-style="lilac"] .uc-mic-core {
  background: #b499d533;
}
[data-voice-active="true"] .uc-scene[data-slot="0"] .uc-mic-ring,
[data-voice-active="true"] .uc-scene[data-slot="0"] .uc-mic-core,
.uc-heading-chat[data-active="true"] .uc-mic-ring,
.uc-heading-chat[data-active="true"] .uc-mic-core {
  animation-play-state: running;
}
.uc-heading .uc-heading-chat {
  --chat-scale: 1;
  --mic-ring: rgb(226 153 91 / .65);
  position: relative;
  flex: 0 0 auto;
  left: auto;
  top: auto;
  width: 329px;
  height: 59px;
  margin: 0 0 26px;
  transform: none;
  background: linear-gradient(125deg, rgb(255 255 255 / .34), rgb(255 255 255 / .12));
  backdrop-filter: blur(8px) saturate(1.15);
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 8px 28px -16px rgb(58 43 33 / .12);
  overflow: visible;
  isolation: isolate;
}
.uc-heading-chat .uc-chat-copy { font-weight: 400; }
.uc-heading-chat .uc-mic-core { background: rgb(242 180 124 / .24); }
.uc-heading-chat .uc-mic-ring {
  inset: 0;
  border-width: 1.4px;
  animation-name: uc-heading-voice-ripple;
  animation-duration: 3.2s;
}
.uc-heading-chat .uc-mic-ring:nth-child(2) { animation-delay: -1.067s; }
.uc-heading-chat .uc-mic-ring:nth-child(3) { animation-delay: -2.134s; }
@keyframes uc-heading-voice-ripple {
  0% { transform: scale(.8); opacity: .7; }
  70% { opacity: .28; }
  100% { transform: scale(2.5); opacity: 0; }
}
@media (max-width: 700px) {
  .uc-heading .uc-heading-chat {
    --chat-scale: .9;
    width: 296px;
    height: 54px;
    margin-bottom: 22px;
  }
}
@keyframes uc-chat-breathe {
  0%,
  100% {
    transform: scale(0.98);
  }
  50% {
    transform: scale(1.04);
  }
}
@keyframes uc-chat-ripple {
  0% {
    transform: scale(0.82);
    opacity: 0.5;
  }
  85%,
  100% {
    transform: scale(1.22);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .uc-mic-ring,
  .uc-mic-core,
  .uc-heading-chat .uc-mic-ring,
  .uc-heading-chat .uc-mic-core {
    animation: none;
  }
}
.uc-carousel.uc-dragging {
  cursor: grabbing;
}
.uc-carousel.uc-dragging .uc-scene {
  cursor: grabbing;
  transition: none;
}
.uc-prompt-region {
  position: relative;
  z-index: 5;
  max-width: 1000px;
  min-height: 252px;
  margin: -31px auto 0;
  padding: 0 24px;
}
.uc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (min-width: 1800px) {
  .usecases-section {
    padding-top: 64px;
  }
  .uc-heading h2 {
    font-size: 52px;
  }
  .uc-heading p {
    font-size: 24px;
  }
  .uc-carousel {
    height: clamp(260px, 34svh, 370px);
  }
  .uc-prompt-region {
    margin-top: -34px;
  }
}
@media (max-width: 1100px) {
  .uc-heading h2 {
    font-size: 38px;
  }
  .uc-heading p {
    font-size: 19px;
  }
  .uc-carousel {
    height: clamp(220px, 32svh, 320px);
  }
  .uc-prompt-region {
    max-width: 850px;
  }
}
@media (max-width: 700px) {
  .usecases-section {
    padding: 65px 0;
    min-height: 900px;
  }
  .uc-heading {
    padding: 0 24px;
    margin-bottom: 30px;
  }
  .uc-heading h2 {
    font-size: 32px;
  }
  .uc-heading p {
    font-size: 17px;
    line-height: 1.4;
  }
  .uc-carousel {
    height: 340px;
  }
  .uc-scene {
    border-radius: 25px;
  }
  .uc-prompt-region {
    padding: 0 18px;
    margin-top: -24px;
    min-height: 285px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .usecases-section * {
    animation: none !important;
    transition: none !important;
  }
  .uc-heading,
  .uc-carousel,
  .uc-prompt-region {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media (max-width: 700px) {
  .uc-chat {
    top: calc(50% + var(--scene-label-size) / 2 + 18px);
  }
  .uc-scene:not([data-slot="0"]) .uc-chat {
    top: calc(50% + var(--scene-label-size) * 0.45 + 18px);
  }
}
