/* STYLE-LIBRARY:BEGIN — tools/pick-style.js 가 쓴 블록. 손으로 고치지 말고 다시 실행 */
:root{--bg:#eef0f5;--paper:#ffffff;--ink:#141c38;--muted:#535b74;--accent:#1c2552;--accent-ink:#ffffff;--line:#dde1ea;--font-display:"Manrope", Pretendard, "Noto Sans KR", sans-serif;--font-body:Pretendard, "Noto Sans KR", system-ui, sans-serif;--radius:16px;--shadow:0 6px 18px rgba(20, 28, 56, .08);--border:none;--card-pad:14px;--dur:220ms;--ease:cubic-bezier(0.16, 1, 0.3, 1);--enter:slide-up;--stagger:40ms;--layout:card-grid;--x-pop:#f26b2b}
/* STYLE-LIBRARY:END */
/* iOS 업데이트 뒤 은행·공공·상품권 앱 자가진단(#2789).
 * Design read: 은행·공공 앱 접속 문제를 겪는 일반인(폰·카톡 인앱)을 위한 trust-first 자가진단. 다이얼 VARIANCE 4 · MOTION 3 · DENSITY 5.
 * 색·글꼴·모서리·움직임은 위 STYLE-LIBRARY 블록(스타일 창고 navy-shop, tools/pick-style.js 가 씀)의 토큰만 쓴다.
 * 짜임(배치형 card-grid, 참고 화면 navy-grocery-shop-flow, design-dna 측정색 남색 #1d283d · 흰 면 #f7f8f8 · 주황 표시 #a84526 계열):
 *   위는 남색 머리 판, 그 위로 흰 시트가 올라와 필터 알약 줄(세 질문)을 담는다. 사실 카드는 상품 카드처럼 2열 격자,
 *   점검 순서는 주문 단계 세로 축(끝낸 단계 = 남색 채운 원, 남은 단계 = 빈 원, 지금 = 주황 테두리 원), 문의 칸은 결제 화면처럼 칸 묶음 + 남색 큰 알약 버튼.
 *   주황(--x-pop)은 면이 아니라 작은 표시·선에만 쓰고, 글자에 쓸 때는 같은 색상의 짙은 주황(--pop-text)으로 칠한다.
 * 상태는 표가 아니라 선·색·배경. 바깥 글꼴은 불러오지 않는다(meta CSP font-src self, 한글 폴백 Noto Sans KR). */
:root {
  --pop: var(--x-pop);
  --pop-line: #c2410c;  /* 주황 선·점 테두리: 흰 5.2 · bg 4.6 */
  --pop-text: #9a3412;  /* 주황 글자: 흰 7.3 · pop-soft 6.4 */
  --pop-soft: #fdebe1;
  --high: #8a2a0b;      /* 「높음」 배지 면, 흰 글자 9 이상 */
  --high-ink: #ffffff;
  --field-line: #737a92; /* 입력칸·빈 원 테두리: 흰 4.4 */
  --focus: #1c2552;
  --on-accent-soft: #d6dbef; /* 남색 판 위 보조 글자 */
  --font: var(--font-body); /* 사이트 규칙: font-family 는 var(--font) 로만. 제목은 --font 를 display 토큰으로 바꾼다 */
  --pos: 50;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
h1, h2, h3 { --font: var(--font-display); font-family: var(--font); line-height: 1.3; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: 1.125rem; font-weight: 800; }
h3 { font-size: 1rem; font-weight: 800; margin-top: 18px; }
a { color: var(--accent); text-underline-offset: 3px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -999px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; background: var(--paper); color: var(--ink); }
.skip:focus { left: 8px; top: 8px; z-index: 9; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* 머리 판: 참고 화면의 남색 상단(주문 상세·검색 화면 머리) */
.hero { background: var(--accent); color: #ffffff; padding: 24px 16px 68px; }
.hero :focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
.hero-in { max-width: 1180px; margin: 0 auto; }
.hero h1 { font-size: 1.375rem; font-weight: 800; }
.lede { margin: 10px 0 0; color: var(--on-accent-soft); font-size: 0.9375rem; max-width: 56ch; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px 32px; }
.layout { display: grid; gap: 16px; align-items: start; }
.side, .main { min-width: 0; display: grid; gap: 16px; }

/* 흰 시트: 머리 판 위로 올라온 면(참고 화면의 둥근 흰 시트) */
.sheet { margin-top: -44px; background: var(--paper); border-radius: 24px; padding: 18px 16px 20px; box-shadow: var(--shadow); }
.sheet h2 { margin-bottom: 4px; }
.note { margin: 8px 0 0; color: var(--muted); font-size: 0.875rem; }
.q { border: 0; margin: 14px 0 0; padding: 0; min-width: 0; }
.q legend { padding: 0; font-weight: 700; font-size: 0.9375rem; margin-bottom: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.syms { display: grid; gap: 8px; }
.pill { position: relative; display: block; flex: 1 1 auto; cursor: pointer; min-width: 0; }
.pill input, .beta input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pill span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border-radius: 999px; background: var(--bg); color: var(--ink); border: 1.5px solid var(--line); font-weight: 700; font-size: 0.875rem; line-height: 1.3; text-align: center; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.sym span { justify-content: flex-start; text-align: left; border-radius: 14px; min-height: 52px; padding: 10px 14px; }
.pill input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pill input:focus-visible + span, .beta input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.pill:active span { transform: scale(0.98); }
.beta { display: block; margin-top: 14px; cursor: pointer; position: relative; }
.beta span { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 0.9375rem; }
.beta span::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--field-line); background: var(--paper); }
.beta input:checked + span::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 4px var(--paper); }

/* 먼저 볼 쪽: 왼쪽(내 iPhone) ↔ 오른쪽(앱·서비스) 선 위의 점 */
.verdict-card { background: var(--paper); border-radius: 24px; padding: 18px 16px 20px; box-shadow: var(--shadow); }
.meter { container-type: inline-size; position: relative; height: 62px; margin: 12px 0 4px; }
.meter-line { position: absolute; left: 0; right: 0; top: 13px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--field-line) 50%, var(--pop-line)); }
.meter-dot { position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 5px solid var(--field-line); transform: translateX(calc(var(--pos) * 1cqw - 50%)); transition: transform 420ms var(--ease), border-color var(--dur) var(--ease); }
.meter[data-side="phone"] .meter-dot, .meter[data-side="connection"] .meter-dot { border-color: var(--accent); }
.meter[data-side="app"] .meter-dot, .meter[data-side="service"] .meter-dot { border-color: var(--pop-line); }
.meter-l, .meter-r { position: absolute; bottom: 0; font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.meter-l { left: 0; }
.meter-r { right: 0; }
.verdict { margin-top: 6px; }
.v-title { margin: 0; font-weight: 800; font-size: 1.0625rem; line-height: 1.4; }
.v-text { margin: 6px 0 0; color: var(--muted); font-size: 0.9375rem; }
.verdict.is-new .v-title { animation: rise var(--dur) var(--ease) backwards; }
.src { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; margin: 6px 0 0; font-size: 0.8125rem; color: var(--muted); }
.src a { display: inline-flex; align-items: center; min-height: 44px; }
.fact-s { margin-top: 4px; }
.pick-status { margin: 12px 0 0; font-size: 0.875rem; color: var(--muted); }
.go { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; margin-top: 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; text-decoration: none; }
.go:focus-visible { outline: 3px solid var(--pop-line); outline-offset: 3px; }
.go-n { font-weight: 600; font-size: 0.875rem; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); }

