/* Vertical 소개 사이트 — 3차: 제품 페이지식 절제된 톤(흰·옅은 회색·검정 교차, 강조색 하나) */

:root {
  --white: #FFFFFF;
  --gray: #F5F5F7;
  --gray-2: #E8E8ED;
  --black: #0B0B0C;          /* 순검정 대신 거의 검정(설계 문서 DESIGN.md 기준) */
  --ink: #1D1D1F;
  --ink-2: #6E6E73;
  --ink-3: #86868B;
  --line: #D2D2D7;
  --on-dark: #F5F5F7;
  --on-dark-2: #A1A1A6;
  --accent: #0A7BA6;          /* 강조색 하나: 앱의 중력 수직선(시안) 계열, 흰 바탕용 */
  --accent-hover: #086A90;
  --accent-dark: #3FCFEB;     /* 같은 색을 검정 바탕에서 */
  --danger: #D70015;
  /* 판정색 — 화면 예시 안에서만 */
  --j-green: #34D399;
  --j-yellow: #FBBF24;
  --j-orange: #FB923C;
  --j-red: #F87171;
  --nav-h: 52px;
  --wrap: 980px;
  --wide: 1200px;
  --gutter: 22px;
  --radius-card: 28px;
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.53;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nw { white-space: nowrap; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 980px; background: var(--ink); color: #fff; }
.skip:focus { top: 10px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-left)) 0 max(var(--gutter), env(safe-area-inset-right)); }
.wrap-wide { max-width: calc(var(--wide) + 2 * var(--gutter)); }

/* ---------- 바탕 ---------- */
.bg-white { background: var(--white); color: var(--ink); }
.bg-gray { background: var(--gray); color: var(--ink); }
.bg-black { background: var(--black); color: var(--on-dark); }
.bg-black a.link { color: var(--accent-dark); }

/* ---------- 글자 위계 ---------- */
.eyebrow { display: block; margin-bottom: 10px; font-size: 21px; font-weight: 600; letter-spacing: 0; }
.bg-black .eyebrow { color: var(--on-dark); }
.headline { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.05; letter-spacing: -0.015em; font-weight: 700; }
.headline-md { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.07; letter-spacing: -0.01em; font-weight: 700; }
.headline-sm { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -0.005em; font-weight: 700; }
.lede { margin-top: 20px; font-size: clamp(19px, 1.8vw, 21px); line-height: 1.42; color: var(--ink-2); max-width: 720px; }
.lede strong, .lede b { color: var(--ink); font-weight: 600; }
.bg-black .lede { color: var(--on-dark-2); }
.bg-black .lede strong { color: var(--on-dark); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.fine { margin-top: 18px; color: var(--ink-3); font-size: 14px; line-height: 1.5; }
.bg-black .fine { color: var(--on-dark-2); }
sup.fn { font-size: 0.55em; vertical-align: super; margin-left: 2px; color: inherit; }
sup.fn a { color: inherit; }

/* ---------- 버튼·링크 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 11px 22px;
  border: 0; border-radius: 980px;
  font-size: 17px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em;
  cursor: pointer; text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.bg-black .btn-primary { background: var(--accent-dark); color: #00222C; }
.bg-black .btn-primary:hover { background: #7ADDF1; }
.btn-ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-sm { position: relative; min-height: 30px; padding: 6px 14px; font-size: 13px; font-weight: 500; }
.btn-sm::after { content: ""; position: absolute; inset: -7px -4px; }   /* 누르는 범위 44px 이상 */
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { display: inline-flex; align-items: center; gap: 2px; font-size: 17px; }
.link::after { content: "›"; margin-left: 4px; font-size: 1.15em; line-height: 1; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; }
.center .cta-row { justify-content: center; }

/* ---------- 제품 하위 바(고정) ---------- */
.localnav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  transition: background-color .3s var(--ease);
}
.localnav.on-dark { background: rgba(22, 22, 23, 0.72); border-bottom-color: rgba(255, 255, 255, 0.12); }
.localnav-inner { display: flex; align-items: center; height: 100%; gap: 12px; }
.localnav-title { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; color: var(--ink); font-size: 21px; font-weight: 600; letter-spacing: 0; }
.localnav-title:hover { text-decoration: none; }
.localnav-title img { border-radius: 6px; }
.localnav.on-dark .localnav-title { color: var(--on-dark); }
.localnav-menu { display: flex; align-items: center; gap: 22px; list-style: none; }
.localnav-menu a { display: inline-block; padding: 14px 0; color: var(--ink); font-size: 13px; opacity: .88; }
.localnav-menu a:hover { color: var(--accent); text-decoration: none; opacity: 1; }
.localnav-menu a[aria-current="page"] { color: var(--ink-3); pointer-events: none; }
.localnav.on-dark .localnav-menu a { color: var(--on-dark); }
.localnav.on-dark .localnav-menu a[aria-current="page"] { color: var(--on-dark-2); }
.localnav .btn-sm { margin-left: 4px; }
.localnav-toggle {
  display: none; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; background: transparent; color: var(--ink); cursor: pointer;
}
.localnav.on-dark .localnav-toggle { color: var(--on-dark); }
.localnav-toggle .ic { transition: transform .3s var(--ease); }
.localnav-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
@media (max-width: 734px) {
  .localnav-title { font-size: 19px; }
  .localnav-toggle { display: inline-grid; }
  .localnav-menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px var(--gutter) 18px;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .localnav.on-dark .localnav-menu { background: rgba(22, 22, 23, 0.96); }
  .localnav-menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .localnav-menu a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
  .localnav.on-dark .localnav-menu a { border-bottom-color: rgba(255, 255, 255, 0.1); }
}

