/*
 * intro.css — 서비스 안내 > 소개.
 * 샘플 사이트의 정보 흐름(메시지 → 핵심 가치 → 약속 → 도움말)을
 * 빙고매치 디자인 토큰과 단일 반응형 마크업에 맞춰 재구성한다.
 */

.intro-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.intro-shell {
  width: 100%;
  max-width: var(--hd-width);
  margin: 0 auto;
  padding: 0 var(--sp-4);
  color: var(--text-1);
}

.intro-story {
  padding: 64px 0 72px;
}

.intro-eyebrow,
.intro-promise__eyebrow {
  margin-bottom: 15px;
  color: var(--sub-color);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
}

.intro-story h1 {
  margin: 0;
  color: var(--text-1);
  font-size: 2.125rem;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.06em;
  word-break: keep-all;
}

.intro-story__copy {
  margin-top: 28px;
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.75;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.intro-story__copy p + p {
  margin-top: var(--sp-4);
}

.intro-story__lead {
  color: var(--text-1);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.04em;
}

.intro-values {
  border-top: 1px solid var(--color-line-soft);
  border-bottom: 1px solid var(--color-line-soft);
}

.intro-values ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.intro-values li {
  min-height: 0;
  padding: 30px var(--sp-6) 29px;
  background: var(--surface-0);
  transition: background-color 0.2s ease;
}

.intro-values li + li {
  border-top: 1px solid var(--color-line-soft);
}

.intro-values li:hover {
  background: var(--surface-1);
}

.intro-values__number {
  display: block;
  margin-bottom: 26px;
  color: var(--text-3);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.09em;
}

.intro-values strong {
  display: block;
  color: var(--text-1);
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.045em;
  word-break: keep-all;
}

.intro-values li:nth-child(2) strong {
  color: var(--sub-color);
}

.intro-values p {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 0.875rem;
  line-height: 1.65;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.intro-promise {
  position: relative;
  display: flex;
  min-height: 355px;
  margin-top: 72px;
  padding: 38px 28px;
  align-items: center;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(7, 35, 78, 0.96) 0%, rgba(7, 43, 92, 0.88) 55%, rgba(7, 43, 92, 0.38) 100%),
    url('/assets/images/guide/intro-promise.png') 62% center / cover no-repeat;
  color: var(--color-on-primary);
}

.intro-promise::after {
  position: absolute;
  right: -190px;
  bottom: -255px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: '';
}

.intro-promise__content {
  position: relative;
  z-index: 1;
}

.intro-promise__eyebrow {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.intro-promise h2 {
  margin: 0;
  color: var(--color-on-primary);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.055em;
  word-break: keep-all;
}

.intro-promise h2::before {
  display: block;
  width: var(--sp-8);
  height: 2px;
  margin-bottom: 19px;
  background: var(--main-color);
  content: '';
}

.intro-promise h2 strong {
  font-weight: 700;
}

.intro-promise__detail {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.65;
  letter-spacing: -0.02em;
}

.intro-closing {
  margin-top: 72px;
}

.intro-closing h2 {
  margin: 0;
  color: var(--text-1);
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.055em;
  word-break: keep-all;
}

.intro-closing h2 strong {
  color: var(--sub-color);
  font-weight: 700;
}

.intro-closing > p {
  margin-top: 19px;
  color: var(--text-2);
  font-size: 0.875rem;
  line-height: 1.7;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.intro-help {
  display: flex;
  min-height: 0;
  margin: 64px 0 76px;
  padding: 22px var(--pd-20);
  flex-wrap: wrap;
  align-items: center;
  border-radius: var(--radius-lg);
  background: var(--surface-1);
}

.intro-help__message {
  display: flex;
  min-width: 0;
  flex: 1 1 100%;
  align-items: center;
}

.intro-help__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  margin-right: var(--sp-3);
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-0);
  color: var(--sub-color);
  box-shadow: var(--shadow-1);
}

.intro-help strong {
  color: var(--text-1);
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.intro-help__actions {
  display: flex;
  width: 100%;
  margin: 18px 0 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
}

.intro-help__primary,
.intro-help__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}

.intro-help__primary {
  padding: 0 14px;
  border-radius: 999px;
  background: var(--sub-color);
  color: var(--color-on-primary);
}

.intro-help__link {
  gap: var(--sp-2);
  color: var(--sub-color);
}

.intro-help__primary:focus-visible,
.intro-help__link:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 3px;
}

