@charset "UTF-8";
/* =========================================================================
   Xerost AI — Design System
   -------------------------------------------------------------------------
   Tailwind CDN / jQuery / AOS / Font Awesome 의존을 제거하고
   직접 구성한 디자인 토큰 기반 스타일시트.
   구조: 1) 토큰  2) 리셋  3) 타이포  4) 레이아웃  5) 컴포넌트
        6) 섹션  7) 반응형  8) 모션 접근성
   ========================================================================= */

/* ── 1. 디자인 토큰 ─────────────────────────────────────────────────── */
:root {
  /* 배경 계층 */
  --bg:            #05070d;
  --bg-elev:       #090d16;
  --surface:       rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --line:          rgba(255, 255, 255, 0.09);
  --line-strong:   rgba(255, 255, 255, 0.18);

  /* 텍스트 */
  --text:    #eef2f8;
  --text-dim: #a8b2c4;
  --muted:   #77839a;

  /* 브랜드 — 기존 블루를 축으로 시안·바이올렛을 확장 */
  --brand:   #2e8bff;
  --brand-d: #1568e0;
  --cyan:    #37e6ff;
  --violet:  #7b5cff;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--brand) 46%, var(--violet) 100%);
  --grad-soft: linear-gradient(100deg, rgba(55,230,255,.14), rgba(46,139,255,.14) 46%, rgba(123,92,255,.14));

  /* 타이포 */
  --font-sans: "Pretendard Variable", Pretendard, "S-CoreDream",
               -apple-system, BlinkMacSystemFont, system-ui,
               "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Liberation Mono", monospace;

  /* 간격 리듬 */
  --gutter:    clamp(20px, 5vw, 40px);
  --container: 1240px;
  --section-y: clamp(72px, 11vw, 152px);

  /* 형태 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* 모션 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur:  0.5s;
}

/* ── 2. 리셋 ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 고정 헤더에 앵커가 가리지 않도록 */
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
/* 컴포넌트의 display 선언이 UA의 [hidden]{display:none}을 덮어쓰는 것을 막는다. */
[hidden] { display: none !important; }
input, textarea, select { font: inherit; color: inherit; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

/* 키보드 포커스는 항상 보이게 (마우스 클릭 시에는 표시하지 않음) */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(46, 139, 255, 0.35); color: #fff; }

/* 스크린리더 전용 */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 본문 바로가기 링크 */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 12px 20px; border-radius: var(--r-sm);
  background: var(--brand); color: #fff; font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ── 3. 타이포그래피 ────────────────────────────────────────────────── */
/* 한글은 단어 중간에서 줄바꿈되면 가독성이 크게 떨어진다.
   keep-all + balance 조합이 한국어 제목 조판의 핵심. */
h1, h2, h3, h4 {
  word-break: keep-all;
  text-wrap: balance;
  letter-spacing: -0.035em;
  font-weight: 800;
  line-height: 1.18;
}
p { word-break: keep-all; }

.display {
  font-size: clamp(2.6rem, 9vw, 7.5rem);
  /* 한글은 라틴 문자보다 글자틀이 커서 0.9대 행간이면 받침이 잘린다. */
  line-height: 1.06;
  letter-spacing: -0.05em;
  font-weight: 800;
}
.h2 { font-size: clamp(1.85rem, 4.4vw, 3.5rem); }
.h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.3; }
.lead {
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  line-height: 1.75;
  color: var(--text-dim);
}
.body-dim { color: var(--text-dim); }
.small { font-size: 0.875rem; }

/* 그라데이션 텍스트 */
.grad-text {
  /* background-clip: text는 글리프 박스를 기준으로 잘라내므로
     받침·디센더가 있는 한글은 아래쪽에 약간의 여유가 필요하다. */
  display: inline-block;
  padding-bottom: 0.08em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* 섹션 상단 라벨 — 모노스페이스가 기술 제품의 신호를 준다 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px;
  background: currentColor; opacity: 0.6;
}

/* ── 4. 레이아웃 ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
  /* .glow 같은 장식 요소가 문서 폭을 넓히지 못하게 잘라낸다.
     clip은 스크롤 컨테이너를 만들지 않아 hidden보다 부작용이 적다. */
  overflow: hidden;
  overflow: clip;
}

