/* =========================================================
   CONNECTLY — style.css
   다크 테마 · 바이올렛→시안 포인트 · Pretendard
   ========================================================= */

:root {
  --bg: #0b0d12;
  --bg-2: #10131b;
  --surface: #141823;
  --surface-2: #1a1f2d;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eef0f6;
  --text-2: #b4bac8;
  --muted: #7f879a;
  --accent: #8b6cff;
  --accent-2: #22d3ee;
  --accent-soft: rgba(139, 108, 255, 0.16);
  --ok: #34d399;
  --warn: #fbbf24;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-card: 20px;   /* 카드: About·제품·역량·문의 폼 */
  --radius-tile: 12px;   /* 카드 안 타일: 숫자·사실·역량 */
  --container: 1160px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* ---- 모션 토큰 (M3 Expressive 스프링을 CSS 이징으로 옮김) ----
     spatial: 위치·크기·회전 (살짝 넘겼다 돌아옴) / effects: 색·투명도 (넘기지 않음)
     linear() 미지원 브라우저용 기본값. 지원 브라우저는 아래 @supports 블록이 덮어씀. */
  --m-expressive-spatial-fast: cubic-bezier(0.3, 1.4, 0.5, 1);
  --m-expressive-spatial-default: cubic-bezier(0.34, 1.15, 0.64, 1);
  --m-expressive-spatial-slow: cubic-bezier(0.34, 1.15, 0.64, 1);
  --m-standard-spatial-fast: cubic-bezier(0.2, 0, 0, 1);
  --m-standard-spatial-default: cubic-bezier(0.2, 0, 0, 1);
  --m-standard-spatial-slow: cubic-bezier(0.2, 0, 0, 1);
  --m-effects-fast: cubic-bezier(0.3, 0, 0.1, 1);
  --m-effects-default: cubic-bezier(0.3, 0, 0.1, 1);
  --m-effects-slow: cubic-bezier(0.3, 0, 0.1, 1);
  --m-expressive-spatial-fast-ms: 350ms;
  --m-expressive-spatial-default-ms: 420ms;
  --m-expressive-spatial-slow-ms: 570ms;
  --m-standard-spatial-fast-ms: 160ms;
  --m-standard-spatial-default-ms: 220ms;
  --m-standard-spatial-slow-ms: 340ms;
  --m-effects-fast-ms: 140ms;
  --m-effects-default-ms: 220ms;
  --m-effects-slow-ms: 300ms;
  --m-reveal-ms: 560ms;
}
@supports (animation-timing-function: linear(0, 1)) {
  :root {
  --m-expressive-spatial-fast: linear(0, 0.072, 0.238, 0.44, 0.638, 0.806, 0.934, 1.021, 1.071, 1.092, 1.093, 1.081, 1.063, 1.044, 1.026, 1.012, 1.002, 0.995, 0.992, 0.991, 0.992, 0.993, 0.995, 0.997, 1);
  --m-expressive-spatial-default: linear(0, 0.048, 0.161, 0.301, 0.444, 0.576, 0.69, 0.784, 0.858, 0.913, 0.953, 0.98, 0.997, 1.008, 1.013, 1.015, 1.015, 1.013, 1.011, 1.009, 1.007, 1.005, 1.004, 1.003, 1);
  --m-expressive-spatial-slow: linear(0, 0.047, 0.157, 0.294, 0.435, 0.567, 0.681, 0.775, 0.85, 0.906, 0.947, 0.976, 0.995, 1.006, 1.012, 1.015, 1.015, 1.014, 1.012, 1.01, 1.008, 1.006, 1.004, 1.003, 1);
  --m-standard-spatial-fast: linear(0, 0.027, 0.092, 0.18, 0.276, 0.374, 0.467, 0.554, 0.631, 0.699, 0.757, 0.806, 0.848, 0.881, 0.909, 0.931, 0.949, 0.962, 0.973, 0.981, 0.987, 0.992, 0.995, 0.998, 1);
  --m-standard-spatial-default: linear(0, 0.025, 0.088, 0.172, 0.265, 0.36, 0.452, 0.538, 0.615, 0.683, 0.742, 0.792, 0.835, 0.87, 0.899, 0.922, 0.941, 0.956, 0.968, 0.977, 0.984, 0.989, 0.993, 0.996, 1);
  --m-standard-spatial-slow: linear(0, 0.026, 0.09, 0.175, 0.27, 0.366, 0.459, 0.544, 0.622, 0.689, 0.748, 0.798, 0.84, 0.875, 0.903, 0.926, 0.944, 0.959, 0.97, 0.979, 0.985, 0.99, 0.994, 0.997, 1);
  --m-effects-fast: linear(0, 0.162, 0.421, 0.635, 0.782, 0.874, 0.929, 0.961, 0.979, 0.988, 0.994, 0.997, 1);
  --m-effects-default: linear(0, 0.167, 0.431, 0.645, 0.791, 0.881, 0.934, 0.964, 0.981, 0.99, 0.995, 0.997, 1);
  --m-effects-slow: linear(0, 0.158, 0.413, 0.626, 0.774, 0.868, 0.925, 0.958, 0.977, 0.987, 0.993, 0.996, 1);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
svg { display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
@media (max-width: 768px) { .section { padding: 80px 0; } }

/* ---------- 공통 타이포 ---------- */
.section__head { max-width: 680px; margin-bottom: 56px; }
.section__label {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 14px;
}
.section__title {
  font-size: clamp(28px, 3.8vw, 42px); font-weight: 800; line-height: 1.2; letter-spacing: -0.03em; text-wrap: balance;
  margin-bottom: 18px;
}
.section__desc { font-size: 17px; color: var(--text-2); line-height: 1.75; }
.gradient-text {
  background: linear-gradient(92deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.todo {
  color: var(--warn); border-bottom: 1px dashed var(--warn); font-size: 0.92em;
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition:
    transform var(--m-expressive-spatial-fast-ms) var(--m-expressive-spatial-fast),
    background var(--m-effects-fast-ms) var(--m-effects-fast),
    border-color var(--m-effects-fast-ms) var(--m-effects-fast),
    box-shadow var(--m-effects-default-ms) var(--m-effects-default);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.96); transition-duration: 90ms; }
.btn--primary {
  color: #fff;
  background: linear-gradient(92deg, var(--accent) 0%, #6d4dff 100%);
  box-shadow: 0 8px 24px rgba(139, 108, 255, 0.28);
}
.btn--primary:hover { box-shadow: 0 12px 32px rgba(139, 108, 255, 0.4); }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--text); background: rgba(255,255,255,0.02); }
.btn--ghost:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-2); font-size: 15px;
}
.link-arrow::after { content: "→"; transition: transform var(--m-expressive-spatial-fast-ms) var(--m-expressive-spatial-fast); }
.link-arrow:hover::after { transform: translateX(4px); }

.badge {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  background: rgba(255,255,255,0.06); color: var(--text-2); border: 1px solid var(--border);
}
.badge--soon { color: var(--warn); background: rgba(251,191,36,0.1); border-color: rgba(251,191,36,0.25); }
.badge--live { color: var(--ok); background: rgba(52,211,153,0.1); border-color: rgba(52,211,153,0.25); }

/* ---------- 헤더 ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  transition: background 0.3s, border-color 0.3s, opacity var(--m-effects-slow-ms) var(--m-effects-slow);
  border-bottom: 1px solid transparent;
}
body.is-intro { overflow: hidden; }
body.is-intro .header { opacity: 0; }
/* 모바일 메뉴가 열린 동안: 블러를 끄고(고정 메뉴의 기준 상자가 헤더로 바뀌는 것을 방지) 불투명 배경 */
body.nav-open .header, body.nav-open .header.is-scrolled {
  background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: var(--border);
}
.header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; }
.logo__img { height: 20px; width: auto; }
.logo__img--footer { height: 18px; opacity: 0.9; }
.header__right { display: flex; align-items: center; gap: 6px; }
.lang { position: relative; display: inline-flex; align-items: center; gap: 2px; margin-left: 10px; }
.lang__btn {
  position: relative; z-index: 1; height: 32px; padding: 0 9px; border-radius: 8px; font-family: inherit;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted);
  background: transparent; border: 0; cursor: pointer; transition: color var(--m-effects-default-ms) var(--m-effects-default);
}
.lang__btn:hover, .lang__btn.is-active { color: var(--text); }
.lang__sep { width: 1px; height: 12px; background: var(--border-strong); }
.lang__pill {
  position: absolute; left: 0; top: 0; height: 32px; width: 0; border-radius: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid var(--border); pointer-events: none; opacity: 0;
}
.lang__pill.is-ready {
  opacity: 1;
  transition: transform var(--m-expressive-spatial-fast-ms) var(--m-expressive-spatial-fast), width var(--m-expressive-spatial-fast-ms) var(--m-expressive-spatial-fast);
}
/* 언어 전환: 본문이 짧게 사라졌다 나타남 (fade-through) */
main, .footer { transition: opacity var(--m-effects-fast-ms) var(--m-effects-fast); }
body.is-lang-switching main, body.is-lang-switching .footer { opacity: 0; }

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav__link--cta {
  margin-left: 8px; color: #fff; background: rgba(139,108,255,0.18); border: 1px solid rgba(139,108,255,0.4);
}
.nav__link--cta:hover { background: rgba(139,108,255,0.3); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .lang { margin-left: 0; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    overflow-y: auto; background: var(--bg); z-index: 99;
    padding: 24px; transform: translateY(-16px); opacity: 0; pointer-events: none;
    transition: opacity var(--m-effects-default-ms) var(--m-effects-default), transform var(--m-expressive-spatial-default-ms) var(--m-expressive-spatial-default);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__list li { opacity: 0; transform: translateY(-10px); transition: opacity var(--m-effects-default-ms) var(--m-effects-default), transform var(--m-expressive-spatial-default-ms) var(--m-expressive-spatial-default); }
  .nav.is-open .nav__list li { opacity: 1; transform: none; }
  .nav.is-open .nav__list li:nth-child(1) { transition-delay: 40ms; }
  .nav.is-open .nav__list li:nth-child(2) { transition-delay: 80ms; }
  .nav.is-open .nav__list li:nth-child(3) { transition-delay: 120ms; }
  .nav.is-open .nav__list li:nth-child(4) { transition-delay: 160ms; }
  .nav.is-open .nav__list li:nth-child(5) { transition-delay: 200ms; }
  .nav.is-open .nav__list li:nth-child(6) { transition-delay: 240ms; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 6px; }
  .nav__link { height: 52px; font-size: 18px; padding: 0 16px; }
  .nav__link--cta { margin: 12px 0 0; justify-content: center; }
}

/* ---------- 히어로 ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 96px) 0 96px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.hero__glow--1 { width: 620px; height: 620px; left: -160px; top: -120px; background: radial-gradient(circle, rgba(139,108,255,0.55), transparent 65%); }
.hero__glow--2 { width: 520px; height: 520px; right: -120px; top: 140px; background: radial-gradient(circle, rgba(34,211,238,0.35), transparent 65%); }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
}
/* 배경 ∞ 고리와 도는 빛 */
.hero__loop {
  position: absolute; left: 50%; top: 50%; width: min(78vw, 960px); height: auto; overflow: visible;
  transform: translate(-50%, -52%);
}
.hero__loop path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hero__loop-base { stroke: rgba(255,255,255,0.075); stroke-width: 8; }
.hero__loop-glow, .hero__loop-light {
  stroke: url(#heroLoopGrad);
  stroke-dasharray: calc(var(--loop-len) * 0.26px) calc(var(--loop-len) * 0.74px);
  animation: hero-flow 20s linear infinite;
}
.hero__loop-glow { stroke-width: 20; opacity: 0.34; filter: url(#heroLoopBlur); }
.hero__loop-light { stroke-width: 4.5; opacity: 0.72; }
@keyframes hero-flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: calc(var(--loop-len) * -1px); } }
/* 글로우 드리프트: 아주 느리게 자리를 옮기며 배경색이 돈다 */
.hero__glow--1 { animation: hero-drift-1 28s ease-in-out infinite alternate; }
.hero__glow--2 { animation: hero-drift-2 34s ease-in-out infinite alternate; }
@keyframes hero-drift-1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(90px, 60px) scale(1.12); } }
@keyframes hero-drift-2 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-80px, -50px) scale(1.1); } }
/* 화면 밖이면 멈춤 */
.hero.is-offscreen .hero__loop path, .hero.is-offscreen .hero__glow { animation-play-state: paused; }
@media (max-width: 600px) { .hero__loop { width: 120vw; transform: translate(-50%, -50%); } .hero__loop-base { stroke-width: 7; } }
.hero__inner { position: relative; z-index: 1; text-align: center; }
/* 글이 놓인 자리만 뒤를 살짝 어둡게: 고리 밝기는 그대로 두고 글만 또렷하게 */
.hero__inner::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(110%, 1040px); height: 140%;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, color-mix(in srgb, var(--bg) 82%, transparent) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 42%, transparent 72%);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--text-2);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); margin-bottom: 28px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(34,211,238,0.18); }
.hero__title {
  font-size: clamp(36px, 5.8vw, 66px); font-weight: 800; line-height: 1.12; letter-spacing: -0.04em; margin: 0 auto 24px; max-width: 900px; text-wrap: balance;
}
.hero__desc { max-width: 640px; margin: 0 auto 36px; font-size: 18px; color: color-mix(in srgb, var(--text) 84%, var(--text-2)); line-height: 1.75; text-shadow: 0 1px 18px rgba(0,0,0,0.45); }
.hero__desc strong { color: var(--text); font-weight: 700; }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 768px) {
  .hero { padding-top: calc(var(--header-h) + 64px); padding-bottom: 64px; }
}

