/* ============================================================
   INVISIONLAB platform.css — 2026-10 플랫폼 리디자인
   Bootstrap/jQuery 의존 없이 단독으로 동작한다.
   롤백은 index.html 복원만으로 완료된다. (이전 레이어: refine.css)
   ============================================================ */

:root {
  /* 브랜드 — 심볼(#024be0 계열) 과 기존 토큰(#1f1e92, #5dc3ff) 을 잇는 블루 스케일 */
  --brand: #2457f0;
  --brand-700: #1b45d0;
  --brand-deep: #1f1e92;
  --brand-soft: #eef3ff;
  --brand-glow: #7fb2ff;
  --sky: #5dc3ff;
  /* 잉크 / 다크 밴드 */
  --ink: #0b1220;
  --ink-2: #111a2e;
  --navy: #0a1020;
  --navy-2: #0d1529;
  --footer: #070b16;
  /* 뉴트럴 */
  --s-900: #0f172a;
  --s-700: #334155;
  --s-600: #475569;
  --s-500: #64748b;
  --s-400: #94a3b8;
  --s-300: #cbd5e1;
  --s-200: #e2e8f0;
  --s-100: #f1f5f9;
  --s-50: #f7f9fc;
  --line: #e6eaf2;
  --line-dark: rgba(255, 255, 255, .1);
  --tx-dark-mid: #aab4c8;
  --tx-dark-low: #7c879c;
  /* 그림자 / 반경 / 폭 */
  --shadow-soft: 0 10px 30px -12px rgba(15, 23, 42, .15);
  --shadow-lift: 0 24px 48px -20px rgba(36, 87, 240, .35);
  --shadow-brand: 0 20px 40px -15px rgba(36, 87, 240, .45);
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 28px;
  --max: 1240px;
  --nav-h: 72px;
  /* 타이포 스케일 */
  --fs-h1: clamp(2.5rem, 5.4vw, 4.6rem);
  --fs-h2: clamp(2rem, 3.9vw, 3.5rem);
  --fs-h3: clamp(1.7rem, 2.8vw, 2.6rem);
  --fs-lead: clamp(1.05rem, 1.35vw, 1.25rem);
  --sec: clamp(80px, 9vw, 128px);
}

/* ---------- 리셋 ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

body.menu-open {
  overflow: hidden;
}

img,
video,
svg {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
figcaption {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(36, 87, 240, .18);
  color: var(--brand-700);
}

section[id],
footer[id] {
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

/* ---------- 레이아웃 / 공통 ---------- */

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

.section {
  padding: var(--sec) 0;
}

.bg-soft {
  background: var(--s-50);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}

.eyebrow-light {
  color: var(--brand-glow);
}

.h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--ink);
}

