/* WIGER 공통 스타일 */
:root {
  --bg: #0E1012;
  --bg-2: #121518;
  --surface: #171A1D;
  --surface-2: #1D2125;
  --line: #2A2F34;
  --line-2: #3A4147;
  --text: #F2F4F5;
  --text-2: #C9D0D5;
  --muted: #9AA3AA;
  --mint: #ABFFAB;   /* C33 M0 Y33 K0 */
  --kakao: #FEE500;
  --kakao-ink: #191600;
  --radius: 20px;
  --wrap: 1240px;
  --font: 'Pretendard', 'Noto Sans KR', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-en: 'Space Grotesk', var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; word-break: keep-all; }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { margin: 0; font-family: var(--font-en); font-size: 14px; letter-spacing: .2em; color: var(--mint); }
h1, h2, h3 { margin: 0; line-height: 1.3; }
p { margin: 0; }
.muted { color: var(--muted); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--mint); color: var(--bg); }
.btn-line { border-color: var(--mint); color: var(--text); background: transparent; }
.btn-ghost { border-color: var(--line-2); color: var(--text-2); background: transparent; }
.btn-kakao { background: var(--kakao); color: var(--kakao-ink); }
.btn-lg { min-height: 56px; font-size: 17px; padding: 0 30px; }
.btn-block { width: 100%; }
.is-disabled { opacity: .45; pointer-events: none; }

/* 헤더 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14,16,18,.92); backdrop-filter: blur(8px); border-bottom: 1px solid #22272B; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo img { height: 28px; width: auto; }
.nav { display: flex; gap: 24px; flex: 1; font-size: 15px; font-weight: 500; }
.nav a { color: var(--text-2); padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--mint); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: none; color: var(--text); cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .site-header .btn-primary { display: none; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid #22272B; padding: 8px 24px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid #1D2125; }
}

/* 섹션 */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid #22272B; border-bottom: 1px solid #22272B; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 10px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
@media (max-width: 640px) { .section { padding: 64px 0; } }

/* 메인 히어로 */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid #22272B; background: var(--surface-2); }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,16,18,.88) 0%, rgba(14,16,18,.55) 60%, rgba(14,16,18,.35) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 160px; padding-bottom: 140px; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(40px, 6vw, 84px); font-weight: 900; letter-spacing: -.02em; line-height: 1.12; }
.hero p.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--text-2); max-width: 620px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 640px) { .hero .wrap { padding-top: 96px; padding-bottom: 88px; } }

/* 호환 검색 */
.fit { padding: 40px; display: grid; gap: 28px; }
.fit-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.field { flex: 1 1 160px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.select { height: 52px; width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; }
.select:disabled { opacity: .5; }
.fit-result { border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; }
.spec { display: grid; gap: 10px; }
.spec-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.spec-row span:first-child { color: var(--muted); }
.spec-row.strong { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 700; }
.spec-row.strong span:last-child { color: var(--mint); }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.fit-actions { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 640px) { .fit { padding: 24px; } }

/* 카드류 */
.product-img, .ph { background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.product-img { height: 240px; border-radius: var(--radius) var(--radius) 0 0; }
.product-body { padding: 24px; display: grid; gap: 8px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: baseline; }
.steps b { font-family: var(--font-en); color: var(--mint); }
.arm-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.arm-btn { min-height: 48px; border-radius: 12px; background: var(--surface); color: var(--text); border: 1px solid var(--line-2); font-weight: 700; font-size: 15px; cursor: pointer; padding: 8px; }
.arm-btn[aria-pressed="true"] { background: var(--mint); color: var(--bg); border-color: var(--mint); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: none; border: 0; color: var(--text); cursor: pointer; width: 100%; }
.video-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.play { position: relative; width: 72px; height: 72px; border-radius: 999px; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.video-label { position: relative; font-weight: 700; font-size: 17px; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.store-card { padding: 28px 24px; border-radius: 16px; display: flex; flex-direction: column; gap: 6px; }
.store-card.main { background: var(--mint); color: var(--bg); }
.store-card .name { font-size: 20px; font-weight: 900; display: flex; justify-content: space-between; }

/* 푸터 */
.site-footer { border-top: 1px solid #22272B; background: #0A0C0D; padding: 56px 0 32px; font-size: 13px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.site-footer img { height: 22px; width: auto; margin-bottom: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; align-content: flex-start; font-size: 14px; }
.site-footer nav a { color: var(--text-2); }
.copy { text-align: center; margin-top: 32px; font-size: 12px; }

/* 모바일 랜딩 공통 (QR) */
.m-wrap { max-width: 480px; margin: 0 auto; }
.m-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; background: rgba(14,16,18,.94); border-bottom: 1px solid #22272B; }
.m-header .logo img { height: 22px; }
.chip-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 700; border: 1px solid var(--mint); }
