/* ================================================================
   PDF 도구 — 2026 리뉴얼 디자인 (한국어 페이지 전용)
   카드형 UI · 하려는 일 기준 분류 · 주홍 도장 = "업로드 없음" 배지
   색을 바꾸려면 아래 :root 변수만 고치면 됩니다.
   ================================================================ */
:root {
  --bg: #F4F5F9;
  --surface: #FFFFFF;
  --surface-2: #FAFBFD;
  --line: #ECEDF2;
  --line-2: #E1E4EC;
  --line-strong: #D9DCE6;
  --ink: #14161C;
  --ink-2: #4A4F5C;
  --ink-3: #5B6070;
  --muted: #6B7080;
  --faint: #9A9FAC;

  --accent: #2F5BEA;
  --accent-ink: #1F44C2;
  --accent-soft: #EAF0FF;

  --brand: #C8553D;          /* 도장 주홍: 업로드 없음 배지 전용 */
  --brand-ink: #B4432C;
  --brand-soft: #FDEEE9;

  --ok: #0F7A60;
  --err: #C0392B;

  /* 분류별 아이콘 색 */
  --org-bg: #EAF0FF;  --org-fg: #2F5BEA;
  --sign-bg: #F1EAFF; --sign-fg: #6B3FD6;
  --conv-bg: #E4F5EF; --conv-fg: #0F7A60;
  --send-bg: #FFF0E4; --send-fg: #B5510A;

  --r-lg: 24px;
  --r-md: 20px;
  --r-sm: 14px;
  --shadow: 0 6px 20px rgba(20, 22, 28, 0.06);
  --font: 'IBM Plex Sans KR', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: var(--accent); }
a:hover { color: var(--accent-ink); }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 머리글 ---------- */
.site-header { background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid #E6E8EF; }
.site-header .inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink); font-size: 19px; font-weight: 700;
}
.brand:hover { color: var(--ink); }
.brand::before {
  content: "PDF";
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--brand); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; letter-spacing: 0;
}
.brand .dot { display: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 2px; }
.site-nav a {
  padding: 9px 13px; border-radius: 10px; text-decoration: none;
  color: var(--ink-2); font-size: 15px; min-height: 40px; display: inline-flex; align-items: center;
}
.site-nav a:hover { background: #EEF0F6; color: var(--ink); }
.site-nav a.current { background: #EEF0F6; color: var(--ink); font-weight: 600; }

/* ---------- 홈: 첫 화면 ---------- */
.hero { padding: 64px 0 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid #E6E8EF; font-size: 14px; font-weight: 600; color: var(--brand-ink);
}
.hero h1 { margin: 0; font-size: clamp(30px, 5vw, 52px); line-height: 1.22; font-weight: 700; letter-spacing: -0.02em; }
.hero p { margin: 0; max-width: 620px; font-size: 18px; color: var(--ink-2); }
.search {
  width: 100%; max-width: 560px; margin-top: 6px;
  display: flex; align-items: center; gap: 10px; background: var(--surface);
  border: 1.5px solid var(--line-strong); border-radius: 16px; padding: 0 18px; height: 58px; box-shadow: var(--shadow);
}
.search:focus-within { border-color: var(--accent); }
.search input { flex: 1; border: 0; outline: none; font-size: 16px; background: transparent; min-width: 0; }
.checks { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 14px; color: var(--ink-2); }
.checks li { display: inline-flex; align-items: center; gap: 6px; }
.checks svg { color: var(--ok); }

.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 8px; }
.cat-nav a {
  padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2);
  color: var(--ink); text-decoration: none; font-size: 15px; min-height: 40px; display: inline-flex; align-items: center;
}
.cat-nav a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 도구 목록 ---------- */
.cats { display: flex; flex-direction: column; gap: 44px; padding: 20px 0 0; }
.cat { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 16px; }
.cat-head h2 { margin: 0; font-size: 24px; font-weight: 700; }
.cat-head p { margin: 2px 0 0; font-size: 15px; color: var(--ink-3); }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.tool-card {
  display: flex; flex-direction: column; gap: 14px; padding: 22px; min-height: 148px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.tool-card:hover { color: var(--ink); border-color: #CBD3EA; box-shadow: var(--shadow); transform: translateY(-2px); }
.tool-card .top { display: flex; justify-content: space-between; align-items: flex-start; }
.tool-card strong { font-size: 17px; }
.tool-card .desc { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.tool-card .txt { display: flex; flex-direction: column; gap: 4px; }
.tool-card[hidden] { display: none; }
.tool-icon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.tool-icon svg { width: 24px; height: 24px; }
.tool-icon.lg { width: 64px; height: 64px; border-radius: 18px; }
.tool-icon.lg svg { width: 32px; height: 32px; }
.tool-icon.sm { width: 36px; height: 36px; border-radius: 10px; }
.tool-icon.sm svg { width: 18px; height: 18px; }
.t-org { background: var(--org-bg); color: var(--org-fg); }
.t-sign { background: var(--sign-bg); color: var(--sign-fg); }
.t-conv { background: var(--conv-bg); color: var(--conv-fg); }
.t-send { background: var(--send-bg); color: var(--send-fg); }
.badge-new { font-size: 12px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); padding: 4px 8px; border-radius: 999px; }
.no-result { display: none; text-align: center; color: var(--ink-3); padding: 24px; background: var(--surface); border-radius: var(--r-md); border: 1px dashed var(--line-strong); }
.no-result.show { display: block; }
.soon { font-size: 14px; color: var(--ink-3); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-md); padding: 16px 20px; }
.soon strong { color: var(--ink); }

/* ---------- 광고 자리 ---------- */
.ad-slot { width: 100%; max-width: 760px; min-width: 0; margin: 8px auto 0; padding: 0 16px; overflow: hidden; flex-shrink: 0; }
.ad-slot-inner { width: 728px; height: 90px; transform-origin: top left; overflow: hidden; }
.ad-notice { margin: 6px 0 0; font-size: 11px; color: var(--muted); text-align: center; }

/* ---------- 신뢰 섹션 ---------- */
.trust { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 28px; }
.trust-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.trust-head h2 { margin: 0; font-size: 26px; }
.trust-head p { margin: 6px 0 0; max-width: 640px; color: var(--ink-2); }
.stamp {
  width: 120px; height: 120px; border-radius: 50%; border: 5px solid var(--brand); color: var(--brand);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-weight: 700; font-size: 15px; line-height: 1.35; transform: rotate(-8deg); flex-shrink: 0;
}
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.trust-grid h3 { margin: 10px 0 4px; font-size: 18px; }
.trust-grid p { margin: 0; font-size: 15px; color: var(--ink-2); }
.trust-grid .tool-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); }

