/* 내차정비 홈페이지 스타일(고객 앱 디자인 토큰 기준, 모바일 우선) */
:root {
  --white: #ffffff;
  --grey50: #f9fafb;
  --grey100: #f2f4f6;
  --grey200: #e5e8eb;
  --grey500: #8b95a1;
  --grey600: #6b7684;
  --grey700: #4e5968;
  --grey800: #242832;
  --grey900: #191f28;
  --blue400: #4593fc;
  --blue500: #3182f6;
  --blue600: #2272eb;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  color: var(--grey800);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.br-m { display: inline; }

/* 머리글 */
.hd { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--grey100); }
.hd-in { display: flex; align-items: center; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand img:first-child { width: 30px; height: 30px; }
.brand-word { width: 70px; height: auto; }
.nav { display: none; margin-left: auto; gap: 28px; font-size: 15px; font-weight: 600; color: var(--grey700); }
.nav a:hover { color: var(--blue500); }
.hd .btn-sm { margin-left: auto; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 22px; border-radius: 14px; font-size: 16px; font-weight: 700; transition: background .15s; }
.btn-sm { height: 38px; padding: 0 14px; border-radius: 10px; font-size: 14px; }
.btn-primary { background: var(--blue500); color: var(--white); }
.btn-primary:hover { background: var(--blue600); }

.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px 0 14px; border-radius: 14px; background: var(--grey900); color: var(--white); min-width: 164px; transition: transform .15s; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; font-size: 17px; font-weight: 700; line-height: 1.15; }
.store small { font-size: 11px; font-weight: 500; opacity: .8; }
.store-light { background: var(--white); color: var(--grey900); }

/* 공통 글자 */
.eyebrow { font-size: 15px; font-weight: 700; color: var(--blue500); margin-bottom: 10px; }
h1 { font-size: 32px; line-height: 1.3; font-weight: 800; color: var(--grey900); letter-spacing: -0.02em; }
h1 em { font-style: normal; color: var(--blue500); }
h2 { font-size: 26px; line-height: 1.35; font-weight: 800; color: var(--grey900); letter-spacing: -0.02em; }
h3 { font-size: 20px; line-height: 1.4; font-weight: 700; color: var(--grey900); }
.lead { font-size: 17px; color: var(--grey700); margin-top: 16px; }
.note { font-size: 14px; color: var(--grey600); margin-top: 12px; }

/* 휴대폰 화면 */
.phone { border-radius: 28px; overflow: hidden; background: var(--white); box-shadow: 0 20px 48px rgba(25,31,40,.16), 0 0 0 6px var(--grey900); }
.phone img { width: 100%; height: auto; }

/* 첫 화면 */
.hero { background: linear-gradient(180deg, #eef5ff 0%, var(--white) 100%); padding: 40px 0 56px; overflow: hidden; }
.hero-in { display: flex; flex-direction: column; gap: 40px; }
.hero .stores { margin-top: 28px; }
.hero-visual { position: relative; width: 240px; margin: 0 auto; }
.hero-visual .phone-back { display: none; }

/* 구역 */
.section { padding: 64px 0; }
.section.grey { background: var(--grey50); }
.section h2 + * { margin-top: 32px; }

/* 기능 */
.feature { display: flex; flex-direction: column; gap: 28px; padding: 40px 0; border-bottom: 1px solid var(--grey100); }
.feature:last-child { border-bottom: 0; }
.feature .ico { width: 52px; height: 52px; margin-bottom: 16px; }
.feature p { margin-top: 10px; color: var(--grey700); font-size: 17px; }
.feature .tag { display: inline-block; margin-top: 16px; padding: 8px 12px; border-radius: 10px; background: var(--grey100); color: var(--grey800); font-size: 14px; font-weight: 600; }
.feature-visual { width: 220px; margin: 0 auto; }
.feature-visual.duo { display: flex; gap: 16px; width: 100%; max-width: 380px; }
.feature-visual.duo .phone { flex: 1; border-radius: 22px; }

/* 이용 방법 */
.steps { display: grid; gap: 14px; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--grey200); }
.steps .num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue500); color: var(--white); font-weight: 800; font-size: 15px; margin-bottom: 12px; }
.steps p { margin-top: 6px; color: var(--grey700); }

