@charset "utf-8";
/* ============================================================
   SCREENSMITH — 외주 개발 스튜디오
   토큰 → 베이스 → 레이아웃 → 컴포넌트 → 섹션 → 반응형
   ============================================================ */

/* ---------- 폰트 ---------- */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap");

/* ============================================================
   1. 토큰
   ============================================================ */
:root {
  /* 색 — 화이트 베이스, 코발트 단일 액센트 + 앰버(숫자/게임 전용)
     텍스트 3단은 토스, 보더 2단은 리니어 라이트, 교차 배경은 jocodingax 실측값 */
  --bg: #ffffff;
  --bg-deep: #f6f7f9;
  --surface: #ffffff;
  --raised: #f9fafb;
  --line: #e9e8ea;
  --line-strong: #d4d4d6;

  --text: #191f28;
  --muted: #4e5968;
  --dim: #6b7684;

  --cobalt: #4c6fff;
  --cobalt-soft: #3a58e0;
  --cobalt-deep: #2c47cc;

  /* 흰 배경 그림자 — jocodingax shadow-overlay(카드) · 스트라이프(스크린샷) 원문 */
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06), 0 -6px 12px rgba(0, 0, 0, 0.03), 0 14px 28px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 6px 12px -2px rgba(50, 50, 93, 0.12), 0 3px 7px -3px rgba(0, 0, 0, 0.06);
  --shadow-shot: 0 0 0 1px rgba(75, 81, 91, 0.06), 0 27px 40px -27px rgba(50, 50, 93, 0.25), 0 16px 32px -16px rgba(0, 0, 0, 0.1);
  --amber: #ffb020;
  /* 흰 배경에서 글자로 쓸 때의 앰버 (WCAG 4.8:1) — 면·점은 --amber 그대로 */
  --amber-text: #b45309;
  /* 자동화 분야 · 로고에 쓰는 민트 (main.js 의 DOMAIN_COLOR.macro 와 같은 값) */
  --mint: #22d3a6;
  /* 흰 배경 글자용 민트 (WCAG 4.9:1) */
  --mint-text: #0f766e;

  /* 본문 속 강조 텍스트(.accent) 전용 — 흰 배경 대비 7.3:1 (WCAG AA 통과).
     면(#4c6fff)은 버튼·배지에, 글자는 이 색으로 — 토스의 면/글자 2단 운용과 동일 */
  --accent-text: #2c47cc;

  /* 타이포 */
  --display: "Pretendard Variable", Pretendard, -apple-system, system-ui, sans-serif;
  --body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* 간격 — 8px 그리드 */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 96px;
  --s8: 128px;

  /* 라운드 — 3종만 */
  --r-chip: 4px;
  --r-card: 14px;
  --r-device: 22px;

  --wrap: 1200px;
  --header-h: 68px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   2. 베이스
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16.5px;
  font-weight: 450;
  line-height: 1.68;
  letter-spacing: -0.008em;
  /* antialiased 는 글자를 얇게 만듭니다. 선명하게 보이도록 기본값을 씁니다. */
  -webkit-font-smoothing: auto;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

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

::selection { background: var(--cobalt); color: #fff; }

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cobalt);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip:focus { left: 12px; top: 12px; }

/* 공통 타이포 유틸 */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cobalt);
}

.sec-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-top: var(--s3);
}

.sec-lead {
  color: var(--muted);
  font-size: 16px;
  margin-top: var(--s2);
  max-width: 56ch;
}
/* 중앙 정렬 섹션 머리에서는 리드 박스도 중앙에 — 제목만 중앙이고 리드가 왼쪽으로 쏠리는 것 방지 */
.sec-head:not(.sec-head--row) .sec-lead { margin-inline: auto; }

.accent { color: var(--accent-text); font-weight: 700; }

/* ============================================================
   3. 섹션 골격
   ============================================================ */
.section { padding-block: clamp(60px, 8vw, 100px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--alt { background: var(--bg-deep); }
.section + .section { border-top: 1px solid var(--line); }

.sec-head { max-width: 760px; margin: 0 auto var(--s5); text-align: center; }
.sec-head--row {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
}

/* ============================================================
   4. 컴포넌트 — 버튼
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--cobalt-soft);  /* #3a58e0 — 흰 글자 5.75:1 (AA) */
  color: #fff;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
}
.btn--primary:hover { background: var(--cobalt-deep); box-shadow: 0 4px 12px -2px rgba(76, 111, 255, 0.35); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--dim); background: var(--raised); }

.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }


/* ============================================================
   5. 헤더
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  gap: var(--s4);
  width: min(100% - 40px, var(--wrap));
}

.logo {
  display: flex;
  align-items: center;
  flex: none;
  height: 30px;
  transition: opacity 0.18s var(--ease);
}
.logo:hover { opacity: 0.78; }
.logo-svg { height: 100%; width: auto; display: block; }
/* 푸터 심볼 = 헤더와 동일한 K 마크 (인라인 SVG) */
.logo-mark { display: block; flex: none; }

.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a {
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--r-chip);
  transition: color 0.16s, background 0.16s;
}
.nav a:hover { color: var(--text); background: rgba(15, 23, 42, 0.05); }

.header-cta { margin-left: 8px; }

.burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-chip);
  background: transparent;
  padding: 0;
  position: relative;
}
.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: var(--s3) 20px var(--s4);
  display: none;
  z-index: 99;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: var(--s3); }


@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }


.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: var(--s4);
  flex-wrap: wrap;
}


.device-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 10px;
}
.device-dots { display: flex; gap: 6px; }
.device-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
  display: block;
}
.device-url {
  flex: 1;
  height: 26px;
  border-radius: 13px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  overflow: hidden;
  white-space: nowrap;
}
.device-live {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--amber-text);
  display: flex;
  align-items: center;
  gap: 5px;
}
.device-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }


.device-tabs {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  padding: 0 2px;
  flex-wrap: wrap;
}


@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }


/* ============================================================
   7. 로고 스트립
   ============================================================ */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-deep); }
.strip-inner {
  display: flex;
  align-items: center;
  gap: var(--s5);
  padding: 22px 0;
  flex-wrap: wrap;
  justify-content: center;
}
.strip-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--dim);
  text-transform: uppercase;
}
.strip-item {
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  color: var(--dim);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.strip-item:hover { color: var(--muted); }


.svc-mini {
  height: 118px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  margin-bottom: var(--s3);
  position: relative;
}
.svc-no {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cobalt-soft);
  letter-spacing: 0.1em;
}


/* ============================================================
   9. 포트폴리오
   ============================================================ */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: var(--r-chip);
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.18s var(--ease);
}
.filter:hover { color: var(--text); border-color: var(--line-strong); }
.filter.is-on { background: var(--cobalt-soft); border-color: var(--cobalt-soft); color: #fff; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.work {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  text-align: left;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.work:hover { border-color: var(--cobalt); transform: translateY(-4px); }
.work:hover .work-thumb img { transform: scale(1.04); }

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.work-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  background: rgba(9, 10, 15, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 5px 9px;
  border-radius: var(--r-chip);
}
.work-demo {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  background: var(--amber);
  color: #1a1200;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: var(--r-chip);
}
.work-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.work-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.05em;
}
.work-h {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.work-p { display: block; color: var(--muted); font-size: 13.5px; margin-top: 8px; flex: 1; }
.work-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.tag {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: var(--r-chip);
}
.work-result {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--cobalt-soft);
  font-weight: 600;
}