/* ---------- 구획 ---------- */
.section { padding: 120px 0; }
.section-tight { padding: 88px 0; }
.section-head { margin-bottom: 56px; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 40px; }
@media (max-width: 734px) {
  .section { padding: 72px 0; }
  .section-tight { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
}

/* ---------- 등장 애니메이션 ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }
html.no-js .reveal, html.rm .reveal { opacity: 1; transform: none; transition: none; }

/* ---------- 기기 틀 ---------- */
.device {
  position: relative;
  width: min(100%, 340px);
  margin: 0 auto;
  padding: 10px;
  border-radius: 46px;
  background: #1D1D1F;
  box-shadow: 0 0 0 1px #3A3A3C inset, 0 2px 2px rgba(0, 0, 0, 0.2), 0 30px 60px -20px rgba(0, 0, 0, 0.35);
}
.screen { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 37px; background: #1A222B; }
.screen > img, .screen > video, .screen > .layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen-note { margin-top: 18px; color: var(--ink-3); font-size: 14px; text-align: center; }
.bg-black .screen-note { color: var(--on-dark-2); }

/* ---------- 홈: 첫 화면 ---------- */
.hero { position: relative; padding: 72px 0 0; overflow: hidden; text-align: center; }
.hero .eyebrow { font-size: 24px; }
.hero .lede { margin-top: 18px; }
.hero-device { margin-top: 56px; padding-bottom: 72px; }
.hero-device .device { width: min(78vw, 360px); }
.hero-device .device { transform: translateY(calc(var(--hero-p, 0) * -40px)); }
@media (max-width: 734px) { .hero { padding-top: 48px; } .hero-device { margin-top: 40px; padding-bottom: 56px; } }

/* ---------- 홈: 하이라이트 가로 갤러리 ---------- */
.gallery { position: relative; }
.gallery-track {
  display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--wide)) / 2));
  padding: 4px max(var(--gutter), calc((100vw - var(--wide)) / 2)) 24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-card {
  position: relative; flex: none;
  width: min(86vw, 880px);
  height: min(720px, 150vw);
  scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center;
  padding: 44px 32px 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--white);
  text-align: center;
}
.gallery-card.is-dark { background: var(--black); color: var(--on-dark); }
.gallery-card h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.18; font-weight: 600; letter-spacing: 0; }
.gallery-card p { margin-top: 8px; color: var(--ink-2); font-size: 17px; }
.gallery-card.is-dark p { color: var(--on-dark-2); }
.gallery-card .device { margin-top: auto; width: min(64%, 300px); transform: translateY(18%); }
.gallery-card .card-art { margin-top: auto; margin-bottom: 40px; width: min(92%, 560px); }
.gallery-ui { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.dots { display: flex; gap: 0; padding: 0 10px; border-radius: 980px; background: rgba(0, 0, 0, 0.06); list-style: none; }
/* 점은 8px 로 보이지만 누르는 범위는 44px — 길어지는 표시는 transform 으로만 */
.dots button { position: relative; display: grid; place-items: center; width: 28px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.dots button::before { content: ""; width: 8px; height: 8px; border-radius: 980px; background: var(--ink-3); opacity: .5; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.dots li:has(button[aria-current="true"]) { padding: 0 14px; }
.dots button[aria-current="true"]::before { opacity: 1; background: var(--ink); transform: scaleX(4); }
.round-btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.06); color: var(--ink); cursor: pointer;
  transition: background-color .2s var(--ease), opacity .2s;
}
.round-btn:hover { background: rgba(0, 0, 0, 0.1); }
.round-btn[disabled] { opacity: .35; cursor: default; }
.bg-black .round-btn { background: rgba(255, 255, 255, 0.14); color: var(--on-dark); }
.bg-black .dots { background: rgba(255, 255, 255, 0.12); }
.bg-black .dots button::before { background: var(--on-dark); }
@media (max-width: 734px) {
  .gallery-card { padding: 32px 22px 0; height: 128vw; max-height: 620px; }
  .gallery-card .device { width: min(70%, 260px); }
}

/* ---------- 홈: 화면 보는 법(고정 + 스크롤 진행) ---------- */
.story { position: relative; height: 320vh; }
.story-sticky {
  position: sticky; top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  height: calc(100svh - var(--nav-h));
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: 48px;
  max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
}
.story-steps { list-style: none; display: grid; gap: 30px; margin-top: 36px; }
.story-step { color: var(--ink-3); transition: color .45s var(--ease); cursor: pointer; }
.story-step h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; font-weight: 700; letter-spacing: -0.005em; }
.story-step p { margin-top: 8px; font-size: 19px; line-height: 1.42; }
.story-step .num { display: inline-block; margin-right: 10px; font-variant-numeric: tabular-nums; }
.story-step.is-active { color: var(--ink); }
.story-step.is-active p { color: var(--ink-2); }
.story-device { position: relative; }
.story-device .device { width: min(100%, 330px, calc((100svh - var(--nav-h) - 140px) * 0.5625 + 20px)); }
.story-device .screen > .layer { opacity: 0; transition: opacity .6s var(--ease); }
.story-device .screen > .layer.is-active { opacity: 1; }
.story-progress { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.story-progress span { width: 36px; height: 4px; border-radius: 4px; background: var(--gray-2); overflow: hidden; position: relative; }
.story-progress span i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--seg, 0)); }
.levels { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.level { padding: 4px 10px; border-radius: 980px; font-size: 13px; font-weight: 600; color: #111; font-variant-numeric: tabular-nums; }
.l-green { background: var(--j-green); } .l-yellow { background: var(--j-yellow); } .l-orange { background: var(--j-orange); } .l-red { background: var(--j-red); }
.levels-caption { margin-top: 10px; color: var(--ink-3); font-size: 13px; text-align: center; }
@media (max-width: 834px) {
  .story { height: 340vh; }
  .story-sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 14px; padding-top: 18px; }
  .story-intro .headline-sm { font-size: 26px; }
  .story-intro .eyebrow { font-size: 17px; margin-bottom: 4px; }
  .story-device { order: 2; }
  .story-device .device { width: min(56vw, calc((100svh - var(--nav-h) - 300px) * 0.5625 + 20px), 260px); padding: 7px; border-radius: 34px; }
  .story-device .screen { border-radius: 28px; }
  .story-steps { position: relative; margin-top: 12px; min-height: 104px; }
  .story-step { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none; }
  .story-step.is-active { opacity: 1; transform: none; pointer-events: auto; }
  .story-step h3 { font-size: 22px; }
  .story-step p { font-size: 16px; }
  .story-progress { margin-top: 12px; }
  .levels { margin-top: 8px; }
}
/* 움직임 줄이기 · 스크립트 없음: 고정 없이 세 단계를 차례로 */
html.rm .story, html.no-js .story { height: auto; }
html.rm .story-sticky, html.no-js .story-sticky { position: static; height: auto; display: block; padding-top: 0; }
html.rm .story-device, html.no-js .story-device { display: none; }
html.rm .story-step, html.no-js .story-step { position: static; opacity: 1; transform: none; color: var(--ink); pointer-events: auto; }
html.rm .story-steps, html.no-js .story-steps { min-height: 0; gap: 48px; }
.story-step-media { display: none; }
html.rm .story-step-media, html.no-js .story-step-media { display: block; margin-top: 20px; }
html.rm .story-step-media .device, html.no-js .story-step-media .device { width: min(70vw, 280px); margin: 0; }

/* ---------- 홈: 현장 영상(다가오는 화면) ---------- */
.film-stage { margin-top: 64px; display: flex; justify-content: center; }
.film-stage .device {
  width: min(84vw, 420px);
  transform: scale(calc(0.78 + 0.22 * var(--grow, 1)));
  transform-origin: 50% 30%;
  will-change: transform;
}
.video-ctl { position: absolute; right: 22px; bottom: 22px; z-index: 2; }
.video-ctl .ic-play { display: none; }
.video-ctl[aria-pressed="true"] .ic-play { display: block; }
.video-ctl[aria-pressed="true"] .ic-pause { display: none; }

/* ---------- 홈: 왜 필요한가(큰 문장) ---------- */
.statements { display: grid; gap: 28px; max-width: 900px; }
.statement { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-3); }
.statement b { color: var(--ink); font-weight: 700; }
.statement.answer { color: var(--ink); }
.statement.answer em { font-style: normal; color: var(--accent); }

