/*
 * 홈페이지(2026-11-12 소유자 요청): 국내 서비스 소개 페이지의 공통 구성을 참고한 깔끔한 서비스 소개.
 * - 한 줄 슬로건 + 서비스 이름, 장점 카드 4개, '두 줄 제목(설명 + 기능 이름) + 2~3문장 + 화면' 기능 소개,
 *   '이런 기능은 어떠세요?' 카드 모음, 사장님 안내 띠, 대상별 자주 묻는 질문.
 * - 다른 회사의 로고·고유 색·문구는 쓰지 않는다. 색은 앱 새 디자인(흰 바탕·검정·초록)에 맞춘다.
 * styles.css 뒤에 얹는다(따라 하기 창·제휴 예시 화면 모양은 styles.css 것을 그대로 쓴다).
 */
:root {
  --h-ink: #151517;
  --h-muted: #5f6066;
  --h-soft: #f5f6f7;
  --h-line: #e8e8eb;
  --h-green: #22a447;
  --h-green-strong: #167a34;
  --h-green-soft: #eaf7ee;
  --h-radius: 24px;
  --h-ease: 250ms ease-in-out;
}

body {
  background: #ffffff;
  color: var(--h-ink);
  font-size: 16px;
  line-height: 1.6;
}

.h-wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.h-skip {
  position: absolute;
  top: 0;
  transform: translateY(-200%);
  left: 16px;
  z-index: 50;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--h-ink);
  color: #ffffff;
}

.h-skip:focus {
  transform: translateY(12px);
}

:where(a, button, summary):focus-visible {
  outline: 3px solid var(--h-green);
  outline-offset: 3px;
  border-radius: 10px;
}

/* 머리글 */
.h-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--h-line);
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(10px);
}

.h-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 64px;
}

.h-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--h-ink);
  font-weight: 800;
  text-decoration: none;
}

.h-brand img {
  border-radius: 8px;
}

.h-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.h-nav a {
  color: var(--h-muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--h-ease);
}

.h-nav a:hover {
  color: var(--h-ink);
}

/* 단추 */
.h-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--h-ink);
  border-radius: 999px;
  background: var(--h-ink);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color var(--h-ease),
    color var(--h-ease);
}

.h-button:hover {
  background: #2e2e33;
}

.h-button--small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.h-button--ghost {
  background: #ffffff;
  color: var(--h-ink);
}

.h-button--ghost:hover {
  background: var(--h-soft);
}

/* 첫 화면 */
.h-hero {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--h-green-soft) 100%);
}

.h-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 40px;
  padding-top: 88px;
}

.h-hero__copy {
  padding-bottom: 104px;
}

.h-hero__tagline {
  margin: 0 0 10px;
  color: var(--h-green-strong);
  font-size: 1.15rem;
  font-weight: 800;
}

.h-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.h-hero__lead {
  margin: 0 0 32px;
  color: var(--h-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.6;
}

.h-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.h-hero__visual {
  justify-self: center;
  width: min(340px, 80vw);
}

.h-hero__visual img,
.h-feature__phone,
.h-feature__phones img {
  display: block;
  width: 100%;
  border-radius: 32px;
  box-shadow:
    0 2px 6px rgb(0 0 0 / 6%),
    0 24px 48px rgb(0 0 0 / 12%);
}

.h-hero__visual img {
  border-radius: 32px 32px 0 0;
}

/* 섹션 제목: 위 줄 설명, 아래 줄 굵게 */
.h-section-title {
  margin: 0 0 40px;
  font-size: clamp(28px, 4.4vw, 36px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-align: center;
}

.h-section-title span,
.h-feature h2 span,
.h-iphone h2 span {
  display: block;
  color: var(--h-muted);
  font-size: 0.62em;
  font-weight: 700;
}

/* 장점 카드 */
.h-values {
  padding: 96px 0;
}

.h-values__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.h-values__list li {
  padding: 28px 24px;
  border-radius: var(--h-radius);
  background: var(--h-soft);
}

.h-values__icon {
  display: block;
  margin-bottom: 14px;
  font-size: 2rem;
}

.h-values__list strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.35;
}

.h-values__list p {
  margin: 10px 0 0;
  color: var(--h-muted);
}

/* 기능 소개 */
.h-feature {
  padding: 104px 0;
}

.h-feature--soft {
  background: var(--h-soft);
}

.h-feature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.h-feature__inner--reverse .h-feature__copy {
  order: 2;
}

.h-label {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--h-green-soft);
  color: var(--h-green-strong);
  font-size: 0.9rem;
  font-weight: 800;
}

.h-feature h2,
.h-iphone h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 4.6vw, 40px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.h-feature__copy > p:not(.h-label) {
  max-width: 34em;
  margin: 0;
  color: var(--h-muted);
  font-size: 1.1rem;
}

.h-feature__phone {
  justify-self: center;
  width: min(320px, 78vw);
}

.h-feature__phones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 520px;
  justify-self: center;
}

.h-feature__phones img:last-child {
  margin-top: 48px;
}

/* 이런 기능은 어떠세요? */
.h-more {
  padding: 104px 0;
  background: var(--h-soft);
}

.h-more__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.h-more__grid li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 16px;
  align-items: start;
  padding: 24px;
  border-radius: var(--h-radius);
  background: #ffffff;
}

.h-more__grid span {
  grid-row: span 2;
  display: grid;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--h-green-soft);
  font-size: 1.5rem;
  place-items: center;
}

