/* ==========================================================================
   NeuralWave 홈페이지 디자인 시스템 "Structured"
   문법: 백색 캔버스 + 딥 네이비 구조. 홈은 벤토 그리드(한눈 요약)와
   스크롤스파이 쇼케이스(좌측 고정 목차 + 우측 프로젝트 블록).
   시그니처: 라이브 챗 데모(타이핑 루프), 네이비 증명 밴드, 그라데이션 CTA.
   ========================================================================== */

:root {
  /* --accent(액션 블루)는 버튼·링크·포커스 등 인터랙션 요소 전용.
     비액션 강조(숫자·라벨·하이라이트 텍스트)는 --emph(딥 블루 네이비)를 쓴다. */
  --accent:      #3D7BFF;
  --accent-ink:  #2E5FD6;
  --emph:        #214183;
  --ink:         #0A1830;
  --muted:       #5D6B80;
  --faint:       #8B96A8;
  --navy:        #0E2240;
  --navy-2:      #13294B;
  --canvas:      #FFFFFF;
  --band:        #F5F7FA;
  --card:        #F1F4F9;
  --tint:        #EAF1FF;
  --on-dark:     #FFFFFF;
  --on-dark-dim: rgba(255, 255, 255, 0.66);
  --hairline:    rgba(93, 107, 128, 0.22);

  --fs-hero:    clamp(38px, 4.6vw, 62px);
  --fs-section: clamp(28px, 3.6vw, 44px);
  --fs-lead:    19.5px;
  --fs-body:    16.5px;

  --sp-md: 24px; --sp-lg: 48px; --sp-xl: 72px; --sp-section: 140px;

  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 26px;
  --pill: 9999px;

  --sh-soft: 0 8px 32px rgba(14, 34, 64, 0.09);
  --sh-float: 0 24px 64px rgba(14, 34, 64, 0.14);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
  --nav-h: 88px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; scroll-padding-top: var(--nav-h); }
/* 섹션 스냅 — 근접 시 섹션 단위로 정렬. 역량 runway 내부는 자유 스크롤 유지 */
.snapv { scroll-snap-align: start; }
.snapv-fill { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
/* 섹션 전환 연출 — 스크롤 위치에 연동해 콘텐츠가 떠오르며 블러가 걷힌다 (지원 브라우저 한정) */
@media (min-width: 1081px) {
  @supports (animation-timeline: view()) {
    .snapv-fill > .container,
    .snapv-fill > section {
      animation: sect-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
  }
}
@keyframes sect-in {
  from { opacity: 0; transform: translateY(84px) scale(0.965); filter: blur(7px); }
  to { opacity: 1; transform: none; filter: none; }
}
body {
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR",
    -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: var(--fs-body); line-height: 1.7;
  color: var(--ink); background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { font-weight: 700; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
::selection { background: rgba(61, 123, 255, 0.2); }

/* --- nav ------------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(245, 247, 250, 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms var(--ease);
}
.nav-scrolled { border-bottom-color: var(--hairline); }
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 28px;
  height: var(--nav-h); display: flex; align-items: center; gap: 34px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 28px; width: auto; }
.nav-menu { display: flex; gap: 26px; flex: 1; }
.nav-menu a {
  position: relative;
  color: var(--ink); font-size: 19px; font-weight: 600; opacity: 0.7;
  padding: 4px 0;
  transition: opacity 160ms;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  border-bottom: 2px solid var(--accent);
  transition: right 300ms var(--ease);
}
.nav-menu a:hover, .nav-menu a[aria-current="page"], .nav-menu a[aria-current="true"] { opacity: 1; }
.nav-menu a:hover::after, .nav-menu a[aria-current="page"]::after, .nav-menu a[aria-current="true"]::after { right: 0; }
.nav-cta {
  color: var(--on-dark); background: var(--ink);
  font-size: 17px; font-weight: 700; border-radius: var(--pill);
  padding: 12px 26px; white-space: nowrap;
  transition: background 160ms var(--ease), transform 160ms var(--ease);
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }
/* 햄버거 — 940px 이하에서만 노출. 열리면 X자로 변형 */
.nav-burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.nav-burger span { position: relative; display: block; }
.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  width: 24px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 280ms var(--ease), opacity 160ms linear;
}
.nav-burger span::before,
.nav-burger span::after { content: ""; position: absolute; left: 0; display: block; }
.nav-burger span::before { top: -7px; }
.nav-burger span::after { top: 7px; }
.nav-open .nav-burger span { background: transparent; }
.nav-open .nav-burger span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-burger span::after { transform: translateY(-7px) rotate(-45deg); }

/* --- buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15.5px; font-weight: 700; border-radius: var(--pill);
  padding: 16px 34px; cursor: pointer; border: 0;
  transition: background 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms;
}
.btn .arr { transition: transform 160ms var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(61,123,255,0.3); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--hairline); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* --- hero (C안 이식 — 좌측 정렬 대형 타이포 + 순환 동사 + 스크롤 큐 + 배경 슬라이드쇼) --- */
.hero-a { position: relative; overflow: hidden; padding: 230px 0 220px; min-height: 106vh; }
.hero-a .container { position: relative; }
/* 흑백 배경 슬라이드쇼 — 흑백은 이미지에 구움. 전환(.on)은 app.js, 드리프트는 CSS */
.hero-a .hero-bg { position: absolute; inset: 0; }
.hero-a .hero-bg .hb {
  position: absolute; inset: -7%;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1400ms var(--ease);
  will-change: transform, opacity;
}
.hero-a .hero-bg .hb.on { opacity: 0.42; }
.hero-a .hero-bg .hb:nth-child(odd) { animation: kb-drift-a 17s ease-in-out infinite alternate; }
.hero-a .hero-bg .hb:nth-child(even) { animation: kb-drift-b 21s ease-in-out infinite alternate; }
@keyframes kb-drift-a { from { transform: scale(1.04); } to { transform: scale(1.12) translate(-1.8%, 1.4%); } }
@keyframes kb-drift-b { from { transform: scale(1.12) translate(1.6%, -1.2%); } to { transform: scale(1.04); } }
/* 텍스트 가독용 화이트 베일 — 사진은 대부분 온전히 보이고,
   화이트 페이드가 첫 화면 하단에 살짝 걸치며 다음 섹션으로 이어진다 */
.hero-a .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.5), rgba(255,255,255,0.26) 40%,
    rgba(255,255,255,0.26) 62%, rgba(255,255,255,0.9) 88%, #FFFFFF 98%);
}
.hero-a h1 {
  will-change: transform;
  font-size: clamp(52px, 7.6vw, 108px);
  font-weight: 800; line-height: 1.06; letter-spacing: -0.04em;
}
/* 첫 줄은 애니메이션 없이 정적 노출 — 움직임은 아래 동사 사이클러가 담당 */
.hero-a .lm { display: block; }
.hero-a .lm > span { display: block; }
/* 동사 사이클러 — 회전은 app.js가 .on/.out 클래스로 구동 */
.hero-a .cycle { position: relative; display: block; height: 1.14em; overflow: hidden; color: var(--emph); }
.hero-a .cycle span {
  position: absolute; left: 0; top: 0; width: 100%;
  transform: translateY(115%); opacity: 0;
  transition: transform 1050ms var(--ease), opacity 700ms ease;
  will-change: transform;
}
.hero-a .cycle span.on { transform: translateY(0); opacity: 1; }
.hero-a .cycle span.out { transform: translateY(-115%); opacity: 0; }
.hero-a .foot {
  margin-top: 74px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.hero-a .foot p { font-size: 15px; color: var(--muted); max-width: 30em; }


/* --- 인사 + 라이브 콜 데모 (박스 없음) ------------------------------------------------ */
.intro-sec { padding: 60px 0 34px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.greet .hello {
  font-size: clamp(30px, 3.4vw, 46px); font-weight: 800;
  line-height: 1.32; letter-spacing: -0.024em;
}
.greet .line { margin-top: 20px; font-size: 17.5px; color: var(--muted); line-height: 1.7; }

/* 실서비스 소개 (미스틱데이) — 좌 텍스트 / 우 앱 화면 */
.live-h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1.26; letter-spacing: -0.024em; }
.live-h2 .hl { color: var(--emph); }
.live-d { margin-top: 18px; font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 34em; }
.live-try { margin-top: 24px; font-size: 17.5px; }
/* 기울인 기기가 아래로 삐져나오므로 아래 여백을 확보한다 */
.app-figure { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-bottom: 26px; }
.app-figure figcaption { text-align: center; margin-top: 8px; }

/* --- 아이폰 목업 (Dynamic Island) — 실서비스 화면을 기기 안에 담아 보여준다 -------------------
   ① 전면·후면·측면을 실제 3D 면으로 만들고 각도를 충분히 줘서 옆면이 보이게
   ② 캡처는 상태바 아래에서 시작 — 아일랜드가 웹 콘텐츠를 덮지 않게 */
.iphone { width: 286px; max-width: 100%; perspective: 1250px; perspective-origin: 62% 42%; }
.ip-body {
  position: relative; transform-style: preserve-3d;
  transform: rotateY(-26deg) rotateX(3deg) translateY(-14px);
}
/* 전면 — 프레임 + 화면 */
.ip-front {
  position: relative; z-index: 2; padding: 7px; border-radius: 50px;
  background: #17191d; transform: translateZ(17px);
  box-shadow:
    /* 빛을 받는 위·오른쪽 테두리만 살짝 밝게 — 균일한 흰 테두리는 플라스틱처럼 보인다 */
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset -1px 1px 0 rgba(255, 255, 255, 0.2),
    -36px 34px 72px rgba(14, 34, 64, 0.26),
    -10px 12px 26px rgba(14, 34, 64, 0.15);
}
/* 후면 — 두께의 반대쪽 면 */
.ip-back {
  position: absolute; inset: 0; border-radius: 50px;
  background: #0b0c0f; transform: translateZ(-17px);
}
/* 측면 레일 — 폭 34px(기기 두께) 판을 오른쪽 모서리에 세운다.
   그라데이션은 '길이 방향'이 아니라 '두께 방향'으로 흘러야 둥근 금속처럼 보인다 */
.ip-edge {
  position: absolute; top: 49px; bottom: 49px; right: -17px; width: 34px;
  transform: rotateY(90deg);
  /* 두 겹으로 쌓는다.
     ① 위(하늘 반사)는 밝고 아래(바닥 반사)는 어두워지는 세로 감쇠
     ② 두께 방향 — 뒤쪽은 어둡고 앞쪽으로 나오면서 완만하게 밝아지는 곡면 반사.
     밝은 지점을 한가운데 두지 않고 앞쪽으로 밀어야 원통형 금속처럼 읽힌다 */
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.03) 18%,
      rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, 0.16) 78%, rgba(0, 0, 0, 0.32) 100%),
    linear-gradient(90deg,
      #101216 0%, #24272c 26%, #3c4046 58%, #666b73 82%, #2e3238 96%, #16181c 100%);
}
/* 측면 버튼 — 같은 재질이라 레일보다 밝을 수 없다. 윗면에만 얇은 빛을 받는다 */
.ip-edge::before,
.ip-edge::after {
  content: ""; position: absolute; left: 2px; right: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #1b1e22 0%, #33373d 40%, #5c616a 82%, #23262b 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 1px 2px rgba(0, 0, 0, 0.36);
}
.ip-edge::before { top: 92px; height: 40px; }
.ip-edge::after { top: 148px; height: 66px; }
.ip-screen {
  position: relative; border-radius: 44px; overflow: hidden;
  background: #fff; aspect-ratio: 9 / 19.5;
  display: flex; flex-direction: column;
}
/* iOS 상태바 — 캡처의 상단 배경색(흰색)에 맞춰 시각·표시등을 얹는다 */
.ip-status {
  flex: 0 0 auto; height: 44px; background: #fff; color: #0A1830;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px 0 28px; font-size: 13px; font-weight: 700;
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.ip-status svg { display: block; }
/* 캡처가 화면보다 세로로 길어 아래가 잘리므로, 이미지를 14px 위로 올려 하단까지 보이게 한다 */
.ip-screen img { flex: 1; width: 100%; min-height: 0; object-fit: cover; object-position: center -14px; display: block; }
/* 다이내믹 아일랜드 */
.ip-island {
  position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 25px; border-radius: 999px; background: #05070a;
}
.ip-island::after {
  content: ""; position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #223052, #04060b 72%);
}
/* 유리 반사 — 광원(오른쪽 위)과 같은 방향에서 부드럽게 떨어지는 번짐 */
.ip-glare {
  position: absolute; inset: 0; pointer-events: none; border-radius: 44px;
  background: radial-gradient(130% 72% at 92% -10%,
    rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.07) 30%, rgba(255, 255, 255, 0) 58%);
}