.h3 {
  font-size: var(--fs-h3);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.lead {
  font-size: var(--fs-lead);
  color: var(--s-600);
  line-height: 1.8;
  margin-top: 22px;
}

.lead b,
.hero-lead b {
  font-weight: 700;
  color: var(--ink);
}

.grad {
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 45%, var(--sky) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.grad-light {
  background: linear-gradient(120deg, var(--sky) 0%, #a6dbff 50%, #e6f5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.sec-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.sec-head.center {
  align-items: center;
  text-align: center;
}

.sec-desc {
  max-width: 460px;
  color: var(--s-600);
  font-size: 1.05rem;
  line-height: 1.75;
}

.sec-desc-light {
  color: var(--tx-dark-mid);
}

@media (min-width: 900px) {
  .sec-head:not(.center) {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
  }

  .sec-head:not(.center) .sec-desc {
    padding-bottom: 6px;
  }
}

/* 버튼 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, box-shadow .25s ease, transform .25s ease, border-color .2s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn-sm {
  padding: 10px 18px;
  font-size: .9rem;
}

.btn-brand {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-brand:hover,
.btn-brand:focus-visible {
  background: var(--brand-700);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--s-200);
}

.btn-white:hover,
.btn-white:focus-visible {
  color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, .16);
}

/* 체크 리스트 */

.checks li {
  position: relative;
  padding-left: 30px;
  color: var(--s-700);
  font-size: .95rem;
  line-height: 1.55;
}

.checks li + li {
  margin-top: 10px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--brand-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232457f0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

/* 점 */

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}

.dot-live {
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .5);
  animation: pulse 2s ease-out infinite;
}

/* 블롭 */

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

/* ---------- 탑바 ---------- */

.topbar {
  display: none;
  background: var(--ink);
  color: var(--s-300);
  font-size: .75rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  gap: 16px;
}

.tb-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tb-group a:hover {
  color: #fff;
}

.tb-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tb-sep {
  color: var(--s-600);
}

.topbar .tb-strong {
  color: #fff;
  font-weight: 600;
}

@media (min-width: 768px) {
  .topbar {
    display: block;
  }
}

/* ---------- 네비게이션 ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, .7);
  transition: box-shadow .25s ease;
}

.nav.is-scrolled {
  box-shadow: var(--shadow-soft);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 26px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 34px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--s-700);
}

.nav-link {
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--brand);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand);
  transform: translateX(-50%) scaleX(0);
  transition: transform .25s ease;
}

.nav-link.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  display: none;
  padding: 11px 20px;
  font-size: .92rem;
}

.menu-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--s-200);
  color: var(--ink);
  background: #fff;
}

.menu-btn svg {
  width: 20px;
  height: 20px;
}

.menu-btn .ic-close {
  display: none;
}

.menu-btn[aria-expanded="true"] .ic-open {
  display: none;
}

.menu-btn[aria-expanded="true"] .ic-close {
  display: block;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  padding: 12px 0 20px;
  font-weight: 600;
  color: var(--s-700);
}

.nav-mobile-inner a:not(.btn) {
  padding: 12px 4px;
  border-bottom: 1px solid var(--s-100);
}

.nav-mobile-inner a:not(.btn):hover {
  color: var(--brand);
}

.nav-mobile-inner .btn {
  margin-top: 16px;
}

@media (min-width: 768px) {
  .nav-cta {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .menu-btn,
  .nav-mobile {
    display: none !important;
  }
}

/* ---------- 히어로 ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 420px at 8% 0%, rgba(36, 87, 240, .10), transparent 70%),
    radial-gradient(900px 520px at 92% 100%, rgba(93, 195, 255, .18), transparent 70%),
    #fff;
}

.blob-a {
  width: 520px;
  height: 520px;
  top: -200px;
  left: -140px;
  background: rgba(36, 87, 240, .22);
}

.blob-b {
  width: 460px;
  height: 460px;
  bottom: -180px;
  right: -120px;
  background: rgba(93, 195, 255, .30);
}

.hero-copy {
  min-width: 0;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(36, 87, 240, .2);
  box-shadow: var(--shadow-soft);
  color: var(--brand);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.pill .dot {
  animation: pulse 2s ease-out infinite;
}

.hero-title {
  margin-top: 26px;
  font-size: var(--fs-h1);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.06;
  color: var(--ink);
}

.hero-lead {
  margin-top: 26px;
  max-width: 560px;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.8;
  color: var(--s-600);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--s-200);
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--s-600);
}

.trust li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--brand-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232457f0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
  flex: none;
}

/* 히어로 비주얼 */

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.hero-glow {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: conic-gradient(from 180deg at 50% 50%, #dbeafe 0deg, var(--brand) 120deg, var(--sky) 240deg, #dbeafe 360deg);
  filter: blur(56px);
  opacity: .5;
  pointer-events: none;
}

.hero-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--s-200);
  box-shadow: 0 40px 80px -30px rgba(15, 23, 42, .45);
  transform: translateZ(0);
}

.hero-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0) 55%, rgba(11, 18, 32, .55) 100%);
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 18px 40px -16px rgba(15, 23, 42, .3);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.fc-a {
  left: -24px;
  top: 32px;
}

.fc-b {
  right: -24px;
  bottom: 44px;
  animation-delay: -3s;
}

.fc-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}

.fc-icon.green {
  background: #ecfdf5;
  color: #059669;
}

.fc-icon svg {
  width: 22px;
  height: 22px;
}

.fc-label {
  font-size: .74rem;
  color: var(--s-500);
}