/* ---------- About ---------- */
.about { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 56px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden;
}
.stat { background: var(--bg-2); padding: 28px 24px; }
.stat__num { display: block; font-size: 42px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat__num em { font-style: normal; color: var(--accent-2); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* 오도미터: 자릿수가 아래에서 굴러 올라옴 */
.odo { display: inline-flex; vertical-align: top; }
.odo__col { display: block; height: 1.1em; overflow: hidden; }
.odo__roll { display: block; will-change: transform; }
.odo__d { display: block; height: 1.1em; line-height: 1.1; }
.odo__sep { display: block; height: 1.1em; line-height: 1.1; }
.stat__num em, .capability__tiles strong em { display: inline-block; transition: opacity var(--m-effects-default-ms) var(--m-effects-default), transform var(--m-expressive-spatial-fast-ms) var(--m-expressive-spatial-fast); }
.stat__num.is-pending em, .capability__tiles strong.is-pending em { opacity: 0; transform: translateY(0.3em) scale(0.6); }
.stat__label { font-size: 14px; color: var(--muted); }
@media (max-width: 768px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat__num { font-size: 32px; } }

.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about__card {
  padding: 32px 28px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--border);
  transition: transform var(--m-expressive-spatial-default-ms) var(--m-expressive-spatial-default), border-color var(--m-effects-default-ms) var(--m-effects-default);
}
.about__card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.about__icon {
  display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 20px;
}
.about__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.about__card h3 { font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 10px; }
.about__card p { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

/* ---------- What we build ---------- */
.build__list { display: flex; flex-direction: column; gap: 24px; }
.product {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  padding: 40px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--border);
  transition: transform var(--m-expressive-spatial-default-ms) var(--m-expressive-spatial-default), border-color var(--m-effects-default-ms) var(--m-effects-default), background var(--m-effects-default-ms) var(--m-effects-default);
}
.product:hover { transform: translateY(-2px); border-color: var(--border-strong); background: var(--surface-2); }
.product__main { min-width: 0; }
.product__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.product:nth-child(even) .product__shot { order: -1; }
.product__num { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); }
.product__title { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.product__title small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }
.product__desc { color: var(--text-2); font-size: 16px; margin-bottom: 20px; max-width: 720px; }
.product__features { display: grid; grid-template-columns: 1fr; gap: 10px 24px; margin-bottom: 22px; }
.product__features li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--text-2); }
.product__features li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; gap: 24px; }
  .product:nth-child(even) .product__shot { order: 0; }
}
@media (max-width: 768px) {
  .product { padding: 28px 22px; }
  .product__title { font-size: 24px; }
}

