/* UHTEK 홈페이지 — 레이아웃 구조는 ui.com 을 따른다 (상단 메뉴 · 히어로 · 원칙 탭 카드 · 적용 분야 · 사례 배너 · 푸터) */
:root {
  --ink: #141619;
  --ink-2: #50565e;
  --ink-3: #6b717a;
  --line: #e3e6ea;
  --soft: #f4f5f7;
  --bg: #ffffff;
  --accent: #0b6fb8;
  --accent-hover: #08548c;
  --dark: #0c1118;
  --radius: 16px;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── 상단 메뉴 */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 56px; }
.nav .logo img { height: 22px; }
.nav .menu { display: flex; gap: 22px; flex: 1; font-size: 14px; color: var(--ink-2); }
.nav .menu a:hover, .nav .right a:hover { color: var(--ink); }
.nav .menu .start { color: var(--ink); font-weight: 600; }
.nav .right { display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--ink-2); }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { border-color: var(--accent); color: var(--accent); background: #fff; }
.btn-outline:hover { background: #eef5fb; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); }
.nav .burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* ── 히어로 */
.hero { text-align: center; padding: 64px 0 0; overflow: hidden; }
.hero h1 { margin: 0; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
.hero p.lead { margin: 14px auto 0; max-width: 620px; color: var(--ink-2); font-size: 17px; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.pills button { height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font: inherit; font-size: 14px; cursor: pointer; }
.pills button:hover { border-color: var(--ink-3); color: var(--ink); }
.pills button[aria-selected="true"] { border-color: var(--accent); color: var(--accent); background: #eef5fb; }
.stage { position: relative; margin: 44px auto 0; max-width: 1080px; height: 560px; }
.stage .camera { position: absolute; left: 0; bottom: 36px; width: 260px; }
.laptop { position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 760px; }
.laptop .screen { background: #111; border-radius: 14px 14px 0 0; padding: 12px; box-shadow: 0 30px 60px rgba(15, 22, 33, .18); }
.laptop .screen video, .laptop .screen img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: #000; }
.laptop .base { height: 16px; background: linear-gradient(#d8dbe0, #b9bdc4); border-radius: 0 0 14px 14px; margin: 0 -28px; }
.stage-caption { margin: 18px 0 0; color: var(--ink-3); font-size: 13px; }

/* ── 섹션 공통 */
section.block { padding: 96px 0 0; }
.block h2 { margin: 0; text-align: center; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.01em; }
.block .sub { text-align: center; color: var(--ink-2); margin: 10px 0 0; }

/* ── 핵심 기능 (탭 카드) */
.panel { display: none; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; margin-top: 36px; padding: 48px; background: var(--soft); border-radius: var(--radius); }
.panel.on { display: grid; }
.panel h3 { margin: 0 0 18px; font-size: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.panel ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.panel li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; color: var(--ink-2); }
.panel li svg { width: 22px; height: 22px; color: var(--ink); margin-top: 2px; }
.panel .media { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(15, 22, 33, .08); }
.panel .media video, .panel .media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.panel .media.product { box-shadow: none; background: transparent; display: flex; justify-content: center; }
.panel .media.product img { width: auto; max-height: 360px; aspect-ratio: auto; object-fit: contain; mix-blend-mode: multiply; } /* 사진의 흰 배경을 카드 색에 녹인다 */
/* 넓은 카드 — 글은 위에 가로로, 아래에 노트북 화면을 카드 폭 가득 (PC 앱 소개 영상) */
.panel.wide.on { grid-template-columns: 1fr; gap: 32px; }
.panel.wide > div:first-child { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 40px; align-items: start; }
.panel.wide h3 { grid-row: span 2; border-bottom: 0; padding-bottom: 0; }
.panel.wide ul { margin-bottom: 20px; }
.panel.wide .btn { justify-self: start; grid-column: 2; }
.pc { width: 100%; max-width: 1000px; margin: 0 auto; }
.pc .screen { background: #111; border-radius: 14px 14px 0 0; padding: 12px; box-shadow: 0 30px 60px rgba(15, 22, 33, .18); }
.pc .screen video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: #000; }
.pc .base { height: 16px; background: linear-gradient(#d8dbe0, #b9bdc4); border-radius: 0 0 14px 14px; margin: 0 -28px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.facts div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.facts b { display: block; font-size: 22px; letter-spacing: -0.01em; white-space: nowrap; }
.facts span { color: var(--ink-3); font-size: 13px; }

/* ── 화면별 설명 — 캡처와 설명을 좌우 번갈아 (rev 는 사진이 오른쪽) */
.shot { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: center; margin-top: 128px; }
.shot.rev { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.shot.rev > figure { order: 2; }
.shot figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(15, 22, 33, .08); }
.shot figure img { width: 100%; height: auto; }
.shot figure.tall { justify-self: center; max-width: 440px; }
.shot .kicker { font-size: 13px; font-weight: 600; color: var(--accent); }
.shot h3 { margin: 6px 0 18px; font-size: 26px; letter-spacing: -0.01em; }
.shot dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.shot dt { font-weight: 600; font-size: 15px; }
.shot dd { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.shot .note { margin: 16px 0 0; font-size: 12px; color: var(--ink-3); }
.shot.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; align-items: start; }
.shot.pair > div { grid-column: 1 / -1; text-align: center; }
.shot.pair h3 { margin-bottom: 4px; }
.shot.pair figcaption { padding: 12px 16px; font-size: 13px; color: var(--ink-2); background: #fff; border-top: 1px solid var(--line); }
.shot-video { margin: 32px auto 0; max-width: 820px; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 14px 34px rgba(15, 22, 33, .1); }
.shot-video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot .kicker[id], section[id] { scroll-margin-top: 72px; }
.sec-h { margin: 96px 0 0; text-align: center; font-size: 26px; letter-spacing: -0.01em; }
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.cards4 > div { background: var(--soft); border-radius: var(--radius); padding: 24px; }
.cards4 h4 { margin: 0 0 8px; font-size: 16px; }
.cards4 p { margin: 0; font-size: 14px; color: var(--ink-2); }
.specs { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 28px; align-items: start; }
.specs table { width: 100%; border-collapse: collapse; background: var(--soft); border-radius: var(--radius); overflow: hidden; font-size: 13px; }
.specs caption { text-align: left; font-weight: 600; font-size: 15px; padding: 0 0 10px; }
.specs th, .specs td { padding: 9px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs thead th { color: var(--ink-3); font-weight: 500; font-size: 12px; }
.specs tbody th { width: 30%; font-weight: 600; white-space: nowrap; }
.specs td { color: var(--ink-2); }
.specs tfoot td { border-bottom: 0; font-size: 12px; color: var(--ink-3); }

/* ── 제품 — ui.com 제품 목록처럼 회색 카드에 사진 · 이름 · 짧은 사양 */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.prod { display: flex; flex-direction: column; background: var(--soft); border-radius: var(--radius); padding: 20px 20px 22px; transition: transform .2s, box-shadow .2s; }
.prod:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 22, 33, .08); }
.prod[hidden] { display: none; }
.prod .pimg { height: 180px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.prod .pimg img { max-height: 100%; max-width: 92%; object-fit: contain; mix-blend-mode: multiply; } /* 사진의 흰 배경을 카드 색에 녹인다 */
.prod .tag { font-size: 12px; color: var(--accent); font-weight: 600; }
.prod h3 { margin: 4px 0 2px; font-size: 17px; letter-spacing: -0.01em; }
.prod p { margin: 0 0 12px; color: var(--ink-2); font-size: 14px; }
.prod ul { list-style: none; margin: auto 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-3); }
.prod-note { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--ink-3); }

/* ── 적용 분야 */
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.logos div { height: 72px; border: 1px dashed #c6cbd2; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--ink-3); font-size: 13px; }

/* ── 사례 배너 */
.case { position: relative; margin-top: 96px; min-height: 440px; color: #fff; background: var(--dark); overflow: hidden; }
.case video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.case::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 12, 18, .92) 0%, rgba(8, 12, 18, .4) 60%, rgba(8, 12, 18, .1) 100%); }
.case .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 120px; }
.case h2 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); max-width: 520px; line-height: 1.3; }
.case p { margin: 10px 0 28px; color: rgba(255, 255, 255, .8); }

/* ── 푸터 */
footer { background: var(--soft); margin-top: 0; padding: 56px 0 40px; font-size: 14px; color: var(--ink-2); }
footer .cols { display: grid; grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); gap: 32px; }
footer h4 { margin: 0 0 12px; color: var(--ink); font-size: 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
footer a:hover { color: var(--ink); }
footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ── 좁은 화면 */
@media (max-width: 1020px) {
  .stage { height: auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
  .stage .camera, .laptop { position: static; transform: none; }
  .laptop { width: 100%; max-width: 760px; }
  .laptop .base { margin: 0 -8px; }
  .stage .camera { width: 200px; }
  .panel { grid-template-columns: 1fr; padding: 28px; }
  .panel.wide > div:first-child { grid-template-columns: 1fr; }
  .panel.wide h3 { grid-row: auto; }
  .panel.wide .btn { grid-column: auto; }
  .pc .base { margin: 0 -8px; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot, .shot.rev, .shot.pair { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
  .shot.rev > figure { order: 0; }
  .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav .menu, .nav .right .hide-s { display: none; }
  .nav .burger { display: block; margin-left: auto; }
  .nav.open .menu { display: flex; position: absolute; top: 56px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); }
  .nav.open .menu a { padding: 14px 24px; border-top: 1px solid var(--line); }
  .wrap { padding: 0 16px; }
  .facts { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products { grid-template-columns: 1fr; }
  .cards4 { grid-template-columns: 1fr; }
  .case .wrap { padding-top: 72px; padding-bottom: 72px; }
}

/* ── 제품 팝업 (카탈로그 상세) */
.prod[data-id] { cursor: pointer; }
.prod[data-id]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pdlg { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 30px 80px rgba(10, 16, 24, .3); color: var(--ink); }
.pdlg::backdrop { background: rgba(10, 14, 20, .55); backdrop-filter: blur(3px); }
.pdlg-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink-2); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pdlg-x:hover { background: var(--line); color: var(--ink); }
.pdlg-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; padding: 40px; align-items: center; }
.pdlg-img { background: var(--soft); border-radius: var(--radius); height: 340px; display: flex; align-items: center; justify-content: center; }
.pdlg-img img { max-width: 86%; max-height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.pdlg .tag { font-size: 13px; color: var(--accent); font-weight: 600; }
.pdlg h3 { margin: 4px 0 2px; font-size: 24px; letter-spacing: -0.01em; }
.pdlg-body p { margin: 0 0 18px; color: var(--ink-2); }
.pdlg table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pdlg th, .pdlg td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pdlg th { width: 38%; color: var(--ink-3); font-weight: 500; }
.pdlg ul { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: var(--ink-2); }
.pdlg-src { margin: 0; padding: 0 40px 24px; font-size: 12px; color: var(--ink-3); }
@media (max-width: 760px) {
  .pdlg-body { grid-template-columns: 1fr; gap: 20px; padding: 56px 20px 24px; }
  .pdlg-img { height: 220px; }
  .pdlg-src { padding: 0 20px 20px; }
}
.pdlg-guide { margin-top: 22px; }
.pdlg-guide[aria-disabled="true"] { background: var(--soft); color: var(--ink-3); cursor: default; pointer-events: none; }

/* ── 지원 (다운로드) 페이지 — 왼쪽 분류 · 오른쪽 파일 카드 */
.sup-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.sup-hero h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; }
.sup-hero .lead { margin: 8px 0 0; color: var(--ink-2); }
.sup-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; padding-top: 40px; padding-bottom: 96px; align-items: start; }
.sup-side { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 4px; }
.sup-side a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-size: 14px; }
.sup-side a:hover { background: var(--soft); color: var(--ink); }
.sup-side a.on { background: #eef5fb; color: var(--accent); font-weight: 600; }
.sup-main section { scroll-margin-top: 80px; }
.sup-main section + section { margin-top: 56px; }
.sup-main h2 { margin: 0 0 16px; font-size: 22px; }
.dl-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.dl-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.dl-head h3 { margin: 0; font-size: 18px; }
.dl-head p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.dl-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.dl-icon svg { width: 26px; height: 26px; }
.dl-ver { margin-left: auto; flex: none; font-size: 13px; font-weight: 600; color: var(--accent); background: #eef5fb; border-radius: 999px; padding: 4px 12px; }
.dl-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dl-table th { text-align: left; font-weight: 500; font-size: 12px; color: var(--ink-3); padding: 8px 12px; border-bottom: 1px solid var(--line); }
.dl-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: middle; }
.dl-table tr:last-child td { border-bottom: 0; }
.dl-table td:first-child b { display: block; color: var(--ink); }
.dl-table td:first-child small { color: var(--ink-3); font-size: 12px; word-break: break-all; }
.dl-table td:last-child { text-align: right; width: 1%; white-space: nowrap; }
.dl-note { margin: 12px 0 0; font-size: 13px; color: var(--ink-3); }
@media (max-width: 760px) {
  .sup-layout { grid-template-columns: 1fr; gap: 24px; }
  .sup-side { position: static; flex-direction: row; }
  .dl-table thead, .dl-table td:nth-child(2) { display: none; }
  .dl-head { flex-wrap: wrap; }
}

/* ── 새 페이지 첫 구역 · 메인 안내 카드 */
section.page-first { padding-top: 24px; padding-bottom: 112px; }
section.page-first .shot:first-of-type, section.page-first .products { margin-top: 32px; }
.teasers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.teaser { display: flex; flex-direction: column; background: var(--soft); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.teaser:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 22, 33, .08); }
.teaser img { width: 100%; height: 260px; object-fit: contain; padding: 24px; mix-blend-mode: multiply; }
.teaser img[src*="shots"] { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.teaser > div { padding: 24px 28px 28px; }
.teaser .kicker { font-size: 13px; font-weight: 600; color: var(--accent); }
.teaser h3 { margin: 4px 0 6px; font-size: 22px; }
.teaser p { margin: 0 0 14px; color: var(--ink-2); }
.teaser .more { font-weight: 600; color: var(--accent); font-size: 14px; }
@media (max-width: 760px) { .teasers { grid-template-columns: 1fr; } }

/* ── 제품 · VMS 페이지 — ui.com 처럼 가운데 큰 제목 + 상단에 붙는 하위 메뉴 */
.page-hero { text-align: center; padding: 72px 0 40px; }
.page-hero h1 { margin: 0; font-size: clamp(34px, 5vw, 60px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
.page-hero .lead { margin: 14px auto 0; max-width: 620px; color: var(--ink-2); font-size: 18px; }
.subnav { position: sticky; top: 56px; z-index: 15; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; justify-content: center; gap: 4px; height: 52px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 7px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); }
.subnav a:hover { color: var(--ink); background: var(--soft); }
.subnav a.on { color: var(--accent); background: #eef5fb; font-weight: 600; }
.subnav .sub-pills { margin: 0; flex-wrap: nowrap; }
.subnav .sub-pills button { height: 34px; }
.shots [id], .sec-h[id] { scroll-margin-top: 130px; }
@media (max-width: 760px) { .subnav .wrap { justify-content: flex-start; } }

/* VMS 페이지 영상 — 카메라 사진 없이 노트북 화면만 */
.vms-hero { padding: 0 0 56px; }
.vms-hero .pills { margin-top: 0; }
.stage.solo { height: auto; margin-top: 36px; padding-bottom: 0; }
.stage.solo .laptop { position: relative; left: auto; transform: none; margin: 0 auto; width: min(960px, 100%); }
.stage.solo .laptop .base { margin: 0 -28px; }
@media (max-width: 1020px) { .stage.solo .laptop .base { margin: 0 -8px; } }

/* 캡처 크게 보기 — 누르면 화면 가득 */
.shot figure img { cursor: zoom-in; }
.zoomdlg { max-width: 96vw; max-height: 94vh; padding: 0; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgba(10, 16, 24, .35); }
.zoomdlg::backdrop { background: rgba(10, 14, 20, .7); }
.zoomdlg img { display: block; max-width: 96vw; max-height: 94vh; width: auto; height: auto; cursor: zoom-out; }

/* AI 분석 영상 — 맥북 화면 (히어로와 같은 틀) */
.ai-pc { max-width: 860px; margin-top: 48px; }
/* 실제 화면 크기 그대로 (알림창 — 380px 폭 팝업) */
.shot figure.native { justify-self: center; width: 100%; max-width: 266px; }

/* 언어 버튼 */
.langs { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.langs button { border: 0; background: #fff; color: var(--ink-3); font: inherit; font-size: 12px; font-weight: 600; padding: 6px 9px; cursor: pointer; }
.langs button + button { border-left: 1px solid var(--line); }
.langs button:hover { color: var(--ink); }
.langs button[aria-pressed="true"] { background: #eef5fb; color: var(--accent); }
footer .co { color: var(--ink); font-weight: 600; margin-bottom: 4px; }

/* AI IP 카메라 영상 · 기능 4칸 */
.cam-feats { list-style: none; margin: 32px auto 0; padding: 0; max-width: 960px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cam-feats li { background: var(--soft); border-radius: var(--radius); padding: 18px 20px; }
.cam-feats b { display: block; font-size: 15px; }
.cam-feats span { color: var(--ink-2); font-size: 13px; }
section.page-tail { padding-top: 0; padding-bottom: 112px; }
section.page-first:has(+ .page-tail) { padding-bottom: 80px; }
@media (max-width: 760px) { .cam-feats { grid-template-columns: 1fr 1fr; } }
section.page-top { padding-top: 64px; }
.cam-shots .shot:first-child { margin-top: 128px; }
/* 캡처 70% 크기 (구성도 · 제외 영역) */
.shot figure.s70 { justify-self: center; width: 70%; }
/* 카메라 영상과 첫 캡처 사이 */
.cam-ai .pc + .shots .shot:first-child, .cam-ai .ai-pc + .cam-shots .shot:first-child { margin-top: 128px; }

/* 문의 페이지 */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; background: var(--soft); border-radius: var(--radius); padding: 28px; }
a.contact-card:hover { box-shadow: 0 14px 30px rgba(15, 22, 33, .08); }
.contact-card .kicker, .contact-addr .kicker { font-size: 13px; font-weight: 600; color: var(--accent); }
.contact-card b { font-size: 22px; letter-spacing: -0.01em; }
.contact-card .more { font-size: 14px; font-weight: 600; color: var(--accent); margin-top: 6px; }
.contact-addr { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-addr h3 { margin: 6px 0 4px; font-size: 20px; }
.contact-addr p { margin: 0 0 18px; color: var(--ink-2); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* 회사 소개 */
.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 16px; }
.about-intro h2 { margin: 6px 0 16px; font-size: 30px; letter-spacing: -0.01em; text-align: left; }
.about-intro p { color: var(--ink-2); font-size: 16px; margin: 0 0 12px; }
.about-intro .kicker { font-size: 13px; font-weight: 600; color: var(--accent); }
.about-lineup { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-lineup > div { height: 180px; padding: 18px; background: var(--soft); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.about-lineup img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
a.cards4-link, .cards4 > a { display: block; background: var(--soft); border-radius: var(--radius); padding: 24px; transition: box-shadow .2s; }
.cards4 > a:hover { box-shadow: 0 14px 30px rgba(15, 22, 33, .08); }
.about-loc { margin-top: 72px; }
@media (max-width: 760px) { .about-intro { grid-template-columns: 1fr; } }
.map-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.about-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.about-facts > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.about-facts b { display: block; font-size: 28px; letter-spacing: -0.02em; color: var(--accent); }
.about-facts span { color: var(--ink-2); font-size: 14px; }
.history { list-style: none; margin: 28px auto 0; padding: 0; max-width: 760px; border-left: 2px solid var(--line); }
.history li { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 10px 0 10px 24px; }
.history li::before { content: ""; position: absolute; left: -7px; top: 17px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.history time { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.history span { color: var(--ink-2); }
.about-photo { margin: 24px 0 0; border-radius: var(--radius); overflow: hidden; }
.about-photo img { width: 100%; }
.about-quality { width: 100%; margin-top: 16px; border-collapse: collapse; background: var(--soft); border-radius: var(--radius); overflow: hidden; font-size: 14px; }
.about-quality th, .about-quality td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.about-quality tr:last-child th, .about-quality tr:last-child td { border-bottom: 0; }
.about-quality th { width: 28%; font-weight: 600; }
.about-quality td { color: var(--ink-2); }
@media (max-width: 1020px) { .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .history li { grid-template-columns: 72px minmax(0, 1fr); } .about-quality th { width: 40%; } }
.ai-pc + .stage-caption { text-align: center; }
/* AI IP 카메라 제목 — VMS 페이지 제목과 같은 크기 */
.cam-ai h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.1; letter-spacing: -0.025em; }
.cam-ai > .wrap > .sub { font-size: 18px; margin-top: 14px; }

/* 이미지 · 영상은 선택(파란 칠) · 끌기 안 되게 */
img, video, figure, .pc, .laptop, .about-lineup, .pimg { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
img::selection, video::selection { background: transparent; }
img { -webkit-tap-highlight-color: transparent; }
/* 메인의 AI IP 카메라 제목은 섹션 제목 크기로 (제품 페이지는 큰 제목 유지) */
.cam-ai:not(.page-top) h2 { font-size: clamp(26px, 3vw, 38px); }
.cam-ai:not(.page-top) > .wrap > .sub { font-size: 16px; margin-top: 10px; }
.products { align-content: start; }

/* 웹 설정 매뉴얼 (manual.html) — 지원 페이지 틀 + 왼쪽 검색 · 목차 */
.man-back { display: inline-block; font-size: 14px; color: var(--accent); margin-bottom: 8px; }
.man-back::before { content: "‹ "; }
.man-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding-top: 32px; padding-bottom: 96px; align-items: start; }
.man-side { position: sticky; top: 72px; max-height: calc(100vh - 88px); overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.man-search { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 8px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; height: 42px; margin-bottom: 16px; box-shadow: 0 -16px 0 var(--bg); }
.man-search:focus-within { border-color: var(--accent); background: #fff; }
.man-search svg { width: 17px; height: 17px; color: var(--ink-3); flex: none; }
.man-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--ink); }
.man-group { margin-bottom: 18px; }
.man-group b { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 0 12px 6px; letter-spacing: .02em; }
.man-group a { display: block; padding: 6px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.man-group a:hover { background: var(--soft); color: var(--ink); }
.man-group a.on { background: #eef5fb; color: var(--accent); font-weight: 600; }
.man-count { font-size: 12px; color: var(--ink-3); padding: 0 4px 8px; }
.man-hits button { display: block; width: 100%; text-align: left; border: 0; background: none; font: inherit; font-size: 13px; line-height: 1.5; color: var(--ink-2); padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.man-hits button span { display: block; font-size: 12px; font-weight: 600; color: var(--accent); margin-bottom: 2px; }
.man-hits button:hover, .man-hits button.on { background: var(--soft); }
.man-hits mark, .man-body mark.hit { background: #fff1a8; color: inherit; border-radius: 3px; padding: 0 1px; }
.man-body { min-width: 0; color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.man-doc { display: none; }
.man-page { scroll-margin-top: 80px; padding-bottom: 56px; }
.man-page + .man-page { border-top: 1px solid var(--line); padding-top: 48px; }
.man-page > h2 { margin: 0 0 20px; font-size: 28px; letter-spacing: -0.02em; color: var(--ink); }
.man-page figure { margin: 0 0 28px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--soft); }
.man-page figure img { width: 100%; height: auto; cursor: zoom-in; }
.man-body .md h2 { margin: 36px 0 10px; font-size: 20px; color: var(--ink); letter-spacing: -0.01em; }
.man-body .md h3 { margin: 24px 0 6px; font-size: 16px; color: var(--ink); }
.man-body .md p { margin: 0 0 12px; }
.man-body .md ul, .man-body .md ol { margin: 0 0 12px; padding-left: 22px; }
.man-body .md li { margin-bottom: 4px; }
.man-body .md strong { color: var(--ink); font-weight: 600; }
.man-body .md code { font-family: Consolas, monospace; font-size: 13px; background: var(--soft); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; }
.man-body .table-wrap { overflow-x: auto; margin: 4px 0 16px; border: 1px solid var(--line); border-radius: 12px; }
.man-body table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.man-body th { text-align: left; font-weight: 600; font-size: 13px; color: var(--ink); background: var(--soft); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.man-body td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.man-body tr:last-child td { border-bottom: 0; }
.man-body .ui-btn { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; line-height: 1.6; color: #fff; background: var(--accent); border-radius: 6px; padding: 1px 9px; white-space: nowrap; vertical-align: 1px; }
.man-body .ui-btn-outline { background: #fff; color: var(--accent); border: 1px solid var(--accent); }
.man-body .ui-btn-tool { background: #fff; color: var(--ink-2); border: 1px solid var(--line); font-weight: 500; }
.man-body .ui-btn-danger { background: #dc2626; color: #fff; }
.man-body .ui-btn-icon { width: 12px; height: 12px; flex: none; }
.man-body .flash { animation: manFlash 2.4s ease-out; border-radius: 6px; }
@keyframes manFlash { 0%, 40% { background: #eaf4fc; box-shadow: 0 0 0 6px #eaf4fc; } 100% { background: transparent; box-shadow: 0 0 0 6px transparent; } }
@media (max-width: 900px) {
  .man-layout { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; }
  .man-side { position: sticky; top: 56px; z-index: 5; background: var(--bg); max-height: none; overflow: visible; padding: 10px 0 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; border-bottom: 1px solid var(--line); }
  .man-search { margin-bottom: 6px; box-shadow: none; }
  .man-toc { display: none; }
  .man-hits:not([hidden]) { max-height: 55vh; overflow-y: auto; }
  .man-page > h2 { font-size: 23px; }
}

/* 좁은 화면 상단 — 일본어 '문의'(お問い合わせ)도 한 줄로 */
@media (max-width: 760px) {
  .nav .right { gap: 10px; }
  .nav .right .btn { padding: 0 12px; font-size: 13px; }
}
@media (max-width: 380px) {
  .nav .wrap { gap: 12px; }
  .langs button { padding: 6px 7px; }
}

/* 지원 왼쪽 — '다운로드' 소제목 + 아래 매뉴얼 단추 */
.sup-cap { font-size: 16px; font-weight: 700; color: var(--ink); padding: 0 12px 8px; }
.sup-cap2 { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .sup-cap { display: none; }
  .sup-side { flex-wrap: wrap; }
}

/* 지원 페이지 안 웹 설정 매뉴얼 — 오른쪽 위 띠(대제목 콤보 + 검색), 아래 본문 */
.sup-right { min-width: 0; }
.man-bar { position: sticky; top: 56px; z-index: 20; display: flex; gap: 10px; align-items: center; background: var(--bg); padding: 12px 0; margin: -12px 0 20px; border-bottom: 1px solid var(--line); }
.man-bar select { height: 42px; min-width: 180px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b717a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }
.man-bar select:focus { outline: 0; border-color: var(--accent); }
.man-find { position: relative; flex: 1; min-width: 0; }
.man-bar .man-search { margin: 0; box-shadow: none; position: static; }
.man-bar .man-hits { position: absolute; top: calc(100% + 6px); left: 0; right: 0; max-height: min(60vh, 520px); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(10, 16, 24, .14); padding: 8px; }
.support .man-page { scroll-margin-top: 140px; }
.support .man-page[hidden] { display: none; }
@media (max-width: 760px) {
  .support .sup-layout { grid-template-columns: 1fr; }
  .man-bar { flex-wrap: wrap; gap: 8px; padding: 10px 0; }
  .man-bar select { flex: 1 0 100%; }
  .man-find { flex: 1 0 100%; }
  .support .man-page { scroll-margin-top: 200px; }
}
.man-bar[hidden] { display: none; }
main > section.block:last-child { padding-bottom: 112px; }
.dl-card + .dl-card { margin-top: 16px; }
