.hero-background,
.hero-background__overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  z-index: 0;
  overflow: hidden;
}

.hero-background__track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.hero-background__track.is-animated {
  transition: transform 1s ease;
}

.hero-background__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.hero-background__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-background__overlay {
  z-index: 1;
  background: rgba(20, 17, 15, .6);
  pointer-events: none;
}

.hero .orb,
.hero .grid-glow {
  z-index: 2;
  pointer-events: none;
}

.hero .orb {
  opacity: .2;
}

.hero .grid-glow {
  opacity: .18;
}

/* .hero-scroll 은 style.css 에서 absolute 다. 여기서 relative 로 바꾸면 flex 공간을 차지해 본문이 왼쪽으로 밀린다. */
.hero-inner {
  position: relative;
  z-index: 3;
}
.hero-scroll {
  z-index: 3;
}

.hero h1 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .22);
}

.hero-description {
  color: rgba(255, 255, 255, .78);
}

.hero .popular strong,
.hero .trust-list,
.hero-scroll {
  color: rgba(255, 255, 255, .78);
}

.hero .popular a {
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  backdrop-filter: blur(6px);
}

.hero-scroll span {
  border-color: rgba(255, 255, 255, .5);
}

/* 모바일: 세로로 길어지지 않게 글자와 여백을 줄여 가로형 배너 비율로 보이게 한다. */
@media (max-width: 720px) {
  .hero-inner {
    padding: 22px 0 24px;
  }

  .hero .eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: -.6px;
  }

  .hero-description {
    margin-top: 10px;
    font-size: 12.5px;
    line-height: 1.6;
  }

  /* 항목이 길면 글자 중간에서 끊지 않고 항목 단위로 다음 줄로 넘긴다. */
  .hero .trust-list {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px 14px;
    margin-top: 14px;
  }

  .hero .trust-list li {
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

  .hero .trust-list b {
    flex-shrink: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-background__track.is-animated {
    transition: none;
  }
}