/* ---------- 역량 띠 (04 Commerce Engineering) ---------- */
.capability {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center;
  padding: 36px 40px; border-radius: var(--radius-card); border: 1px dashed var(--border-strong);
  background: linear-gradient(135deg, rgba(139,108,255,0.07), rgba(34,211,238,0.05)), var(--bg-2);
}
.capability__text .product__desc { margin-bottom: 0; }
.capability__tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.capability__tiles li {
  padding: 18px 18px 16px; border-radius: var(--radius-tile); background: rgba(255,255,255,0.035); border: 1px solid var(--border);
  transition: transform var(--m-expressive-spatial-default-ms) var(--m-expressive-spatial-default), border-color var(--m-effects-default-ms) var(--m-effects-default);
}
.capability__tiles li:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.capability__tiles strong { display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.capability__tiles strong em { font-style: normal; color: var(--accent-2); }
.capability__tiles li > span { font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
@media (max-width: 900px) { .capability { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; } }
@media (max-width: 480px) { .capability__tiles { grid-template-columns: 1fr; } }

/* ---------- 제품 목업 화면 (HTML/CSS, 예시 데이터) ---------- */
.product__shot { margin: 0; min-width: 0; perspective: 1400px; }
.shot {
  font-size: 11.5px; line-height: 1.4; color: var(--text-2); letter-spacing: 0;
  border-radius: 14px; border: 1px solid var(--border-strong); background: var(--bg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.02) inset;
  padding: 0 0 12px; overflow: hidden;
  transition: transform var(--m-expressive-spatial-slow-ms) var(--m-expressive-spatial-slow), box-shadow var(--m-effects-slow-ms) var(--m-effects-slow);
}
.product__shot:hover .shot { transform: rotateX(1.2deg) rotateY(-1.6deg) translateY(-3px); box-shadow: 0 32px 70px rgba(0,0,0,0.45), 0 0 0 1px rgba(139,108,255,0.25) inset; }
.product:nth-child(even) .product__shot:hover .shot { transform: rotateX(1.2deg) rotateY(1.6deg) translateY(-3px); }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.03); }
.shot__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.shot__bar b { margin-left: 8px; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.shot__note { margin-top: 10px; font-size: 11.5px; color: var(--muted); text-align: right; letter-spacing: 0.02em; }
.shot__panel { margin: 10px 12px 0; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,0.025); padding: 8px 10px; }
.shot__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.shot__head b { font-size: 12px; font-weight: 700; color: var(--text); }
.shot__pill { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; color: var(--accent-2); background: rgba(34,211,238,0.12); border: 1px solid rgba(34,211,238,0.25); }
.shot__pill.is-warn { color: var(--warn); background: rgba(251,191,36,0.12); border-color: rgba(251,191,36,0.28); }
.shot__row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); }
.shot__row + .shot__row { margin-top: 5px; }
.shot__row code { font-family: ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace; font-size: 10px; color: var(--muted); flex: 0 0 auto; }
.shot__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--text); }
.shot__row time { font-size: 10.5px; color: var(--muted); flex: 0 0 auto; }
.shot__dots { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); flex: 0 0 auto; margin-right: 14px; }
.shot__dots.d1 { margin-right: 0; }
.shot__dots.d2 { box-shadow: 8px 0 0 var(--accent-2); margin-right: 8px; }
.shot__dots.d3 { box-shadow: 8px 0 0 var(--accent-2), 16px 0 0 var(--accent-2); }
.shot__badge { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px; color: #f87171; background: rgba(248,113,113,0.12); flex: 0 0 auto; }
.shot__tag { font-size: 10px; color: var(--muted); letter-spacing: 0.04em; flex: 0 0 auto; }
.shot__state { font-size: 10px; padding: 1px 6px; border-radius: 4px; color: var(--text-2); background: rgba(255,255,255,0.06); flex: 0 0 auto; }
.shot__stats, .shot__kpis { display: grid; gap: 8px; margin: 12px 12px 0; }
.shot__stats { grid-template-columns: repeat(3, 1fr); }
.shot__kpis { grid-template-columns: repeat(3, 1fr); }
.shot__stats > div, .shot__kpis > div { padding: 8px 10px; border-radius: 9px; border: 1px solid var(--border); background: rgba(255,255,255,0.03); }
.shot__stats small, .shot__kpis small, .shot__pair small { display: block; font-size: 10.5px; color: var(--muted); margin-bottom: 2px; }
.shot__stats strong, .shot__kpis strong, .shot__pair strong { font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; }
.shot__stats strong.ok { color: var(--ok); }
.shot__kpis > div.is-warn { border-color: rgba(248,113,113,0.3); }
.shot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 12px 0; }
.shot__cols .shot__panel { margin: 0; }
.shot__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.shot__pair > div { padding: 6px 8px; border-radius: 7px; background: rgba(255,255,255,0.04); }
.shot__delta { display: inline-block; margin-top: 6px; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.shot__delta.is-up { color: var(--ok); background: rgba(52,211,153,0.12); }
.shot__foot { display: flex; align-items: center; gap: 8px; margin: 10px 12px 0; font-size: 10.5px; color: var(--muted); }
.shot__live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(52,211,153,0.18); }
/* 워크 매니지먼트 */
.shot__proj { display: flex; align-items: center; gap: 8px; padding: 10px 12px 0; }
.shot__proj b { font-size: 12.5px; font-weight: 700; color: var(--text); }
.shot__muted { font-size: 10.5px; color: var(--muted); margin-left: auto; }
.shot__chip { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; color: var(--accent-2); background: rgba(34,211,238,0.12); border: 1px solid rgba(34,211,238,0.25); }
.shot__tabs { display: flex; gap: 14px; padding: 8px 12px 0; font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--border); margin: 0 12px; }
.shot__tabs span { padding-bottom: 7px; border-bottom: 2px solid transparent; }
.shot__tabs span.is-on { color: var(--text); border-bottom-color: var(--accent); }
.shot__board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 12px 0; }
.shot__col { min-width: 0; padding: 8px; border-radius: 10px; background: rgba(255,255,255,0.025); border: 1px solid var(--border); }
.shot__colhead { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 11px; }
.shot__colhead b { color: var(--text); font-weight: 700; }
.shot__colhead i { font-style: normal; color: var(--muted); }
.shot__colhead .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.shot__colhead .dot.is-blue { background: var(--accent); }
.shot__colhead .dot.is-green { background: var(--ok); }
.shot__card { padding: 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); }
.shot__card + .shot__card { margin-top: 6px; }
.shot__card > b { display: block; font-size: 11px; font-weight: 600; color: var(--text); margin-bottom: 6px; line-height: 1.35; }
.shot__cardmeta { display: flex; align-items: center; gap: 6px; }
.shot__cardmeta time { margin-left: auto; font-size: 10px; color: var(--muted); }
.shot__avatar { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); flex: 0 0 auto; }
.shot__prog { display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.08); margin-top: 7px; overflow: hidden; }
.shot__prog i { display: block; height: 100%; background: var(--ok); border-radius: 2px; }
/* 등장 모션: 카드가 보이면 행·타일이 차례로 */
.shot__anim { opacity: 0; transform: translateY(8px); }
.product.is-visible .shot__anim { animation: shot-in 520ms var(--m-standard-spatial-slow) both; animation-delay: calc(260ms + var(--i, 0) * 70ms); }
@keyframes shot-in { to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .shot__kpis { grid-template-columns: repeat(2, 1fr); }
  .shot__cols { grid-template-columns: 1fr; }
  .shot__board { grid-template-columns: 1fr 1fr; }
  .shot__board .shot__col:nth-child(3) { display: none; }
  .shot__row code, .shot__tag { display: none; }
}

