.confidence-grid > * {
  min-width: 0;
}

.investor-slides {
  position: relative;
  width: 100%;
  min-height: 640px;
  overflow: hidden;
}

.investor-slides > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: investor-fade 25s infinite;
}

.investor-slides > img:nth-child(1) { animation-delay: 0s; }
.investor-slides > img:nth-child(2) { animation-delay: 5s; }
.investor-slides > img:nth-child(3) { animation-delay: 10s; }
.investor-slides > img:nth-child(4) { animation-delay: 15s; }
.investor-slides > img:nth-child(5) { animation-delay: 20s; }

.investor-slides > span {
  z-index: 2;
}

@keyframes investor-fade {
  0%, 18% { opacity: 1; transform: scale(1); }
  22%, 100% { opacity: 0; transform: scale(1); }
}

.comment-marquee {
  width: 100%;
  max-width: 100%;
  margin-top: 24px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.comment-track {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: max-content;
  animation: comment-scroll 52s linear infinite;
}

.comment-track blockquote {
  box-sizing: border-box;
  width: min(330px, 78vw);
  min-height: 145px;
  margin: 0;
  padding: 22px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

.comment-track blockquote .card-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

.comment-track blockquote .card-stars svg {
  width: 13px;
  height: 13px;
  fill: #d6a854;
  stroke: #d6a854;
}

.comment-track blockquote > p {
  margin: 0;
}

.comment-track blockquote footer {
  margin-top: 18px;
  padding: 15px 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.comment-track blockquote footer strong {
  display: block;
  font-size: 12px;
}

.comment-marquee:hover .comment-track {
  animation-play-state: paused;
}

@keyframes comment-scroll {
  to { transform: translateX(calc(-50% - 7px)); }
}

@media (max-width: 760px) {
  .investor-slides {
    min-height: 470px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .investor-slides > img {
    display: none;
    animation: none;
  }

  .investor-slides > img:first-child {
    display: block;
    opacity: 1;
  }

  .comment-track {
    animation: none;
  }
}