/* 동행점 */
.section.dark { background: var(--grey900); color: #d1d6db; }
.dark h2, .dark h3 { color: var(--white); }
.dark .eyebrow { color: var(--blue400); }
.dark .lead { color: #b0b8c1; }
.app-ico { width: 60px; height: 60px; border-radius: 14px; margin-bottom: 18px; }
.partners-body { display: flex; flex-direction: column; gap: 40px; margin-top: 36px; }
.pfeat { display: grid; gap: 12px; }
.pfeat li { background: var(--grey800); border-radius: var(--radius); padding: 20px 22px; }
.pfeat h3 { font-size: 18px; }
.pfeat p { margin-top: 4px; font-size: 15px; color: #b0b8c1; }
.pshots { display: flex; gap: 12px; }
.pshots .phone { flex: 1; border-radius: 18px; box-shadow: 0 0 0 4px #4e5968; }
.partners-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 40px; }
.pending { display: inline-block; padding: 10px 14px; border-radius: 10px; background: var(--grey800); color: var(--white); font-size: 15px; font-weight: 600; }

/* 자주 묻는 질문 */
.faq { border-top: 1px solid var(--grey200); }
.faq details { border-bottom: 1px solid var(--grey200); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font-size: 17px; font-weight: 700; color: var(--grey900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--grey500); border-bottom: 2px solid var(--grey500); transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { padding: 0 4px 20px; color: var(--grey700); }
.faq-more { margin-top: 24px; text-align: center; font-size: 15px; color: var(--grey600); }
.faq-more a { color: var(--blue500); font-weight: 600; }

/* 하단 설치 안내 */
.section.cta { background: var(--blue500); color: var(--white); }
.cta h2 { color: var(--white); }
.cta .stores { margin-top: 24px; }
.cta-in { display: flex; flex-direction: column; gap: 32px; }
.qr { display: none; }

/* 바닥글 */
.ft { background: var(--grey50); padding: 36px 0 48px; font-size: 13px; color: var(--grey600); }
.ft-links { display: flex; gap: 20px; margin-bottom: 16px; font-size: 14px; color: var(--grey800); }
.ft-links a:hover { color: var(--blue500); }
.ft address { font-style: normal; line-height: 1.8; }
.copy { margin-top: 12px; color: var(--grey500); }

/* 태블릿 이상 */
@media (min-width: 768px) {
  .br-m { display: none; }
  .nav { display: flex; }
  .hd .btn-sm { margin-left: 8px; }
  h1 { font-size: 46px; }
  h2 { font-size: 36px; }
  h3 { font-size: 24px; }
  .lead { font-size: 19px; }
  .hero { padding: 72px 0 88px; }
  .hero-in { flex-direction: row; align-items: center; justify-content: space-between; }
  .hero-text { flex: 1; max-width: 560px; }
  .hero-visual { width: 280px; margin: 0 40px 0 0; }
  .hero-visual .phone-back { display: block; position: absolute; width: 240px; top: 60px; left: -150px; z-index: -1; opacity: .9; }
  .hero-visual { z-index: 0; }
  .section { padding: 96px 0; }
  .feature { flex-direction: row; align-items: center; justify-content: space-between; gap: 64px; padding: 64px 0; }
  .feature.rev { flex-direction: row-reverse; }
  .feature-text { flex: 1; max-width: 480px; }
  .feature-visual { width: 260px; margin: 0; }
  .feature-visual.duo { width: 440px; max-width: none; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .partners-body { flex-direction: row; align-items: center; gap: 56px; }
  .pfeat { flex: 1; }
  .pshots { flex: 1; }
  .cta-in { flex-direction: row; align-items: center; justify-content: space-between; }
  .qr { display: flex; align-items: center; gap: 16px; max-width: 320px; background: var(--white); color: var(--grey700); border-radius: var(--radius); padding: 16px; font-size: 14px; }
  .qr img { width: 96px; height: 96px; flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.ft address span { white-space: nowrap; }
.ft address span:not(:last-child)::after { content: '·'; margin: 0 6px; color: var(--grey400, #b0b8c1); }