/* ---------- Why ---------- */
.why { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.why__text { position: sticky; top: calc(var(--header-h) + 40px); }
.why__list { display: flex; flex-direction: column; }
/* 연결 지도: 왼쪽 소개문 아래. 오른쪽 항목이 화면 가운데에 오면 해당 연결선이 켜지고 빛이 흐른다 */
.why__map { margin-top: 36px; max-width: 380px; }
.why__map svg { display: block; width: 100%; height: auto; overflow: visible; }
.why__map-base path { fill: none; stroke: rgba(255,255,255,0.09); stroke-width: 1; }
.why__map-flows .f {
  fill: none; stroke: url(#whyMapGrad); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 10 14; opacity: 0;
  transition: opacity var(--m-effects-slow-ms) var(--m-effects-slow);
}
.why__map.is-1 .f-1, .why__map.is-2 .f-2, .why__map.is-3 .f-3, .why__map.is-4 .f-4 { opacity: 1; animation: why-map-flow 1.4s linear infinite; }
@keyframes why-map-flow { to { stroke-dashoffset: -48; } }
.why__map-center path { fill: none; stroke: rgba(255,255,255,0.45); stroke-width: 30; stroke-linecap: round; transition: stroke var(--m-effects-slow-ms) var(--m-effects-slow); }
.why__map.is-1 .why__map-center path, .why__map.is-2 .why__map-center path, .why__map.is-3 .why__map-center path, .why__map.is-4 .why__map-center path { stroke: #fff; }
.why__map-node .why__map-halo { fill: var(--accent); opacity: 0; transition: opacity var(--m-effects-slow-ms) var(--m-effects-slow); }
.why__map-node .why__map-dot { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1; transition: stroke var(--m-effects-default-ms) var(--m-effects-default), fill var(--m-effects-default-ms) var(--m-effects-default); }
.why__map-node .why__map-glyph { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke var(--m-effects-default-ms) var(--m-effects-default); }
.why__map-node text { font-size: 11.5px; font-weight: 600; fill: var(--muted); letter-spacing: 0.02em; transition: fill var(--m-effects-default-ms) var(--m-effects-default); }
.why__map-node.is-on .why__map-halo { opacity: 0.16; }
.why__map-node.is-on .why__map-dot { stroke: var(--accent-2); fill: color-mix(in srgb, var(--accent) 22%, var(--surface)); }
.why__map-node.is-on .why__map-glyph { stroke: var(--text); }
.why__map-node.is-on text { fill: var(--text); }
@media (max-width: 900px) { .why__map { margin: 28px auto 0; } }
.why__item {
  display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--border);
  transition: opacity var(--m-effects-slow-ms) var(--m-effects-slow);
}
/* 지도와 같은 타이밍: 화면 가운데 항목은 또렷, 나머지는 한 단계 가라앉음 (PC) */
@media (min-width: 901px) {
  .why__list.has-active .why__item:not(.is-active) { opacity: 0.55; }
}
.why__num {
  font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--muted); padding-top: 2px;
  transition: color var(--m-effects-default-ms) var(--m-effects-default), transform var(--m-expressive-spatial-default-ms) var(--m-expressive-spatial-default);
}
.why__item.is-active .why__num { color: var(--accent-2); transform: translateX(2px); }
.why__item h3 { transition: color var(--m-effects-default-ms) var(--m-effects-default); }
.why__item:last-child { border-bottom: 1px solid var(--border); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; margin-top: 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; color: var(--text);
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-strong);
  transition: transform var(--m-expressive-spatial-fast-ms) var(--m-expressive-spatial-fast), border-color var(--m-effects-fast-ms) var(--m-effects-fast), background var(--m-effects-fast-ms) var(--m-effects-fast);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }
