/* pages.css — blueroboworks-e3 소유. ① 메인 §05 CELLWRIGHT 콘솔 (실제 화면 · 라이브 데모) ② makers.html 제조사 설명(maker-brief)
   화면 이미지는 03_콘솔목업 에서 헤드리스로 잘라 온 프로토타입 화면이다 — 캡션에서 "실측 아님"을 지우지 않는다. */

/* ══ ① 콘솔 ══════════════════════════════════════════════ */
.cs .sec-head { margin-bottom: clamp(40px, 5vw, 72px); }
.cs-hero { margin: 0; position: relative; }

/* 창 — 위쪽 막대는 브라우저 창처럼, 안쪽은 실제 콘솔 화면 */
.cs-win { position: relative; border-radius: 14px; background: #0a0d11; box-shadow: 0 0 0 1px var(--rule2), 0 50px 140px -50px rgba(61, 134, 255, .45), 0 30px 60px -40px rgba(0, 0, 0, .8);
  transform-origin: 50% 0; will-change: transform; }
.cs-win > .corner { z-index: 3; }
.cs-bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 16px; background: #11161d; border-bottom: 1px solid #1d232b; border-radius: 14px 14px 0 0;
  font-size: 12px; color: #7f8a97; }
.cs-dots { display: flex; gap: 7px; }
.cs-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a323c; }
.cs-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: .02em; }
.cs-live { display: inline-flex; align-items: center; gap: 8px; color: #b4bdc9; font-size: 11px; letter-spacing: .08em; white-space: nowrap; }
.cs-live b { width: 7px; height: 7px; border-radius: 50%; background: #22b884; box-shadow: 0 0 0 0 rgba(34, 184, 132, .6); animation: cs-ping 2.4s infinite; }
@keyframes cs-ping { 0% { box-shadow: 0 0 0 0 rgba(34, 184, 132, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(34, 184, 132, 0); } }

.cs-shot { position: relative; display: block; overflow: hidden; border-radius: 0 0 14px 14px; text-decoration: none; color: #fff; }
.cs-shot img { display: block; width: 100%; height: auto; transition: transform 1.2s cubic-bezier(.2, .7, 0, 1), filter .5s; }
.cs-shot::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(5, 7, 10, .55), rgba(5, 7, 10, .2)); opacity: 0; transition: opacity .45s; pointer-events: none; }
.cs-shot:hover img, .cs-shot:focus-visible img { transform: scale(1.012); }
.cs-shot:hover::after, .cs-shot:focus-visible::after { opacity: 1; }

/* 번호 표식 — 아래 범례와 같은 번호 */
.hs { position: absolute; z-index: 2; left: var(--x); top: var(--y); width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center;
  background: var(--acc); color: #fff; font: 600 12.5px var(--mono); box-shadow: 0 0 0 3px rgba(10, 13, 17, .85), 0 6px 18px -4px rgba(61, 134, 255, .8); transition: opacity .3s; }
.hs::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid var(--acc); opacity: 0; animation: cs-ring 3.2s calc(var(--k) * .35s) infinite; }
@keyframes cs-ring { 0% { transform: scale(.9); opacity: .9; } 60%, 100% { transform: scale(1.9); opacity: 0; } }
.cs-shot:hover .hs { opacity: .25; }

.cs-play { position: absolute; z-index: 3; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 12px; padding: 20px 30px; border-radius: 999px;
  background: var(--acc); color: #fff; font-size: clamp(16px, 1.5vw, 20px); font-weight: 700; letter-spacing: -.01em; box-shadow: 0 20px 50px -14px rgba(61, 134, 255, .8);
  transform: translate(-50%, -50%) scale(.94); opacity: 0; transition: opacity .35s, transform .5s cubic-bezier(.2, .7, 0, 1); }
.cs-shot:hover .cs-play, .cs-shot:focus-visible .cs-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none) {
  .cs-play { left: auto; top: auto; right: 14px; bottom: 14px; padding: 12px 18px; font-size: 14px; opacity: 1; transform: none; }
  .cs-shot:hover .cs-play { transform: none; }
}

/* 스크롤에 맞춰 창이 세워진다 — 한 번, 위치만. 움직임 줄이기에서는 끈다 */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cs-win { animation: cs-tilt linear both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
    @keyframes cs-tilt { from { transform: perspective(1800px) rotateX(16deg) scale(.92) translateY(40px); opacity: .35; } to { transform: none; opacity: 1; } }
  }
}