.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 76px); }
.section-head .h2 { margin-top: 18px; }
.section-head .lead { margin-top: 20px; }

/* 배경 장식 — 그레인 + 메시 글로우.
   둘 다 pointer-events: none 이므로 클릭을 가로막지 않는다. */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow {
  position: absolute; z-index: 0; pointer-events: none;
  border-radius: 50%; filter: blur(90px);
  /* 좁은 화면에서 장식이 화면을 지배하지 않도록 상한 */
  max-width: 90vw; max-height: 90vw;
}
.glow--cyan   { background: radial-gradient(circle, rgba(55,230,255,.20), transparent 70%); }
.glow--brand  { background: radial-gradient(circle, rgba(46,139,255,.22), transparent 70%); }
.glow--violet { background: radial-gradient(circle, rgba(123,92,255,.20), transparent 70%); }

/* 상단 1px 그라데이션 구분선 */
.rule {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong) 30%, var(--line-strong) 70%, transparent);
}

/* ── 5. 컴포넌트 ────────────────────────────────────────────────────── */

/* 5.1 버튼 */
.btn {
  --btn-py: 15px;
  --btn-px: 30px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--btn-py) var(--btn-px);
  border-radius: 999px;
  font-weight: 600; font-size: 0.975rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary {
  background: var(--grad);
  color: #04070f;
  font-weight: 700;
  box-shadow: 0 8px 30px -10px rgba(46, 139, 255, 0.65);
}
.btn--primary:hover { box-shadow: 0 14px 40px -12px rgba(46, 139, 255, 0.85); }

.btn--ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}
.btn--ghost:hover { background: var(--surface-hover); border-color: rgba(255,255,255,.3); }

.btn--sm { --btn-py: 11px; --btn-px: 22px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

/* 텍스트 링크형 CTA — 화살표가 hover에 반응 */
.link-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem;
  color: var(--text);
}
.link-cta i {
  display: block; width: 18px; height: 1px; background: currentColor;
  position: relative; transition: width 0.25s var(--ease);
}
.link-cta i::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.link-cta:hover { color: var(--cyan); }
.link-cta:hover i { width: 30px; }

/* 5.2 태그 / 칩 */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.8rem; color: var(--text-dim);
  letter-spacing: -0.005em;
}
.chip--live { color: var(--text); }
.chip--live .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(55, 230, 255, 0.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(55,230,255,.7); }
  70%  { box-shadow: 0 0 0 9px rgba(55,230,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(55,230,255,0); }
}

/* 5.3 카드 (벤토 그리드 기본 단위) */
.card {
  position: relative;
  display: flex; flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,0) 55%),
    var(--bg-elev);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}
/* hover 시 상단에 그라데이션 하이라이트가 번지는 효과 */
.card::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none;
  background: var(--grad-soft);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.9);
}
.card:hover::after { opacity: 1; }

.card__media {
  position: relative; overflow: hidden;
  background: #070a11;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
  /* 제품 스크린샷 상당수가 흰 배경이라, 그대로 두면 다크 카드 위에서 튄다. */
  filter: saturate(0.9) brightness(0.86) contrast(1.04);
}
.card:hover .card__media img {
  transform: scale(1.05);
  filter: saturate(1.02) brightness(0.96) contrast(1.02);
}
/* 브랜드 톤을 옅게 얹어 이미지와 카드의 색온도를 맞춘다. */
.card__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(150deg, rgba(46,139,255,.16), rgba(123,92,255,.10));
  mix-blend-mode: soft-light;
  pointer-events: none;
}
/* 이미지 하단을 카드 배경으로 흐리게 연결 */
.card__media::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, transparent 45%, rgba(9,13,22,.92) 100%);
  pointer-events: none;
}

