/* 보이스첵 소개(/voicecheck) 전용 — 1차 리디자인 시안 voicecheck-intro 의 페이지 CSS (랜딩 · 하위 페이지 공통은 site.css).
   첫 화면(같은 문장, 두 번의 녹음) · 4단계 무대 · 네 유형 띠 · 시작 타임라인. 움직임은 js/site/voicecheck.js */
main p, main li { text-wrap: pretty; }

/* ── 첫 화면: 정의 + 같은 문장, 두 번의 녹음 ── */
.vh-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
/* 글자 위계 — 한 단어 제목이 기준(약 3:1), 정의는 진한 리드 문장, 오른쪽 카드 문장은 '읽는 대본'이라 정의보다 작고 가볍게 */
.vc-hero h1 { font-size: clamp(44px, 4.8vw, 68px); line-height: 1.05; font-weight: 750; letter-spacing: -.05em; }
.def { margin-top: 22px; font-size: clamp(19px, 1.55vw, 22px); line-height: 1.6; font-weight: 500; letter-spacing: -.03em; color: var(--ink); text-wrap: pretty; }
.vc-hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 34px; }
.vc-hero .actions span { font-size: var(--fs-s); color: var(--slate); }
.vc-hero .actions b { color: var(--ink); font-weight: 650; }