/* --- 뉴럴웨이브가 함께한 곳들 — 로고 마퀴 (박스 없음) ------------------------------------ */
.partners { padding: 0 0 28px; }
.partners-line { text-align: center; font-size: 17px; font-weight: 600; color: var(--muted); }
.logo-marquee {
  margin-top: 46px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-marquee .track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.logo-marquee .set { display: flex; align-items: center; gap: 84px; padding-right: 84px; }
.logo-marquee img {
  height: 32px; width: auto;
  filter: grayscale(1); opacity: 0.55;
  transition: filter 220ms, opacity 220ms;
}
.logo-marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- 섹션 스캐폴드 ------------------------------------------------------------------ */
.section { padding: var(--sp-section) 0; }
.section.band { background: var(--band); }
.section-head { margin-bottom: 64px; }
.section-head .kicker, .kicker {
  display: block; font-size: 14px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 12px;
}
.section-head.center { text-align: center; }
.section-head h2 {
  font-size: var(--fs-section); font-weight: 800; line-height: 1.26; letter-spacing: -0.024em;
}
.section-head h2 .hl { color: var(--emph); }
.section-head .desc { margin-top: 16px; color: var(--muted); max-width: 42em; font-size: 18px; }
.section-head.center .desc { margin-left: auto; margin-right: auto; }

/* --- 프로젝트 쇼케이스 (좌 고정 목차 + 우 블록, 스크롤스파이) ------------------------ */
.showcase { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: start; }
.show-nav { position: sticky; top: 120px; }
.show-nav h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.024em; line-height: 1.25; }
.show-nav h2 .hl { color: var(--emph); font-size: 1.3em; line-height: 1.15; }
.show-nav ol { margin-top: 34px; border-top: 2px solid var(--ink); list-style: none; padding-left: 0; }
.show-nav li { border-bottom: 1px solid var(--hairline); }
.show-nav a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 16px 4px; font-size: 17.5px; font-weight: 700; color: var(--faint);
  transition: color 300ms var(--ease), padding-left 300ms var(--ease);
}
.show-nav a .i { font-size: 14.5px; font-weight: 700; }
.show-nav a .t { margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--faint); white-space: nowrap; }
.show-nav a:hover { color: var(--ink); }
.show-nav li.on a { color: var(--ink); padding-left: 14px; }
.show-nav li.on a .i { color: var(--accent); }
.show-list { display: flex; flex-direction: column; gap: 110px; }
.show-block { scroll-margin-top: 110px; }
.show-block .visual {
  border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(135deg, #EDF2FB, #F7FAFF);
  border: 1px solid rgba(14, 34, 64, 0.05);
  min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  position: relative;
}
.show-block .visual.dark { background: linear-gradient(150deg, #0B0F1A, #101A30); }
/* plain은 배경·테두리가 없으므로 둥근 모서리 클리핑도 두지 않는다
   (남겨두면 모서리에 걸친 글자가 사선으로 깎인다) */
.show-block .visual.plain { background: transparent; border: 0; padding: 0; min-height: 0; border-radius: 0; overflow: visible; }
.show-block .visual.plain .shot-img { width: 100%; max-width: 580px; border-radius: 10px; border: 1px solid rgba(14, 34, 64, 0.08); }
.show-block .visual img.contain { max-height: 330px; width: auto; }
.show-block .visual .vis-cap {
  position: absolute; left: 0; right: 0; bottom: 12px; text-align: center;
  font-size: 13.5px; color: var(--faint);
}
.show-block .visual.dark .vis-cap { color: rgba(255,255,255,0.45); }
.show-block .visual .browser-card { width: 100%; }
.show-body { margin-top: 34px; }
.show-body .h-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.show-body .h-row .t-link { margin-top: 0; margin-bottom: 7px; margin-right: 56px; flex: 0 0 auto; white-space: nowrap; font-size: 17.5px; }
.show-body h3 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; line-height: 1.26; letter-spacing: -0.022em; }
.show-body .lead { margin-top: 12px; font-size: 18px; color: var(--muted); max-width: 34em; }
.show-body .chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.fact-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid rgba(14, 34, 64, 0.09);
  border-radius: var(--pill); padding: 8px 16px;
  font-size: 13px; font-weight: 700; color: var(--ink);
}
.fact-chip b { color: var(--emph); font-weight: 800; }
.t-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; font-size: 15px; font-weight: 700; color: var(--ink);
  padding-bottom: 3px; position: relative;
}
.t-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  border-bottom: 2px solid var(--accent);
  transition: right 300ms var(--ease);
}
.t-link:hover::after { right: 0; }
.t-link .arr { transition: transform 160ms var(--ease); }
.t-link:hover .arr { transform: translateX(4px); }
.t-link.on-dark { color: #fff; }
.cta-banner .t-link { font-size: 18px; }

/* --- 역량 쇼케이스 — 스크롤 단계 전환 (구동은 app.js) ----------------------------------------- */
.snap-sec { padding: 0; }
/* 러너웨이 길이 = 블록 수 × 화면 — 블록 수는 인라인 --n 으로 지정 */
.snap-runway { position: relative; height: calc(var(--n, 5) * 94vh); }
.snap-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  padding: 84px 0 28px;
}
.snap-sticky .container { width: 100%; }
.snap-sec .showcase { align-items: center; }
.snap-sec .show-nav { position: static; margin-top: 56px; }
.snap-list {
  display: block; position: relative;
  height: min(720px, calc(100vh - 160px));
}
.snap-list .show-block {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; transform: translateY(46px); pointer-events: none;
  transition: opacity 480ms var(--ease), transform 620ms var(--ease);
}
.snap-list .show-block.past { transform: translateY(-46px); }
/* 데모는 아래 제목·본문과 같은 왼쪽 기준선에서 시작한다(가운데 정렬 시 어긋나 보임) */
.snap-list .show-block .visual.plain { justify-content: flex-start; }
.snap-list .show-block.on { opacity: 1; transform: none; pointer-events: auto; }