.fc-val {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.fc-val span {
  color: var(--brand);
  font-size: .95rem;
  margin-left: 2px;
}

@media (max-width: 639.98px) {
  .float-card {
    padding: 10px 14px;
    gap: 10px;
  }

  .fc-a {
    left: 10px;
    top: 14px;
  }

  .fc-b {
    right: 10px;
    bottom: 54px;
  }

  .fc-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .fc-val {
    font-size: 1.05rem;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 48px;
  }

  .hero-frame {
    aspect-ratio: 1 / 1;
  }

  .hero-visual {
    margin-right: 0;
  }
}

/* 통계 */

.stats-wrap {
  position: relative;
  padding-bottom: clamp(40px, 5vw, 64px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, .8);
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
}

.stat-num {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat-unit {
  color: var(--brand);
  font-size: .6em;
  margin-left: 2px;
  font-weight: 800;
}

.stat-label {
  margin-top: 8px;
  font-size: .85rem;
  color: var(--s-500);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .stat {
    padding: 24px 26px;
  }
}

/* ---------- 저널 마퀴 ---------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 18px 0;
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.marquee-label {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--s-500);
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.marquee-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-right: 56px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--s-400);
  white-space: nowrap;
}

.marquee-track span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--s-300);
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@media (max-width: 639.98px) {
  .marquee-label {
    display: none;
  }
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.brand-card {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(60% 45% at 50% 42%, rgba(36, 87, 240, .55), transparent 72%),
    linear-gradient(180deg, #121c3a 0%, var(--footer) 100%);
  box-shadow: 0 40px 80px -30px rgba(15, 23, 42, .45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 30%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 45%, #000 30%, transparent 75%);
}

.brand-mark {
  position: relative;
  width: 40%;
  margin-top: -10%;
  filter: drop-shadow(0 20px 40px rgba(93, 195, 255, .45)) brightness(1.15);
  animation: float 7s ease-in-out infinite;
}

.brand-card-text {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: #fff;
}

.brand-card-kicker {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--brand-glow);
  margin-bottom: 8px;
}

.brand-card-text p:last-child {
  font-size: .95rem;
  color: var(--tx-dark-mid);
  line-height: 1.6;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 36px;
}

.mini {
  padding: 22px 22px 20px;
  border-radius: 20px;
  background: var(--s-50);
  border: 1px solid var(--s-200);
}

.mini-brand {
  background: var(--brand-soft);
  border-color: rgba(36, 87, 240, .12);
}

.mini-num {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.mini-brand .mini-num {
  color: var(--brand);
}

.mini-title {
  margin-top: 8px;
  font-weight: 700;
  color: var(--ink);
}

.mini-desc {
  margin-top: 4px;
  font-size: .9rem;
  color: var(--s-600);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .mini-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 72px;
  }
}

/* ---------- Services ---------- */

.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.svc-card {
  position: relative;
  overflow: hidden;
  padding: 32px 30px 30px;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--s-200);
  box-shadow: var(--shadow-soft);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(36, 87, 240, .25);
}

.svc-wm {
  position: absolute;
  top: -22px;
  right: -8px;
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  color: rgba(36, 87, 240, .06);
  user-select: none;
  pointer-events: none;
}

.svc-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 22px;
}

.svc-icon svg {
  width: 26px;
  height: 26px;
}

.svc-tag {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--brand);
}

.svc-title {
  margin-top: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}

.svc-desc {
  margin-top: 12px;
  font-size: .95rem;
  color: var(--s-600);
  line-height: 1.7;
}

.svc-card .checks {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--s-100);
}

@media (min-width: 768px) {
  .svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 다크 밴드 ---------- */

.band-dark {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.band-dark .h2,
.band-dark .h3 {
  color: #fff;
}

.blob-dark {
  width: 640px;
  height: 640px;
  top: -300px;
  left: 20%;
  background: rgba(36, 87, 240, .26);
}

/* ---------- Products ---------- */

.prod-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.prod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s ease, background .35s ease;
}

.prod-card:hover {
  transform: translateY(-6px);
  border-color: rgba(93, 195, 255, .45);
  background: rgba(255, 255, 255, .06);
}

.prod-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.prod-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.prod-card:hover .prod-media img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  color: var(--brand);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.prod-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prod-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.prod-desc {
  margin-top: 10px;
  font-size: .95rem;
  color: var(--tx-dark-mid);
  line-height: 1.7;
  flex: 1;
}

.prod-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--brand-glow);
  transition: gap .2s ease;
}

.prod-link svg {
  width: 15px;
  height: 15px;
}

.prod-card:hover .prod-link {
  gap: 10px;
}

.prod-note {
  display: inline-flex;
  margin-top: 20px;
  font-size: .85rem;
  color: var(--tx-dark-low);
}

@media (min-width: 768px) {
  .prod-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Leadership ---------- */

.lead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.profile-card {
  position: relative;
  overflow: hidden;
  padding: 32px 28px;
  border-radius: var(--r-xl);
  background: var(--s-50);
  border: 1px solid var(--s-200);
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(36, 87, 240, .08), transparent);
  pointer-events: none;
}

.profile-photo {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--s-200), 0 16px 32px -16px rgba(15, 23, 42, .35);
}

.profile-role {
  margin-top: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
}

.profile-name {
  margin-top: 6px;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}

.profile-name span {
  display: block;
  margin-top: 2px;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--s-500);
}

.profile-sub {
  margin-top: 26px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--s-500);
}

.edu {
  margin-top: 10px;
}

.edu li {
  padding: 10px 0;
  border-bottom: 1px solid var(--s-200);
  font-size: .95rem;
  color: var(--s-700);
}

.edu li:last-child {
  border-bottom: 0;
}

.edu li span {
  margin-left: 8px;
  font-size: .8rem;
  color: var(--s-500);
}

.profile-card .btn {
  margin-top: 22px;
}

.pubs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.h4 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8em;
  height: 1.8em;
  padding: 0 .4em;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .85em;
  font-weight: 800;
}