/* 범례 · 프로토타입 표기 */
.cs-cap { margin-top: 26px; display: grid; gap: 18px; }
.cs-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px 28px; font-size: 14px; color: var(--ink2); counter-reset: none; }
.cs-legend li { display: flex; gap: 12px; align-items: baseline; line-height: 1.45; }
.hsn { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--accw); color: var(--acc); font-size: 11px; font-weight: 600; transform: translateY(3px); }
.cs-proto { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; font-size: 12.5px; color: var(--ink3); padding-top: 16px; border-top: 1px solid var(--rule); }

/* 화면 카드 — 12칸 그리드. 올리면 스크린샷 전체를 위에서 아래로 훑는다 */
.cs-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(64px, 8vw, 120px); }
.cs-card { grid-column: span 4; display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: 12px; overflow: hidden; background: var(--surf);
  box-shadow: 0 0 0 1px var(--rule2); transition: transform .5s cubic-bezier(.2, .7, 0, 1), box-shadow .3s; }
.cs-card.w7 { grid-column: span 7; } .cs-card.w5 { grid-column: span 5; } .cs-card.w4 { grid-column: span 4; }
.cs-card:hover, .cs-card:focus-visible { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--acc), 0 30px 60px -30px rgba(61, 134, 255, .55); }
.cs-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0a0d11; border-bottom: 1px solid var(--rule); }
.cs-card.w4 .cs-img { aspect-ratio: 4 / 3; }
.cs-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: object-position 3.2s cubic-bezier(.45, 0, .25, 1); }
.cs-card:hover .cs-img img, .cs-card:focus-visible .cs-img img { object-position: 50% 100%; }
.cs-meta { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.cs-code { font-size: 11px; letter-spacing: .08em; color: var(--acc); }
.cs-t { font-size: clamp(17px, 1.4vw, 21px); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.cs-b { font-size: 14px; color: var(--ink2); line-height: 1.55; }
.cs-open { margin-top: auto; padding-top: 10px; font: 500 12.5px var(--mono); color: var(--ink); }
.cs-card:hover .cs-open { color: var(--acc); }

.cs-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: clamp(56px, 7vw, 100px); }
.cs-note { flex-basis: 100%; font-size: 13px; color: var(--ink3); max-width: 46em; }

/* 머리 내비 — 다른 페이지로 나가는 링크 */
nav.main .nav-x span { margin-left: 3px; font-size: .85em; color: var(--ink3); }

@media (max-width: 1100px) {
  .cs-card.w7, .cs-card.w5 { grid-column: span 12; }
  .cs-card.w4 { grid-column: span 6; }
}
@media (max-width: 700px) {
  .cs-card, .cs-card.w4 { grid-column: span 12; }
  .cs-url { display: none; }
  .hs { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: 10.5px; }
  .cs-legend { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs::after, .cs-live b { animation: none; }
  .cs-img img { transition: none; }
}

/* ══ ② makers.html — 제조사 설명(maker-brief) ════════════ */
.mb .sec-head { margin-bottom: clamp(36px, 4.5vw, 72px); }
.mb .note { margin-top: 40px; }

/* §01 형상 세 장 — 트랙 배지는 판정색(상용 · 조건부 · 실증만) */
.mb-forms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.mb-form { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; border-radius: 16px; background: var(--surf); box-shadow: inset 0 0 0 1px var(--rule); }
.mb-form-top { display: flex; justify-content: space-between; align-items: center; }
.mb-code { font-size: 11px; letter-spacing: .1em; color: var(--ink3); }
.mb-track { font-size: 12px; font-weight: 700; padding: 4px 11px 4px 9px; border-radius: 999px; display: inline-flex; gap: 7px; align-items: center; }
.mb-track::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mb-track.ok { color: var(--good); background: color-mix(in srgb, var(--good) 12%, transparent); }
.mb-track.mid { color: color-mix(in srgb, var(--warn) 80%, var(--ink)); background: color-mix(in srgb, var(--warn) 16%, transparent); }
.mb-track.hz { color: var(--s4); background: color-mix(in srgb, var(--s4) 12%, transparent); }
.mb-glyph { width: 120px; height: 70px; margin: 8px 0 4px; fill: none; stroke: var(--ink2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mb-form.hz .mb-glyph { stroke: var(--ink3); stroke-dasharray: 4 3; }
.mb-form h3 { font-size: clamp(20px, 1.7vw, 25px); font-weight: 700; letter-spacing: -.025em; margin: 0; }
.mb-form > p:not(.label) { color: var(--ink2); font-size: 15px; line-height: 1.6; margin: 0; }
.mb-form .label { margin: 10px 0 0; }
.mb-q { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mb-q li { position: relative; padding-left: 16px; font-size: 14px; color: var(--ink); }
.mb-q li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 1px; background: var(--acc); }

/* §02 축 여섯 — 사이트 공용 .cols3 .item 을 쓴다 */
.mb-crit { row-gap: clamp(36px, 4vw, 56px); }

/* §03 기술 요청 — 어두운 장 */
.mb-pri { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 13.5px; color: var(--ink2); margin: 0 0 28px; }
.mb-pri .p { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; margin-left: 10px; }
.mb-pri .p:first-child { margin-left: 0; }
.mb-pri .p0 { background: var(--acc); color: #fff; } .mb-pri .p1 { background: var(--surf3); color: var(--ink); } .mb-pri .p2 { box-shadow: inset 0 0 0 1px var(--rule2); color: var(--ink2); }
.mb-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.mb-area { background: var(--plane); padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; transition: background-color .3s; }
.mb-area:hover { background: var(--surf); }
.mb-area.key .mb-ac { color: var(--acc); }
.mb-ac { font-size: 11px; letter-spacing: .1em; color: var(--ink3); }
.mb-area h3 { font-size: 17px; font-weight: 700; letter-spacing: -.015em; margin: 0; }
.mb-area ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 13.5px; color: var(--ink2); line-height: 1.5; }
.mb-area li { padding-left: 13px; position: relative; }
.mb-area li::before { content: "–"; position: absolute; left: 0; color: var(--ink3); }

.mb-five { margin-top: clamp(40px, 5vw, 72px); padding: 26px 28px; border-radius: 16px; background: color-mix(in srgb, var(--acc) 10%, var(--surf)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 35%, transparent); }
.mb-five ol { margin: 0; padding: 0; list-style: none; counter-reset: f; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.mb-five li { counter-increment: f; font-size: 15px; font-weight: 600; line-height: 1.45; padding-top: 34px; position: relative; }
.mb-five li::before { content: counter(f, decimal-leading-zero); position: absolute; top: 0; left: 0; font: 600 12px var(--mono); color: var(--acc); padding: 3px 8px; border-radius: 6px; background: color-mix(in srgb, var(--acc) 16%, transparent); }
.mb-five-b { margin: 20px 0 0; font-size: 13.5px; color: var(--ink2); }

.mb-ad { margin: clamp(40px, 5vw, 72px) 0 0; padding: clamp(24px, 3vw, 40px); border-radius: 18px; background: var(--surf); box-shadow: inset 0 0 0 1px var(--rule2); }
.mb-ad figcaption h3 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -.03em; margin: 8px 0 10px; }
.mb-ad figcaption p { color: var(--ink2); max-width: 60em; margin: 0; }
.mb-ad-flow { display: flex; align-items: center; gap: 0; margin: 28px 0; }
.mb-ad-flow .nd { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--rule2); font: 700 14px var(--mono); letter-spacing: .04em; }
.mb-ad-flow .nd small { font: 500 11px var(--mono); color: var(--ink3); letter-spacing: .02em; }
.mb-ad-flow .nd.us { background: var(--acc); color: #fff; box-shadow: 0 16px 40px -18px rgba(61, 134, 255, .9); }
.mb-ad-flow .nd.us small { color: rgba(255, 255, 255, .78); }
.mb-ad-flow > i { flex: 0 0 clamp(20px, 4vw, 64px); height: 2px; background: repeating-linear-gradient(90deg, var(--ink3) 0 4px, transparent 4px 8px); background-size: 8px 2px; animation: mb-flow 1s linear infinite; }
@keyframes mb-flow { to { background-position: 8px 0; } }
.mb-ad-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mb-ad-cols > div { padding: 16px 18px; border-radius: 12px; background: var(--plane); }
.mb-ad-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 12px; line-height: 1.5; color: var(--ink2); }
.mb-ad-cols li { padding-left: 12px; border-left: 2px solid var(--rule2); }
.mb-sign { display: flex; gap: 10px; align-items: center; margin: 22px 0 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.mb-sign svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--crit); stroke-width: 1.6; }

/* §04 함께 */
.mb-with { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 56px); }
.mb-with li { position: relative; padding-top: 22px; border-top: 1px solid var(--ink); }
.mb-with li > .mono { font-size: 11px; color: var(--ink3); letter-spacing: .08em; }
.mb-with h3 { font-size: clamp(19px, 1.6vw, 24px); font-weight: 700; letter-spacing: -.025em; margin: 10px 0 8px; }
.mb-with p { color: var(--ink2); margin: 0; }
.mb-demo { display: block; margin-top: 16px; border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 0 0 1px var(--rule2); background: #0a0d11; transition: box-shadow .3s, transform .5s cubic-bezier(.2, .7, 0, 1); }
.mb-demo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 20%; }
.mb-demo span { display: block; padding: 11px 14px; font: 500 12.5px var(--mono); background: var(--surf); }
.mb-demo:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--acc), 0 24px 50px -26px rgba(61, 134, 255, .6); }
.mb-not { margin-top: clamp(40px, 5vw, 64px); max-width: 60em; }