/* --- tag pills ------------------------------------------------------------------------ */
.tag {
  display: inline-block; font-size: 14.5px; font-weight: 600; line-height: 1.4;
  padding: 5px 13px; border-radius: var(--pill);
  border: 1px solid var(--hairline); color: var(--muted);
  white-space: nowrap; background: #fff;
}
.tag.live { background: var(--accent); border-color: var(--accent); color: #fff; }
.tag.status { color: var(--ink); background: var(--card); border-color: transparent; }
.tag.on-dark { border-color: rgba(255,255,255,0.35); color: rgba(255,255,255,0.85); background: transparent; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* --- 함께 할 수 있는 일 (와이드 카드) --------------------------------------------------- */
.work-rows { display: flex; flex-direction: column; gap: 16px; }
.work-row {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 34px; align-items: center;
  background: #fff; border: 1px solid rgba(14, 34, 64, 0.06);
  border-radius: var(--r-md); padding: 34px 40px;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.work-row:hover { transform: translateX(8px); box-shadow: var(--sh-soft); }
.work-row .no {
  font-size: 15px; font-weight: 800; color: var(--emph);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--tint); display: inline-flex; align-items: center; justify-content: center;
}
.work-row h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.015em; }
.work-row p { margin-top: 6px; font-size: 15px; color: var(--muted); max-width: 40em; }
.work-row .go {
  font-size: 15px; font-weight: 700; color: var(--accent); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.work-row .go .arr { transition: transform 200ms var(--ease); }
.work-row:hover .go .arr { transform: translateX(4px); }

/* --- 네이비 증명 밴드 -------------------------------------------------------------------- */
.section.dark { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.section.dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 420px at 90% -20%, rgba(61,123,255,0.22), transparent 60%),
    radial-gradient(700px 380px at 4% 112%, rgba(61,123,255,0.12), transparent 55%);
}
.section.dark .container { position: relative; }
.section.dark .section-head h2 { color: #fff; }
/* 언론 인용 블록을 걷어낸 뒤 숫자만으로 화면을 채우도록 스케일 상향 */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-lg); }
.stat { border-left: 1px solid rgba(255,255,255,0.16); padding-left: 26px; }
.stat .num {
  font-size: clamp(54px, 6.4vw, 100px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em;
}
.stat .num em { font-style: normal; color: inherit; }
.stat .num .unit { font-size: 0.36em; font-weight: 700; margin-left: 3px; }
.stat .label { margin-top: 20px; font-size: 16.5px; color: var(--on-dark-dim); line-height: 1.6; }
.press { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); margin-top: var(--sp-xl); }
/* a.quote는 .rv 리빌 전환(opacity·transform)을 함께 선언해야 페이드 등장이 유지된다 */
.press a.quote { transition: opacity 950ms var(--ease), transform 950ms var(--ease), border-color 200ms, background 200ms; }
.press a.quote:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.09); }
.press .quote {
  background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-md); padding: 34px 36px; position: relative;
}
.press .quote::before {
  content: "“"; position: absolute; top: 14px; left: 28px;
  font-size: 68px; font-weight: 800; color: rgba(255,255,255,0.2); line-height: 1;
  font-family: Georgia, serif;
}
.press .quote p { font-size: 18.5px; font-weight: 700; line-height: 1.55; color: var(--on-dark); padding-top: 34px; }
.press .quote .src { margin-top: 14px; font-size: 13px; color: var(--on-dark-dim); }

/* --- 타임라인 ------------------------------------------------------------------------------ */
.timeline { position: relative; padding-left: 40px; max-width: 860px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--emph), rgba(33,65,131,0.08)); }
.timeline .tl-item { position: relative; padding-bottom: 34px; }
.timeline .tl-item:last-child { padding-bottom: 0; }
.timeline .tl-item::before {
  content: ""; position: absolute; left: -38px; top: 12px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--canvas); border: 3px solid var(--emph);
}
.timeline .year { font-size: 24px; font-weight: 800; color: var(--emph); letter-spacing: -0.01em; }
.timeline h4 { font-size: 20px; font-weight: 800; margin: 6px 0 10px; letter-spacing: -0.015em; }
/* 연혁 항목은 한 줄에 하나씩 — 가운뎃점으로 이어 붙이면 읽는 눈이 끊기지 않는다 */
.timeline .tl-list { list-style: none; margin: 0; padding: 0; max-width: 48em; }
.timeline .tl-list li {
  position: relative; padding-left: 16px;
  color: var(--muted); font-size: 15.5px; line-height: 1.55;
}
.timeline .tl-list li + li { margin-top: 5px; }
.timeline .tl-list li::before {
  content: ""; position: absolute; left: 1px; top: 0.66em;
  width: 4px; height: 4px; border-radius: 50%; background: rgba(33, 65, 131, 0.4);
}