.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px; }
.sec-head h2 { margin: 0; font-size: 24px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.post-card {
  display: flex; flex-direction: column; gap: 8px; padding: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink);
}
.post-card:hover { color: var(--ink); border-color: #CBD3EA; }
.post-card .tag { font-size: 13px; font-weight: 600; color: var(--send-fg); }
.post-card strong { font-size: 17px; line-height: 1.45; }

/* ---------- 도구 페이지 ---------- */
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.tool-head { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 22px 0 26px; }
.tool-head .txt { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 8px; }
.tool-head h1 { margin: 0; font-size: 34px; line-height: 1.25; letter-spacing: -0.02em; }
.tool-head p { margin: 0; color: var(--ink-2); }
.pills { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2); }
.pills li.pill-brand { background: var(--brand-soft); border-color: var(--brand-soft); color: var(--brand-ink); }

.tool-layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.work { flex: 999 1 560px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.side-box h2 { margin: 0; font-size: 15px; }
.side-box p { margin: 0; font-size: 13px; color: var(--ink-3); line-height: 1.5; }

.dropzone {
  border: 2px dashed var(--line-strong); border-radius: 18px; background: var(--surface-2);
  padding: 44px 20px; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--accent); background: var(--accent-soft); }
.dropzone .dz-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.dropzone strong { font-size: 17px; }
.dropzone span { font-size: 14px; color: var(--ink-3); }
.dropzone.compact { padding: 16px; flex-direction: row; justify-content: center; }
.dropzone.compact .dz-icon { width: 36px; height: 36px; border-radius: 10px; }
.dropzone.compact strong { font-size: 15px; }
.dropzone input[type=file] { display: none; }

