/* ==========================================================================
   Section 4 — CTA (+ footer)
   ========================================================================== */
.cta {
  display: flex;
  flex-direction: column;
  background: var(--grey-black);
}

.cta__main {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 0;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease 0ms, transform 0.6s ease 0ms;
}

.cta__main.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cta__logo {
  width: 72px;
  height: 72px;
}

.cta__tagline {
  font-size: 12px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.2em;
  color: var(--brand-lime);
}

.cta__tagline-logo {
  display: inline-block;
  width: auto;
  height: 0.88em; /* 한글 잉크 높이에 맞춤 (히어로 제목 로고와 같은 비율) */
  vertical-align: -0.08em;
}

.cta__title {
  max-width: 560px;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--grey-white);
  text-align: center;
}

/* ---- Footer ---- */
.footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px max(24px, calc(50% - 480px)) 14px;
  border-top: 1px solid var(--grey-800);
  text-align: left;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer__links {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--grey-300);
}

.footer__link {
  color: var(--grey-100);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__divider {
  color: var(--grey-400);
}

.footer__sns {
  display: flex;
  margin-right: -8px; /* 터치 영역 여백을 빼서 아이콘이 우측 끝에 맞도록 */
}

.footer__sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--grey-300);
  transition: color 0.2s ease;
}

.footer__sns-link:hover {
  color: var(--neon-lime);
}

.footer__sns-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.footer__info {
  font-size: 11px;
  line-height: 1.5;
  color: var(--grey-300);
}

.footer__copy {
  font-size: 11px;
  color: var(--grey-400);
}

/* ==========================================================================
   Media queries
   (섹션 4는 모바일 기준 스타일이 PC에서도 그대로 사용됩니다. 추가 쿼리 없음)
   ========================================================================== */

/* 기준선(우측 상단 App Store 버튼 하단) ~ 푸터 윗선 사이 가운데에 콘텐츠를 둡니다. */
.cta__main {
  padding-top: var(--top-ref);
}