/* ---------- 홈·기능: 타일 묶음 ---------- */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  grid-column: span 2;
  display: flex; flex-direction: column;
  min-height: 360px; padding: 34px 30px;
  border-radius: var(--radius-card);
  background: var(--white);
  overflow: hidden;
}
.tile.span-3 { grid-column: span 3; }
.tile.span-4 { grid-column: span 4; }
.tile.span-6 { grid-column: span 6; }
.tile.is-dark { background: var(--black); color: var(--on-dark); }
.tile .tile-k { font-size: 17px; font-weight: 600; color: var(--ink-2); }
.tile.is-dark .tile-k { color: var(--on-dark-2); }
.tile h3 { margin-top: 8px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.14; font-weight: 700; letter-spacing: -0.005em; }
.tile p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.tile.is-dark p { color: var(--on-dark-2); }
.tile .tile-art { margin-top: auto; padding-top: 24px; }
.tile .big-ic { width: 56px; height: 56px; color: var(--accent); stroke-width: 1.5; }
.tile.is-dark .big-ic { color: var(--accent-dark); }
.tile .tile-device { margin-top: auto; padding-top: 24px; }
.tile .tile-device .device { width: min(60%, 220px); transform: translateY(30%); margin-bottom: -60px; }
@media (max-width: 1068px) { .tiles { grid-template-columns: repeat(2, 1fr); } .tile, .tile.span-3, .tile.span-4 { grid-column: span 1; } .tile.span-6, .tile.wide-md { grid-column: span 2; } }
@media (max-width: 734px) { .tiles { grid-template-columns: 1fr; gap: 14px; } .tile, .tile.span-3, .tile.span-4, .tile.span-6, .tile.wide-md { grid-column: span 1; } .tile { min-height: 0; padding: 30px 24px; } }

