/* ==========================================================
   NAEILHAE — 2D·3D Inspection
   ========================================================== */
:root {
  --green: #22b45a;
  --green-600: #17994a;
  --teal: #19c3b3;
  --c2d: #3b82f6;      /* 2D 강조색 */
  --c3d: #22b45a;      /* 3D 강조색 */

  --ink: #0d1512;
  --ink-2: #3b4a44;
  --ink-3: #6b7a74;
  --line: #e3e9e6;
  --bg: #ffffff;
  --bg-alt: #f4f7f6;
  --dark: #08100d;
  --dark-2: #111c18;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(13,21,18,.04), 0 8px 30px rgba(13,21,18,.06);
  --header-h: 72px;
  /* SJ - 2026-11-05 Inter 추가: Pretendard 웹폰트에 없는 폴란드어 문자(ą ę ś ć ń ł ż ź ó)를 같은 계열 글꼴로 표시 */
  --font: "Pretendard Variable", Pretendard, Inter, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.65; letter-spacing: -0.01em; word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -0.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-600); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(127,127,127,.08); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 60px; padding: 0 32px; font-size: 18px; }
.btn--block { width: 100%; }
.link { display: inline-block; font-weight: 600; color: var(--green-600); transition: transform .2s; }
.link:hover { transform: translateX(3px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600);
  margin-bottom: 14px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34,180,90,.2); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: #fff; transition: background .3s, color .3s, box-shadow .3s;
}
.header.is-scrolled, .header.is-open {
  background: rgba(255,255,255,.88); color: var(--ink);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .02em; font-size: 19px; }
/* 심볼은 흰 원 위에 표시: 어두운 히어로에서는 배지처럼, 흰 헤더에서는 심볼만 보임 */
.logo__mark { width: 32px; height: 32px; border-radius: 50%; background: #fff; object-fit: cover; }
.logo__text em { font-style: normal; color: var(--green); }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { opacity: .85; transition: opacity .2s; position: relative; }
.nav a:hover { opacity: 1; }
.header__actions { display: flex; align-items: center; gap: 14px; }
.lang { font-size: 13px; font-weight: 700; opacity: .75; padding: 6px 8px; }
.lang:hover { opacity: 1; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: transparent; color: inherit; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .25s, top .25s; }
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 23px; }
.header.is-open .menu-btn span:first-child { top: 19px; transform: rotate(45deg); }
.header.is-open .menu-btn span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--dark);
  padding: calc(var(--header-h) + 72px) 0 56px;
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(800px 500px at 85% 20%, rgba(34,180,90,.22), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(59,130,246,.16), transparent 60%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px;
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: #8be3ad; }
.hero__title { font-size: clamp(36px, 5.2vw, 64px); font-weight: 800; line-height: 1.15; }
.hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, #6aa8ff, #47e0a0 55%, #b6f36a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* SJ - 2026-11-05 표어를 구절 단위로만 줄바꿈 (예: '3D로 / 정밀하게'로 끊기지 않게) */
.hero__title .nw { white-space: nowrap; }
.hero__lead { margin-top: 24px; font-size: 18px; color: rgba(255,255,255,.72); max-width: 540px; }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }

/* viz panel */
.viz {
  background: rgba(17,28,24,.75); border: 1px solid rgba(255,255,255,.1); border-radius: 22px;
  padding: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
}
.viz__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.viz__tabs { display: inline-flex; padding: 4px; background: rgba(255,255,255,.06); border-radius: 999px; }
.viz__tabs button {
  border: 0; background: transparent; color: rgba(255,255,255,.65); font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; transition: background .2s, color .2s;
}
.viz__tabs button.is-active { background: #fff; color: var(--ink); }
.viz__live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: rgba(255,255,255,.6); }
.viz__live i { width: 7px; height: 7px; border-radius: 50%; background: #ff5a5a; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
#vizCanvas { width: 100%; height: auto; aspect-ratio: 640 / 440; border-radius: 12px; background: #050a08; display: block; }
.viz__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.viz__meta div { background: rgba(255,255,255,.04); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.viz__meta span { display: block; font-size: 11px; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .08em; }
.viz__meta b { display: block; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* stats */
.stats {
  position: relative; margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.12);
}
.stats li { padding: 28px 24px 4px 0; display: flex; align-items: baseline; gap: 14px; }
.stats b { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats b small { font-size: .45em; font-weight: 700; margin-left: 2px; color: #8be3ad; }
.stats span { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.4; }
.stats span small { color: rgba(255,255,255,.45); font-size: 12px; }

/* ---------- Trust ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.trust p { font-size: 15px; color: var(--ink-2); font-weight: 500; }
.trust__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.trust__tags li { font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--bg-alt); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark .eyebrow { color: #8be3ad; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section__head--left { text-align: left; margin-left: 0; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; max-width: none; text-align: left; }
.section__head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
.section__desc { margin-top: 16px; font-size: 18px; color: var(--ink-3); }
.section--dark .section__desc { color: rgba(255,255,255,.65); }

/* ---------- Duo (2D / 3D) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo__card {
  position: relative; padding: 44px 40px; border-radius: 24px; border: 1px solid var(--line); background: #fff;
  overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.duo__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.duo__card::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  opacity: .12; filter: blur(10px);
}
.duo__card--2d::before { background: var(--c2d); }
.duo__card--3d::before { background: var(--c3d); }
.duo__badge {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 28px;
}
.duo__card--2d .duo__badge { background: var(--c2d); }
.duo__card--3d .duo__badge { background: linear-gradient(135deg, var(--teal), var(--green)); }
.duo__card h3 { font-size: 26px; font-weight: 700; margin-bottom: 14px; }
.duo__card > p { color: var(--ink-2); }
.checks { margin: 24px 0 28px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 15px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(34,180,90,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317994a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.duo__card--2d .checks li::before {
  background-color: rgba(59,130,246,.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6fe0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E");
}
.duo__card--2d .link { color: #2f6fe0; }

.compare { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--bg-alt); font-size: 14px; font-weight: 700; }
.compare thead th:nth-child(2) { color: #2f6fe0; }
.compare thead th:nth-child(3) { color: var(--green-600); }
.compare tbody th { color: var(--ink-3); font-weight: 600; width: 22%; }
.compare td { color: var(--ink-2); }

/* ---------- Product tabs ---------- */
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.tabs__btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 600; font-size: 16px;
  padding: 12px 24px; border-radius: 999px; transition: all .2s;
}
.tabs__btn:hover { border-color: var(--ink-3); }
.tabs__btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.panel { animation: fadeUp .45s ease both; }
.panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard__img { aspect-ratio: 16 / 10; position: relative; display: grid; place-items: center; overflow: hidden; }
.pcard__img span { position: relative; font-size: 15px; font-weight: 800; letter-spacing: .1em; color: rgba(255,255,255,.9); padding: 6px 12px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; backdrop-filter: blur(4px); }
/* 사진 교체 전 임시 비주얼 — 실제 제품 사진은 background-image: url(...) 로 교체 */
.pcard__img--battery { background: linear-gradient(135deg, #0f2a5c, #2f6fe0); }
.pcard__img--battery::before { content: ""; position: absolute; inset: 22% 18%; background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 22px, transparent 22px 30px); border-radius: 8px; }
.pcard__img--module { background: linear-gradient(135deg, #142c4a, #3b82f6 120%); }
.pcard__img--module::before { content: ""; position: absolute; inset: 18% 14%; background: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px) 0 0 / 100% 25%, linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px) 0 0 / 16.66% 100%; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; }
.pcard__img--display { background: linear-gradient(135deg, #0b1d3a, #4f7cff); }
.pcard__img--display::before { content: ""; position: absolute; inset: 20% 16%; border: 2px solid rgba(255,255,255,.3); border-radius: 6px; background: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 8px 8px; }
.pcard__img--display::after { content: ""; position: absolute; left: 58%; top: 40%; width: 34px; height: 34px; border: 2px solid #ffcf5a; border-radius: 4px; }
.pcard__img--r { background: radial-gradient(circle at 30% 30%, #47e0a0, #0f4d33 70%); }
.pcard__img--t { background: radial-gradient(circle at 70% 30%, #5ee4d7, #0d4048 70%); }
.pcard__img--r::before, .pcard__img--t::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,.35) 0 6px, transparent 7px) 0 0 / 28px 28px;
  transform: perspective(400px) rotateX(55deg) scale(1.6); opacity: .6;
}
.pcard__img--film { background: linear-gradient(135deg, #12233f, #3a6fd0); }
.pcard__img--film::before { content: ""; position: absolute; inset: 0 30%; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.22), rgba(255,255,255,.08)); }
.pcard__img--film::after { content: ""; position: absolute; left: 44%; top: 34%; width: 12px; height: 12px; border: 2px solid #ffcf5a; border-radius: 3px; box-shadow: 30px 50px 0 -2px rgba(255,207,90,.0), 0 0 0 10px rgba(255,207,90,.12); }
.pcard__img--align { background: linear-gradient(135deg, #0f2240, #2b62c4); }
.pcard__img--align::before { content: ""; position: absolute; width: 46%; height: 52%; border: 2px solid rgba(255,255,255,.35); border-radius: 6px; transform: rotate(-6deg); }
.pcard__img--align::after { content: ""; position: absolute; width: 46%; height: 52%; border: 2px dashed rgba(255,207,90,.8); border-radius: 6px; }
.pcard__img--print { background: linear-gradient(135deg, #102a4c, #4a86e8); }
.pcard__img--print::before { content: ""; position: absolute; inset: 24% 10%; background: repeating-linear-gradient(0deg, rgba(255,255,255,.2) 0 4px, transparent 4px 14px); }
.pcard__img--coat { background: radial-gradient(circle at 50% 120%, #8ef0c0, #0f5a3c 65%); }
.pcard__img--weld { background: linear-gradient(135deg, #0c3a2f, #1fa37a); }
.pcard__img--mask { background: linear-gradient(135deg, #123c3a, #2f6fe0 140%); }
.pcard__img--bio { background: radial-gradient(circle at 40% 40%, #79f2e3, #0b3d44 70%); }
.pcard__img--coat::before { content: ""; position: absolute; left: 10%; right: 10%; top: 52%; height: 14%; background: rgba(255,255,255,.18); border-top: 2px solid rgba(255,255,255,.55); }
.pcard__img--weld::before { content: ""; position: absolute; left: 12%; right: 12%; top: 50%; height: 2px; background: rgba(255,255,255,.3); box-shadow: 0 -14px 0 rgba(255,255,255,.12); }
.pcard__img--weld::after { content: ""; position: absolute; left: 30%; top: 38%; width: 40%; height: 24%; border-radius: 50% 50% 0 0; border: 2px solid rgba(255,255,255,.6); border-bottom: 0; }
.pcard__img--mask::before { content: ""; position: absolute; inset: 20% 22%; background: linear-gradient(rgba(255,255,255,.18) 2px, transparent 2px) 0 0 / 100% 16px, linear-gradient(90deg, rgba(255,255,255,.18) 2px, transparent 2px) 0 0 / 16px 100%; }
.pcard__img--bio::before { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); box-shadow: 70px -20px 0 -20px rgba(255,255,255,.25), -80px 24px 0 -26px rgba(255,255,255,.25); }
.pcard__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__cat { font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; }
.pcard h3 { font-size: 22px; font-weight: 700; }
.pcard__body > p:not(.pcard__cat) { color: var(--ink-2); font-size: 15px; }

.spec { margin-top: 32px; background: #fff; border-radius: 22px; border: 1px solid var(--line); padding: 32px; }
.spec__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.spec__head h3 { font-size: 20px; }
.spec__head p { font-size: 14px; color: var(--ink-3); }
.spec__scroll { overflow-x: auto; }
.spec table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; font-variant-numeric: tabular-nums; }
.spec th, .spec td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.spec thead th { font-weight: 700; color: var(--green-600); background: var(--bg-alt); }
.spec thead th:first-child, .spec tbody th { text-align: left; color: var(--ink-3); font-weight: 600; }
.spec td { color: var(--ink); }

/* ---------- Applications ---------- */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app { padding: 32px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid transparent; transition: border-color .2s, background .2s; }
.app:hover { background: #fff; border-color: var(--line); }
.app__dim { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 4px 10px; border-radius: 6px; background: #fff; color: var(--green-600); border: 1px solid var(--line); margin-bottom: 18px; }
.app h3 { font-size: 22px; margin-bottom: 8px; }
.app p { color: var(--ink-2); font-size: 15px; }

/* ---------- Technology ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding: 28px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); }
.steps b { display: block; font-size: 14px; color: #8be3ad; margin-bottom: 40px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 20px; margin-bottom: 10px; }
.steps p { font-size: 15px; color: rgba(255,255,255,.62); }

/* ---------- Company ---------- */
.company { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.company__intro h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; margin-bottom: 20px; }
.company__intro > p { color: var(--ink-2); font-size: 17px; }
.values { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.values li { padding: 20px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.values b { display: block; font-size: 17px; margin-bottom: 4px; }
.values span { font-size: 14px; color: var(--ink-3); }

.ip { padding: 40px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.ip__title { font-size: 22px; font-weight: 700; }
.ip__total { margin: 20px 0 28px; }
.ip__total b { font-size: 80px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--green-600); font-variant-numeric: tabular-nums; }
.ip__total span { font-size: 22px; font-weight: 700; margin-left: 4px; }
.ip__groups { display: grid; gap: 22px; }
.ip h4 { margin: 0 0 8px; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.seg { display: flex; height: 12px; border-radius: 999px; overflow: hidden; gap: 2px; background: var(--bg-alt); }
.seg i { flex: var(--w) 0 0; }
.c1 { --dot: var(--green); }
.c2 { --dot: var(--teal); }
.c3 { --dot: var(--c2d); }
.seg i { background: var(--dot); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--dot, transparent); }
.legend li.muted { color: var(--ink-3); }
.legend li.muted::before { display: none; }
.legend b { color: var(--ink); font-variant-numeric: tabular-nums; }

.offices { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.office { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--dark); color: #fff; }
.office__body { padding: 32px 36px 28px; display: flex; flex-direction: column; flex: 1; }
.office .eyebrow { color: #8be3ad; margin-bottom: 6px; }
.office h3 { font-size: 26px; }
.office__name { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 4px; }
.office__info { margin: 22px 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.office__info > div:first-child, .office__info > .is-wide { grid-column: 1 / -1; }
.office__info dt { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 2px; }
.office__info dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: break-word; }
.office__info a:hover { color: #8be3ad; }
.office .link { color: #8be3ad; margin-top: auto; font-size: 14px; }
.office__map { aspect-ratio: 16 / 9; background: var(--dark-2); }
.office__map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.25); }

/* ---------- Inspecscopy ---------- */
/* R/T 카드는 위에 나란히, 사양표는 아래 전체 폭 — 데스크톱에서 표가 가로 스크롤되지 않도록 */
.tech-split { margin-top: 20px; display: grid; grid-template-columns: 1fr; gap: 20px; }
.tech-split > *, .record > * { min-width: 0; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.modes .note { grid-column: 1 / -1; }
.modes article { padding: 28px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); }
.modes h3 { font-size: 20px; margin-bottom: 8px; }
.modes h3 small { font-size: 13px; font-weight: 600; color: #8be3ad; margin-left: 6px; }
.modes p { font-size: 15px; color: rgba(255,255,255,.65); }
.note { font-size: 13px; color: rgba(255,255,255,.45); padding: 0 4px; }
.spec--dark { margin-top: 0; background: var(--dark-2); border-color: rgba(255,255,255,.08); }
.spec--dark .spec__head p, .spec--dark tbody th { color: rgba(255,255,255,.5); }
.spec--dark thead th { background: rgba(255,255,255,.04); color: #8be3ad; }
.spec--dark th, .spec--dark td { border-color: rgba(255,255,255,.08); }
.spec--dark td { color: #fff; }
.spec--dark .spec__scroll { scrollbar-color: rgba(255,255,255,.25) transparent; scrollbar-width: thin; }

/* ---------- Track record ---------- */
.record { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 64px; }
.bars, .eras { padding: 32px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.bars { display: grid; gap: 16px; align-content: center; }
.bars li { display: grid; grid-template-columns: 170px 1fr 28px; align-items: center; gap: 14px; font-size: 15px; }
.bars span { color: var(--ink-2); font-weight: 500; }
.bars i { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--teal), var(--green)); width: calc(var(--v) / 19 * 100%); min-width: 10px; }
.bars b { text-align: right; font-variant-numeric: tabular-nums; }
.eras li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 0 0 18px 22px; }
.eras li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.eras li::after { content: ""; position: absolute; left: 4px; top: 20px; bottom: 0; width: 1px; background: var(--line); }
.eras li:last-child { padding-bottom: 0; }
.eras li:last-child::after { display: none; }
.eras time { font-weight: 800; font-variant-numeric: tabular-nums; }
.eras p { font-size: 15px; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(135deg, #0a1a13, #0c2a1d 60%, #0f3a26); color: #fff; }
.contact .eyebrow { color: #8be3ad; }
.contact__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.contact h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; margin-bottom: 20px; }
.contact__copy p { color: rgba(255,255,255,.7); font-size: 18px; margin-bottom: 32px; max-width: 520px; }
.contact__info { margin: 0; padding: 32px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: grid; gap: 18px; }
.contact__info div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; }
.contact__info dt { color: rgba(255,255,255,.5); font-size: 14px; }
.contact__info dd { margin: 0; font-weight: 500; }
.contact__info a:not(.btn):hover { color: #8be3ad; }
.contact .btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); margin-top: 6px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.6); padding: 56px 0 32px; font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.logo--footer { color: #fff; margin-bottom: 14px; }
.footer__addr { line-height: 1.8; }
.footer__nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__nav a:hover { color: #fff; }
.footer__copy { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: rgba(255,255,255,.4); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .panel { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__copy { max-width: 720px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .company { grid-template-columns: 1fr; gap: 56px; }
  .tech-split, .record, .offices { grid-template-columns: 1fr; }
  .office { flex-direction: row; }
  .office__body { flex: 1 1 50%; }
  .office__map { flex: 1 1 50%; aspect-ratio: auto; min-height: 260px; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .header__actions .btn { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 12px 24px 40px; background: #fff; color: var(--ink);
    font-size: 20px; font-weight: 700; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s; overflow-y: auto;
  }
  .nav a { padding: 18px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .header.is-open .nav { opacity: 1; transform: none; visibility: visible; }
  .header__inner { gap: 16px; }
  .header__actions { margin-left: auto; }
  .duo, .apps { grid-template-columns: 1fr; }
  .section { padding: 88px 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero__lead { font-size: 16px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .stats { margin-top: 48px; }
  .stats li { flex-direction: column; gap: 4px; padding-right: 12px; }
  .viz__meta { grid-template-columns: 1fr 1fr; }
  .viz__meta div:last-child { display: none; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps b { margin-bottom: 16px; }
  .duo__card { padding: 32px 24px; }
  .spec { padding: 20px; }
  .modes { grid-template-columns: 1fr; }
  .section__head { margin-bottom: 40px; }
  .section__head--row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .values { grid-template-columns: 1fr; }
  .office__body { padding: 24px; }
  .office__info { grid-template-columns: 1fr; gap: 12px; }
  .office { flex-direction: column; }
  .office__body, .office__map { flex: none; }
  .office__map { aspect-ratio: 4 / 3; min-height: 0; }
  .ip, .bars, .eras { padding: 24px; }
  .ip__total b { font-size: 64px; }
  .bars li { grid-template-columns: 1fr 28px; gap: 6px 12px; }
  .bars li span { grid-column: 1 / -1; font-size: 14px; }
  .eras li { grid-template-columns: 1fr; gap: 2px; }
  .contact__info { padding: 24px; }
  .contact__info div { grid-template-columns: 1fr; gap: 2px; }
  .btn--lg { width: 100%; font-size: 16px; }
}