/* 사실 카드: 참고 화면의 흰 시트 위 상품 카드 2열 격자 */
.facts-sec { background: var(--paper); border-radius: 24px; padding: 18px 16px 16px; box-shadow: var(--shadow); }
.facts { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.fact { background: var(--bg); border-radius: var(--radius); padding: var(--card-pad); min-width: 0; }
.fact p { margin: 0; }
.fact-k { font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.fact-v { --font: var(--font-display); font-family: var(--font); font-size: 1.5rem; font-weight: 800; line-height: 1.25; margin-top: 2px; color: var(--accent); }
.fact-n { margin-top: 6px; font-size: 0.875rem; color: var(--ink); }

/* 점검 순서: 참고 화면의 주문 단계 세로 축 */
.steps { background: var(--paper); border-radius: 24px; padding: 18px 16px 8px; box-shadow: var(--shadow); }
.steps-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.steps-h h2:focus { outline: none; }
.steps-h h2:focus-visible { outline: 3px solid var(--focus); }
.progress { margin: 0; font-size: 0.875rem; font-weight: 700; color: var(--muted); }
.tl-empty { margin: 12px 0 14px; color: var(--muted); font-size: 0.9375rem; }
.tl { --done: 0; list-style: none; margin: 14px 0 0; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 11.5px; top: 14px; bottom: 30px; width: 3px; border-radius: 3px; background: var(--line); }
.tl::after { content: ""; position: absolute; left: 11.5px; top: 14px; bottom: 30px; width: 3px; border-radius: 3px; background: var(--accent); transform-origin: top; transform: scaleY(calc(var(--done) / 100)); transition: transform 420ms var(--ease); }
.st { position: relative; z-index: 1; display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 10px; padding-bottom: 14px; animation: rise var(--dur) var(--ease) backwards; animation-delay: calc(min(var(--i, 0), 10) * var(--stagger)); }
.st-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.st-w { flex: none; padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 800; line-height: 1.6; }
.w-low .st-w { background: var(--bg); color: var(--muted); }
.w-caution .st-w { background: var(--pop-soft); color: var(--pop-text); }
.w-high .st-w { background: var(--high); color: var(--high-ink); }
.w-info .st-w { background: var(--accent); color: var(--accent-ink); }
.st-dot { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--field-line); background: var(--paper); margin-top: 1px; }
.st.now .st-dot { border-color: var(--pop-line); box-shadow: 0 0 0 4px var(--pop-soft); }
.st.done .st-dot { background: var(--accent); border-color: var(--accent); }
.st.done .st-dot::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #ffffff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.st-card { min-width: 0; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.st.now .st-card { border-color: var(--pop-line); }
.st.focus .st-card { box-shadow: inset 4px 0 0 var(--pop-line); }
.focus-tag { display: none; margin: 0 0 6px; font-size: 0.8125rem; font-weight: 800; color: var(--pop-text); }
.st.focus .focus-tag { display: block; }
.st.done .st-title, .st.done .st-body { color: var(--muted); }
.gate-tag { margin: 0 0 8px; padding-top: 8px; border-top: 3px solid var(--pop-line); font-size: 0.8125rem; font-weight: 800; color: var(--pop-text); }
.st-title { font-size: 1rem; font-weight: 800; margin: 0; }
.st-body, .st-how, .st-note { margin: 6px 0 0; font-size: 0.9375rem; }
.st-how { padding: 8px 10px; border-radius: 10px; background: var(--bg); font-size: 0.875rem; }
.st-note { color: var(--muted); font-size: 0.875rem; }
.st-erase { margin: 8px 0 0; padding: 8px 10px; border-left: 4px solid var(--pop-line); border-radius: 10px; background: var(--pop-soft); color: var(--pop-text); font-weight: 700; font-size: 0.875rem; }
.st-src { margin-top: 8px; }
.st-src a { min-height: 44px; }
.st-check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 4px; font-weight: 700; font-size: 0.9375rem; cursor: pointer; }
.st-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.st-check input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* 문의 칸: 참고 화면의 결제 화면(칸 묶음 + 아래 남색 큰 알약) */
.inquiry { background: var(--paper); border-radius: 24px; padding: 18px 16px 20px; box-shadow: var(--shadow); }
.sub { margin: 6px 0 0; color: var(--muted); font-size: 0.9375rem; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-top: 14px; }
.field { min-width: 0; }
.field label { display: block; font-weight: 700; font-size: 0.875rem; margin-bottom: 4px; }
.field input { width: 100%; min-height: 48px; padding: 0 12px; border: 1.5px solid var(--field-line); border-radius: 12px; background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; }
.field select { width: 100%; min-height: 48px; padding: 0 12px; border: 1.5px solid var(--field-line); border-radius: 12px; background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; }
.field input:focus-visible, .field select:focus-visible, .msg:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.hint { margin: 4px 0 0; font-size: 0.8125rem; color: var(--muted); }
.msg { display: block; width: 100%; margin-top: 14px; padding: 12px; border: 1.5px solid var(--field-line); border-radius: 14px; background: var(--bg); color: var(--ink); font: inherit; font-size: 0.875rem; line-height: 1.55; resize: vertical; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 20px; border: 0; border-radius: 999px; font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; }
.btn.cta { width: 100%; margin-top: 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.cta { display: grid; place-items: center; transition: box-shadow var(--dur) var(--ease); }
.cta > span { grid-area: 1 / 1; }
.cta .cp-b { visibility: hidden; }
.cta.is-copied { box-shadow: inset 0 0 0 3px var(--pop); }
.cta.is-copied .cp-a { visibility: hidden; }
.cta.is-copied .cp-b { visibility: visible; }
.cta:active { transform: scale(0.98); }
.status { min-height: 1.6em; margin: 8px 0 0; font-size: 0.9375rem; font-weight: 700; }
.status.is-failed { color: var(--pop-text); }
.where { margin: 12px 0 0; padding: 12px; border-radius: 14px; background: var(--bg); font-size: 0.875rem; }
.where strong { display: block; }

/* 아래 안내 */
.guide { margin-top: 24px; padding-top: 18px; border-top: 1.5px solid var(--line); }
.muted { color: var(--muted); font-size: 0.9375rem; }
details summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 700; }
.all summary { color: var(--accent); }
.all-steps { margin: 8px 0 0; padding-left: 1.2em; font-size: 0.9375rem; }
.all-steps li { margin-bottom: 10px; }
.w { display: inline-block; padding: 0 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 800; background: var(--bg); color: var(--muted); }
.w.w-caution { background: var(--pop-soft); color: var(--pop-text); }
.w.w-high { background: var(--high); color: var(--high-ink); }
.w.w-info { background: var(--accent); color: var(--accent-ink); }
.erase { display: block; margin-top: 4px; color: var(--pop-text); font-weight: 700; }
.all-steps .src { margin-top: 2px; }
.sib-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.sib a { display: flex; flex-direction: column; gap: 2px; min-height: 44px; padding: 14px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.sib a strong { color: var(--accent); }
.sib a span { font-size: 0.875rem; color: var(--muted); }
.faq p { margin: 4px 0 10px; font-size: 0.9375rem; }
.faq .src { font-size: 0.8125rem; }
.src-list { margin: 8px 0 0; padding-left: 1.2em; font-size: 0.875rem; }
.src-list li { margin-bottom: 0; }
.src-list a { display: inline-flex; align-items: center; min-height: 44px; }
.notice { margin: 24px 0 0; padding: 12px 14px; border-left: 4px solid var(--accent); border-radius: 12px; background: var(--paper); font-size: 0.9375rem; font-weight: 600; }
.asof { margin: 8px 0 0; font-size: 0.8125rem; color: var(--muted); }
.foot { max-width: 1180px; margin: 0 auto; padding: 0 16px 32px; font-size: 0.8125rem; color: var(--muted); }
.foot p { margin: 0 0 6px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* 넓은 화면(1280px 부터): 왼쪽 고르기·판정, 오른쪽 사실 카드·순서·문의. 1279px 까지는 한 단(오너 폴드 펼침 약 1,100px 포함) */
@media (min-width: 1280px) {
  .hero { padding: 32px 24px 76px; }
  .hero h1 { font-size: 2rem; }
  .wrap { padding: 0 24px 40px; }
  .layout { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 20px; }
  .main { margin-top: -44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