.pubs-head p {
  font-size: .9rem;
  color: var(--s-500);
}

.pubs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.pub {
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--s-200);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.pub:hover {
  border-color: rgba(36, 87, 240, .35);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.pub-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pub-journal {
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
}

.pub-year {
  font-size: .75rem;
  font-weight: 600;
  color: var(--s-500);
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--s-100);
  flex: none;
}

.pub-title {
  margin-top: 6px;
  font-size: .86rem;
  color: var(--s-600);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .pubs {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .lead-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 40px;
  }
}

/* ---------- History ---------- */

.hist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.hist-side .sec-desc {
  margin-top: 20px;
}

.tl {
  position: relative;
}

.tl-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-bottom: 32px;
}

.tl-row:last-child {
  padding-bottom: 0;
}

.tl-year {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.tl-marker {
  display: none;
}

.tl-card {
  padding: 22px 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--s-200);
  box-shadow: var(--shadow-soft);
}

.tl-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 28px;
}

.tl-items li {
  position: relative;
  padding-left: 16px;
  font-size: .95rem;
  color: var(--s-700);
  line-height: 1.55;
}

.tl-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .7;
}

@media (min-width: 640px) {
  .tl-items {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .tl-row {
    grid-template-columns: 92px 32px 1fr;
    gap: 0 16px;
    padding-bottom: 40px;
  }

  .tl-year {
    padding-top: 4px;
    font-size: 1.9rem;
  }

  .tl-marker {
    display: block;
    position: relative;
  }

  .tl-marker::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--brand);
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px var(--s-50), 0 0 0 5px rgba(36, 87, 240, .35);
    z-index: 1;
  }

  .tl-marker::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 24px;
    bottom: -40px;
    width: 2px;
    background: rgba(36, 87, 240, .15);
    transform: translateX(-50%);
  }

  .tl-row:last-child .tl-marker::after {
    display: none;
  }
}

@media (min-width: 1024px) {
  .hist-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 64px;
  }

  .hist-side .sticky {
    position: sticky;
    top: calc(var(--nav-h) + 40px);
  }
}

/* ---------- Certification ---------- */

.cert-grid {
  display: flex;
  gap: 14px;
  max-width: 1040px;
  margin: 0 -24px;
  padding: 4px 24px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cert-grid::-webkit-scrollbar {
  display: none;
}

.cert-grid .cert {
  flex: 0 0 74%;
  scroll-snap-align: center;
}

.cert {
  padding: 18px 18px 20px;
  border-radius: var(--r-lg);
  background: var(--s-50);
  border: 1px solid var(--s-200);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

.cert:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.cert img {
  width: 100%;
  border-radius: 12px;
}

.cert figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
}

@media (min-width: 640px) {
  .cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
  }

  .cert-grid .cert {
    flex: none;
  }
}

/* ---------- CTA ---------- */

.cta {
  padding: clamp(72px, 8vw, 104px) 0;
}

.blob-cta-a {
  width: 520px;
  height: 520px;
  top: -200px;
  right: -160px;
  background: rgba(36, 87, 240, .4);
}

.blob-cta-b {
  width: 420px;
  height: 420px;
  bottom: -200px;
  left: -80px;
  background: rgba(93, 195, 255, .22);
}

.cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cta p {
  margin-top: 18px;
  max-width: 560px;
  color: var(--tx-dark-mid);
  font-size: 1.05rem;
  line-height: 1.75;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 900px) {
  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }
}

/* ---------- Footer ---------- */

.footer {
  background: var(--footer);
  color: var(--tx-dark-low);
  padding: 64px 0 36px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}

.foot-logo {
  height: 24px;
  width: auto;
}

.foot-brand p {
  margin-top: 20px;
  max-width: 420px;
  font-size: .92rem;
  line-height: 1.75;
  color: var(--tx-dark-mid);
}

.foot-col h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.foot-col li {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--tx-dark-mid);
}

.foot-col li + li {
  margin-top: 9px;
}

.foot-col a:hover {
  color: #fff;
}

.foot-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 28px;
  font-size: .78rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .foot-grid {
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 40px;
  }

  .foot-brand {
    grid-column: auto;
  }

  .foot-legal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---------- 모바일 플로팅 버튼 ---------- */

.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  box-shadow: var(--shadow-brand);
}

.fab svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 768px) {
  .fab {
    display: none;
  }
}

/* ---------- 애니메이션 ---------- */

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(36, 87, 240, .45);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(36, 87, 240, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(36, 87, 240, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .float-card,
  .brand-mark,
  .marquee-track,
  .pill .dot,
  .dot-live {
    animation: none;
  }

  .svc-card,
  .prod-card,
  .pub,
  .cert,
  .btn {
    transition: none;
  }
}