.card__body {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 2.6vw, 36px);
  flex: 1;
}
.card__no {
  font-family: var(--font-mono);
  font-size: 0.75rem; letter-spacing: 0.14em;
  color: var(--muted);
}
.card__title { font-size: clamp(1.25rem, 2vw, 1.7rem); }
.card__sub {
  font-size: 0.9rem; font-weight: 600;
  color: var(--cyan); letter-spacing: -0.01em;
}
.card__text { color: var(--text-dim); font-size: 0.975rem; line-height: 1.75; }
.card__foot { margin-top: auto; padding-top: 8px; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* 5.4 벤토 그리드
   동일한 카드 5개를 좌우 교대로 늘어놓으면 스크롤이 단조롭다.
   대표 제품을 크게, 나머지를 작게 배치해 시선의 위계를 만든다. */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 1.5vw, 22px);
}
.bento > * { grid-column: span 6; }
.bento__feature   { grid-column: span 6; }
.bento__half      { grid-column: span 3; }
.bento__third     { grid-column: span 2; }

/* 대표 카드는 가로 2단 구성 */
.card--feature { flex-direction: row; align-items: stretch; }
.card--feature .card__media { flex: 1 1 52%; min-height: 340px; }
.card--feature .card__media::after {
  background: linear-gradient(90deg, transparent 55%, rgba(9,13,22,.95) 100%);
}
.card--feature .card__body { flex: 1 1 48%; justify-content: center; gap: 18px; }
.card--feature .card__title { font-size: clamp(1.7rem, 3vw, 2.6rem); }

.card--compact .card__media { aspect-ratio: 16 / 10; }

/* 5.5 프로세스 스텝 */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
  counter-reset: step;
}
.step { position: relative; padding-top: 30px; }
/* 스텝을 잇는 가로 진행선 */
.step::before {
  content: ""; position: absolute; top: 5px; left: 0; right: 0;
  height: 1px; background: var(--line);
}
.step::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-strong);
}
.step--on::after { background: var(--grad); border-color: transparent; }
.step__no {
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.14em; color: var(--cyan);
}
.step__title { font-size: 1.1rem; margin-top: 10px; }
.step__text { margin-top: 10px; font-size: 0.925rem; color: var(--text-dim); }

/* 5.6 활용 분야 그리드 */
.usecases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}
.usecase {
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
              transform 0.3s var(--ease);
}
.usecase:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: var(--surface-hover);
}
.usecase__icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  color: var(--cyan);
}
.usecase__icon svg { width: 19px; height: 19px; }
.usecase__title { font-size: 1.05rem; font-weight: 700; }
.usecase__text { font-size: 0.9rem; color: var(--text-dim); }

/* 5.7 역량 마퀴 — 무한 가로 스크롤 */
.marquee {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
  /* 양 끝을 페이드아웃 처리해 잘린 느낌을 없앤다 */
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex; width: max-content;
  animation: slide 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex; align-items: center; gap: 44px;
  padding-right: 44px;
  flex: none;
}
.marquee__item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.82rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__item::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--brand);
}
@keyframes slide {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ── 6. 섹션 ────────────────────────────────────────────────────────── */

/* 6.1 헤더 */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
              backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.header__logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative;
  padding: 9px 15px; border-radius: 999px;
  font-size: 0.925rem; font-weight: 500;
  color: var(--text-dim);
}
.nav__link:hover { color: var(--text); background: var(--surface); }
.nav__link.is-active { color: var(--text); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--grad);
}
.header__actions { display: flex; align-items: center; gap: 10px; }