/* ---------- 홈: 숫자 띠 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; list-style: none; }
.stat .ic { width: 40px; height: 40px; color: var(--ink); stroke-width: 1.5; margin-bottom: 14px; }
.stat .stat-v { display: block; font-size: clamp(40px, 4.4vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.stat .stat-v small { font-size: 0.5em; font-weight: 600; margin-left: 2px; letter-spacing: 0; }
.stat p { margin-top: 8px; color: var(--ink-2); font-size: 17px; line-height: 1.4; }
.stat .tag { display: inline-block; margin-bottom: 8px; padding: 2px 8px; border-radius: 980px; font-size: 12px; font-weight: 600; background: var(--gray); color: var(--ink-2); }
@media (max-width: 1068px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 홈: 비교 ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.compare-col { padding: 40px 32px; border-radius: var(--radius-card); background: var(--white); text-align: center; }
.compare-col .cams { display: flex; justify-content: center; gap: 10px; height: 92px; align-items: flex-end; }
.compare-col .cams svg { width: 44px; height: 80px; }
.compare-col h3 { margin-top: 22px; font-size: 28px; font-weight: 700; }
.compare-col .sub { margin-top: 6px; color: var(--ink-2); }
.compare-col ul { margin-top: 26px; list-style: none; display: grid; gap: 0; text-align: center; }
.compare-col li { padding: 16px 0; border-top: 1px solid var(--gray-2); font-size: 17px; }
.compare-col li strong { display: block; font-size: 19px; font-weight: 600; }
.compare-col li span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 734px) { .compare { grid-template-columns: 1fr; } }

/* ---------- 홈: 설치 ---------- */
.kit { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; list-style: none; text-align: center; counter-reset: kit; }
.kit li { position: relative; }
.kit li:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: calc(50% + 44px); right: calc(-50% + 44px); border-top: 2px dashed var(--accent); opacity: .55; }
.kit .ic { width: 56px; height: 56px; margin: 0 auto 18px; color: var(--ink); stroke-width: 1.4; }
.kit h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.005em; }
.kit p { margin-top: 8px; color: var(--ink-2); font-size: 17px; max-width: 280px; margin-left: auto; margin-right: auto; }
.kit .qty { color: var(--accent); }
@media (max-width: 734px) { .kit { grid-template-columns: 1fr; } .kit li:not(:last-child)::after { top: auto; bottom: -34px; left: 50%; right: auto; height: 22px; border-top: 0; border-left: 2px dashed var(--accent); } }
.note-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 56px; padding: 12px 22px; border-radius: 980px; background: var(--gray); font-size: 17px; font-weight: 600; }
.note-pill .ic { color: var(--accent); width: 20px; height: 20px; }