/* --- 상승 그래프 연혁 (홈 요약 — 상세 타임라인은 company#history) ------------------------------ */
.g-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 96px; }
.g-head .t-link { margin-bottom: 6px; white-space: nowrap; }

/* ------------------------------------------------------------------------------------
   등장 연출: .growth(.rv)가 뷰포트에 들어와 .in을 받으면 실선이 그려지고,
   점이 순서대로 튀어나오고, 점선·면이 이어서 나타난다. 모션 최소화 시 정지 상태로 표시 */
.g-chart { position: relative; height: 240px; }
.g-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.g-chart .area { fill: rgba(33, 65, 131, 0.06); }
.g-chart .line { fill: none; stroke: var(--emph); stroke-width: 3; }
.g-chart .line.seg { stroke-dasharray: 100; }
.g-chart .line.dash { stroke-dasharray: 8 8; }
.g-chart .dash-reveal { width: var(--dashw, 215px); }
.g-chart .area-reveal { width: 900px; }
/* 안무: 점 똑 → 구간 전진 → 점 똑 … 반복 후, 점선이 …처럼 찍히며 2027~ 점 등장 */
.growth.in .line.seg1 { animation: g-seg 360ms linear 380ms backwards; }
.growth.in .line.seg2 { animation: g-seg 360ms linear 920ms backwards; }
.growth.in .line.seg3 { animation: g-seg 360ms linear 1460ms backwards; }
.growth.in .dash-reveal { animation: g-reveal 550ms steps(5, end) 2050ms backwards; }
/* 면은 선을 따라 같이 차오른다 — 선이 다 그려진 뒤 뒤늦게 나타나면 따로 노는 느낌이 난다.
   구간 사이의 멈춤까지 선 타이밍(380·920·1460·2050ms)에 그대로 맞춘다 */
.growth.in .area-reveal { animation: g-area 2220ms linear 380ms backwards; }
@keyframes g-seg { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes g-reveal { from { width: 0; } to { width: var(--dashw, 215px); } }
@keyframes g-area {
  0%     { width: 100px; }   /* seg1 시작 */
  16.2%  { width: 300px; }   /* seg1 끝 */
  24.3%  { width: 300px; }
  40.5%  { width: 500px; }   /* seg2 끝 */
  48.6%  { width: 500px; }
  64.9%  { width: 700px; }   /* seg3 끝 */
  75.2%  { width: 700px; }
  100%   { width: 900px; }   /* 점선 구간 끝 */
}
.g-chart .gp {
  position: absolute; width: 13px; height: 13px; border-radius: 50%;
  background: var(--canvas); border: 3px solid var(--emph);
  transform: translate(-50%, -50%);
}
.g-chart .gp.last { background: var(--emph); width: 17px; height: 17px; }
.growth.in .gp { animation: g-pop 420ms cubic-bezier(0.34, 1.56, 0.64, 1) backwards; }
.growth.in .gp:nth-of-type(1) { animation-delay: 180ms; }
.growth.in .gp:nth-of-type(2) { animation-delay: 740ms; }
.growth.in .gp:nth-of-type(3) { animation-delay: 1280ms; }
.growth.in .gp:nth-of-type(4) { animation-delay: 1820ms; }
.growth.in .gp.last {
  animation: g-pop 420ms cubic-bezier(0.34, 1.56, 0.64, 1) 2650ms backwards,
             g-pulse 2.4s ease-out 3250ms infinite;
}
@keyframes g-pop { from { transform: translate(-50%, -50%) scale(0); } to { transform: translate(-50%, -50%) scale(1); } }
@keyframes g-pulse {
  0% { box-shadow: 0 0 0 0 rgba(33, 65, 131, 0.35); }
  70% { box-shadow: 0 0 0 14px rgba(33, 65, 131, 0); }
  100% { box-shadow: 0 0 0 0 rgba(33, 65, 131, 0); }
}
.g-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 20px; }
/* 연도 라벨은 해당 점이 찍히는 순간에 맞춰 하나씩 등장 */
.g-cols > div { text-align: center; opacity: 0; }
.growth.in .g-cols > div { animation: g-year 420ms var(--ease) both; }
.growth.in .g-cols > div:nth-child(1) { animation-delay: 180ms; }
.growth.in .g-cols > div:nth-child(2) { animation-delay: 740ms; }
.growth.in .g-cols > div:nth-child(3) { animation-delay: 1280ms; }
.growth.in .g-cols > div:nth-child(4) { animation-delay: 1820ms; }
.growth.in .g-cols > div:nth-child(5) { animation-delay: 2650ms; }
@keyframes g-year { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* --- 연차별 누적 R&D (project-lab) -----------------------------------------------------
   홈의 '걸어온 길' 꺾은선과 표현이 겹치지 않도록, 3개년 누적을 셀 수 있는 타일로 쌓는다.
   진한 타일 = 그 해 신규, 옅은 타일 = 이전 누적 — 1건 → 2건 → 5건이 눈으로 세어진다 */
.rgrow { margin-top: 4px; }
/* 상단 기준 정렬 — 하단 정렬은 설명 줄 수가 다른 열끼리 타일·숫자 높이가 어긋난다 */
.rg-track {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start;
  max-width: 880px; margin: 0 auto;
}
.rg-col { position: relative; }
.rg-col + .rg-col::before {
  content: ""; position: absolute; left: -13px; top: 8px; bottom: 4px; width: 1px;
  background: linear-gradient(rgba(14, 34, 64, 0), rgba(14, 34, 64, 0.09) 45%, rgba(14, 34, 64, 0));
}
.rg-stack { height: 106px; display: flex; flex-direction: column-reverse; justify-content: flex-start; gap: 4px; }
.rg-stack .tile { height: 17px; border-radius: 3px; background: var(--emph); transform-origin: bottom center; }
.rg-stack .tile.carry { background: rgba(33, 65, 131, 0.17); }
.rg-cnt { margin-top: 13px; display: flex; align-items: baseline; gap: 7px; }
.rg-cnt b {
  font-size: 29px; font-weight: 800; letter-spacing: -0.025em; line-height: 1;
  color: var(--emph); font-variant-numeric: tabular-nums;
}
.rg-cnt small {
  font-family: ui-monospace, "SF Mono", Consolas, "Pretendard Variable", Pretendard, monospace;
  font-size: 14px; font-weight: 700; letter-spacing: 0.06em; color: var(--faint);
}
.rg-yr {
  margin-top: 10px; padding-top: 11px; border-top: 1px solid var(--hairline);
  font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink);
}
.rg-col.now .rg-yr { color: var(--emph); }
.rg-role {
  display: inline-block; margin-top: 9px;
  font-size: 13px; font-weight: 700; color: var(--emph);
  background: var(--tint); border-radius: 999px; padding: 4px 11px;
}
.rg-desc { margin-top: 10px; min-height: 45px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.rg-amt {
  display: block; margin-top: 8px; min-height: 1.4em;
  font-family: ui-monospace, "SF Mono", Consolas, "Pretendard Variable", Pretendard, monospace;
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: var(--emph);
}
/* 등장: 타일이 아래에서부터 하나씩 쌓이고, 열 설명이 뒤따라 올라온다 (정지 상태 = 완성 상태) */
.rgrow.in .tile { animation: rg-rise 400ms cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms) backwards; }
.rgrow.in .rg-body { animation: rg-up 460ms var(--ease) var(--cd, 0ms) backwards; }
@keyframes rg-rise { from { opacity: 0; transform: scaleY(0.12); } }
@keyframes rg-up { from { opacity: 0; transform: translateY(14px); } }

.g-cols b { display: block; font-size: 21px; font-weight: 800; color: var(--emph); }
.g-cols span {
  display: block; margin: 6px auto 0; max-width: 15em;
  font-size: 15px; color: var(--muted); line-height: 1.6;
}

