/* 2026-10-10 리뉴얼: 인쇄 설문지(최종 v4)와 같은 색 — 파랑 · 연파랑 · 남색 글자 · 흰 바탕. 마지막에 불러 앞 파일을 덮는다. */
:root {
  --blue: #2f5be3;
  --blue-dark: #2349c4;
  --blue-tint: #e8eefc;
  --soft: #f4f6fa;
  --ink: #1f2a44;
  --muted: #6b7487;
  --line: #dfe4ee;
  --paper: #ffffff;
  --silver: #eef1f7;
  font-family: "Nanum Gothic", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: #fff;
}
body { background: #fff; color: var(--ink); }
h1, h2, h3 { color: var(--ink); letter-spacing: -0.02em; word-break: keep-all; }
.muted { color: var(--muted); }
.eyebrow { color: var(--blue); font-weight: 800; letter-spacing: 0.04em; }

/* 머리말 */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.brand { color: var(--ink); font-weight: 800; }
.brand::before { content: ""; display: inline-block; width: 5px; height: 22px; background: var(--blue); border-radius: 2px; margin-right: 9px; vertical-align: -4px; }

/* 버튼 */
.button { background: var(--blue); border-color: var(--blue); color: #fff; border-radius: 10px; font-weight: 700; }
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button.secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.button.secondary:hover { background: var(--soft); }
.button:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* 구역 공통 */
.band { background: var(--soft); }
.sec { padding: 64px 0; }
.sec > .wrap > h2, .sec h2.title { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.35; margin: 6px 0 12px; }
.sec .lede { color: var(--muted); font-size: 15px; margin: 0 0 28px; max-width: 640px; }
.foot-note { font-size: 12px; color: var(--muted); margin: 14px 0 0; }

/* 첫 화면 */
.hero2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; padding: 44px 0 56px; }
.hero2 .open-badge { margin-bottom: 16px; }
.hero2 h1 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.25; margin: 0 0 12px; }
.hero2 .lead { font-size: 18px; color: var(--muted); margin: 0 0 22px; }
.hero2 .actions .button { min-height: 54px; padding: 14px 28px; font-size: 16px; }
.hero2 .entry-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.hero-visual { position: relative; }
.hero-visual img.photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 65%; border-radius: 22px; display: block; }
.hero-visual .naerimi-tile { position: absolute; left: -18px; bottom: -18px; box-shadow: 0 10px 30px #1f2a4426; }
.key-facts { border-color: var(--line); }
.key-facts li { border-color: var(--line); }
.key-facts b { color: var(--ink); }
.open-badge { background: var(--blue-tint); color: var(--blue); }

/* 설문 */
.survey-card { border-radius: 16px; border-color: var(--line); box-shadow: 0 8px 28px #1f2a440d; }
.progress-track { background: var(--silver); height: 4px; border-radius: 4px; }
.progress-track i { background: var(--blue); border-radius: 4px; }
label.choice { border-color: var(--line); border-radius: 10px; }
.choice:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.choice input, .check input { accent-color: var(--blue); }
.notice { background: var(--blue-tint); color: var(--ink); border: 0; border-radius: 10px; }
.interest-price { background: var(--blue-tint); border: 0; border-radius: 12px; }
.interest-price strong { color: var(--blue); }
.building-pick select:focus { outline: 3px solid var(--blue); }

/* 이렇게 이용해요 */
.steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps b { display: block; font-size: 17px; margin-bottom: 6px; }
.steps span { font-size: 14px; color: var(--muted); line-height: 1.7; }
.bag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bag { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.bag img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.bag div { padding: 14px 16px 16px; }
.bag b { font-size: 16px; }
.bag em { font-style: normal; font-size: 11px; color: var(--blue); background: var(--blue-tint); border-radius: 999px; padding: 2px 8px; margin-left: 6px; }
.bag p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }

/* 요금·혜택 */
.promotion-card { border: 0; background: var(--blue-tint); border-radius: 22px; }
.promo-kicker { color: var(--blue); }
.promo-price strong { color: var(--blue); }
.promo-rate { background: #fff; color: var(--blue); }
.promo-benefits div { background: #fff; border: 0; border-radius: 12px; }
.promo-benefits b { color: var(--ink); }
.promo-cta { background: var(--blue); border-color: var(--blue); }

/* 비교 */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 14px; }
.compare th, .compare td { padding: 14px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare thead th { background: var(--soft); font-size: 13px; color: var(--muted); }
.compare tbody th { text-align: left; font-weight: 700; white-space: nowrap; }
.compare tr:last-child > * { border-bottom: 0; }
.compare .ours { background: var(--blue-tint); color: var(--ink); font-weight: 700; }
.compare thead .ours { background: var(--blue); color: #fff; font-size: 15px; }
.compare td small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); margin-top: 3px; }
.compare .win { color: var(--blue); }
.compare-wrap { overflow-x: auto; border-radius: 16px; }
.merits { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.merits li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 13px; color: var(--muted); }
.merits b { display: block; color: var(--blue); font-size: 17px; margin-bottom: 2px; }

/* 카카오톡: 아이폰 채팅 시연 */
.kakao-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.kakao-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.kakao-link { background: #fee500; color: #382e1e; border-radius: 12px; padding: 14px 18px; font-weight: 800; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.kakao-link.ghost { background: #fff; border: 1px solid #e3cf3a; }
.iphone { width: 300px; height: 610px; margin: auto; border-radius: 48px; background: #11141c; padding: 11px; box-shadow: 0 24px 60px #1f2a4433, inset 0 0 0 2px #2b3040; position: relative; }
.iphone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #11141c; border-radius: 20px; z-index: 3; }
.iphone .screen { height: 100%; border-radius: 38px; overflow: hidden; background: #b2c7da; display: flex; flex-direction: column; }
.iphone .status { display: flex; justify-content: space-between; padding: 14px 26px 0; font-size: 12px; font-weight: 700; color: #1d1d1f; height: 40px; }
.iphone .chat-top { display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px; background: #b2c7da; }
.iphone .chat-top img { width: 34px; height: 34px; border-radius: 12px; background: #fff; padding: 3px; image-rendering: pixelated; }
.iphone .chat-top b { font-size: 14px; color: #1d1d1f; }
.iphone .chat-top small { display: block; font-size: 10px; color: #4a5568; }
.chat-log { flex: 1; overflow: hidden; padding: 6px 12px 10px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.msg { max-width: 82%; font-size: 12.5px; line-height: 1.55; padding: 8px 11px; border-radius: 14px; word-break: keep-all; animation: pop 0.25s ease-out; }
.msg.me { align-self: flex-end; background: #fee500; color: #191919; border-top-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: #fff; color: #191919; border-top-left-radius: 4px; }
.msg.typing { display: inline-flex; gap: 4px; padding: 11px 13px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa3b5; animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: 0.15s; }
.msg.typing i:nth-child(3) { animation-delay: 0.3s; }
.chat-input { display: flex; align-items: center; gap: 8px; background: #fff; margin: 0 10px 14px; border-radius: 18px; padding: 9px 12px; font-size: 12px; color: #9aa3b5; min-height: 38px; }
.chat-input span { flex: 1; color: #191919; }
.chat-input i { width: 26px; height: 26px; border-radius: 50%; background: #fee500; display: grid; place-items: center; font-style: normal; color: #382e1e; font-weight: 800; }
.demo-caption { text-align: center; font-size: 11px; color: var(--muted); margin-top: 12px; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .msg, .msg.typing i { animation: none; } }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0; }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-size: 16px; font-weight: 700; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; font-size: 18px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; background: var(--blue); color: #fff; }
.faq-list details[open] { border-color: var(--blue); }
.faq-list details p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.faq-list details p b { color: var(--ink); }

/* 바닥 */
.site-foot { border-top: 1px solid var(--line); padding: 32px 0 110px; font-size: 12px; color: var(--muted); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0; }
.site-foot a { color: var(--ink); }
.mobile-survey-entry { background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .merits { grid-template-columns: 1fr 1fr; }
  .kakao-sec { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 700px) {
  .sec { padding: 44px 0; }
  .hero2 { grid-template-columns: 1fr; gap: 26px; padding: 26px 0 40px; }
  .hero-visual { order: -1; }
  .hero-visual img.photo { aspect-ratio: 16 / 9; border-radius: 16px; }
  .hero-visual .naerimi-tile { left: auto; right: 12px; bottom: -22px; }
  .hero2 .actions .button { width: 100%; }
  .steps, .bag-grid { grid-template-columns: 1fr; }
  .bag { display: grid; grid-template-columns: 110px 1fr; }
  .bag img { height: 100%; aspect-ratio: auto; }
  .compare { font-size: 12.5px; }
  .compare th, .compare td { padding: 11px 9px; }
  .iphone { width: 280px; height: 570px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-q { font-size: 15px; color: var(--muted); margin: 0 0 10px; line-height: 1.6; }
.hero-visual .naerimi-tile { top: auto; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-grid h3 { font-size: 16px; margin: 0 0 12px; }
.persona, .values { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.persona li, .values li { background: var(--soft); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; color: var(--muted); display: grid; grid-template-columns: auto auto 1fr; gap: 10px; align-items: center; }
.persona span { font-size: 20px; }
.persona b, .values b { color: var(--ink); white-space: nowrap; }
.values { counter-reset: v; }
.values li { counter-increment: v; grid-template-columns: auto auto 1fr; }
.values li::before { content: counter(v); width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.band .steps li, .band .bag { background: #fff; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  .why-grid { grid-template-columns: 1fr; }
  .persona li, .values li { grid-template-columns: auto 1fr; }
  .persona li b, .values li b { grid-column: 2; }
  .persona li span, .values li::before { grid-row: span 2; }
}

@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }

/* 휴대폰 첫 화면: 사진 대신 인쇄물처럼 오른쪽 위 내림이 */
@media (max-width: 700px) {
  .hero2 { position: relative; }
  .hero-visual { position: absolute; top: 26px; right: 0; order: 0; }
  .hero-visual img.photo { display: none; }
  .hero-visual .naerimi-tile { position: static; width: 76px; height: 70px; border-radius: 16px; box-shadow: none; }
  .hero-visual .naerimi-tile img { width: 56px; }
  .hero2 .hero-q { padding-right: 86px; }
}
@media (max-width: 700px) {
  .steps { gap: 8px; }
  .steps li { display: grid; grid-template-columns: 30px 1fr; gap: 2px 12px; padding: 14px 16px; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps b { font-size: 15px; margin: 0; }
  .steps span { font-size: 13px; }
  .persona { grid-template-columns: 1fr 1fr; }
  .persona li { grid-template-columns: 1fr; padding: 10px 12px; gap: 2px; font-size: 12px; }
  .persona li span { grid-row: auto; font-size: 18px; }
  .persona li b { grid-column: auto; }
  .values li { padding: 10px 12px; font-size: 12.5px; }
}

.swipe-hint { display: none; font-size: 12px; color: var(--blue); margin: 0 0 8px; }
@media (max-width: 760px) {
  .swipe-hint { display: block; }
  .compare-wrap { border: 1px solid var(--line); }
  .compare { min-width: 640px; border: 0; border-radius: 0; }
  .compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--line); }
  .compare thead th:first-child { background: var(--soft); }
  .promo-benefits div { display: block; }
  .promo-benefits div span { display: block; }
}

.promo-benefits div { padding: 14px 16px; }
.credit-fig { position: relative; margin: 0; }
.credit-fig figcaption { position: absolute; right: 6px; bottom: 6px; font-size: 9px; color: #fff; background: #0006; padding: 1px 6px; border-radius: 4px; }
.site-foot { padding-bottom: 100px; }
.site-foot p { margin: 6px 0 0; }
@media (max-width: 700px) { .bag .credit-fig { height: 100%; } .bag .credit-fig img { height: 100%; } }

.consent-note { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 0 0 4px 28px; }
.contact-card .check { padding: 8px 0 4px; font-weight: 700; }
.sort-callout { background: var(--blue); color: #fff; font-weight: 800; font-size: 16px; line-height: 1.6; border-radius: 14px; padding: 16px 20px; margin: 0 0 22px; word-break: keep-all; }
.compare td del { color: var(--muted); font-weight: 400; font-size: 12px; margin-right: 4px; }
@media (max-width: 700px) { .sort-callout { font-size: 14.5px; padding: 14px 16px; } }

/* 안내 페이지(요금·약관·환불·개인정보) */
.doc { max-width: 760px; padding: 36px 0 56px; }
.doc h1 { font-size: clamp(26px, 4vw, 34px); margin: 4px 0 18px; }
.doc h2 { font-size: 17px; margin: 28px 0 8px; color: var(--blue); }
.doc p { font-size: 15px; line-height: 1.8; color: var(--ink); margin: 0 0 10px; word-break: keep-all; }
.doc .price-grid { margin: 0 0 8px; }

.open-badge { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: var(--blue-tint); color: var(--blue); font-size: 13px; font-weight: 800; }

/* 요금 카드 v2 */
.price-grid { display: block; }
.price2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: stretch; }
.pm { background: #fff; border: 2px solid var(--blue); border-radius: 22px; padding: 28px; box-shadow: 0 14px 40px #2f5be31a; }
.pm-kicker { display: inline-block; font-size: 12px; font-weight: 800; color: var(--blue); background: var(--blue-tint); border-radius: 999px; padding: 4px 12px; }
.pm-was { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: var(--muted); }
.pm-was del { font-size: 17px; }
.pm-pill { background: #ff6b3d; color: #fff; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 9px; }
.pm-price { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 0; color: var(--ink); }
.pm-price strong { font-size: clamp(52px, 7vw, 72px); line-height: 1.05; letter-spacing: -0.04em; color: var(--blue); font-variant-numeric: tabular-nums; }
.pm-price span { font-size: 18px; font-weight: 700; }
.pm-per { margin: 4px 0 16px; font-size: 14px; color: var(--muted); }
.pm-first { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--blue); color: #fff; border-radius: 14px; padding: 14px 18px; }
.pm-first b { font-size: 19px; }
.pm-first span { font-size: 12px; opacity: 0.85; }
.pm-incl { list-style: none; padding: 0; margin: 18px 0 20px; display: grid; gap: 8px; }
.pm-incl li { font-size: 14.5px; padding-left: 26px; position: relative; }
.pm-incl li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.pm-cta { width: 100%; min-height: 52px; font-size: 15px; }
.perks { display: grid; gap: 12px; align-content: stretch; }
.perk { background: var(--soft); border-radius: 18px; padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; }
.perk b { grid-row: span 2; font-size: 34px; line-height: 1; color: var(--blue); letter-spacing: -0.03em; min-width: 92px; }
.perk span { font-size: 12px; color: var(--muted); font-weight: 700; }
.perk p { margin: 2px 0 0; font-size: 16px; font-weight: 800; color: var(--ink); word-break: keep-all; }
/* 설문 카드 좌우 꽉 차게 */
.survey-card { max-width: none; width: 100%; }
@media (max-width: 800px) {
  .price2 { grid-template-columns: 1fr; }
  .pm { padding: 22px 18px; }
  .perk b { font-size: 28px; min-width: 76px; }
  .perk p { font-size: 15px; }
}

.hero-visual img.photo { height: auto !important; aspect-ratio: 3 / 2; object-position: 40% 75%; }
.bag img { aspect-ratio: 5 / 4; object-position: 50% 62%; }
@media (max-width: 700px) { .bag img { aspect-ratio: auto; } }

.pm-save { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: #fff4ec; color: var(--ink); font-size: 14px; line-height: 1.6; word-break: keep-all; }
.pm-save b { color: #e5531f; }
.hero-visual img.photo { object-position: 70% 85%; }
.bag img { object-position: 50% 70%; }

/* 동 입력: 숫자만 + 뒤에 [동] 고정 */
.dong-input { display: flex; align-items: center; gap: 10px; }
.dong-input input { width: 120px; min-height: 52px; padding: 10px 12px; border: 1px solid #d5dbe8; border-radius: 12px; background: var(--soft); font-size: 22px; font-weight: 800; text-align: center; color: var(--ink); letter-spacing: 0.06em; outline: none; box-shadow: none; -webkit-appearance: none; appearance: none; transition: border-color .12s, background-color .12s; }
.dong-input input:focus, .dong-input input:focus-visible { outline: none; box-shadow: none; border-color: var(--blue); background: #fff; }
.dong-input input[aria-invalid="true"] { border-color: #d64545; }
.dong-input input::placeholder { color: #c3cadb; font-weight: 700; }
.dong-input span { font-size: 20px; font-weight: 800; color: var(--ink); }
label.choice { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* 혜택 카드: 큰 숫자 | 라벨+설명을 한 줄에 맞춤 */
.perks { align-content: start; }
.perk { display: flex; align-items: center; gap: 16px; grid-template-columns: none; padding: 18px 20px; }
.perk b { flex: 0 0 118px; grid-row: auto; font-size: 34px; white-space: nowrap; }
.perk > div { display: grid; gap: 2px; min-width: 0; }
.perk span { display: block; }
.perk p { margin: 0; }
@media (max-width: 800px) { .perk b { flex-basis: 90px; font-size: 26px; } }
/* 이용 방법: 문 앞 봉투 한 장 + 봉투 위 표시 */
.bags-figure { position: relative; margin: 0; border-radius: 20px; overflow: hidden; }
.bags-figure img { width: 100%; height: auto; display: block; }
.bag-pin { position: absolute; transform: translate(-50%, calc(-100% - 10px)); background: #fff; color: var(--ink); border-radius: 12px; padding: 6px 12px; font-size: 13px; line-height: 1.35; text-align: center; white-space: nowrap; box-shadow: 0 6px 18px #1f2a4433; }
.bag-pin b { display: block; color: var(--blue); font-size: 14px; }
.bag-pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); border: 6px solid transparent; border-top-color: #fff; border-bottom: 0; }
@media (max-width: 700px) {
  .bags-figure { border-radius: 14px; }
  .bag-pin { padding: 4px 8px; font-size: 10.5px; border-radius: 9px; }
  .bag-pin b { font-size: 11.5px; }
}
.interest-price span { color: var(--blue); font-weight: 700; font-size: 14px; }
