/* TEXTLAB 새 홈페이지 (2026-10-26) — 짧은 첫 화면 + 서비스별 페이지 */
:root {
  --bg: #0A0B0D; --bg-2: #121418; --bg-3: #1B1E24; --line: #262A31;
  --text: #F4F5F7; --sub: #A7ADB8; --blue: #2F6BFF; --blue-2: #5B8CFF; --soft: rgba(47,107,255,.14);
  --kakao: #FEE500; --r: 22px; --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--text); font-family: Pretendard, -apple-system, sans-serif; word-break: keep-all; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* 맨 위 */
.top { position: sticky; top: 0; z-index: 20; background: rgba(10,11,13,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-size: 19px; font-weight: 900; letter-spacing: .22em; }
.top nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; color: var(--sub); }
.top nav a:hover { color: var(--text); }
@media (max-width: 760px) { .top nav .nl { display: none; } }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: 16.5px; border: 0; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.btn:active { transform: scale(.97); }
.btn.kakao { background: var(--kakao); color: #191600; }
.btn.blue { background: var(--blue); color: #fff; }
.btn.blue:hover { background: #2259E6; }
.btn.line { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px #3A3F48; }
.btn.line:hover { box-shadow: inset 0 0 0 1.5px #6B7280; }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; }

/* 칸 공통 */
section { padding: 84px 0; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--blue-2); }
h1, h2 { letter-spacing: -0.04em; line-height: 1.18; font-weight: 900; }
h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 10px; }
.sub { margin-top: 12px; font-size: 17px; color: var(--sub); }
@media (max-width: 760px) { section { padding: 60px 0; } }

/* 첫 화면 */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(36px, 6vw, 62px); }
.hero h1 em { font-style: normal; color: var(--blue-2); }
.hero .lead { margin-top: 18px; font-size: clamp(17px, 2vw, 20px); color: var(--sub); }
.hero .cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero .proof { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: var(--sub); }
.hero .proof b { color: var(--text); }
.hero-vis { position: relative; height: 480px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-vis { height: 400px; } }

/* 휴대폰 틀 (아이폰 비율) */
.phone { position: relative; width: 230px; container-type: inline-size; isolation: isolate; }
.phone::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 16.4cqw; background: #0B0B0D; box-shadow: inset 0 0 0 .9cqw #34373E, inset 0 0 0 1.4cqw #0B0B0D, 0 30px 70px rgba(0,0,0,.55); }
.screen { margin: 3.6cqw; aspect-ratio: 402 / 874; border-radius: 12.8cqw; overflow: hidden; background: #111; position: relative; }
.screen > video, .screen > img { width: 100%; height: 100%; object-fit: cover; }
.hero-vis .phone { position: absolute; }
.hero-vis .p1 { left: 4%; top: 40px; transform: rotate(-6deg); width: 200px; }
.hero-vis .p2 { left: 32%; top: 0; z-index: 2; width: 230px; }
.hero-vis .p3 { right: 0; top: 50px; transform: rotate(6deg); width: 200px; }
@media (max-width: 860px) {
  .hero-vis .p1 { left: 0; width: 160px; } .hero-vis .p2 { left: 50%; transform: translateX(-50%); width: 190px; } .hero-vis .p3 { width: 160px; }
}

/* 고민으로 고르기 */
.pick-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pick { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: transform .25s var(--ease), border-color .25s; }
.pick:hover { transform: translateY(-4px); border-color: #3A4252; }
.pick .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.pick .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.pick .tx { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pick q { quotes: none; font-size: 15px; color: var(--sub); }
.pick q::before { content: "“"; } .pick q::after { content: "”"; }
.pick b { font-size: 21px; font-weight: 900; letter-spacing: -0.03em; }
.pick .go { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 800; color: var(--blue-2); }
.pick.soon .go { color: var(--sub); }
@media (max-width: 860px) { .pick-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .pick-grid { grid-template-columns: 1fr; gap: 10px; }
  .pick { flex-direction: row; } .pick .ph { aspect-ratio: auto; width: 34%; flex: none; } .pick .tx { padding: 14px 16px; } .pick b { font-size: 18px; }
}

/* 대표 사례 */
.cases { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.case { border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.case .ph { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.case .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.case .tx { padding: 18px 20px 20px; }
.case h3 { font-size: 20px; font-weight: 900; letter-spacing: -0.03em; }
.case .what { margin-top: 2px; font-size: 13.5px; color: var(--blue-2); font-weight: 700; }
.case p { margin-top: 8px; font-size: 15px; color: var(--sub); }
.more-link { display: inline-block; margin-top: 18px; font-size: 15px; font-weight: 800; color: var(--blue-2); }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } .case { flex-direction: row; } .case .ph { aspect-ratio: auto; width: 38%; flex: none; } }

/* 후기 */
.reviews { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rv { border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); padding: 22px; }
.rv .st { color: #FFC83D; font-size: 15px; letter-spacing: 2px; }
.rv blockquote { margin-top: 10px; font-size: 15.5px; line-height: 1.65; }
.rv figcaption { margin-top: 12px; font-size: 13.5px; color: var(--sub); }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* 진행 순서 */
.steps { margin-top: 30px; list-style: none; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); padding: 20px; }
.steps li::before { content: counter(s, decimal-leading-zero); font-size: 13px; font-weight: 900; color: var(--blue-2); }
.steps b { display: block; margin-top: 6px; font-size: 18px; font-weight: 900; }
.steps span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--sub); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* 문의 */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact .cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.ask { border-radius: var(--r); background: #fff; color: #12151B; padding: 26px; display: grid; gap: 12px; }
.ask h3 { font-size: 19px; font-weight: 900; }
.ask .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ask label { display: block; font-size: 13.5px; font-weight: 700; color: #4A5260; }
.ask label i { font-style: normal; color: var(--blue); margin-left: 3px; font-size: 12px; }
.ask label em { font-style: normal; color: #9AA0AA; margin-left: 3px; font-size: 12px; }
.ask input:not([type=checkbox]), .ask textarea { display: block; width: 100%; margin-top: 5px; font: inherit; font-size: 16px; color: #111; border: 1.5px solid #E2E4E8; border-radius: 12px; padding: 13px 14px; background: #fff; }
.ask input::placeholder, .ask textarea::placeholder { color: #9AA0AA; }
.ask input:focus, .ask textarea:focus { outline: none; border-color: var(--blue); }
.ask .picked { font-size: 13.5px; color: #2F6BFF; font-weight: 700; }
.ask .agree { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; font-size: 13px; color: #5A6372; }
.ask .agree input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--blue); flex: none; }
.ask .hp { position: absolute; left: -9999px; }
.ask .msg { font-size: 14px; font-weight: 700; }
.ask .msg.ok { color: #12945A; } .ask .msg.err { color: #D33A3A; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ask .row { grid-template-columns: 1fr; } }

/* 바닥글 */
footer { padding: 36px 0 90px; font-size: 13.5px; color: #6C727E; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
footer a:hover, footer a[aria-current] { color: var(--text); }

/* 떠 있는 카톡 버튼 */
.float { position: fixed; right: 18px; bottom: 18px; z-index: 30; box-shadow: 0 10px 30px rgba(0,0,0,.45); }

/* 서비스 페이지 */
.crumb { padding-top: 26px; font-size: 14px; color: var(--sub); }
.crumb a { color: var(--blue-2); font-weight: 700; }
.svc-hero { padding: 30px 0 64px; }
.svc-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.svc-hero h1 { font-size: clamp(32px, 5vw, 52px); margin-top: 12px; }
.svc-hero h1 em { font-style: normal; color: var(--blue-2); }
.svc-hero .lead { margin-top: 16px; font-size: 18px; color: var(--sub); }
.svc-hero .cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.svc-hero .phone { margin: 0 auto; width: 250px; }
@media (max-width: 860px) { .svc-hero .wrap { grid-template-columns: 1fr; } .svc-hero .phone { width: 220px; } }
.fit-list { margin-top: 26px; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fit-list li { border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); padding: 20px; font-size: 16px; font-weight: 700; }
.fit-list li::before { content: "✓"; display: block; color: var(--blue-2); font-weight: 900; margin-bottom: 6px; }
@media (max-width: 760px) { .fit-list { grid-template-columns: 1fr; } }
.examples { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; justify-items: center; }
.examples figure { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.examples .phone { width: 210px; }
.examples figcaption { text-align: center; font-size: 14.5px; color: var(--sub); }
.examples figcaption b { display: block; color: var(--text); font-size: 16px; }
.tag-ex { display: inline-block; margin-left: 4px; font-size: 11.5px; font-weight: 800; color: #FFB86B; border: 1px solid rgba(255,184,107,.5); border-radius: 99px; padding: 1px 7px; vertical-align: 1px; }
@media (max-width: 760px) {
  .examples { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 8px; justify-content: flex-start; }
  .examples figure { scroll-snap-align: center; flex: none; } .examples .phone { width: 190px; }
}
.scope { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.scope .box { border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); padding: 24px; }
.scope h3 { font-size: 19px; font-weight: 900; }
.scope p.d { margin-top: 4px; font-size: 14.5px; color: var(--sub); }
.scope ul { margin-top: 14px; list-style: none; }
.scope .it { margin-top: 18px; font-size: 14px; font-weight: 800; color: var(--sub); }
.scope .it + ul { margin-top: 8px; }
.scope li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
/* 카드뉴스 페이지: 이럴 때 · 예시 줄, 추가 선택 */
.scope h3 .tag { margin-left: 6px; padding: 3px 9px; border-radius: 99px; background: var(--bg-3); font-size: 13px; font-weight: 700; color: var(--sub); vertical-align: 3px; }
.scope .rows { margin-top: 14px; display: grid; gap: 6px; }
.scope .rows div { display: flex; gap: 12px; font-size: 15px; }
.scope .rows dt { flex: none; width: 52px; font-weight: 800; color: var(--blue-2); }
.scope .rows dd { margin: 0; }
.scope .add { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14.5px; }
.scope .add span { color: var(--sub); }
.scope .add b { padding: 6px 12px; border-radius: 99px; border: 1px dashed var(--blue-2); color: var(--text); font-weight: 700; }
.scope .price { margin-top: 16px; font-size: 15px; font-weight: 800; color: var(--blue-2); }
@media (min-width: 761px) { .scope:has(> .box:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); } }   /* 상자 3개면 PC에서 한 줄에 3개 (폰은 한 줄에 하나) */
@media (max-width: 760px) { .scope { grid-template-columns: 1fr; } }
.faq { margin-top: 26px; display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px; font-size: 16.5px; font-weight: 800; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue-2); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 20px 18px; font-size: 15.5px; color: var(--sub); }
.next-svc-t { margin: 48px 0 0; font-size: 17px; font-weight: 800; }
.next-svc { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.next-svc a { padding: 10px 16px; border-radius: 99px; background: var(--bg-3); font-size: 14.5px; font-weight: 700; }
.next-svc a:hover { background: #262B34; }
/* 칸이 화면에 들어오면 빛이 왼쪽 상자부터 오른쪽으로 차례로 지나감 */
.next-svc a { position: relative; overflow: hidden; }
.next-svc a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 25%, rgba(120,160,255,.45) 50%, transparent 75%); transform: translateX(-110%); pointer-events: none; }
.next-svc.in a::after { animation: shine .7s ease-out calc(.35s + var(--i, 0) * .11s) both; }
@keyframes shine { to { transform: translateX(110%); } }
@media (prefers-reduced-motion: reduce) { .next-svc.in a::after { animation: none; } }

/* 나타나기 */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; transition: none; } }
/* 그림 칸: 긴 그림이 카드 높이를 늘리지 않게 (휴대폰 가로 카드) */
.pick .ph, .case .ph { position: relative; }
.pick .ph img, .case .ph img { position: absolute; inset: 0; }
@media (max-width: 520px) { .pick { min-height: 112px; } }
@media (max-width: 860px) { .case { min-height: 150px; } }

/* 서비스 페이지 그림 틀 */
.frame { width: 240px; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.45); position: relative; }
.frame.wide { width: 320px; aspect-ratio: 4 / 3; }
.frame > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.svc-hero .frame { margin: 0 auto; width: 280px; }
.examples .frame { width: 210px; }
.examples .frame.wide { width: 300px; }
@media (max-width: 760px) { .examples .frame { width: 190px; } .examples .frame.wide { width: 260px; } }
/* 옆으로 넘기기 */
.slides { display: flex; height: 100%; transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
.slides > img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
/* 긴 화면 위에서 아래로 흐르기 (같은 그림 두 장을 이어 붙여 끊김 없이) */
.screen .loop, .frame .loop { position: absolute; inset: 0 0 auto 0; }
.screen .loop img, .frame .loop img { width: 100%; height: auto; display: block; }
.loop.run { animation: loopv var(--t, 60s) linear infinite; }
@keyframes loopv { to { transform: translateY(var(--d, 0px)); } }
@media (prefers-reduced-motion: reduce) { .loop.run { animation: none; } .slides { transition: none; } }

/* 고민 카드: 글자 중심 (2026-10-26 사장님: 고민이 잘 보이게) */
.pick { justify-content: space-between; gap: 22px; min-height: 150px; padding: 24px 24px 22px; flex-direction: column !important; }
.pick q { quotes: none; font-size: clamp(21px, 2.2vw, 25px); line-height: 1.35; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.pick q::before { content: "“"; color: var(--blue-2); } .pick q::after { content: "”"; color: var(--blue-2); }
.pick .svc { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 700; color: var(--sub); }
.pick .svc i { font-style: normal; color: var(--blue-2); font-size: 18px; transition: transform .25s var(--ease); }
.pick:hover .svc { color: var(--text); }
.pick:hover .svc i { transform: translateX(4px); }
@media (max-width: 520px) { .pick { min-height: 0; padding: 20px; gap: 16px; } .pick q { font-size: 20px; } }

/* 가벼운 문의 폼 */
.ask label input { margin-top: 6px; }
.ask .agree span { line-height: 1.45; }
.pick .fix { margin-top: -8px; font-size: 15.5px; line-height: 1.5; color: var(--sub); }
.pick .svc { margin-top: auto; color: var(--blue-2); }
.screen.white { background: #fff; }
/* 서비스 이름을 크게, 고민은 위에 작게 (2026-10-26) */
.pick { gap: 10px; }
.pick q { font-size: 15px; font-weight: 600; color: var(--sub); letter-spacing: 0; }
.pick .name { font-size: clamp(24px, 2.6vw, 30px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.2; }
.pick .fix { margin-top: 0; }
.pick .svc { margin-top: 12px; }
@media (max-width: 520px) { .pick q { font-size: 14.5px; } .pick .name { font-size: 24px; } }

/* 맨 위 휴대폰: 세 대가 덜 겹치게 (2026-10-26) */
.hero .wrap { grid-template-columns: 1fr 1fr; }
.hero-vis .p1 { left: 0; top: 46px; width: 190px; transform: rotate(-5deg); }
.hero-vis .p2 { left: 50%; top: 0; width: 215px; transform: translateX(-50%); }
.hero-vis .p3 { right: 0; top: 46px; width: 190px; transform: rotate(5deg); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-vis { height: 360px; max-width: 420px; margin: 0 auto; width: 100%; }
  .hero-vis .p1, .hero-vis .p3 { width: 140px; top: 40px; } .hero-vis .p2 { width: 170px; }
}

/* 서비스 고르기 탭 */
.svc-tabs { margin-top: 30px; display: grid; grid-template-columns: 330px 1fr; gap: 18px; align-items: start; }
.tab-list { display: flex; flex-direction: column; gap: 8px; }
.tab-list button { text-align: left; font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; cursor: pointer; transition: background .2s, border-color .2s; }
.tab-list button small { display: block; font-size: 13.5px; color: var(--sub); }
.tab-list button b { display: block; margin-top: 2px; font-size: 19px; font-weight: 900; letter-spacing: -0.03em; }
.tab-list button:hover { border-color: #3A4252; }
.tab-list button[aria-selected=true] { background: var(--blue); border-color: var(--blue); }
.tab-list button[aria-selected=true] small { color: rgba(255,255,255,.8); }
.tab-panels { border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); padding: 30px; min-height: 100%; }
.svc-panel { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; }
.svc-panel[hidden] { display: none; }
.svc-panel .vis .phone { width: 220px; }
.svc-panel .vis .frame { width: 250px; }
.svc-panel .worry { font-size: 15px; color: var(--sub); }
.svc-panel h3 { margin-top: 4px; font-size: clamp(28px, 3vw, 36px); font-weight: 900; letter-spacing: -0.04em; }
.svc-panel ol { margin-top: 18px; list-style: none; counter-reset: k; display: grid; gap: 10px; }
.svc-panel li { counter-increment: k; display: flex; gap: 12px; align-items: baseline; font-size: 17px; }
.svc-panel li::before { content: counter(k); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--soft); color: var(--blue-2); font-size: 13px; font-weight: 900; display: grid; place-items: center; transform: translateY(-1px); }
.svc-panel .btn { margin-top: 24px; }
/* '자세히 보기' 버튼: 칸이 화면에 보일 때와 서비스를 바꿀 때, 빛이 왼쪽에서 오른쪽으로 지나가요 (2026-10-28) */
.svc-panel .btn { position: relative; overflow: hidden; }
.svc-panel .btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.75) 50%, transparent 80%); transform: translateX(-120%); pointer-events: none; }
.svc-panel .btn.blink::after { animation: btnshine 1.1s ease-out 2; }
@keyframes btnshine { to { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .svc-panel .btn.blink::after { animation: none; } }
@media (max-width: 900px) {
  .svc-tabs { grid-template-columns: 1fr; }
  .tab-list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
  .tab-list button { flex: none; scroll-snap-align: start; padding: 10px 14px; }
  .tab-list button small { display: none; }
  .tab-list button b { font-size: 16px; margin: 0; white-space: nowrap; }
  .tab-panels { padding: 22px 18px; }
  .svc-panel { grid-template-columns: 1fr; gap: 20px; }
  .svc-panel .vis { display: flex; justify-content: center; }
  .svc-panel .vis .phone { width: 190px; } .svc-panel .vis .frame { width: 220px; }
  .svc-panel .txt { text-align: left; }
  .svc-panel li { font-size: 16px; }
  .svc-panel .btn { width: 100%; }
}
/* 탭을 바꿔도 칸 높이가 출렁이지 않게 */
.svc-panel { min-height: 470px; }
.svc-panel .vis { min-width: 250px; display: flex; justify-content: center; }
.svc-panel .vis .frame { width: 280px; }
@media (max-width: 900px) { .svc-panel { min-height: 0; } .svc-panel .vis { min-height: 420px; align-items: center; } .svc-panel .vis .frame { width: 260px; } }

/* 그림 틀은 작업물 비율 그대로, 잘리지 않게 (2026-10-26) — 카드뉴스 4:5, 포스터·리플렛 A판(1:1.414) */
.frame { aspect-ratio: var(--ar, 4 / 5); background: #fff; }
.frame.poster { --ar: 1 / 1.414; }
.frame > img, .slides > img { object-fit: contain; object-position: 50% 50%; background: #fff; }
.frame .loop img { object-fit: initial; }

/* 이런 사장님께 맞아요: 메시지가 하나씩 올라오듯 (2026-10-26) */
.chat { margin-top: 26px; max-width: 620px; display: flex; flex-direction: column; gap: 10px; }
.chat.rise { opacity: 1; transform: none; }
.bub { max-width: 82%; padding: 13px 18px; border-radius: 20px; font-size: 16.5px; line-height: 1.5; opacity: 0; transform: translateY(14px) scale(.96); transform-origin: left bottom; }
.bub.them { align-self: flex-start; background: var(--bg-3); color: var(--text); border-bottom-left-radius: 6px; }
.bub.us { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; transform-origin: right bottom; font-weight: 700; }
.bub.us b { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; opacity: .75; margin-bottom: 2px; }
.chat.in .bub { animation: bub .45s cubic-bezier(.2, .9, .3, 1.2) forwards; animation-delay: calc(var(--i) * .65s + .15s); }
@keyframes bub { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bub { opacity: 1; transform: none; } .chat.in .bub { animation: none; } }

/* 로고 소개 영상 (첫 화면 아래) */
.intro { padding: 0 0 20px; }
.intro-video { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #0A0B0D; aspect-ratio: 16 / 9; }
.intro-video video { width: 100%; height: 100%; object-fit: cover; }

/* 로고 애니메이션 (첫 페이지 맨 위, 지나가면 사라짐) */
.intro-anim { position: relative; height: min(calc(100svh - 64px), calc(56.25vw + 140px)); min-height: 300px; overflow: hidden; padding: 0; background: var(--bg); }
.ia-stage { position: absolute; left: 50%; top: 50%; width: 1200px; height: 675px; transform-origin: center; overflow: hidden; color: var(--text); }
.ia-no { position: absolute; left: 130px; top: 214px; font-size: 22px; font-weight: 800; color: #6F98FF; letter-spacing: .04em; opacity: 0; }
.ia-mask { position: absolute; left: 124px; top: 250px; width: 640px; height: 150px; overflow: hidden; }
.ia-word { position: absolute; left: 0; top: 0; font-size: 116px; font-weight: 900; letter-spacing: -.03em; line-height: 150px; white-space: nowrap; transform: translateY(100%); }
.ia-shot { position: absolute; top: 150px; height: 375px; border-radius: 18px; overflow: hidden; background: #111; opacity: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 70px rgba(0,0,0,.6); }
.ia-shot img { width: 100%; display: block; }
.ia-shot.fill img { height: 100%; object-fit: cover; }
.ia-shot.top img { height: auto; }
.ia-shot video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ia-track { display: flex; height: 100%; }
.ia-track img { flex: none; width: 100%; height: 100%; object-fit: cover; }
.ia-shot.phone { border-radius: 26px; }
.ia-shot.wide { top: 190px; height: 297px; border-radius: 12px; background: #0A0B0D; }
.ia-shot.wide img { height: auto; }
.ia-chrome { height: 22px; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: #1B1E24; }
.ia-chrome i { width: 8px; height: 8px; border-radius: 50%; background: #3A3F48; }
.ia-chrome span { margin-left: 10px; padding: 2px 10px; border-radius: 6px; background: #0F1114; font-size: 10px; color: #8A909B; }
.ia-kakao { position: absolute; right: 12px; bottom: 12px; width: 52px; height: 52px; border-radius: 50%; background: #FEE500; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.35); transform: scale(0); }
.ia-kakao svg { width: 30px; height: 30px; }
.ia-big { position: absolute; left: 0; right: 0; top: 232px; text-align: center; font-size: 112px; font-weight: 800; letter-spacing: -.01em; opacity: 0; }
.ia-logo { position: absolute; left: 50%; bottom: calc(675px - 384px); transform: translateX(-50%); display: flex; font-size: 150px; font-weight: 900; letter-spacing: .1em; line-height: .78; clip-path: inset(-40% -20% 0 -20%); }
.ia-logo span { display: inline-block; transform: translateY(105%); }
.ia-logo span:last-child { letter-spacing: 0; }
.ia-bar { position: absolute; top: 396px; height: 12px; background: var(--blue); border-radius: 3px; width: 0; }
.ia-caption { position: absolute; left: 0; right: 0; top: 446px; text-align: center; font-size: 36px; font-weight: 800; opacity: 0; white-space: nowrap; letter-spacing: -.01em; }
.ia-caption span { display: inline-block; white-space: pre; }
.ia-caption em { font-style: normal; color: #6F98FF; }
.ia-skip { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--sub); font-size: 18px; cursor: pointer; opacity: 0; transition: opacity .6s; }
.intro-anim.done .ia-skip { opacity: 1; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translate(-50%, 6px); } }
@media (prefers-reduced-motion: reduce) { .intro-anim.done .ia-skip { animation: none; } }
.ia-big .w { display: inline-block; opacity: 0; }
.ia-caption .b1, .ia-caption .b2 { display: inline-block; white-space: pre; }

/* 진행 순서: PC는 왼쪽부터 하나씩, 휴대폰은 위에서 아래로 하나씩 (2026-10-26) */
.steps li.rise { transform: translateX(-36px); }
.steps li.rise.in { transform: none; }
.steps li:nth-child(2) { transition-delay: .15s; } .steps li:nth-child(3) { transition-delay: .3s; } .steps li:nth-child(4) { transition-delay: .45s; }
@media (max-width: 760px) { .steps li.rise { transform: translateY(-24px); } .steps li.rise.in { transform: none; } }
@media (prefers-reduced-motion: reduce) { .steps li.rise { transform: none; } }

/* 후기 아래 한 줄 평 */
.rv-tags { list-style: none; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.rv-tags li { padding: 9px 16px; border-radius: 999px; background: var(--soft); color: #DCE5FF; font-size: 14.5px; font-weight: 700; }

/* 첫 페이지 '이렇게 진행돼요' — 앞뒤 어두운 칸과 다르게 (밝은 바탕 + 선으로 이은 번호) */
.process[data-look="a"] { background: #F4F5F7; color: #0A0B0D; }
.process[data-look="a"] .kicker { color: var(--blue); }
.process .steps { gap: 0; margin-top: 40px; }
.process .steps li { position: relative; background: none; border: 0; border-radius: 0; padding: 0 28px 0 0; }
.process .steps li::before { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-size: 20px; position: relative; z-index: 1; }
.process .steps b { margin-top: 18px; font-size: 22px; }
.process .steps span { font-size: 16px; }
.process[data-look="a"] .steps li::before { background: var(--blue); color: #fff; }
.process[data-look="a"] .steps li:not(:last-child)::after { content: ""; position: absolute; left: 56px; right: 0; top: 27px; height: 2px; background: var(--blue); opacity: .35; }
.process[data-look="a"] .steps span { color: #4A505B; }
@media (max-width: 760px) {
  .process .steps { gap: 28px; }
  .process .steps li { padding: 0 0 0 76px; min-height: 56px; }
  .process .steps li::before { position: absolute; left: 0; top: 0; }
  .process .steps b { margin-top: 2px; }
  .process[data-look="a"] .steps li:not(:last-child)::after { left: 27px; right: auto; top: 56px; bottom: -28px; width: 2px; height: auto; }
}

/* 서비스 페이지 — 별명 · 믿을 만한 숫자 · 하는 일 3가지 · 사장님은 이것만 */
.svc-hero .nick { margin-top: 14px; font-size: 17px; font-weight: 700; color: var(--blue-2); }
.svc-hero .nick + h1 { margin-top: 6px; }
.svc-hero .proof { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: var(--sub); }
.svc-hero .proof b { color: var(--text); }
.roles { margin-top: 30px; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: r; }
.roles li { counter-increment: r; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); padding: 26px 24px; }
.roles li::before { content: counter(r, decimal-leading-zero); display: block; font-size: 34px; font-weight: 900; line-height: 1; color: var(--blue-2); letter-spacing: -0.03em; }
.roles b { display: block; margin-top: 16px; font-size: 20px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.4; }
.roles span { display: block; margin-top: 10px; font-size: 15.5px; color: var(--sub); }
.role-note { margin-top: 18px; font-size: 15px; color: var(--sub); }
@media (max-width: 860px) { .roles { grid-template-columns: 1fr; } }
.you { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; border-radius: var(--r); background: var(--soft); padding: 18px 22px; font-size: 16px; }
.you b { color: var(--blue-2); font-weight: 900; }

/* 브랜딩 = 모든 콘텐츠의 바닥 (2026-10-28) */
.chain { margin-top: 30px; display: flex; flex-direction: column; align-items: center; }
.chain-base { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.chain-base .frame { width: 300px; }
.chain-base figcaption { text-align: center; font-size: 14.5px; color: var(--sub); }
.chain-base figcaption b { display: block; color: var(--text); font-size: 16px; }
.chain-line { margin-top: 26px; padding: 10px 20px; border-radius: 999px; background: var(--soft); color: #DCE5FF; font-size: 15px; font-weight: 700; }
.chain-line::before { content: '↓ '; }
.chain .examples { margin-top: 26px; width: 100%; }
#pick .base { margin-top: 28px; display: grid; grid-template-columns: 190px 1fr; gap: 28px; align-items: center; padding: 22px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); border-bottom: 4px solid var(--blue); }
#pick .base img { width: 100%; border-radius: 12px; display: block; }
#pick .base-k { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--blue-2); }
#pick .base h3 { margin-top: 6px; font-size: 28px; font-weight: 900; letter-spacing: -0.03em; }
#pick .base p.d { margin-top: 8px; font-size: 16.5px; color: var(--sub); }
#pick .base .btn { margin-top: 16px; }
#pick .base-up { margin-top: 26px; text-align: center; font-size: 15px; font-weight: 700; color: var(--sub); }
#pick .base-up::before { content: '↓ '; color: var(--blue-2); }
@media (max-width: 760px) {
  .chain-base .frame { width: 240px; }
  #pick .base { grid-template-columns: 110px 1fr; gap: 16px; padding: 16px; }
  #pick .base h3 { font-size: 22px; } #pick .base p.d { font-size: 14.5px; }
  #pick .base .btn { width: 100%; grid-column: 1 / -1; }
}

/* 오늘의 콘텐츠 카톡: 휴대폰 오른쪽 아래 카톡 표시 */
.kk-badge { position: absolute; right: -14px; bottom: 26px; z-index: 3; width: 58px; height: 58px; border-radius: 50%; background: #FEE500; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.4); }
.kk-badge svg { width: 32px; height: 32px; }
.svc-panel:not([hidden]) .kk-badge, .rise.in .kk-badge, .svc-hero .kk-badge { animation: kkpop .5s .3s cubic-bezier(.2,.9,.25,1.3) both; }
@keyframes kkpop { from { transform: scale(0); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .svc-panel .kk-badge { animation: none; } }
.examples:has(> figure:only-child) { grid-template-columns: 1fr; }  /* 결과물이 하나뿐이면 가운데 (2026-10-28) */