/* ---------- 마지막 CTA ---------- */
.final { text-align: center; }
.final .headline-md { max-width: 820px; margin: 0 auto; }

/* ---------- 하위 페이지 머리 ---------- */
.page-hero { padding: 96px 0 72px; text-align: center; }
.page-hero .lede { margin-left: auto; margin-right: auto; }
@media (max-width: 734px) { .page-hero { padding: 64px 0 48px; } }

/* 기능 페이지: 기능 행 */
.feature-rows { display: grid; gap: 20px; }
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 56px; border-radius: var(--radius-card); background: var(--white); }
.feature-row .device { width: min(100%, 280px); }
.feature-row ul { margin-top: 24px; list-style: none; display: grid; gap: 18px; }
.feature-row li h3 { font-size: 19px; font-weight: 600; }
.feature-row li p { margin-top: 2px; color: var(--ink-2); }
.feature-row.no-media { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
.feature-row.no-media ul { margin-top: 0; }
@media (max-width: 834px) { .feature-row, .feature-row.no-media { grid-template-columns: 1fr; padding: 36px 24px; gap: 28px; } }

.gear { display: grid; border-top: 1px solid var(--line); }
.gear-col { display: grid; grid-template-columns: 56px minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 8px 24px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.gear-col .ic { width: 36px; height: 36px; color: var(--accent); stroke-width: 1.5; }
.gear-col h3 { font-size: 24px; font-weight: 700; }
.gear-col ul { list-style: none; display: grid; gap: 6px; color: var(--ink-2); font-size: 17px; }
@media (max-width: 734px) { .gear-col { grid-template-columns: 44px minmax(0, 1fr); } .gear-col ul { grid-column: 2; } }

/* 자주 묻는 질문 */
.faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -0.005em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 30px; font-weight: 300; line-height: 1; color: var(--ink-2); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 28px 0; color: var(--ink-2); font-size: 17px; }

/* 사례 */
.scene-card .device { width: min(64%, 300px); transform: translateY(14%); }

/* ---------- 문의 ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: 28px; align-items: start; }
@media (max-width: 1068px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 22px; padding: 40px; border-radius: var(--radius-card); background: var(--white); }
@media (max-width: 734px) { .form { padding: 28px 20px; } }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 734px) { .field-row { grid-template-columns: 1fr; } }
.field label, .field legend { font-size: 15px; font-weight: 600; color: var(--ink); }
.req { color: var(--danger); margin-left: 3px; }
.opt { color: var(--ink-3); font-weight: 400; font-size: 14px; margin-left: 6px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--ink);
  font: inherit; font-size: 17px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(10, 123, 166, 0.18); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 14px; }
.field-error:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--line); border-radius: 980px; font-size: 16px; color: var(--ink); }
.choice input:checked + span { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); font-weight: 600; }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 14px; background: var(--gray); }
.consent input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.consent label { font-size: 16px; font-weight: 600; }
.consent-detail { margin-top: 6px; color: var(--ink-2); font-size: 13px; line-height: 1.55; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ts-box { min-height: 65px; }
.form-status { padding: 14px 18px; border-radius: 14px; font-size: 16px; }
.form-status:empty { display: none; }
.form-status[hidden] { display: none; }
.form-status.is-ok { background: #E8F7EF; color: var(--ink); }
.form-status.is-error { background: #FDECEE; color: var(--ink); }
.form-status.is-warn { background: #FFF6E0; color: var(--ink); font-weight: 600; }
.form-status a { overflow-wrap: anywhere; word-break: break-all; }
.done { padding: 56px 32px; border-radius: var(--radius-card); background: var(--white); text-align: center; }
.done .ic { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--accent); }
.done h2 { font-size: 32px; font-weight: 700; }
.done p { margin-top: 8px; color: var(--ink-2); font-size: 19px; }
.aside-card { padding: 32px 28px; border-radius: var(--radius-card); background: var(--white); }
.aside-card + .aside-card { margin-top: 20px; }
.aside-card h2 { font-size: 21px; font-weight: 700; }
.aside-card p { margin-top: 6px; color: var(--ink-2); }
.mail-link { display: inline-block; margin-top: 10px; font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }
.steps-mini { margin-top: 14px; list-style: none; display: grid; gap: 10px; counter-reset: s; }
.steps-mini li { position: relative; padding-left: 34px; color: var(--ink-2); }
.steps-mini li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--gray); color: var(--ink); font-size: 13px; font-weight: 600; display: grid; place-items: center; }

/* ---------- 개인정보 처리방침 ---------- */
.doc { max-width: 760px; margin: 0 auto; }
.doc h2 { margin-top: 48px; font-size: 24px; font-weight: 700; }
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { color: var(--ink-2); font-size: 17px; }
.doc h2 + p, .doc ul + p, .doc .table-wrap + p, .doc p + p { margin-top: 12px; }
.doc ul { margin-top: 12px; padding-left: 22px; display: grid; gap: 6px; }
.doc table { width: 100%; min-width: 520px; margin-top: 14px; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--ink-2); }
.doc th { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink-3); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 12px; }
.draft-banner { margin-bottom: 40px; padding: 16px 20px; border-radius: 14px; background: #FFF6E0; font-weight: 600; }

/* ---------- 푸터 ---------- */
.site-footer { padding: 32px 0 40px; background: var(--gray); color: var(--ink-2); font-size: 12px; line-height: 1.5; }
.footnotes { list-style: none; display: grid; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; padding: 16px 0; border-bottom: 1px solid var(--line); }
.footer-links a { display: inline-block; padding: 6px 0; color: var(--ink); }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 14px; }
.footer-meta a { overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* 보정 */
.screen > .layer > img { width: 100%; height: 100%; object-fit: cover; }
.hero .cta-row { justify-content: center; }
.gallery-card { height: min(640px, 150vw); }
.gallery-card .device { width: min(70%, 330px); transform: translateY(14%); }
.final .cta-row { justify-content: center; }
.final .lede { margin-left: auto; margin-right: auto; }
.stat .tag { margin: 0 6px 0 0; vertical-align: 1px; }
/* 첫 구획이 검정이면 하위 바 아래까지 끌어올려 바가 검정 위에 뜨게 */
main > section.bg-black:first-child { margin-top: calc(-1 * var(--nav-h)); padding-top: calc(120px + var(--nav-h)); }
main > section.hero.bg-black:first-child { padding-top: calc(72px + var(--nav-h)); }
@media (max-width: 734px) {
  main > section.bg-black:first-child { padding-top: calc(72px + var(--nav-h)); }
  main > section.hero.bg-black:first-child { padding-top: calc(48px + var(--nav-h)); }
}
/* 실제 장면: picture 로 감싼 이미지 */
.screen > picture, .screen > .layer > picture { position: absolute; inset: 0; display: block; }
.screen > picture > img, .screen > .layer > picture > img { width: 100%; height: 100%; object-fit: cover; }
.video-ctl { top: 22px; bottom: auto; }

/* 카메라 1대로 옆 수직 확인 */
.side-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.side-figure { padding: 32px; border-radius: var(--radius-card); background: var(--white); }
.side-art { width: 100%; height: auto; font-family: var(--font); }
.side-text .lede + .lede { margin-top: 16px; }
@media (max-width: 834px) { .side-grid { grid-template-columns: 1fr; gap: 32px; } .side-figure { padding: 18px 10px; } .side-text { order: -1; } }

/* ---------- 한 페이지(4a) ---------- */
/* 왜 옆을 봐야 하나 */
.why-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; }
.why-points { list-style: none; display: grid; gap: 22px; margin-top: 36px; }
.why-points li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.why-points .num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gray); color: var(--ink); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.why-points p { font-size: clamp(19px, 1.8vw, 21px); line-height: 1.45; color: var(--ink-2); }
.why-points b { color: var(--ink); font-weight: 600; }
.why-points .note { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 980px; background: var(--gray); color: var(--ink-3); font-size: 13px; vertical-align: 2px; }
.why-media { margin: 0; }
.why-media .device { width: min(78vw, 360px); }
@media (max-width: 834px) { .why-grid { grid-template-columns: 1fr; gap: 40px; } }

