/* 이거얼마 공개 웹 공통 스타일 — 시안 docs/design-handoff/2026-12-03-public-web/ 4회차가 기준.
   색·이름은 docs/brand/README.md 가 이긴다. 폭 960 미만은 폰 판, 이상은 PC 판이다.
   ⚠️ 인라인 style 속성을 쓰지 않는다 — _headers 의 CSP(style-src 'self')가 막는다. */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: #191F28;
  background: #FFFFFF;
  letter-spacing: -0.01em;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: #0967E8; }
a:hover { color: #064FB5; }
a:focus-visible, summary:focus-visible { outline: 3px solid #0967E8; outline-offset: 2px; border-radius: 6px; }

@media (max-width: 959.98px) { .pc-only { display: none !important; } }
@media (min-width: 960px) { .phone-only { display: none !important; } }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
@media (min-width: 960px) { .wrap { padding: 0 40px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 8px 12px; border-radius: 8px; background: #20201D; color: #FFFFFF; }
.skip:focus { left: 8px; color: #FFFFFF; }

/* ---------- 머리 ---------- */
.top { border-bottom: 1px solid #E5E8EB; background: #FFFFFF; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 8px; color: #20201D; text-decoration: none; }
.brand:hover { color: #20201D; }
.brand-icon { width: 32px; height: 32px; border-radius: 8px; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.brand-logo { width: 176px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.nav-link { color: #191F28; text-decoration: none; }
.nav-link:hover { color: #0967E8; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #20201D; color: #FFFFFF; font-size: 14px; font-weight: 700; text-decoration: none; }
.pill:hover { background: #3A3A35; color: #FFFFFF; }
@media (min-width: 960px) { .pill { padding: 0 20px; font-size: 15px; } }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 14px; background: #20201D; color: #FFFFFF; font-size: 16px; font-weight: 700; text-decoration: none; }
.btn:hover { background: #3A3A35; color: #FFFFFF; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.note { font-size: 12px; font-weight: 600; }
.qr { width: 112px; height: 112px; padding: 6px; border-radius: 14px; background: #FFFFFF; }
.qr-large { width: 140px; height: 140px; border-radius: 16px; }

/* ---------- 첫 구역 ---------- */
.hero { background: #FFD447; color: #20201D; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 12px; row-gap: 12px; padding-top: 28px; }
.hero-in > .eyebrow, .hero-in > h1, .hero-in > .lead { grid-column: 1 / -1; }
.eyebrow { font-size: 13px; font-weight: 700; }
.hero h1 { font-size: 38px; line-height: 1.14; font-weight: 800; letter-spacing: -0.04em; }
.lead { font-size: 16px; line-height: 1.55; }
.hero-cta { grid-column: 1; margin-top: 8px; padding-bottom: 28px; }
.hero-phone { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero-art { grid-column: 2; display: flex; align-items: flex-end; gap: 20px; }
.character { width: 112px; margin-bottom: 20px; }
@media (min-width: 960px) {
  .hero-in { grid-template-rows: 1fr auto auto auto; column-gap: 48px; row-gap: 18px; padding-top: 64px; }
  .hero-in > .eyebrow, .hero-in > h1, .hero-in > .lead { grid-column: 1; }
  .hero-art { grid-row: 1 / span 4; align-self: end; }
  .eyebrow { font-size: 15px; }
  .hero h1 { font-size: 68px; line-height: 1.1; letter-spacing: -0.045em; }
  .lead { max-width: 26em; font-size: 20px; }
  .hero-cta { margin-top: 10px; padding-bottom: 64px; }
  .hero-pc { display: flex; align-items: center; gap: 16px; }
  .hero-pc-stores { display: flex; flex-direction: column; gap: 10px; }
  .hero-pc .note { font-size: 14px; }
  .character { width: 150px; margin-bottom: 40px; }
  .hero-shot { width: 290px; height: 460px; object-fit: cover; object-position: top; border-radius: 28px 28px 0 0; }
}

/* ---------- 본문 구역 ---------- */
.section { padding-top: 32px; }
.sec-title { margin-bottom: 12px; font-size: 22px; line-height: 1.3; font-weight: 800; letter-spacing: -0.03em; }
@media (min-width: 960px) {
  .section { padding-top: 72px; }
  .sec-title { margin-bottom: 20px; font-size: 30px; }
}

.now-card { display: flex; flex-direction: column; gap: 6px; margin-bottom: 32px; padding: 20px 20px 0; overflow: hidden; border-radius: 16px; background: #20201D; color: #FFFFFF; }
.kicker { font-size: 12px; font-weight: 700; color: #FFD447; }
.now-card h2 { font-size: 18px; font-weight: 800; }
.now-text { font-size: 14px; color: #D5D8DC; }
.now-shot { align-self: center; width: 220px; height: 330px; margin-top: 14px; object-fit: cover; object-position: top; border-radius: 20px 20px 0 0; }
@media (min-width: 960px) {
  .now-card { gap: 10px; margin-bottom: 56px; padding: 32px; border-radius: 20px; }
  .kicker { font-size: 14px; }
  .now-card h2 { font-size: 24px; }
  .now-text { max-width: 36em; font-size: 16px; }
}

.steps { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 12px; }
.num { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #FFD447; color: #20201D; font-weight: 800; }
.step-text { display: flex; flex-direction: column; font-size: 15px; }
.step-text span { font-size: 14px; color: #4E5968; }
@media (min-width: 960px) {
  .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .steps li { flex-direction: column; gap: 12px; padding: 24px; border: 1px solid #E5E8EB; border-radius: 20px; }
  .num { width: 36px; height: 36px; }
  .step-text strong { font-size: 18px; }
  .step-text span { font-size: 15px; }
}

/* ---------- 자주 묻는 질문 ---------- */
details { margin-bottom: 8px; padding: 0 16px; border: 1px solid #E5E8EB; border-radius: 14px; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font-size: 20px; font-weight: 600; color: #5C6B80; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 16px; font-size: 14px; color: #4E5968; }
@media (min-width: 960px) {
  details { margin-bottom: 10px; padding: 0 24px; border-radius: 16px; }
  summary { min-height: 60px; font-size: 17px; }
  details p { margin-bottom: 20px; font-size: 16px; }
}

/* ---------- 앱 받기 ---------- */
.get-card { display: flex; flex-direction: column; gap: 12px; padding: 28px 20px; border-radius: 20px; background: #FFD447; color: #20201D; }
.get-copy { display: flex; flex-direction: column; gap: 12px; }
.get-card h2 { font-size: 24px; line-height: 1.25; font-weight: 800; letter-spacing: -0.03em; }
.get-card p { font-size: 14px; }
@media (min-width: 960px) {
  .get-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 56px; border-radius: 28px; }
  .get-copy { gap: 8px; }
  .get-card h2 { font-size: 36px; line-height: 1.2; letter-spacing: -0.035em; }
  .get-card p { margin-bottom: 12px; font-size: 17px; }
}

/* ---------- 맨 아래 ---------- */
.foot { margin-top: 32px; color: #5C6B80; font-size: 12px; }
.foot-in { display: flex; flex-direction: column; gap: 10px; padding-top: 28px; padding-bottom: 36px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: #4E5968; }
@media (min-width: 960px) {
  .foot { margin-top: 40px; font-size: 13px; }
  .foot-in { flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 4px 24px; padding-top: 40px; padding-bottom: 56px; }
  .foot-links { gap: 4px 24px; }
}

/* ---------- 없는 페이지 ---------- */
.missing { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 48px; padding-bottom: 24px; }
.missing h1 { font-size: 28px; line-height: 1.25; font-weight: 800; letter-spacing: -0.03em; }
.missing p { font-size: 16px; color: #4E5968; }
.missing .btn { margin-top: 8px; }
@media (min-width: 960px) {
  .missing { padding-top: 96px; }
  .missing h1 { font-size: 40px; }
}
