/*
 * 홈 v6 — clay.com 구성 (web-studio/design_assets/clay, 2026-10-09).
 * Clay 규칙: 오트크림 캔버스(#fefdfb) 위 흰 패널 · 액션은 블랙 · 강조/링크는 블루(#3859f9) ·
 * 서비스·단계는 플레이풀 팔레트(100 틴트 + 600 채도) · 라벨은 mono 대문자 eyebrow · 그림자는 절제(얇은 보더 + 미세 그림자).
 * Roobert(유료) 대신 Pretendard — 헤딩 700, -0.04em.
 */
.v6 {
  --bg: #fefdfb;          /* oat-50 캔버스 — 순백 아님 */
  --oat-100: #f9f8f6;
  --oat-200: #f3f2ed;
  --oat-300: #eee9df;
  --oat-700: #85817a;
  --ink: #000;
  --ink-soft: #1d1c1a;
  --blue: #3859f9;        /* blueberry accent */
  --line: #e8e4dc;        /* 웜 보더 */
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --sans: "Pretendard Variable", Pretendard, Inter, -apple-system, sans-serif;
  --ease6: cubic-bezier(.16, 1, .3, 1);
  color: var(--ink-soft);
  background: var(--bg);
  font-family: var(--sans);
}
.v6 a { color: inherit; text-decoration: none; }
.v6 p { margin: 0; }
.v6 h1, .v6 h2, .v6 h3 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -.04em; word-break: keep-all; }
.v6 em { font-style: normal; color: var(--blue); }
.v6-wrap { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
@media (min-width: 768px) { .v6-wrap { width: min(1200px, calc(100% - 64px)); } }

.v6-eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--oat-700); }

/* 버튼 — Clay nav 실측: 블랙 / 오트 보조, radius 12px */
.v6-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--ink); color: #fff !important; font: 600 15px/1 var(--sans); cursor: pointer; transition: background .2s, transform .4s var(--ease6); }
.v6-btn:hover { background: #2a2926; }
.v6-btn span { transition: transform .3s var(--ease6); }
.v6-btn:hover span { transform: translateX(2px); }
.v6-btn:active { transform: scale(.98); }
.v6-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.v6-btn--oat { background: var(--oat-200); color: var(--ink) !important; }
.v6-btn--oat:hover { background: var(--oat-300); }

.v6-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(27, 26, 24, .04); }

.v6-sec { padding: clamp(72px, 9vw, 120px) 0; }
.v6-sec--top0 { padding-top: 0; }
.v6-oat { background: var(--oat-100); border-block: 1px solid var(--line); }

.v6-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 48px); }
.v6-head h2 { margin-top: 14px; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.12; }
.v6-head > p:not(.v6-eyebrow) { margin-top: 16px; color: var(--oat-700); font-size: 17px; line-height: 1.6; }
.v6-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.v6-split { display: grid; gap: 32px; }
@media (min-width: 1000px) { .v6-split { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } .v6-split .v6-head { margin-bottom: 0; position: sticky; top: 110px; } }