/* 설치: 세로 흐름 */
.kit-v { list-style: none; display: grid; gap: 0; margin-top: 32px; }
.kit-v li { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 18px 0; }
.kit-v li:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 66px; bottom: -14px; border-left: 2px dashed var(--accent); opacity: .55; }
.kit-v .ic { width: 52px; height: 52px; padding: 11px; border-radius: 14px; background: var(--gray); color: var(--ink); stroke-width: 1.5; }
.kit-v h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.005em; }
.kit-v .qty { color: var(--accent); }
.kit-v p { margin-top: 4px; color: var(--ink-2); font-size: 17px; }
.side-text .fine { margin-top: 20px; }

/* 기능 묶음 아래 숫자 */
.stats-compact { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.tile .levels { margin-top: 0; }

/* 데모 요청 */
#contact .section-head { max-width: 760px; margin-left: auto; margin-right: auto; }
.aside-card h3 { font-size: 21px; font-weight: 700; }
/* 영상 일시정지 버튼은 화면을 가리지 않게 틀 아래에 */
.ctl-row { display: flex; justify-content: center; margin-top: 18px; }
.ctl-row .video-ctl { position: static; }
.film-stage + .ctl-row { margin-top: 22px; }

/* ---------- 이메일로 데모 요청(4b) ---------- */
.contact-mail { max-width: 760px; margin: 0 auto; }
.btn-lg { min-height: 56px; padding: 15px 30px; font-size: 19px; font-weight: 600; }
.btn-lg .ic { width: 22px; height: 22px; }
.mail-copy { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 22px; padding: 10px 10px 10px 22px; border-radius: 980px; background: var(--gray); }
.mail-addr { font-size: 19px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.copy-btn { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 980px; background: var(--white); color: var(--accent); font-size: 15px; font-weight: 600; cursor: pointer; }
.copy-btn:hover { border-color: var(--accent); }
html.no-js .copy-btn { display: none; }
.copy-status { min-height: 1.5em; margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.mail-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 880px; margin: 56px auto 0; border-top: 1px solid var(--line); }
.mail-steps li { padding: 28px 22px 0; text-align: center; }
.mail-steps li + li { border-left: 1px solid var(--line); }
.mail-steps .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gray); font-size: 15px; font-weight: 700; }
.mail-steps h3 { margin-top: 12px; font-size: 21px; font-weight: 700; }
.mail-steps p { margin-top: 6px; color: var(--ink-2); }
@media (max-width: 734px) {
  .btn-lg { width: 100%; }
  .mail-copy { display: flex; padding: 14px 16px; border-radius: 20px; }
  .mail-steps { grid-template-columns: 1fr; }
  .mail-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; padding: 20px 0; text-align: left; }
  .mail-steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .mail-steps .num { grid-row: span 2; }
  .mail-steps h3 { margin-top: 2px; }
  .mail-steps p { margin-top: 0; }
}

