/*
 * 플랫폼 소개(/) 영업용 섹션 — 숫자 띠 · 에이전트 템플릿 · 부서별 포털 · 계정별 에이전트 · 웹사이트 수집 · 스스로 교정하는 답변.
 * saas.css 다음에 읽는다(색 토큰·버튼·섹션 공통을 그대로 쓴다). 색은 파랑 한 계열만.
 * 움직임은 transform·opacity 만 바꾸고, 화면 밖 섹션은 .live 를 떼어 멈춘다(showcase.js). 흐림(backdrop-filter)은 쓰지 않는다.
 */

/* ── 숫자 띠 ─────────────────────────────────────────── */
.stat-band { position: relative; z-index: 5; padding: 48px 0 0; }
.stat-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line);
  border-radius: 24px; box-shadow: 0 24px 60px rgba(16, 58, 128, .12); overflow: hidden;
}
.stat { position: relative; padding: 26px 26px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat .n { display: flex; align-items: baseline; gap: 4px; font-size: clamp(34px, 4vw, 48px); font-weight: 850; letter-spacing: -.04em; line-height: 1; }
.stat .n b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat .n small { font-size: 18px; font-weight: 800; color: var(--ink-2); letter-spacing: -.02em; }
.stat .l { margin-top: 10px; font-weight: 800; font-size: 15.5px; letter-spacing: -.01em; }
.stat .d { margin-top: 2px; color: var(--muted); font-size: 13.5px; }
.stat::after {
  content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2, .8, .2, 1);
}
.stat-grid.in .stat::after { transform: scaleX(1); }
.stat-grid.in .stat:nth-child(2)::after { transition-delay: .12s; }
.stat-grid.in .stat:nth-child(3)::after { transition-delay: .24s; }
.stat-grid.in .stat:nth-child(4)::after { transition-delay: .36s; }