/* ── 헤더: Clay 처럼 흰 바를 둥근 박스로 (홈에서만) ── */
.home .site-header { top: 12px; height: auto; border: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none; }
.admin-bar.home .site-header { top: 44px; }
.home .header-inner { pointer-events: auto; width: min(1232px, calc(100% - 24px)); height: 60px; padding: 0 10px 0 22px; border: 1px solid #e8e4dc; border-radius: 16px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.home .brand span, .home .site-header .brand-mark { color: #000; }
.home .brand small { color: #3859f9; }
.home .desktop-nav a { color: #1d1c1a; font-size: 15px; }
.home .desktop-nav a::after { background: #3859f9; }
.home .header-phone { color: #1d1c1a; }
.home .header-cta { padding: 12px 18px; border-radius: 12px; background: #000; color: #fff; font-size: 14px; }
.home .header-cta:hover { background: #2a2926; }

/* ── ① 히어로 ── */
.v6-hero { padding: calc(60px + 12px + 16px) 12px 0; }
.v6-hero__panel { position: relative; overflow: hidden; max-width: 1232px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) 20px 0; border: 1px solid var(--line); border-radius: 24px; background: var(--oat-100); text-align: center; }
.v6-hero h1 { margin-top: 18px; font-size: clamp(44px, 8vw, 96px); line-height: 1.04; letter-spacing: -.05em; }
.v6-hero h1 em { display: inline-block; }
.v6 .v6-hero__sub { max-width: 34em; margin: 24px auto 0; color: #3a3833; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; }
@media (max-width: 640px) { .v6-br { display: none; } }
.v6-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }

/* 쇼케이스 — 실제 랜딩. 브라우저 창 + 폰, 화면 속 페이지는 저절로 스크롤 */
.v6-show { max-width: 1040px; margin: clamp(48px, 6vw, 72px) auto 0; }
.v6-show__stage { position: relative; aspect-ratio: 16 / 8.6; }
@media (max-width: 640px) { .v6-show__stage { aspect-ratio: 16 / 11; } }
.v6-show__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.v6-show__slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.v6-browser { position: absolute; left: 0; right: 9%; top: 0; bottom: 0; overflow: hidden; border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; background: #fff; box-shadow: 0 30px 60px -30px rgba(27, 26, 24, .35); }
.v6-browser__bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #fff; border-bottom: 1px solid var(--line); }
.v6-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--oat-300); }
.v6-browser__bar span { margin-left: 12px; padding: 4px 12px; border-radius: 8px; background: var(--oat-100); color: var(--oat-700); font: 12px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v6-browser__view { position: absolute; left: 0; right: 0; top: 36px; bottom: 0; overflow: hidden; }
.v6-phone { position: absolute; right: 0; bottom: 6%; width: 22%; aspect-ratio: 9 / 19; padding: 7px; border-radius: 28px; background: #1b1a18; box-shadow: 0 30px 50px -20px rgba(27, 26, 24, .5); }
.v6-phone__view { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 22px; background: #fff; }
.v6-browser__view img, .v6-phone__view img { position: absolute; left: 0; top: 0; width: 100%; height: auto; will-change: transform; }
.v6-show__slide.is-active .v6-browser__view img { animation: v6scrollD 18s ease-in-out 1s infinite alternate; }
.v6-show__slide.is-active .v6-phone__view img { animation: v6scrollM 18s ease-in-out 1.6s infinite alternate; }
/* 캡처 길이가 현장마다 달라서 끝 위치(--end-*)는 home.js 가 이미지별로 넣는다 */
@keyframes v6scrollD { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(var(--end-d, -50%)); } }
@keyframes v6scrollM { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(var(--end-m, -50%)); } }
.v6-show__tabs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 18px 0 22px; margin: 0 -20px; background: var(--oat-100); border-top: 1px solid var(--line); }
.v6-show__tabs button { appearance: none; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); border-radius: 999px; padding: 8px 14px; font: 500 13.5px var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.v6-show__tabs button:hover { border-color: var(--oat-700); }
.v6-show__tabs button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 640px) { .v6-show__tabs button:not(.is-active) { display: none; } }

/* 조건 — Clay 스탯 카드 ("3x ANTHROPIC") */
.v6 .v6-trust { margin: 40px 0 18px; text-align: center; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--oat-700); }
.v6-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-block: 0; }
@media (min-width: 900px) { .v6-stats { grid-template-columns: repeat(4, 1fr); } }
.v6-stat { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--oat-100); }
.v6-stat dt { font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--oat-700); }
.v6-stat dd { margin: 12px 0 0; }
.v6-stat b { display: block; color: var(--blue); font-size: clamp(32px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.v6-stat b small { margin-left: 3px; font-size: .4em; letter-spacing: -.01em; color: var(--ink); }
.v6-stat span { display: block; margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--oat-700); }

/* ── ② 문제 ── */
.v6-pains { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.v6-pains li { display: flex; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, transform .4s var(--ease6); }
.v6-pains li:hover { border-color: var(--oat-700); transform: translateY(-2px); }
.v6-pains b { display: block; color: var(--ink); font-size: 18px; letter-spacing: -.02em; }
.v6 .v6-pains p { margin-top: 6px; color: var(--oat-700); font-size: 15px; line-height: 1.6; }
.v6-dot { flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; }
.v6-dot--pomegranate { background: #dd2c53; box-shadow: 0 0 0 5px #ffebec; }
.v6-dot--tangerine { background: #fa6900; box-shadow: 0 0 0 5px #ffe9d5; }
.v6-dot--lemon { background: #fdad15; box-shadow: 0 0 0 5px #fff8d2; }
.v6-dot--ube { background: #7934f0; box-shadow: 0 0 0 5px #e9e4ff; }

/* ── ③ 서비스 — 채도 높은 컬러 카드 위 흰 패널 ── */
.v6-svc { display: grid; gap: 16px; }
@media (min-width: 760px) { .v6-svc { grid-template-columns: repeat(2, 1fr); } }
.v6-sv { display: flex; flex-direction: column; padding: clamp(20px, 2.6vw, 32px); border-radius: 24px; color: #fff; }
.v6-sv--blueberry { background: #3859f9; }
.v6-sv--matcha { background: #078a52; }
.v6-sv--ube { background: #7934f0; }
.v6-sv--tangerine { background: #e15e00; }
.v6-sv__panel { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .45); }
.v6-sv__panel img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease6); }
.v6-sv__panel img.is-top { object-position: top; }
.v6-sv:hover .v6-sv__panel img { transform: scale(1.03); }
.v6 .v6-sv__eyebrow { margin-top: 24px; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.v6 .v6-sv h3 { margin-top: 8px; color: #fff; font-size: clamp(24px, 2.4vw, 30px); }
.v6 .v6-sv p:not(.v6-sv__eyebrow):not(.v6-sv__price) { margin-top: 10px; font-size: 15.5px; line-height: 1.6; opacity: .9; }
.v6 .v6-sv__price { margin-top: auto; padding-top: 18px; font-weight: 700; font-size: 15px; }

/* ── ④ 접수 흐름 ── */
.v6-steps { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
@media (min-width: 640px) { .v6-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .v6-steps { grid-template-columns: repeat(4, 1fr); } }
.v6-steps li { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.v6-steps h3 { margin-top: 22px; font-size: 21px; }
.v6 .v6-steps p { margin-top: 8px; color: var(--oat-700); font-size: 15px; line-height: 1.6; }
.v6-chip { display: inline-block; padding: 5px 10px; border-radius: 8px; font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.v6-chip--blueberry { background: #ecf6ff; color: #3859f9; }
.v6-chip--matcha { background: #dbffe0; color: #078a52; }
.v6-chip--ube { background: #e9e4ff; color: #7934f0; }
.v6-chip--tangerine { background: #ffe9d5; color: #c75400; }
.v6-nope { list-style: none; display: grid; gap: 12px; margin: 32px 0 0; padding: 0; }
@media (min-width: 900px) { .v6-nope { grid-template-columns: repeat(3, 1fr); } }
.v6-nope li { padding: 22px 24px; border: 1px dashed #d8d2c6; border-radius: 16px; }
.v6-nope s { font-weight: 700; font-size: 17px; color: var(--oat-700); text-decoration-color: #dd2c53; text-decoration-thickness: 2px; }
.v6 .v6-nope p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* ── ⑤ 포트폴리오 ── */
.v6-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.v6-chips button { appearance: none; border: 0; background: var(--oat-200); color: var(--ink); border-radius: 12px; padding: 10px 16px; font: 500 14px var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.v6-chips button small { margin-left: 4px; color: var(--oat-700); }
.v6-chips button:hover { background: var(--oat-300); }
.v6-chips button.is-active { background: var(--ink); color: #fff; }
.v6-chips button.is-active small { color: rgba(255, 255, 255, .6); }
.v6-pf { columns: 2; column-gap: 12px; }
@media (min-width: 760px) { .v6-pf { columns: 3; column-gap: 16px; } }
@media (min-width: 1100px) { .v6-pf { columns: 4; } }
.v6-pf__item { break-inside: avoid; margin: 0 0 20px; }
.v6-pf__item[hidden] { display: none; }
.v6-pf__media { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; cursor: zoom-in; }
.v6-pf__media img, .v6-pf__media video { display: block; width: 100%; height: auto; transition: transform .6s var(--ease6); }
.v6-pf__media:hover img, .v6-pf__media:hover video { transform: scale(1.03); }
.v6-pf__media:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.v6-pf__play { position: absolute; right: 10px; top: 10px; padding: 4px 9px; border-radius: 8px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 11px; }
.v6-pf__item figcaption { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--oat-700); }
.v6-pf__item figcaption b { display: block; color: var(--ink); font-weight: 600; }
.v6-pf__foot { display: flex; justify-content: center; margin-top: 16px; }
.v6-pf__foot [hidden] { display: none; }
.v6-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 24px 28px; border: 1px dashed #d8d2c6; border-radius: 16px; background: var(--oat-100); }
.v6-note b { color: var(--ink); font-size: 18px; }
.v6 .v6-note p { margin-top: 4px; color: var(--oat-700); font-size: 15px; }

/* 라이트박스 */
.v6-lightbox { position: fixed; inset: 0; z-index: 600; display: grid; place-items: center; padding: 24px; background: rgba(27, 26, 24, .86); }
.v6-lightbox[hidden] { display: none; }
.v6-lightbox__body img, .v6-lightbox__body video { max-width: min(92vw, 900px); max-height: 86vh; border-radius: 12px; background: #fff; }
.v6-lightbox__close { position: absolute; top: 16px; right: 20px; width: 48px; height: 48px; border: 0; border-radius: 12px; background: #fff; color: #000; font-size: 28px; line-height: 1; cursor: pointer; }

/* ── ⑥ 키워드 조합기 — 기존 클래스(main.js) 재사용 ── */
.v6 .keyword-tool { padding: clamp(20px, 3vw, 32px); }
.v6 .tool-fields { display: grid; gap: 14px; }
@media (min-width: 600px) { .v6 .tool-fields { grid-template-columns: 1fr 1fr; } }
.v6 .keyword-tool label, .v6-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink); }
.v6 .keyword-tool input, .v6 .keyword-tool select, .v6-form input, .v6-form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.v6 .keyword-tool input:focus, .v6 .keyword-tool select:focus, .v6-form input:focus, .v6-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(56, 89, 249, .15); }
.v6 .tool-submit { margin-top: 16px; width: 100%; }
.v6 .keyword-results { margin-top: 16px; color: var(--oat-700); }

/* ── ⑦ 인사이트 ── */
.v6-posts { display: grid; gap: 12px; }
@media (min-width: 900px) { .v6-posts { grid-template-columns: repeat(3, 1fr); } }
.v6-post { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; transition: border-color .2s, transform .4s var(--ease6); }
.v6-post:hover { border-color: var(--oat-700); transform: translateY(-2px); }
.v6-post time { font: 500 12px var(--mono); letter-spacing: .06em; color: var(--oat-700); }
.v6-post h3 { padding-right: 36px; font-size: 20px; line-height: 1.35; }
.v6-post p { color: var(--oat-700); font-size: 15px; line-height: 1.6; }
.v6-post__go { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); transition: background .2s, color .2s; }
.v6-post:hover .v6-post__go { background: var(--ink); color: #fff; }
.v6-empty { color: var(--oat-700); }

/* ── ⑧ FAQ ── */
.v6-faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.v6-faq details + details { margin-top: 10px; }
.v6-faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 56px 20px 22px; color: var(--ink); font-weight: 600; font-size: 17px; }
.v6-faq summary::-webkit-details-marker { display: none; }
.v6-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; display: grid; place-items: center; width: 28px; height: 28px; margin-top: -14px; border-radius: 8px; background: var(--oat-200); font: 400 18px/1 var(--sans); transition: transform .3s var(--ease6); }
.v6-faq details[open] summary::after { transform: rotate(45deg); }
.v6-faq details p { padding: 0 22px 20px; color: var(--oat-700); line-height: 1.7; }

/* ── ⑨ 문의 ── */
.v6-contact { padding: 0 12px clamp(72px, 9vw, 120px); }
.v6-contact__box { display: grid; gap: 40px; width: auto; max-width: 1232px; padding: clamp(28px, 5vw, 64px); border: 1px solid var(--line); border-radius: 24px; background: var(--oat-100); }
@media (min-width: 1000px) { .v6-contact__box { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.v6-contact h2 { margin-top: 14px; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; }
.v6 .v6-contact__copy > p:not(.v6-eyebrow) { margin-top: 18px; max-width: 30em; color: #3a3833; line-height: 1.7; }
.v6-gets { list-style: none; display: grid; gap: 10px; margin: 24px 0 0; padding: 0; }
.v6-gets li { position: relative; padding-left: 28px; font-weight: 600; color: var(--ink); }
.v6-gets li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: #dbffe0; color: #078a52; font-size: 12px; }
.v6-tel { display: inline-flex; flex-direction: column; gap: 4px; margin-top: 28px; }
.v6-tel span { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--oat-700); }
.v6-tel b { color: var(--ink); font-size: clamp(28px, 3vw, 36px); letter-spacing: -.03em; transition: color .2s; }
.v6-tel:hover b { color: var(--blue); }
.v6-form { display: grid; gap: 14px; align-content: start; padding: clamp(20px, 3vw, 32px); }
.v6-row2 { display: grid; gap: 14px; }
@media (min-width: 600px) { .v6-row2 { grid-template-columns: 1fr 1fr; } }
.v6-form textarea { min-height: 110px; resize: vertical; }
.v6-form .form-submit { width: 100%; min-height: 52px; }
.v6-form .form-status { color: var(--oat-700); font-size: 13.5px; }
.v6-form label.consent-check { display: flex; align-items: flex-start; gap: 10px; }
.v6-form .consent-check input { flex: none; width: 18px; height: 18px; margin-top: 3px; padding: 0; accent-color: #000; }
.v6-form .consent-note a { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .v6 *, .v6 *::before, .v6 *::after { animation: none !important; transition: none !important; }
}