/* ---------- 현장 시연: 앵커로 들어와도 영상이 첫 화면에 보이게(4c) ---------- */
.film-section { padding-top: 72px; padding-bottom: 88px; }
.film-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.film-note { max-width: 420px; margin: 14px auto 0; text-align: center; font-size: 13px; }
.film-media .film-stage { margin-top: 0; }
/* 기기 틀 높이를 화면 높이 안으로: 하위 바 52px + 위아래 여백을 뺀 높이에 9:16 */
.film-media .film-stage .device { width: min(84vw, 400px, calc((100svh - var(--nav-h) - 170px) * 0.5625 + 20px)); }
@media (max-width: 834px) {
  .film-section { padding-top: 40px; padding-bottom: 64px; }
  .film-grid { grid-template-columns: 1fr; gap: 24px; }
  .film-text .headline-md { font-size: 28px; }
  .film-text .lede { margin-top: 10px; font-size: 17px; }
  .film-media .film-stage .device { width: min(84vw, 400px, calc((100svh - var(--nav-h) - 260px) * 0.5625 + 20px)); }
}
/* 섹션 제목이 하위 바 바로 아래에 오게: html 의 scroll-padding-top(하위 바 + 8px)이 맡는다 */

/* ---------- 사파리 재생 안정(4f) ---------- */
/* 영상의 조상에 변형(transform)을 두지 않는다 — iOS 사파리가 영상 그리기를 멈추는 일을 피함 */
.film-media .film-stage .device { transform: none; will-change: auto; }
.screen video, .video-ctl, .copy-btn, .localnav a, .localnav button { touch-action: manipulation; }   /* 두 번 탭 확대 방지 */
.screen video { cursor: pointer; }
/* 마지막 넓은 타일: 글과 아이콘을 옆으로 */
.tile.tile-wide { min-height: 0; flex-direction: row; align-items: center; gap: 28px; }
.tile.tile-wide > :not(.tile-art) { max-width: 640px; }
.tile.tile-wide .tile-art { margin: 0 0 0 auto; padding-top: 0; }
.tile.tile-wide h3 { margin-top: 6px; }
@media (max-width: 734px) { .tile.tile-wide { flex-direction: column; align-items: flex-start; } .tile.tile-wide .tile-art { margin: 8px 0 0; } }