/* ── 공통: 어두운 쇼케이스 섹션 ─────────────────────────── */
.sx-dark {
  position: relative; overflow: hidden; color: #CBD5E1;
  background:
    radial-gradient(900px 520px at 85% 0%, rgba(29, 99, 237, .32), transparent 62%),
    radial-gradient(760px 480px at 0% 100%, rgba(56, 160, 245, .16), transparent 60%),
    #050C20;
}
.sx-dark .section-head h2 { color: #fff; }
.sx-dark .section-head p { color: #A9B6CF; }
.sx-dark .kicker { color: #8EC3FF; }
.sx-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(rgba(148, 163, 184, .14) 1px, transparent 1.4px) 0 0 / 28px 28px;
}
.sx-dark > .wrap { position: relative; z-index: 1; }
.num-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 5px 12px 5px 6px; border-radius: 999px;
  font-size: 13px; font-weight: 800; color: #BFD8FB; background: rgba(96, 165, 250, .12); border: 1px solid rgba(96, 165, 250, .25);
}
.num-badge i { font-style: normal; display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; }
.num-badge.light { color: var(--brand); background: var(--brand-soft); border-color: #CFE0FB; }

/* ── 에이전트 템플릿 ────────────────────────────────────── */
.tpl-title-num { background: linear-gradient(120deg, #60A5FA, #38BDF8 60%, #BAE6FD); -webkit-background-clip: text; background-clip: text; color: transparent; }
.marquee { position: relative; display: grid; gap: 12px; margin: 0 0 56px; overflow: hidden; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, #050C20, rgba(5, 12, 32, 0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, #050C20, rgba(5, 12, 32, 0)); }
.mq-row { display: flex; width: max-content; gap: 10px; animation: mq 70s linear infinite; animation-play-state: paused; }
.mq-row.rev { animation-direction: reverse; animation-duration: 84s; }
.live .mq-row { animation-play-state: running; }
.marquee:hover .mq-row { animation-play-state: paused; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-chip {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 14px 9px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); color: #DCE6F5; font-size: 14px; font-weight: 650;
}
.mq-chip .c { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(96, 165, 250, .18); color: #9CC8FB; }

.tpl-explorer { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; align-items: start; }
.tpl-cats { display: grid; gap: 6px; }
.tpl-cat {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; width: 100%;
  padding: 11px 14px 11px 11px; border-radius: 14px; text-align: left; cursor: pointer;
  background: transparent; border: 1px solid transparent; color: #B4C2DA; font-weight: 700; font-size: 15px;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.tpl-cat:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.tpl-cat .ci { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(255, 255, 255, .06); color: #9CC8FB; transition: background .25s ease, color .25s ease; }
.tpl-cat .cn { font-size: 13px; font-weight: 800; color: #7C8BA8; font-variant-numeric: tabular-nums; }
.tpl-cat[aria-selected="true"] { background: linear-gradient(90deg, rgba(29, 99, 237, .24), rgba(29, 99, 237, .06)); border-color: rgba(96, 165, 250, .34); color: #fff; }
.tpl-cat[aria-selected="true"] .ci { background: var(--grad); color: #fff; }
.tpl-cat[aria-selected="true"] .cn { color: #BFD8FB; }
.tpl-cat .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); }
.tpl-cat.auto[aria-selected="true"] .bar { animation: kgbar var(--tpl-dur, 6s) linear forwards; }

.tpl-panel {
  position: relative; min-height: 420px; padding: 28px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025)); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 90px rgba(2, 6, 23, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.tpl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.tpl-head h3 { margin: 0; color: #fff; font-size: 24px; letter-spacing: -.03em; }
.tpl-head p { margin: 4px 0 0; color: #8A9AB8; font-size: 14.5px; }
.tpl-count { display: flex; align-items: baseline; gap: 4px; color: #fff; }
.tpl-count b { font-size: 44px; font-weight: 850; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.tpl-count span { color: #8EC3FF; font-weight: 800; }
/* 가장 많은 카테고리(16종)가 들어가는 높이를 늘 잡아 둔다 — 자동으로 넘길 때 아래 내용이 흔들리지 않게 */
.tpl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 46px; gap: 10px; align-content: start; min-height: calc(6 * 46px + 5 * 10px); }
.tpl-card {
  display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0 14px; border-radius: 14px;
  background: rgba(8, 20, 48, .72); border: 1px solid rgba(148, 163, 184, .14); color: #E2E8F0; font-size: 14.5px; font-weight: 700;
  opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .4s ease, transform .45s cubic-bezier(.2, .9, .25, 1.15), border-color .2s ease;
}
.tpl-card.in { opacity: 1; transform: none; }
.tpl-card:hover { border-color: rgba(96, 165, 250, .45); }
.tpl-card .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #38BDF8; box-shadow: 0 0 0 4px rgba(56, 189, 248, .14); }
.tpl-card span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-prefill { margin-top: 22px; padding-top: 18px; border-top: 1px dashed rgba(148, 163, 184, .2); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tpl-prefill > b { color: #8EC3FF; font-size: 13px; font-weight: 800; margin-right: 4px; }
.tpl-prefill span { font-size: 12.5px; font-weight: 700; color: #BFD8FB; padding: 4px 10px; border-radius: 999px; background: rgba(96, 165, 250, .1); border: 1px solid rgba(96, 165, 250, .2); }

.tpl-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 44px; counter-reset: ts; }
.tpl-step { position: relative; padding: 20px 20px 18px; border-radius: 18px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); }
.tpl-step::before {
  counter-increment: ts; content: counter(ts, decimal-leading-zero); display: inline-block; margin-bottom: 10px;
  font-size: 12px; font-weight: 850; color: #fff; background: var(--grad); border-radius: 8px; padding: 3px 8px;
}
.tpl-step h4 { margin: 0 0 6px; color: #fff; font-size: 16px; }
.tpl-step p { margin: 0; font-size: 14px; color: #8A9AB8; }

/* ── 부서별 포털 ───────────────────────────────────────── */
.portal-sx { position: relative; overflow: hidden; background: linear-gradient(180deg, #F5F8FC 0%, #EEF5FF 100%); }
.portal-sx::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 160, 245, .16), transparent 62%); pointer-events: none;
}
.split { position: relative; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: center; }
.split.rev { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.split.rev .split-copy { order: 2; }
.split-copy h2 { margin: 0 0 16px; font-size: clamp(28px, 3.1vw, 40px); line-height: 1.16; letter-spacing: -.035em; font-weight: 850; }
.split-copy .lead2 { margin: 0 0 24px; font-size: 17px; color: var(--ink-2); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: 15px; color: var(--ink-2); }
.ticks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; background: var(--brand-soft) no-repeat center / 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D63ED' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.ticks b { color: var(--ink); }
.sx-dark .ticks li { color: #A9B6CF; }
.sx-dark .ticks b { color: #fff; }
.sx-dark .ticks li::before { background-color: rgba(96, 165, 250, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393C5FD' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* 편집기 그림 */
.ed { position: relative; border-radius: 22px; background: #fff; border: 1px solid #D6E2F3; box-shadow: 0 40px 90px rgba(16, 58, 128, .18); overflow: hidden; }
.ed-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #FBFCFE; overflow: hidden; }
.ed-bar > i { width: 9px; height: 9px; border-radius: 50%; background: #D5DEEA; flex: none; }
.ed-tabs { display: flex; gap: 4px; margin-left: 10px; min-width: 0; overflow: hidden; }
.ed-tab { white-space: nowrap; padding: 5px 11px; border-radius: 8px; font-size: 12px; font-weight: 750; color: var(--muted); background: transparent; transition: background .3s ease, color .3s ease; }
.ed-tab.on { background: var(--brand-soft); color: var(--brand); }
.ed-pub { margin-left: auto; flex: none; font-size: 11.5px; font-weight: 800; color: #fff; background: var(--brand); padding: 5px 10px; border-radius: 8px; transition: transform .3s ease; }
.ed-pub.flash { animation: pubflash .9s ease; }
@keyframes pubflash { 30% { transform: scale(1.12); box-shadow: 0 0 0 6px rgba(29, 99, 237, .18); } }
.ed-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 430px; }
.ed-pal { border-right: 1px solid var(--line); background: #F8FAFD; padding: 12px 10px; display: grid; align-content: start; gap: 6px; }
.ed-pal .h { font-size: 11px; font-weight: 800; color: var(--faint); letter-spacing: .04em; margin: 2px 4px 4px; }
.ed-pal .p { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 9px; font-size: 12px; font-weight: 700; color: var(--ink-2); background: #fff; border: 1px solid var(--line); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.ed-pal .p i { width: 14px; height: 10px; border-radius: 3px; background: #CFE0FB; flex: none; }
.ed-pal .p.pick { border-color: #8DB9F6; box-shadow: 0 8px 18px rgba(29, 99, 237, .16); transform: translateX(6px); }
.ed-canvas { position: relative; padding: 14px; background: var(--pt-bg, #EEF4FD); transition: background .6s ease; overflow: hidden; }
.pv { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.pv > * { border-radius: 12px; background: #fff; border: 1px solid rgba(15, 40, 90, .08); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .45s ease, transform .5s cubic-bezier(.2, .9, .25, 1.15); }
.pv > .in { opacity: 1; transform: none; }
.pv-hero { grid-column: span 6; height: 128px; position: relative; overflow: hidden; padding: 18px; color: #fff; background: var(--pt-hero, linear-gradient(120deg, #1D63ED, #38A0F5)) !important; border: none !important; transition: background .6s ease; }
.pv-hero b { display: block; font-size: 17px; letter-spacing: -.02em; }
.pv-hero small { display: block; opacity: .85; font-size: 11.5px; margin-top: 3px; }
.pv-hero .sb { margin-top: 14px; height: 26px; width: 72%; border-radius: 999px; background: rgba(255, 255, 255, .92); display: flex; align-items: center; padding: 0 10px; font-size: 11px; color: #475569; font-weight: 600; }
.pv-hero::after { content: ""; position: absolute; width: 180px; height: 180px; right: -50px; top: -70px; border-radius: 50%; background: rgba(255, 255, 255, .14); animation: floaty 7s ease-in-out infinite; animation-play-state: paused; }
.live .pv-hero::after { animation-play-state: running; }
@keyframes floaty { 50% { transform: translate(-16px, 14px) scale(1.06); } }
.pv-agents { grid-column: span 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 8px; }
.pv-agents div { height: 56px; border-radius: 9px; background: var(--pt-soft, #EAF2FF); position: relative; transition: background .6s ease; }
.pv-agents div::before { content: ""; position: absolute; left: 8px; top: 9px; width: 18px; height: 18px; border-radius: 6px; background: var(--pt-main, #1D63ED); transition: background .6s ease; }
.pv-agents div::after { content: ""; position: absolute; left: 8px; right: 14px; bottom: 10px; height: 5px; border-radius: 3px; background: rgba(15, 40, 90, .12); }
.pv-half { grid-column: span 3; height: 92px; padding: 10px; }
.pv-half .t { height: 7px; width: 50%; border-radius: 4px; background: var(--pt-main, #1D63ED); opacity: .8; transition: background .6s ease; }
.pv-half .l { height: 5px; border-radius: 3px; background: rgba(15, 40, 90, .1); margin-top: 8px; }
.pv-half .l:nth-child(3) { width: 80%; } .pv-half .l:nth-child(4) { width: 64%; }
.pv-cd { display: grid; place-items: center; text-align: center; }
.pv-cd b { font-size: 24px; font-weight: 850; letter-spacing: -.03em; color: var(--pt-main, #1D63ED); line-height: 1; transition: color .6s ease; }
.pv-cd small { font-size: 10.5px; color: var(--muted); font-weight: 700; }
.pv-ticker { grid-column: span 6; height: 30px; overflow: hidden; display: flex; align-items: center; background: var(--pt-main, #1D63ED) !important; border: none !important; transition: background .6s ease; }
.pv-ticker span { white-space: nowrap; color: #fff; font-size: 11px; font-weight: 700; padding-left: 100%; animation: tick 14s linear infinite; animation-play-state: paused; }
.live .pv-ticker span { animation-play-state: running; }
@keyframes tick { to { transform: translateX(-100%); } }
.ed-ai {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3; display: flex; align-items: center; gap: 8px;
  padding: 9px 10px 9px 12px; border-radius: 14px; background: #0A1A33; color: #E2E8F0; font-size: 12.5px; font-weight: 600;
  box-shadow: 0 18px 40px rgba(6, 23, 51, .35); opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .4s ease;
}
.ed-ai.show { opacity: 1; transform: none; }
.ed-ai .spark { flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--grad); }
.ed-ai .txt { min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-ai .vars { display: flex; gap: 4px; flex: none; }
.ed-ai .vars span { font-size: 10.5px; font-weight: 800; padding: 3px 7px; border-radius: 7px; background: rgba(96, 165, 250, .18); color: #BFD8FB; opacity: 0; transform: scale(.8); transition: opacity .3s ease, transform .35s cubic-bezier(.2, .9, .25, 1.3); }
.ed-ai .vars span.in { opacity: 1; transform: none; }
.ed-ai .vars span.pick { background: #fff; color: var(--brand); }
.ed-devices { position: absolute; right: 14px; top: 12px; z-index: 2; display: flex; gap: 4px; padding: 3px; border-radius: 9px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); }
.ed-devices span { width: 24px; height: 20px; border-radius: 6px; display: grid; place-items: center; color: var(--faint); }
.ed-devices span.on { background: var(--brand-soft); color: var(--brand); }
.ed-cap { margin: 12px 4px 0; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ── 계정별 에이전트 ─────────────────────────────────── */
.acl { border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(16, 58, 128, .13); overflow: hidden; }
.acl-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #FBFCFE; }
.acl-head b { font-size: 14.5px; }
.acl-head .muted { margin-left: auto; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.acl-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.acl-table th { text-align: center; font-size: 12px; font-weight: 800; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--line); background: #fff; white-space: nowrap; }
.acl-table th:first-child { text-align: left; padding-left: 18px; }
.acl-table td { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: center; }
.acl-table tr:last-child td { border-bottom: none; }
.acl-table td:first-child { text-align: left; padding-left: 18px; }
.acl-user { display: flex; align-items: center; gap: 10px; min-width: 0; }
.acl-user .av { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: 12.5px; font-weight: 850; color: #fff; background: var(--grad); }
.acl-user .nm { font-weight: 750; white-space: nowrap; }
.acl-user .og { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.sw { display: inline-block; position: relative; width: 38px; height: 22px; border-radius: 999px; background: #D5DEEA; transition: background .3s ease; vertical-align: middle; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .3s cubic-bezier(.3, .9, .3, 1.2); }
.sw.on { background: var(--brand); }
.sw.on::after { transform: translateX(16px); }
.sw.ping { animation: swping .8s ease; }
@keyframes swping { 0% { box-shadow: 0 0 0 0 rgba(29, 99, 237, .4); } 100% { box-shadow: 0 0 0 10px rgba(29, 99, 237, 0); } }
.acl-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 18px; border-top: 1px solid var(--line); background: #FBFCFE; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.acl-toast { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 800; opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease; }
.acl-toast.show { opacity: 1; transform: none; }
.soon { display: inline-block; vertical-align: 2px; margin: 0 2px; padding: 2px 8px; border-radius: 999px; font-style: normal; font-size: 11.5px; font-weight: 800; color: #0B4FC4; background: #E0EDFF; border: 1px solid #BFD8FB; white-space: nowrap; }
.acl-head .soon { vertical-align: 0; }
.acl-roles { display: flex; gap: 6px; padding: 10px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.acl-roles span { font-size: 12px; font-weight: 750; padding: 4px 11px; border-radius: 999px; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); transition: background .3s ease, color .3s ease, border-color .3s ease; }
.acl-roles span.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.acl-table tr { transition: background .3s ease; }
.acl-table tr.hl { background: #F3F8FF; }
.acl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.acl-card { padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.acl-card b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.acl-card span { font-size: 13px; color: var(--muted); }

/* ── 웹사이트 수집 ───────────────────────────────────── */
.crawl-sx { background: #fff; }
.cw { border-radius: 22px; background: #071430; color: #CBD5E1; border: 1px solid #12285A; box-shadow: 0 40px 90px rgba(6, 23, 51, .32); overflow: hidden; }
.cw-top { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.cw-top .site { min-width: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12.5px; color: #9CC8FB; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-state { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; color: #fff; background: rgba(29, 99, 237, .35); border: 1px solid rgba(96, 165, 250, .4); padding: 4px 10px; border-radius: 999px; }
.cw-state i { width: 7px; height: 7px; border-radius: 50%; background: #7DD3FC; animation: pulse 1.4s ease-in-out infinite; animation-play-state: paused; }
.live .cw-state i { animation-play-state: running; }
.cw-state.done { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
.cw-state.done i { animation: none; background: #fff; }
@keyframes pulse { 50% { opacity: .3; transform: scale(.7); } }
.cw-prog { padding: 16px 18px 6px; }
.cw-prog .row { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: #8A9AB8; margin-bottom: 8px; }
.cw-prog .row b { color: #fff; font-variant-numeric: tabular-nums; }
.cw-track { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.cw-fill { height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #1D63ED, #38BDF8); transform-origin: left; transform: scaleX(0); transition: transform .5s ease; }
.cw-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 12px 18px; }
.cw-stat { padding: 10px 10px 9px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.cw-stat b { display: block; color: #fff; font-size: 20px; font-weight: 850; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.cw-stat span { font-size: 11.5px; font-weight: 700; color: #7C8BA8; white-space: nowrap; }
.cw-stat.hl b { color: #7DD3FC; }
.cw-log { position: relative; height: 196px; margin: 0 18px 16px; padding: 4px 0; border-radius: 12px; background: rgba(2, 8, 23, .5); border: 1px solid rgba(255, 255, 255, .06); overflow: hidden; }
.cw-log::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40px; z-index: 1; background: linear-gradient(180deg, rgba(4, 11, 30, 1), rgba(4, 11, 30, 0)); pointer-events: none; }
.cw-lines { position: absolute; left: 0; right: 0; bottom: 4px; display: flex; flex-direction: column; }
.cw-line { display: flex; align-items: center; gap: 8px; padding: 5px 12px; font-size: 12.5px; min-width: 0; animation: lineIn .35s ease both; }
@keyframes lineIn { from { opacity: 0; transform: translateY(8px); } }
.cw-line .tg { flex: none; font-size: 10.5px; font-weight: 850; padding: 2px 7px; border-radius: 6px; min-width: 52px; text-align: center; }
.cw-line .u { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #B4C2DA; }
.tg.new { background: rgba(56, 189, 248, .18); color: #7DD3FC; }
.tg.chg { background: rgba(29, 99, 237, .3); color: #BFD8FB; }
.tg.dup { background: rgba(148, 163, 184, .14); color: #94A3B8; }
.tg.att { background: rgba(96, 165, 250, .2); color: #93C5FD; }
.cw-sched { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 0 18px 16px; font-size: 12px; color: #7C8BA8; font-weight: 700; }
.cw-sched span { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); color: #B4C2DA; }
.cw-sched span.on { background: rgba(29, 99, 237, .3); border-color: rgba(96, 165, 250, .4); color: #fff; }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.mini-card { padding: 16px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); }
.mini-card b { display: block; font-size: 15px; margin-bottom: 4px; }
.mini-card span { font-size: 13.5px; color: var(--muted); }

/* ── 스스로 교정하는 답변 (성장 섹션 아래) ─────────────── */
.fix { margin-top: 72px; padding-top: 64px; border-top: 1px solid rgba(255, 255, 255, .08); }
.fix-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.fix-head h3 { margin: 0 0 12px; color: #fff; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.03em; line-height: 1.2; }
.fix-head p { margin: 0; color: #A9B6CF; font-size: 16.5px; }
.loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; position: relative; }
.loop-step { position: relative; padding: 22px 20px 20px; border-radius: 20px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); transition: background .4s ease, border-color .4s ease, transform .4s ease; }
.loop-step .k { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 850; color: #7C8BA8; letter-spacing: .03em; margin-bottom: 12px; transition: color .4s ease; }
.loop-step .k i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #9CC8FB; transition: background .4s ease, color .4s ease; }
.loop-step h4 { margin: 0 0 6px; color: #E2E8F0; font-size: 16.5px; letter-spacing: -.01em; }
.loop-step p { margin: 0; color: #7C8BA8; font-size: 14px; transition: color .4s ease; }
.loop-step.on { background: linear-gradient(180deg, rgba(29, 99, 237, .22), rgba(29, 99, 237, .06)); border-color: rgba(96, 165, 250, .38); transform: translateY(-4px); }
.loop-step.on .k { color: #BFD8FB; }
.loop-step.on .k i { background: var(--grad); color: #fff; }
.loop-step.on p { color: #A9B6CF; }
.loop-step:not(:last-child)::after {
  content: ""; position: absolute; top: 36px; right: -12px; width: 10px; height: 10px; z-index: 1;
  border-top: 2px solid rgba(96, 165, 250, .45); border-right: 2px solid rgba(96, 165, 250, .45); transform: rotate(45deg);
}
.meta-demo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: center; margin-top: 28px; padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.meta-demo h4 { margin: 0 0 8px; color: #fff; font-size: 19px; letter-spacing: -.02em; }
.meta-demo p { margin: 0; color: #A9B6CF; font-size: 15px; }
.meta-doc { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px; border-radius: 16px; background: #fff; color: var(--ink); }
.meta-doc .pg { height: 82px; border-radius: 8px; background: linear-gradient(180deg, #fff, #EEF2F7); border: 1px solid var(--line-2); position: relative; overflow: hidden; }
.meta-doc .pg::before { content: ""; position: absolute; left: 9px; right: 9px; top: 12px; height: 4px; border-radius: 2px; background: #CBD5E1; box-shadow: 0 9px 0 #E2E8F0, 0 18px 0 #E2E8F0, 0 27px 0 #E2E8F0, 0 36px 0 #E2E8F0; }
.meta-doc .pg::after { content: ""; position: absolute; left: 0; right: 0; height: 26px; top: -26px; background: linear-gradient(180deg, rgba(56, 160, 245, 0), rgba(56, 160, 245, .35)); animation: scan 2.6s ease-in-out infinite; animation-play-state: paused; }
.live .meta-doc .pg::after { animation-play-state: running; }
@keyframes scan { to { transform: translateY(108px); } }
.meta-doc .fn { font-weight: 800; font-size: 14.5px; }
.meta-doc .fs { font-size: 12px; color: var(--muted); margin-top: 2px; }
.meta-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.meta-tags span { font-size: 12px; font-weight: 750; padding: 4px 9px; border-radius: 8px; background: var(--brand-soft); color: #0B4FC4; border: 1px solid #CFE0FB; opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .35s ease, transform .4s cubic-bezier(.2, .9, .25, 1.3); }
.meta-tags span em { font-style: normal; color: var(--muted); font-weight: 700; margin-right: 4px; }
.meta-tags span.in { opacity: 1; transform: none; }

/* ── 반응형 ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  /* 한 칸 — minmax(0, 1fr): 그냥 1fr 은 칸이 안쪽 내용(수집 데모 등)의 최소 폭보다 좁아지지 않아, 좁은 휴대폰이나
     글자를 크게 설정한 휴대폰에서 칸이 화면보다 넓어져 글이 좌우로 잘렸다 */
  .split, .split.rev { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split.rev .split-copy { order: 0; }
  .tpl-explorer { grid-template-columns: 1fr; }
  .tpl-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tpl-cat { grid-template-columns: 30px 1fr auto; padding: 9px 10px; font-size: 14px; }
  .tpl-cat .ci { width: 30px; height: 30px; }
  .loop { grid-template-columns: 1fr 1fr; }
  .loop-step::after { display: none; }
  .meta-demo { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .tpl-cards { grid-template-columns: 1fr 1fr; min-height: calc(8 * 46px + 7 * 10px); }
  .tpl-steps { grid-template-columns: 1fr 1fr; }
  .cw-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .acl-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stat-band { padding-top: 32px; }
  .stat { padding: 18px 16px; }
  .stat::after { left: 16px; right: 16px; }
  .stat .l { font-size: 14px; }
  .stat .d { font-size: 12.5px; }
  .marquee { margin-bottom: 36px; }
  .marquee::before, .marquee::after { width: 40px; }
  .mq-chip { font-size: 13px; padding: 7px 12px 7px 8px; }
  .tpl-cats { grid-template-columns: 1fr 1fr; }
  .tpl-cat .cn { display: none; }
  .tpl-panel { padding: 18px; min-height: 0; }
  .tpl-cards { grid-template-columns: 1fr 1fr; gap: 6px; grid-auto-rows: 40px; min-height: calc(8 * 40px + 7 * 6px); }
  .tpl-card { padding: 0 10px; gap: 7px; font-size: 13px; }
  .tpl-card .dot { width: 6px; height: 6px; box-shadow: none; }
  .tpl-count b { font-size: 34px; }
  .tpl-steps, .loop, .mini-cards { grid-template-columns: 1fr; }
  .ed-body { grid-template-columns: 1fr; min-height: 380px; }
  .ed-pal { display: none; }
  .ed-tab:nth-child(n+3) { display: none; }
  .ed-ai .vars span:nth-child(n+2) { display: none; }
  .acl-table .hide-sm { display: none; }
  .acl-user .og { display: none; }
  .cw-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px 14px; }
  .cw-stat { padding: 8px 8px 7px; }
  .cw-stat b { font-size: 17px; }
  .cw-stat span { font-size: 11px; }
  .cw-log { margin: 0 14px 14px; height: 176px; }
  .meta-demo { padding: 18px; }
  .meta-doc { grid-template-columns: 48px minmax(0, 1fr); padding: 14px; }
  .meta-doc .pg { height: 62px; }
  .fix { margin-top: 56px; padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .mq-row, .pv-hero::after, .pv-ticker span, .cw-state i, .meta-doc .pg::after { animation: none !important; }
  .tpl-card, .pv > *, .meta-tags span, .ed-ai, .stat::after, .loop-step { transition: none !important; }
}

/* 숫자 띠 바로 뒤의 답변 미리보기는 위 여백을 줄인다 */
.stat-band + .hero { padding-top: 80px; }
@media (max-width: 640px) { .stat-band + .hero { padding-top: 56px; } }

/* ── 대화하기 답변 스타일 (showcase.js chatDemo·clarifyDemo) ───────────────
   실제 화면 static/chat_studio.css·answer_layout.css 의 모양을 소개 화면 색(파랑 한 계열)으로 줄여 그린다. */
.cx-sx { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFFFFF 0%, #F2F7FF 55%, #FFFFFF 100%); }
.cx-sx > .wrap { position: relative; z-index: 1; }
.cx-aurora { position: absolute; inset: 0; pointer-events: none; }
.cx-aurora span { position: absolute; border-radius: 50%; opacity: .55; will-change: transform; animation: cxDrift 18s ease-in-out infinite alternate; animation-play-state: paused; }
.live .cx-aurora span { animation-play-state: running; }
.cx-aurora span:nth-child(1) { width: 620px; height: 620px; left: -180px; top: 60px; background: radial-gradient(circle, rgba(56, 160, 245, .22), transparent 65%); }
.cx-aurora span:nth-child(2) { width: 720px; height: 720px; right: -240px; top: 260px; background: radial-gradient(circle, rgba(29, 99, 237, .18), transparent 65%); animation-duration: 22s; }
.cx-aurora span:nth-child(3) { width: 520px; height: 520px; left: 30%; bottom: -260px; background: radial-gradient(circle, rgba(125, 211, 252, .22), transparent 65%); animation-duration: 26s; }
@keyframes cxDrift { to { transform: translate(60px, -40px) scale(1.08); } }

.cx { position: relative; max-width: 1000px; margin: 0 auto; border-radius: 24px; background: #fff; border: 1px solid #D6E2F3; box-shadow: 0 40px 100px rgba(16, 58, 128, .18); overflow: hidden; }
.cx-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #FBFCFE; }
.cx-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DEEA; }
.cx-bar .url { margin-left: 10px; font-size: 12.5px; font-weight: 750; color: var(--muted); }
.cx-body { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, #F8FBFF, #fff 40%); }
.cx-msgs { padding: 22px 24px 8px; min-height: 650px; }   /* 형식·분량을 바꿔도 높이가 흔들리지 않게 — 가장 긴 조합(비교표·자세히) 기준 */
.cx-q { margin-left: auto; width: fit-content; max-width: 80%; padding: 11px 16px; border-radius: 18px 18px 4px 18px; background: var(--brand); color: #fff; font-size: 14.5px; font-weight: 650; box-shadow: 0 8px 18px rgba(29, 99, 237, .25); }
.cx-a { margin-top: 14px; max-width: 760px; }
.cx-a-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 26px; }
.cx-picked { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; background: var(--grad); opacity: 0; transform: translateY(4px) scale(.9); transition: opacity .3s ease, transform .4s cubic-bezier(.2, .9, .25, 1.3); }
.cx-picked.in { opacity: 1; transform: none; }
.cx-picked:empty { display: none; }
.cx-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.cx-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; color: var(--ink-2); background: #fff; border: 1px solid var(--line); animation: cxIn .4s ease both; }
.cx-chip b { color: var(--brand); }
.cx-headline { margin: 12px 0 12px; font-size: 19px; font-weight: 850; letter-spacing: -.025em; color: var(--ink); min-height: 28px; }
.cx-headline.in { animation: cxIn .45s ease both; }
.cx-stage { position: relative; min-height: 236px; }
.cx-anim > * { animation: cxIn .5s cubic-bezier(.2, .9, .25, 1.1) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes cxIn { from { opacity: 0; transform: translateY(10px); } }
.cx-skel { display: grid; gap: 10px; padding-top: 6px; }
.cx-skel i { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, #EEF3FA 0%, #DCE7F7 50%, #EEF3FA 100%) 0 0 / 200% 100%; animation: shimmer 1.1s linear infinite; }
.cx-skel i:nth-child(2) { width: 86%; } .cx-skel i:nth-child(3) { width: 72%; } .cx-skel i:nth-child(4) { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.cx-sec { font-size: 12px; font-weight: 800; color: var(--brand); letter-spacing: .02em; margin: 0 0 8px; display: flex; align-items: center; gap: 6px; }
.cx-sec::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--grad); }

/* 요약 카드 */
.cx-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cx-card { padding: 13px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.cx-card .t { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14.5px; }
.cx-card .p { margin-top: 3px; font-size: 12.5px; font-weight: 700; color: var(--brand); }
.cx-card .d { margin-top: 4px; font-size: 13px; color: var(--muted); }
.cx-badge { margin-left: auto; flex: none; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.cx-badge.off { background: #F1F5F9; color: var(--muted); }
/* 인포그래픽 */
.cx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cx-stat { padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; }
.cx-stat .v { font-size: 30px; font-weight: 850; letter-spacing: -.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.cx-stat .v small { font-size: 14px; font-weight: 800; color: var(--brand); margin-left: 2px; letter-spacing: 0; }
.cx-stat .l { margin-top: 8px; font-size: 12.5px; font-weight: 750; color: var(--ink-2); }
.cx-stat .bar { margin-top: 10px; height: 5px; border-radius: 999px; background: #E8EEF7; overflow: hidden; }
.cx-stat .bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); transform-origin: left; animation: cxBar 1.1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 90ms + .2s); }
@keyframes cxBar { from { transform: scaleX(0); } }
.cx-stat.ring { display: flex; align-items: center; gap: 12px; }
.cx-ring { --p: 0; flex: none; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#1D63ED calc(var(--p) * 1%), #E8EEF7 0); position: relative; }
.cx-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.cx-ring b { position: relative; font-size: 14.5px; font-weight: 850; letter-spacing: -.02em; }
.cx-stat.ring .l { margin-top: 0; }
.cx-hls { display: grid; gap: 6px; margin-top: 12px; }
.cx-hl { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.cx-hl i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--brand-soft); color: var(--brand); font-style: normal; font-size: 11.5px; font-weight: 850; }
/* 타임라인 */
.cx-tl { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 11px; }
.cx-tl::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #1D63ED, #BFD8FB); transform-origin: top; animation: cxGrow 1.2s ease both; }
@keyframes cxGrow { from { transform: scaleY(0); } }
.cx-tl li { position: relative; display: grid; grid-template-columns: 16px 96px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 13.5px; }
.cx-tl li::before { content: ""; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-sizing: border-box; align-self: start; }
.cx-tl .dt { font-weight: 850; color: var(--brand); font-variant-numeric: tabular-nums; }
.cx-tl .tt { font-weight: 750; color: var(--ink); }
.cx-tl .tt small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
/* 단계 가이드 */
.cx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: cxs; }
.cx-step { position: relative; padding: 14px 14px 13px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.cx-step::before { counter-increment: cxs; content: counter(cxs); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 10px; background: var(--grad); color: #fff; font-size: 13px; font-weight: 850; margin-bottom: 10px; }
.cx-step:not(:last-child)::after { content: ""; position: absolute; top: 27px; right: -9px; width: 8px; height: 8px; z-index: 1; border-top: 2px solid #9CC3F7; border-right: 2px solid #9CC3F7; transform: rotate(45deg); }
.cx-step b { display: block; font-size: 14px; letter-spacing: -.01em; }
.cx-step span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
/* 비교표 */
.cx-cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.cx-cmp th, .cx-cmp td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.cx-cmp tr:last-child td, .cx-cmp tr:last-child th { border-bottom: none; }
.cx-cmp thead th { background: #F3F8FF; color: var(--brand); font-weight: 850; }
.cx-cmp tbody th { color: var(--muted); font-weight: 750; width: 22%; white-space: nowrap; }
.cx-cmp tbody tr { animation: cxIn .45s ease both; animation-delay: calc(var(--i, 0) * 110ms + .1s); }
.cx-concl { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
/* 문서형 */
.cx-doc h5 { margin: 0 0 6px; font-size: 15px; letter-spacing: -.01em; }
.cx-doc p { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); }
/* 상세 답변·이어서 물어보기 */
.cx-detail { margin-top: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.cx-detail > b { font-size: 12.5px; color: var(--ink-2); }
.cx-lines { display: grid; gap: 7px; margin-top: 9px; }
.cx-lines i { display: block; height: 7px; border-radius: 4px; background: #E8EEF7; transform-origin: left; animation: cxBar .6s ease both; animation-delay: calc(var(--i, 0) * 60ms); }
.cx-follow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; min-height: 30px; }
.cx-follow > span { font-size: 12px; font-weight: 800; color: var(--muted); }
.cx-follows { display: flex; gap: 6px; flex-wrap: wrap; }
.cx-follows span { font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; color: var(--brand); background: #fff; border: 1px solid #C6DCFA; animation: cxIn .4s ease both; animation-delay: calc(var(--i, 0) * 80ms + .3s); }
.cx-follows span::after { content: " →"; }

/* 입력창 위 답변 스타일 줄 */
.cx-input { padding: 12px 16px 16px; border-top: 1px solid var(--line); background: #fff; }
.cx-toolbar { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cx-tl-label { flex: none; font-size: 12.5px; font-weight: 800; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.cx-tl-label::before { content: ""; width: 14px; height: 14px; background: no-repeat center / contain; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D63ED' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 4 5 5L9 20H4v-5zM13 6l5 5'/%3E%3C/svg%3E"); }
.cx-formats { position: relative; display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: #F1F5FB; border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; min-width: 0; }
.cx-formats::-webkit-scrollbar { display: none; }
.cx-glider { position: absolute; left: 0; top: 3px; bottom: 3px; width: 0; border-radius: 9px; background: var(--grad); box-shadow: 0 6px 16px rgba(29, 99, 237, .3); transition: transform .45s cubic-bezier(.3, .9, .3, 1.1), width .45s cubic-bezier(.3, .9, .3, 1.1); }
.cx-fmt, .cx-len { position: relative; z-index: 1; flex: none; border: none; background: none; cursor: pointer; white-space: nowrap; font-size: 12.5px; font-weight: 750; color: var(--ink-2); padding: 7px 11px; border-radius: 9px; transition: color .3s ease, background .3s ease; }
.cx-fmt:hover:not(.on) { color: var(--brand); }
.cx-fmt.on { color: #fff; }
.cx-lengths { flex: none; display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: #F1F5FB; border: 1px solid var(--line); }
.cx-len.on { background: #fff; color: var(--brand); box-shadow: 0 1px 4px rgba(15, 40, 90, .14); }
.cx-hint { height: 20px; margin: 6px 2px 4px; font-size: 12.5px; font-weight: 650; color: var(--brand); opacity: 0; transform: translateY(-3px); transition: opacity .3s ease, transform .3s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-hint.show { opacity: 1; transform: none; }
.cx-field { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 6px 0 16px; border-radius: 14px; border: 1.5px solid var(--line-2); color: var(--faint); font-size: 14px; }
.cx-field b { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); }

.cx-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 1000px; margin: 34px auto 0; }
.cx-feat { padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.cx-feat b { display: block; font-size: 15px; margin-bottom: 4px; }
.cx-feat span { font-size: 13.5px; color: var(--muted); }

/* 재질의 카드 */
.cx-clar { margin-top: 88px; }
.cx-h3 { margin: 0 0 14px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; letter-spacing: -.03em; }
.cx-mini .cx-msgs { min-height: 420px; padding: 20px; }
.cl-card { margin-top: 12px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid #C6DCFA; box-shadow: 0 14px 34px rgba(16, 58, 128, .1); opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .45s cubic-bezier(.2, .9, .25, 1.15); }
.cl-card.in { opacity: 1; transform: none; }
.cl-hd { display: flex; gap: 10px; align-items: flex-start; }
.cl-ic { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--grad); color: #fff; font-weight: 900; }
.cl-hd strong { display: block; font-size: 14.5px; }
.cl-hd span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.cl-opts { display: grid; gap: 6px; margin-top: 12px; }
.cl-opt { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 11px; font-size: 13.5px; font-weight: 700; color: var(--ink); background: #F6F9FE; border: 1px solid var(--line); opacity: 0; transform: translateX(-8px); transition: opacity .35s ease, transform .4s ease, background .3s ease, border-color .3s ease, color .3s ease; }
.cl-opt i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: #fff; border: 1px solid var(--line-2); font-style: normal; font-size: 11px; font-weight: 850; color: var(--brand); }
.cl-opt.in { opacity: 1; transform: none; }
.cl-opt.free { color: var(--muted); background: #fff; border-style: dashed; }
.cl-opt.pick { background: var(--brand); border-color: var(--brand); color: #fff; }
.cl-opt.pick i { background: rgba(255, 255, 255, .2); border-color: transparent; color: #fff; }
.cl-opt.in.dim { opacity: .4; }
#clQ2, .cl-ans { opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
#clQ2 { margin-top: 12px; }
#clQ2.in, .cl-ans.in { opacity: 1; transform: none; }
.cl-ans { margin-top: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; color: var(--ink-2); }
.cl-ans b { color: var(--ink); }
.cl-cursor { position: absolute; left: 0; top: 0; z-index: 4; width: 22px; height: 22px; pointer-events: none; opacity: 0; transition: transform .8s cubic-bezier(.4, .1, .2, 1), opacity .3s ease;
  background: no-repeat center / contain; filter: drop-shadow(0 3px 6px rgba(6, 23, 51, .3));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6 1.5L10 19z' fill='%230A1A33' stroke='white' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cl-cursor.show { opacity: 1; }

@media (max-width: 1080px) {
  .cx-feats { grid-template-columns: 1fr 1fr; }
  .cx-stats { grid-template-columns: 1fr 1fr; }
  .cx-steps { grid-template-columns: 1fr 1fr; }
  .cx-step:not(:last-child)::after { display: none; }
  .cx-clar { margin-top: 64px; }
}
@media (max-width: 640px) {
  .cx { border-radius: 20px; }
  .cx-msgs { padding: 16px 14px 6px; min-height: 790px; }
  .cx-q { font-size: 13.5px; max-width: 90%; }
  .cx-headline { font-size: 16.5px; }
  .cx-cards { gap: 8px; }
  .cx-card { padding: 11px 12px; }
  .cx-card .t { font-size: 13.5px; flex-wrap: wrap; gap: 4px 8px; }
  .cx-card .d { display: none; }
  .cx-stat { padding: 12px; }
  .cx-stat .v { font-size: 24px; }
  .cx-tl li { grid-template-columns: 16px 74px minmax(0, 1fr); font-size: 13px; }
  .cx-cmp { font-size: 12.5px; }
  .cx-cmp th, .cx-cmp td { padding: 8px; }
  .cx-input { padding: 10px 10px 12px; }
  .cx-toolbar { flex-wrap: wrap; gap: 6px; }
  .cx-formats { order: 2; width: 100%; }
  .cx-lengths { order: 1; margin-left: auto; }
  .cx-feats { grid-template-columns: 1fr; margin-top: 24px; }
  .cx-mini .cx-msgs { min-height: 540px; padding: 16px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-aurora span, .cx-skel i { animation: none !important; }
  .cx-anim > *, .cx-chip, .cx-follows span, .cx-lines i, .cx-tl::before, .cx-stat .bar i, .cx-cmp tbody tr, .cx-headline.in { animation: none !important; }
  .cl-card, .cl-opt, #clQ2, .cl-ans, .cl-cursor, .cx-glider, .cx-picked { transition: none !important; }
}

/* ── 대화하기 자동 시연 (커서·재생 단추·진행 막대) + 형식별 움직임 ── */
.cx-bar { position: relative; }
.cx-play { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; cursor: pointer;
  font-size: 12px; font-weight: 800; color: var(--brand); background: var(--brand-soft); border: 1px solid #CFE0FB; transition: background .2s ease; }
.cx-play:hover { background: #DCEAFE; }
.cx-play i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.cx-play i.on { background: var(--brand); animation: pulse 1.4s ease-in-out infinite; }
.cx-play.paused { color: var(--ink-2); background: #fff; border-color: var(--line-2); }
.cx-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.cx-prog.run { animation: cxProg var(--d, 5000ms) linear forwards; }
@keyframes cxProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.cx-cursor { z-index: 6; transition: transform .75s cubic-bezier(.45, .05, .2, 1), opacity .3s ease; }
.cx-cursor::after { content: ""; position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(29, 99, 237, .7); opacity: 0; }
.cx-cursor.tap::after { animation: ripple .55s ease-out; }
@keyframes ripple { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(1.8); } }
.cx-fmt, .cx-len { transition: color .3s ease, background .3s ease, transform .15s ease; }
.cx-fmt:active, .cx-len:active { transform: scale(.95); }

/* 바뀔 때: 이전 그림은 위로 빠지고, 생각 중 점이 뛴 뒤 새 그림 */
.cx-out { animation: cxOut .22s ease forwards !important; }
@keyframes cxOut { to { opacity: 0; transform: translateY(-8px); } }
.cx-think { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; font-size: 13px; font-weight: 700; color: var(--brand); }
.cx-think .dots { display: inline-flex; gap: 4px; padding: 7px 10px; border-radius: 999px; background: var(--brand-soft); }
.cx-think .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: dot 1s ease-in-out infinite; }
.cx-think .dots i:nth-child(2) { animation-delay: .15s; } .cx-think .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-5px); opacity: 1; } }
.cx-headline.in { animation: none; }
.cx-chip { animation-delay: calc(var(--i, 0) * 70ms); }
.cx-chip.bump b { display: inline-block; animation: bump .5s cubic-bezier(.2, .9, .25, 1.5); }
@keyframes bump { 40% { transform: scale(1.6); } }
.cx-detail.in { animation: cxIn .45s ease both; animation-delay: .25s; }

/* 요약 카드: 튀어 오르며 등장 → 차례로 짚기 */
.cx-fx-cards .cx-card { animation: cxPop .55s cubic-bezier(.2, .9, .25, 1.25) both; animation-delay: calc(var(--i, 0) * 110ms + .1s); transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease; }
@keyframes cxPop { from { opacity: 0; transform: translateY(14px) scale(.94); } }
.cx-fx-cards .cx-badge { animation: cxPop .45s cubic-bezier(.2, .9, .25, 1.5) both; animation-delay: calc(var(--i, 0) * 110ms + .5s); }
.cx-card.act { border-color: #8DB9F6; box-shadow: 0 12px 28px rgba(29, 99, 237, .16); transform: translateY(-3px); }
/* 인포그래픽: 카드가 아래에서 솟고 숫자가 올라간다 */
.cx-fx-infographic .cx-stat { animation: cxPop .55s cubic-bezier(.2, .9, .25, 1.2) both; animation-delay: calc(var(--i, 0) * 100ms); }
.cx-fx-infographic .cx-hl { animation: cxSlide .45s ease both; animation-delay: calc(var(--i, 0) * 120ms + .6s); }
@keyframes cxSlide { from { opacity: 0; transform: translateX(-12px); } }
/* 타임라인: 점이 차례로 찍히고, 지나가는 빛 */
.cx-tl li { animation: cxSlide .45s ease both; animation-delay: calc(var(--i, 0) * 150ms + .2s); transition: transform .35s ease; }
.cx-tl li::before { transition: box-shadow .35s ease, background .35s ease; }
.cx-tl li.act { transform: translateX(4px); }
.cx-tl li.act::before { background: var(--brand); box-shadow: 0 0 0 6px rgba(29, 99, 237, .16); }
/* 단계 가이드: 1 → 4 단계를 밟아 간다 */
.cx-fx-steps .cx-step { animation: cxPop .5s cubic-bezier(.2, .9, .25, 1.2) both; animation-delay: calc(var(--i, 0) * 130ms); transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease, background .3s ease; }
.cx-step.act { border-color: #8DB9F6; box-shadow: 0 12px 28px rgba(29, 99, 237, .18); transform: translateY(-4px); }
.cx-step.done { background: #F5F9FF; }
.cx-step.done::before { content: "✓"; }
/* 비교표: 행이 차례로, 열을 번갈아 비춘다 */
.cx-cmp th, .cx-cmp td { transition: background .4s ease, color .4s ease; }
.cx-cmp td.hot { background: #EEF5FF; color: var(--ink); font-weight: 700; }
.cx-cmp thead th.hot { background: var(--brand); color: #fff; }
/* 문서형: 써 내려가는 커서 */
.cx-doc .caret { height: .95em; }
.cx-doc > div { animation: none !important; }
.cx-doc h5 { animation: cxIn .35s ease both; }

@media (max-width: 640px) {
  .cx-play { font-size: 11.5px; padding: 3px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-fx-cards .cx-card, .cx-fx-cards .cx-badge, .cx-fx-infographic .cx-stat, .cx-fx-infographic .cx-hl, .cx-tl li, .cx-fx-steps .cx-step,
  .cx-detail.in, .cx-chip.bump b, .cx-think .dots i, .cx-prog.run { animation: none !important; }
}