/* 모바일 메뉴 토글 */
.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface);
  position: relative;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 20.5px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  display: flex; flex-direction: column; justify-content: center;
  gap: 6px; padding: 0 var(--gutter);
  background: rgba(5, 7, 13, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav a {
  padding: 18px 4px;
  font-size: clamp(1.5rem, 7vw, 2.25rem);
  font-weight: 700; letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-of-type { border-bottom: 0; }

/* 6.2 히어로 */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  padding-top: 120px;
}
.hero__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
/* 영상 위 스크림 — 텍스트 대비를 확보하는 핵심 레이어 */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(5,7,13,.86) 0%, rgba(5,7,13,.34) 34%, rgba(5,7,13,.94) 100%),
    radial-gradient(120% 80% at 50% 100%, rgba(46,139,255,.20), transparent 60%);
}
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(48px, 7vw, 90px); }
.hero__title { margin-top: 24px; }
.hero__title .line { display: block; }
.hero__lead { margin-top: 26px; max-width: 620px; }
.hero__actions {
  margin-top: 38px;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.hero__scroll {
  position: absolute; z-index: 2;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.2em; color: var(--muted);
}
.hero__scroll .bar {
  width: 1px; height: 34px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: drop 2s var(--ease) infinite;
}
@keyframes drop {
  0%, 100% { opacity: 0.25; transform: scaleY(0.5); transform-origin: top; }
  50%      { opacity: 1;    transform: scaleY(1);   transform-origin: top; }
}

/* 6.3 스테이트먼트(비전) 섹션 */
.statement { position: relative; overflow: hidden; overflow: clip; }
.statement__text {
  font-size: clamp(1.6rem, 4.2vw, 3.4rem);
  line-height: 1.32; font-weight: 800;
  letter-spacing: -0.04em;
  max-width: 15em;
}
.statement__text em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.statement__aside {
  margin-top: 34px; max-width: 460px;
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
  color: var(--text-dim);
}

/* 6.4 컨택트 */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.contact-info dl { display: grid; gap: 22px; margin-top: 34px; }
.contact-info dt {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.contact-info dd { margin-top: 6px; font-size: 1.05rem; font-weight: 600; }
.contact-info dd a:hover { color: var(--cyan); }

.form {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,0) 60%),
    var(--bg-elev);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > label {
  font-size: 0.82rem; font-weight: 600; color: var(--text-dim);
  letter-spacing: 0;
}
.field .req { color: var(--cyan); margin-left: 3px; }

.input, .textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #5d6779; }
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(46, 139, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(46, 139, 255, 0.16);
}
.textarea { min-height: 148px; resize: vertical; line-height: 1.7; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.14);
}

/* 파일 첨부 */
.file-row { display: flex; gap: 10px; flex-wrap: wrap; }
.file-row .input { flex: 1 1 200px; cursor: default; }
.file-hint {
  font-size: 0.78rem; color: var(--muted);
  /* ' · ' 구분자에서만 줄바꿈되도록. break-all이면 확장자 이름이 잘린다. */
  line-height: 1.6; word-break: normal; overflow-wrap: normal;
}

