/* =============================================================
   DAON — 법적 고지 문서(개인정보처리방침 등) 공통 스타일
   조문 구조를 읽기 쉽게: 넉넉한 행간, 얇은 구분선, 스크롤되는 표.
   ============================================================= */

.dc-legal {
	--lg-line: #e6ecf4;
	--lg-muted: #6f7889;
	color: #3a4255;
	font-size: 15.5px;
	line-height: 1.9;
	word-break: keep-all;
}
.dc-legal p { margin: 0 0 12px; }
.dc-legal b { color: #16203a; font-weight: 800; }

/* 목차 */
.dc-legal-toc {
	border: 1px solid var(--lg-line);
	background: #f7f9fc;
	padding: 24px 26px;
	margin-bottom: clamp(40px, 5vw, 60px);
}
.dc-legal-toc-head {
	font-size: 12px; font-weight: 700; letter-spacing: 0.22em; color: #9aa1b2;
	margin-bottom: 14px;
}
.dc-legal-toc ol {
	list-style: none;
	margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 6px 26px;
}
.dc-legal-toc a {
	display: block;
	padding: 3px 0;
	font-size: 14.5px;
	color: #4d5567;
	text-decoration: none;
}
.dc-legal-toc a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* 조문 */
.dc-legal-sec {
	padding-top: clamp(30px, 3.6vw, 44px);
	margin-top: clamp(30px, 3.6vw, 44px);
	border-top: 1px solid var(--lg-line);
	scroll-margin-top: 110px;
}
.dc-legal-sec:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.dc-legal-sec h2 {
	margin: 0 0 18px;
	font-size: clamp(19px, 2vw, 23px);
	font-weight: 900;
	letter-spacing: -0.025em;
	color: #16203a;
	line-height: 1.4;
}
.dc-legal-sec h3 {
	margin: 26px 0 10px;
	font-size: 16px;
	font-weight: 800;
	color: var(--navy);
}
.dc-legal-list { margin: 0 0 12px; padding-left: 20px; }
.dc-legal-list li { margin: 6px 0; }
.dc-legal-note {
	margin: 14px 0 0;
	padding: 13px 16px;
	background: #f7f9fc;
	border-left: 2px solid var(--accent);
	font-size: 14.5px;
	line-height: 1.8;
	color: #4d5567;
}

/* 표 */
.dc-legal-tablewrap { overflow-x: auto; margin: 16px 0 8px; -webkit-overflow-scrolling: touch; }
.dc-legal-table {
	width: 100%;
	min-width: 460px;
	border-collapse: collapse;
	font-size: 14.5px;
	line-height: 1.7;
}
.dc-legal-table th,
.dc-legal-table td {
	border: 1px solid var(--lg-line);
	padding: 12px 14px;
	text-align: left;
	vertical-align: top;
	word-break: keep-all;
}
.dc-legal-table thead th {
	background: var(--navy);
	color: #fff;
	font-weight: 700;
	white-space: nowrap;
}
.dc-legal-table tbody th {
	background: #f7f9fc;
	color: var(--navy);
	font-weight: 700;
	white-space: nowrap;
}

/* 하단 */
.dc-legal-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: clamp(40px, 5vw, 60px);
	padding-top: 26px;
	border-top: 2px solid #16203a;
}
.dc-legal-top {
	display: inline-flex; align-items: center; justify-content: center;
	height: 40px; padding: 0 18px;
	border: 1px solid #d6dfec; background: #fff;
	color: var(--navy); font-size: 14px; font-weight: 700;
	text-decoration: none;
	transition: border-color .2s ease, color .2s ease;
}
.dc-legal-top:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 600px) {
	.dc-legal { font-size: 15px; }
	.dc-legal-toc { padding: 20px; }
}