/* 모달 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }
.modal-back { position: absolute; inset: 0; background: rgba(23, 25, 35, 0.55); backdrop-filter: blur(6px); }
.modal-box {
  position: relative;
  width: min(880px, 100%);
  max-height: 90vh;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
  padding: 0;
}
.modal-close {
  position: sticky;
  float: right;
  top: 14px;
  right: 14px;
  z-index: 5;
  margin: 14px 14px -36px 0;
  background: var(--surface);
  width: 36px;
  height: 36px;
  border-radius: var(--r-chip);
  border: 1px solid var(--line);
  font-size: 18px;
  line-height: 1;
}
.modal-close:hover { border-color: var(--line-strong); background: rgba(15, 23, 42, 0.04); }
.modal h3 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; margin-top: 10px; }


.modal-actions { display: flex; gap: 10px; margin-top: var(--s4); flex-wrap: wrap; }

/* ============================================================
   10. 프로세스
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.step { background: var(--bg); padding: var(--s4); position: relative; transition: background 0.22s; }
.step:hover { background: var(--surface); }
.step-no {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--amber-text);
  letter-spacing: 0.08em;
}
.step h3 { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; margin-top: 12px; }
.step p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.step-time {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: var(--r-chip);
}

/* ============================================================
   11. 통계
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.stat { text-align: left; }
.stat-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
}
.stat-num span { color: var(--cobalt); font-size: 0.5em; margin-left: 2px; }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* ============================================================
   12. 요금
   ============================================================ */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan--hot {
  border-color: var(--cobalt);
  background: linear-gradient(180deg, rgba(76, 111, 255, 0.07) 0%, var(--surface) 42%);
  box-shadow: 0 12px 32px -12px rgba(76, 111, 255, 0.35);
}
.plan-flag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--cobalt-soft);
  min-height: 16px;
}
.plan h3 { font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: -0.02em; margin-top: 8px; }
.plan-desc { color: var(--muted); font-size: 14px; margin-top: 8px; min-height: 42px; }
.plan-price {
  font-family: var(--display);
  font-weight: 900;
  font-size: 40px;
  letter-spacing: -0.04em;
  margin-top: var(--s3);
  line-height: 1.1;
}
.plan-price small { font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-feats { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); flex: 1; }
.plan-feats li { font-size: 14px; color: var(--muted); padding: 7px 0 7px 24px; position: relative; }
.plan-feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cobalt);
  font-weight: 700;
  font-size: 13px;
}
.plan .btn { margin-top: var(--s3); }
.plan-note { font-size: 12.5px; color: var(--muted); margin-top: var(--s3); }

/* ============================================================
   13. 후기
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: var(--s4);
  display: flex;
  flex-direction: column;
}
.quote blockquote { margin: 0; }  /* UA 기본 마진(1em 40px) 제거 — 후기 본문이 카드 안에서 옹색하게 들여쓰이는 것 방지 */
.quote-stars { color: var(--amber-text); font-size: 14px; letter-spacing: 2px; }
.quote p { font-size: 15px; line-height: 1.8; margin-top: var(--s2); flex: 1; }
.quote-by { display: flex; align-items: center; gap: 12px; margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--cobalt), #8a5bff);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  flex: none;
}
.quote-by b { display: block; font-size: 14px; font-weight: 600; }
.quote-by span { display: block; font-size: 12.5px; color: var(--dim); }

/* ============================================================
   14. FAQ
   ============================================================ */
.faq { border-top: 1px solid var(--line); max-width: 860px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 22px 44px 22px 0;
  text-align: left;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  position: relative;
}
.faq-q::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease), border-color 0.2s;
}
.faq-q[aria-expanded="true"]::after { transform: translateY(-20%) rotate(-135deg); border-color: var(--cobalt); }
.faq-q:hover { color: var(--cobalt-soft); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;  /* 접힌 답변을 접근성 트리에서도 제외 (aria-expanded와 일치) */
  transition: grid-template-rows 0.3s var(--ease), visibility 0.3s;
}
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; visibility: visible; }
.faq-a p { color: var(--muted); font-size: 15px; line-height: 1.8; padding-bottom: 24px; max-width: 70ch; }

/* ============================================================
   15. 문의
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); }
.contact-side .direct { margin-top: var(--s4); display: grid; gap: 12px; }
.direct-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  transition: border-color 0.2s;
}
.direct-item:hover { border-color: var(--cobalt); }
.direct-ic {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
}
.direct-ic svg { width: 27px; height: 27px; display: block; }
.direct-ic--phone { background: var(--cobalt-soft); }
.direct-ic--kakao { background: #fee500; color: #3c1e1e; }
.direct-ic--mail { background: var(--mint); color: #073f33; }
.direct-ic--mail path { stroke: #d9fff4; }
.direct-item b { display: block; font-size: 15px; font-weight: 600; }
.direct-item span { display: block; font-size: 13px; color: var(--dim); font-family: var(--mono); }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 36px);
}
.field { margin-bottom: 18px; }
.field label,
.field legend {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.field label .req { color: var(--cobalt); }
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-chip);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  padding: 13px 14px;
  transition: border-color 0.18s, background 0.18s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-color: var(--cobalt); background: var(--surface); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.pickers { display: flex; gap: 8px; flex-wrap: wrap; }
.picker { position: relative; }
.picker input { position: absolute; opacity: 0; width: 0; height: 0; }
.picker span {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--r-chip);
  padding: 9px 15px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.picker input:checked + span { background: var(--cobalt-soft); border-color: var(--cobalt-soft); color: #fff; }
.picker input:focus-visible + span { outline: 2px solid var(--cobalt-soft); outline-offset: 2px; }
.picker span:hover { border-color: var(--line-strong); color: var(--text); }

.form-agree { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--dim); margin: 4px 0 18px; }
.form-agree input { margin-top: 3px; accent-color: var(--cobalt); }
.form-agree a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

.form-status {
  margin-top: 14px;
  font-size: 14px;
  color: var(--cobalt-soft);
  min-height: 21px;
}

/* ============================================================
   16. 푸터 + 모바일 고정바
   ============================================================ */
.footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding: var(--s6) 0 var(--s5); }
.footer-top { display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.footer-links { display: flex; gap: var(--s4); flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-info {
  margin-top: var(--s5);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--dim);
  line-height: 2;
}
.footer-info span { margin-right: 18px; white-space: nowrap; }
.footer-copy { font-family: var(--mono); font-size: 11.5px; color: var(--dim); margin-top: var(--s3); }

.mobile-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  display: none;
  gap: 8px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn { flex: 1; height: 46px; padding: 0 12px; font-size: 14px; }

/* ============================================================
   17. 스크롤 리빌
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   18. 반응형
   ============================================================ */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }


  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s3); }
  .mobile-bar { display: flex; }
  body { padding-bottom: 72px; }
}

