/* Qiri 상세 내용은 사례가 잘 읽히도록 제목 크기를 한 단계 낮춥니다. */
.hero h1 {
  font-size: clamp(48px, 8vw, 112px) !important;
}

.intro {
  width: min(900px, 100%);
  max-width: 900px !important;
}

.block h2,
.case-study h2,
.service-screens h2 {
  font-size: clamp(24px, 3.2vw, 40px) !important;
}

.tech-note,
.case-study article p,
.validation > p:not(.label),
.validation h3 {
  color: var(--muted);
  line-height: 1.8;
}

.tech-note {
  max-width: 760px;
  margin: 24px 0 0;
}

.case-study article {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
}

.case-study article + article {
  margin-top: 32px;
}

.case-study h3,
.validation h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 21px;
  letter-spacing: -.045em;
}

.case-study article p {
  margin: 0 0 12px;
}

.case-study strong,
.validation strong {
  color: var(--ink);
  font-weight: 700;
}

.validation-result {
  color: #c8ff75 !important;
  font-weight: 700;
}

.service-screens figure {
  margin: 0;
}

.service-screens figure img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
}

/* SNAPY와 동일한 가로 서비스 화면 레일 */
.service-screens {
  width: 100vw;
  margin-left: calc((min(980px, calc(100vw - 44px)) - 100vw) / 2);
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
}

.service-screens h2 {
  margin-bottom: 8px;
}

.screens-horizontal {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 18px !important;
  overflow-x: auto !important;
  padding: 0 0 8px !important;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.screens-horizontal::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.screens-horizontal figure {
  flex: 0 0 220px;
  aspect-ratio: 370 / 800;
  height: auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  background: #202124;
  scroll-snap-align: start;
}

.screens-horizontal img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  background: #202124;
}

@media (max-width: 700px) {
  .service-screens {
    margin-left: calc((100vw - 100%) / -2);
    padding: 0 22px;
  }

  .screens-horizontal figure {
    flex-basis: 178px;
  }
}
