/* =============================================================================
 * 손품제로 SZ - 홈(소개) 페이지 전용 디자인 (site.css 위에 덧입힘, 접두어 hm-)
 * Copyright (c) 2026 SZ Corp. All rights reserved.
 * [KO] 본 소스코드와 화면 구성은 저작권법 등 관련 법령으로 보호되는 저작물이자 영업비밀입니다. 무단 복제·수정·배포·역공학을
 *      금지하며, 위반 시 민사·형사상 법적 조치를 취할 수 있습니다.
 * [EN] This source code and layout are copyrighted works and trade secrets. Unauthorized copying, modification, distribution
 *      or reverse engineering is prohibited and may result in civil and criminal legal action.
 * 휴대폰(≤760px)을 먼저 생각해서 만든다: 표 대신 카드, 큰 터치 버튼, 하단 고정 시작 버튼.
 * ============================================================================= */

/* 히어로 */
.hm-hero { padding: 64px 0 48px; background: radial-gradient(900px 420px at 80% 0%, rgba(227,176,45,.18), transparent 70%), var(--bg); }
.hm-hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.hm-hero h1 { margin: 0 0 18px; font-size: 50px; line-height: 1.2; letter-spacing: -1.4px; font-weight: 800; }
.hm-hero .lead { font-size: 18px; color: var(--sub); margin: 0 0 26px; max-width: 540px; }
.hm-hero .lead b { color: var(--ink); background: linear-gradient(transparent 62%, rgba(227,176,45,.38) 0); }
.hm-acts { display: flex; gap: 12px; flex-wrap: wrap; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.hm-chips li { font-size: 13.5px; color: var(--sub); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 13px; }
.hm-chips li b { color: var(--gold-ink); }

/* 후보 카드(앱 화면 예시) */
.hm-app { border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 24px 60px -22px rgba(94,60,10,.3); overflow: hidden; }
.hm-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #f6efdc; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--sub); }
.hm-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e0cfa0; }
.hm-bar span { margin-left: 6px; font-weight: 600; }
.hm-sum { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--sub); }
.hm-sum b { color: var(--ink); font-size: 15px; margin-right: 8px; }
.hm-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.hm-row:last-child { border-bottom: 0; }
.hm-row .th { width: 64px; height: 48px; border-radius: 8px; background: #f3ecd9; overflow: hidden; display: block; }
.hm-row .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-row .nm { font-size: 14px; line-height: 1.4; min-width: 0; }
.hm-row .nm b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-row .nm span { color: var(--mute); font-size: 12.5px; }
.hm-row .nm em { font-style: normal; color: var(--sub); font-size: 12.5px; display: block; }
.hm-row .pf { text-align: right; line-height: 1.3; }
.hm-row .pf small { display: block; font-size: 11.5px; color: var(--mute); }
.hm-row .pf b { font-size: 16px; color: var(--ok); }
.hm-row .pf b.neg { color: var(--mute); }
.hm-row.dim { opacity: .55; }
.hm-mall { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--gold-ink); background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: 6px; padding: 0 7px; margin-right: 4px; vertical-align: 1px; }
.hm-foot { padding: 10px 16px; background: var(--bg2); font-size: 12px; color: var(--sub); border-top: 1px solid var(--line); }
.hm-cap { font-size: 12.5px; color: var(--mute); margin: 10px 4px 0; }

/* 숫자 띠 */
.hm-facts { background: var(--dark); color: var(--on-dark); }
.hm-facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hm-fact { padding: 26px 18px; border-left: 1px solid var(--dark-line); text-align: center; }
.hm-fact:first-child { border-left: 0; }
.hm-fact b { display: block; font-size: 30px; letter-spacing: -.8px; color: var(--gold-1); line-height: 1.2; }
.hm-fact span { font-size: 14px; color: var(--on-dark-sub); }

