/* BridgeHere 정책 문서 페이지 (개인정보 처리방침 · 이용약관) — 다운로드 페이지와 같은 페이퍼 톤 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg-base); color: var(--text-high); font-family: var(--font); font-size: 15px; line-height: 1.8; -webkit-font-smoothing: antialiased; word-break: keep-all; }
a { color: var(--link); }
a:hover { color: var(--primary); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.top { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.top__logo img { height: 24px; width: auto; display: block; }
.top__back { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 8px; font-size: 13px; font-weight: 600; color: var(--text-sub); text-decoration: none; }
.top__back:hover { color: var(--primary); }

.doc { width: min(880px, 100% - 32px); margin: 0 auto; padding: 24px 0 96px; }
.doc__head { display: flex; flex-direction: column; gap: 10px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.doc__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--link); text-transform: uppercase; }
.doc__head h1 { margin: 0; font-size: 30px; font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; color: var(--primary); }
.doc__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--text-faint); }
.doc__badge { display: inline-flex; align-items: center; align-self: flex-start; font-size: 11px; font-weight: 700; border-radius: var(--r-wash); padding: 2px 8px; color: var(--highlight-text); background: var(--highlight); }
.doc__intro { margin: 0; font-size: 14px; color: var(--text-body); }

.toc { margin: 24px 0 8px; padding: 16px 20px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--r-card); }
.toc b { display: block; font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; }
.toc a { display: inline-flex; min-height: 32px; align-items: center; font-size: 13px; font-weight: 500; color: var(--text-body); text-decoration: none; }
.toc a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.doc section { padding-top: 32px; }
.doc h2 { margin: 0 0 12px; font-size: 19px; font-weight: 800; line-height: 1.4; letter-spacing: -0.01em; color: var(--primary); }
.doc h3 { margin: 20px 0 8px; font-size: 15px; font-weight: 700; color: var(--text-high); }
.doc p { margin: 0 0 10px; font-size: 14px; color: var(--text-body); }
.doc ol, .doc ul { margin: 0 0 12px; padding-left: 20px; font-size: 14px; color: var(--text-body); }
.doc li { margin: 2px 0; }
.doc li > ul { margin: 4px 0 6px; }
.doc strong { color: var(--text-high); font-weight: 700; }
.doc .note { padding: 12px 16px; border-radius: var(--r-ctrl); background: var(--bg-surface); border: 1px solid var(--border); }
.doc .note p:last-child { margin-bottom: 0; }

.table { margin: 8px 0 16px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-ctrl); background: var(--bg-surface); }
.table table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.6; min-width: 560px; }
.table th, .table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.table th { background: var(--bg-tray); font-weight: 700; color: var(--text-high); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table td { color: var(--text-body); }

/* 이용약관 — 장(章) 구분 · 항(①)·호(1.)·목(가.) 내어쓰기 */
.doc__chapter { margin: 48px 0 0; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--link); }
.doc__chapter + section { padding-top: 12px; }
.doc p.cl, .doc p.it, .doc p.sub { display: flex; gap: 6px; }
.doc p .n { flex-shrink: 0; min-width: 1.2em; color: var(--text-high); font-weight: 600; }
.doc p.it { padding-left: 1.4em; }
.doc p.it .n { min-width: 1.6em; }
.doc p.sub { padding-left: 3em; }
.doc p a { text-underline-offset: 2px; }
.doc p .t { flex: 1; min-width: 0; }
.doc p.refs { margin: 4px 0 0; padding-top: 10px; border-top: 1px dashed var(--border); font-size: 13px; color: var(--text-faint); }
.doc p.refs a { font-weight: 600; }
.toc--chapters ol { gap: 12px 24px; }
.toc--chapters ol > li > b { display: block; margin: 0 0 2px; font-size: 12px; font-weight: 700; color: var(--text-high); }
.toc--chapters ul { margin: 0; padding: 0; list-style: none; }
.toc--chapters a { min-height: 28px; }
.table--kv { min-width: 0 !important; }
.table--kv th { width: 9.5em; white-space: nowrap; }

.doc__foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--text-faint); }
.doc__foot a { font-weight: 600; text-decoration: none; }

@media (min-width: 768px) {
  .top { height: 72px; padding: 0 40px; }
  .doc { padding: 48px 0 120px; }
  .doc__head h1 { font-size: 36px; }
  .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc h2 { font-size: 20px; }
}
@media print {
  .top, .toc, .doc__foot { display: none; }
  body { background: #fff; }
  .table { overflow: visible; }
}
