/* 회사소개(company.html) 전용. 브랜드 v2(E단계): 밤 머리띠 + 와시 바탕 + 전표와 먹선. 카드 반복 없음.
 * 색은 tokens.css의 --bv-* 토큰만 쓴다(이 페이지는 tokens.css를 싣는다). site.css의 옛 .company-* 규칙은 이 페이지가 더는 쓰지 않는다. */

body.company-page { background: var(--bv-canvas); color: var(--bv-ink); }
.co { display: block; }
/* v2.4 11: 와시 위 포커스 링 #cf3600(4.2:1), 밤 면은 ember */
.company-page :focus-visible { outline: 2px solid var(--ec-action); outline-offset: 2px; }
.co-hero :focus-visible, .co-join :focus-visible { outline-color: var(--bv-ember); }
.company-page .skip-link:focus-visible { outline-color: var(--bv-on-night); }
.co-wrap { width: min(1040px, calc(100% - 48px)); margin: 0 auto; }

/* ── 머리띠: 밤 면. 문서 면이라 높이를 키우지 않는다 ── */
.co-hero { background: var(--bv-night); color: var(--bv-on-night); padding: 56px 0 36px; }
.co-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 13px; font-weight: 800; letter-spacing: 0; color: var(--bv-ember); }
.co-eyebrow-line { flex: none; width: 20px; height: 2px; background: var(--bv-ember); }
.co-hero h1 { max-width: 20em; margin: 0; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; color: var(--bv-on-night); overflow-wrap: normal; }
:lang(ko) .co-hero h1 { word-break: keep-all; }
.co-lead { max-width: 44em; margin: 20px 0 0; font-size: 17px; line-height: 1.7; color: var(--bv-on-night-muted); }
.co-ledger { margin-top: 32px; border-top: 1px solid var(--bv-night-line); }
.co-ledger .legal-updated { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--bv-night-line); font-size: 14px; line-height: 1.6; color: var(--bv-on-night-muted); font-variant-numeric: tabular-nums; }
.co-ledger .legal-updated:first-child { color: var(--bv-on-night); font-weight: 700; }
/* v2.4 3: 시행일 줄 앞 8px ember 점(밤 면 위) */
.co-ledger .legal-updated:first-child::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--bv-ember); vertical-align: .05em; }

/* ── 섹션: 왼쪽 제목과 오른쪽 본문. 구분은 간격과 번호 제목, 윗변 굵은 선 없음(v2.1 A) ── */
.co-sec { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 16px 48px; margin-top: 56px; counter-increment: co-sec; }
.co { counter-reset: co-sec; }
.co-sec > h2 { margin: 0; font-size: 24px; line-height: 1.4; font-weight: 800; letter-spacing: -0.01em; color: var(--bv-ink); }
.co-sec > h2::before { content: counter(co-sec, decimal-leading-zero); display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; color: var(--bv-lantern-text); font-variant-numeric: tabular-nums; } /* v2.4 4, 13: 번호 #a32a00 (와시 6.0:1) */
.co-sec-body > p { max-width: 42em; margin: 0 0 14px; font-size: 16px; line-height: 1.8; color: var(--bv-ink); }
.co-sec-body > p:last-child { margin-bottom: 0; }
.co-sec-body > p + :is(ol, ul, .co-slip) { margin-top: 20px; }

/* ── 상호표: 모서리 없는 면 하나. 행은 머리카락 선 ── */
.co-slip { background: var(--bv-slip); padding: 4px 24px; }
.co-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.co-table th, .co-table td { padding: 16px 0; text-align: left; vertical-align: top; line-height: 1.6; border-top: 1px solid var(--bv-hair); }
.co-table tr:first-child > * { border-top: 0; }
.co-table th { width: 200px; padding-right: 24px; font-weight: 800; color: var(--bv-ink); }
.co-table td { color: var(--bv-ink); overflow-wrap: anywhere; }

