.legal-page { font-family: 'Noto Sans KR', sans-serif; max-width: 860px; margin: 0 auto; color: #222; line-height: 1.8; }
.legal-page h1 { font-size: 1.6em; font-weight: 700; color: #1a3a5c; border-bottom: 3px solid #1a3a5c; padding-bottom: 12px; margin-bottom: 24px; }
.legal-page h2 { font-size: 1.2em; font-weight: 700; color: #1a3a5c; margin-top: 40px; margin-bottom: 12px; padding-left: 12px; border-left: 4px solid #2e7fd8; }
.legal-page h3 { font-size: 1.05em; font-weight: 700; margin-top: 24px; color: #333; }
.legal-toc { background: #fff; border: 0.5px solid #d0dce8; border-radius: 12px; padding: 28px 32px; margin-bottom: 36px; }
.legal-toc-label { font-size: 11px; font-weight: 600; letter-spacing: 2px; color: #888; text-transform: uppercase; margin: 0 0 16px; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0; }
.legal-toc li { display: flex; align-items: center; gap: 12px; }
.legal-toc-num { font-size: 11px; font-weight: 600; color: #aaa; width: 20px; flex-shrink: 0; }
.legal-toc a { font-size: 1.05em; font-weight: 500; color: #1a3a5c; text-decoration: none; padding: 10px 0; border-bottom: 0.5px solid #e8edf2; flex: 1; display: flex; align-items: center; justify-content: space-between; }
.legal-toc li:last-child a { border-bottom: none; }
.legal-toc a::after { content: "→"; font-size: 0.85em; color: #aaa; }
.legal-toc a:hover { color: #2e7fd8; }
.legal-toc a:hover::after { color: #2e7fd8; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.95em; }
.legal-page th { background: #1a3a5c; color: #fff; padding: 10px 14px; text-align: left; }
.legal-page td { padding: 10px 14px; border-bottom: 1px solid #e0e0e0; }
.legal-page tr:nth-child(even) td { background: #f9f9f9; }
.legal-hero-img { width: 100%; max-height: 320px; object-fit: cover; border-radius: 8px; margin-bottom: 28px; }
.legal-check { background: #f0f7ff; border-left: 4px solid #2e7fd8; padding: 14px 18px; border-radius: 0 6px 6px 0; margin: 16px 0; }

/* ── CTA ──────────────────────────────────────────────── */
.legal-cta { background: #1a3a5c; border-radius: 16px; padding: 48px 40px 44px; text-align: center; margin-top: 48px; }
.legal-cta-label { display: inline-block; font-size: 0.78em; font-weight: 600; color: #a8c8f0; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.legal-cta-office { font-size: 2em; font-weight: 800; color: #fff; margin: 0 0 8px; letter-spacing: -0.5px; line-height: 1.25; }
.legal-cta-phone { font-size: 1.35em; font-weight: 700; color: #ffd76b; margin: 0 0 20px; display: block; }
.legal-cta-divider { width: 40px; height: 2px; background: rgba(255,255,255,0.2); margin: 0 auto 20px; border: none; }
.legal-cta p { color: #b8d0e8; font-size: 0.97em; line-height: 1.75; margin: 0 auto 32px; max-width: 480px; }
.legal-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.legal-cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 0.97em; min-width: 148px; }
.btn-phone { background: #fff; color: #1a3a5c; }
.btn-kakao { background: #FEE500; color: #3c1e1e; }
.btn-online { background: #2e7fd8; color: #fff; border: none; }
@media (max-width: 560px) {
  .legal-cta { padding: 36px 20px; }
  .legal-cta-office { font-size: 1.5em; }
  .legal-cta-btn { width: 100%; min-width: 0; }
}

/* ── 디자인 유틸리티 (AI가 class로 활용) ─────────────────── */

/* 강조 박스 */
.box-blue  { background: #f4f8ff; border: 1px solid #d0e3f7; border-radius: 8px; padding: 18px 22px; margin: 16px 0; }
.box-gray  { background: #f7f8fa; border: 1px solid #e0e0e0; border-radius: 8px; padding: 18px 22px; margin: 16px 0; }
.box-warn  { background: #fffbea; border: 1px solid #f0d060; border-radius: 8px; padding: 16px 20px; margin: 16px 0; }
.box-red   { background: #fff8f8; border: 1px solid #f5c6c6; border-radius: 8px; padding: 16px 20px; margin: 16px 0; }

/* 아코디언형 항목 */
.acc-item  { border: 1px solid #d0dce8; border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.acc-head  { background: #1a3a5c; color: #fff; padding: 12px 18px; font-weight: 700; }
.acc-body  { background: #f9fbfd; padding: 14px 18px; font-size: 0.96em; }

/* 번호 스텝 */
.step-list { list-style: none; margin: 0; padding: 0; }
.step-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.step-num  { flex-shrink: 0; width: 56px; height: 36px; background: #1a3a5c; color: #fff; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1em; }

/* 카드 그리드 */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 16px 0; }
.card-item { background: #f4f8ff; border: 1px solid #d0e3f7; border-radius: 8px; padding: 16px 18px; }
.card-num  { font-size: 1.4em; font-weight: 800; color: #2e7fd8; margin-bottom: 6px; }

/* 좌측 강조선 */
.border-point { border-left: 4px solid #2e7fd8; padding-left: 14px; margin: 16px 0; }

/* 체크리스트 */
.check-list { list-style: none; padding: 0; margin: 8px 0; }
.check-list li { padding: 9px 0 9px 32px; position: relative; border-bottom: 0.5px solid #f0f3f7; }
.check-list li:last-child { border-bottom: none; }
.check-list li::before { content: "✓"; position: absolute; left: 8px; color: #2e7fd8; font-weight: 700; }

/* ── 업무분야 그리드 ──────────────────────────────────────── */
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 16px 0 32px; align-items: start; }
.field-card { background: #fff; border: 0.5px solid #d0dce8; border-radius: 10px; overflow: hidden; }
.field-card-head { background: #f7f9fc; padding: 12px 16px; font-weight: 700; font-size: 0.92em; color: #1a3a5c; border-bottom: 0.5px solid #e0e8f0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; }
.field-card-head::after { content: "＋"; font-size: 1em; font-weight: 400; color: #2e7fd8; }
.field-card.open .field-card-head::after { content: "－"; }
.field-card-body { display: none; padding: 10px 16px 14px; }
.field-card.open .field-card-body { display: block; }
.field-list { list-style: none; margin: 0; padding: 0; }
.field-list li { padding: 5px 0; border-bottom: 0.5px solid #f0f3f7; }
.field-list li:last-child { border-bottom: none; }
.field-list a { font-size: 0.88em; color: #2e7fd8; text-decoration: none; }
.field-list a:hover { text-decoration: underline; }