.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.list-head strong { font-size: 18px; }
.list-head span { font-size: 14px; color: var(--ink-3); }
.file-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.file-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border: 1px solid #E6E8EF; border-radius: 16px; background: var(--surface-2);
}
.file-row[draggable=true] { cursor: grab; }
.file-row.dragging { opacity: .45; }
.file-row.drag-over { border-color: var(--accent); background: var(--accent-soft); }
.file-row .num { font-size: 14px; font-weight: 700; color: var(--muted); width: 20px; text-align: center; flex-shrink: 0; }
.file-row .grip { color: var(--faint); flex-shrink: 0; display: flex; }
.thumb {
  width: 44px; height: 58px; border-radius: 6px; background: #fff; border: 1px solid #DDE0E8; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: var(--faint); font-size: 10px; font-weight: 700; overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.file-meta .name { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-meta .info { font-size: 13px; color: var(--muted); }
.file-meta .err, .err-text { color: var(--err); font-weight: 600; }
.file-actions { display: flex; gap: 2px; flex-shrink: 0; }
.icon-btn {
  width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.icon-btn:hover { background: #EEF0F6; color: var(--ink); }
.icon-btn:disabled { opacity: .3; cursor: default; background: transparent; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-strong);
  background: var(--surface); font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; text-decoration: none;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary {
  width: 100%; height: 58px; border: 0; border-radius: 16px; background: var(--accent); color: #fff;
  font-size: 18px; font-weight: 700; cursor: pointer;
}
.btn-primary:hover { background: var(--accent-ink); }
.btn-primary:disabled { background: #C9CDD8; cursor: default; }
.foot-note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.status { min-height: 0; font-size: 15px; text-align: center; }
.status:empty { display: none; }
.status.ok { color: var(--ok); font-weight: 600; }
.status.err { color: var(--err); font-weight: 600; }
.status.busy { color: var(--ink-2); }

/* 옵션 */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > .label, fieldset legend { font-size: 15px; font-weight: 700; color: var(--ink); }
.field .hint { font-size: 13px; color: var(--muted); }
.input, select.input {
  height: 46px; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 0 14px;
  font-size: 16px; background: #fff; width: 100%; min-width: 0;
}
.input:focus { outline: none; border-color: var(--accent); }
.input.short { width: 120px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.opt {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line-2);
  border-radius: 14px; background: #fff; cursor: pointer;
}
.opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.opt > input[type=radio] { margin: 4px 0 0; accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.opt .t { display: block; font-weight: 600; font-size: 15px; }
.opt .d { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.5; margin-top: 2px; }
.opt-extra { margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: #fff; font-size: 14px; cursor: pointer;
}
.chip input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.pos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; max-width: 380px; }
.pos-grid .chip span { width: 100%; justify-content: center; border-radius: 10px; padding: 0 6px; font-size: 13.5px; white-space: nowrap; }
input[type=range] { width: 100%; accent-color: var(--accent); }

/* 결과 / 다음 작업 */
.result {
  display: none; border: 1.5px solid #BFE3D6; background: #F1FAF6; border-radius: 16px; padding: 16px 18px;
  flex-direction: column; gap: 10px;
}
.result.show { display: flex; }
.result strong { color: var(--ok); }
.next-list { display: flex; flex-direction: column; gap: 8px; }
.next-link {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 48px;
  border-radius: 12px; background: #F6F7FA; text-decoration: none; color: var(--ink); font-size: 15px; border: 0; cursor: pointer; width: 100%; text-align: left;
}
.next-link:hover { background: var(--accent-soft); color: var(--accent-ink); }
.next-link:disabled { opacity: .5; cursor: default; background: #F6F7FA; color: var(--ink); }

/* 사용법 · 자주 묻는 질문 · 관련 도구 */
.below { display: flex; flex-direction: column; gap: 40px; padding-top: 40px; }
.below h2 { margin: 0 0 16px; font-size: 24px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 8px; counter-increment: s; }
.steps li::before {
  content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.steps strong { font-size: 17px; }
.steps span { font-size: 14px; color: var(--ink-3); line-height: 1.55; }
.qa { display: flex; flex-direction: column; gap: 10px; }
details.faq, .qa details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0; overflow: hidden; }
details.faq summary, .qa summary { cursor: pointer; list-style: none; padding: 18px 20px; font-size: 16px; font-weight: 600; display: flex; gap: 10px; }
details.faq summary::-webkit-details-marker, .qa summary::-webkit-details-marker { display: none; }
details.faq summary::before, .qa summary::before { content: "Q"; color: var(--accent); font-weight: 700; }
details.faq summary::after, .qa summary::after { content: "+"; margin-left: auto; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
details.faq[open] summary::after, .qa details[open] summary::after { content: "−"; }
details.faq .a, .qa .a { padding: 0 20px 18px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.related a {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 64px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); font-weight: 600;
}
.related a:hover { border-color: #CBD3EA; color: var(--ink); }
.guide-link { font-size: 15px; }

/* ---------- 글 페이지 (가이드·블로그·약관) ---------- */
.doc {
  max-width: 820px; margin: 32px auto 0; padding: 44px 48px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 28px; font-size: 16.5px; line-height: 1.85; color: #262A33;
}
.doc h1 { margin: 0 0 8px; font-size: 32px; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.doc .doc-sub { margin: 0 0 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: 16px; }
.doc h2 { margin: 36px 0 12px; font-size: 22px; line-height: 1.4; color: var(--ink); }
.doc h3 { margin: 26px 0 8px; font-size: 18px; color: var(--ink); }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 16px; }
.doc li { margin-bottom: 6px; }
.doc code { background: #F1F3F8; border-radius: 6px; padding: 2px 6px; font-size: 0.92em; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { border: 1px solid var(--line-2); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: #F6F7FA; font-weight: 600; }
.callout {
  margin: 20px 0; padding: 18px 20px; border-radius: 16px; background: var(--accent-soft);
  color: #22325F; font-size: 15.5px; line-height: 1.75;
}
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.guide-cards a {
  display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 18px;
  text-decoration: none; color: var(--ink); background: var(--surface-2);
}
.guide-cards a:hover { border-color: #CBD3EA; background: #fff; color: var(--ink); }
.guide-cards .t { font-weight: 700; font-size: 16.5px; color: var(--ink); }
.guide-cards .d { font-size: 14.5px; color: var(--ink-3); line-height: 1.6; }
.tool-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 0 28px; padding: 16px 18px; border-radius: 16px; background: var(--accent-soft);
}
.tool-cta p { margin: 0; font-size: 15px; color: #22325F; }
.tool-cta a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 12px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
.tool-cta a:hover { background: var(--accent-ink); color: #fff; }

/* ---------- 바닥글 ---------- */
.site-footer { margin-top: 64px; border-top: 1px solid #E6E8EF; background: var(--surface); }
.site-footer .inner { max-width: 1200px; margin: 0 auto; padding: 32px 24px 40px; display: flex; flex-direction: column; gap: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.site-footer nav a { color: var(--ink-2); text-decoration: none; }
.site-footer nav a:hover { color: var(--accent); }
.site-footer .copy { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------- 휴대폰 ---------- */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .site-header .inner { padding: 10px 16px; }
  .site-nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { padding: 8px 10px; font-size: 14px; white-space: nowrap; flex-shrink: 0; }
  .tool-head { padding: 16px 0 20px; }
  .tool-head .tool-icon.lg { display: none; }
  .hero { padding: 36px 0 20px; gap: 14px; }
  .hero p { font-size: 16px; }
  .search { height: 52px; }
  .cats { gap: 32px; }
  .cat-head h2 { font-size: 20px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tool-card { padding: 16px; gap: 10px; min-height: 0; border-radius: 18px; }
  .tool-card .top { flex-direction: column; gap: 8px; }
  .tool-card strong { font-size: 15px; }
  .tool-card .desc { font-size: 13px; }
  .tool-icon { width: 40px; height: 40px; border-radius: 12px; }
  .tool-icon svg { width: 20px; height: 20px; }
  .tool-icon.lg { width: 52px; height: 52px; border-radius: 14px; }
  .tool-icon.lg svg { width: 26px; height: 26px; }
  .trust { padding: 24px; border-radius: 22px; }
  .stamp { width: 84px; height: 84px; font-size: 11px; border-width: 4px; }
  .tool-head h1 { font-size: 26px; }
  .work { padding: 16px; border-radius: 20px; }
  .dropzone { padding: 32px 16px; }
  .file-row { gap: 8px; padding: 8px; }
  .thumb { width: 36px; height: 48px; }
  .icon-btn { width: 36px; height: 36px; }
  .doc { margin: 16px 12px 0; padding: 28px 20px; border-radius: 22px; font-size: 16px; }
  .doc h1 { font-size: 26px; }
  .site-footer .inner { padding: 24px 16px 32px; }
}

/* 처리 중인 실행 버튼은 눌리지 않게 */
.btn[aria-busy="true"] { pointer-events: none; opacity: .65; cursor: progress; }