@media (max-width: 620px) {
  :root { --header-h: 60px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .work-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
  /* modal-box 자체 패딩은 주지 않는다 — cs-* 내부 패딩과 이중 인셋 방지 */
  .cs-head, .cs-tabs, .cs-panels, .cs-foot { padding-left: 16px; padding-right: 16px; }
  .footer-top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* ============================================================
   20. 3대 분야 (Pillars)
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1100px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: var(--s4) var(--s3) var(--s3);
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.pillar:hover {
  border-color: color-mix(in srgb, var(--dc) 55%, transparent);
  transform: translateY(-4px);
}

.pillar-head { display: flex; align-items: center; justify-content: space-between; }
.pillar-en {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937));
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.pillar-en::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--dc);
  box-shadow: 0 0 14px -1px var(--dc);
}
.pillar-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: var(--r-chip);
  font-variant-numeric: tabular-nums;
}
.pillar h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
  margin-top: var(--s2);
}
.pillar-desc { color: var(--muted); font-size: 14px; margin-top: 10px; line-height: 1.7; }
.pillar-list {
  margin-top: var(--s3);
  padding-top: var(--s2);
  border-top: 1px solid var(--line);
  flex: 1;
}
.pillar-list li {
  font-size: 13px;
  color: var(--dim);
  padding: 5px 0 5px 17px;
  position: relative;
}
.pillar-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--dc);
  opacity: 0.75;
}
.pillar-metric {
  margin-top: var(--s3);
  padding: 14px 16px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--dc) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--dc) 22%, transparent);
}
.pillar-metric b {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937));
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.pillar-metric span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.pillar-cta {
  margin-top: var(--s3);
  background: transparent;
  border: 0;
  padding: 10px 0 0;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-top: 1px solid var(--line);
  transition: color 0.18s;
}
.pillar-cta:hover { color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937)); }

/* ============================================================
   21. 대표 케이스 (Featured)
   ============================================================ */
.cases { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 88px); }
.case {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.case:nth-child(even) .case-media { order: 2; }

.case-media { position: relative; }
.case-media::before {
  content: "";
  position: absolute;
  inset: 12% 6%;
  background: var(--dc);
  filter: blur(64px);
  opacity: 0.22;
  pointer-events: none;
}
.case-media img {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-shot);
}
.case-tagline {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  background: rgba(9, 10, 15, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 5px 10px;
  border-radius: var(--r-chip);
}

.case-domain {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937));
}
.case-domain i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--dc);
  box-shadow: 0 0 14px -1px var(--dc);
}
.case-body h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-top: var(--s2);
  text-wrap: balance;
}
.case-desc {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
  margin-top: var(--s2);
  max-width: 46ch;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: var(--s3) 0 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.case-metrics > div { background: var(--bg-deep); padding: 14px 15px; }
.case-metrics dt { font-size: 11.5px; color: var(--dim); line-height: 1.4; }
.case-metrics dd {
  margin: 7px 0 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -0.03em;
  color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937));
  font-variant-numeric: tabular-nums;
}
.case-metrics dd small {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 2px;
}
.case-actions { display: flex; gap: 10px; margin-top: var(--s3); flex-wrap: wrap; }

/* ============================================================
   22. 예시 데이터 안내
   ============================================================ */
.sample-notice {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: baseline;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255, 176, 32, 0.07);
  border: 1px solid rgba(255, 176, 32, 0.26);
  border-radius: var(--r-card);
  padding: 14px 18px;
  margin-bottom: var(--s4);
}
.sample-notice b:first-child {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--amber-text);
  border: 1px solid rgba(255, 176, 32, 0.4);
  padding: 3px 8px;
  border-radius: var(--r-chip);
  flex: none;
}
.sample-notice b { color: var(--text); font-weight: 600; }
.sample-notice code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--amber-text);
  background: rgba(255, 176, 32, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
}

/* ============================================================
   23. 작업 그리드 보강
   ============================================================ */
.work:hover { border-color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937)); }
.work-badge { display: inline-flex; align-items: center; gap: 6px; }
.work-badge i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--dc);
  flex: none;
}
.work-result { color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937)); }
.work[hidden] { display: none; }

.filter { display: inline-flex; align-items: center; gap: 8px; }
.filter-n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  background: rgba(15, 23, 42, 0.06);
  padding: 1px 6px;
  border-radius: 3px;
  font-variant-numeric: tabular-nums;
}
.filter.is-on {
  background: var(--dc, var(--cobalt));
  border-color: var(--dc, var(--cobalt));
  color: #fff;
}
.filter.is-on[data-filter="macro"],
.filter.is-on[data-filter="game"],
.filter.is-on[data-filter="ax"] { color: #0b0d13; }
.filter.is-on .filter-n { background: rgba(0, 0, 0, 0.22); color: inherit; }

@keyframes pop {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

/* ============================================================
   24. 기술 스택
   ============================================================ */
.stacks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }  /* 4개 분야 2×2 */
.stk {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: var(--s3);
}
.stk-h {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--line);
}
.stk-h i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--dc);
  box-shadow: 0 0 14px -1px var(--dc);
  flex: none;
}
.stk-items { display: flex; gap: 6px; flex-wrap: wrap; }

/* ============================================================
   25. 케이스 스터디 모달
   ============================================================ */
.cs-head { padding: var(--s4) var(--s4) var(--s3); border-bottom: 1px solid var(--line); }
.cs-domain {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937));
}
.cs-domain i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--dc);
  box-shadow: 0 0 14px -1px var(--dc);
}
.cs-head h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 3.4vw, 30px);
  letter-spacing: -0.035em;
  line-height: 1.22;
  margin-top: 12px;
  text-wrap: balance;
}
.cs-lead { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 56ch; }
.cs-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin: var(--s3) 0 0;
}
.cs-facts > div { background: var(--bg-deep); padding: 12px 14px; }
.cs-facts dt {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.08em;
}
.cs-facts dd { margin: 5px 0 0; font-size: 14px; font-weight: 600; }

.cs-tabs {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  gap: 2px;
  padding: 10px var(--s4);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.cs-tabs::-webkit-scrollbar { display: none; }
.cs-tab {
  flex: none;
  background: transparent;
  border: 0;
  padding: 9px 15px;
  border-radius: var(--r-chip);
  font-size: 14px;
  font-weight: 600;
  color: var(--dim);
  white-space: nowrap;
  transition: color 0.16s, background 0.16s;
}
.cs-tab:hover { color: var(--text); background: rgba(15, 23, 42, 0.05); }
.cs-tab.is-on { color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937)); background: color-mix(in srgb, var(--dc) 14%, transparent); }

.cs-panels { padding: var(--s4); }
.cs-panel[hidden] { display: none; }
.cs-panel.is-on { animation: pop 0.28s var(--ease) both; }

.cs-block + .cs-block { margin-top: var(--s3); }
.cs-h { margin: 0 0 10px; }
.cs-h-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  border-radius: var(--r-chip);
  font-weight: 700;
}
.cs-block p { color: var(--muted); font-size: 15px; line-height: 1.85; max-width: 68ch; }
.cs-block--body {
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
}
.cs-block--body p + p { margin-top: 14px; }

.cs-learn {
  margin-top: var(--s4);
  padding: 18px 20px;
  border-radius: var(--r-card);
  background: rgba(255, 176, 32, 0.06);
  border: 1px solid rgba(255, 176, 32, 0.22);
}
.cs-learn-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--amber-text);
}
.cs-learn p { color: var(--muted); font-size: 14.5px; line-height: 1.8; margin-top: 9px; }

.cs-note { font-size: 13px; color: var(--dim); margin-bottom: var(--s3); }
.cs-shots { display: flex; flex-direction: column; gap: var(--s3); }
.cs-shot { margin: 0; }
.cs-shot-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg-deep);
}
.cs-shot-frame svg { width: 100%; height: auto; }
.cs-shot figcaption {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  margin-top: 9px;
  letter-spacing: 0.04em;
}

.cs-feats { display: grid; gap: 0; }
.cs-feats li {
  display: flex;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.cs-feats li:last-child { border-bottom: 0; }
.cs-feat-dot { width: 7px; height: 7px; border-radius: 2px; margin-top: 7px; flex: none; }
.cs-feats b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.015em; }
.cs-feats span {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  margin-top: 5px;
}