.take-card { padding: clamp(26px, 3.4vw, 40px); border-radius: 22px; background: var(--tint); }
.take-card blockquote { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.7; font-weight: 500; letter-spacing: -.025em; color: var(--navy); text-wrap: pretty; }
.takes { margin-top: 30px; display: grid; gap: 14px; }
.take { display: grid; grid-template-columns: 4.6em minmax(0, 1fr) 11.5em; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; background: var(--white); }
.take .when { font-size: var(--fs-s); font-weight: 650; line-height: 1.3; }
.take .when small { display: block; margin-top: 2px; font-size: var(--fs-xs); font-weight: 500; color: var(--slate); }
.take svg { width: 100%; height: 40px; display: block; }
.take rect { fill: var(--peri); }
.take rect.q { fill: var(--field, #CDD4E1); }
.take.now rect:not(.q) { fill: var(--cobalt); }
.take .typ { justify-self: start; background: var(--mist); }
.take-card .fine { margin-top: 16px; font-size: var(--fs-xs); color: var(--slate); }
/* 재생 — 아직 '듣지 않은' 막대는 옅게, 듣는 중인 줄은 날짜 이름이 코발트 */
.take rect.u:not(.q) { fill: var(--peri-soft); }
.take .when { transition: color .2s; }
.take.is-playing .when { color: var(--cobalt); }

/* ── 보이스첵은 이렇게 함께해요 — 왼쪽 단계, 오른쪽 붙어 있는 무대 ── */
.method { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.m-step { min-height: 54vh; padding: 8px 0 56px; opacity: .32; transition: opacity .35s; }
/* 마지막 단계가 화면 가운데 올 때까지 무대가 머리 아래에 붙어 있도록 — 낮은 화면(1280×720)에서도 */
.m-step:last-child { min-height: max(54vh, calc(820px - 50vh)); padding-bottom: 0; }
.m-step.on, .m-step:focus-within { opacity: 1; }
/* 단계 번호는 테두리 원 — 꽉 찬 원은 VCI 유형 표시에만 쓴다 (홈 진행 순서와 같은 모양) */
.m-step .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: inset 0 0 0 2px var(--peri-soft); color: var(--cobalt); font-size: var(--fs-m); font-weight: 700; font-variant-numeric: tabular-nums; }
.m-step h3 { margin-top: 18px; font-size: var(--fs-2xl); line-height: 1.3; font-weight: 700; letter-spacing: -.04em; text-wrap: balance; }
.m-step > p { margin-top: 12px; font-size: var(--fs-m); line-height: 1.8; color: var(--ink-2); max-width: 30em; }
.m-step .vs { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: var(--fs-s); color: var(--slate); }
.m-step .vs span { font-weight: 650; }
.m-stage { position: sticky; top: 112px; }
.m-stage-in { position: relative; aspect-ratio: 1 / 1; max-height: calc(100vh - 150px); border-radius: 28px; background: var(--tint); }
.m-vis { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(24px, 3vw, 44px); opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .4s; }
.m-vis.on { opacity: 1; transform: none; }
.m-vis-m, .m-pts { display: none; }
.mock { width: min(100%, 420px); padding: 22px; border-radius: 22px; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 24px 60px rgba(42, 75, 232, .12); }
.mk-k { font-size: var(--fs-xs); font-weight: 650; color: var(--slate); }
.mk-type { margin-top: 12px; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--tint); }
.mk-type .type-n { flex: none; }
.mk-type b { display: block; font-size: var(--fs-l); font-weight: 750; letter-spacing: -.03em; color: var(--navy); }
.mk-type small { display: block; font-size: var(--fs-xs); line-height: 1.5; color: var(--ink-2); }
.mock .radar { margin-top: 6px; }
.mock .radar svg { width: 100%; height: auto; display: block; }
.mock .radar .ax text:first-of-type { font-size: 18px; }
.mock .radar .ax text:last-of-type { font-size: 17px; transform: translateY(2px); }
.mk-meta { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: var(--fs-xs); color: var(--slate); }
.mk-meta .pill { display: inline-flex; height: 26px; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--tint); color: var(--cobalt); font-size: var(--fs-xs); font-weight: 500; }
.mk-gauge { margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: var(--mist); }
.mk-gauge small { display: block; font-size: var(--fs-xs); color: var(--slate); }
.mk-gauge b { font-size: var(--fs-l); font-weight: 750; letter-spacing: -.03em; }
.scale { margin-top: 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
.scale i { height: 7px; border-radius: 4px; background: var(--line); }
.scale i.on { background: var(--c); }
.mk-list { margin-top: 10px; }
.mk-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--line-2); font-size: var(--fs-s); font-weight: 500; letter-spacing: -.02em; }
.mk-list li:last-child { border-bottom: 0; }
.mk-list i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px #C9D1DF; }
.mk-list .done i { background: var(--cobalt); box-shadow: none; } .mk-list .done .tick { width: 12px; height: 12px; color: #fff; }
.mk-list .done { color: var(--slate); }
.mk-list span { font-size: var(--fs-xs); font-weight: 500; color: var(--slate); }
.mk-title { display: block; margin-top: 4px; font-size: var(--fs-m); font-weight: 700; letter-spacing: -.025em; }
.mk-player { margin-top: 12px; display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.mk-player .play { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); color: #fff; }
.mk-player .wv { position: relative; flex: 1; min-width: 0; }
.mk-player svg { width: 100%; height: 30px; display: block; }
.mk-player rect { fill: var(--peri); } .mk-player rect.q { fill: #CDD4E1; }
.mk-player .seg-mark { position: absolute; top: -4px; bottom: -4px; border-radius: 6px; background: rgba(42, 75, 232, .10); box-shadow: inset 0 0 0 1px rgba(42, 75, 232, .3); }
.mk-player time { flex: none; font-size: var(--fs-xs); color: var(--slate); font-variant-numeric: tabular-nums; }
.mk-cmts { margin-top: 8px; }
.mk-cmts li { display: grid; grid-template-columns: 6.8em minmax(0, 1fr); gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line-2); font-size: var(--fs-xs); line-height: 1.55; color: var(--ink-2); }
.mk-cmts time { font-weight: 650; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.mock .shift { margin-top: 10px; }
.mock .typ { background: var(--mist); }
.coach-line { margin-top: 22px; display: flex; align-items: center; gap: 14px; }
.coach-line .portrait { flex: none; width: 48px; height: 48px; }
.coach-line p { font-size: var(--fs-s); color: var(--ink-2); line-height: 1.6; }
.coach-line b { color: var(--ink); font-weight: 650; }
.coach-line .link { display: inline-block; padding: 10px 0; margin: -10px 0 -10px 8px; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .m-step, .m-vis { transition: none; } }

/* 네 유형 — 탭 없이: 이어진 블루 단계 띠 위에 번호 · 이름 · 한 줄 */
.type-n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; font-weight: 750; color: #fff; }
.type-n.t1 { background: var(--t1); color: var(--navy); } .type-n.t2 { background: var(--t2); color: var(--navy); } .type-n.t3 { background: var(--t3); } .type-n.t4 { background: var(--t4); }
.tramp { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tramp li { position: relative; padding: 30px 28px 0 0; }
.tramp li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--c); }
.tramp li:first-child::before { border-radius: 4px 0 0 4px; } .tramp li:last-child::before { border-radius: 0 4px 4px 0; }
.tramp .r1 { --c: var(--t1); } .tramp .r2 { --c: var(--t2); } .tramp .r3 { --c: var(--t3); } .tramp .r4 { --c: var(--t4); }
.tramp b { display: block; margin-top: 14px; font-size: var(--fs-l); font-weight: 700; letter-spacing: -.03em; }
.tramp p { margin-top: 6px; font-size: var(--fs-s); line-height: 1.7; color: var(--ink-2); }

/* ── VCI 음성분석으로 시작 — 왼쪽 고정, 오른쪽 타임라인 ── */
.start2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.s-left { position: sticky; top: 120px; }
.s-price { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.s-price b { font-size: clamp(40px, 4vw, 52px); line-height: 1; font-weight: 750; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.s-price span { font-size: var(--fs-s); color: var(--slate); }
.s-gets { margin-top: 22px; display: grid; gap: 8px; font-size: var(--fs-s); }
.s-gets li { display: flex; gap: 10px; align-items: center; }
/* 점검 1회에 담긴 것 — 항목마다 둘째 줄 설명 (2026-11-02 고객사 ④-2) */
.s-gets-h { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-2); font-size: var(--fs-s); font-weight: 650; color: var(--ink); }
.s-gets-h + .s-gets { margin-top: 14px; gap: 12px; }
.s-gets-h + .s-gets li { align-items: flex-start; font-weight: 600; line-height: 1.5; }
.s-gets-h + .s-gets .tick { margin-top: 2px; }
.s-gets li > span { min-width: 0; }
.s-gets small { display: block; margin-top: 1px; font-size: var(--fs-xs); font-weight: 400; line-height: 1.6; color: var(--slate); }
.s-again { margin-top: 16px; font-size: var(--fs-xs); color: var(--ink-2); }
.s-left .btn { margin-top: 30px; }
.s-facts { margin-top: 14px; font-size: var(--fs-xs); line-height: 1.7; color: var(--slate); }
/* 왼쪽 고정 칸이 화면보다 길어지는 낮은 창 — 고정을 풀어 아래쪽이 잘리지 않게 */
@media (min-width: 861px) and (max-height: 860px) { .s-left { position: static; } }
/* 진행 타임라인 — 화면 가운데를 지난 단계까지 켜진 채로 남고, 선이 첫 점에서 지금 점까지 코발트로 찬다.
   지난 단계: 코발트 점 · 지금 단계: 코발트 점 + 옅은 고리, 제목 코발트 · 다음 단계: 흰 점에 옅은 블루 테두리. 글자는 회색으로 흐리지 않는다 */
.tl { position: relative; padding: 6px 0 0 56px; --fill: 0px; }
.tl li { position: relative; padding-bottom: clamp(40px, 5vw, 64px); color: var(--ink); }
.tl li:last-child { padding-bottom: 0; }
/* 바탕 선 — 점 사이만 잇고 마지막 점에서 끝난다 */
.tl li:not(:last-child)::after { content: ""; position: absolute; left: -47px; top: 23px; bottom: -23px; width: 2px; background: var(--line); }
/* 채워지는 선 — 첫 점 가운데(6 + 16 + 7)에서 지금 점까지, 높이는 스크롤에 맞춰 JS 가 --fill 로 */
.tl::after { content: ""; position: absolute; z-index: 0; left: 9px; top: 29px; width: 2px; height: var(--fill); border-radius: 1px; background: var(--cobalt); transition: height .4s ease; }
.tl li::before { content: ""; position: absolute; z-index: 1; left: -53px; top: 16px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--peri); transition: background .3s, box-shadow .3s; }
.tl h3 { font-size: var(--fs-xl); line-height: 1.3; font-weight: 700; letter-spacing: -.035em; color: var(--ink-2); transition: color .3s; }
.tl p { margin-top: 10px; max-width: 26em; font-size: var(--fs-m); line-height: 1.75; color: var(--ink-2); }
.tl li.done h3 { color: var(--ink); }
.tl li.on h3 { color: var(--cobalt); }
.tl li.done::before { background: var(--cobalt); box-shadow: none; }
.tl li.on::before { background: var(--cobalt); box-shadow: 0 0 0 7px var(--peri-soft); }
@media (prefers-reduced-motion: reduce) { .tl::after, .tl h3, .tl li::before { transition: none; } }

.faq .link { padding: 8px 0; margin-top: 16px; }

@media (max-width: 1080px) { .tramp { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } .tramp li:nth-child(2)::before { border-radius: 0 4px 4px 0; } .tramp li:nth-child(3)::before { border-radius: 4px 0 0 4px; } }
@media (max-width: 860px) {
    .vh-grid, .start2 { grid-template-columns: minmax(0, 1fr); }
    .s-left { position: static; }
    .s-left .btn { width: 100%; }
    .tl { margin-top: 8px; }
    .vc-hero .actions .btn { width: 100%; }
    /* 녹음 한 줄: 위에 언제 · 유형, 아래에 파형을 꽉 차게 */
    .take { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "when typ" "wave wave"; gap: 10px 12px; padding: 14px 16px 12px; }
    .take .when { grid-area: when; }
    .take .typ { grid-area: typ; justify-self: end; }
    .take > svg { grid-area: wave; height: 36px; }
    .method { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
    .m-stage { display: none; }
    .m-step, .m-step:last-child { min-height: 0; opacity: 1; padding-bottom: 56px; }
    .m-step:last-child { padding-bottom: 0; }
    .m-vis-m { display: block; margin-top: 24px; }
    .m-vis-m .mock { width: 100%; box-shadow: 0 0 0 1px var(--line); }
    .tramp { margin-top: 40px; }
}
/* ════════ 모바일 정보 다이어트 (PC 그대로) ════════
   주 버튼은 하단 신청 바 하나 · 네 단계는 위로 쌓이는 카드(번호 · 제목 · 핵심 두 줄) · 질문은 한 줄 + 전체 질문 링크 (질문의 집은 자주 묻는 질문) */
@media (max-width: 860px) {
    .vc-hero .actions .btn, .s-left .btn, .closing .btn-white { display: none; }
    .vc-hero .actions { margin-top: 18px; }
    .take-card blockquote br { display: none; }
    .method { margin-top: 28px; }
    /* 네 단계 — 내릴수록 다음 카드가 위로 올라와 쌓인다. 앞 카드는 번호와 제목 줄만 남는다 (머리 메뉴 아래 --stick 에서, 카드마다 한 줄씩 아래로).
       색은 단계마다 한 칸씩 짙어진다: 안개 → 연한 페리 → 페리 반 → 코발트 (로고의 파형이 차오르는 것과 같은 방향) */
    /* 다 쌓인 뒤에는 한 덩어리로 같이 올라가게: top 은 테두리 기준, 풀리는 시점은 여백 상자 기준이라
       카드마다 아래 여백 (3-k)줄을 주면 아래쪽 끝이 모두 같아져 동시에 풀린다. 다음 카드는 그만큼 당겨 올려서 자리는 그대로 */
    .m-steps { --stick: 78px; --row: 62px; display: grid; gap: 12px; }
    .m-step, .m-step:last-child { position: sticky; top: calc(var(--stick) + var(--k) * var(--row)); margin: calc((var(--k) - 4) * var(--row)) 0 calc((3 - var(--k)) * var(--row)); display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center;
        min-height: 0; padding: 20px 20px 22px; border-radius: 22px; background: var(--mist); opacity: 1; box-shadow: 0 -10px 24px -14px rgba(20, 27, 42, .22); }
    .m-step:first-child { margin-top: 0; box-shadow: none; }
    .m-step[data-step="1"] { background: var(--peri-soft); }
    .m-step[data-step="2"] { background: color-mix(in srgb, var(--peri) 50%, var(--peri-soft)); }
    .m-step[data-step="3"] { background: var(--cobalt); color: var(--white); }
    .m-step > p, .m-step .vs, .m-step .coach-line, .m-vis-m { display: none; }
    .m-step .n { width: 32px; height: 32px; font-size: var(--fs-s); box-shadow: none; }
    .m-step h3 { margin: 0; font-size: var(--fs-l); line-height: 1.35; }
    .m-pts { grid-column: 1 / -1; display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
    .m-pts li { display: flex; gap: 8px; font-size: var(--fs-s); line-height: 1.6; color: var(--ink-2); }
    .m-pts .tick { flex: none; width: 16px; height: 16px; margin-top: .25em; color: var(--cobalt); }
    .m-step[data-step="3"] h3, .m-step[data-step="3"] .m-pts li, .m-step[data-step="3"] .m-pts .tick { color: var(--white); }
    .faq .faq-list { display: none; }
    .faq .link { margin-top: 6px; }
    .closing { padding: 72px 0; }
}
@media (max-width: 560px) { .tramp { grid-template-columns: minmax(0, 1fr); row-gap: 0; padding-left: 18px; position: relative; } .tramp li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 0 0 24px; } .tramp li .type-n { grid-row: span 2; } .tramp b { margin-top: 6px; } .tramp li::before { top: 0; bottom: 0; left: -18px; right: auto; width: 6px; height: auto; border-radius: 0 !important; } .tramp li:first-child::before { border-radius: 3px 3px 0 0 !important; } .tramp li:last-child::before { border-radius: 0 0 3px 3px !important; } }

/* ── 실제 화면에서 더한 것 ── */
/* 첫 화면 유의 문구 (2026-10-20 협의안: 보이스첵 소개 첫 화면 — 의학적 진단 아님) */
.vc-notice { display: flex; align-items: flex-start; gap: 8px; margin-top: 20px; font-size: var(--fs-xs); line-height: 1.6; color: var(--slate); }
.vc-notice svg { flex: none; margin-top: 3px; }
/* 녹음 문장은 운영 설정(녹음 과제)에서 온다 — PC 는 문장 묶음마다 줄을 바꾸고 줄 길이를 고르게, 모바일은 이어서 (시안의 <br> 과 같은 모양) */
.take-card blockquote span { display: block; text-wrap: balance; }
@media (max-width: 860px) { .take-card blockquote span { display: inline; } }
/* 대표 사진을 올리면 동그라미를 채운다 (없으면 체크 파형 심볼) */
.portrait.has-photo { overflow: hidden; background: var(--mist); }
.portrait.has-photo img { width: 100%; height: 100%; object-fit: cover; }