/* --- CTA 배너 ------------------------------------------------------------------------------- */
.cta-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, #16376B 46%, var(--accent) 130%);
  color: var(--on-dark);
  padding: 130px 0; text-align: center;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1.4px);
  background-size: 30px 30px;
  mask-image: radial-gradient(900px 500px at 50% 50%, rgba(0,0,0,0.65), transparent 78%);
  -webkit-mask-image: radial-gradient(900px 500px at 50% 50%, rgba(0,0,0,0.65), transparent 78%);
}
.cta-banner .container { position: relative; }
.cta-banner h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; }
.cta-banner .desc { margin-top: var(--sp-md); color: rgba(255,255,255,0.75); font-size: 17px; }
.cta-banner .actions { margin-top: 44px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- 상세 페이지 컴포넌트 --------------------------------------------------------------------- */
.detail-hero {
  background:
    radial-gradient(900px 460px at 88% -10%, rgba(61,123,255,0.25), transparent 60%),
    var(--navy);
  color: var(--on-dark); padding: 150px 0 88px; overflow: hidden;
}
.detail-hero .hero-cols { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.detail-hero .tags { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.detail-hero h1 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; line-height: 1.26; max-width: 22em; letter-spacing: -0.022em; }
.detail-hero .sub { margin-top: var(--sp-md); color: var(--on-dark-dim); max-width: 36em; font-size: 17.5px; }
.detail-hero .meta { margin-top: var(--sp-md); font-size: 15.5px; color: var(--on-dark-dim); display: flex; gap: 18px; flex-wrap: wrap; }
.detail-hero .hero-vis .browser-card { box-shadow: 0 24px 72px rgba(0,0,0,0.4); }
.detail-hero .hero-vis .viz-float {
  background: #fff; border-radius: var(--r-md); box-shadow: 0 24px 72px rgba(0,0,0,0.4);
  padding: 28px; display: flex; justify-content: center;
}
.detail-hero .hero-vis .phone-mock { align-self: auto; margin-bottom: 0; border-radius: 30px; border-bottom: 7px solid var(--ink); }
.crumb { font-size: 13px; color: var(--on-dark-dim); margin-bottom: 16px; }
.crumb a:hover { color: var(--on-dark); }
/* 상세 히어로의 사진 — 네이비 위에 얹히므로 테두리 없이 그림자만 */
.detail-hero .hero-vis .hero-shot {
  width: 100%; display: block; border-radius: 12px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}
.show-block .visual.plain .browser-card,
.show-block .visual.plain .viz-plate,
.show-block .visual.plain .img-card { width: 100%; max-width: 580px; }
.show-block .visual.plain .ph { width: 100%; max-width: 580px; min-height: 300px; }
.show-block .visual.plain .img-card.app-shot { max-width: 296px; border-radius: 26px; overflow: hidden; }

/* 실제 채널 화면 두 장 — 인스타 피드 위에 쓰레드 화면이 겹쳐 놓인 구성 */
.chan-shots { position: relative; width: 100%; max-width: 580px; padding-bottom: 54px; }
.chan-shots img { display: block; border-radius: 10px; background: #fff; }
.chan-shots .ig { width: 100%; box-shadow: 0 14px 40px rgba(14, 34, 64, 0.16); }
.chan-shots .th {
  position: absolute; right: -6px; bottom: 0; width: 40%;
  box-shadow: 0 16px 44px rgba(14, 34, 64, 0.22);
  border: 1px solid rgba(14, 34, 64, 0.06);
}

/* --- 5단계 AX 솔루션 — 순환 하이라이트 도식 -------------------------------------------------- */
.ax-flow { position: relative; }
.ax-track {
  height: 3px; background: var(--card); border-radius: 2px;
  margin: 0 8% 34px; overflow: hidden;
}
.ax-prog {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--emph), var(--accent));
  transform-origin: left; transform: scaleX(0);
  animation: ax-prog 12.5s linear infinite;
}
@keyframes ax-prog { 0% { transform: scaleX(0); } 96%, 100% { transform: scaleX(1); } }
.ax-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch; }
.ax-steps.four { grid-template-columns: repeat(4, 1fr); }
.ax-step {
  background: #fff; border: 1px solid rgba(14, 34, 64, 0.08); border-radius: var(--r-md);
  padding: 26px 22px; color: var(--ink);
  animation: ax-live 12.5s var(--ease) infinite;
}
.ax-step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px; margin-bottom: 16px;
  font-size: 13px; font-weight: 800;
  background: var(--tint); color: var(--emph);
  transition: background 400ms, color 400ms;
}
.ax-step h3 { font-size: 17.5px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 9px; }
.ax-step p { font-size: 13px; line-height: 1.62; opacity: 0.72; }
.ax-step.d0 { animation-delay: 0s; }
.ax-step.d1 { animation-delay: 2.5s; }
.ax-step.d2 { animation-delay: 5s; }
.ax-step.d3 { animation-delay: 7.5s; }
.ax-step.d4 { animation-delay: 10s; }
.ax-step.d0 .n { animation: ax-live-n 12.5s var(--ease) infinite 0s; }
.ax-step.d1 .n { animation: ax-live-n 12.5s var(--ease) infinite 2.5s; }
.ax-step.d2 .n { animation: ax-live-n 12.5s var(--ease) infinite 5s; }
.ax-step.d3 .n { animation: ax-live-n 12.5s var(--ease) infinite 7.5s; }
.ax-step.d4 .n { animation: ax-live-n 12.5s var(--ease) infinite 10s; }
/* 각 단계가 순서대로 2.5초씩 살아난다 — 색이 차오르고 살짝 떠오르는 순환 */
@keyframes ax-live {
  0%, 2% { background: #fff; color: var(--ink); transform: none; box-shadow: none; }
  6%, 20% {
    background: var(--emph); color: #fff; border-color: var(--emph);
    transform: translateY(-8px);
    box-shadow: 0 18px 44px rgba(33, 65, 131, 0.3);
  }
  26%, 100% { background: #fff; color: var(--ink); transform: none; box-shadow: none; }
}
@keyframes ax-live-n {
  0%, 2% { background: var(--tint); color: var(--emph); }
  6%, 20% { background: rgba(255, 255, 255, 0.16); color: #fff; }
  26%, 100% { background: var(--tint); color: var(--emph); }
}

/* 경계선 없는 크롬 창 — 바(bar)는 유지, 테두리는 제거 */
.browser-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--sh-float);
}
.browser-card .bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #EEF1F6; }
.browser-card .bar i { width: 9px; height: 9px; border-radius: 50%; background: #D3DAE5; }
.browser-card .bar .url {
  margin-left: 10px; flex: 1; background: #fff; border-radius: 6px;
  font-size: 13px; color: var(--faint); padding: 3px 10px; font-weight: 500;
}
.browser-card img { width: 100%; }

.cap-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
.cap-cards.two { grid-template-columns: repeat(2, 1fr); }
.cap-card {
  background: #fff; border: 1px solid rgba(14,34,64,0.07); border-radius: var(--r-md);
  padding: 34px 32px;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.cap-card:hover { transform: translateY(-5px); box-shadow: var(--sh-soft); }
.cap-card .no { font-size: 14.5px; font-weight: 800; color: var(--emph); letter-spacing: 0.08em; display: block; margin-bottom: 16px; }
.cap-card h3 { font-size: 20px; font-weight: 800; line-height: 1.4; letter-spacing: -0.01em; margin-bottom: 10px; }
.cap-card p { color: var(--muted); font-size: 16px; line-height: 1.7; }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); }
.case-card {
  background: #fff; border: 1px solid rgba(14,34,64,0.07); border-radius: var(--r-md);
  padding: 30px 30px 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--sh-soft); }
