/* 가이드 페이지 공통. 틀은 privacy.html과 같고, 색과 모서리는 index.html의 BI v7.2 규칙을 따름 */
@font-face { font-family: "Paperlogy"; src: url("/fonts/Paperlogy-8ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
:root {
  --paper: #ffffff;
  --ink: #101010;
  --pencil: #656565;
  --rule: #e3e3e3;
  --font-head: "Paperlogy", "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1.0625rem; line-height: 1.8; word-break: keep-all; overflow-wrap: break-word;
}
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

/* 상단: 로고 하나와 신청 버튼 */
header .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { display: block; margin-left: -7px; }
.logo { display: block; height: 42px; width: auto; aspect-ratio: 832.55992925 / 240; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; background: var(--ink); color: var(--paper);
  border: 2px solid var(--ink); border-radius: 4px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none;
}
.button:hover { background: var(--paper); color: var(--ink); }
.button-small { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
@media (max-width: 760px) { .logo { height: 38px; } }
@media (max-width: 400px) { header .button-small { padding: 0 12px; font-size: 0.875rem; } }

/* 본문 */
main { padding: clamp(32px, 5vw, 64px) 0 96px; }
.crumb { font-size: 0.875rem; color: var(--pencil); }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
h1 {
  margin: 12px 0 0; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.875rem, 1.3rem + 2.2vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.3; text-wrap: balance;
}
.byline { margin-top: 16px; font-size: 0.9375rem; color: var(--pencil); }
.byline a { text-decoration: none; }
.byline a:hover { text-decoration: underline; }
.lead { margin-top: 28px; font-size: 1.1875rem; line-height: 1.75; font-weight: 500; }
h2 { margin: 52px 0 0; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.45; }
h3 { margin: 28px 0 0; font-size: 1.125rem; font-weight: 800; line-height: 1.5; }
p, ul, ol { margin: 12px 0 0; }
ul, ol { padding-left: 1.2em; }
li + li { margin-top: 6px; }
strong, b { font-weight: 800; }

/* 표: 폰에서는 표만 옆으로 밀어 봄(페이지 가로 넘침 없음) */
.table-wrap { margin-top: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.6; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
thead th { border-bottom: 2px solid var(--ink); font-weight: 800; }
tbody th { font-weight: 800; }

/* 점검표 */
.check { list-style: none; padding-left: 0; }
.check li { position: relative; padding-left: 30px; }
.check li::before { content: ""; position: absolute; left: 0; top: 0.4em; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 4px; }

.note { margin-top: 20px; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 4px; font-size: 0.9375rem; color: var(--pencil); line-height: 1.7; }

/* 신청 안내 */
.cta-box { margin-top: 56px; padding: clamp(24px, 4vw, 36px); border: 2px solid var(--ink); border-radius: 4px; }
.cta-title { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.4; }
.cta-box .button { margin-top: 20px; }

/* 출처 */
.sources { margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 0.875rem; color: var(--pencil); line-height: 1.7; }
.sources h2 { margin: 0; padding: 0; border: 0; font-size: 1rem; color: var(--ink); }
.sources a { word-break: break-all; }

/* 다른 가이드, 가이드 목록 */
.guide-list { list-style: none; padding: 0; margin-top: 24px; }
.guide-list li { margin: 0; padding: 22px 0; border-top: 1px solid var(--rule); }
.guide-list li:last-child { border-bottom: 1px solid var(--rule); }
.guide-list a { font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.45; text-decoration: none; }
.guide-list a:hover { text-decoration: underline; }
.guide-list p { margin-top: 6px; color: var(--pencil); font-size: 0.9375rem; line-height: 1.65; }

/* 하단 */
footer { border-top: 1px solid var(--rule); padding: 32px 0 48px; font-size: 0.875rem; color: var(--pencil); line-height: 1.7; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer li + li { margin-top: 0; }
footer a { color: var(--ink); font-weight: 700; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .biz { margin-top: 14px; }