/* 고민 → 해결 */
.hm-pain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hm-pain > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; }
.hm-pain .q { display: block; font-size: 24px; margin-bottom: 8px; }
.hm-pain p { margin: 0; color: var(--sub); font-size: 15px; }
.hm-pain p b { color: var(--ink); }
.hm-solve { margin-top: 22px; padding: 20px 24px; border-radius: var(--r); background: linear-gradient(120deg, #fbefc9, #f6e1a3); border: 1px solid var(--gold-line); font-size: 18px; font-weight: 700; letter-spacing: -.3px; text-align: center; }

/* 플랫폼 띠 */
.hm-plat { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.hm-plat .wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.hm-plat .lab { font-size: 13px; font-weight: 700; color: var(--gold-ink); letter-spacing: .4px; }
.hm-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.hm-tags span { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 15px; font-size: 14px; font-weight: 600; color: var(--sub); }
.hm-tags span.real { border-color: var(--gold-line); background: var(--gold-soft); color: var(--gold-ink); }

/* 기능 상세 */

/* KREAM 통합 확장팩 카드 */

/* 시작 5단계 */
.hm-steps { list-style: none; counter-reset: hs; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.hm-steps li { counter-increment: hs; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 16px 18px; }
.hm-steps li::before { content: counter(hs); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(120deg, #efc247, #cf8d27); color: #2a1c04; font-weight: 800; margin-bottom: 12px; }
.hm-steps li > b { display: block; font-size: 16.5px; margin-bottom: 4px; }
.hm-steps li p { margin: 0; font-size: 14px; color: var(--sub); line-height: 1.6; }
.hm-steps li.key { border-color: var(--gold); background: linear-gradient(180deg, #fffaf0, #fff 60%); box-shadow: 0 14px 34px -18px rgba(156,92,8,.4); }
.hm-steps li.key::after { content: '꼭 하세요'; position: absolute; top: 16px; right: 14px; font-size: 11.5px; font-weight: 800; color: #fff; background: var(--gold-3); border-radius: 999px; padding: 1px 9px; }
.hm-verify { margin-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; background: var(--warn-bg); border: 1px solid #f1d28a; border-radius: var(--r); padding: 18px 20px; }
.hm-verify .ic { font-size: 28px; line-height: 1; }
.hm-verify > div > b { display: block; font-size: 16.5px; color: var(--warn); margin-bottom: 4px; }
.hm-verify p { margin: 0; font-size: 14.5px; color: #5d4309; line-height: 1.7; }
.hm-verify p + p { margin-top: 4px; }

/* 요금 */
.hm-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.hm-plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.hm-plan.hot { border-color: var(--gold); box-shadow: 0 18px 44px -18px rgba(156,92,8,.35); background: linear-gradient(180deg, #fffaf0, #fff 42%); }
.hm-plan h4 { margin: 0 0 4px; font-size: 18px; }
.hm-plan .pr { font-size: 32px; font-weight: 800; letter-spacing: -1px; line-height: 1.3; }
.hm-plan .pr small { font-size: 14px; font-weight: 500; color: var(--mute); letter-spacing: 0; }
.hm-plan .ps { color: var(--mute); font-size: 13.5px; margin-bottom: 4px; }
.hm-plan ul { list-style: none; padding: 0; margin: 14px 0 18px; font-size: 14.5px; color: var(--sub); flex: 1; }
.hm-plan li { padding: 5px 0 5px 22px; position: relative; }
.hm-plan li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.hm-plan .btns { display: grid; gap: 8px; }
.hm-plan .btns .btn { height: 44px; font-size: 14.5px; }
.hm-save { font-size: 13px; color: var(--ok); font-weight: 700; margin-top: 2px; }

/* 하단 고정 시작 버튼(휴대폰) */
.hm-fab { display: none; }

@media (max-width: 960px) {
  .hm-hero .wrap { grid-template-columns: 1fr; gap: 30px; }
  .hm-hero h1 { font-size: 40px; }
  .hm-pain { grid-template-columns: 1fr 1fr; }
  .hm-steps { grid-template-columns: 1fr 1fr; }
  .hm-plans { grid-template-columns: 1fr; }
  .hm-facts .wrap { grid-template-columns: 1fr 1fr; }
  .hm-fact:nth-child(3) { border-left: 0; }
  .hm-fact:nth-child(n+3) { border-top: 1px solid var(--dark-line); }
}
@media (max-width: 760px) {
  .hm-fab { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; gap: 8px; align-items: center; justify-content: center; height: 54px; border-radius: 14px; text-decoration: none; font-weight: 800; font-size: 16px; color: #2a1c04; background: linear-gradient(120deg, #efc247, #d99a2b 60%, #c98622); box-shadow: 0 10px 28px -6px rgba(94,60,10,.5); transform: translateY(90px); opacity: 0; transition: transform .25s, opacity .25s; }
  .hm-fab.show { transform: none; opacity: 1; }
  body.hm { padding-bottom: 78px; }
}
@media (max-width: 560px) {
  .hm-hero { padding: 36px 0 30px; }
  .hm-hero h1 { font-size: 33px; letter-spacing: -1px; }
  .hm-hero .lead { font-size: 16.5px; }
  .hm-acts .btn { width: 100%; }
  .hm-row { grid-template-columns: 52px 1fr auto; gap: 10px; padding: 11px 12px; }
  .hm-row .th { width: 52px; height: 40px; }
  .hm-row .nm b { font-size: 13.5px; }
  .hm-row .pf b { font-size: 15px; }
  .hm-pain, .hm-steps { grid-template-columns: 1fr; }
  .hm-fact { padding: 20px 10px; }
  .hm-fact b { font-size: 21px; letter-spacing: -.6px; }
  .hm-verify { grid-template-columns: 1fr; gap: 6px; }
  .hm-solve { font-size: 16px; padding: 16px; }
  .hm-plan .pr { font-size: 28px; }
}

/* 휴대폰에서 볼 때: PC로 링크 보내기 (프로그램은 PC 설치용) */
.hm-pc { margin: 16px 0 0; padding: 14px 16px; border-radius: var(--r); background: var(--card); border: 1px dashed var(--gold-line); font-size: 14px; color: var(--sub); line-height: 1.6; }
.hm-pc > b { display: block; color: var(--ink); font-size: 15px; }
.hm-pc .r { display: flex; gap: 8px; margin-top: 10px; }
.hm-pc .r .btn { flex: 1; height: 42px; }
.hm-pc small { display: block; margin-top: 8px; color: var(--ok); font-weight: 600; min-height: 1em; }

/* 문의 카드 · 맨 아래 설치 구역 */
.hm-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hm-cc { display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 24px 20px; text-decoration: none; color: inherit; transition: transform .12s, box-shadow .12s, border-color .12s; }
.hm-cc:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 14px 34px -16px rgba(156,92,8,.35); }
.hm-cc .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); border: 1px solid var(--gold-line); font-size: 21px; }
.hm-cc b { font-size: 19px; margin-top: 6px; }
.hm-cc p { margin: 0; color: var(--sub); font-size: 15px; flex: 1; }
.hm-cc .go { margin-top: 8px; font-weight: 700; color: var(--gold-ink); }
.hm-dl .kicker { color: var(--gold-ink); }
.hm-dl .wrap > p b { color: var(--ink); }
.hm-dlacts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 4px; }
@media (max-width: 760px) { .hm-contact { grid-template-columns: 1fr; } .hm-dlacts .btn { width: 100%; } }

/* 히어로 한 칸(예시 카드 제거) + 기능별 설명 구간(실제 화면 + 번호 설명) */
.hm-hero.one .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 0; }
.hm-hero.one .lead { margin-left: auto; margin-right: auto; max-width: 640px; }
.hm-hero.one .hm-acts, .hm-hero.one .hm-chips { justify-content: center; }

/* 계속 무료 안내 띠 */
.hm-freebar { background: var(--ok-bg); border-bottom: 1px solid #bfe6d1; }
.hm-freebar .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: center; padding-top: 14px; padding-bottom: 14px; font-size: 15px; color: var(--sub); }
.hm-freebar b { color: var(--ok); font-size: 16px; }
.hm-freebar a { color: var(--ok); font-weight: 700; text-decoration: none; }

/* 텔레그램 알림 사진 2장 나란히 */

/* 홈 20초 소개 영상 */
.hm-video { text-align: center; padding-bottom: 56px; }
.hm-video .sub { margin-left: auto; margin-right: auto; margin-bottom: 26px; }
.hm-reel { max-width: 360px; margin: 0 auto; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 24px 60px -24px rgba(94,60,10,.35); }
.hm-reel video { display: block; width: 100%; height: auto; }
