/* ══════════════════════════════════════════════
   KAICORE — 공통 스타일
   기업소개 · 기술 · 서비스 페이지가 함께 사용한다.
   여기 고치면 세 페이지에 동시 반영되니 주의.
   ══════════════════════════════════════════════ */

:root {
  --navy-900: #071320;
  --navy-850: #091825;
  --navy-800: #0B1C2D;
  --navy-750: #0E2237;
  --navy-700: #122840;
  --navy-600: #17324E;

  --blue:       #2F6BFF;
  --blue-light: #5B8FFF;
  --cyan:       #00D4FF;
  --glow:       rgba(47, 107, 255, 0.35);
  --blue-soft:  rgba(47, 107, 255, 0.10);

  --gold:       #E5B567;
  --gold-soft:  rgba(229, 181, 103, 0.12);

  --green:  #34D399;
  --coral:  #FF7A7A;

  --white:  #FFFFFF;
  --light:  #F6F8FB;

  --t1: rgba(255, 255, 255, 0.96);
  --t2: rgba(255, 255, 255, 0.62);
  --t3: rgba(255, 255, 255, 0.52);   /* 4.5:1 확보 — 낮추지 말 것 */

  --d1: #0B1C2D;
  --d2: #5A6A7A;
  --d3: #667586;   /* 흰 배경에서 4.5:1 확보 — 밝히지 말 것 */

  --line:       rgba(255, 255, 255, 0.08);
  --line-soft:  rgba(255, 255, 255, 0.05);
  --line-light: rgba(11, 28, 45, 0.09);

  --card:       rgba(255, 255, 255, 0.032);
  --card-hover: rgba(255, 255, 255, 0.06);

  --r:    18px;
  --r-sm: 12px;
  --r-lg: 26px;

  --wrap: 1180px;
  --pad:  clamp(76px, 8.5vw, 128px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--navy-800);
  color: var(--t1);
  line-height: 1.62;
  overflow-x: hidden;
  letter-spacing: -0.011em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

section { position: relative; }
.sec        { padding: var(--pad) 0; }
.sec-alt    { background: var(--navy-750); }
.sec-deep   { background: var(--navy-900); }
.sec-light  { background: var(--light); color: var(--d1); }

/* ── 타이포 ─────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-light));
}
.sec-light .eyebrow { color: #2559D9; }   /* 밝은 배경에서 4.5:1 확보 — 밝히지 말 것 */

h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 800; line-height: 1.12; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 4.1vw, 45px); font-weight: 800; line-height: 1.2;  letter-spacing: -0.032em; }
h3 { font-size: clamp(19px, 2.1vw, 23px); font-weight: 700; line-height: 1.35; letter-spacing: -0.024em; }

.lead {
  font-size: clamp(15px, 1.65vw, 18px);
  color: var(--t2); line-height: 1.72; max-width: 62ch;
}
.sec-light .lead { color: var(--d2); }

.sec-head { margin-bottom: clamp(44px, 5vw, 68px); }
.sec-head.center { text-align: center; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
.sec-head h2 + .lead { margin-top: 20px; }

.hl { color: var(--blue-light); }
.hl-gold { color: var(--gold); }
.sec-light .hl { color: var(--blue); }

/* ── 버튼 ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 650;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .22s, border-color .22s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #1F55E0);
  color: #fff; box-shadow: 0 8px 26px -10px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px var(--glow); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line); color: var(--t1); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.sec-light .btn-ghost { background: #fff; border-color: var(--line-light); color: var(--d1); }
.btn-lg { padding: 17px 34px; font-size: 16px; }

/* ── 스크롤 인 ──────────────────────────── */
.rise { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rise.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s } .d2 { transition-delay: .16s }
.d3 { transition-delay: .24s } .d4 { transition-delay: .32s }
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ══════════════════════════════════════════════
   NAV — 드롭다운 포함
   ══════════════════════════════════════════════ */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  padding: 18px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}
