/* SYSCARE 공용 기본 스타일: 월간 점검표
   토큰, 헤더, 버튼, 구역, 체크 칸, 표, 푸터, 하단 바. Tailwind 없이 단독으로 동작한다.
   서브페이지는 이 파일 뒤에 sheet-pages.css와 page-*.css를 불러온다. 기준 문서: 저장소 루트 DESIGN.md */

:root {
    color-scheme: light;
    --paper: #FBFAF6;
    --paper-shade: #F1EFE7;
    --desk: #D9D5CA;
    --ink: #14213D;
    --ink-deep: #0B1529;
    --ink-soft: #46506A;
    --ok: #1F6F4A;
    --seal: #C8102E;
    --line: #BDBFC6;
    --rule: 1.5px;
    --rule-thin: 1px;
    --pad: 20px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
/* 키보드 이동으로 초점을 받은 요소가 고정 헤더와 모바일 하단 바에 가려지지 않게 한다 */
@media (max-width: 767.98px) {
    html { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}

body {
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.7;
    font-variant-numeric: tabular-nums;
    word-break: keep-all;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
}

::selection { background-color: var(--ink); color: var(--paper); }

h1, h2, h3 { overflow-wrap: anywhere; }
/* 컨테이너 쿼리의 기준(폭만 잰다): 글자 크기에 따라 움직이는 rem으로 칸이 좁아졌는지 판단한다 */
.site-header, .block, .pages { container-type: inline-size; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 0.09em; }
ul, ol { list-style: none; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.signoff :focus-visible, .site-footer :focus-visible { outline-color: var(--paper); }

.skip-link {
    position: fixed; left: 12px; top: 12px; z-index: 1000;
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
    background-color: var(--paper); color: var(--ink); border: 2px solid var(--ink);
    font-weight: 600; font-size: 1rem; text-decoration: none;
    transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }

.sr-only {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

section, h2[id] { scroll-margin-top: 84px; }

/* ── 종이 한 장 ─────────────────────────────────────────── */
.sheet { background-color: var(--paper); position: relative; }
.wrap { padding-left: var(--pad); padding-right: var(--pad); }

/* ── 머리띠(sticky 헤더) ────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background-color: var(--paper);
    border-bottom: 1px solid var(--ink);
    padding-top: env(safe-area-inset-top);
}
.site-header .bar {
    min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 0 var(--pad);
}
/* 로고: 체크된 점검 칸과 직접 그린 글자를 한 그림으로 그린다(tools/logo.py가 만든다).
   칸과 글자는 같은 굵기의 잉크색 선, 체크만 녹색이고 칸의 오른쪽 위 모서리를 넘어 나간다 */
.header-logo, .site-footer .name { display: inline-flex; align-items: center; text-decoration: none; }
.header-logo { font-size: min(1.125rem, 20px); min-height: 44px; }
.logo { display: block; flex: none; height: 1.3em; width: auto; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: butt; stroke-linejoin: miter; overflow: visible; }
.logo-check { stroke: var(--ok); stroke-width: 3.4; }
.site-footer .logo-check { stroke: #6FCF9A; }
.site-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.header-phone {
    width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--ink); font-size: 1.0625rem;
    transition: background-color 0.18s var(--ease-out), color 0.18s var(--ease-out);
}
.header-cta {
    height: 44px; padding: 0 14px; display: flex; align-items: center; white-space: nowrap;
    background-color: var(--ink); color: var(--paper); text-decoration: none;
    font-weight: 600; font-size: min(0.9375rem, 16px);
    transition: background-color 0.18s var(--ease-out);
}
.header-phone:hover { background-color: var(--ink); color: var(--paper); }
.header-cta:hover { background-color: var(--ink-deep); }

/* ── 버튼 ───────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
    min-height: 52px; padding: 0 26px;
    font-weight: 600; font-size: 1.0625rem; letter-spacing: 0; text-decoration: none;
    border: 1px solid var(--ink);
    transition: background-color 0.18s var(--ease-out), color 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background-color: var(--ink); color: var(--paper); }
.btn-primary:hover { background-color: var(--ink-deep); border-color: var(--ink-deep); }
.btn-ghost { background-color: transparent; color: var(--ink); }
.btn-ghost:hover { background-color: var(--ink); color: var(--paper); }
.btn svg { flex: none; font-size: 0.95em; }

.closing .btn { border-color: var(--paper); }
.closing .btn-primary { background-color: var(--paper); color: var(--ink); }
.closing .btn-primary:hover { background-color: #fff; }
.closing .btn-ghost { color: var(--paper); }
.closing .btn-ghost:hover { background-color: var(--paper); color: var(--ink); }

.note { font-size: 0.9375rem; color: var(--ink-soft); font-weight: 400; }

/* ── 1. 머리칸(Hero) ────────────────────────────────────── */
.hero { padding-top: 40px; padding-bottom: 48px; position: relative; }
.hero .region { margin-top: 16px; font-weight: 500; font-size: 1.0625rem; color: var(--ink-soft); }
.hero h1 {
    max-width: 8em;
    font-weight: 600; font-size: clamp(1.875rem, 8vw, 2.5rem); line-height: 1.2; letter-spacing: -0.03em;
    text-wrap: balance;
}
.headwrap { margin-top: 26px; }
.seal {
    position: absolute; right: 12px; top: 18px;
    font-weight: 600; font-size: 0.8125rem; line-height: 1.2; letter-spacing: 0;
    width: 5.35em; height: 5.35em; border: 0.14em solid var(--seal); border-radius: 50%; color: var(--seal);
    display: flex; align-items: center; justify-content: center; text-align: center;
    transform: rotate(-11deg);
    mix-blend-mode: multiply;
}
/* 안쪽의 얇은 두 번째 원: 바탕을 칠하지 않아 아래 괘선이 그대로 비친다 */
.seal::after { content: ""; position: absolute; inset: 0.16em; border: 0.05em solid var(--seal); border-radius: 50%; }
.headbox { border: var(--rule) solid var(--ink); }
.headbox > div { display: grid; grid-template-columns: 5.25em 1fr; border-bottom: var(--rule-thin) solid var(--line); }
.headbox > div:last-child { border-bottom: 0; }
.headbox dt { padding: 12px 12px; font-weight: 500; font-size: 0.9375rem; background-color: var(--paper-shade); border-right: var(--rule-thin) solid var(--line); }
.headbox dd { overflow-wrap: anywhere; padding: 11px 14px; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.02em; line-height: 1.35; }
.hero-cta { margin-top: 22px; display: grid; gap: 10px; }
.hero .note { margin-top: 14px; }
/* 상담 버튼 아래의 보고서 샘플 링크: 버튼보다 한 단계 낮은 글자 링크 */
.hero-more { margin-top: 6px; }
.hero-more a { display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px; font-weight: 600; }
.hero-more svg { flex: none; font-size: 1.15em; }
a.seal { text-decoration: none; }
a.seal:hover { background-color: rgba(200, 16, 46, 0.06); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.5em; text-decoration-thickness: 1px; }

/* 머리칸의 구성도: 문서에 그려 넣은 선 그림. 관리 범위에 있는 항목만 그리고, 관리 대상에는 체크를 붙인다 */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); }
.map { order: 5; margin-top: 30px; max-width: 480px; }
.map svg { display: block; width: 100%; height: auto; overflow: visible; }
.map text { font-size: 15px; font-weight: 500; fill: var(--ink); }
.map text.mid { text-anchor: middle; }
.map .map-cap { font-size: 13px; font-weight: 400; fill: var(--ink-soft); }
/* 등각 투영으로 그린 장비: 윗면은 종이색, 두 옆면은 음영 두 단계, 선은 잉크색 */
.map polygon, .map path, .map circle { vector-effect: non-scaling-stroke; }
.map .it, .map .ia, .map .ib, .map .iu, .map .iscr, .map .iport { stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }
.map .it { fill: var(--paper); }
.map .ia { fill: var(--paper-shade); }
.map .ib { fill: #E2DED2; }
.map .iu, .map .iscr { fill: var(--paper); }
.map .iport { fill: var(--ink); stroke: none; }
.map .if { fill: none; stroke: var(--line); stroke-width: 1; }
.map .il, .map .ilead { fill: none; stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }
.map .ilead { stroke: var(--ink-soft); }
.map .idash { stroke-dasharray: 4 4; }
.map .idot { fill: var(--ink); }
.map .iled { fill: var(--ok); }
.map-check { fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: square; stroke-dasharray: 20; stroke-dashoffset: 0; }

/* 지원 방식 칸의 선 아이콘 */
.cell-ico { display: block; width: 28px; height: 28px; margin-bottom: 14px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: square; stroke-linejoin: miter; }

/* ── 구역 공통 ──────────────────────────────────────────── */
.block { border-top: 1px solid var(--ink); padding-top: 52px; padding-bottom: 56px; }
.block h2 { font-weight: 600; font-size: clamp(1.5rem, 6.2vw, 2.125rem); line-height: 1.28; letter-spacing: -0.025em; text-wrap: balance; }
.block h2 + * { margin-top: 24px; }
.sub { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }

/* 체크 칸 목록 */
.checks { border-top: var(--rule-thin) solid var(--line); }
.checks li { display: grid; grid-template-columns: 26px 1fr; column-gap: 14px; align-items: center; padding: 14px 0; border-bottom: var(--rule-thin) solid var(--line); }
.checks strong { display: block; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; line-height: 1.3; }
.checks span { display: block; font-size: 0.9375rem; color: var(--ink-soft); font-weight: 400; }
.box { width: 26px; height: 26px; display: block; overflow: visible; }
.box rect { fill: none; stroke: var(--ink); stroke-width: 2; }
.box path { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: square; stroke-linejoin: miter; stroke-dasharray: 44; stroke-dashoffset: 0; }

.pair { display: grid; gap: 36px; }
.pair .sub { margin-bottom: 12px; }

/* 표 형식 목록(구분 | 내용) */
.ledger { border: var(--rule) solid var(--ink); }
.ledger > div { display: grid; grid-template-columns: 1fr; border-bottom: var(--rule-thin) solid var(--line); }
.ledger > div:last-child { border-bottom: 0; }
.ledger dt { padding: 12px 14px 0; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; }
.ledger dd { padding: 2px 14px 13px; font-size: 0.9375rem; color: var(--ink-soft); font-weight: 400; }

/* 보고서 미리보기: 작은 종이 한 장 */
.report { margin-top: 36px; display: grid; gap: 22px; min-width: 0; }
/* 샘플 보고서: 뒤에는 실제 쪽 그림 두 장, 앞에는 경영 요약을 읽을 수 있는 크기로 옮겨 적은 발췌 한 장 */
.pages { position: relative; padding: 34px 0 0 44px; max-width: 520px; min-width: 0; }
.pg { background-color: #fff; border: 1px solid var(--line); }
img.pg { position: absolute; display: block; width: 58%; height: auto; }
.pg-back { left: 0; top: 0; transform: rotate(-4deg); }
.pg-mid { left: 12%; top: 4px; transform: rotate(2deg); }
.excerpt { position: relative; min-width: 0; border-color: var(--ink); padding: 16px 16px 14px; color: #111417; }
.excerpt .x-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 0.8125rem; color: var(--ink-soft); }
.excerpt .x-top span:first-child { font-weight: 600; color: #111417; }
.excerpt h3 { margin-top: 14px; padding: 8px 0 9px; border-top: 1.5px solid #1d2126; border-bottom: 1px solid #1d2126; text-align: center; font-weight: 600; font-size: 1.0625rem; }
.excerpt table { width: 100%; margin-top: 12px; border-collapse: collapse; border-top: 1.5px solid #1d2126; border-bottom: 1.5px solid #1d2126; font-size: 0.9375rem; }
.excerpt th, .excerpt td { padding: 8px 8px; text-align: left; vertical-align: middle; border-top: 1px solid var(--line); }
.excerpt thead th { border-top: 0; border-bottom: 1px solid #1d2126; background-color: #f1f2f4; font-size: 0.8125rem; font-weight: 600; }
.excerpt tbody th { font-weight: 600; }
.excerpt td:nth-child(2), .excerpt thead th:nth-child(2) { text-align: center; }
.excerpt .xnote { display: none; }
.excerpt .x-foot { margin-top: 10px; font-size: 0.8125rem; color: var(--ink-soft); }
/* 보고서 용지와 같은 문법의 상태 표시(먹과 회색, 테두리와 채움으로 단계) */
.xb { display: inline-flex; align-items: center; justify-content: center; min-width: 5.4em; height: 1.9em; padding: 0 0.6em; border: 1px solid transparent; font-size: 0.8125rem; font-weight: 600; line-height: 1; }
.xb-ok { color: #4a5059; font-weight: 400; }
.xb-watch { border-color: #8d949e; }
.xb-warn { border-color: #1d2126; }
.xb-action, .xb-crit { border-color: #1d2126; background-color: #1d2126; color: #fff; }
.report-link { min-height: 48px; padding: 0 22px; font-size: 1rem; }

/* 신뢰 구역 뒤 상담 칸 */
.ask { margin-top: 40px; border: var(--rule) solid var(--ink); background-color: var(--paper-shade); padding: 24px 18px; display: grid; gap: 14px; justify-items: start; }
.ask p:first-child { font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.025em; line-height: 1.3; }
.ask .btn { width: 100%; }

/* 지원 방식 2×2 칸 */
.cells { display: grid; grid-template-columns: 1fr 1fr; border: var(--rule) solid var(--ink); }
.cells > div { padding: 16px 14px 18px; border-right: var(--rule-thin) solid var(--line); border-bottom: var(--rule-thin) solid var(--line); }
.cells > div:nth-child(2n) { border-right: 0; }
.cells > div:nth-last-child(-n+2) { border-bottom: 0; }
.cells h3 { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; line-height: 1.3; }
.cells p { margin-top: 4px; font-size: 0.9375rem; color: var(--ink-soft); font-weight: 400; }

/* 비용 기준: 표의 한 줄 */
.quote { margin-top: 36px; border: var(--rule) solid var(--ink); }
.q-label { padding: 12px 14px 13px; background-color: var(--paper-shade); border-bottom: var(--rule-thin) solid var(--line); }
.q-label h3 { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; }
.q-label p, .q-value p:not(.price) { font-size: 0.9375rem; color: var(--ink-soft); font-weight: 400; }
.q-value { padding: 16px 14px 4px; }
.q-value .price { font-weight: 600; font-size: clamp(1.375rem, 5.6vw, 1.75rem); letter-spacing: -0.025em; line-height: 1.25; }
.q-value p:not(.price) { margin-top: 6px; }
.q-action { padding: 14px; }
.q-action .btn { width: 100%; }

/* 상담 절차: 결재란처럼 이어 붙은 세 칸 */
.steps { border: var(--rule) solid var(--ink); counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; border-bottom: var(--rule-thin) solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li::before {
    content: counter(step); display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 1.1875rem; background-color: var(--paper-shade); border-right: var(--rule-thin) solid var(--line);
}
.steps div { padding: 13px 14px 15px; }
.steps h3 { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; }
.steps p { font-size: 0.9375rem; color: var(--ink-soft); font-weight: 400; }
.steps + .note, .quote-note { margin-top: 14px; }

/* FAQ */
.faq-head { margin-top: 56px; }
.faq { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: var(--rule-thin) solid var(--line); }
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 60px; padding: 14px 2px; cursor: pointer; list-style: none;
    font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex: none; font-size: 1.0625rem; transition: transform 0.25s var(--ease-out); }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item summary:hover { background-color: var(--paper-shade); }
/* 답변은 폭을 제한하지 않는다(중간에서 줄이 꺾여 보이지 않게) */
.faq-item p { padding: 0 2px 18px; font-size: 1.0625rem; color: var(--ink-soft); }

/* ── 6. 마지막 칸: 종이 안쪽에 놓인 잉크 칸(서명란 자리) ─── */
.closing { border-top: 1px solid var(--ink); padding-top: 28px; padding-bottom: 32px; }
.signoff { background-color: var(--ink); color: var(--paper); padding: 34px 20px 28px; }
.closing h2 { font-weight: 600; font-size: clamp(1.625rem, 6.6vw, 2.25rem); line-height: 1.25; letter-spacing: -0.025em; text-wrap: balance; }
.closing .lead { margin-top: 10px; font-weight: 500; color: #C9CFDC; }
.closing .actions { margin-top: 28px; display: grid; gap: 10px; }
.closing .more { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; color: #C9CFDC; font-size: 0.9375rem; font-weight: 400; }
.closing .more a { color: var(--paper); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background-color: var(--ink-deep); color: #B9C0CF; padding-top: 36px; padding-bottom: 40px; font-size: 0.9375rem; }
.site-footer .name { font-size: 1.125rem; color: var(--paper); }
.site-footer ul { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); font-weight: 500; text-decoration: none; }
.site-footer ul a:hover, .site-footer p a:hover { text-decoration: underline; }
.site-footer p { margin-top: 6px; }
.nb { white-space: nowrap; }
/* 푸터와 제목의 끊김 방지 조각: 줄에 들어가면 통째로 옮기고, 한 줄보다 길 때만 조각 안에서 줄을 바꾼다 */
.site-footer .nb, h1 .nb { display: inline-block; max-width: 100%; white-space: normal; }
.site-footer .legal { overflow-wrap: anywhere; }
.site-footer .contact .nb:first-child { margin-right: 0.9em; }
.site-footer .legal { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(251, 250, 246, 0.25); font-size: 0.8125rem; line-height: 1.7; }
.site-footer p a { color: var(--paper); }

/* ── 모바일 하단 고정 바 ─────────────────────────────────── */
.mobile-cta-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    display: flex; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background-color: var(--paper); border-top: 1px solid var(--ink);
}
.mobile-cta-bar a {
    flex: 1; height: 48px; display: flex; align-items: center; justify-content: center; gap: 0.45em;
    font-weight: 600; font-size: min(1rem, 17px); text-decoration: none; border: 1px solid var(--ink);
}
.mobile-cta-bar a:last-child { background-color: var(--ink); color: var(--paper); }
body.has-cta-bar .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
/* 본문의 상담 버튼이 화면에 보이는 동안에는 하단 바를 내려 둔다(스크립트가 없으면 항상 보인다) */
.mobile-cta-bar { transition: transform 0.3s var(--ease-out), visibility 0.3s; }
.mobile-cta-bar.is-tucked { transform: translateY(105%); visibility: hidden; }

/* ── 모션: 체크가 그려지고 도장이 한 번 찍힌다 ───────────── */
@media (prefers-reduced-motion: reduce) {
    .mobile-cta-bar { transition: none; }
}
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
    .checks.is-armed li:not(.is-checked) .box path { stroke-dashoffset: 44; }
    .checks.is-armed .box path { transition: stroke-dashoffset 0.5s var(--ease-out); }
    .seal { animation: stamp 0.55s var(--ease-out) 0.25s backwards; }
    .map-check { animation: map-check 0.45s var(--ease-out) backwards; }
    .map-check:nth-of-type(1) { animation-delay: 0.5s; } .map-check:nth-of-type(2) { animation-delay: 0.62s; } .map-check:nth-of-type(3) { animation-delay: 0.74s; }
    .map-check:nth-of-type(4) { animation-delay: 0.86s; } .map-check:nth-of-type(5) { animation-delay: 0.98s; } .map-check:nth-of-type(6) { animation-delay: 1.1s; }
}
@keyframes map-check { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }
@keyframes stamp {
    from { opacity: 0; transform: rotate(-4deg) scale(1.5); filter: blur(3px); }
    60% { opacity: 1; filter: blur(0); }
    to { opacity: 1; transform: rotate(-11deg) scale(1); }
}

/* ── 태블릿 이상 ────────────────────────────────────────── */
@media (min-width: 768px) {
    :root { --pad: 48px; }
    body { background-color: var(--desk); }
    .sheet { max-width: 1120px; margin: 0 auto; }
    .mobile-cta-bar { display: none; }
    body.has-cta-bar .site-footer { padding-bottom: 44px; }

    .site-header .bar { min-height: 68px; }
    .header-logo { font-size: 1.1875rem; }
    /* 메뉴는 53.75em(글자 100%에서 860px)부터, FAQ는 64em(1024px)부터 보인다. em은 글자 확대에 따라 커지므로 확대한 화면에서는 메뉴가 숨는다 */
    .site-nav { gap: 2px; font-weight: 500; font-size: 0.9375rem; white-space: nowrap; }
    .site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; text-decoration: none; }
    .site-nav a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
    .site-nav .nav-wide { display: none; }
    .hero-more { grid-column: 1 / -1; margin-top: 10px; }
    .header-cta { padding: 0 20px; font-size: 1.0625rem; }

    .hero { padding-top: 72px; padding-bottom: 64px; }
    .hero .region { margin-top: 20px; font-size: 1.1875rem; align-self: start; }
    .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); column-gap: 32px; }
    .hero h1 { grid-column: 1; align-self: end; }
    .hero .region { grid-column: 1; }
    .map { order: 0; grid-column: 2; grid-row: 1 / span 2; margin-top: 0; align-self: center; }
    .headwrap, .hero-cta { grid-column: 1 / -1; }
    .hero h1 { max-width: 12em; font-size: clamp(2.75rem, 4.8vw, 3.375rem); line-height: 1.16; }
    .headwrap { margin-top: 34px; position: relative; }
    .seal { right: 26px; top: -4.55em; font-size: 1.125rem; width: 5.5em; height: 5.5em; border-width: 0.12em; }
    .headbox { display: grid; grid-template-columns: 1.25fr 1.15fr 0.8fr; }
    .headbox > div { display: block; border-bottom: 0; border-right: var(--rule-thin) solid var(--line); }
    .headbox > div:last-child { border-right: 0; }
    .headbox dt { background: none; border-right: 0; padding: 12px 18px 0; }
    .headbox dd { padding: 2px 18px 16px; font-size: 1.125rem; }
    .hero-cta { margin-top: 36px; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px; }
    .hero-cta .btn { min-height: 56px; padding: 0 36px; font-size: 1.125rem; }
    .hero-cta .note { margin: 0 0 0 12px; }

    .block { padding-top: 84px; padding-bottom: 92px; }
    .block h2 + * { margin-top: 36px; }
    .pair { grid-template-columns: 1fr 1fr; gap: 56px; }
    .checks strong { font-size: 1.1875rem; }
    .checks li { grid-template-columns: 28px 1fr; column-gap: 18px; padding: 18px 0; }
    .box { width: 28px; height: 28px; }

    .trust-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: stretch; }
    .ledger { display: grid; grid-auto-rows: 1fr; }
    .ledger > div { grid-template-columns: 11em 1fr; align-items: center; }
    .ledger dt { padding: 16px 18px; font-size: 1.1875rem; }
    .ledger dd { padding: 16px 18px 16px 0; font-size: 1.0625rem; }
    .report { margin-top: 0; }
    .pages { padding: 44px 0 0 64px; }
    .excerpt { padding: 20px 22px 18px; }
    .excerpt .xnote { display: table-cell; }
    .ask { margin-top: 56px; padding: 28px 32px; grid-template-columns: 1fr auto; align-items: center; column-gap: 32px; }
    .ask p:first-child { font-size: 1.375rem; }
    .ask .btn { width: auto; grid-row: span 2; min-height: 56px; padding: 0 36px; font-size: 1.125rem; }

    .cells { grid-template-columns: repeat(4, 1fr); }
    .cells > div { padding: 22px 20px 26px; border-bottom: 0; }
    .cells > div:nth-child(2n) { border-right: var(--rule-thin) solid var(--line); }
    .cells > div:last-child { border-right: 0; }
    .cells h3 { font-size: 1.1875rem; }
    .quote { margin-top: 48px; }

    .steps { display: grid; grid-template-columns: repeat(3, 1fr); }
    .steps li { grid-template-columns: 1fr; border-bottom: 0; border-right: var(--rule-thin) solid var(--line); }
    .steps li:last-child { border-right: 0; }
    .steps li::before { justify-content: flex-start; padding: 8px 20px; border-right: 0; border-bottom: var(--rule-thin) solid var(--line); }
    .steps div { padding: 18px 20px 24px; }
    .steps h3 { font-size: 1.1875rem; }
    .faq-head { margin-top: 96px; }
    .faq-item summary { font-size: 1.125rem; min-height: 68px; padding: 16px 6px; }
    .faq-item p { padding: 0 6px 22px; font-size: 1.0625rem; }

    .closing { padding-top: 44px; padding-bottom: 48px; }
    .signoff { padding: 64px 56px 56px; }
    .closing .actions { grid-template-columns: auto auto; justify-content: start; gap: 12px; }
    .closing .btn { min-height: 56px; padding: 0 36px; font-size: 1.125rem; }

    .site-footer { padding-top: 44px; }
}

/* 메뉴는 헤더 폭이 53.75rem(글자 100%에서 860px) 이상일 때, FAQ 항목은 64rem(1024px) 이상일 때 보인다.
   컨테이너 쿼리의 rem은 글자 크기에 따라 커지므로, 글자를 키운 화면에서는 메뉴가 숨고 로고와 버튼만 남는다 */
@container (min-width: 53.75rem) {
    .site-nav { display: flex; }
}
@container (min-width: 64rem) {
    .site-nav { gap: 4px; font-size: 1.0625rem; }
    .site-nav a { padding: 0 12px; }
    .site-nav .nav-wide { display: inline-flex; }
}
/* 좁은 헤더(320px 안팎, 글자를 키운 경우 포함)는 여백과 버튼 안쪽 여백을 줄여 로고, 전화, 상담 버튼이 한 줄에 들어가게 한다 */
@container (max-width: 22.5rem) {
    .site-header .bar { padding: 0 12px; gap: 6px; }
    .header-actions { gap: 6px; }
    .header-logo { font-size: min(1.125rem, 18px); }
    .header-cta { padding: 0 10px; }
}

@media (min-width: 1024px) {
    .quote { display: grid; grid-template-columns: 17em 1fr auto; }
    .q-label { padding: 22px 20px; border-bottom: 0; border-right: var(--rule-thin) solid var(--line); }
    .q-label h3 { font-size: 1.1875rem; }
    .q-value { padding: 20px 24px 22px; }
    .q-action { padding: 20px 24px; display: flex; align-items: center; }
    .q-action .btn { width: auto; }
    .q-value .price { font-size: 1.75rem; }
}

/* 글자를 키워 칸이 좁아진 경우: 컨테이너 폭을 rem으로 재므로 글자 100%에서는 걸리지 않는다 */
@container (max-width: 41.5rem) {
    .trust-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@container (max-width: 16rem) {
    .excerpt .xnote { display: none; }
}
@container (max-width: 10rem) {
    .excerpt { padding: 12px 10px; }
    .excerpt th, .excerpt td { padding: 8px 4px; }
    .xb { min-width: 3.6em; padding: 0 0.3em; }
}

@media (min-width: 1160px) {
    .sheet { margin-top: 28px; }
}

@media (prefers-contrast: more) {
    :root { --ink-soft: var(--ink); }
}

@media print {
    body { background-color: #fff; }
    .box path { stroke-dashoffset: 0 !important; }
    .site-header { position: static; }
    .site-nav, .header-actions, .mobile-cta-bar, .hero-cta, .ask, .closing .actions { display: none; }
    .map-check { stroke-dashoffset: 0 !important; animation: none !important; }
    .signoff, .site-footer { background-color: #fff; color: var(--ink); }
}