.cs-stack {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: var(--s4);
}
.cs-stack-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}
.cs-stack-row:last-child { border-bottom: 0; }
.cs-stack-label {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dim);
  padding-top: 5px;
  letter-spacing: 0.04em;
}
.cs-stack-items { display: flex; gap: 6px; flex-wrap: wrap; }

.cs-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.cs-metrics > div { background: var(--bg-deep); padding: 16px; }
.cs-metrics dt { font-size: 12px; color: var(--dim); line-height: 1.4; }
.cs-metrics dd {
  margin: 8px 0 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937));
  font-variant-numeric: tabular-nums;
}
.cs-metrics dd small {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 3px;
}

.cs-timeline { display: grid; gap: 0; }
.cs-timeline li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cs-timeline li:last-child { border-bottom: 0; }
.cs-tl-w {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937));
  letter-spacing: 0.04em;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.cs-timeline b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.015em; }
.cs-timeline span {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  margin-top: 5px;
}

.cs-foot {
  padding: var(--s3) var(--s4) var(--s4);
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}
.cs-result {
  font-size: 15px;
  font-weight: 600;
  color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937));
  padding-left: 14px;
  border-left: 2px solid var(--dc);
}
.cs-foot .modal-actions { margin-top: var(--s3); }

/* ============================================================
   26. 요금 — 분야 색 반영
   ============================================================ */
.plan { --dc: var(--cobalt); }
.plan-flag { color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937)); }
.plan-feats li::before { color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937)); }
.plan--hot {
  border-color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937));
  background: linear-gradient(180deg, color-mix(in srgb, var(--dc) 14%, transparent) 0%, var(--surface) 42%);
  box-shadow: 0 24px 60px -34px color-mix(in srgb, var(--dc) 80%, transparent);
}
.plan h3 { font-size: 21px; }
.plan-price { font-size: 36px; }
.plan-desc { min-height: 60px; font-size: 13.5px; }
.plan-feats li { font-size: 13.5px; padding-left: 22px; }

/* ============================================================
   27. 푸터
   ============================================================ */
.footer-tag { color: var(--muted); font-size: 14px; margin-top: 14px; line-height: 1.7; }

/* ============================================================
   28. 반응형 — 신규 컴포넌트
   ============================================================ */
@media (max-width: 1080px) {
  .stacks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .case:nth-child(even) .case-media { order: 0; }
  .pillars { gap: 14px; }
}

@media (max-width: 900px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .stacks { grid-template-columns: minmax(0, 1fr); }

  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-head, .cs-tabs, .cs-panels, .cs-foot {
    padding-left: var(--s3);
    padding-right: var(--s3);
  }
}

@media (max-width: 620px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan--hot { order: -1; }
  .case-metrics { grid-template-columns: minmax(0, 1fr); }
  .cs-timeline li, .cs-stack-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cs-stack-label, .cs-tl-w { padding-top: 0; }
  .sample-notice { font-size: 12.5px; }
}

/* ============================================================
   29. 업종 스트립 — 클릭하면 해당 업종 작업만 남습니다
   ============================================================ */
.strip-inner { gap: 10px 8px; padding: 18px 0; }
.strip-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-right: 6px;
}
.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease),
    background 0.16s var(--ease), transform 0.16s var(--ease);
}
.strip-item:hover {
  color: var(--text);
  border-color: var(--cobalt);
  background: rgba(76, 111, 255, 0.1);
  transform: translateY(-2px);
}
.strip-item.is-on {
  background: var(--cobalt-soft);
  border-color: var(--cobalt-soft);
  color: #fff;
}
.strip-n {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--dim);
  background: rgba(15, 23, 42, 0.06);
  padding: 1px 6px;
  border-radius: 3px;
  font-variant-numeric: tabular-nums;
}
.strip-item:hover .strip-n { color: var(--muted); }
.strip-item.is-on .strip-n { background: rgba(0, 0, 0, 0.24); color: #fff; }

/* ============================================================
   30. 활성 필터 표시
   ============================================================ */
.work-active {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: var(--s4);
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}
.work-active[hidden] { display: none; }
.work-active-n {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  margin-right: 2px;
}
.work-active-chip {
  --dc: var(--cobalt);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937));
  background: color-mix(in srgb, var(--dc) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--dc) 42%, transparent);
  border-radius: 999px;
  padding: 6px 13px;
  transition: background 0.16s var(--ease);
}
.work-active-chip:hover { background: color-mix(in srgb, var(--dc) 26%, transparent); }
.work-active-chip i { font-style: normal; font-size: 11px; opacity: 0.8; }
.work-active-reset {
  background: transparent;
  border: 0;
  padding: 6px 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dim);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.work-active-reset:hover { color: var(--text); }
.work-active-empty {
  width: 100%;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  padding-top: 4px;
}

/* 작업 카드 메타에 업종 표시 */
.work-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
}
.work-meta b {
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937));
  background: color-mix(in srgb, var(--dc) 14%, transparent);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: -0.01em;
}

/* ============================================================
   31. 가독성 보강 — 글자를 진하고 선명하게
   ============================================================ */

/* 본문·설명 계열: 무게를 올려 흐려 보이지 않게 */
.sec-lead { font-size: 16.5px; font-weight: 500; line-height: 1.72; }


