/* 고객 더모음 — themoum-docu 공통 스타일(family.css 3라운드 확정, 2026-12-02)에서 이식 + 고객 더모음 전용 블록
   뼈대: 딥 네이비 #0A1931 · 더모음 포인트 블루 #1E40AF(호버 #1A3699, 연한 바탕 #F5F8FF)
   64px 헤더 · 텍스트 워드마크만 사용 · Pretendard 셀프호스팅(외부 CDN 없음) · 8px 격자 · 12px 카드 · 1px #E3E7EE 선 */
@font-face { font-family: 'Pretendard'; font-style: normal; font-display: swap; font-weight: 400; src: url('/fonts/Pretendard-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-style: normal; font-display: swap; font-weight: 500; src: url('/fonts/Pretendard-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-style: normal; font-display: swap; font-weight: 600; src: url('/fonts/Pretendard-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-style: normal; font-display: swap; font-weight: 700; src: url('/fonts/Pretendard-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-style: normal; font-display: swap; font-weight: 800; src: url('/fonts/Pretendard-ExtraBold.woff2') format('woff2'); }

:root {
  --navy: #0A1931; --navy-2: #10284E; --navy-line: #1E3256;
  --blue: #1E40AF; --blue-hover: #1A3699; --blue-soft: #F5F8FF; --blue-line: #DBE5FF; --blue-bright: #1D4ED8;
  --ink: #101828; --sub: #475467; --muted: #667085;
  --disabled-ink: #98A2B3; --disabled-bg: #F2F4F7;
  --line: #E3E7EE; --line-strong: #CBD3DF; --soft: #F7F9FC; --white: #FFFFFF; --focus: #93C5FD;
  --safe-ink: #15803D; --safe-bg: #E7F6EC; --safe-line: #B7E4C7;
  --warn-ink: #B42318; --warn-bg: #FEF3F2; --warn-line: #FECDCA;
  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 88px;
  --radius-card: 12px; --radius-btn: 8px; --radius-chip: 999px; --ease: 150ms ease;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
a { color: var(--blue); }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--navy); color: var(--white); padding: 8px 12px; border-radius: 6px; z-index: 50; text-decoration: none; font-size: 14px; }
.skip:focus { top: 12px; }

/* ===== 1. 64px 헤더 (텍스트 워드마크) ===== */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { height: 64px; display: flex; align-items: center; gap: 16px; }
.back-portal { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--soft); color: var(--sub); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: border-color var(--ease), color var(--ease), background-color var(--ease); }
.back-portal:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.wordmark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap; }
.wordmark-img { display: block; height: 30px; width: auto; }
.wordmark-ko { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; color: var(--blue); }
.wordmark-en { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: 16px; font-size: 14px; font-weight: 500; color: var(--sub); }
.site-nav a { color: inherit; text-decoration: none; padding: 4px 0; transition: color var(--ease); }
.site-nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* ===== 2. 버튼 · 칩 ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--radius-btn); border: 1px solid var(--blue); background: var(--blue); color: var(--white); font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color var(--ease), border-color var(--ease), color var(--ease); }
.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn.sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn.xs { height: 34px; padding: 0 12px; font-size: 13px; }
.btn.line { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn.line:hover { background: var(--soft); border-color: var(--navy); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-chip); color: var(--navy); background: var(--soft); border: 1px solid var(--line); }
.chip.blue { color: var(--blue); background: var(--blue-soft); border-color: var(--blue-line); }
.chip.safe { color: var(--safe-ink); background: var(--safe-bg); border-color: var(--safe-line); }

/* ===== 3. 히어로 · 섹션 ===== */
.hero { background: linear-gradient(180deg, var(--blue-soft) 0%, var(--white) 100%); border-bottom: 1px solid var(--line); padding: var(--s6) 0 var(--s5); }
.hero-kicker { display: block; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; line-height: 1.22; letter-spacing: -0.03em; color: var(--navy); overflow-wrap: break-word; }
.hero h1 .hook { color: var(--blue); }
.hero-lead { margin-top: 14px; max-width: 640px; font-size: 17px; color: var(--sub); line-height: 1.62; }
.section { padding: var(--s7) 0; }
.section.alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: var(--s4); }
.sec-kicker { display: block; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.sec-title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; line-height: 1.28; letter-spacing: -0.025em; color: var(--navy); }
.sec-desc { margin-top: 8px; font-size: 15px; color: var(--sub); max-width: 640px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }

/* ===== 4. 실시간 검색바 · 분류 탭 ===== */
.search-box { margin-top: 24px; max-width: 640px; display: flex; align-items: center; gap: 10px; background: var(--white); border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 0 14px; height: 52px; transition: border-color var(--ease); }
.search-box:focus-within { border-color: var(--blue); }
.search-box svg { flex: none; color: var(--muted); }
.search-box input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--font); font-size: 15px; color: var(--ink); outline: none; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-clear { border: 0; background: var(--soft); color: var(--sub); font-family: var(--font); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 6px; cursor: pointer; }
.cat-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero .cat-bar { margin: 16px 0 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { height: 36px; padding: 0 14px; border-radius: var(--radius-chip); border: 1px solid var(--line); background: var(--white); color: var(--sub); font-family: var(--font); font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color var(--ease), border-color var(--ease), color var(--ease); }
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.count-info { font-size: 13px; color: var(--muted); font-weight: 600; }
.empty { padding: 32px 20px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--soft); color: var(--sub); }