nav.stuck {
  padding: 12px 0;
  background: rgba(9, 24, 37, .84);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border-bottom: 1px solid var(--line-soft);
}
/* 드롭다운이 열려 있는 동안에는 배경을 깔아야 메뉴가 떠 보이지 않는다 */
nav.sub-open {
  background: rgba(9, 24, 37, .92);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; height: 38px; text-decoration: none; }
.brand img { height: 28px; width: auto; object-fit: contain; }

.nav-menu { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu a {
  color: var(--t2); text-decoration: none;
  font-size: 14px; font-weight: 550; letter-spacing: -0.02em;
  transition: color .2s;
}
.nav-menu a:hover, .nav-menu a.is-current { color: var(--t1); }

.nav-top {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 0;                 /* 링크와 드롭다운 사이 마우스가 끊기지 않게 */
  background: none; border: 0; cursor: pointer;
}
.nav-caret { width: 11px; height: 11px; stroke: currentColor; stroke-width: 2.4; fill: none; transition: transform .3s var(--ease); }
.has-sub.open .nav-caret { transform: rotate(180deg); }
.has-sub.open > .nav-top { color: var(--t1); }

.nav-sub {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translate(-50%, -8px);
  min-width: 268px; padding: 10px;
  background: rgba(12, 30, 47, .97);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 28px 60px -24px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
}
.has-sub.open .nav-sub { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
/* 링크와 패널 사이의 빈틈을 덮어 hover 가 끊기지 않게 한다 */
.nav-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }

.nav-sub a {
  display: block; padding: 11px 13px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--t2);
  transition: background .2s, color .2s;
}
.nav-sub a:hover { background: rgba(47,107,255,.14); color: #fff; }
.nav-sub a small {
  display: block; margin-top: 2px;
  font-size: 11.5px; font-weight: 500; color: var(--t3); letter-spacing: 0;
}
.nav-sub a:hover small { color: rgba(255,255,255,.6); }

.nav-cta {
  background: var(--blue); color: #fff !important;
  padding: 10px 20px; border-radius: 10px; font-weight: 650 !important;
  transition: box-shadow .3s, transform .3s;
}
.nav-cta:hover { box-shadow: 0 0 22px var(--glow); transform: translateY(-1px); }

.nav-burger {
  display: none; width: 40px; height: 40px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-burger span { display: block; width: 20px; height: 1.6px; background: var(--t1); border-radius: 2px; transition: .3s var(--ease); }
.nav-burger.on span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-burger.on span:nth-child(2) { opacity: 0; }
.nav-burger.on span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ══════════════════════════════════════════════
   PAGE HERO — 하위 페이지 공통 머리
   ══════════════════════════════════════════════ */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(148px, 16vw, 196px) 0 clamp(64px, 7vw, 96px);
  background:
    radial-gradient(1100px 620px at 76% 6%, rgba(47,107,255,.18), transparent 62%),
    radial-gradient(880px 520px at 8% 84%, rgba(0,212,255,.10), transparent 60%),
    var(--navy-900);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 76% 64% at 46% 40%, #000 30%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 76% 64% at 46% 40%, #000 30%, transparent 76%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { max-width: 17ch; }
.page-hero .lead { margin-top: 24px; font-size: clamp(15.5px, 1.7vw, 19px); }
.page-hero .grad {
  background: linear-gradient(100deg, var(--blue-light) 0%, var(--cyan) 52%, var(--gold) 150%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
footer { background: var(--navy-900); padding: 56px 0 40px; border-top: 1px solid var(--line-soft); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid var(--line-soft); }
.foot-logo { height: 26px; width: auto; opacity: .85; }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; }
.foot-links a { color: var(--t3); text-decoration: none; font-size: 13.5px; transition: color .2s; }
.foot-links a:hover { color: var(--t1); }
.foot-biz { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 12.5px; color: var(--t3); }
.foot-copy { margin-top: 20px; font-size: 12px; color: var(--t3); }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(9,24,37,.98);
    backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 22px;
    max-height: calc(100vh - 60px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: .32s var(--ease);
  }
  .nav-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu > li { border-bottom: 1px solid var(--line-soft); }
  .nav-menu > li:last-child { border-bottom: 0; padding-top: 14px; }
  .nav-menu a { display: block; padding: 15px 0; font-size: 15px; }
  .nav-cta { text-align: center; }
  .nav-burger { display: flex; }

  /* 모바일에서는 hover 가 없으므로 아코디언으로 편다 */
  .nav-top { width: 100%; justify-content: space-between; padding: 15px 0; font-size: 15px; color: var(--t2); }
  .nav-sub {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; padding: 0 0 10px; margin: 0;
    background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    display: none;
  }
  .has-sub.open .nav-sub { display: block; transform: none; }
  .nav-sub::before { display: none; }
  .nav-sub a { padding: 11px 14px; font-size: 14px; background: rgba(255,255,255,.04); margin-bottom: 6px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
}

/* ══════════════════════════════════════════════
   COMPONENTS — 개편(2026-09)에서 추가된 공통 부품
   메인·솔루션·서비스·사례 페이지가 함께 쓴다.
   ══════════════════════════════════════════════ */
.footer-legal { display: inline-flex; gap: 14px; }
.footer-legal a { color: var(--t3); text-decoration: none; }
.footer-legal a:hover { color: var(--t1); }
.foot-copy { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }

/* 카드 그리드 */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.card {
  padding: 28px 26px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line);
  transition: .32s var(--ease); position: relative;
}
.card:hover { background: var(--card-hover); border-color: rgba(47,107,255,.3); transform: translateY(-3px); }
.sec-light .card { background: #fff; border-color: var(--line-light); }
.sec-light .card:hover { box-shadow: 0 22px 48px -32px rgba(11,28,45,.4); }
.card .n {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .12em;
  color: var(--blue-light); margin-bottom: 14px;
}
.sec-light .card .n { color: var(--blue); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--t2); line-height: 1.7; }
.sec-light .card p { color: var(--d2); }
.card .tag {
  display: inline-block; margin-top: 16px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--gold); background: var(--gold-soft);
  border: 1px solid rgba(229,181,103,.2);
  padding: 4px 10px; border-radius: 6px;
}
.sec-light .card .tag { color: #8A6420; }
.card-link { text-decoration: none; color: inherit; display: block; }

/* 체크 리스트 */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-top: 22px; }
.check-list li { display: flex; gap: 11px; font-size: 14px; line-height: 1.6; color: var(--t2); }
.sec-light .check-list li { color: var(--d2); }
.check-list li svg { width: 15px; height: 15px; stroke: var(--green); stroke-width: 2.8; fill: none; flex: none; margin-top: 4px; }
.check-list li b { color: var(--t1); font-weight: 650; }
.sec-light .check-list li b { color: var(--d1); }

/* 2단 (본문 + 패널) */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(30px,4.4vw,68px); align-items: center; }
.split.rev > :first-child { order: 2; }
.panel {
  padding: 26px; border-radius: var(--r-lg);
  background: linear-gradient(168deg, rgba(255,255,255,.055), rgba(255,255,255,.014));
  border: 1px solid var(--line);
  box-shadow: 0 30px 66px -40px rgba(0,0,0,.7);
}
.sec-light .panel { background: #fff; border-color: var(--line-light); box-shadow: 0 26px 60px -42px rgba(11,28,45,.45); }
.panel-head { display: flex; align-items: center; gap: 9px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.sec-light .panel-head { border-color: var(--line-light); }
.panel-head .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.panel-head span { font-size: 12px; font-weight: 650; color: var(--t3); letter-spacing: .02em; }
.sec-light .panel-head span { color: var(--d3); }
.prow { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 11px; background: rgba(255,255,255,.045); border: 1px solid var(--line-soft); }
.sec-light .prow { background: rgba(11,28,45,.035); border-color: var(--line-light); }
.prow + .prow { margin-top: 9px; }
.prow .ico { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(47,107,255,.16); font-size: 12px; font-weight: 800; color: var(--blue-light); }
.sec-light .prow .ico { color: var(--blue); }
.prow .tx { flex: 1; min-width: 0; }
.prow .tx b { display: block; font-size: 13.5px; font-weight: 650; letter-spacing: -0.02em; }
.prow .tx small { display: block; font-size: 11.5px; color: var(--t3); margin-top: 2px; }
.sec-light .prow .tx small { color: var(--d3); }
.prow .badge { flex: none; font-size: 11px; font-weight: 750; color: var(--green); }
.prow .badge.warn { color: var(--gold); }

/* 단계 표 (카이코어가 하는 일 / 고객이 확인할 내용) */
.step-table { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.step-row {
  display: grid; grid-template-columns: 150px minmax(0,1fr) minmax(0,1fr);
  gap: clamp(14px,2.4vw,32px); padding: 22px 26px;
  border-top: 1px solid var(--line-soft);
}
.step-row:first-child { border-top: 0; background: rgba(255,255,255,.03); }
.step-row.head { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--t3); text-transform: uppercase; padding: 14px 26px; }
.step-row .st { font-size: 16px; font-weight: 750; letter-spacing: -0.02em; }
.step-row .st small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--blue-light); margin-bottom: 4px; }
.step-row p { font-size: 14px; color: var(--t2); line-height: 1.68; }
.step-row p b { color: var(--t1); font-weight: 650; }
.step-row.two { grid-template-columns: 150px minmax(0,1fr); }   /* 2열 변형 */