.pillar-desc { font-size: 14.5px; font-weight: 500; }
.pillar-list li { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.pillar-metric span { font-size: 12.5px; font-weight: 600; }


.case-desc { font-weight: 500; }
.case-metrics dt { font-size: 12px; font-weight: 600; color: var(--muted); }
.work-p { font-size: 14px; font-weight: 500; }
.work-result { font-size: 13.5px; font-weight: 700; }
.step p { font-size: 14.5px; font-weight: 500; }
.stat-label { font-size: 14.5px; font-weight: 600; }
.plan-desc { font-size: 14px; font-weight: 500; }
.plan-feats li { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan-note { font-size: 13px; font-weight: 500; }
.quote p { font-size: 15.5px; font-weight: 500; line-height: 1.82; }
.quote-by span { font-size: 13px; font-weight: 500; color: var(--muted); }
.faq-q { font-size: 17px; font-weight: 700; }
.faq-a p { font-size: 15.5px; font-weight: 500; line-height: 1.85; }
.cs-lead { font-size: 15.5px; font-weight: 500; }
.cs-block p { font-size: 15.5px; font-weight: 500; line-height: 1.88; }
.cs-feats span { font-size: 14px; font-weight: 500; }
.cs-timeline span { font-size: 14px; font-weight: 500; }
.cs-learn p { font-size: 15px; font-weight: 500; }
.cs-note { font-size: 13.5px; font-weight: 500; }
.cs-metrics dt { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.cs-facts dd { font-size: 14.5px; font-weight: 700; }
.direct-item span { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.direct-item b { font-size: 15.5px; font-weight: 700; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.field input, .field textarea, .field select { font-size: 15.5px; font-weight: 500; }
.picker span { font-size: 14.5px; font-weight: 600; }
.form-agree { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.form-status { font-size: 14.5px; font-weight: 600; }
.footer-tag { font-size: 14.5px; font-weight: 500; }
.footer-links a { font-size: 14.5px; font-weight: 600; }
.nav a { font-size: 15px; font-weight: 600; }

/* 작은 라벨·모노 계열: 크기를 키우고 굵게 */
.eyebrow { font-size: 12.5px; font-weight: 700; }

.tag { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.filter { font-size: 14.5px; font-weight: 600; }
.filter-n { font-size: 11.5px; font-weight: 700; }
.pillar-en { font-size: 11.5px; font-weight: 700; }
.pillar-count { font-size: 11.5px; font-weight: 600; }
.case-domain { font-size: 11.5px; font-weight: 700; }
.case-tagline { font-size: 11.5px; font-weight: 600; }
.work-badge { font-size: 11.5px; font-weight: 700; }
.work-demo { font-size: 11.5px; font-weight: 800; }
.step-time { font-size: 12px; font-weight: 600; }
.step-no { font-size: 14px; font-weight: 800; }
.cs-stack-label { font-size: 11.5px; font-weight: 600; }
.cs-facts dt { font-size: 11px; font-weight: 600; }
.cs-tl-w { font-size: 12.5px; font-weight: 700; }
.cs-tab { font-size: 14.5px; font-weight: 700; }
.cs-h-tag { font-size: 11.5px; font-weight: 800; }
.cs-learn-label { font-size: 11.5px; font-weight: 700; }
.plan-flag { font-size: 11.5px; font-weight: 700; }


.footer-info { font-size: 13.5px; font-weight: 500; }
.footer-copy { font-size: 12.5px; font-weight: 500; }


.sec-lead b { font-weight: 700; }

.cs-feats b { font-size: 15.5px; font-weight: 700; }
.cs-timeline b { font-size: 15.5px; font-weight: 700; }
.work-h { font-size: 17.5px; font-weight: 800; }
.quote-by b { font-size: 14.5px; font-weight: 700; }

/* 푸터 연락처를 누를 수 있게 */
.footer-info a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}
.footer-info a:hover { color: var(--text); text-decoration-color: var(--cobalt); }
.footer-info b { color: var(--text); font-weight: 800; }

/* ============================================================
   32. 반응형 — 스트립
   ============================================================ */
@media (max-width: 700px) {
  .strip-inner { justify-content: flex-start; }
  .strip-label { width: 100%; margin-bottom: 2px; }
  .strip-item { font-size: 13px; padding: 7px 12px; }
  .work-active { padding: 12px 14px; }
}

/* ============================================================
   33. 요금 — 가격 변동 안내
   ============================================================ */
.price-warn {
  border: 1px solid rgba(255, 176, 32, 0.3);
  background: rgba(255, 176, 32, 0.06);
  border-radius: var(--r-card);
  padding: clamp(20px, 3vw, 30px);
  margin-bottom: var(--s5);
}
.price-warn-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber-text);
  border: 1px solid rgba(255, 176, 32, 0.42);
  padding: 4px 10px;
  border-radius: var(--r-chip);
}
.price-warn-lead {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text);
  margin-top: 14px;
  max-width: 60ch;
}
.price-warn-lead b { color: var(--amber-text); font-weight: 800; }

.price-warn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: var(--s3);
  background: rgba(255, 176, 32, 0.22);
  border: 1px solid rgba(255, 176, 32, 0.22);
  border-radius: 10px;
  overflow: hidden;
}
.price-warn-grid > div { background: var(--bg); padding: 18px 20px; }
.price-warn-grid b {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.price-warn-grid p {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 9px;
}
.price-warn-grid p b { display: inline; font-size: inherit; color: var(--text); font-weight: 700; }
.price-warn-foot {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--muted);
  margin-top: var(--s3);
  padding-top: var(--s2);
  border-top: 1px solid rgba(255, 176, 32, 0.22);
  max-width: 74ch;
}
.price-warn-foot b { color: var(--text); font-weight: 700; }

/* ---------- 요금 카드: 기준 조건 + 변동 조건 ---------- */
.plan-base {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--dim);
  margin-top: 9px;
  padding-left: 15px;
  position: relative;
}
.plan-base::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--line-strong);
}
.plan-base.is-key { color: var(--amber-text); }
.plan-base.is-key::before { background: var(--amber); box-shadow: 0 0 12px -1px var(--amber); }

.plan-varies {
  margin-top: var(--s3);
  padding-top: var(--s2);
  border-top: 1px dashed var(--line-strong);
}
.plan-varies ul { margin-top: 9px; }
.plan-varies li {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--muted);
  padding: 5px 0 5px 18px;
  position: relative;
}
.plan-varies li::before {
  content: "+";
  position: absolute;
  left: 2px;
  top: 5px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--line-strong);
}
.plan-varies li.is-key { color: var(--amber-text); font-weight: 700; }
.plan-varies li.is-key::before { color: var(--amber-text); }

.plan-note {
  margin-top: var(--s3);
  padding-top: var(--s2);
  border-top: 1px solid var(--line);
  line-height: 1.65;
}

@media (max-width: 820px) {
  .price-warn-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   34. 회신 약속 배지 — 문의 섹션
   ============================================================ */
.reply-vow {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: var(--s3);
  padding: 16px 20px;
  border: 1px solid color-mix(in srgb, var(--mint) 34%, transparent);
  background: color-mix(in srgb, var(--mint) 7%, transparent);
  border-radius: var(--r-card);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.72;
  color: var(--muted);
  max-width: 78ch;
}
.reply-vow-tag {
  flex: none;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mint-text);
  border: 1px solid color-mix(in srgb, var(--mint) 42%, transparent);
  padding: 3px 9px;
  border-radius: var(--r-chip);
}
.reply-vow-body { flex: 1 1 240px; min-width: 0; }
.reply-vow b { color: var(--text); font-weight: 700; }
.reply-vow b:first-of-type { color: var(--mint-text); font-weight: 800; }

@media (max-width: 620px) {
  .reply-vow { padding: 14px 16px; font-size: 14px; }
}

/* ============================================================
   35. 현재 보고 있는 섹션 표시 (주소 라우팅과 연동)
   ============================================================ */
.nav a.is-here,
.nav a[aria-current="page"],
.mobile-nav a.is-here {
  color: var(--text);
  background: rgba(15, 23, 42, 0.06);
}
.nav a.is-here { position: relative; }
.nav a.is-here::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--cobalt);
}

/* ============================================================
   36. 문의 전송 상태
   ============================================================ */
.form-status {
  min-height: 22px;
  transition: color 0.18s var(--ease);
}
.form-status.is-ok {
  color: var(--mint-text);
  font-weight: 700;
}
.form-status.is-warn {
  color: var(--amber-text);
  font-weight: 600;
}
.form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: progress;
}


/* 요금표 아래 대금 장치 스트립 */
.price-trust {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--mint);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}
.price-trust b { color: var(--text); margin-right: 6px; }

/* ============================================================
   상담봇 위젯 (assets/js/chatbot.js)
   ============================================================ */
.kbot { position: fixed; right: 18px; bottom: 18px; z-index: 120; font-family: var(--body, inherit); }
.kbot-fab {
  display: flex; align-items: center; gap: 9px;
  background: var(--cobalt-soft); color: #fff;
  border: 0; border-radius: 999px; padding: 14px 19px 14px 16px;
  font-size: 14px; font-weight: 700; cursor: pointer; letter-spacing: -0.01em;
  /* 채널톡 런처 실측 섀도 */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1), 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: transform .18s, box-shadow .18s, background .18s;
}
.kbot-fab:hover { transform: translateY(-2px); background: var(--cobalt-deep); }
.kbot-fab-ic { width: 22px; height: 22px; flex: none; }
.kbot-fab-ic svg { display: block; width: 100%; height: 100%; }
.kbot.is-open .kbot-fab { display: none; }