/* 동의 체크박스 — 기본 체크박스는 다크 테마에서 어울리지 않아 직접 그린다 */
.consent {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}
.consent input {
  appearance: none; -webkit-appearance: none;
  flex: none; width: 20px; height: 20px; margin: 1px 0 0;
  border: 1px solid var(--line-strong); border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.consent input:checked {
  background: var(--grad) padding-box;
  border-color: transparent;
}
.consent input:checked::after {
  content: ""; display: block;
  width: 5px; height: 9px; margin: 3px auto 0;
  border-right: 2px solid #05070d; border-bottom: 2px solid #05070d;
  transform: rotate(42deg);
}
.consent__text { font-size: 0.875rem; color: var(--text-dim); line-height: 1.6; }
.consent__text a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.consent__text a:hover { color: var(--cyan); }

.form__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-top: 26px;
}
.form__msg { font-size: 0.9rem; min-height: 1.4em; }
.form__msg.is-error { color: #ff8080; }
.form__msg.is-ok { color: var(--cyan); }

/* 전송 중 스피너 */
.spinner {
  width: 15px; height: 15px; flex: none;
  border: 2px solid rgba(4, 7, 15, 0.3);
  border-top-color: #04070f;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 6.5 푸터 */
.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 80px) 34px;
  position: relative;
  overflow: hidden;
  overflow: clip;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.footer__brand img { height: 28px; margin-bottom: 18px; }
.footer__brand p { color: var(--muted); font-size: 0.9rem; max-width: 34ch; }
.footer__col h3 {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.footer__col li + li { margin-top: 10px; }
.footer__col a, .footer__col span { font-size: 0.925rem; color: var(--text-dim); }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  margin-top: clamp(36px, 5vw, 60px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--muted);
}
.footer__bottom a:hover { color: var(--text); }

/* 6.6 본문 문서 (개인정보처리방침) */
.doc { padding-top: 140px; }
.doc__body { max-width: 780px; }
.doc__body h2 {
  font-size: 1.2rem; margin-top: 40px; margin-bottom: 12px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.doc__body p, .doc__body li { color: var(--text-dim); font-size: 0.95rem; }
.doc__body ul { margin-top: 10px; }
.doc__body ul + p { margin-top: 14px; }
.doc__body li { position: relative; padding-left: 15px; margin-top: 6px; }
.doc__body li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--brand);
}
.doc__table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 0.9rem; }
.doc__table th, .doc__table td {
  border: 1px solid var(--line); padding: 12px 14px; text-align: left;
}
.doc__table th { background: var(--surface); font-weight: 600; }
.doc__table td { color: var(--text-dim); }

/* ── 7. 반응형 ──────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .bento__third { grid-column: span 3; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 80px; }
  .nav { display: none; }
  .header__actions .btn { display: none; }
  .burger { display: block; }
  .header__inner { height: 66px; }

  .card--feature { flex-direction: column; }
  .card--feature .card__media { min-height: 0; aspect-ratio: 16 / 10; }
  .card--feature .card__media::after {
    background: linear-gradient(180deg, transparent 45%, rgba(9,13,22,.92) 100%);
  }

  .bento__half, .bento__third { grid-column: span 6; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .form__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
  .footer__top { grid-template-columns: 1fr; }
}

/* ── 8. 모션 & 접근성 ──────────────────────────────────────────────── */
/* 스크롤 리빌 — JS가 .is-in 을 붙인다. JS가 없거나 실패해도
   noscript 대비로 기본 상태를 보이게 두는 편이 안전하지만,
   여기서는 html.js 클래스가 있을 때만 숨긴다. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

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

/* ── 9. 서비스 관문 (홈의 핵심 블록) ───────────────────────────────
   각 서비스가 별도 사이트이므로, 기능을 늘어놓는 카드 그리드보다
   '목록에서 문을 고르는' 인덱스 형태가 목적에 맞다.
   행 전체가 링크이고, 썸네일은 hover에서 살아난다. */

.section--tight { padding-block: clamp(44px, 6vw, 84px); }
.section + .section--tight,
.section--tight + .section { padding-top: clamp(30px, 4vw, 58px); }

.svc-index { border-top: 1px solid var(--line); }
.svc-index > li { border-bottom: 1px solid var(--line); }

.svc {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  /* 번호는 제목 라인에 맞춰 위로 정렬하고, 썸네일·화살표만 세로 중앙에 둔다 */
  align-items: start;
  gap: clamp(18px, 3vw, 44px);
  padding: clamp(24px, 3vw, 38px) 0;
  transition: background 0.4s var(--ease), padding-inline 0.4s var(--ease);
}
/* hover 시 왼쪽에서 자라나는 그라데이션 바 — 어떤 행인지 즉시 보인다 */
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--grad);
  transform: scaleY(0); transform-origin: center;
  transition: transform 0.4s var(--ease);
}
a.svc:hover {
  background: linear-gradient(90deg, rgba(255,255,255,.045), transparent 70%);
  padding-inline: clamp(12px, 1.6vw, 22px);
}
a.svc:hover::before { transform: scaleY(1); }