/* 고객사·파트너 (텍스트) */
.partner-strip { padding: 34px 0 30px; background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.04); }
.partner-strip .wrap { text-align: center; }
.partner-kicker { margin: 0 0 16px; color: var(--t3); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.partner-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; list-style: none; }
.partner-list li {
  display: flex; align-items: center; justify-content: center;
  height: 64px; padding: 12px 22px; border-radius: 12px;
  background: #fff; border: 1px solid rgba(255,255,255,.08);
}
.partner-list img { display: block; max-height: 34px; max-width: 160px; width: auto; height: auto; object-fit: contain; }
.partner-list li.tall img { max-height: 40px; }
.partner-note { margin: 14px 0 0; color: var(--t3); font-size: 12.5px; }

/* 익명 PoC 성과 */
.poc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.poc {
  padding: 26px 24px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line);
}
.poc .k { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--t3); text-transform: uppercase; }
.poc .v { margin-top: 12px; font-size: clamp(24px, 3vw, 32px); font-weight: 850; letter-spacing: -0.04em; line-height: 1.1; color: var(--t1); }
.poc .v .from { font-size: 16px; font-weight: 600; color: var(--t3); letter-spacing: -0.02em; }
.poc .v .arrow { font-size: 16px; color: var(--t3); margin: 0 6px; }
.poc .s { margin-top: 10px; font-size: 12.5px; color: var(--t3); line-height: 1.55; }
.poc-chart { margin-top: 18px; }
.poc-chart figure { margin: 0; }
.poc-chart svg { width: 100%; height: auto; display: block; }
.poc-chart figcaption { margin-top: 10px; font-size: 12px; color: var(--t3); line-height: 1.55; }
.poc-notes { margin-top: 20px; padding: 18px 22px; border-radius: var(--r-sm); background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.poc-notes p { font-size: 12.5px; color: var(--t3); line-height: 1.65; }
.poc-notes p + p { margin-top: 4px; }


/* 카드 안 제품 화면 */
.card .shot-img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--line-light); margin-bottom: 16px; background: #fff; }
.shot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 14px; }
.shot-grid figure { margin: 0; }
.shot-grid figcaption { margin-top: 10px; font-size: 12.5px; color: var(--t3); line-height: 1.55; }
.shot-grid figcaption b { display: block; color: var(--t1); font-size: 13.5px; margin-bottom: 2px; }