/* §05 경계 */
.mb-lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 56px); counter-reset: l; }
.mb-lines li { counter-increment: l; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; }
.mb-lines li::before { content: "L." counter(l); font: 500 12px var(--mono); color: var(--ink3); padding-top: 3px; }

/* §06 진행 — 다섯 칸 띠 */
.mb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--rule2); }
.mb-steps li { padding: 22px 20px 24px; border-right: 1px solid var(--rule2); position: relative; background: var(--surf); }
.mb-steps li:last-child { border-right: 0; }
.mb-steps li > .mono { font-size: 12px; color: var(--acc); }
.mb-steps b { display: block; font-size: 17px; letter-spacing: -.015em; margin: 8px 0 6px; }
.mb-steps p { font-size: 13.5px; color: var(--ink2); margin: 0; line-height: 1.5; }
.mb-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 22px; z-index: 1; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: var(--plane); color: var(--ink3); box-shadow: 0 0 0 1px var(--rule2); }
.mb-next { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; margin: 28px 0 0; font-size: 15px; color: var(--ink); }
.mb-next .mono { font-size: 11px; color: var(--ink3); letter-spacing: .08em; }

@media (max-width: 1100px) {
  .mb-forms { grid-template-columns: minmax(0, 1fr); }
  .mb-five ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mb-steps { grid-template-columns: minmax(0, 1fr); }
  .mb-steps li { border-right: 0; border-bottom: 1px solid var(--rule2); }
  .mb-steps li:not(:last-child)::after { right: auto; left: 20px; top: auto; bottom: -9px; content: "↓"; }
}
@media (max-width: 800px) {
  .mb-with, .mb-lines { grid-template-columns: minmax(0, 1fr); }
  .mb-ad-cols { grid-template-columns: minmax(0, 1fr); }
  .mb-ad-flow { flex-direction: column; align-items: stretch; }
  .mb-ad-flow > i { flex-basis: 22px; width: 2px; height: 22px; align-self: center; background: repeating-linear-gradient(180deg, var(--ink3) 0 4px, transparent 4px 8px); }
  .mb-five ol { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .mb-ad-flow > i { animation: none; } }

/* 보정 — 사이트 공용 figcaption(가로 정렬 · 흐린 색)을 어댑터 카드에서 끈다 · 요청 영역 10칸은 5×2 */
.mb-ad figcaption { display: block; color: var(--ink); font-size: inherit; }
.mb-ad figcaption p { font-size: 15px; }
@media (min-width: 1200px) { .mb-areas { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.mb-demo > span { display: block; padding: 11px 14px; font: 500 12.5px var(--mono); background: var(--surf); }
.mb-demo span span { display: inline; padding: 0; background: none; }

/* ══ ① 콘솔 — 압축판 (2026-10-14 사용자: "위아래로 너무 길다, 짧고 임팩트 있게") ══
   머리 = 제목 + 한 문장 + 데모 버튼 · 큰 화면 하나(번호에 올리면 설명) · 범례는 칩 한 줄 · 화면 카드는 가로 레일 한 줄 */
.sec.cs { padding: clamp(64px, 7vw, 120px) 0 clamp(56px, 6vw, 100px); }
.cs-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 14px 24px; margin-bottom: clamp(28px, 3.4vw, 52px); }
.cs-head .kick { grid-row: 1; }
.cs-title { grid-column: 2; font-size: clamp(30px, 3.9vw, 62px); }
.cs-side { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.cs-sub { margin: 0; flex: 1 1 380px; max-width: 34em; font-size: clamp(15px, 1.15vw, 17.5px); color: var(--ink2); line-height: 1.6; }
.cs-btns { display: flex; flex-wrap: wrap; gap: 10px; }

.cs-hero { max-width: 1320px; margin-inline: auto; }
.cs-shot { position: relative; overflow: visible; border-radius: 0 0 14px 14px; }
.cs-shot-a { display: block; overflow: hidden; border-radius: 0 0 14px 14px; }
.cs-shot-a img { display: block; width: 100%; height: auto; transition: transform 1.2s cubic-bezier(.2, .7, 0, 1); }
.cs-shot-a:hover img { transform: scale(1.01); }
.cs-shot::after { display: none; }
.cs-shot:hover .hs { opacity: 1; }

/* 번호 — 올리면 그 자리의 설명이 뜬다 */
.hs { width: 30px; height: 30px; margin: -15px 0 0 -15px; background: none; box-shadow: none; cursor: help; }
.hs > b { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: #fff; font: 600 12.5px var(--mono);
  box-shadow: 0 0 0 3px rgba(10, 13, 17, .85), 0 6px 18px -4px rgba(61, 134, 255, .8); }
.hs .hl { position: absolute; z-index: 4; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px); white-space: nowrap; padding: 7px 11px; border-radius: 9px;
  background: #0b0e13; color: #eef2f7; font: 600 12.5px var(--sans); letter-spacing: -.01em; box-shadow: 0 0 0 1px #2a323c, 0 14px 30px -12px rgba(0, 0, 0, .8);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .3s cubic-bezier(.2, .7, 0, 1); }
.hs[style*="--y:9"] .hl, .hs[style*="--y:8"] .hl { bottom: auto; top: auto; bottom: calc(100% + 10px); }
.hs[style*="--x:8%"] .hl { left: 0; transform: translate(0, 4px); }
.hs[style*="--x:88%"] .hl, .hs[style*="--x:79%"] .hl { left: auto; right: 0; transform: translate(0, 4px); }
.hs:hover .hl, .hs:focus-within .hl { opacity: 1; transform: translate(-50%, 0); }
.hs[style*="--x:8%"]:hover .hl, .hs[style*="--x:88%"]:hover .hl, .hs[style*="--x:79%"]:hover .hl { transform: none; }

.cs-play { left: auto; top: auto; right: 18px; bottom: 18px; padding: 13px 20px; font-size: 15px; opacity: 1; transform: none; text-decoration: none; }
.cs-shot:hover .cs-play, .cs-shot:focus-visible .cs-play { transform: translateY(-2px); }

/* 범례 — 칩 한 줄. 칩에 올리면 그 번호의 설명이 화면 위에 뜬다 */
.cs-cap { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.cs-legend { display: flex; flex-wrap: wrap; gap: 6px; counter-reset: lg; grid-template-columns: none; font-size: 12.5px; }
.cs-legend li { counter-increment: lg; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 6px; border-radius: 999px; background: var(--surf2); color: var(--ink2); cursor: default; transition: background-color .2s, color .2s; }
.cs-legend li::before { content: counter(lg); width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--accw); color: var(--acc); font: 600 10.5px var(--mono); }
.cs-legend li:hover { background: var(--acc); color: #fff; }
.cs-legend li:hover::before { background: rgba(255, 255, 255, .22); color: #fff; }
.cs-proto { padding-top: 0; border-top: 0; font-size: 12px; }
.cs-hero:has(.cs-legend li:nth-child(1):hover) .hs:nth-of-type(1) .hl,
.cs-hero:has(.cs-legend li:nth-child(2):hover) .hs:nth-of-type(2) .hl,
.cs-hero:has(.cs-legend li:nth-child(3):hover) .hs:nth-of-type(3) .hl,
.cs-hero:has(.cs-legend li:nth-child(4):hover) .hs:nth-of-type(4) .hl,
.cs-hero:has(.cs-legend li:nth-child(5):hover) .hs:nth-of-type(5) .hl,
.cs-hero:has(.cs-legend li:nth-child(6):hover) .hs:nth-of-type(6) .hl,
.cs-hero:has(.cs-legend li:nth-child(7):hover) .hs:nth-of-type(7) .hl { opacity: 1; transform: translate(-50%, 0); }
.cs-hero:has(.cs-legend li:nth-child(6):hover) .hs:nth-of-type(6) .hl,
.cs-hero:has(.cs-legend li:nth-child(4):hover) .hs:nth-of-type(4) .hl,
.cs-hero:has(.cs-legend li:nth-child(5):hover) .hs:nth-of-type(5) .hl { transform: none; }

/* 화면 레일 — 한 줄, 가로로 넘긴다 */
.cs-rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 21vw, 300px); gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; margin: clamp(32px, 3.6vw, 52px) calc(var(--gut, 24px) * -1) 0; padding: 4px var(--gut, 24px) 14px; scrollbar-width: thin; }
.cs-rail .cs-card { grid-column: auto; scroll-snap-align: start; border-radius: 12px; }
.cs-rail .cs-img { aspect-ratio: 16 / 10; }
.cs-rail .cs-meta { padding: 12px 14px 14px; gap: 4px; }
.cs-rail .cs-t { font-size: 15.5px; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.cs-rail .cs-t .arr { color: var(--ink3); transition: transform .3s, color .3s; }
.cs-rail .cs-card:hover .arr { color: var(--acc); transform: translate(2px, -2px); }
.cs-rail .cs-code { font-size: 10.5px; }

@media (max-width: 900px) {
  .cs-head { grid-template-columns: minmax(0, 1fr); }
  .cs-title, .cs-side { grid-column: 1; }
  .hs .hl { display: none; }
  .cs-play { right: 10px; bottom: 10px; padding: 10px 14px; font-size: 13px; }
}
/* 레일 — 왼쪽은 본문 기준선, 오른쪽 끝은 흐려지며 더 있음을 알린다 */
.cs-rail { margin: clamp(32px, 3.6vw, 52px) 0 0; padding: 4px 0 14px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }

/* ══ ③ §02 비교표(.cmp) — 업체 매칭 → 블루로보웍스의 매칭 (2026-10-14 사용자: 디자인 개선, 내용 유지) ══
   두 장의 카드(밝은 장 = 업체 매칭 · 먹 장 = 우리)를 같은 폭으로 붙이고, 가운데 화살표 칸이 줄마다 "무엇이 바뀌는가"를 잇는다.
   마크업은 그대로 — 화살표는 줄의 ::after(그리드 3열). 모바일(≤900px)은 motion.css 의 카드 쌓기를 그대로 쓴다. */
@media (min-width: 901px) {
  .cmp { margin-top: clamp(48px, 6vw, 88px); border-top: 0; counter-reset: cmp; }
  .cmp-row { position: relative; grid-template-columns: minmax(140px, .72fr) minmax(0, 1.15fr) 72px minmax(0, 1.45fr); gap: 0; padding: 0; border: 0; align-items: stretch; }
  .cmp-row > span { display: flex; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--rule); min-height: 78px; transition: background-color .35s, color .35s; }
  .cmp-row > span:nth-child(1) { grid-column: 1; padding-left: 0; gap: 12px; font-size: 13.5px; color: var(--ink2); border-bottom-color: var(--rule); }
  .cmp-row > span:nth-child(2) { grid-column: 2; background: var(--surf2); color: var(--ink3); font-size: clamp(16px, 1.25vw, 19px); border-bottom-color: color-mix(in srgb, var(--ink) 8%, transparent); }
  .cmp-row > .us { grid-column: 4; padding-left: 30px; background: var(--ink); color: var(--surf); font-size: clamp(17px, 1.35vw, 21px); font-weight: 650; letter-spacing: -.015em;
    border-bottom-color: color-mix(in srgb, var(--surf) 12%, transparent); }
  .cmp-row .us::before { width: 8px; height: 8px; margin: 0 14px 0 0; flex: none; background: var(--acc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 25%, transparent); }

  /* 줄 번호 */
  .cmp-row:not(.cmp-h) { counter-increment: cmp; }
  .cmp-row:not(.cmp-h) > span:first-child::before { content: counter(cmp, decimal-leading-zero); font: 500 11px var(--mono); color: var(--ink3); letter-spacing: .06em;
    padding: 3px 7px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--rule2); transition: background-color .3s, color .3s, box-shadow .3s; }

  /* 가운데 화살표 — 보이면 줄마다 차례로 그어진다 */
  .cmp-row:not(.cmp-h)::after { content: ""; grid-column: 3; grid-row: 1; align-self: center; justify-self: stretch; height: 2px; margin: 0 12px;
    background: linear-gradient(90deg, var(--rule2), var(--acc)); transform-origin: 0 50%; transform: scaleX(0); transition: transform .9s cubic-bezier(.2, .7, 0, 1) calc(var(--ri, 0) * .12s + .2s);
    -webkit-mask: linear-gradient(#000 0 0) 0 0 / calc(100% - 9px) 100% no-repeat, conic-gradient(from 225deg at calc(100% - 1px) 50%, #000 90deg, transparent 0) 100% 50% / 12px 12px no-repeat;
            mask: linear-gradient(#000 0 0) 0 0 / calc(100% - 9px) 100% no-repeat, conic-gradient(from 225deg at calc(100% - 1px) 50%, #000 90deg, transparent 0) 100% 50% / 12px 12px no-repeat; }
  .cmp-row:not(.cmp-h) { --ri: 0; }
  .cmp-row:nth-child(3) { --ri: 1; } .cmp-row:nth-child(4) { --ri: 2; } .cmp-row:nth-child(5) { --ri: 3; }
  .cmp.in .cmp-row::after, html:not(.js) .cmp-row::after { transform: none; }
  .cmp-row:not(.cmp-h)::after { height: 12px; background: linear-gradient(90deg, var(--rule2), var(--acc)); }

  /* 머리줄 — 카드 머리 */
  .cmp-h > span { min-height: 0; padding-top: 20px; padding-bottom: 16px; font-size: 12.5px !important; font-weight: 700; letter-spacing: .02em; }
  .cmp-h > span:first-child { border-bottom-color: transparent; }
  .cmp-h > span:nth-child(2) { color: var(--ink2); border-radius: 18px 18px 0 0; }
  .cmp-h > span:nth-child(2)::before { content: ""; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--ink3); }
  .cmp-h .us { color: var(--surf) !important; border-radius: 18px 18px 0 0; padding-top: 20px; }
  .cmp-h .us::before { display: inline-block; }
  .cmp-row:last-child > span:nth-child(2) { border-radius: 0 0 18px 18px; border-bottom: 0; }
  .cmp-row:last-child .us { border-radius: 0 0 18px 18px; border-bottom: 0; padding-bottom: 22px; }
  .cmp-row:last-child > span:first-child { border-bottom: 0; }

  /* 줄에 올리면 양쪽 카드가 같이 반응한다 */
  .cmp-row:not(.cmp-h):hover > span:first-child { color: var(--ink); }
  .cmp-row:not(.cmp-h):hover > span:first-child::before { background: var(--acc); color: #fff; box-shadow: none; }
  .cmp-row:not(.cmp-h):hover > span:nth-child(2) { background: var(--surf3); color: var(--ink2); }
  .cmp-row:not(.cmp-h):hover > .us { background: color-mix(in srgb, var(--ink) 88%, var(--acc)); }
}
@media (min-width: 901px) and (prefers-reduced-motion: reduce) { .cmp-row::after { transition: none; transform: none; } }
/* 화살표 — 가는 선 + 촉. SVG 마스크라 그라디언트 색을 그대로 쓴다 */
@media (min-width: 901px) {
  .cmp-row:not(.cmp-h)::after { width: 46px; height: 14px; margin: 0; justify-self: center;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 14'><path d='M1 7h42M37 2l6 5-6 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 100% 100% no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 14'><path d='M1 7h42M37 2l6 5-6 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 100% 100% no-repeat;
    background: linear-gradient(90deg, var(--ink3), var(--acc)); }
  .cmp-row:not(.cmp-h):hover::after { background: var(--acc); }
}

/* §05 매칭 준비 3단계 — 연결 → 검증 → 축적. W.01~05 카드 위의 요약 띠 */
.mb-phase { list-style: none; margin: 0 0 clamp(40px, 5vw, 64px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--acc); }
.mb-phase li { position: relative; padding: 22px clamp(16px, 2.4vw, 32px) 4px; border-left: 1px solid var(--line, rgba(0,0,0,.12)); }
.mb-phase li:first-child { border-left: 0; padding-left: 0; }
.mb-phase li + li::before { content: "→"; position: absolute; left: -14px; top: 54px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--acc); border-radius: 50%; background: var(--bg, var(--surf3)); color: var(--acc); font-size: 12px; }
.mb-phase .mono:first-child { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: 11px; color: var(--acc); letter-spacing: .08em; }
.mb-phase .mono i { font-style: italic; letter-spacing: .02em; font-size: 13px; }
.mb-phase h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.035em; margin: 12px 0 6px; }
.mb-phase p { color: var(--ink2); margin: 0; }
.mb-phase .ref { display: inline-block; margin-top: 10px; font-size: 10.5px; color: var(--ink3); letter-spacing: .06em; }
@media (max-width: 720px) {
  .mb-phase { grid-template-columns: 1fr; }
  .mb-phase li { border-left: 0; border-top: 1px solid var(--line, rgba(0,0,0,.12)); padding-left: 0; }
  .mb-phase li:first-child { border-top: 0; }
  .mb-phase li + li::before { left: auto; right: 0; top: 22px; content: "↓"; }
}

/* §03 제목 — 두 문장을 줄로 나눈다 ("그리고"가 앞 줄 끝에 홀로 걸리지 않게) */
#mb2-h .chip:first-child::after { content: "\A"; white-space: pre; }
#mb2-h .chip { font-size: .82em; }
@media (max-width: 720px) { #mb2-h .chip { font-size: 1em; } #mb2-h .chip:first-child::after { content: none; } }
:lang(ja) #mb2-h .chip, :lang(zh) #mb2-h .chip { font-size: .72em; }
@media (max-width: 720px) { :lang(ja) #mb2-h .chip, :lang(zh) #mb2-h .chip { font-size: 1em; } }