.kbot-panel[hidden] { display: none; }
.kbot-panel {
  position: absolute; right: 0; bottom: 0;
  width: min(360px, calc(100vw - 36px));
  background: var(--surface, #ffffff); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex; flex-direction: column; max-height: min(560px, calc(100vh - 100px));
}
.kbot-head { display: flex; align-items: center; gap: 11px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex: none; }
.kbot-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--cobalt), #7d95ff); position: relative; flex: none; }
.kbot-avatar::before { content: ""; position: absolute; inset: 9px 8px 12px 8px; border-radius: 6px; background: #fff; }
.kbot-avatar::after { content: ""; position: absolute; right: 10px; bottom: 7px; width: 0; height: 0; border: 4px solid transparent; border-top: 5px solid #fff; border-right-width: 1px; }
.kbot-head b { display: block; font-size: 14px; letter-spacing: -0.02em; }
.kbot-head small { display: block; font-size: 11px; color: var(--dim); margin-top: 1px; }
.kbot-x { margin-left: auto; background: none; border: 0; color: var(--dim); font-size: 14px; cursor: pointer; padding: 6px; }
.kbot-x:hover { color: var(--text); }

.kbot-body { padding: 16px 14px 6px; overflow-y: auto; flex: 1; min-height: 180px; }
.kbot-msg { display: flex; margin-bottom: 10px; }
.kbot-msg.user { justify-content: flex-end; }
.kbot-bubble { max-width: 86%; border-radius: 13px; padding: 10px 13px; font-size: 13px; line-height: 1.65; }
.kbot-msg.bot .kbot-bubble { background: var(--bg-deep); border: 1px solid var(--line); border-top-left-radius: 4px; }
.kbot-msg.user .kbot-bubble { background: var(--cobalt); color: #fff; border-top-right-radius: 4px; }
.kbot-bubble b { color: var(--accent-text); }
.kbot-msg.user .kbot-bubble b { color: #fff; }
.kbot-note { display: block; margin-top: 8px; font-size: 11px; color: var(--dim); line-height: 1.6; }
.kbot-note a { color: var(--accent-text); text-decoration: underline; }
.kbot-links { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.kbot-links a { display: block; font-size: 12px; font-weight: 700; color: var(--accent-text); background: rgba(76, 111, 255, 0.07); border: 1px solid rgba(76, 111, 255, 0.28); border-radius: 9px; padding: 8px 11px; text-decoration: none; transition: .15s; }
.kbot-links a:hover { background: rgba(76, 111, 255, 0.14); }
.kbot-typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.kbot-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--dim); animation: kbt 1s infinite; }
.kbot-typing i:nth-child(2) { animation-delay: .15s; }
.kbot-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes kbt { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }

.kbot-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 14px 14px; flex: none; }
.kbot-chips button { font-size: 11.5px; border: 1px solid var(--line); background: none; color: var(--muted, #4e5968); border-radius: 20px; padding: 7px 11px; cursor: pointer; font-family: inherit; letter-spacing: -0.01em; transition: .15s; }
.kbot-chips button:hover { border-color: var(--cobalt); color: var(--accent-text); }

@media (max-width: 900px) {
  .kbot { bottom: calc(76px + env(safe-area-inset-bottom)); right: 14px; }
  .kbot-fab-t { display: none; }
  .kbot-fab { padding: 13px; }
}

/* ============================================================
   상담 가능 상태 + 문의 폼 허니팟
   ============================================================ */
.consult-line {
  display: flex; align-items: baseline; gap: 8px;
  margin: 14px 0 4px; font-size: 14px; line-height: 1.65; color: var(--dim);
}
.consult-line[hidden] { display: none; }  /* JS가 채우기 전 빈 줄 노출 방지 */
.consult-line::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); transform: translateY(-1px);
}
.consult-line.is-on { color: var(--text); }
.consult-line.is-on::before { background: #22d3a6; box-shadow: 0 0 0 4px rgba(34, 211, 166, .14); }

.hp-field {
  position: absolute; left: -10000px; top: auto;
  width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none;
}

/* ============================================================
   데모 없는 작업 — 접힌 목록
   ============================================================ */
.work-more { margin-top: 18px; }
.work-more-toggle {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 20px; border: 1px dashed var(--line-strong); border-radius: var(--r-card);
  background: transparent; color: var(--muted); font-size: 15px; font-weight: 600; cursor: pointer;
}
.work-more-toggle:hover { border-color: var(--cobalt); color: var(--text); }
.work-more-toggle i {
  width: 8px; height: 8px; flex: none;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s var(--ease);
}
.work-more-toggle.is-open i { transform: rotate(225deg) translateY(-2px); }
.work-rows { margin-top: 10px; display: grid; gap: 8px; }
.work-rows[hidden], .work-row[hidden] { display: none; }
.work-row {
  display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 6px 18px;
  text-align: left; padding: 14px 18px; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--surface); color: var(--text);
  transition: border-color .15s var(--ease);
}
.work-row:hover { border-color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937)); }
.work-row-cat { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--dim); }
.work-row-cat i { width: 8px; height: 8px; border-radius: 2px; background: var(--dc); flex: none; }
.work-row-main { min-width: 0; }
.work-row-h { display: block; font-weight: 700; font-size: 15px; }
.work-row-p {
  display: block; font-size: 13.5px; color: var(--dim);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.work-row-arrow { font-size: 13px; font-weight: 600; color: var(--dim); white-space: nowrap; }
.work-row:hover .work-row-arrow { color: var(--cobalt); }
@media (max-width: 720px) {
  .work-row { grid-template-columns: 1fr auto; }
  .work-row-cat { grid-column: 1 / -1; }
  .work-row-p { white-space: normal; }
}

/* ============================================================
   화이트 전환 보강
   ============================================================ */
html { color-scheme: light; }
body { word-break: keep-all; }


/* ============================================================
   시작 밴드 — 백지 리듬 반전 (jocodingax S9 패턴, 사이트에 딱 1개)
   ============================================================ */
.band { background: #25272d; padding-block: clamp(56px, 7vw, 88px); }
.band-head { text-align: center; max-width: 640px; margin: 0 auto var(--s4); }
.band-head h2 {
  font-family: var(--display); font-weight: 800; color: #fff;
  font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.03em; line-height: 1.2;
}
.band-head p { margin-top: 12px; font-size: 16px; color: #9ca0ab; }
.band-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px; max-width: 880px; margin: 0 auto;
}
.band-card {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: 150px; border-radius: 14px; padding: 28px 30px; color: #fff;
  transition: transform 0.2s var(--ease);
}
.band-card:hover { transform: scale(1.02); }
.band-card b { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.band-card span { margin-top: 6px; font-size: 14px; }
.band-card i {
  position: absolute; top: 22px; right: 26px; font-style: normal;
  font-size: 22px; opacity: 0; transform: translateX(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.band-card:hover i { opacity: 1; transform: translateX(0); }
.band-card--blue { background: linear-gradient(to right, #3a58e0, #4c6fff); }
.band-card--dark { background: #3c3f47; }
@media (max-width: 720px) {
  .band-grid { grid-template-columns: 1fr; }
  .band-card { min-height: 116px; }
}

/* ============================================================
   서브페이지 (demos / team / consult)
   ============================================================ */
.subpage { padding-top: var(--header-h); }
.page-hero {
  padding: clamp(48px, 7vw, 84px) 0 clamp(28px, 4vw, 44px);
  text-align: center;
  background: radial-gradient(ellipse 70% 60% at 50% -20%, rgba(76, 111, 255, 0.07), transparent);
}
.page-hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(30px, 4.4vw, 46px); line-height: 1.2; letter-spacing: -0.03em;
  margin-top: var(--s2);
}
.page-hero p { color: var(--muted); margin-top: 12px; font-size: 16.5px; }

/* ---------- 데모 허브 (jocodingax AXLake 콘솔 카드 패턴) ---------- */
.chips-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: var(--s4); }
.chip-f {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: #fff;
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.chip-f span {
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  background: rgba(15, 23, 42, 0.06); border-radius: 3px; padding: 1px 6px;
}
.chip-f.is-on { background: var(--text); border-color: var(--text); color: #fff; }
.chip-f.is-on span { background: rgba(255, 255, 255, 0.2); color: #fff; }
.dgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dcard {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--bg-deep); border: 1px solid transparent; border-radius: 12px;
  padding: 22px 22px 18px; color: var(--text);
  transition: border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.dcard:hover { border-color: var(--dc); transform: translateY(-2px); }
/* 카드 전체가 링크라 a:hover 밑줄이 본문에 번지는 것을 막습니다 */
.dcard:hover, .ccard:hover, .band-card:hover, .work-row:hover { text-decoration: none; }
.dcard-meta { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--dim); }
.dcard-meta i { width: 8px; height: 8px; border-radius: 2px; background: var(--dc); flex: none; }
.dcard-h { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.dcard-p {
  font-size: 13.5px; color: var(--muted); line-height: 1.6; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.dcard-badge {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em;
  color: #047857; background: #ecfdf5; padding: 3px 9px; border-radius: 999px;
}
.dcard-badge.is-scen { color: #6d28d9; background: #f3eefe; }
.dcard-open { background: var(--cobalt-soft); color: #fff; font-size: 13.5px; font-weight: 700; padding: 8px 16px; border-radius: 8px; }
.dcard:hover .dcard-open { background: var(--cobalt-deep); }
.dgrid-note { margin-top: var(--s3); text-align: center; font-size: 13.5px; color: var(--dim); }
.dgrid-note a { color: var(--accent-text); text-decoration: underline; }
@media (max-width: 960px) { .dgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .dgrid { grid-template-columns: 1fr; } }

/* ---------- 팀 ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 28px 26px; box-shadow: var(--shadow-card);
}
.tcard-avatar {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: color-mix(in srgb, var(--dc) 14%, #fff);
  color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937));
  font-family: var(--display); font-weight: 800; font-size: 24px;
}
/* 3D 프로필 아바타(Fluent Emoji 3D · MIT) — 원형 틴트 안에 배치 */
.tcard-avatar--img {
  position: relative;
  width: 88px; height: 88px; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--dc) 26%, #fff);
}
.tcard-avatar--img img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; transform: scale(1.04) translateY(2%);
}
.tcard-avatar--img img.is-flip { transform: scale(1.04) translateY(2%) scaleX(-1); }
/* AX 파트너: 내민 손바닥 위 AX 모노그램 카드 (jocodingax 아이콘 스타일 자체 드로잉) */
.tcard-ax-badge {
  position: absolute; right: 3%; top: 30%;
  width: 34px; padding: 4px 5px 2px; border-radius: 8px;
  background: #fff; border: 1px solid var(--line);
  transform: rotate(-7deg);
  box-shadow: 0 2px 6px rgba(20, 60, 160, 0.28);
}
.tcard-ax-badge svg { display: block; width: 100%; height: auto; }
.tcard-role {
  display: inline-block; margin-top: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--dim);
  border: 1px solid var(--line-strong); padding: 3px 9px; border-radius: 999px;
}
.tcard-name { font-size: 21px; font-weight: 800; margin-top: 10px; }
.tcard-title { font-size: 14px; font-weight: 600; color: var(--accent-text); margin-top: 4px; }
.tcard-facts { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.tcard-facts li { list-style: none; position: relative; padding: 4px 0 4px 18px; font-size: 14px; color: var(--muted); }
.tcard-facts li::before { content: "✓"; position: absolute; left: 0; color: var(--cobalt); font-weight: 700; font-size: 12px; }
.tcard-scope { margin-top: 12px; font-size: 13px; color: var(--dim); }
.tway { margin-top: var(--s6); text-align: center; }
.tway h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(22px, 3vw, 30px); line-height: 1.2; letter-spacing: -0.02em;
}
.tway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: var(--s4); }
.tway-grid > div { background: var(--bg-deep); border-radius: 12px; padding: 20px; }
.tway-grid b { display: block; font-size: 15.5px; }
.tway-grid span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) { .tgrid, .tway-grid { grid-template-columns: 1fr; } }
.tgrid-more { text-align: center; margin-top: var(--s4); }

/* ---------- 상담 페이지 ---------- */
.consult-line--page { justify-content: center; font-size: 15px; margin: 0 0 var(--s4); }
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ccard {
  display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 26px 18px; box-shadow: var(--shadow-card); color: var(--text);
  transition: border-color 0.15s var(--ease);
}
.ccard:hover { border-color: var(--cobalt); }
.ccard-ic {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 8px;
  color: #fff;
}
.ccard-ic svg { width: 36px; height: 36px; display: block; }
.ccard-ic--phone { background: var(--cobalt-soft); }
.ccard-ic--kakao { background: #fee500; color: #3c1e1e; }
.ccard-ic--sms { background: var(--mint); color: #073f33; }
.ccard-ic--sms path { stroke: #d9fff4; }
.ccard b { font-size: 16px; }
.ccard > span:not(.ccard-ic) { font-size: 14px; color: var(--accent-text); font-weight: 600; }
.ccard small { font-size: 12.5px; color: var(--dim); }
.consult-form-wrap { margin-top: var(--s6); max-width: 720px; margin-inline: auto; }
@media (max-width: 720px) { .cgrid { grid-template-columns: 1fr; } }


/* ============================================================
   풀블리드 히어로 — jocodingax 실측 적용
   (선명한 풀블리드 쇼케이스 + 중앙 흰 텍스트 + 얕은 스크림 + 켄번즈)
   이미지 자체를 다크 무대로 생성하므로 스크림은 텍스트 대비용 최소치만.
   ============================================================ */
.hero-full {
  position: relative;
  overflow: hidden;
  min-height: clamp(600px, 92svh, 880px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-h) + clamp(40px, 6.5vh, 76px)) 20px 84px;
  background: #0e1017;
}
.hero-slides, .hero-scrim { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s var(--ease), transform 6.5s linear;
}
.hero-slide.is-on { opacity: 1; transform: scale(1.04); }
.hero-scrim {
  background: linear-gradient(180deg,
    rgba(14, 16, 23, 0.66) 0%,
    rgba(14, 16, 23, 0.28) 34%,
    rgba(14, 16, 23, 0.06) 58%,
    rgba(14, 16, 23, 0.22) 100%);
}
.hero-full-inner { position: relative; max-width: 820px; }
.hero-full h1 {
  font-family: var(--display);
  font-weight: 800;
  color: #fff;
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-brand { display: inline-flex; justify-content: center; margin-top: clamp(6px, 1vw, 12px); }
.hero-brand-svg {
  display: block;
  width: auto;
  height: clamp(48px, 7.6vw, 88px);
  filter: drop-shadow(0 4px 22px rgba(0, 0, 0, 0.4));
}
.hero-full-lead {
  margin-top: 16px;
  font-size: clamp(15.5px, 1.8vw, 18px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  word-break: keep-all;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}
.hero-full-lead strong { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(76, 111, 255, 0.85); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.hero-full .hero-actions { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* 다크 히어로 위 보조 버튼 — 반투명 대신 흰 면으로 또렷하게 (jocodingax 보조 CTA 방식) */
.btn--hero-ghost {
  border: 1px solid #fff;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.btn--hero-ghost:hover { background: #eef1f6; border-color: #eef1f6; }
.hero-slide-label {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
  z-index: 2;
}
.hero-slide-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cobalt);
  box-shadow: 0 0 0 4px rgba(76, 111, 255, 0.18);
}

/* 히어로 위 투명 헤더 — 스크롤 전엔 흰 로고·내비 (jocodingax gnb-theme=dark) */
.has-photo-hero .header:not(.is-stuck) .logo-svg text { fill: #fff; }
.has-photo-hero .header:not(.is-stuck) .nav a { color: rgba(255, 255, 255, 0.85); }
.has-photo-hero .header:not(.is-stuck) .nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.has-photo-hero .header:not(.is-stuck) .burger { border-color: rgba(255, 255, 255, 0.45); }
.has-photo-hero .header:not(.is-stuck) .burger span { background: #fff; }

@media (max-width: 640px) {
  .hero-full { min-height: clamp(560px, 88svh, 780px); padding-bottom: 92px; }
  .hero-actions .btn { width: 100%; }
}

/* ============================================================
   요금 그리드 보정 — 5번째 카드가 홀로 남아 오른쪽이 비는 문제
   (4열: 전폭 가로형 3단 배치 / 2열: 전폭 배너형)
   ============================================================ */
@media (min-width: 1081px) {
  .plan:last-child:nth-child(4n+1) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "flag  feats varies"
      "name  feats varies"
      "desc  feats varies"
      "price feats varies"
      "base  feats varies"
      "btn   feats varies"
      "note  feats varies";
    column-gap: var(--s5);
    align-items: start;
    align-content: start;
  }
  .plan:last-child:nth-child(4n+1) .plan-flag   { grid-area: flag; }
  .plan:last-child:nth-child(4n+1) h3           { grid-area: name; }
  .plan:last-child:nth-child(4n+1) .plan-desc   { grid-area: desc; }
  .plan:last-child:nth-child(4n+1) .plan-price  { grid-area: price; }
  .plan:last-child:nth-child(4n+1) .plan-base   { grid-area: base; }
  .plan:last-child:nth-child(4n+1) .plan-feats  { grid-area: feats; margin-top: 0; }
  .plan:last-child:nth-child(4n+1) .plan-varies { grid-area: varies; margin-top: 0; }
  .plan:last-child:nth-child(4n+1) .btn         { grid-area: btn; align-self: end; margin-top: var(--s3); }
  .plan:last-child:nth-child(4n+1) .plan-note   { grid-area: note; }
}
@media (min-width: 621px) and (max-width: 1080px) {
  .plan:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
}

/* ============================================================
   30. 압축 스택 카드 — 대표 칩 + "+n" 강조 칩
   ============================================================ */
.stk--compact { padding: 20px; }
.stk--compact .stk-items { margin-top: 10px; }
.tag--more {
  color: var(--dc-text, color-mix(in srgb, var(--dc) 50%, #1f2937));
  background: color-mix(in srgb, var(--dc) 10%, #fff);
  border-color: color-mix(in srgb, var(--dc) 24%, #fff);
  font-weight: 700;
}

/* ============================================================
   31. 요금 상승요인 접기 — <details class="plan-varies">
   ============================================================ */
.plan-varies summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--dim);
  -webkit-user-select: none;
  user-select: none;
}
.plan-varies summary::-webkit-details-marker { display: none; }
.plan-varies summary b {
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--bg-deep);
  border: 1px solid var(--line-strong);
  color: var(--dim);
}
.plan-varies summary i {
  width: 6px;
  height: 6px;
  margin-left: auto;
  margin-top: -3px;
  border-right: 1.5px solid var(--dim);
  border-bottom: 1.5px solid var(--dim);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
  flex: none;
}
.plan-varies[open] summary i { transform: rotate(225deg); margin-top: 3px; }

/* ============================================================
   32. 중간 CTA 밴드
   ============================================================ */
.midcta {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.midcta-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.midcta-in p { font-size: 15px; color: var(--muted); }
.midcta-in p b { color: var(--text); }
.midcta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .midcta-in { flex-direction: column; justify-content: center; text-align: center; }
  .midcta-btns { justify-content: center; }
}

/* ============================================================
   33. 홀로 남은 데모 카드 — 마지막 줄 1개일 때 가로형
   ============================================================ */
@media (min-width: 1081px) {
  .work.work--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }
  .work--wide .work-thumb {
    height: 100%;
    aspect-ratio: auto;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .work--wide .work-thumb img { height: 100%; object-fit: cover; }
  .work--wide .work-body { padding: 26px 30px; }
}

/* ============================================================
   34. 팀 카드 — 이력 호버/탭 패널
   ============================================================ */
.tcard { cursor: pointer; }
.tcard-more {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.3s var(--ease), visibility 0.3s;
}
.tcard-more > div { overflow: hidden; }
@media (hover: hover) {
  .tcard:hover .tcard-more,
  .tcard:focus-within .tcard-more {
    grid-template-rows: 1fr;
    visibility: visible;
  }
  .tcard:hover .tcard-hint,
  .tcard:focus-within .tcard-hint { opacity: 0; }
}
.tcard.is-open .tcard-more { grid-template-rows: 1fr; visibility: visible; }
.tcard.is-open .tcard-hint { opacity: 0; }
.tcard-hint {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--dim);
  transition: opacity 0.2s var(--ease);
}
.tcard-hint::before { content: "↓ "; font-family: var(--mono); font-size: 11px; }


/* ============================================================
   35. 첫 화면 시선 정리 — 챗봇 라벨 자동 접힘 · 업종 칩 더보기
   ============================================================ */
.kbot-fab-t {
  max-width: 240px;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.35s var(--ease), opacity 0.25s var(--ease);
}
.kbot--min .kbot-fab-t { max-width: 0; opacity: 0; }
.kbot--min .kbot-fab { padding: 14px 15px; gap: 0; }
.kbot--min .kbot-fab:hover .kbot-fab-t { max-width: 240px; opacity: 1; }
.kbot--min .kbot-fab:hover { gap: 9px; padding: 14px 19px 14px 16px; }

.strip-item[hidden] { display: none; }
.strip-item--more {
  color: var(--accent-text);
  border-style: dashed;
  background: transparent;
}


/* FAQ 상위 5개 + 더 보기 */
.faq-item[hidden] { display: none; }
.faq-more {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 4px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-card);
  background: transparent;
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.faq-more:hover { border-color: var(--cobalt); background: rgba(76, 111, 255, 0.05); }


/* ============================================================
   36. 상담 예약(퀵) — 입력을 문자·카카오 메시지로 변환
   ============================================================ */
.quick { max-width: 720px; margin: var(--s6) auto 0; }
.quick-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: var(--s4);
  display: grid;
  gap: var(--s3);
}
.quick-etc { margin-top: 8px; }
.quick-etc[hidden] { display: none; }
.quick-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.quick-btns .btn { flex: 1 1 200px; }
.btn--kakao {
  background: #fee500;
  color: #3c1e1e;
  border-color: #fee500;
  font-weight: 700;
}
.btn--kakao:hover { background: #f6dc00; border-color: #f6dc00; }
.quick-link { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.quick-link a { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