/* 제품 화면 쇼케이스 (탭 + 큰 이미지 + 라이트박스) */
.showcase { max-width: 1040px; margin: 0 auto; }
.showcase-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; }
.showcase-tabs button {
  padding: 10px 16px; border-radius: 100px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255,255,255,.04);
  color: var(--t2); font-size: 13.5px; font-weight: 650; letter-spacing: -0.01em;
  transition: .22s;
}
.showcase-tabs button:hover { color: var(--t1); border-color: rgba(255,255,255,.2); }
.showcase-tabs button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.showcase-stage {
  margin: 0; padding: 12px; border-radius: var(--r-lg);
  background: linear-gradient(168deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--line); box-shadow: 0 34px 70px -34px rgba(0,0,0,.72);
}
.showcase-stage img { display: none; width: 100%; height: auto; border-radius: 12px; background: #fff; cursor: zoom-in; }
.showcase-stage img.on { display: block; }
.showcase-cap { display: none; padding: 16px 8px 4px; font-size: 14px; color: var(--t2); line-height: 1.6; }
.showcase-cap.on { display: block; }
.showcase-cap b { color: var(--t1); font-weight: 700; display: block; margin-bottom: 3px; font-size: 15px; }
.showcase-note { margin-top: 14px; text-align: center; font-size: 13px; color: var(--t3); line-height: 1.6; }
.showcase-note a { color: var(--blue-light); }
/* 라이트박스 */
.lb { position: fixed; inset: 0; z-index: 600; background: rgba(4,10,18,.92); display: none; overflow: auto; -webkit-overflow-scrolling: touch; padding: 56px 16px 24px; }
.lb.on { display: block; }
.lb img { display: block; margin: 0 auto; width: min(1400px, 100%); height: auto; border-radius: 10px; background: #fff; }
.lb-close { position: fixed; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 10px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; z-index: 601; }
.lb-hint { position: fixed; top: 22px; left: 16px; font-size: 13px; color: rgba(255,255,255,.6); }
@media (max-width: 640px) {
  .lb img { width: 1100px; max-width: none; }   /* 모바일은 원본 크기로 두고 가로 스크롤·핀치줌으로 읽는다 */
  .showcase-stage { padding: 8px; }
  .showcase-tabs button { padding: 9px 13px; font-size: 13px; }
}


/* ── 모바일 가독성 바닥값 (감사 결과 반영) ── */
@media (max-width: 640px) {
  .partner-kicker, .poc .k, .poc .s, .poc-notes p, .showcase-note, .note-box, .prow .tx small,
  .card p, .check-list li, .step-row p, .faq-a-inner, .cta-points li, .form-done p, .consent span.txt,
  .foot-biz, .foot-copy, .dx-hint, .dx-step-desc, .sim-note, .price .amt-note, .price ul li,
  .step-row.head, .tl-row, .biz-row { font-size: 13.5px !important; line-height: 1.6; }
  .eyebrow, .card .n, .step-row .st small, .price-tag, .card .tag, .badge { font-size: 12px !important; }
  .partner-list li { height: 56px; padding: 10px 16px; }
  .partner-list img { max-height: 28px; max-width: 132px; }
  .partner-note, .fact .s { font-size: 13px !important; }
  .foot-links { gap: 4px 18px; }
  .foot-links a, .footer-legal a { display: inline-block; padding: 8px 0; font-size: 14px !important; }
  .foot-biz span { display: inline-block; padding: 3px 0; }
  .showcase-tabs button { min-height: 40px; }
  .sim-chip { min-height: 40px; font-size: 13px; }
  .hero-sub a { display: inline-block; padding: 8px 0; }
}


/* 제목 줄바꿈 균형 (지원 브라우저에서만) */
h1, h2, h3, .core-claim, .mission-quote, .sec-head .lead { text-wrap: balance; }
/* 좁은 화면에서만 나타나는 줄바꿈 — 마지막 줄이 한두 글자로 남는 걸 막습니다 */
.br-nar { display: none; }
@media (max-width: 400px) { .br-nar { display: inline; } }
.lead, .card p, .faq-a-inner, .note-box { text-wrap: pretty; }
/* PoC 핵심 숫자 강조 */
.poc .v .big { font-size: 1.3em; color: var(--blue-light); letter-spacing: -0.045em; }
.poc .v .big { white-space: nowrap; }

.amt-lead { font-size: 14.5px; color: var(--t2); line-height: 1.6; margin: 14px 0 20px; }
.price.feature .price-tag, .price .price-tag { letter-spacing: .06em; }


/* 모바일: 긴 설명은 좌측 정렬이 읽기 쉽다 (M08) */
@media (max-width: 640px) {
  .sec-head.center .lead, .poc-notes, .showcase-note, .note-box, .partner-note, .poc .s { text-align: left; }
  .sec-head.center .lead { margin-left: 0; margin-right: 0; }
  .prob-foot { text-align: left; }
}
/* 파트너 로고: 원본 해상도가 낮은 자산이 있어 표시 높이를 낮춰 선명도를 지킨다 (D07) */
.partner-list img { max-height: 30px; }

/* 안내 박스 */
.note-box {
  padding: 18px 22px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  font-size: 13.5px; color: var(--t2); line-height: 1.7;
}
.sec-light .note-box { background: #fff; border-color: var(--line-light); border-left-color: var(--gold); color: var(--d2); }
.note-box b { color: var(--t1); font-weight: 650; }
.sec-light .note-box b { color: var(--d1); }

/* 코드 한 줄 */
.code-line {
  max-width: 100%;
  display: block;
  padding: 14px 18px; border-radius: 12px;
  background: rgba(0,0,0,.3); border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px; color: var(--t2); line-height: 1.75;
  white-space: pre-wrap; word-break: break-all;
}
.code-line .c { color: var(--cyan); }
.code-line .a { color: var(--gold); }

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; text-align: left;
  font-size: clamp(15px, 1.8vw, 17px); font-weight: 650; letter-spacing: -0.022em;
  color: var(--t1); transition: color .2s;
}
.faq-q:hover { color: var(--blue-light); }
.faq-q .ico { flex: none; width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.06); display: grid; place-items: center; transition: .32s var(--ease); }
.faq-q .ico svg { width: 13px; height: 13px; stroke: var(--t2); stroke-width: 2.4; fill: none; }
.faq-item.open .faq-q .ico { background: var(--blue); transform: rotate(45deg); }
.faq-item.open .faq-q .ico svg { stroke: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .44s var(--ease); }
.faq-a-inner { padding: 0 4px 26px; font-size: 14.5px; color: var(--t2); line-height: 1.76; max-width: 74ch; }
.faq-a-inner b { color: var(--t1); font-weight: 650; }

/* 상담 폼 (서브페이지) */
.cta { background: radial-gradient(900px 480px at 50% 0%, rgba(47,107,255,.18), transparent 66%), var(--navy-900); }
.cta-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(30px, 4vw, 58px); align-items: start; }
.cta-points { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.cta-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--t2); line-height: 1.55; }
.cta-points li .tick { flex: none; width: 21px; height: 21px; border-radius: 7px; background: rgba(52,211,153,.14); display: grid; place-items: center; margin-top: 1px; }
.cta-points li .tick svg { width: 11px; height: 11px; stroke: var(--green); stroke-width: 3.2; fill: none; }
.cta-points li b { color: var(--t1); font-weight: 650; }
.form-card {
  background: linear-gradient(168deg, rgba(255,255,255,.055), rgba(255,255,255,.014));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 34px 76px -40px rgba(0,0,0,.7);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { margin-bottom: 16px; }
.fg.full { grid-column: 1 / -1; }
.fg label { display: block; font-size: 12.5px; font-weight: 600; color: var(--t2); margin-bottom: 8px; }
.fg .req { color: var(--blue-light); }
.fi {
  width: 100%; padding: 13px 15px;
  background: rgba(255,255,255,.045); border: 1px solid var(--line);
  border-radius: 10px; font-size: 14.5px; color: var(--t1);
  transition: border-color .22s, background .22s;
}
.fi::placeholder { color: var(--t3); }
.fi:focus { outline: none; border-color: rgba(47,107,255,.55); background: rgba(47,107,255,.06); }
textarea.fi { min-height: 96px; resize: vertical; line-height: 1.6; }
select.fi { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A0AEC0' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px;
}
select.fi option { background: var(--navy-750); color: var(--t1); }
.chk-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.chk { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; font-size: 13.5px; color: var(--t2); line-height: 1.45; }
.chk input { position: absolute; opacity: 0; width: 0; height: 0; }
.chk .box, .consent .box {
  flex: none; width: 19px; height: 19px; border-radius: 6px;
  border: 1.5px solid var(--line); background: rgba(255,255,255,.05);
  display: grid; place-items: center; margin-top: 1px; transition: .2s;
}
.chk .box::after, .consent .box::after {
  content: ''; width: 9px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0); transition: transform .2s var(--ease); margin-top: -2px;
}
.chk input:checked + .box, .consent input:checked + .box { background: var(--blue); border-color: var(--blue); }
.chk input:checked + .box::after, .consent input:checked + .box::after { transform: rotate(-45deg) scale(1); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 20px; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent span.txt { font-size: 12.5px; color: var(--t2); line-height: 1.5; }
.form-msg { font-size: 13px; margin-top: 12px; }
.form-msg.err { color: var(--coral); }
.form-done { display: none; text-align: center; padding: 30px 10px; }
.form-done.on { display: block; }
.form-done .ok { width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%; background: rgba(52,211,153,.14); display: grid; place-items: center; }
.form-done .ok svg { width: 24px; height: 24px; stroke: var(--green); stroke-width: 2.6; fill: none; }
.form-done h3 { margin-bottom: 10px; }
.form-done p { font-size: 14px; color: var(--t2); line-height: 1.65; }

/* CTA 밴드 */
.cta-band {
  text-align: center; padding: clamp(56px, 7vw, 84px) 0;
  background: radial-gradient(800px 400px at 50% 0%, rgba(47,107,255,.16), transparent 64%), var(--navy-900);
}
.cta-band h2 { margin-bottom: 18px; }
.cta-band .lead { margin: 0 auto 30px; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* 예시 표시 */
.example-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  color: var(--gold); background: var(--gold-soft);
  border: 1px solid rgba(229,181,103,.24);
  padding: 3px 8px; border-radius: 6px; vertical-align: middle;
}

@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split.rev > :first-child { order: 0; }
  .cta-grid { grid-template-columns: 1fr; }
  .step-row { grid-template-columns: 1fr; gap: 10px; }
  .step-row.head { display: none; }
  .step-row p::before { content: attr(data-col); display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--t3); margin-bottom: 4px; }
}
/* 모바일 세로 리듬 압축 — 홈 전체 길이를 줄입니다 */
@media (max-width: 640px) {
  :root { --pad: 58px; }
  .sec-head { margin-bottom: 34px; }
}
@media (max-width: 640px) {
  .example-tag, .sim-tag { font-size: 12px; }
}
@media (max-width: 640px) {
  .form-row, .chk-group { grid-template-columns: 1fr; }
  .card, .poc { padding: 22px 20px; }
}
