/* nerveic.com — 밝은 기업 사이트. NERVEIC 파랑 #307EEF · 청록 #29C8ED. 외부 글꼴 없음(시스템 한글 글꼴). */
:root {
  --bg: #FFFFFF; --bg-alt: #F4F7FB; --bg-blue: #EEF4FE;
  --ink: #0F1B2D; --body: #374357; --muted: #5E6A7B; --line: #DCE3ED; --line-2: #C6D2E2;
  --blue: #307EEF; --blue-d: #1F5FC4; --blue-dd: #173F86; --cyan: #29C8ED; --cyan-t: #E3F7FC;
  --teal: #2DE2D0; --teal-d: #0B8F84; --navy: #0E1A2E;
  --radius: 14px; --wrap: 1180px;
  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  color-scheme: only light;   /* 삼성 인터넷·크롬 강제 다크 변환 막기 (2026-10-05) */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--font); font-size: 17px; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; }
a { color: var(--blue-d); }
h1, h2, h3 { color: var(--ink); line-height: 1.3; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -200px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
.ic { flex: none; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 10px; font-weight: 700; font-size: 17px; text-decoration: none; border: 1.5px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.btn--primary { background: var(--blue-d); color: #fff; }
.btn--primary:hover { background: var(--blue-dd); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-d); }
.btn--teal { background: var(--teal); color: var(--navy); }
.btn--teal:hover { background: #5AEADD; }
.btn--white { background: #fff; color: var(--blue-dd); }
.btn--white:hover { background: var(--bg-blue); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-white:hover { background: rgba(255,255,255,.1); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* 머리 */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { display: block; height: 24px; width: auto; }
.gnb { display: flex; align-items: center; gap: 30px; }
.gnb > a, .dd-btn { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; background: none; border: 0; font-family: inherit; cursor: pointer; padding: 6px 0; display: inline-flex; align-items: center; gap: 4px; }
.gnb > a:hover, .dd-btn:hover, .gnb > a[aria-current="page"], .dd.is-current .dd-btn { color: var(--blue-d); }
.gnb > a.btn { color: #fff; padding: 0 18px; background: var(--blue-d); }
.gnb > a.btn:hover { background: var(--blue-dd); color: #fff; }
.gnb .ic-ext { color: var(--muted); }
.dd { position: relative; }
.dd-btn span { font-size: 11px; color: var(--muted); }
.dd-list { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 10px); left: -16px; min-width: 290px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(15,27,45,.12); visibility: hidden; opacity: 0; transition: opacity .12s ease, visibility 0s linear .15s; }
/* 버튼과 목록 사이 10px 틈을 메우는 투명 다리 — 마우스가 내려가는 동안 :hover 가 풀리지 않게 */
.dd-list::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dd-list a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.dd-list a:hover, .dd-list a[aria-current="page"] { background: var(--bg-blue); color: var(--blue-d); }
/* 열기: 마우스 올림 · 키보드 포커스 · 클릭(.open). 닫힐 때는 150ms 늦춰 잠깐 벗어나도 바로 닫히지 않게 */
.dd:hover .dd-list, .dd:has(:focus-visible) .dd-list, .dd.open .dd-list { visibility: visible; opacity: 1; transition-delay: 0s; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 12px 11px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.menu-btn i { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* 히어로 */
.hero { background: linear-gradient(180deg, var(--bg-blue) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.eyebrow, .kicker { font-size: 15px; font-weight: 700; color: var(--blue-d); letter-spacing: .04em; margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.22; margin-bottom: 22px; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--body); max-width: 40em; }
.hero .actions { margin-top: 34px; }
.hero-art { position: relative; height: 400px; max-width: 520px; width: 100%; justify-self: end; }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-lines path { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 5 6; }
.hn { position: absolute; width: 168px; height: 96px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(15,27,45,.07); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 0 18px; color: var(--blue-d); }
.hn span { color: var(--ink); font-weight: 700; font-size: 16px; }
.hn--core { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 140px; height: 60px; box-shadow: 0 12px 30px rgba(48,126,239,.35); background: var(--blue); border: 0; align-items: center; padding: 0; }
.hn--core img { width: 104px; height: auto; }
.hero-art .hn:nth-child(3), .hero-art .hn:nth-child(5) { border-left: 4px solid var(--cyan); }

/* 숫자 띠 */
.band { background: var(--navy); color: #fff; padding: 44px 0 34px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; border-left: 3px solid var(--cyan); }
.stat b { font-size: clamp(34px, 3.4vw, 44px); line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.stat span { color: #C9D3E1; font-size: 16px; }
.band .foot-note { color: #9AA8BC; margin-top: 18px; }
.foot-note { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* 구획 */
.sec { padding: 96px 0; }
.sec--alt { background: var(--bg-alt); }
.sec-head { margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(26px, 2.6vw, 34px); }
.sec-head .sub { margin-top: 10px; color: var(--muted); font-size: 15px; }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* 사업영역 카드 */
.biz-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.biz-grid > * { grid-column: span 2; }
.biz-grid > :nth-child(4), .biz-grid > :nth-child(5) { grid-column: span 3; }
.biz-card { display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--body); transition: border-color .15s, box-shadow .15s, transform .15s; }
.biz-card:hover { border-color: var(--blue); box-shadow: 0 14px 34px rgba(48,126,239,.12); transform: translateY(-2px); }
.biz-ic { width: 52px; height: 52px; border-radius: 12px; background: var(--bg-blue); color: var(--blue-d); display: flex; align-items: center; justify-content: center; }
.biz-card h3 { font-size: 21px; }
.biz-card p { font-size: 16px; }
.biz-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--blue-d); font-weight: 700; font-size: 15px; }

/* 대표 실적 */
.works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.work { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "org when" "title title"; gap: 8px 12px; padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); border-top: 3px solid var(--blue); }
.w-org { grid-area: org; font-size: 14px; font-weight: 700; color: var(--blue-d); }
.w-when { grid-area: when; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.work b { grid-area: title; color: var(--ink); font-size: 19px; line-height: 1.45; }

/* LTeam 배너 */
.lt-banner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: center; background: var(--navy); border-radius: 20px; padding: 52px 56px; color: #C9D3E1; overflow: hidden; }
.lt-logo { display: block; height: 28px; width: auto; margin-bottom: 22px; }
.lt-banner h2 { color: #fff; font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 14px; }
.lt-banner p { margin-bottom: 26px; max-width: 36em; }
.lt-flow { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.lt-flow span { display: block; padding: 12px 18px; border: 1px solid #2B3A52; border-radius: 10px; color: #E3E8EF; font-weight: 700; text-align: center; background: #13223A; }
.lt-flow span.on { border-color: var(--teal); color: var(--navy); background: var(--teal); }
.lt-flow i { display: block; width: 2px; height: 16px; background: #2B3A52; margin: 0 auto; }

/* 마지막 행동 띠 */
.cta-band { background: var(--blue-d); color: #DCE8FB; padding: 64px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 8px; }

/* 하위 페이지 머리 */
.phero { background: var(--bg-blue); border-bottom: 1px solid var(--line); padding: 64px 0 72px; }
.phero h1 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 18px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

.do-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.do-card { padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; gap: 16px; }
.do-card h3 { font-size: 18px; line-height: 1.45; }
.modes { margin-top: 40px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.modes h3 { font-size: 16px; color: var(--muted); }
.modes ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.modes li { padding: 8px 16px; border-radius: 999px; background: var(--cyan-t); color: var(--ink); font-weight: 700; font-size: 15px; }

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 640px; }
.tbl th { text-align: left; font-size: 14px; color: var(--muted); font-weight: 700; padding: 14px 20px; border-bottom: 1px solid var(--line); background: #FAFBFD; }
.tbl td { padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .when { white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 15px; }
.role { display: inline-block; white-space: nowrap; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--bg-blue); color: var(--blue-d); }

/* 푸터 (공통 footer.json, 라이트) */
.site-footer { background: #F4F6F9; border-top: 1px solid var(--line); padding: 56px 0 44px; font-size: 14px; color: #5C626C; }
.f-top { display: grid; grid-template-columns: minmax(0, 1fr) repeat(6, minmax(0, 1fr)); gap: 32px; padding-bottom: 28px; border-bottom: 1px solid #E1E4E8; }
.f-logo img { display: block; height: 22px; width: auto; }
.f-group h2 { font-size: 13px; letter-spacing: .04em; color: #5C626C; margin-bottom: 10px; font-weight: 700; }
.f-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.f-group a { color: #3A404A; text-decoration: none; }
.f-group a:hover { text-decoration: underline; }
.f-group a.strong { font-weight: 800; color: #0F1115; }
.f-group li.strong a { font-weight: 800; color: #0F1115; }
.f-top .f-common { display: contents; }   /* 공통 내비게이션 6묶음이 로고 옆 그리드 칸을 그대로 쓴다 */
.f-info { padding-top: 22px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.f-info a { color: #3A404A; }
.f-notice, .f-copy { margin-top: 10px; font-size: 13px; }

/* 반응형 */
@media (max-width: 1024px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 64px; padding-bottom: 72px; }
  .hero-art { justify-self: center; }
  .biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biz-grid > *, .biz-grid > :nth-child(4), .biz-grid > :nth-child(5) { grid-column: auto; }
  .biz-grid > :nth-child(5) { grid-column: 1 / -1; }
  .do-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lt-banner { grid-template-columns: minmax(0, 1fr); padding: 40px 32px; }
  .lt-flow { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px; }
  .lt-flow i { width: 14px; height: 2px; margin: 0; }
  .f-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .menu-btn { display: flex; }
  .gnb { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(15,27,45,.1); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; display: none; }
  .hdr.open .gnb { display: flex; }
  .gnb > a, .dd-btn { padding: 14px 4px; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; font-size: 17px; }
  .gnb > a.btn { margin-top: 14px; justify-content: center; border-bottom: 0; min-height: 50px; }
  .dd-list { position: static; visibility: visible; opacity: 1; transition: none; box-shadow: none; border: 0; padding: 0 0 8px 8px; min-width: 0; }
  .dd-list::before { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .sec { padding: 64px 0; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .biz-grid { grid-template-columns: minmax(0, 1fr); }
  .biz-grid > :nth-child(5) { grid-column: auto; }
  .works { grid-template-columns: minmax(0, 1fr); }
  .do-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { display: none; }
  .actions .btn { flex: 1 1 100%; }
  .cta-band .actions { width: 100%; }
  .f-top { grid-template-columns: minmax(0, 1fr); }
  .lt-banner { padding: 32px 22px; }
}

/* ---- 하위 페이지 공통 ---- */
.two { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 40px; align-items: start; }
.two > .sec-head { margin-bottom: 0; }
.two--wide { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
.toc { position: sticky; top: 72px; z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.toc .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.toc a { flex: none; padding: 6px 14px; border-radius: 999px; color: var(--body); text-decoration: none; font-weight: 600; font-size: 15px; }
.toc a:hover { background: var(--bg-blue); color: var(--blue-d); }
section[id] { scroll-margin-top: 130px; }
.chips { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 16px; border-radius: 999px; background: var(--cyan-t); color: var(--ink); font-weight: 700; font-size: 15px; }

/* 회사소개 */
.ov { margin: 0; border-top: 2px solid var(--ink); }
.ov-row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.ov dt { font-weight: 700; color: var(--muted); font-size: 15px; }
.ov dd { margin: 0; color: var(--ink); }
.mission { margin-top: 14px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; color: var(--blue-d); line-height: 1.45; }
.prs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pr { display: flex; gap: 16px; padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.pr-n { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-d); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pr h3 { font-size: 18px; margin-bottom: 6px; }
.pr p { font-size: 15px; }
.hist { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.hy { position: relative; display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 0 0 26px 26px; }
.hy::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.hy-y { font-weight: 800; color: var(--ink); font-size: 20px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.hy ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ceo-name { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.ceo-name b { font-size: 22px; color: var(--ink); }
.ceo-name span { font-size: 15px; color: var(--muted); }
.ceo p:last-child { max-width: 46em; }
.pats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pat { display: grid; grid-template-columns: 170px minmax(0, 1fr); grid-template-areas: "no t" "no n"; gap: 2px 18px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--cyan); border-radius: 12px; }
.pat-no { grid-area: no; font-weight: 700; color: var(--blue-d); font-size: 15px; font-variant-numeric: tabular-nums; }
.pat b { grid-area: t; color: var(--ink); }
.pat-note { grid-area: n; font-size: 14px; color: var(--muted); }
.places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.place { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.place .kicker { margin: 0; }
.place h3 { font-size: 20px; }
.place .btn { margin-top: 8px; min-height: 44px; font-size: 15px; }

/* 실적 카드 */
.wgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.wgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wcard { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: var(--radius); }
.wcard[data-cat="med"] { border-top-color: var(--cyan); }
.wcard[data-cat="own"] { border-top-color: var(--teal-d); }
.wc-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wcard h3 { font-size: 19px; line-height: 1.45; }
.wcard .role { align-self: flex-start; }
.wcard p { font-size: 15px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab { font: inherit; font-weight: 700; font-size: 15px; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; }
.tab span { color: var(--muted); font-weight: 600; margin-left: 2px; }
.tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab[aria-pressed="true"] span { color: #C9D3E1; }

/* (삭제된 서비스 페이지용 — 진행 방식·약속 표 등, 다시 쓸 때를 위해 남김) */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fl { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 10px; }
.fl-t { align-self: flex-start; padding: 4px 14px; border-radius: 999px; font-weight: 800; font-size: 15px; }
.fl--0 .fl-t { background: #FFF4D6; color: #7A5300; }
.fl--1 .fl-t { background: var(--navy); color: #fff; }
.fl--2 .fl-t { background: var(--teal); color: var(--navy); }
.fl p { color: var(--ink); font-weight: 600; }
.rule { margin-top: 20px; padding: 16px 20px; border-radius: 12px; background: var(--bg-blue); color: var(--ink); font-weight: 600; }
.kv { width: 100%; border-collapse: collapse; font-size: 16px; }
.kv th { text-align: left; width: 150px; padding: 15px 20px; color: var(--muted); font-weight: 700; font-size: 15px; vertical-align: top; border-bottom: 1px solid var(--line); background: #FAFBFD; }
.kv td { padding: 15px 20px; color: var(--ink); border-bottom: 1px solid var(--line); }
.kv tr:last-child th, .kv tr:last-child td { border-bottom: 0; }
.note-band { margin-top: 16px; padding: 16px 20px; border-left: 4px solid var(--teal-d); background: #fff; border-radius: 0 12px 12px 0; color: var(--ink); font-weight: 600; }
.sample { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(15,27,45,.1); max-width: 720px; }
.sample img { display: block; width: 100%; height: auto; }
.prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.prod { padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; gap: 8px; }
.prod h3 { font-size: 18px; }
.prod .price { font-size: 20px; font-weight: 800; color: var(--blue-d); line-height: 1.4; }
.prod .sub { font-size: 14px; color: var(--muted); }

/* 문의 */
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 860px; }
.ccard { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 34px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.ccard:hover { border-color: var(--blue); box-shadow: 0 14px 34px rgba(48,126,239,.12); }
.ccard h2 { font-size: 22px; }
.ccard .more { position: absolute; right: 24px; top: 24px; color: var(--muted); }
.contact-mail { margin-top: 28px; font-size: 17px; color: var(--ink); font-weight: 600; }

/* 처리방침 */
.narrow { max-width: 860px; }
.legal { padding: 56px 0 96px; }
.legal h1 { font-size: clamp(28px, 3vw, 38px); margin: 6px 0 12px; }
.legal .status { display: inline-block; margin-bottom: 24px; padding: 4px 12px; border-radius: 999px; background: var(--bg-blue); color: var(--blue-d); font-weight: 700; font-size: 14px; }
.legal h2 { font-size: 21px; margin: 40px 0 12px; }
.legal h3 { font-size: 17px; margin: 22px 0 10px; }
.legal p { margin: 0 0 8px; }
.legal .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 8px 0 14px; }
.legal table { border-collapse: collapse; width: 100%; min-width: 920px; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: #FAFBFD; color: var(--muted); }

@media (max-width: 1024px) {
  .two, .two--wide { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .prs, .flow { grid-template-columns: minmax(0, 1fr); }
  .wgrid--3 { grid-template-columns: minmax(0, 1fr); }
  .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ov-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .wgrid, .places, .contact-cards, .prods { grid-template-columns: minmax(0, 1fr); }
  .pat { grid-template-columns: minmax(0, 1fr); grid-template-areas: "no" "t" "n"; }
  .hy { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .kv th { width: 96px; padding: 12px 14px; }
  .kv td { padding: 12px 14px; }
}

/* 404 */
.nf { padding: 120px 0 140px; background: linear-gradient(180deg, var(--bg-blue) 0%, #fff 100%); }
.nf-code { font-size: 64px; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.nf h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
.nf .actions { margin-top: 30px; }
.legal .history { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* 모바일: 실적 표·처리방침 표를 행마다 카드로 (OBSIDIAN_PM 모바일 점검 2026-10-03) */
@media (max-width: 640px) {
  .tbl-wrap { overflow: visible; border: 0; background: none; }
  .tbl { min-width: 0; display: block; }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl tbody { display: flex; flex-direction: column; gap: 12px; }
  .tbl tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
  .tbl td { display: block; padding: 0; border: 0; }
  .tbl td.ttl { order: 1; flex: 0 0 100%; font-weight: 700; font-size: 17px; line-height: 1.5; margin-bottom: 2px; }
  .tbl td.org { order: 2; color: var(--body); font-size: 15px; }
  .tbl td.when { order: 3; font-size: 14px; white-space: normal; }
  .tbl td.when::before { content: "· "; color: var(--muted); }
  .tbl td.rl { order: 4; flex: 0 0 100%; margin-top: 6px; }
  .legal .table-wrap { overflow: visible; border: 0; }
  .legal table { min-width: 0; display: block; }
  .legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal tbody { display: flex; flex-direction: column; gap: 12px; }
  .legal tr { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
  .legal td { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 8px; padding: 5px 0; border: 0; }
  .legal td::before { content: attr(data-label); color: var(--muted); font-weight: 700; }
}

/* Esc 로 닫은 드롭다운: 포커스·마우스가 남아 있어도 숨김 (데스크톱만) */
@media (min-width: 861px) { .dd.esc .dd-list { visibility: hidden; opacity: 0; transition: none; } }

/* 드롭다운 카테고리 제목(클릭 불가) */
.dd-list .dd-cat { padding: 10px 14px 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.dd-list .dd-cat:not(:first-child) { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.dd-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dd-list a .ic-ext { color: var(--muted); }
@media (max-width: 860px) { .dd-list .dd-cat { padding-left: 4px; } .dd-list .dd-cat:not(:first-child) { border-top: 0; } }

/* 맨 위로 버튼 (대표 지시 2026-10-03) */
.to-top { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 45; width: 50px; height: 50px; border-radius: 14px; border: 0; background: var(--blue-d); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 24px rgba(31,95,196,.35); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s, background .15s; }
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--blue-dd); }
[hidden] { display: none !important; }   /* hidden 속성이 컴포넌트의 display(flex·grid)에 지지 않게 — 실적 탭 등 */
@media (max-width: 640px) { .to-top { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; } }

.dd-list--sm { left: auto; right: -16px; }
/* 메뉴 6개: 좁은 데스크톱(861~1100px)에서 간격을 줄여 한 줄 유지 */
@media (min-width: 861px) and (max-width: 1100px) { .gnb { gap: 18px; } .gnb > a, .dd-btn { font-size: 15px; } .wrap { padding: 0 24px; } }
/* 모바일: 맨 위로 버튼이 푸터 마지막 줄을 가리지 않게 아래 여백 */
@media (max-width: 640px) { .site-footer { padding-bottom: 88px; } }

/* 페이지 상단 장식 일러스트 (phero) */
.phero--art { position: relative; overflow: hidden; }
.phero--art .wrap { position: relative; z-index: 1; }
.phero-art { position: absolute; top: 0; right: 0; height: 100%; width: min(58%, 820px); pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%); mask-image: linear-gradient(to right, transparent 0%, #000 34%); }
.phero--art .lead { max-width: 34em; }
.phero-art .flow { animation: phero-flow 9s linear infinite; }
@keyframes phero-flow { to { stroke-dashoffset: -140; } }
@media (prefers-reduced-motion: reduce) { .phero-art .flow { animation: none; } }
@media (max-width: 1024px) { .phero-art { width: 64%; opacity: .55; } }
@media (max-width: 640px) { .phero-art { display: none; } }

.wgrid--1 { grid-template-columns: minmax(0, 760px); }
/* 메뉴 7개: 861~1180px에서 간격·글자 크기를 줄여 한 줄 유지 (문의하기 버튼은 그대로) */
@media (min-width: 861px) and (max-width: 1180px) { .gnb { gap: 16px; } .gnb > a:not(.btn), .dd-btn { font-size: 15px; } }
@media (min-width: 861px) and (max-width: 960px) { .gnb { gap: 12px; } .gnb > a:not(.btn), .dd-btn { font-size: 14px; } .brand img { height: 20px; } }
@media (max-width: 1180px) { .f-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 연구 단계 안내 띠 (PainLab) */
.notice-band { background: #FFF6E0; border-top: 1px solid #F1D79A; border-bottom: 1px solid #F1D79A; }
.notice-band p { padding: 16px 0; color: #5A3E00; font-weight: 800; font-size: 17px; }
.notice-band p::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; background: #B7791F; color: #fff; font-size: 15px; vertical-align: 1px; }

/* 페이지 상단 사진 배경 (대표 지시 2026-10-03): 사진 + 남색→파랑 그라데이션, 흰 글씨 */
.phero--photo { position: relative; overflow: hidden; background: #0E1A2E; border-bottom: 0; }
.phero--photo .phero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero--photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,26,46,.94) 0%, rgba(14,26,46,.86) 38%, rgba(23,63,134,.62) 70%, rgba(31,95,196,.42) 100%); }
.phero--photo .wrap { position: relative; z-index: 1; }
.phero--photo h1 { color: #fff; }
.phero--photo .lead { color: #E3EAF5; max-width: 34em; }
.phero--photo .kicker { color: #7FE0F5; }
.phero--photo .crumbs, .phero--photo .crumbs a { color: #B8C6DA; }
@media (max-width: 640px) { .phero--photo::after { background: linear-gradient(180deg, rgba(14,26,46,.9) 0%, rgba(14,26,46,.86) 100%); } }

.phero-cap { position: absolute; right: 20px; bottom: 12px; z-index: 1; margin: 0; font-size: 12px; color: rgba(255,255,255,.72); letter-spacing: .04em; }
@media (max-width: 640px) { .phero-cap { right: 16px; bottom: 10px; font-size: 11px; } }

/* 홈 히어로 사진 배경 (2026-10-04): 하위 페이지와 같은 남색→파랑 막, 흰 글씨, 도식은 그 위에 */
.hero--photo { position: relative; overflow: hidden; background: #0E1A2E; border-bottom: 0; }
.hero--photo .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,26,46,.94) 0%, rgba(14,26,46,.82) 45%, rgba(23,63,134,.55) 75%, rgba(31,95,196,.4) 100%); }
.hero--photo .hero-in { position: relative; z-index: 1; }
.hero--photo h1 { color: #fff; }
.hero--photo .lead { color: #E3EAF5; }
.hero--photo .eyebrow { color: #7FE0F5; }
.hero--photo .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.hero--photo .btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.hero--photo .hero-lines path { stroke: rgba(255,255,255,.35); }
.hero--photo .hn { box-shadow: 0 14px 34px rgba(0,0,0,.28); border-color: rgba(255,255,255,.6); }
@media (max-width: 640px) { .hero--photo::after { background: linear-gradient(180deg, rgba(14,26,46,.9), rgba(14,26,46,.86)); } }

/* 문의 유입 보완 (원고 부록 C, 2026-10-04) */
.diag-note { margin-top: 12px; font-size: 14px; color: var(--muted); word-break: keep-all; }
.hero--photo .diag-note { color: #C9D3E1; }
.cta-band .diag-note { color: #DCE8FB; margin-top: 10px; }
.cta-act { display: flex; flex-direction: column; align-items: flex-start; }
.hero-more { margin-top: 18px; }
.hero--photo .hero-more { color: #fff; }
.reply-note { margin-bottom: 18px; font-weight: 700; color: var(--blue-d); }
.steps-wrap { margin-top: 48px; }
.steps-h { font-size: 20px; margin-bottom: 16px; }
.wsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.wstep { display: flex; gap: 14px; padding: 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.wstep-n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-d); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.wstep h4 { margin: 2px 0 6px; font-size: 18px; color: var(--ink); }
.wstep p { font-size: 15px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--blue-d); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; color: var(--body); }
@media (max-width: 1024px) { .wsteps { grid-template-columns: minmax(0, 1fr); } }

/* 솔루션 · Search2Out (원고 부록 D, 2026-10-04) */
.status-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 7px 14px; border-radius: 999px; background: rgba(41,200,237,.16); border: 1px solid rgba(41,200,237,.55); color: #BFF1FC; font-weight: 700; font-size: 14px; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #29C8ED; }
.phero:not(.phero--photo):not(.phero--art) .status-pill { color: var(--blue-d); background: var(--cyan-t); }
.do-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.do-card p { font-size: 15px; }
.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.feat li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-size: 16px; line-height: 1.6; }
.feat-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--cyan-t); color: var(--blue-d); display: flex; align-items: center; justify-content: center; }
.feat li > span:last-child, .feat li > b { padding-top: 7px; }
.feat--sec { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feat--sec li { flex-direction: column; gap: 12px; }
.feat--sec li > b { padding-top: 0; }
.perf { padding: 28px 30px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; }
.perf-what { color: var(--ink); font-weight: 700; font-size: 17px; }
.perf-num { margin: 6px 0 8px; font-size: 40px; font-weight: 800; color: var(--blue-d); letter-spacing: -0.5px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.perf-cond { font-size: 14px; color: var(--muted); }
.spec { margin: 0; display: grid; border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 700; color: var(--muted); }
.spec dd { margin: 0; color: var(--ink); font-weight: 700; }
.sec--tight { padding-top: 0; }
.rel-card { display: flex; align-items: center; gap: 18px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.rel-card:hover { border-color: var(--blue); box-shadow: 0 14px 34px rgba(48,126,239,.12); }
.rel-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rel-k { font-size: 14px; font-weight: 700; color: var(--blue-d); }
.rel-txt b { color: var(--ink); font-size: 18px; }
.rel-go { margin-left: auto; flex: none; color: var(--blue-d); }
.cta-in p { margin-top: 8px; }
.sec-line { margin-top: 28px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 12px; background: var(--bg-alt); color: var(--ink); font-size: 16px; line-height: 1.6; }
.sec-line b { margin-right: 8px; color: var(--blue-d); }
.soon { padding: 18px 22px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-weight: 700; text-align: center; }
@media (max-width: 1024px) { .do-grid--3, .feat--sec { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .spec > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } .perf-num { font-size: 32px; } }

/* 실적 카드 외부 링크(데모 등) */
.wc-link { align-self: flex-start; margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--blue-d); font-weight: 700; font-size: 15px; text-decoration: none; }
.wc-link:hover { border-color: var(--blue); background: var(--cyan-t); }

/* 서비스 · R&D/MVP 개발 서비스 (원고 부록 E, 2026-10-04) */
.case { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.case-head { display: flex; gap: 28px; align-items: flex-start; justify-content: space-between; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 15px; }
.case h3 { margin: 10px 0 10px; font-size: 24px; }
.case-desc { max-width: 760px; }
.case-demo { flex: none; }
.shots { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.shot { margin: 0; }
.shot a { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-alt); transition: border-color .15s, box-shadow .15s; }
.shot a:hover { border-color: var(--blue); box-shadow: 0 14px 34px rgba(48,126,239,.12); }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.shot figcaption { margin-top: 10px; display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.shot-n { width: 26px; height: 26px; border-radius: 50%; background: var(--blue-d); color: #fff; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.case-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.other-case { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.other-case b { color: var(--muted); font-size: 15px; }
.other-case a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-d); font-weight: 700; }
@media (max-width: 860px) { .case { padding: 22px 18px; } .case-head { flex-direction: column; } .shots { grid-template-columns: minmax(0, 1fr); } }

/* 솔루션 소개 공통 (LTeam·Search2Out, 2026-10-04) */
.shots--wide img { aspect-ratio: 2 / 1; }
.shots--row { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.shots--row img { aspect-ratio: 16 / 10; object-fit: contain; object-position: center; background: #EEF1F5; }
.recs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rec { padding: 24px 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 6px; }
.rec b { font-size: 34px; line-height: 1.15; color: var(--blue-d); letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
.rec span { color: var(--body); font-size: 15px; }
.use-line { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: var(--bg-alt); border-radius: 12px; }
.use-line p { color: var(--ink); font-size: 17px; }
.use-line b { color: var(--blue-d); margin-right: 8px; }
.scope-line { margin-top: 18px; font-size: 15px; color: var(--muted); font-weight: 700; }
.feat small { color: var(--muted); font-weight: 400; font-size: 14px; }
@media (max-width: 860px) { .recs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shots--row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .rec b { font-size: 28px; } }

/* 회사소개 · 이름의 뜻 — 2차: 어원 도해형 (대표 요청 2026-10-04). 범위는 .sec--name 안으로만 */
.sec--name { position: relative; overflow: hidden; color: #C9D3E1;
  background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(48,126,239,.22), rgba(48,126,239,0) 70%), #0E1A2E; }
.sec--name .nm-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .06; pointer-events: none; }
.sec--name .wrap { position: relative; }
.sec--name .sec-head h2 { color: #fff; }
.sec--name .nm-mark { display: flex; justify-content: center; align-items: flex-start; gap: .14em; margin: 8px auto 0; font-size: clamp(54px, 13vw, 148px); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.sec--name .nm-part { position: relative; display: flex; flex-direction: column; align-items: center; padding-bottom: 56px; }
.sec--name .nm-part--a { color: #307EEF; } .sec--name .nm-part--b { color: #29C8ED; }
.sec--name .nm-letters { position: relative; display: block; }
.sec--name .nm-letters::after { content: ""; position: absolute; left: .06em; right: .06em; bottom: -18px; height: 14px; border: 2px solid currentColor; border-top: 0; border-radius: 0 0 10px 10px; opacity: .75; }
.sec--name .nm-lab { position: absolute; top: calc(100% + 30px); left: 50%; transform: translateX(-50%); font-size: 16px; font-weight: 700; letter-spacing: 0; line-height: 1.4; white-space: nowrap; text-align: center; }
.sec--name .nm-en::before { content: " · "; }
.sec--name .nm-part--a .nm-lab { color: #8EC0FF; }
.sec--name .nm-part--b .nm-lab { color: #7FE3F6; }
.sec--name .nm-sum { margin: 22px 0 52px; text-align: center; color: #fff; font-size: clamp(24px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.3px; }
.sec--name .nm-cards { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.sec--name .nm-card { position: relative; padding: 30px 30px 28px; border-radius: var(--radius); background: #15233B; border: 1px solid rgba(255,255,255,.10); display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.sec--name .nm-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; }
.sec--name .nm-card--a::before { background: linear-gradient(90deg, #307EEF, rgba(48,126,239,.15)); }
.sec--name .nm-card--b::before { background: linear-gradient(90deg, #29C8ED, rgba(41,200,237,.15)); }
.sec--name .nm-badge { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.sec--name .nm-card--a .nm-badge { background: rgba(48,126,239,.16); color: #8EC0FF; }
.sec--name .nm-card--b .nm-badge { background: rgba(41,200,237,.14); color: #7FE3F6; }
.sec--name .nm-card h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: #fff; }
.sec--name .nm-word { font-size: 32px; font-weight: 800; letter-spacing: -0.5px; }
.sec--name .nm-card--a .nm-word { color: #5FA8FF; } .sec--name .nm-card--b .nm-word { color: #29C8ED; }
.sec--name .nm-k { font-size: 18px; font-weight: 700; color: #fff; }
.sec--name .nm-card p { color: #C9D3E1; }
.sec--name .nm-plus { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: #0E1A2E; border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 24px; font-weight: 400; display: flex; align-items: center; justify-content: center; }
.sec--name .nm-mean-h { margin: 56px 0 22px; color: #fff; font-size: 20px; }
.sec--name .nm-meanwrap { position: relative; }
.sec--name .nm-line { position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: linear-gradient(90deg, #307EEF, #29C8ED); transform-origin: left center; opacity: .8; }
.sec--name .nm-mean { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sec--name .nm-mean li { position: relative; padding-top: 34px; }
.sec--name .nm-node { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #29C8ED; box-shadow: 0 0 0 5px rgba(41,200,237,.18); }
.sec--name .nm-no { display: block; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -1px; background: linear-gradient(135deg, #5FA8FF, #29C8ED); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec--name .nm-mean h4 { margin: 10px 0 8px; color: #fff; font-size: 24px; }
.sec--name .nm-mean p { color: #C9D3E1; font-size: 15px; max-width: 34ch; }
.sec--name.nm-pre .nm-line { transform: scaleX(0); }
.sec--name.nm-pre.is-in .nm-line { transform: scaleX(1); transition: transform 1s ease-out .15s; }
@media (max-width: 860px) {
  .sec--name .nm-cards { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sec--name .nm-plus { display: none; }
  .sec--name .nm-mean { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-left: 30px; }
  .sec--name .nm-line { left: 6px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, #307EEF, #29C8ED); transform-origin: center top; }
  .sec--name.nm-pre .nm-line { transform: scaleY(0); }
  .sec--name.nm-pre.is-in .nm-line { transform: scaleY(1); }
  .sec--name .nm-mean li { padding-top: 0; }
  .sec--name .nm-node { left: -30px; top: 4px; }
}
@media (max-width: 480px) {
  .sec--name .nm-part { padding-bottom: 64px; }
  .sec--name .nm-lab { font-size: 13px; }
  .sec--name .nm-lab { top: calc(100% + 26px); }
  .sec--name .nm-en { display: block; font-weight: 600; }
  .sec--name .nm-en::before { content: none; }
  .sec--name .nm-card { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) { .sec--name.nm-pre .nm-line { transform: none; transition: none; } }

/* 서비스 · 위탁개발 서비스 (원고 부록 H, 2026-10-04) — "사람이 필요합니다" 강조 띠 */
.proof-line { margin-top: 20px; padding: 14px 18px; border-left: 3px solid var(--blue); background: var(--bg-alt); border-radius: 0 10px 10px 0; font-size: 15px; color: var(--body); }
.sec--human { background: linear-gradient(135deg, #0E1A2E 0%, #173F86 100%); color: #C9D3E1; }
.hu-head { max-width: 860px; }
.hu-head h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.3; text-wrap: balance; }
.hu-head p { margin-top: 18px; font-size: 18px; line-height: 1.8; color: #DCE6F5; }
.hu-sub { margin: 40px 0 16px; color: #fff; font-size: 20px; }
.hu-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hu-card { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 10px; }
.hu-ic { width: 42px; height: 42px; border-radius: 10px; background: rgba(41,200,237,.16); color: #29C8ED; display: flex; align-items: center; justify-content: center; }
.hu-card h4 { color: #fff; font-size: 18px; }
.hu-card p { color: #C9D3E1; font-size: 15px; }
.hu-comm { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.hu-comm li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: #fff; font-weight: 700; font-size: 15px; }
.hu-comm li .ic { color: #29C8ED; }
.flow-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; align-items: center; }
.flow3 { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.flow3 li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 16px; }
.fl-k { flex: none; min-width: 56px; padding: 6px 0; text-align: center; border-radius: 8px; background: var(--blue-d); color: #fff; font-weight: 800; }
.flow-rule { margin-top: 16px; font-weight: 700; color: var(--blue-d); }
.sample { margin: 0; }
.sample a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(14,26,46,.12); }
.sample img { display: block; width: 100%; height: auto; }
.sample figcaption { margin-top: 10px; }
.sample-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid #B7791F; background: #FFF6E0; color: #7A4E00; font-weight: 800; font-size: 14px; }
.kv td:first-child { width: 34%; white-space: nowrap; }
.cta-more { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .flow-wrap { grid-template-columns: minmax(0, 1fr); } .hu-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .kv td:first-child { width: auto; white-space: normal; } }

/* PainLab MVP 블록 (원고 부록 I, 2026-10-04) — 흐름: 중계 서버 → 클라우드 → 관리자·앱 */
.mvp-lead { margin-top: 12px; max-width: 760px; }
.mvp-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.1fr); align-items: center; gap: 14px; }
.mvp-card { padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.mvp-card h3 { font-size: 18px; }
.mvp-card p { font-size: 15px; }
.mvp-ends { display: grid; gap: 14px; }
.mvp-arrow { color: var(--blue); display: flex; align-items: center; justify-content: center; }
.other-case ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 960px) {
  .mvp-flow { grid-template-columns: minmax(0, 1fr); }
  .mvp-arrow { transform: rotate(90deg); }
}

/* 시스템 전환·이관 페이지 다듬기 (대표 지적 2026-10-04) */
.do-card .do-sub { margin-top: -8px; font-size: 14px; color: var(--muted); }
.rel-card { margin-top: 32px; }
.rel-card .biz-ic { flex: none; align-self: center; }
.tbl td.ttl { overflow-wrap: normal; }

.more-line { margin-top: 24px; display: flex; justify-content: center; }

/* 푸터 칸 수 정리 (2026-10-04): 위 1180px 3칸 규칙이 뒤에 있어 휴대폰 규칙을 덮던 문제 — 작은 화면 규칙을 다시 뒤에 둔다 */
@media (max-width: 860px) { .f-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-top .f-logo { grid-column: 1 / -1; } }
.f-group li.strong a, .f-group a.strong { white-space: nowrap; }

/* 드롭다운 폭: 고정값 대신 내용에 맞게 (대표 지시 2026-10-04 "팝업 길이를 고정하지 말고 상대적으로").
   메뉴명 길이만큼 넓어지고, 화면 폭을 넘을 때만 줄바꿈한다. 모바일(860px 이하) 펼침 메뉴는 그대로. */
@media (min-width: 861px) {
  .dd-list { width: max-content; min-width: 220px; max-width: min(520px, calc(100vw - 32px)); }
  .dd-list a, .dd-list .dd-cat { white-space: nowrap; }
  .dd-list a > span:first-child { white-space: normal; }
}

/* 삼성 인터넷 강제 다크 막기 2단계 (대표 결정 2026-10-05 "한 디자인으로"): 삼성 인터넷은 color-scheme 표시를 무시하고 칠하지만,
   다크 미디어 규칙이 있으면 "사이트가 다크를 직접 처리한다"고 보고 변환하지 않는다. 내용은 라이트 값 그대로 — 화면은 한 디자인. */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: only light;
    --bg: #FFFFFF; --bg-alt: #F4F7FB; --bg-blue: #EEF4FE;
    --ink: #0F1B2D; --body: #374357; --muted: #5E6A7B; --line: #DCE3ED; --line-2: #C6D2E2;
    --blue: #307EEF; --blue-d: #1F5FC4; --blue-dd: #173F86; --cyan: #29C8ED; --cyan-t: #E3F7FC;
    --teal: #2DE2D0; --teal-d: #0B8F84; --navy: #0E1A2E;
  }
  html, body { background-color: var(--bg) !important; color: var(--body); }
  .hdr { background: rgba(255,255,255,.96); }
  a { color: var(--blue-d); }
}

/* 솔루션 소개: 넓은 화면 캡처 한 장 (TinyECS, 2026-10-11) */
.shots.shots--single { grid-template-columns: minmax(0, 1fr); }
.shots--single img { aspect-ratio: auto; object-fit: initial; }

.feat .use-sub { display: block; margin-top: 2px; font-weight: 400; font-size: 15px; color: var(--body); }

.sec-line + .sec-line { margin-top: 12px; }
@media (max-width: 860px) { .shots--row img { aspect-ratio: auto; object-fit: initial; background: #fff; } }   /* 휴대폰: 캡처를 원래 비율대로 크게 */

/* TinyECS 소개 · 활용 예 사진 카드 (2026-10-11) — 대표 사이트 카드 스타일: 흰 바탕, 선, 14px 둥글기 */
.use-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.use-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.use-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 1px solid var(--line); }
.use-body { padding: 20px 22px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.use-body h3 { font-size: 19px; color: var(--ink); }
.use-body p { font-size: 15px; }
.use-body .use-credit { margin-top: auto; padding-top: 6px; font-size: 12px; color: var(--muted); }
.sec-line.use-after { margin-top: 32px; }
@media (max-width: 760px) { .use-cards { grid-template-columns: minmax(0, 1fr); } }

/* 표 배경 명시 (2026-10-11): 배경이 비어 있는 표 요소는 삼성 인터넷 강제 다크에서 칸마다 다르게 칠해진다(search2out-0b 발견).
   라이트 값 그대로 지정 — 화면은 바뀌지 않는다. */
.tbl-wrap, .tbl, .tbl tbody, .tbl tr, .tbl td, .legal .table-wrap, .legal table, .legal tbody, .legal tr, .legal td { background-color: #FFFFFF; }
.tbl thead, .tbl th, .legal thead, .legal th { background-color: #FAFBFD; }
.spec, .spec > div, .spec dt, .spec dd { background-color: transparent; }
@media (max-width: 760px) { .tbl, .tbl tbody { background-color: transparent; } }
