:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --text: #0f172a;
  --muted: #526077;
  --line: #e2e8f0;
  --primary: #1d4ed8;
  --primary-hover: #2563eb;
  --primary-soft: #e8efff;
  --accent: #7aa2ff;
  --navy: #0b1530;
  --navy-2: #070e22;
  --radius: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px;
}
.h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.lead { font-size: 18px; color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head .lead { margin-top: 16px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* 정보 미입력 자리표시 */
[data-todo] { color: #b45309; }
.dark [data-todo], .site-footer [data-todo] { color: #fbbf24; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: 10px; font-weight: 700; font-size: 16px;
  border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-line { border-color: var(--line); color: var(--text); background: #fff; }
.btn-line:hover { border-color: var(--primary); color: var(--primary); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.link-arrow { font-weight: 700; color: var(--primary); display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s; }
a:hover > .link-arrow::after, .link-arrow:hover::after { transform: translateX(3px); }

/* 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(15,23,42,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
/* 로고: "Binary Soft" 글자 밑선(기준선)을 마크 아래 끝에 맞춤. 그림은 기준선이 없어 아래 끝이 기준선으로 쓰인다
   대문자(B·S) 높이는 마크의 s 윗부분까지(마크 높이의 61.4%). Pretendard 대문자 높이 = 글자 크기 × 0.719
   색은 로고 이미지 글씨와 같게: Binary 청색, Soft 흑색(검은 배경에서는 백색) */
.logo { display: flex; align-items: baseline; gap: 10px; font-weight: 800; letter-spacing: .04em; font-size: calc(32px * .614 / .719); line-height: 1; color: #212428; }
.logo-blue { color: #4a6fcc; }
.site-nav { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.nav-link { padding: 8px 14px; border-radius: 8px; }
.nav-link:hover, .nav-link[aria-current] { color: var(--primary); }
.nav-cta { background: var(--primary); color: #fff; padding: 9px 18px; border-radius: 8px; margin-left: 8px; }
.nav-cta:hover { background: var(--primary-hover); }
.header-inner { position: relative; }
.nav-group { position: static; }
.has-sub::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav-sub {
  position: absolute; top: calc(100% - 4px); right: 24px; width: 520px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 40px rgba(15,23,42,.12);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .15s;
}
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub a { display: block; padding: 12px 14px; border-radius: 10px; }
.nav-sub a:hover, .nav-sub a[aria-current] { background: var(--bg-alt); }
.nav-sub strong { display: block; font-size: 15px; }
.nav-sub small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* 어두운 영역 공통 */
.dark { background: radial-gradient(1000px 500px at 80% 0%, #1d3a8a 0%, transparent 60%), var(--navy); color: #fff; position: relative; overflow: hidden; }
.dark .eyebrow { color: #93b4ff; }
.dark .lead { color: #c3cde0; }
.grid-bg { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to left, #000 10%, transparent 70%); -webkit-mask-image: linear-gradient(to left, #000 10%, transparent 70%); }
.dark > .container { position: relative; z-index: 1; }

/* 홈 히어로 */
.hero-home { padding: 120px 0 110px; }
.hero-home .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-home h1 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; word-break: keep-all; }
.hero-home h1 em, .page-hero h1 em { font-style: normal; color: var(--accent); }
.hero-home .lead { margin-top: 24px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-tags span { font-size: 13px; font-weight: 600; color: #c3cde0; border: 1px solid rgba(255,255,255,.18); padding: 5px 12px; border-radius: 999px; }

/* 화면 목업 (실제 화면 대신 구조를 보여 주는 그림) */
.mock {
  background: #fff; color: var(--text); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.1); font-size: 12px;
}
.mock-bar { display: flex; gap: 6px; padding: 10px 14px; background: #eef2f8; border-bottom: 1px solid var(--line); align-items: center; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; }
.mock-bar b { margin-left: 10px; font-weight: 700; color: var(--muted); font-size: 12px; }
.mock-body { padding: 16px; display: grid; gap: 12px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.mock-kpi small { color: var(--muted); display: block; }
.mock-kpi strong { font-size: 18px; }
.mock-kpi .up { color: #059669; font-size: 11px; font-weight: 700; }
.mock-kpi .down { color: #dc2626; font-size: 11px; font-weight: 700; }
.mock-chart { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.mock-chart svg { width: 100%; height: auto; display: block; }
.mock-rows { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mock-rows div { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; padding: 7px 12px; border-top: 1px solid var(--line); }
.mock-rows div:first-child { border-top: 0; background: var(--bg-alt); font-weight: 700; color: var(--muted); }
.st { font-weight: 700; }
.st.ok { color: #059669; } .st.warn { color: #d97706; } .st.err { color: #dc2626; }

/* 서브 페이지 히어로 */
.page-hero { padding: 96px 0 88px; }
.page-hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.page-hero.plain .container { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 800; }
.page-hero .lead { margin-top: 20px; }
.crumb { font-size: 14px; color: #93a3c0; margin-bottom: 16px; }
.crumb a:hover { color: #fff; }

/* 섹션 */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-tight { padding: 72px 0; }

/* 숫자 띠 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stats > div { padding: 28px 28px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats strong { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--primary); }
.stats span { color: var(--muted); font-size: 15px; }

/* 문제 → 해결 */
.pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.pain h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.pain p { color: var(--muted); font-size: 15px; }
.pain .q { display: inline-block; font-size: 13px; font-weight: 700; color: #b45309; background: #fff7ed; padding: 3px 10px; border-radius: 999px; margin-bottom: 14px; }

/* 솔루션 카드 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
a.card:hover { border-color: #bfd0ff; box-shadow: 0 12px 32px rgba(29,78,216,.08); transform: translateY(-2px); }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: var(--primary-soft); margin-bottom: 22px; }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card .link-arrow { margin-top: 20px; font-size: 15px; }
.card .tag { font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }

/* 기능 목록 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
.feature h3 { font-size: 18px; font-weight: 800; margin: 14px 0 8px; }
.feature p { color: var(--muted); font-size: 15px; }
.feature .num { font-size: 13px; font-weight: 800; color: var(--primary); }

/* 좌우 배치 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.rev > :first-child { order: 2; }
.split h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; margin-bottom: 14px; }
.split p { color: var(--muted); }
.checks { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary-soft); }
.checks li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 6px; height: 9px; border: solid var(--primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.panel { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }

/* 흐름도 */
.flow { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; align-items: stretch; }
.flow > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; position: relative; }
.flow > div:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--primary); font-weight: 800; z-index: 1; }
.flow small { display: block; color: var(--primary); font-weight: 800; font-size: 12px; margin-bottom: 4px; }
.flow strong { display: block; font-size: 16px; }
.flow span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }

/* 단계 */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { border-top: 2px solid var(--primary); padding-top: 22px; }
.step-no { font-size: 14px; font-weight: 800; color: var(--primary); }
.steps h3 { font-size: 19px; font-weight: 800; margin: 8px 0; }
.steps p { color: var(--muted); font-size: 15px; }

/* 구축 사례 */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.case-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.chip { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); }
.chip.blue { background: var(--primary-soft); color: var(--primary); border-color: #c9d8ff; }
.case h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.case .client { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.case dl { margin: 0; display: grid; gap: 12px; flex: 1; }
.case dt { font-size: 13px; font-weight: 800; color: var(--primary); }
.case dd { margin: 2px 0 0; color: var(--text); font-size: 15px; }
.case .link-arrow { margin-top: 22px; font-size: 15px; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip-btn { font: inherit; font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; }
.chip-btn:hover { border-color: var(--primary); color: var(--primary); }
.chip-btn[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.case[hidden] { display: none; }

/* 기술 칩 */
.stack { display: flex; flex-wrap: wrap; gap: 8px; }
.stack span { font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }

/* 표 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
th, td { text-align: left; padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; background: var(--bg-alt); font-size: 14px; color: var(--muted); }

/* 자주 묻는 질문 */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 24px; font-weight: 400; color: var(--primary); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* CTA 띠 */
.cta-band { padding: 88px 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta-band .lead { margin-top: 10px; }
.cta-band .actions { margin-top: 0; }

/* 회사 정보 */
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 140px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* 문의 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #fff; }
.contact-card h2 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.contact-card .big { font-size: 22px; font-weight: 800; color: var(--primary); word-break: break-all; }
.contact-card p { color: var(--muted); }
.contact-card ol { margin-top: 12px; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }

/* 404 */
.not-found { min-height: 70vh; display: flex; align-items: center; }

/* 푸터 */
.site-footer { background: var(--navy-2); color: #8492ad; font-size: 14px; padding: 64px 0 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .logo { color: #fff; font-size: calc(28px * .614 / .719); margin-bottom: 12px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols h2 { font-size: 13px; color: #fff; font-weight: 700; margin-bottom: 14px; letter-spacing: .04em; }
.footer-cols a, .footer-cols span { display: block; padding: 3px 0; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-top: 28px; }

/* 반응형 */
/* 첫 화면 핵심 강점 */
.hero-checks { margin-top: 24px; }
.hero-checks li { color: #dbe3f1; font-weight: 600; }
.hero-checks li::before { background: rgba(255,255,255,.14); }
.hero-checks li::after { border-color: #93c5fd; }

/* 상담 양식 */
.inquiry { display: grid; gap: 16px; align-content: start; }
.inquiry label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.inquiry label b { color: #dc2626; font-weight: 700; margin-left: 2px; }
.inquiry input:not([type=checkbox]), .inquiry textarea {
  font: inherit; font-weight: 400; width: 100%; padding: 11px 14px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: var(--text);
}
.inquiry input:focus, .inquiry textarea:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: var(--primary); }
.inquiry textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inquiry fieldset { border: 0; padding: 0; margin: 0; }
.inquiry legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.options label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.options label:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.options input { accent-color: var(--primary); }
.form-note { font-size: 13px; }
.form-error { color: #dc2626; font-weight: 700; }

/* 모바일 하단 고정 상담 버튼 */
.mobile-cta { display: none; }

/* ── 큰 화면 예시(.app): 실제 프로그램 화면 대신 구성을 보여 주는 그림 ── */
.app { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,23,42,.12); font-size: 13px; color: var(--text); }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f8; border-bottom: 1px solid var(--line); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.app-bar b { margin-left: 10px; font-weight: 700; color: var(--muted); font-size: 13px; }
.app-tag { margin-left: auto; font-size: 11px; font-weight: 700; color: #b45309; background: #fff7ed; border-radius: 999px; padding: 2px 10px; }
.app-wrap { display: grid; grid-template-columns: 168px 1fr; min-height: 420px; }
.app-side { background: #0f1b3d; color: #c3cde0; padding: 16px 10px; display: grid; align-content: start; gap: 2px; }
.app-side b { color: #fff; font-size: 13px; padding: 0 10px 10px; display: flex; gap: 8px; align-items: center; }
.app-side b::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--primary); }
.app-side span { padding: 7px 10px; border-radius: 6px; font-size: 12.5px; }
.app-side span.on { background: rgba(122,162,255,.18); color: #fff; font-weight: 700; }
.app-main { padding: 16px 18px; display: grid; gap: 14px; align-content: start; background: #f8fafc; min-width: 0; }
.app-tool { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.app-tool h4 { font-size: 15px; font-weight: 800; margin-right: auto; }
.app-tool span { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 4px 10px; font-size: 12px; color: var(--muted); }
.app-tool span.btn-s { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
.app-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.app-kpis div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.app-kpis small { display: block; color: var(--muted); font-size: 11.5px; }
.app-kpis strong { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.app-kpis em { font-style: normal; font-size: 11px; font-weight: 700; margin-left: 4px; }
.app-kpis .up { color: #059669; } .app-kpis .down { color: #dc2626; }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-width: 0; }
.app-card > h5 { font-size: 12.5px; font-weight: 800; margin: 0 0 8px; display: flex; gap: 8px; align-items: center; }
.app-card > h5 small { margin-left: auto; font-weight: 600; color: var(--muted); }
.app-card svg { width: 100%; height: auto; display: block; }
.app-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.app table { font-size: 12px; background: transparent; }
.app th, .app td { padding: 6px 8px; border-top: 1px solid var(--line); white-space: nowrap; }
.app thead th { background: #f1f5f9; color: var(--muted); font-size: 11.5px; }
.app td.n, .app th.n { text-align: right; font-variant-numeric: tabular-nums; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.badge.ok { background: #dcfce7; color: #166534; } .badge.warn { background: #fef3c7; color: #92400e; } .badge.err { background: #fee2e2; color: #991b1b; } .badge.info { background: var(--primary-soft); color: var(--primary); }
.bar { height: 8px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--primary); border-radius: 999px; }
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 8%; right: 8%; top: 13px; height: 2px; background: #cbd5e1; }
.timeline div { text-align: center; position: relative; font-size: 11.5px; }
.timeline div::before { content: ""; display: block; width: 14px; height: 14px; border-radius: 50%; margin: 6px auto 8px; background: var(--primary); box-shadow: 0 0 0 4px #fff; position: relative; }
.timeline div.hold::before { background: #f59e0b; } .timeline div.todo::before { background: #cbd5e1; }
.timeline strong { display: block; font-size: 12px; } .timeline small { color: var(--muted); }
.chat { display: grid; gap: 10px; }
.chat .q, .chat .a { max-width: 88%; padding: 10px 12px; border-radius: 12px; font-size: 12.5px; }
.chat .q { justify-self: end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chat .a { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat .src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chat .src span { font-size: 11px; background: #f1f5f9; border-radius: 6px; padding: 2px 8px; color: var(--muted); }
.code { font-family: Consolas, "D2Coding", monospace; font-size: 11.5px; background: #0f172a; color: #c7d2fe; border-radius: 8px; padding: 10px 12px; white-space: pre; overflow: hidden; }
.figcap { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }

/* 화면 탭 */
.tabs-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tabs-nav button { font: inherit; font-weight: 700; font-size: 15px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.tabs-nav button[aria-selected=true] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tab-panel[hidden] { display: none; }
.tab-desc { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 16px; }
.tab-desc p { color: var(--muted); }

/* 도입 전후 비교 표 */
.compare { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare table { font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; }
.compare thead th:nth-child(2) { color: #b45309; }
.compare thead th:nth-child(3) { color: var(--primary); }
.compare tbody th { font-weight: 800; width: 18%; background: #fafbfd; }
.compare td:nth-child(2) { color: var(--muted); width: 38%; }
.compare td:nth-child(2)::before { content: "✕"; color: #dc2626; font-weight: 800; margin-right: 8px; }
.compare td:nth-child(3) { font-weight: 600; background: #f7faff; }
.compare td:nth-child(3)::before { content: "✓"; color: var(--primary); font-weight: 800; margin-right: 8px; }

/* 연동 구조도 */
.integr { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; gap: 16px; align-items: center; }
.integr-col { display: grid; gap: 10px; }
.integr-col > small { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.integr-col > div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.integr-col strong { display: block; font-size: 15px; }
.integr-col span { display: block; font-size: 13px; color: var(--muted); }
.integr-arrow { color: var(--primary); font-size: 28px; font-weight: 800; }
.integr-core { background: var(--navy); color: #fff; border-radius: 16px; padding: 26px 22px; text-align: center; box-shadow: 0 16px 40px rgba(11,21,48,.25); }
.integr-core small { color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: .1em; }
.integr-core strong { display: block; font-size: 21px; margin: 6px 0 10px; }
.integr-core ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.integr-core li { font-size: 12.5px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 3px 10px; color: #dbe3f1; }

/* 설치 구조도(회사 서버 안) */
.arch { border: 2px dashed #94a3b8; border-radius: 16px; padding: 26px 22px 22px; position: relative; background: #fff; margin-top: 12px; }
.arch > small { position: absolute; top: -12px; left: 18px; background: #fff; padding: 0 8px; font-weight: 800; font-size: 13px; color: var(--muted); }
.arch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.arch-grid div { border: 1px solid var(--line); border-radius: 10px; padding: 12px; text-align: center; background: var(--bg-alt); }
.arch-grid strong { display: block; font-size: 14px; } .arch-grid span { font-size: 12px; color: var(--muted); }
.arch-out { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); }
.arch-out b { color: #dc2626; }

/* 사례 요약 표 */
.ref-table td:first-child a { font-weight: 700; color: var(--primary); }
.ref-table td { font-size: 14px; }

.features.four { grid-template-columns: repeat(4, 1fr); }

/* 실제 프로그램 화면 캡처 */
.shot { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,23,42,.12); }
.shot img { width: 100%; height: auto; }
.shot figcaption { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.shot figcaption b { color: var(--text); }
.shot-tag { font-size: 11px; font-weight: 700; color: #166534; background: #dcfce7; border-radius: 999px; padding: 2px 10px; }
.dark .shot { border-color: rgba(255,255,255,.1); box-shadow: 0 30px 60px rgba(0,0,0,.35); }

/* 계층 구조도 */
.layers { display: grid; gap: 8px; }
.layers > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.layers > div:nth-child(1) { border-left: 4px solid #7aa2ff; }
.layers > div:nth-child(2) { border-left: 4px solid #1d4ed8; }
.layers > div:nth-child(3) { border-left: 4px solid #0891b2; }
.layers > div:nth-child(4) { border-left: 4px solid #7c3aed; }
.layers > div:nth-child(5) { border-left: 4px solid #f59e0b; }
.layers strong { font-size: 15px; }
.layers span { color: var(--muted); font-size: 14px; }
.layers-note { text-align: center; color: var(--muted); font-size: 13px; }

/* 사업 영역 */
.biz { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.biz .panel h3 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.biz-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; }
.biz-list li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.biz-list strong { display: block; font-size: 15px; }
.biz-list span { font-size: 13px; color: var(--muted); }

@media (max-width: 960px) {
  .features.four { grid-template-columns: 1fr 1fr; }
  .biz { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .features.four { grid-template-columns: 1fr; }
  .layers > div { grid-template-columns: 1fr; gap: 4px; }
  .biz-list { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .integr { grid-template-columns: 1fr; }
  .integr-arrow { transform: rotate(90deg); justify-self: center; }
  .app-cols { grid-template-columns: 1fr; }
  .arch-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .app-wrap { grid-template-columns: 1fr; min-height: 0; }
  .app-side { display: none; }
  .app-kpis { grid-template-columns: 1fr 1fr; }
  .app .hide-sm { display: none; }
  .app-main { padding: 12px; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 10px; }
  .timeline::before { display: none; }
  .compare th, .compare td { padding: 12px; font-size: 14px; }
  .compare thead { display: none; }
  .compare tr { display: grid; border-top: 1px solid var(--line); }
  .compare tbody th, .compare td { width: auto; border-top: 0; }
}

@media (max-width: 960px) {
  .hero-home .container, .page-hero .container, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .cards, .pain, .features, .values { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .flow { grid-auto-flow: row; }
  .flow > div:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -18px; transform: translateX(-50%); }
}

@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero-home { padding: 80px 0 72px; }
  .page-hero { padding: 64px 0 60px; }
  .cards, .pain, .features, .cases, .values, .steps { grid-template-columns: 1fr; }
  .card, .case, .pain li, .contact-card { padding: 24px; }
  .mock-rows div { grid-template-columns: 1.4fr 1fr .8fr; }
  .mock-rows div > :nth-child(3) { display: none; }
  .facts div { grid-template-columns: 100px 1fr; }
  .footer-cols { gap: 36px; }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0; max-height: calc(100vh - 68px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none;
  }
  .site-nav.open { display: flex; }
  .nav-link { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .has-sub::after { display: none; }
  .nav-sub { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 8px; grid-template-columns: 1fr; }
  .nav-sub a { padding: 8px 10px; }
  .nav-sub small { display: none; }
  .nav-cta { margin: 12px 0 0; text-align: center; }

  .field-row { grid-template-columns: 1fr; }
  .mobile-cta {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(15,23,42,.06);
  }
  .mobile-cta .btn { justify-content: center; padding-left: 8px; padding-right: 8px; }
  body:not([data-page=contact]) { padding-bottom: 72px; }
  body[data-page=contact] .mobile-cta { display: none; }
}
.biz-list a { display: block; }
.biz-list li:has(a):hover { border-color: #bfd0ff; }
.split > * { min-width: 0; }

/* 소개 자료(슬라이드) 보기 */
.deck { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,23,42,.10); }
.deck-stage { background: #0b1530; aspect-ratio: 16 / 9; }
.deck-stage img { width: 100%; height: 100%; object-fit: contain; }
.deck-stage img[hidden] { display: none; }
.deck-bar { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 10px; border-top: 1px solid var(--line); }
.deck-bar button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 24px; line-height: 1; cursor: pointer; color: var(--text); }
.deck-bar button:hover { border-color: var(--primary); color: var(--primary); }
.deck-count { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 64px; text-align: center; }
.deck-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 0 12px 12px; scrollbar-width: thin; }
.deck-thumbs button { flex: 0 0 auto; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; cursor: pointer; opacity: .6; }
.deck-thumbs button[aria-current=true] { border-color: var(--primary); opacity: 1; }
.deck-thumbs img { width: 120px; height: auto; }

/* 회사소개 (대표 제안 자료) */
.intro-panel { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: center; background: linear-gradient(rgba(20,24,34,.88), rgba(20,24,34,.88)), #1b2230; color: #e5e7eb; border-radius: 18px; padding: 48px; }
.intro-panel img { border-radius: 14px; width: 100%; height: auto; }
.intro-panel h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.4; color: #fff; }
.intro-panel h2 em { font-style: normal; color: #7cc4ff; }
.intro-panel ul { list-style: none; margin-top: 20px; display: grid; gap: 6px; color: #cbd5e1; }
.intro-panel ul li::before { content: "- "; }
.intro-panel p { margin-top: 16px; color: #cbd5e1; }
.panel-title { display: inline-block; font-weight: 800; color: #7cc4ff; font-size: 18px; padding-bottom: 8px; margin-bottom: 24px; border-bottom: 4px solid #7cc4ff; }
.partners-banner { border-radius: 16px; width: 100%; height: auto; }
.partners { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.partners li { list-style: none; display: grid; place-items: center; gap: 14px; padding: 28px 12px; text-align: center; font-weight: 700; font-size: 17px; border-left: 1px solid var(--line); min-height: 150px; align-content: center; }
.partners li:nth-child(3n+1) { border-left: 0; }
.partners li:nth-child(n+4) { border-top: 1px solid var(--line); }
.partners img { max-height: 56px; width: auto; }
.service-panel { display: grid; grid-template-columns: 1fr 1.5fr; border-radius: 18px; overflow: hidden; }
.service-left { background: #1e2a78; color: #fff; padding: 48px 40px; display: grid; align-content: space-between; gap: 32px; }
.service-left h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.45; }
.service-left h2 em { font-style: normal; color: #7cc4ff; }
.service-left p { color: #c7d2fe; font-size: 15px; }
.service-right { background: url(/assets/img/company/service-bg.webp) top / 100% auto no-repeat, #2b2f38; padding: 120px 28px 28px; }
.service-grid { background: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 32px; }
.service-grid img { width: 48px; height: 48px; }
.service-grid h3 { color: #1e2a78; font-size: 20px; font-weight: 800; margin: 10px 0 8px; }
.service-grid p { color: var(--muted); font-size: 15px; }
.hexmap { max-width: 640px; margin: 0 auto; }
.hexmap svg { width: 100%; height: auto; }
@media (max-width: 960px) {
  .intro-panel { grid-template-columns: 1fr; padding: 32px; }
  .intro-panel img { max-width: 320px; }
  .service-panel { grid-template-columns: 1fr; }
  .service-right { padding-top: 80px; }
}
@media (max-width: 760px) {
  .partners { grid-template-columns: 1fr 1fr; }
  .partners li { border-left: 0; border-top: 1px solid var(--line); }
  .service-grid { grid-template-columns: 1fr; padding: 24px; }
  .service-left { padding: 32px 24px; }
  .service-right { padding: 60px 12px 12px; }
}
.deck-thumbs { position: relative; }

/* 화면에는 숨기고 화면낭독기·검색엔진에만 */
.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; }

/* 소개 자료를 세로로 이어 보기 */
.slides-page { background: var(--bg-alt); padding: 48px 0 80px; }
.slides { display: grid; gap: 24px; }
.slides img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 12px 32px rgba(15,23,42,.10); background: #fff; }
@media (max-width: 760px) {
  .slides-page { padding: 16px 0 48px; }
  .slides { gap: 12px; }
  .slides img { border-radius: 6px; }
}
.sr-only + .section { padding-top: 48px; }

/* ── PPT를 글자·도형으로 옮긴 슬라이드 (tools/ppt2html.py) ── */
.ps-deck { display: grid; gap: 24px; }
.ps { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 32px rgba(15,23,42,.10); }
/* 슬라이드는 1280×720 고정 크기로 그리고 화면 폭에 맞게 통째로 축소(브라우저 최소 글자 크기 영향 없음) */
.ps-in { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; container-type: inline-size; transform-origin: 0 0; transform: scale(var(--s, 1)); overflow: hidden; font-family: "Malgun Gothic", "맑은 고딕", "Pretendard", sans-serif; color: #000; line-height: 1.2; letter-spacing: 0; word-break: normal; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
.ps-sp, .ps-img, .ps-ln, .ps-tb { position: absolute; box-sizing: border-box; }
.ps-sp { display: flex; }
.ps-tx { display: flex; flex-direction: column; width: 100%; height: 100%; box-sizing: border-box; }
.ps-tx p { margin: 0; white-space: pre-wrap; }
.ps-img { object-fit: fill; max-width: none; }
.ps-ln { overflow: visible; }
.ps-tb { border-collapse: collapse; table-layout: fixed; background: transparent; font-size: inherit; }
.ps-tb td { border: 0; vertical-align: top; }
.ps-tb td p { margin: 0; white-space: pre-wrap; }
@media (max-width: 760px) {
  .ps-deck { gap: 12px; }
  .ps { border-radius: 6px; }
}
.hex-items ellipse { fill: #fff; stroke: #1d4ed8; stroke-width: 2; transition: fill .2s; }
.hex-items text { fill: #0f172a; }
.hex-items a:hover ellipse, .hex-items a:focus ellipse { fill: #1d4ed8; }
.hex-items a:hover text, .hex-items a:focus text { fill: #fff; }
.hexmap { max-width: 680px; }
.ps-deck { grid-template-columns: minmax(0, 1fr); } .ps { min-width: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* 스마트공장 데모 */
.demo-badge { display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: #f59e0b; color: #0b1530; font-size: 12px; letter-spacing: 0; text-transform: none; vertical-align: 1px; }
.demo-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.demo-frame { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 16px 40px rgba(15,23,42,.08); }
.demo-frame-bar { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: #eef2f8; font-size: 14px; font-weight: 700; color: var(--muted); }
.demo-frame-bar a { color: var(--primary); }
.demo-frame iframe { display: block; width: 100%; height: 720px; border: 0; }
@media (max-width: 760px) {
  .demo-cards { grid-template-columns: 1fr; }
  .demo-frame iframe { height: 560px; }
}

/* 단계별 데모 플레이어 */
.dp { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(15,23,42,.08); overflow: hidden; scroll-margin-top: 80px; }
.dp-steps { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; border-bottom: 1px solid var(--line); background: #f8fafc; }
.dp-steps button { width: 100%; display: flex; gap: 8px; align-items: center; padding: 14px 12px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; text-align: left; }
.dp-steps b { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #e2e8f0; color: var(--muted); font-size: 13px; }
.dp-steps button[aria-current=step] { color: var(--text); background: #fff; }
.dp-steps button[aria-current=step] b, .dp-steps button.done b { background: var(--primary); color: #fff; }
.dp-progress { height: 4px; background: #eef2f8; }
.dp-progress i { display: block; height: 100%; width: 0; background: var(--primary); transition: width .3s; }
.dp-scene { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; padding: 32px; }
.dp-scene[hidden] { display: none; }
.dp-text h3 { font-size: 22px; font-weight: 800; margin: 6px 0 12px; line-height: 1.4; }
.dp-text p { color: var(--muted); }
.dp-text .checks li { font-size: 14px; font-weight: 600; }
.dp-text .link-arrow { margin-top: 20px; }
.dp-kicker { font-size: 13px; font-weight: 800; color: var(--primary) !important; letter-spacing: .02em; }
.dp-visual { min-width: 0; display: grid; gap: 16px; align-content: start; }
.dp-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 32px; border-top: 1px solid var(--line); background: #f8fafc; }
.dp-nav button[disabled] { opacity: .35; pointer-events: none; }
.dp-count { font-weight: 800; color: var(--muted); }
.dp-filetabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.dp-filetabs button { font: inherit; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--text); }
.dp-filetabs button[aria-selected=true] { background: #0b1530; border-color: #0b1530; color: #fff; }
.dp-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #dc2626; margin-left: 4px; vertical-align: 2px; }
.dp-file { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.dp-table table { font-size: 12.5px; }
.dp-table th, .dp-table td { padding: 6px 10px; white-space: nowrap; }
.dp-table .ln { color: #94a3b8; font-variant-numeric: tabular-nums; width: 1%; }
.dp-table tr.gap td { padding: 0 10px; line-height: 1; color: #94a3b8; background: #fafbfd; }
.dp-table tr.hl td { background: #fff7ed; }
.dp-table td.bad { color: #b91c1c; font-weight: 800; box-shadow: inset 0 0 0 2px #fca5a5; background: #fef2f2; }
.dp-table .empty { color: #b91c1c; font-style: italic; }
.dp-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.dp-merge { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.dp-merge-in { display: grid; gap: 6px; }
.dp-merge-in span { display: flex; justify-content: space-between; font-size: 13px; background: #f1f5f9; border-radius: 8px; padding: 6px 10px; }
.dp-merge-arrow { font-size: 28px; color: var(--primary); font-weight: 800; }
.dp-merge-out { background: #0b1530; color: #fff; border-radius: 14px; padding: 18px; }
.dp-merge-out small { display: block; color: #9cc2ff; margin: 2px 0 10px; }
.dp-merge-out ul { list-style: none; display: grid; gap: 6px; }
.dp-merge-out li { font-size: 14px; color: #dbe3f1; }
.dp-merge-out li b { display: inline-block; min-width: 44px; color: #fff; font-size: 18px; }
.dp-merge-out li.warn b { color: #fbbf24; }
.dp-decide { border: 2px solid #fcd34d; background: #fffbeb; border-radius: 14px; padding: 16px; display: grid; gap: 10px; min-width: 0; }
.dp-decide p { font-size: 14px; }
.dp-decide-q { font-weight: 800; font-size: 15px !important; }
.dp-decide code { background: #fff; padding: 1px 6px; border-radius: 4px; border: 1px solid #fde68a; }
.dp-decide-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dp-decide-btns button { font: inherit; font-weight: 700; padding: 8px 18px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.dp-decide-btns button[data-ans=ok] { background: var(--primary); color: #fff; border-color: var(--primary); }
.dp-decide-res { font-size: 14px; font-weight: 700; }
.dp-flags { list-style: none; display: grid; gap: 8px; }
.dp-flags li { font-size: 14px; color: var(--muted); padding: 10px 14px; border-left: 3px solid #f59e0b; background: #f8fafc; border-radius: 0 8px 8px 0; }
.dp-flags b { color: var(--text); margin-right: 6px; }
.dp-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dp-tiles.three { grid-template-columns: repeat(3, 1fr); }
.dp-tiles div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; }
.dp-tiles strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.dp-tiles small { color: var(--muted); font-size: 12.5px; }
.dp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dp-cols.three { grid-template-columns: repeat(3, 1fr); }
.dp-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; min-width: 0; }
.dp-card h5 { font-size: 14px; font-weight: 800; margin: 0 0 10px; }
.dp-card p { font-size: 14px; color: var(--muted); }
.dp-card table { font-size: 13px; }
.dp-card th, .dp-card td { padding: 7px 10px; }
.dp-card td.n, .dp-card th.n { text-align: right; white-space: nowrap; }
.dp-bar { display: grid; grid-template-columns: 70px 1fr 52px; gap: 8px; align-items: center; font-size: 13px; margin-top: 6px; }
.dp-bar i { height: 10px; border-radius: 999px; background: var(--primary); }
.dp-bar i.low { background: #f59e0b; }
.dp-bar em { font-style: normal; font-size: 10px; color: #b45309; }
.dp-bar b { text-align: right; font-variant-numeric: tabular-nums; }
.dp-trace ol { padding-left: 18px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.dp-trace b { color: var(--text); }
.dp-todo { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.dp-todo h5 { font-size: 14px; font-weight: 800; margin: 0 0 10px; }
.dp-todo ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.dp-chart { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.dp-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); }
.dp-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.dp-recur { border-color: #fca5a5; background: #fef2f2; }
.dp-rank { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; }
.dp-rank div { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.dp-rank div.first { border: 2px solid var(--primary); background: var(--primary-soft); }
.dp-rank span { font-size: 12px; font-weight: 800; color: var(--primary); }
.dp-rank strong { display: block; font-size: 15px; margin: 2px 0 6px; }
.dp-rank p { font-size: 13px; color: var(--muted); }
.dp-mini td { font-size: 13px; padding: 6px 4px; border-top: 1px solid var(--line); }
.dp-mini tr:first-child td { border-top: 0; }
.dp-list { padding-left: 18px; font-size: 14px; color: var(--muted); display: grid; gap: 4px; }
@media (max-width: 1100px) {
  .dp-scene { grid-template-columns: 1fr; gap: 20px; }
  .dp-steps span { display: none; }
  .dp-steps button { justify-content: center; }
}
@media (max-width: 760px) {
  .dp-scene { padding: 20px 16px; }
  .dp-nav { padding: 12px 16px; }
  .dp-tiles, .dp-tiles.three { grid-template-columns: 1fr 1fr; }
  .dp-cols, .dp-cols.three, .dp-rank { grid-template-columns: 1fr; }
  .dp-merge { grid-template-columns: 1fr; }
  .dp-merge-arrow { transform: rotate(90deg); justify-self: center; }
  .dp-steps button { padding: 10px 4px; }
}
@media (max-width: 760px) { .dp-merge-in { grid-template-columns: 1fr 1fr; } .dp-merge-in span { font-size: 12px; } }
.intro-panel .sign { margin-top: 24px; color: #e5e7eb; text-align: right; } .intro-panel .sign strong { font-size: 20px; color: #fff; margin-left: 6px; }

/* 메인: PPT 이미지 기반 */
.main-hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; background: #0b1530; color: #fff; }
.main-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.main-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,14,34,.92) 0%, rgba(7,14,34,.75) 38%, rgba(7,14,34,.15) 75%, rgba(7,14,34,0) 100%); z-index: 1; }
.main-hero .container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.main-hero .eyebrow { color: #7cc4ff; }
.main-hero h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; line-height: 1.25; word-break: keep-all; }
.main-hero h1 em { font-style: normal; color: #7cc4ff; }
.main-hero .lead { color: #dbe3f1; margin-top: 20px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.biz-map { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,23,42,.12); }
.biz-map img { width: 100%; height: auto; }
.biz-map a { position: absolute; border-radius: 999px; display: flex; align-items: flex-end; justify-content: center; transition: background .2s, box-shadow .2s; }
.biz-map a span { opacity: 0; transform: translateY(6px); transition: .2s; font-size: 13px; font-weight: 800; color: #fff; background: var(--primary); padding: 4px 12px; border-radius: 999px; margin-bottom: -14px; white-space: nowrap; }
.biz-map a:hover, .biz-map a:focus-visible { background: rgba(29,78,216,.08); box-shadow: inset 0 0 0 2px rgba(29,78,216,.45); }
.biz-map a:hover span, .biz-map a:focus-visible span { opacity: 1; transform: none; }
.biz-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.biz-chips a { font-size: 14px; font-weight: 700; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.biz-chips a:hover { border-color: var(--primary); color: var(--primary); }
.main-photo { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,23,42,.14); }
.main-photo img { width: 100%; height: auto; }
@media (max-width: 760px) {
  .main-hero { min-height: 520px; }
  .main-hero-bg { object-position: 72% center; }
  .main-hero::before { background: linear-gradient(180deg, rgba(7,14,34,.55) 0%, rgba(7,14,34,.88) 70%); }
  .main-hero .container { padding-top: 120px; padding-bottom: 48px; }
  .main-hero .lead br { display: none; }
  .biz-map a span { display: none; }
}

/* 오시는 길 지도 */
.map-box { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #eef2f8; }
.map-box iframe { display: block; width: 100%; height: 420px; border: 0; }
@media (max-width: 760px) { .map-box iframe { height: 300px; } }

/* 메인 서비스·파트너 (밝은 카드형, 첫 화면 톤에 맞춤) */
.h2 em.hl { font-style: normal; color: var(--primary); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 26px; box-shadow: 0 4px 18px rgba(16,34,80,.05); transition: transform .2s, box-shadow .2s, border-color .2s; }
.svc-card:hover { transform: translateY(-4px); border-color: #c9d6f5; box-shadow: 0 12px 30px rgba(29,78,216,.12); }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.svc-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.svc-card .ko { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 14px; }
.svc-card p:not(.ko) { font-size: 14.5px; line-height: 1.7; color: var(--muted); word-break: keep-all; }
.ptn-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ptn-grid li { background: #fff; border: 1px solid var(--line); border-radius: 14px; height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; transition: box-shadow .2s, border-color .2s; }
.ptn-grid li:hover { border-color: #c9d6f5; box-shadow: 0 10px 26px rgba(29,78,216,.10); }
.ptn-logo { height: 44px; display: flex; align-items: center; justify-content: center; }
.ptn-logo img { max-height: 44px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
.ptn-logo .txt { font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: #3a4458; }
.ptn-name { font-size: 13.5px; color: var(--muted); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid, .ptn-grid { grid-template-columns: 1fr; } .section-head.center .lead br { display: none; } }

/* 로고 이미지 */
.logo-img { display: block; height: 44px; width: auto; }
.site-footer .logo-img { height: 40px; }
@media (max-width: 760px) { .logo-img { height: 36px; } }

/* 팀원 요청: 로고 크기, 파트너 로고 */
.logo-img { height: 34px; }
.site-footer .logo-img { height: 34px; }
.ptn-logo { height: 48px; }
.ptn-logo img { max-height: 44px; max-width: 200px; }