/* ── 진행 순서 ── */
.co-steps { list-style: none; margin: 0; padding: 0; counter-reset: co-step; border-top: 1px solid var(--bv-hair); }
.co-steps > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--bv-hair); counter-increment: co-step; }
.co-steps > li::before { content: counter(co-step); grid-row: span 2; font-size: 28px; line-height: 1.1; font-weight: 800; color: var(--ec-action); font-variant-numeric: tabular-nums; } /* v2.4 13: 진행 순서 번호 28px 굵게 = 로고 주황 #ff4d00 (24px 이상 큰 글자, 3:1) */
.co-steps h3, .co-rules h3 { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 800; color: var(--bv-ink); }
.co-steps p, .co-rules p { margin: 6px 0 0; font-size: 16px; line-height: 1.8; color: var(--bv-ink-muted); }

/* ── 협업 원칙 ── */
.co-rules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bv-hair); }
.co-rules > li { padding: 20px 0; border-bottom: 1px solid var(--bv-hair); }
/* v2.4 3: 협업 원칙 항목 앞 8px 주황 점(로고 마침표 모티프) */
.co-rules h3::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--ec-action); vertical-align: .08em; }

/* ── 참여: 이 페이지의 밤 면 하나(모서리 0, 윗변 선 없음). 주 행동은 등불 하나 ── */
.co-join { margin-top: 56px; padding: 32px; background: var(--bv-night); color: var(--bv-on-night); }
.co-join h2::before { content: ""; display: block; width: 20px; height: 2px; margin-bottom: 16px; background: var(--bv-ember); } /* v2.5 18: 밤 면 머리말 ember 선 */
.co-join h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.4; font-weight: 800; color: var(--bv-on-night); }
.co-join-body p { max-width: 42em; margin: 0 0 10px; font-size: 16px; line-height: 1.8; color: var(--bv-on-night-muted); }
.co-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.co-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1.5px solid transparent; border-radius: var(--bv-r-button); font-size: 16px; font-weight: 800; text-decoration: none; }
.co-btn-primary { background: var(--bv-lantern); color: var(--ec-on-action); font-size: 19px; font-weight: 700; } /* 2026-10-30 주황 감사: 흰 글자 on #ff4d00(3.33:1)은 19px 700 */
.co-btn-primary:hover { background: var(--bv-lantern-hover); }
.co-btn-ghost { border-color: var(--bv-on-night-muted); color: var(--bv-on-night); }
.co-btn-ghost:hover { background: var(--bv-night-2); border-color: var(--bv-ember); }
.co-join :focus-visible { outline: 3px solid var(--bv-ember); outline-offset: 3px; }
.co-note { margin: 24px 0 0; padding-bottom: 64px; font-size: 14px; line-height: 1.7; color: var(--bv-ink-muted); }

@media (max-width: 859px) {
  .co-sec { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .co-sec > h2::before { display: inline; margin: 0 10px 0 0; }
}
@media (max-width: 720px) {
  .co-wrap { width: calc(100% - 32px); }
  .co-hero { padding: 36px 0 24px; }
  .co-lead { font-size: 16px; }
  /* 390: 면은 화면 가장자리까지 붙는다(co-wrap 좌우 16 상쇄) */
  .co-slip { margin-inline: -16px; padding: 4px 16px; }
  .co-table, .co-table tbody, .co-table tr, .co-table th, .co-table td { display: block; width: 100%; }
  .co-table th { padding: 16px 0 2px; border-top: 1px solid var(--bv-hair); font-size: 14px; color: var(--bv-ink-muted); }
  .co-table tr:first-child > th { border-top: 0; }
  .co-table td { padding: 0 0 16px; border-top: 0; }
  .co-steps > li { grid-template-columns: 36px minmax(0, 1fr); }
  .co-join { margin-inline: -16px; padding: 24px 16px; }
  .co-actions { flex-direction: column; align-items: stretch; }
}