.chip:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); }
.chip:active { transform: scale(0.96); }
.why__item h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; line-height: 1.35; }
.why__item p { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 900px) { .why__inner { grid-template-columns: 1fr; gap: 24px; } .why__text { position: static; } }
@media (max-width: 600px) { .why__item { grid-template-columns: 48px 1fr; gap: 14px; } .why__num { font-size: 24px; } }

/* ---------- 연혁 ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--accent), var(--accent-2), transparent); transform-origin: top center; }
@supports (animation-timeline: view()) {
  .timeline::before { animation: tl-draw linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  @keyframes tl-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}
.timeline__item { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 0 0 40px; }
.timeline__item::before {
  content: ""; position: absolute; left: -26px; top: 8px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--border-strong); box-shadow: 0 0 0 4px rgba(139,108,255,0);
  transform: scale(0.6);
  transition: transform var(--m-expressive-spatial-fast-ms) var(--m-expressive-spatial-fast), border-color var(--m-effects-default-ms) var(--m-effects-default), box-shadow var(--m-effects-default-ms) var(--m-effects-default);
}
.timeline__item.is-visible::before { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(139,108,255,0.15); transform: scale(1); transition-delay: 140ms; }
.timeline__item .timeline__year { color: var(--muted); transition: color var(--m-effects-default-ms) var(--m-effects-default) 140ms; }
.timeline__item.is-visible .timeline__year { color: var(--accent-2); }
.timeline__year { font-size: 15px; font-weight: 700; color: var(--accent-2); letter-spacing: 0.04em; padding-top: 2px; }
.timeline__body h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.02em; line-height: 1.35; }
.timeline__body b { color: var(--text); }
.timeline__body p { color: var(--text-2); font-size: 15px; }
.timeline__events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.timeline__events li { position: relative; padding-left: 14px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.timeline__events li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 1px; background: var(--muted); }
@media (max-width: 600px) { .timeline__item { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- 그룹 ---------- */
.group { padding-top: 0; }
.group__card {
  overflow: hidden;
  border-radius: 24px; border: 1px solid var(--border-strong);
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(139,108,255,0.18), transparent 60%),
    radial-gradient(500px 300px at 100% 100%, rgba(34,211,238,0.14), transparent 60%),
    var(--surface);
}
.group__visual { position: relative; margin: 0; aspect-ratio: 21 / 9; max-height: 460px; }
.group__visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.group__visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 18%, transparent) 0%, color-mix(in srgb, var(--bg) 0%, transparent) 35%, color-mix(in srgb, var(--bg) 0%, transparent) 55%, var(--surface) 100%);
}
.group__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 36px 56px 56px; }
/* 세로 배치 변형: 왼쪽 글+숫자, 오른쪽 세로 사진 */
.group__card--side { display: grid; grid-template-columns: 1.15fr 0.85fr; }
.group__card--side .group__body { display: flex; flex-direction: column; gap: 36px; padding: 56px; min-width: 0; }
.group__card--side .group__text .section__desc { margin-bottom: 24px; }
.group__card--side .group__visual { order: 2; aspect-ratio: auto; max-height: none; height: 100%; min-height: 560px; }
.group__card--side .group__visual img { object-position: 26% 50%; }
.group__card--side .group__visual::after {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 0%, transparent) 70%, color-mix(in srgb, var(--surface) 90%, transparent) 92%, var(--surface) 100%),
    linear-gradient(90deg, var(--surface) 0%, color-mix(in srgb, var(--surface) 35%, transparent) 18%, color-mix(in srgb, var(--bg) 0%, transparent) 45%);
}
.group__text .section__desc { margin-bottom: 28px; }
.group__logo { display: block; width: auto; height: 40px; margin: 2px 0 20px; }
.group__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-content: start; }
.group__facts div { padding: 20px; border-radius: var(--radius-tile); background: rgba(255,255,255,0.03); border: 1px solid var(--border); }
.group__facts dt { font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 8px; }
.group__facts dd { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.group__facts dd small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: 4px; }
.group__facts div:nth-child(n+3) dd { font-size: 14.5px; font-weight: 600; color: var(--text-2); }
@media (max-width: 900px) {
  .group__body { grid-template-columns: 1fr; padding: 24px 24px 32px; gap: 28px; }
  .group__logo { height: 32px; margin-bottom: 16px; }
  .group__visual { aspect-ratio: 16 / 10; }
  .group__card--side { grid-template-columns: 1fr; }
  .group__card--side .group__visual { order: 0; height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .group__card--side .group__visual img { object-position: 50% 32%; }
  .group__card--side .group__visual::after { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 18%, transparent) 0%, color-mix(in srgb, var(--bg) 0%, transparent) 35%, color-mix(in srgb, var(--bg) 0%, transparent) 55%, var(--surface) 100%); }
  .group__card--side .group__body { padding: 24px 24px 32px; gap: 28px; }
}
@media (max-width: 600px) { .group__facts { grid-template-columns: 1fr; } }