.case-card .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.case-card .who { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.case-card .yr {
  font-size: 13.5px; font-weight: 700; color: var(--emph);
  background: var(--tint); border-radius: var(--pill); padding: 4px 12px; white-space: nowrap;
}
.case-card p { color: var(--muted); font-size: 16px; margin: 0; }
.case-card p .hl { color: var(--emph); font-weight: 700; }
.case-card.wide { grid-column: span 2; }

.viz-panel {
  background: linear-gradient(135deg, #E9F0FF 0%, #F5F9FF 60%, #EDF3FF 100%);
  border-radius: var(--r-lg);
  padding: 52px 44px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  position: relative; overflow: hidden;
}
.viz-panel .viz-caption { font-size: 13px; color: var(--muted); text-align: center; }
.steps-flow { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; justify-content: center; }
.steps-flow .sf {
  background: #fff; border: 1px solid rgba(14,34,64,0.08); border-radius: 16px;
  padding: 22px 26px; min-width: 158px; text-align: center;
  box-shadow: 0 4px 16px rgba(14,34,64,0.06);
}
.steps-flow .sf b { display: block; font-size: 16.5px; font-weight: 800; }
.steps-flow .sf span { display: block; margin-top: 5px; font-size: 14px; color: var(--muted); }
.steps-flow .sf.on { background: var(--accent); border-color: var(--accent); }
.steps-flow .sf.on b { color: #fff; }
.steps-flow .sf.on span { color: rgba(255,255,255,0.8); }
.steps-flow .sf-arr { align-self: center; color: var(--faint); font-size: 19px; font-weight: 700; }

.img-card { background: #fff; border: 1px solid rgba(14,34,64,0.07); border-radius: var(--r-md); overflow: hidden; }
.img-card.dark { background: #000; border-color: rgba(255,255,255,0.06); }
.img-card img { width: 100%; }

.phone-mock {
  width: 210px; background: #fff; border-radius: 30px 30px 0 0;
  border: 7px solid var(--ink); border-bottom: 0;
  padding: 24px 13px 18px; position: relative;
  box-shadow: 0 -12px 48px rgba(14,34,64,0.14);
  align-self: flex-end; margin-bottom: -48px;
}
.phone-mock::before {
  content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 62px; height: 6px; border-radius: 3px; background: rgba(14,34,64,0.16);
}
.phone-mock .pb { font-size: 13.5px; line-height: 1.5; padding: 8px 11px; border-radius: 11px; margin-bottom: 7px; max-width: 94%; }
.phone-mock .pb.q { background: var(--card); color: var(--ink); border-bottom-left-radius: 3px; }
.phone-mock .pb.a { background: var(--accent); color: #fff; margin-left: auto; border-bottom-right-radius: 3px; }
.phone-mock.lg { width: 240px; }
.node-svg { width: 88%; height: auto; }
.pipe { display: flex; flex-direction: column; gap: 10px; width: 86%; }
.pipe .row { display: flex; align-items: center; gap: 9px; }
.pipe .step {
  flex: 1; background: #fff; border: 1px solid rgba(14,34,64,0.08); border-radius: 12px;
  font-size: 13px; font-weight: 700; color: var(--ink); text-align: center;
  padding: 13px 8px; box-shadow: 0 3px 12px rgba(14,34,64,0.06);
}
.pipe .step.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.pipe .arrow { color: var(--faint); font-size: 13px; }
.pipe .chan { display: flex; gap: 8px; justify-content: center; margin-top: 4px; }
.pipe .chan i {
  font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--muted);
  background: #fff; border: 1px solid rgba(14,34,64,0.08); border-radius: var(--pill); padding: 6px 13px;
}
.wavebars { display: flex; align-items: center; gap: 6px; height: 96px; }
.wavebars i { width: 8px; border-radius: 4px; background: var(--accent); display: block; animation: wavepulse 1.15s ease-in-out infinite; }
.wavebars i:nth-child(odd) { background: rgba(61,123,255,0.45); }
@keyframes wavepulse { 0%, 100% { transform: scaleY(0.55); } 50% { transform: scaleY(1); } }
.aicc-flow { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.aicc-flow .steps { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.aicc-flow .steps span {
  font-size: 14px; font-weight: 700; color: var(--muted);
  background: #fff; border: 1px solid rgba(14,34,64,0.08); border-radius: var(--pill); padding: 7px 14px;
}

.ph {
  background: linear-gradient(135deg, rgba(61,123,255,0.06), rgba(14,34,64,0.05)), var(--card);
  border: 1px dashed var(--hairline); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--faint); font-size: 14px; line-height: 1.6; padding: 18px;
  min-height: 96px;
}
.ph::before { content: "📷 "; }
.ph.tall { min-height: 200px; }
figcaption { font-size: 14px; color: var(--faint); margin-top: 10px; }

.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--sp-xl); align-items: start; }
.detail-main h2 { font-size: 26px; font-weight: 800; margin: 64px 0 24px; letter-spacing: -0.015em; }
.detail-main h2:first-child { margin-top: 0; }
.detail-main > p { margin-bottom: 12px; max-width: 44em; }
ul.plain li { padding-left: 22px; position: relative; margin-bottom: 9px; }
ul.plain li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--emph); opacity: 0.85;
}
.detail-aside {
  background: #fff; border: 1px solid rgba(14,34,64,0.07); border-radius: var(--r-md);
  padding: 30px; position: sticky; top: 100px;
}
.detail-aside h3 { font-size: 14px; font-weight: 800; letter-spacing: 0.04em; margin-bottom: 12px; }
.detail-aside dl { font-size: 14.5px; }
.detail-aside dt { color: var(--faint); margin-top: 12px; font-size: 13.5px; }
.detail-aside dd { margin-top: 2px; }
.detail-aside .divider { border-top: 1px solid var(--hairline); margin: 16px 0; }
.rnd { border-top: 1px solid var(--hairline); padding: var(--sp-md) 0; }
.rnd .name { font-weight: 800; font-size: 17px; line-height: 1.5; }
.rnd .meta { font-size: 13px; color: var(--muted); margin-top: 4px; }
.link-accent { color: var(--accent); font-weight: 700; }

/* --- 에온드에온 출판콘텐츠 도식 (근거: 과제 발표자료 — 멀티모달 RBI 중심 솔루션 구조) --------- */
/* --- 마케팅 트랙 마인드맵 (근거: 노션 "마케팅 자동화(AEO 등) 사업 기획" 4-track) --------------- */
.mindmap { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 52px; align-items: center; max-width: 1100px; margin: 0 auto; }
/* 왼쪽은 박스가 아니라 그냥 글 — 섹션 머리말이 곧 마인드맵의 중심 */
.mm-core .mm-k {
  display: block; font-size: 14px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 12px;
}
.mm-core h2 {
  font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1.26; letter-spacing: -0.024em;
}
.mm-core h2 .hl { color: var(--emph); }
.mm-core .mm-d { display: block; margin-top: 18px; font-size: 17px; line-height: 1.75; color: var(--muted); }

.mm-branches { position: relative; display: flex; flex-direction: column; gap: 12px; padding-left: 34px; }
/* 중심에서 뻗어 나가는 세로 척추 */
.mm-branches::before {
  content: ""; position: absolute; left: 0; top: 12%; bottom: 12%;
  border-left: 1px solid var(--hairline);
}
.mm-node {
  position: relative; background: #fff;
  border: 1px solid rgba(14, 34, 64, 0.09); border-radius: var(--r-md);
  padding: 16px 20px; min-height: 106px;
  transition: border-color 260ms var(--ease), box-shadow 260ms var(--ease), transform 260ms var(--ease);
}
/* 척추에서 각 노드로 이어지는 가지 */
.mm-node::before {
  content: ""; position: absolute; left: -34px; top: 50%; width: 34px;
  border-top: 1px solid var(--hairline);
  transition: border-color 260ms;
}
.mm-node::after {
  content: ""; position: absolute; left: -37px; top: 50%; margin-top: -3px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--canvas);
  border: 2px solid var(--hairline);
  transition: border-color 260ms, background 260ms;
}
.mm-node:hover { border-color: var(--emph); box-shadow: var(--sh-soft); transform: translateX(6px); }
.mm-node:hover::before { border-top-color: var(--emph); }
.mm-node:hover::after { border-color: var(--emph); background: var(--emph); }
.mm-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mm-node .mm-t {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--emph);
}
.mm-node b { font-size: 17px; font-weight: 800; letter-spacing: -0.015em; }
.mm-node .mm-pri {
  margin-left: auto; font-size: 14px; font-weight: 700; color: var(--faint);
  border: 1px solid var(--hairline); border-radius: var(--pill); padding: 3px 10px; white-space: nowrap;
}
.mm-node .mm-s { margin-top: 7px; font-size: 15px; color: var(--muted); line-height: 1.6; }
/* 방법론은 자리를 미리 잡아두고 호버 시 드러난다 — 레이아웃이 흔들리지 않게 */
.mm-node .mm-how {
  margin-top: 9px; font-size: 14px; line-height: 1.6; color: var(--ink);
  opacity: 0; transform: translateY(4px);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
.mm-node .mm-how b { display: inline; font-size: inherit; font-weight: 800; color: var(--emph); margin-right: 6px; }
.mm-node:hover .mm-how { opacity: 1; transform: none; }

/* --- 시스템 아키텍처 도해 (근거: 딥테크 시제품 과업지시서의 3-Layer 에이전틱 구조) ------------- */
/* 좌: 설명 + 설계 원칙 / 우: 도해 — 한 화면에 들어가도록 2단 구성 */
.arch-wrap { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 54px; align-items: center; max-width: 1140px; margin: 0 auto; }
.arch-head h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1.26; letter-spacing: -0.024em; }
.arch-head h2 .hl { color: var(--emph); }
.arch-head .desc { margin-top: 16px; font-size: 17px; line-height: 1.75; color: var(--muted); }
.arch { max-width: 620px; margin: 0 auto; }
.arch-in {
  display: block; width: fit-content; margin: 0 auto 10px;
  font-family: ui-monospace, "SF Mono", Consolas, "Pretendard Variable", Pretendard, monospace;
  font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: var(--faint);
  border: 1px dashed var(--hairline); border-radius: 6px; padding: 6px 14px;
}
.arch-layer {
  border: 1px solid rgba(14, 34, 64, 0.1); border-radius: 10px;
  padding: 14px 16px; background: #fff;
}
.arch-layer .al-k {
  font-family: ui-monospace, "SF Mono", Consolas, "Pretendard Variable", Pretendard, monospace;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--emph); margin-bottom: 10px;
}
.arch-layer .al-b { display: flex; flex-wrap: wrap; gap: 7px; }
.arch-layer .node {
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  background: var(--band); border-radius: 6px; padding: 7px 11px;
}
.arch-layer .node.mono {
  font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 14px; font-weight: 600;
}
.al-split { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: stretch; }
.al-box { background: var(--band); border-radius: 8px; padding: 12px 13px; }
.al-box b { display: block; font-size: 13px; font-weight: 800; letter-spacing: -0.01em; }
.al-box span { display: block; margin-top: 5px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.al-box em {
  display: block; margin-top: 8px; font-style: normal;
  font-size: 14px; font-weight: 700; color: var(--emph);
}
.al-mid {
  align-self: center; text-align: center; white-space: nowrap;
  font-family: ui-monospace, "SF Mono", Consolas, "Pretendard Variable", Pretendard, monospace;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--faint);
  border-left: 1px dashed var(--hairline); border-right: 1px dashed var(--hairline);
  padding: 0 9px; line-height: 1.6;
}
/* 계층 사이 연결선 — 신호가 아래로 흐르는 것을 점 하나로만 표현 */
.arch-link {
  position: relative; height: 34px; display: flex; align-items: center; justify-content: center;
}
.arch-link::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px;
  background: var(--hairline);
}
.arch-link span {
  position: relative; background: var(--canvas); padding: 3px 12px;
  font-family: ui-monospace, "SF Mono", Consolas, "Pretendard Variable", Pretendard, monospace;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted);
}
.arch-link::after {
  content: ""; position: absolute; left: 50%; top: 0; width: 5px; height: 5px;
  border-radius: 50%; background: var(--accent); margin-left: -2px;
  animation: arch-flow 2.6s ease-in-out infinite;
}
.arch-link.b::after { animation-delay: 0.5s; }
@keyframes arch-flow {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(29px); opacity: 0; }
}
/* 설계 원칙 — 제목만 두고 세부는 호버 시 떠오르는 패널로 (레이아웃은 고정) */
.arch-notes { display: flex; flex-direction: column; gap: 13px; margin-top: 30px; }
.arch-note { position: relative; border-top: 2px solid var(--emph); padding-top: 11px; }
.arch-note b {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 15px; font-weight: 800; letter-spacing: -0.01em;
  transition: color 200ms;
}
.arch-note b::after {
  content: "+"; font-size: 16px; font-weight: 700; color: var(--faint);
  transition: transform 240ms var(--ease), color 240ms;
}
.arch-note:hover b { color: var(--emph); }
.arch-note:hover b::after { transform: rotate(45deg); color: var(--emph); }
/* 호버하면 그 자리에서 펼쳐지며 아래 항목을 밀어낸다 */
.arch-note span {
  display: block; overflow: hidden;
  font-size: 14px; color: var(--muted); line-height: 1.65;
  max-height: 0; opacity: 0; margin-top: 0;
  transition: max-height 360ms var(--ease), opacity 260ms var(--ease), margin-top 360ms var(--ease);
}
.arch-note:hover span { max-height: 9em; opacity: 1; margin-top: 8px; }