@media (max-width: 389.98px) {
  .intro-shell {
    padding-right: var(--sp-3);
    padding-left: var(--sp-3);
  }

  .intro-story h1 {
    font-size: 1.9375rem;
  }

  .intro-promise {
    padding-right: 22px;
    padding-left: 22px;
  }

  .intro-promise h2 {
    font-size: 1.5625rem;
  }

  .intro-closing h2 {
    font-size: 1.5rem;
  }

}

@media (min-width: 768px) {
  .intro-body .site-main {
    padding-top: calc(var(--header-h) - var(--pd-40));
  }

  .intro-story {
    display: grid;
    grid-template-columns: minmax(0, 0.93fr) minmax(300px, 0.87fr);
    min-height: 0;
    padding: 64px 0 98px;
    align-items: start;
    gap: 8%;
  }

  .intro-story h1 {
    font-size: clamp(2.375rem, 3.25vw, 3.375rem);
    line-height: 1.28;
  }

  .intro-story__copy {
    margin-top: 0;
    padding-bottom: var(--sp-1);
    font-size: 1rem;
  }

  .intro-story__lead {
    font-size: 1.1875rem;
  }

  .intro-values ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .intro-values li {
    min-height: 255px;
    padding: 35px 27px;
  }

  .intro-values li + li {
    border-top: 0;
    border-left: 1px solid var(--color-line-soft);
  }

  .intro-values__number {
    margin-bottom: 48px;
  }

  .intro-values strong {
    font-size: 1.375rem;
  }

  .intro-values p {
    font-size: 0.9375rem;
  }

  .intro-promise {
    min-height: 380px;
    margin-top: 98px;
    padding: 62px;
    background-position: center center;
  }

  .intro-promise h2 {
    font-size: clamp(1.75rem, 2.65vw, 2.6875rem);
    line-height: 1.4;
  }

  .intro-promise h2::before {
    width: 40px;
    height: 3px;
    margin-bottom: 25px;
  }

  .intro-promise__detail {
    margin-top: 26px;
    font-size: 1rem;
  }

  .intro-closing {
    display: flex;
    margin: 98px 0 18px;
    padding: 0 2%;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-8);
  }

  .intro-closing h2 {
    font-size: clamp(1.6875rem, 2.35vw, 2.375rem);
    line-height: 1.42;
  }

  .intro-closing > p {
    min-width: 280px;
    margin-top: 0;
    font-size: 1rem;
  }

  .intro-help {
    min-height: 112px;
    margin: 90px 0 110px;
    padding: var(--pd-20) 48px;
    flex-wrap: nowrap;
  }

  .intro-help__message {
    flex-basis: auto;
  }

  .intro-help__icon {
    width: 52px;
    height: 52px;
    margin-right: var(--sp-4);
  }

  .intro-help strong {
    font-size: 1.125rem;
  }

  .intro-help__actions {
    width: auto;
    margin: 0 0 0 var(--sp-6);
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .intro-help__primary,
  .intro-help__link {
    font-size: 0.875rem;
  }
}

/* 768~1023px에서도 로고와 GNB가 눌리지 않도록 이 페이지의 태블릿 헤더만 조밀하게 배치한다. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .intro-body .site-header {
    padding-right: var(--sp-3);
    padding-left: var(--sp-3);
  }

  .intro-body .site-header__inner {
    gap: var(--sp-2);
    padding-right: var(--sp-4);
    padding-left: var(--sp-4);
  }

  .intro-body .logo {
    flex: 0 0 auto;
  }

  .intro-body .logo img {
    height: var(--sp-8);
  }

  .intro-body .gnb {
    gap: var(--sp-3);
  }

  .intro-body .gnb__link,
  .intro-body .gnb__trigger,
  .intro-body .header-actions__login,
  .intro-body .header-actions__member {
    font-size: 0.75rem;
  }

  .intro-body .gnb__trigger-chevron {
    display: none;
  }
}

@media (min-width: 1280px) {
  .intro-story {
    padding: 88px 0 126px;
    gap: 11%;
  }

  .intro-story__copy {
    font-size: 1.0625rem;
  }

  .intro-story__lead {
    font-size: 1.3125rem;
  }

  .intro-values li {
    min-height: 285px;
    padding: 42px;
  }

  .intro-values__number {
    margin-bottom: 58px;
  }

  .intro-values strong {
    font-size: 1.5625rem;
  }

  .intro-promise {
    min-height: 410px;
    margin-top: 132px;
    padding: 72px 82px;
  }

  .intro-closing {
    margin-top: 124px;
    padding: 0 6.2%;
    gap: 60px;
  }

  .intro-help {
    padding-right: 70px;
    padding-left: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-values li {
    transition: none;
  }
}