/* ---------- 문의 ---------- */
.contact { background: var(--bg-2); border-top: 1px solid var(--border); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__list { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.contact__list li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; font-size: 15.5px; color: var(--text-2); }
.contact__list li span { color: var(--muted); font-size: 13px; letter-spacing: 0.04em; padding-top: 2px; }
.contact__list a:hover { color: var(--text); }

.contact__form {
  padding: 36px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.field label em { font-style: normal; color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--text); background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 13px 14px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--surface); }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139,108,255,0.2); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #f87171; }
.field--check { margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text-2); line-height: 1.5; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--accent); }
.check a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.field.is-invalid .check { color: #f87171; }
.form__note { font-size: 13.5px; color: var(--muted); min-height: 1.2em; }
.footer__links { display: flex; gap: 18px; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
/* 개인정보처리방침 등 단일 문서 페이지 */
.legal { padding: calc(var(--header-h) + 64px) 0 96px; }
.legal__inner { max-width: 760px; }
.legal .section__title { margin-bottom: 20px; }
.legal .section__desc { margin-bottom: 40px; }
.legal__sec { padding: 28px 0; border-top: 1px solid var(--border); }
.legal__sec h2 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.legal__sec p, .legal__sec li { color: var(--text-2); font-size: 15.5px; line-height: 1.8; }
.legal__sec ul { padding-left: 18px; margin: 0 0 8px; }
.legal__sec li { list-style: disc; }
.legal__date { margin-top: 10px; color: var(--muted); font-size: 14px; }
@media (max-width: 768px) { .legal { padding: calc(var(--header-h) + 40px) 0 64px; } }
.form__note.is-ok { color: var(--ok); }
.form__note.is-err { color: #f87171; }
@media (max-width: 900px) { .contact__inner { grid-template-columns: 1fr; gap: 36px; } .contact__form { padding: 24px 20px; } }

/* ---------- 푸터 ---------- */
.footer { padding: 56px 0 32px; border-top: 1px solid var(--border); background: var(--bg); }
.footer__inner { display: flex; flex-direction: column; gap: 24px; }
.footer__brand p { margin-top: 14px; font-size: 14px; color: var(--muted); }
.footer__info p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.footer__copy { font-size: 13px; color: var(--muted); }
.footer__link { font-size: 13px; color: var(--text-2); }
.footer__link:hover { color: var(--text); }

/* ---------- 스크롤 등장 애니메이션 ---------- */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity var(--m-reveal-ms) var(--m-effects-slow), transform var(--m-reveal-ms) var(--m-standard-spatial-slow); }
.fade-up.is-visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  .btn, .about__card, .product, .lang__pill, .nav, .nav__list li, main, .footer { transition: none; }
  .stat__num em { transition: none; }
  .why__item, .why__num, .chip { transition: none; }
  .shot { transition: none; }
  .shot__anim { opacity: 1; transform: none; animation: none; }
  .why__map-flows .f { animation: none; opacity: 0.6; }
  .nav__list li { opacity: 1; transform: none; }
  .timeline::before { animation: none; }
  .timeline__item::before { transform: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(139,108,255,0.15); transition: none; }
  .timeline__year { color: var(--accent-2); }
  .hero__loop path, .hero__glow { animation: none; }
  .hero__loop-glow, .hero__loop-light { stroke-dasharray: none; opacity: 0.18; }
  .intro { display: none; }
  body.is-intro { overflow: auto; }
  body.is-intro .header { opacity: 1; }
}

/* ---------- 히어로 인트로 (로고 ∞ 그리기 → 워드마크 → 슬로건 → 헤더 로고로 이동) ---------- */
.intro { position: fixed; inset: 0; z-index: 300; background: var(--bg); display: grid; place-items: center; cursor: pointer; }
.intro__net { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro__stage { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 0 24px; }
.intro__logo { position: relative; width: min(440px, 72vw); aspect-ratio: 1280 / 169; }
.intro__word { position: absolute; inset: 0; width: 100%; height: 100%; display: block; clip-path: inset(0 100% 0 0); }
.intro__markwrap { position: absolute; left: 0; top: 0; width: calc(100% * 316 / 1280); height: 100%; transform-origin: 50% 50%; opacity: 0; }
.intro__mark { display: block; width: 100%; height: 100%; overflow: visible; }
.intro__mark path { fill: none; stroke: #fff; stroke-width: 30; stroke-linecap: round; }

/* 접근성: 키보드 포커스 */
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

/* 제품 기능 목록 상태 라벨 (운영 중 / 확장 중) */
.product__features li em {
  font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  padding: 2px 7px; border-radius: 999px; margin-right: 7px; vertical-align: 1px;
  color: var(--ok); background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.25);
}
.product__features li em.is-next { color: var(--warn); background: rgba(251,191,36,0.1); border-color: rgba(251,191,36,0.25); }