.svc__no {
  font-family: var(--font-mono);
  font-size: 0.8rem; letter-spacing: 0.14em;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
a.svc:hover .svc__no { color: var(--cyan); }
.svc__no { padding-top: 0.5em; }
.svc__thumb, .svc__go { align-self: center; }

.svc__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.svc__names { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.svc__name {
  font-size: clamp(1.5rem, 2.9vw, 2.3rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.15;
  word-break: keep-all;
}
.svc__en {
  font-style: normal; font-family: var(--font-mono);
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.svc__tagline {
  font-size: 0.95rem; font-weight: 600; color: var(--cyan);
  letter-spacing: -0.01em;
}
.svc__summary {
  font-size: 0.95rem; line-height: 1.7; color: var(--text-dim);
  max-width: 54ch; word-break: keep-all;
}
.svc__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.chip--soon { color: var(--muted); border-style: dashed; }

/* 썸네일 — 평소엔 가라앉아 있고 hover에서 살아난다 */
.svc__thumb {
  flex: none;
  width: clamp(120px, 15vw, 190px);
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #070a11;
}
.svc__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.4) brightness(0.62);
  transform: scale(1.02);
  transition: filter 0.45s var(--ease), transform 0.6s var(--ease);
}
a.svc:hover .svc__thumb img {
  filter: saturate(0.95) brightness(0.84);
  transform: scale(1.08);
}

/* 화살표 */
.svc__go {
  flex: none; position: relative;
  width: 26px; height: 1px; background: var(--line-strong);
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}
.svc__go::after {
  content: ""; position: absolute; right: 0; top: -4px;
  width: 9px; height: 9px;
  border-top: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong);
  transform: rotate(45deg);
  transition: border-color 0.3s var(--ease);
}
a.svc:hover .svc__go { width: 42px; background: var(--cyan); }
a.svc:hover .svc__go::after { border-color: var(--cyan); }

/* 준비 중인 서비스 — 링크가 아니므로 시각적으로도 낮춘다 */
.svc--soon { cursor: default; }
.svc--soon .svc__name { color: var(--text-dim); }
.svc--soon .svc__tagline { color: var(--muted); }
.svc--soon .svc__thumb img { filter: saturate(0.15) brightness(0.45); }

/* 실적 지표 스트립 */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px; margin: 0;
  /* 1px gap + 배경색으로 구분선을 만든다 (border 중복 없이) */
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.metric { padding: clamp(22px, 2.6vw, 32px); background: var(--bg-elev); }
.metric__label { font-size: 0.8rem; color: var(--muted); letter-spacing: 0; }
.metric__value { margin: 10px 0 0; display: flex; align-items: baseline; gap: 6px; }
.metric__value strong {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800; letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.metric__value span { font-size: 0.95rem; color: var(--text-dim); font-weight: 600; }

/* 태블릿: 썸네일을 접고 화살표만 남긴다 */
@media (max-width: 1080px) {
  .svc { grid-template-columns: auto minmax(0, 1fr) auto; }
  .svc__thumb { display: none; }
}

/* 모바일: 인덱스 행을 카드로 전환 (썸네일을 위로) */
@media (max-width: 720px) {
  .svc {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 26px 0;
  }
  a.svc:hover { padding-inline: 0; background: none; }
  .svc__no { order: 2; }
  .svc__body { order: 3; }
  .svc__thumb {
    order: 1; display: block;
    width: 100%; aspect-ratio: 16 / 9;
  }
  .svc__thumb img { filter: saturate(0.85) brightness(0.82); }
  .svc__go {
    order: 4; width: 100%; height: auto;
    background: none; padding-top: 4px;
  }
  .svc__go::after {
    position: static; display: block; margin-left: auto;
    border-color: var(--cyan);
  }
  .svc__name { font-size: 1.5rem; }
}
