/* 서비스 랜딩 공통 바탕 — 모든 시안이 먼저 읽는다. 시안 style.css 는 색·배치·톤만 덧입힌다.
   기준(40~60대 대표가 휴대폰으로 본다): 본문 16px 이상, 눌리는 요소 44px 이상, 대비 4.5:1 이상, 가로 스크롤 없음. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; font-size: 17px; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus, #1d4ed8); outline-offset: 2px; }

.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; padding: 12px 16px; background: #111; color: #fff; }
.skip:focus { top: 8px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: var(--r-btn, 10px); font-weight: 700; text-decoration: none; border: 2px solid currentColor; cursor: pointer; font: inherit; font-weight: 700; }
.btn.primary { border-color: transparent; }

/* 원장 수치: 게시 문구와 필수 주석은 함께 나간다(주석도 12px 이상) */
.fact-n { font-size: max(14px, .8em); font-weight: 500; opacity: .9; }
.fact-v { text-wrap: balance; }

/* 목록·절차·질문 */
.audience, .scope, .documents { padding-left: 1.2em; }
.audience li, .scope li, .documents li { margin: .35em 0; }
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li h3::before { content: counter(step, decimal-leading-zero) '  '; }
.faq details { border-bottom: 1px solid var(--line, #d0d5dd); }
.faq summary { min-height: 52px; display: flex; align-items: center; padding: 10px 0; cursor: pointer; font-weight: 700; }
.faq details p { padding-bottom: 12px; }

/* 상담 폼 */
.consult-form { display: grid; gap: 16px; max-width: 640px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea { font: inherit; font-size: 17px; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--line-strong, #667085); border-radius: var(--r-input, 8px); background: #fff; color: #111; width: 100%; }
.field.check { grid-template-columns: 28px 1fr; align-items: start; }
.field.check input { width: 24px; height: 24px; min-height: 24px; margin-top: 4px; }
.field.check label { font-weight: 500; }
.field.check a { display: inline-block; min-height: 44px; padding: 10px 0; }
.form-status { min-height: 1.7em; font-weight: 700; margin: 0; }

/* 탭(묶음 페이지) — 자바스크립트가 없으면 모든 패널이 차례로 보인다 */
.tablist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tablist a { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; border-radius: var(--r-chip, 999px); text-decoration: none; font-weight: 700; border: 1.5px solid var(--line-strong, #667085); }
.tablist a[aria-selected=true] { background: var(--ink, #111); color: var(--paper, #fff); border-color: var(--ink, #111); }
.panel { padding: 8px 0 24px; }

/* 휴대폰 하단 고정 상담 바 */
.dock { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .dock { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px; background: var(--dock-bg, #fff); box-shadow: 0 -2px 12px rgba(0,0,0,.12); }
  .dock .btn { min-height: 52px; padding: 10px; }
}

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