/* ===== 5. 플랫폼 카드 ===== */
.pf-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 22px; display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; transition: border-color var(--ease), background-color var(--ease); }
.pf-card:hover { border-color: var(--blue); background: var(--blue-soft); }
.pf-card .card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pf-card h3 { font-size: 18px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.pf-card p { font-size: 14px; color: var(--sub); line-height: 1.6; }
.pf-meta { font-size: 12px; color: var(--muted); font-weight: 600; }
.card-cta { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 700; color: var(--blue); }
.pf-card:hover .chip { background: var(--white); }

/* ===== 6. 공식 업데이트 타임라인 ===== */
.timeline { list-style: none; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--blue-line); margin-left: 6px; }
.tl-item { position: relative; padding: 0 0 22px 22px; }
.tl-item::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 3px solid var(--blue); }
.tl-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); font-weight: 600; }
.tl-item h3 { margin-top: 6px; font-size: 16px; font-weight: 700; line-height: 1.45; }
.tl-item h3 a { color: var(--navy); text-decoration: none; }
.tl-item h3 a:hover { color: var(--blue); text-decoration: underline; }
.tl-item p { margin-top: 4px; font-size: 14px; color: var(--sub); max-width: 760px; }
.ext::after { content: " ↗"; font-size: .85em; color: var(--blue); }

/* ===== 7. 플랫폼 전용 페이지 ===== */
.page-hero { padding: var(--s5) 0 var(--s4); }
.crumbs { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--sub); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.page-hero .chips { margin-top: 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.basis-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.block { padding: var(--s4) 0; border-top: 1px solid var(--line); }
.block h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 16px; }
.summary-list { padding-left: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; max-width: 820px; }
.summary-list li { counter-increment: s; position: relative; padding: 14px 16px 14px 52px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); font-size: 15px; }
.summary-list li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.check-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.progress { flex: 1; min-width: 160px; max-width: 360px; height: 10px; appearance: none; -webkit-appearance: none; border: 0; border-radius: 999px; background: var(--disabled-bg); overflow: hidden; }
.progress::-webkit-progress-bar { background: var(--disabled-bg); border-radius: 999px; }
.progress::-webkit-progress-value { background: var(--blue); border-radius: 999px; }
.progress::-moz-progress-bar { background: var(--blue); border-radius: 999px; }
.progress-text { font-size: 14px; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.checklist { list-style: none; padding: 0; display: grid; gap: 8px; max-width: 820px; }
.checklist label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); cursor: pointer; font-size: 15px; transition: border-color var(--ease), background-color var(--ease); }
.checklist label:hover { border-color: var(--blue); }
.checklist input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; }
.checklist label:has(input:checked) { background: var(--blue-soft); border-color: var(--blue-line); }
.penalties { list-style: none; padding: 0; display: grid; gap: 8px; max-width: 820px; }
.penalties li { padding: 12px 16px 12px 44px; position: relative; border: 1px solid var(--warn-line); background: var(--warn-bg); border-radius: var(--radius-card); font-size: 15px; color: var(--ink); }
.penalties li::before { content: "!"; position: absolute; left: 16px; top: 13px; width: 18px; height: 18px; border-radius: 50%; background: var(--warn-ink); color: var(--white); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.sources { list-style: none; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.sources a { text-decoration: none; font-weight: 600; }
.sources a:hover { text-decoration: underline; }
.note { margin-top: 12px; font-size: 13px; color: var(--muted); max-width: 820px; }

/* 홈 체크리스트 진행률 표 */
.progress-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.progress-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); text-decoration: none; color: inherit; transition: border-color var(--ease); }
.progress-card:hover { border-color: var(--blue); }
.progress-card b { font-size: 15px; color: var(--navy); }
.progress-card .progress { max-width: none; }

/* ===== 7-2. 마케팅·SEO 특수스킬 라이브러리 ===== */
.chip.tier-core { color: var(--white); background: var(--blue); border-color: var(--blue); }
.chip.tier-special { color: var(--white); background: var(--navy); border-color: var(--navy); }
.skills-overall { margin: 20px 0 0; }
.skill-grid { align-items: start; }
.skill-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 22px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 80px; transition: border-color var(--ease); }
.skill-card:target { border-color: var(--blue); }
.skill-card.is-complete { border-color: var(--safe-line); background: var(--safe-bg); }
.skill-card .card-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.skill-card h3 { font-size: 18px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1.35; }
.skill-summary { font-size: 14px; color: var(--sub); line-height: 1.6; }
.pf-tags { list-style: none; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.pf-tags a { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--soft); color: var(--sub); font-size: 12px; font-weight: 600; text-decoration: none; transition: border-color var(--ease), color var(--ease); }
.pf-tags a:hover { border-color: var(--blue); color: var(--blue); }
.skill-progress { display: flex; align-items: center; gap: 10px; }
.skill-progress .progress { min-width: 0; max-width: none; height: 8px; }
.skill-progress .progress-text { font-size: 13px; white-space: nowrap; }
.skill-checklist { gap: 6px; }
.skill-checklist label { padding: 10px 12px; font-size: 14px; gap: 10px; line-height: 1.5; }
.skill-checklist input { width: 18px; height: 18px; }
.skill-source { margin-top: auto; padding-top: 4px; font-size: 12px; color: var(--muted); }
.skill-source a { color: var(--sub); font-weight: 600; text-decoration: none; }
.skill-source a:hover { color: var(--blue); text-decoration: underline; }
.sec-head.cat-bar .btn { flex: none; }

/* ===== 8. 푸터 ===== */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: var(--s5) 0; font-size: 13px; color: var(--muted); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.footer-brand strong { color: var(--ink); font-weight: 700; }
.footer-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--sub); font-weight: 500; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { padding-top: var(--s2); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ===== 반응형 ===== */
@media (max-width: 920px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .site-nav { display: none; }
  .section { padding: var(--s6) 0; }
  .hero { padding: var(--s5) 0 var(--s4); }
  .header-inner { gap: 10px; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .wordmark-en { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0ms !important; }
}