.h-more__grid strong {
  font-size: 1.08rem;
}

.h-more__grid p {
  margin: 0;
  color: var(--h-muted);
  font-size: 0.95rem;
}

/* 사장님 안내 띠 */
.h-owner {
  padding: 72px 0;
  background: var(--h-ink);
  color: #ffffff;
}

.h-owner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.h-owner h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3.4vw, 28px);
  font-weight: 900;
  line-height: 1.35;
}

.h-owner p {
  margin: 0;
  color: #c9c9cf;
}

.h-owner .owner-box__button,
.h-owner .button {
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--h-ink);
  box-shadow: none;
}

/* 약속 */
.h-promise {
  padding: 104px 0;
}

.h-promise__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.h-promise__list li > :is(a, strong) {
  display: flex;
  height: 100%;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--h-line);
  border-radius: 20px;
  color: var(--h-ink);
  text-decoration: none;
  transition: border-color var(--h-ease);
}

.h-promise__list a:hover {
  border-color: var(--h-ink);
}

.h-promise__list i {
  color: var(--h-muted);
  font-style: normal;
}

/* 아이폰 */
.h-iphone {
  padding: 96px 0;
  background: var(--h-green-soft);
}

.h-iphone__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.h-iphone__steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.h-iphone__steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #ffffff;
  font-weight: 700;
}

.h-iphone__steps b {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--h-green);
  color: #ffffff;
  place-items: center;
}

/* 자주 묻는 질문 */
.h-faq {
  padding: 104px 0;
}

.h-faq__inner {
  max-width: 760px;
}

.h-faq__group {
  margin: 40px 0 12px;
  color: var(--h-green-strong);
  font-size: 1rem;
  font-weight: 800;
}

.h-faq details {
  border-bottom: 1px solid var(--h-line);
}

.h-faq summary {
  padding: 20px 4px;
  font-size: 1.08rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.h-faq summary::-webkit-details-marker {
  display: none;
}

.h-faq summary::after {
  content: '+';
  float: right;
  color: var(--h-muted);
  font-size: 1.3rem;
  line-height: 1;
}

.h-faq details[open] summary::after {
  content: '−';
}

.h-faq details p {
  margin: 0 4px 20px;
  color: var(--h-muted);
}

/* 마지막 안내 */
.h-cta {
  padding: 96px 0;
  background: var(--h-soft);
  text-align: center;
}

.h-cta__inner {
  display: grid;
  justify-items: center;
  gap: 20px;
}

.h-cta img {
  border-radius: 16px;
}

.h-cta h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 900;
}

.h-cta .h-hero__actions {
  justify-content: center;
}

/* 바닥글 */
.site-footer {
  background: #1b1b1f;
}

/* 좁은 화면 */
@media (max-width: 960px) {
  .h-nav {
    display: none;
  }

  .h-header__inner {
    justify-content: space-between;
  }

  .h-values__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .h-promise__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .h-more__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .h-hero__inner,
  .h-feature__inner,
  .h-iphone__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .h-hero__inner {
    padding-top: 56px;
  }

  .h-hero__copy {
    padding-bottom: 32px;
  }

  .h-hero__lead br {
    display: none;
  }

  .h-feature__inner--reverse .h-feature__copy {
    order: 0;
  }

  .h-feature,
  .h-values,
  .h-more,
  .h-promise,
  .h-faq {
    padding: 72px 0;
  }

  .h-more__grid,
  .h-promise__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .h-button,
  .h-nav a,
  .h-promise__list a {
    transition: none;
  }
}

/* 제휴 예시 화면: 옛 파랑 대신 앱 색 */
.partner-mock__pass {
  background: var(--h-ink);
}

.partner-mock__card {
  border-color: var(--h-line);
  box-shadow: 0 16px 40px rgb(0 0 0 / 8%);
}

/* 글꼴 시안(2026-11-12): 제목·짧은 문구는 손글씨 개구(Gaegu), 본문은 Pretendard.
 * 개구는 같은 크기에서 작아 보여 15%쯤 키우고, 굵기는 700(가장 굵은 판)만 쓴다. 글자·낱말 사이는 조금 좁힌다. */
.h-brand span,
.h-hero__tagline,
.h-hero h1,
.h-section-title,
.h-feature h2,
.h-iphone h2,
.h-owner h2,
.h-cta h2,
.h-promises__title,
.h-values strong {
  font-family: 'Gaegu', 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-weight: 700;
  /* 개구는 글자·낱말 사이가 넓어 조금 좁힌다. */
  letter-spacing: -0.03em;
  word-spacing: -0.12em;
}

.h-brand span {
  font-size: 1.3em;
}

.h-hero__tagline {
  font-size: 1.45rem;
}

.h-hero h1 {
  font-size: clamp(48px, 8.2vw, 76px);
  line-height: 1.05;
}

.h-section-title {
  font-size: clamp(32px, 5vw, 42px);
}

.h-feature h2,
.h-iphone h2 {
  font-size: clamp(34px, 5.2vw, 46px);
  line-height: 1.2;
}

.h-owner h2 {
  font-size: clamp(26px, 3.9vw, 32px);
}

.h-cta h2 {
  font-size: clamp(30px, 4.6vw, 40px);
}

.h-values strong {
  font-size: 1.3rem;
  line-height: 1.25;
}