/* --- 과제 플레이트 (R&D 이력 비주얼 — 이미지 없이 정보 자체를 조판) ---------------------------- */
.viz-plate {
  background: linear-gradient(145deg, #EDF2FB, #F7FAFF);
  border-radius: var(--r-lg); padding: 44px 40px;
  min-height: 300px; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.viz-plate.dark { background: linear-gradient(150deg, var(--navy), #16376B); color: var(--on-dark); }
.viz-plate .p-k {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 18px;
}
.viz-plate.dark .p-k { color: rgba(255, 255, 255, 0.5); }
.viz-plate .p-t {
  font-size: clamp(20px, 2vw, 27px); font-weight: 800; line-height: 1.42; letter-spacing: -0.02em;
}
.viz-plate .p-m {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  font-size: 15px; color: var(--muted);
}
.viz-plate.dark .p-m { border-top-color: rgba(255, 255, 255, 0.16); color: var(--on-dark-dim); }
.viz-plate .p-m b { color: var(--emph); font-weight: 800; }
.viz-plate.dark .p-m b { color: #fff; }

/* --- 대표 소개 ----------------------------------------------------------------------------------- */
.ceo-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.ceo-photo { display: flex; margin: 0; }
.ceo-photo img {
  width: 100%; height: 360px; object-fit: cover; object-position: center 12%;
  border-radius: var(--r-lg); border: 1px solid rgba(14, 34, 64, 0.07);
}
.ceo-photo .ph { flex: 1; min-height: 360px; }
/* 팀 사진 없이 본문만 — 2열 그리드 흔적을 남기지 않는다 */
.about-lead { max-width: 60em; }
.ceo-quote { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -0.02em; color: var(--emph); }
.ceo-msg { margin-top: 16px; font-size: 17px; color: var(--muted); max-width: 44em; line-height: 1.8; }
.ceo-history { margin-top: 28px; }
.ceo-history li b { color: var(--emph); margin-right: 10px; }

/* --- 폼 ----------------------------------------------------------------------------------------- */
.form { display: grid; gap: 12px; max-width: 560px; }
.form label { font-size: 15px; font-weight: 700; }
.form input, .form textarea {
  width: 100%; padding: 15px 17px; font: inherit; font-size: 16px;
  border: 1px solid var(--hairline); border-radius: 12px; background: #fff; color: var(--ink);
  transition: border-color 160ms;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.form-note { font-size: 14px; margin-top: 6px; min-height: 1.4em; }
.form-note.ok { color: #1a7f4e; font-weight: 700; }
.form-note.err { color: #b3261e; font-weight: 700; }
.note-draft {
  background: rgba(33,65,131,0.06); border: 1px dashed var(--faint); border-radius: 12px;
  font-size: 14px; color: var(--ink); padding: 10px 14px; margin-top: var(--sp-md);
}

/* --- 푸터 ---------------------------------------------------------------------------------------- */
.footer { background: var(--navy-2); color: var(--on-dark-dim); padding: 68px 0 46px; font-size: 15px; }
.footer .cols { display: flex; justify-content: space-between; gap: var(--sp-lg); flex-wrap: wrap; }
.footer .brand { margin-bottom: 14px; }
.footer .brand img { height: 15px; width: auto; filter: invert(1) brightness(1.6); opacity: 0.95; }
.footer ul li { margin-bottom: 10px; }
.footer a:hover { color: var(--on-dark); }
.footer .fine { margin-top: var(--sp-lg); padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); line-height: 1.8; font-size: 14.5px; }

/* --- misc ----------------------------------------------------------------------------------------- */
.center { text-align: center; }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }

/* --- 리빌 (그룹 스태거는 app.js가 딜레이 부여) ------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 950ms var(--ease), transform 950ms var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* --- 반응형 ------------------------------------------------------------------------------------------ */
@media (max-width: 1180px) {
  .nav-inner { gap: 24px; }
  .nav-menu { gap: 17px; }
  .nav-menu a { font-size: 16.5px; }
  .nav-logo img { height: 25px; }
  .nav-cta { font-size: 15.5px; padding: 11px 20px; }
}
/* 모바일 네비 — 메뉴를 상단 드로어로 전환. 햄버거로 여닫는다 */
@media (max-width: 940px) {
  :root { --nav-h: 68px; }
  .nav-burger { display: flex; }
  .nav-menu {
    display: block; flex: none;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    padding: 4px 28px 22px;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    box-shadow: var(--sh-soft);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 240ms var(--ease), transform 240ms var(--ease), visibility 240ms;
  }
  .nav-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
  .nav-menu a {
    display: block; padding: 16px 2px;
    font-size: 17.5px; opacity: 1;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-menu a:last-child { border-bottom: 0; }
  .nav-menu a::after { display: none; }
  .nav-menu a[aria-current="page"] { color: var(--accent-ink); }
  .nav-logo img { height: 23px; }
  /* 드로어가 열린 동안 배경 스크롤 잠금 */
  body.nav-locked { overflow: hidden; }
}
@media (max-width: 1080px) {
  html { scroll-snap-type: none; }
  .snapv-fill { min-height: 0; display: block; }
  .intro-grid { grid-template-columns: 1fr; gap: 56px; }
  .showcase { grid-template-columns: 1fr; gap: 48px; }
  .show-nav { position: static; }
  .show-nav ol { display: none; }
  /* 모바일: 단계 전환 해제, 일반 흐름 */
  .snap-sec { padding: var(--sp-section) 0; }
  .snap-sec .show-nav { margin-top: 0; }
  .snap-runway { height: auto; }
  .snap-sticky { position: static; height: auto; display: block; overflow: visible; padding: 0; }
  /* min-width:0 — 그리드 항목의 기본값(auto)은 내용의 최소 너비 아래로 줄지 않아,
     데모가 트랙(350px)을 밀고 나가 페이지 전체를 넓힌다 */
  .snap-list { height: auto; display: flex; flex-direction: column; gap: 110px; min-width: 0; }
  .snap-list .show-block { position: static; opacity: 1; transform: none; pointer-events: auto; display: block; }
  .detail-hero .hero-cols { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 960px) {
  :root { --sp-section: 100px; }
  .cap-cards, .cap-cards.two { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card.wide { grid-column: span 1; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: var(--sp-lg); }
  .press { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .ceo-grid { grid-template-columns: 1fr; gap: 32px; }
  .ceo-photo .ph { min-height: 240px; }
  .ax-steps { grid-template-columns: 1fr 1fr; }
  .ax-track { display: none; }
  .mindmap { grid-template-columns: 1fr; gap: 28px; }
  .mm-node .mm-how { opacity: 1; transform: none; }
  .arch-wrap { grid-template-columns: 1fr; gap: 34px; }
  /* 호버가 없는 환경에서는 세부 설명을 그대로 펼쳐 둔다 */
  .arch-note span { max-height: none; opacity: 1; margin-top: 8px; }
  .arch-note b::after { display: none; }
  .al-split { grid-template-columns: 1fr; }
  .al-mid { border: 0; border-top: 1px dashed var(--hairline); border-bottom: 1px dashed var(--hairline); padding: 8px 0; }
  .work-row { grid-template-columns: 64px 1fr; }
  .work-row .go { grid-column: 2; }
}
@media (max-width: 640px) {
  .container, .nav-inner { padding-left: 20px; padding-right: 20px; }
  .nav-menu { padding-left: 20px; padding-right: 20px; }
  .show-body .h-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .show-body .h-row .t-link { margin-bottom: 0; }
  :root { --sp-section: 76px; }

  /* 히어로 — 데스크톱 최소값(52px)이 모바일에서 한 줄을 넘겨 .cycle(고정 높이·overflow
     hidden)에 잘렸다. 폭에 맞춰 다시 잡는다 */
  .hero-a h1 { font-size: clamp(29px, 8.2vw, 46px); }
  .hero-a { padding: 132px 0 120px; min-height: 0; }
  .hero-a .foot { flex-direction: column; align-items: flex-start; gap: 30px; }
  .greet .hello { font-size: clamp(26px, 7.4vw, 34px); }

  /* 연혁 — 5단 그리드는 모바일에서 한 칸이 50px대라 글자가 세로로 뭉갰다.
     그래프는 그대로 두고 연도 라벨만 목록으로 편다 */
  .g-chart { height: 132px; }
  .g-head { margin-bottom: 40px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .g-cols { grid-template-columns: 1fr; gap: 0; margin-top: 26px; }
  .g-cols > div {
    display: grid; grid-template-columns: 62px 1fr; gap: 14px;
    align-items: baseline; text-align: left;
    padding: 13px 0; border-top: 1px solid var(--hairline);
  }
  .g-cols b { font-size: 16px; }
  .g-cols span { font-size: 14.5px; line-height: 1.55; }

  .stats { grid-template-columns: 1fr; }
  .live-demo .body { min-height: 280px; }
  .cta-banner { padding: 88px 0; }
  .detail-hero { padding: 116px 0 66px; }
  .viz-panel { padding: 32px 20px; }
  .steps-flow .sf { min-width: 0; flex: 1 1 140px; padding: 18px 14px; }
  .ax-steps { grid-template-columns: 1fr; }
  .timeline { padding-left: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .rv, .bubble, .typing { opacity: 1; transform: none; }
  .snap-runway { height: auto; }
  .snap-sticky { position: static; height: auto; display: block; overflow: visible; padding: 0; }
  .snap-sec { padding: var(--sp-section) 0; }
  /* min-width:0 — 그리드 항목의 기본값(auto)은 내용의 최소 너비 아래로 줄지 않아,
     데모가 트랙(350px)을 밀고 나가 페이지 전체를 넓힌다 */
  .snap-list { height: auto; display: flex; flex-direction: column; gap: 110px; min-width: 0; }
  .snap-list .show-block { position: static; opacity: 1; transform: none; pointer-events: auto; display: block; }
  .hero-a .cycle span { position: static; transform: none; opacity: 1; display: none; }
  .hero-a .cycle span:first-child { display: block; }
  .g-cols > div { opacity: 1; }
  .logo-marquee .track { width: auto; }
  .logo-marquee .set { flex-wrap: wrap; justify-content: center; row-gap: 26px; padding-right: 0; }
  .logo-marquee .set[aria-hidden="true"] { display: none; }
}