/* ---------- 두 영상이 주인공(5a): 틀 없이 크게 ---------- */
.anchor { position: absolute; top: 0; }
.vsec { position: relative; padding: 28px 0; }
.vgrid { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "text video" "ctl video"; column-gap: 64px; align-items: center; }
.vgrid-rev { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "video text" "video ctl"; }
.vtext { grid-area: text; align-self: end; }
.vctl { grid-area: ctl; align-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.vframe { grid-area: video; position: relative; aspect-ratio: 9 / 16; border-radius: 4px; overflow: hidden; background: transparent;
  /* 데스크톱: 화면 높이의 약 88% (하위 바·위아래 여백 제외 범위 안) */
  height: min(88svh, calc(100svh - var(--nav-h) - 40px)); width: auto; }
.vframe > video, .vframe > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vframe video { cursor: zoom-in; touch-action: manipulation; }
.vtitle { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
.vsub { margin-top: 18px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; color: var(--ink-2); }
.bg-black .vsub { color: var(--on-dark-2); }
.vctl .round-btn { flex: none; }
.bg-black .vctl .round-btn { background: rgba(255, 255, 255, 0.14); color: var(--on-dark); }
.vsec .video-ctl { position: static; }
@media (max-width: 834px) {
  .vsec { padding: 20px 0 32px; }
  .vgrid, .vgrid-rev { grid-template-columns: 1fr; grid-template-areas: "text" "video" "ctl"; }
  .vtext { align-self: auto; margin-bottom: 16px; }
  .vtitle { font-size: clamp(28px, 7.6vw, 40px); }
  .vsub { margin-top: 8px; font-size: 17px; }
  /* 휴대폰: 좌우 여백 없이 꽉 채우되, 영상 높이가 화면을 넘지 않게 */
  /* 그리드는 좌우 여백 없이, 글·조작 줄만 여백을 둔다 → 영상은 화면 끝까지 */
  .vsec .wrap.vgrid { padding-left: 0; padding-right: 0; }
  .vtext, .vctl { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
  .vframe { justify-self: center; height: auto; width: min(100%, calc((100svh - var(--nav-h)) * 0.5625)); border-radius: 0; }
  .vctl { justify-content: center; margin-top: 16px; }
}
