/* 제품 소개 페이지 문법
   흰 바탕. 큰 검정 활자로 "무엇이 되는가"를 말하고, 화면 캡처와 살아 있는 데모로 증명한다.
   구역은 카드가 아니라 여백과 굵은 선(2px 검정)으로 나눈다. 파랑은 버튼과 강조에만. */

.pd { --pd-wrap: 1200px; --pd-gap: clamp(72px, 9vw, 140px); color: var(--b-ink); }
.pd-wrap { width: min(var(--pd-wrap), calc(100% - 48px)); margin: 0 auto; }
.pd-plain { padding: 48px 0 96px; }
.pd-plain-head { padding-top: 56px; }
.pd-plain-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.035em; }
:where(.pd) a { color: inherit; text-decoration: none; }
:where(.pd) img { max-width: 100%; height: auto; display: block; }
:where(.pd) :where(h1, h2, h3, h4, p, ul, ol, dl, figure) { margin: 0; }
:where(.pd) :where(ul, ol) { padding: 0; list-style: none; }

/* 표지 */
.pd-cover { padding: clamp(48px, 7vw, 96px) 0 0; }
.pd-cover-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pd-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .02em; color: var(--b-blue); }
.pd-kicker::before { content: ""; width: 26px; height: 2px; background: var(--b-blue); }
.pd-cover h1 { margin-top: 18px; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -.045em; font-weight: 800; }
.pd-cover h1 em { font-style: normal; color: var(--b-blue); }
.pd-cover-lead { margin-top: 22px; max-width: 30em; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.75; color: var(--b-ink-2); }
.pd-cover-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pd-cover-note { margin-top: 14px; font-size: 13px; color: var(--b-ink-3); }
.pd-cover-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 34px; padding-top: 22px; border-top: 2px solid var(--b-ink); }
.pd-cover-facts li b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.pd-cover-facts li span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--b-ink-3); }

/* 브라우저 틀 */
.pd-frame { position: relative; border-radius: 14px; background: #0b0f19; box-shadow: 0 40px 80px -40px rgba(11, 15, 25, .45); overflow: hidden; }
.pd-frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #151b28; }
.pd-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c3546; }
.pd-frame-bar i:nth-child(1) { background: #ff5f57; } .pd-frame-bar i:nth-child(2) { background: #febc2e; } .pd-frame-bar i:nth-child(3) { background: #28c840; }
.pd-frame-bar span { margin-left: 10px; flex: 1; height: 18px; border-radius: 6px; background: #0b0f19; color: #6b7280; font: 11px/18px var(--b-mono); padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pd-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.pd-frame-live { position: relative; aspect-ratio: 16 / 10; background: #fff; }
.pd-frame-live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pd-frame-live .pd-frame-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(11, 15, 25, .35); color: #fff; }
.pd-frame-live .pd-frame-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: -1; }
.pd-frame-live.is-on .pd-frame-cover { display: none; }
.pd-frame-open { position: absolute; right: 14px; bottom: 14px; z-index: 2; }

/* 페이지 안 목차 */
.pd-nav { position: sticky; top: 64px; z-index: 30; margin-top: clamp(40px, 6vw, 72px); background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-top: 2px solid var(--b-ink); border-bottom: 1px solid var(--b-line); }
.pd-nav-in { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pd-nav-in::-webkit-scrollbar { display: none; }
.pd-nav a { flex: none; padding: 14px 14px; font-size: 14px; font-weight: 700; color: var(--b-ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.pd-nav a:hover, .pd-nav a.is-on { color: var(--b-ink); border-bottom-color: var(--b-ink); }
.pd-nav .pd-nav-cta { margin-left: auto; padding: 0 0 0 14px; border: 0; }

/* 구역 공통 */
.pd-sec { padding-top: var(--pd-gap); scroll-margin-top: 120px; }
.pd-sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px 48px; align-items: end; padding-bottom: 22px; border-bottom: 2px solid var(--b-ink); }
.pd-sec-head h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.04em; font-weight: 800; }
.pd-sec-head p { font-size: 16px; line-height: 1.75; color: var(--b-ink-2); }
.pd-num { display: block; margin-bottom: 10px; font: 800 13px/1 var(--b-mono); color: var(--b-blue); letter-spacing: .04em; }

/* 무엇이 되나: 번호 목록 */
.pd-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.pd-points li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--b-line); }
.pd-points li b { font: 800 clamp(26px, 3vw, 40px)/1 var(--b-mono); letter-spacing: -.04em; color: var(--b-ink); }
.pd-points li strong { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.pd-points li p { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--b-ink-2); }

/* 살아 있는 데모 */
.pd-demo { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 36px; align-items: start; }
.pd-demo-list li + li { border-top: 1px solid var(--b-line); }
.pd-demo-list a { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 4px; transition: background .15s; }
.pd-demo-list a:hover { background: var(--b-soft); }
.pd-demo-list img { width: 72px; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 6px; }
.pd-demo-list strong { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.pd-demo-list span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--b-ink-3); }
.pd-demo-list em { font-size: 12px; font-style: normal; font-weight: 700; color: var(--b-blue); white-space: nowrap; }
.pd-demo-list a.is-soon em { color: var(--b-ink-3); }

/* 화면 이야기: 캡처 + 글 번갈아 */
.pd-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; border-bottom: 1px solid var(--b-line); }
.pd-story.is-flip .pd-story-media { order: 2; }
.pd-story-media img { border-radius: 12px; border: 1px solid var(--b-line); }
.pd-story h3 { font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -.035em; line-height: 1.2; font-weight: 800; }
.pd-story p { margin-top: 14px; font-size: 15.5px; line-height: 1.8; color: var(--b-ink-2); }
.pd-story ul { margin-top: 16px; }
.pd-story ul li { position: relative; padding: 6px 0 6px 18px; font-size: 14.5px; color: var(--b-ink-2); }
.pd-story ul li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 2px; background: var(--b-blue); }

/* 구성: 모듈 · 테마 */
.pd-parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 8px; }
.pd-part { padding: 26px 0; border-bottom: 1px solid var(--b-line); }
.pd-part-kind { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--b-ink-3); }
.pd-part strong { display: block; margin-top: 8px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.pd-part p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--b-ink-2); }
.pd-part a.pd-more { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--b-blue); }
.pd-part .pd-tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 5px; background: var(--b-soft); font-size: 11px; font-weight: 800; color: var(--b-ink-3); vertical-align: middle; }
.pd-part .pd-tag.is-paid { background: #eaf2ff; color: var(--b-blue); }

/* 흐름: 3단계 */
.pd-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 8px; border-top: 1px solid var(--b-line); }
.pd-step { padding: 28px 28px 32px 0; border-right: 1px solid var(--b-line); }
.pd-step + .pd-step { padding-left: 28px; }
.pd-step:last-child { border-right: 0; padding-right: 0; }
.pd-step em { display: block; font: 800 13px/1 var(--b-mono); color: var(--b-blue); }
.pd-step strong { display: block; margin-top: 12px; font-size: 20px; font-weight: 800; letter-spacing: -.025em; }
.pd-step p { margin-top: 10px; font-size: 14.5px; line-height: 1.75; color: var(--b-ink-2); }

/* 시작하기: 네 가지 길 */
.pd-ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.pd-way { display: flex; flex-direction: column; min-height: 220px; padding: 24px; border: 1px solid var(--b-line); border-radius: 14px; transition: border-color .15s, transform .15s; }
.pd-way:hover { border-color: var(--b-ink); transform: translateY(-3px); }
.pd-way.is-dark { background: var(--b-ink); color: #fff; border-color: var(--b-ink); }
.pd-way em { font-size: 12px; font-style: normal; font-weight: 800; letter-spacing: .04em; color: var(--b-ink-3); }
.pd-way.is-dark em { color: #8ab4f5; }
.pd-way strong { display: block; margin-top: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.025em; }
.pd-way p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--b-ink-2); }
.pd-way.is-dark p { color: #b9c1d0; }
.pd-way .pd-way-price { margin-top: auto; padding-top: 18px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.pd-way .pd-way-price small { font-size: 13px; font-weight: 600; color: var(--b-ink-3); margin-left: 4px; }
.pd-way.is-dark .pd-way-price small { color: #b9c1d0; }
.pd-way .pd-way-go { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--b-blue); }
.pd-way.is-dark .pd-way-go { color: #8ab4f5; }

/* 자주 묻는 질문 */
.pd-faq { margin-top: 8px; border-top: 1px solid var(--b-line); }
.pd-faq details { border-bottom: 1px solid var(--b-line); }
.pd-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 4px; font-size: 17px; font-weight: 800; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.pd-faq summary::-webkit-details-marker { display: none; }
.pd-faq summary::after { content: "+"; font: 400 24px/1 var(--b-mono); color: var(--b-ink-3); }
.pd-faq details[open] summary::after { content: "−"; }
.pd-faq-a { padding: 0 4px 22px; font-size: 15px; line-height: 1.8; color: var(--b-ink-2); max-width: 60em; }

/* 마무리 띠 */
.pd-end { margin-top: var(--pd-gap); padding: clamp(56px, 8vw, 110px) 0; background: var(--b-ink); color: #fff; }
.pd-end-in { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; }
.pd-end h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.08; letter-spacing: -.04em; font-weight: 800; }
.pd-end p { margin-top: 14px; font-size: 16px; line-height: 1.7; color: #b9c1d0; max-width: 36em; }
.pd-end-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-end-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: #8ab4f5; font-weight: 700; }

/* 허브(제품 대문): 다섯 갈래 */
.pd-hub { margin-top: 36px; border-top: 2px solid var(--b-ink); }
.pd-hub-row { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.3fr) 200px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--b-line); transition: background .15s; }
.pd-hub-row:hover { background: var(--b-soft); }
.pd-hub-row > b { font: 800 22px/1 var(--b-mono); color: var(--b-blue); }
.pd-hub-row h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.035em; font-weight: 800; line-height: 1.15; }
.pd-hub-row h3 small { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--b-ink-3); letter-spacing: 0; }
.pd-hub-row p { font-size: 15px; line-height: 1.7; color: var(--b-ink-2); }
.pd-hub-row img { width: 200px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--b-line); }
.pd-hub-ai { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: var(--pd-gap); padding: clamp(28px, 4vw, 44px); border-radius: 18px; background: linear-gradient(135deg, #0b0f19, #1c2a44); color: #fff; }
.pd-hub-ai h3 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -.035em; font-weight: 800; line-height: 1.15; }
.pd-hub-ai p { margin-top: 10px; font-size: 15px; line-height: 1.7; color: #b9c1d0; max-width: 40em; }
.pd-hub-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: var(--pd-gap); }
.pd-hub-more a { padding: 22px 24px; border: 1px solid var(--b-line); border-radius: 12px; }
.pd-hub-more a:hover { border-color: var(--b-ink); }
.pd-hub-more strong { display: block; font-size: 16px; font-weight: 800; }
.pd-hub-more span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--b-ink-3); }

/* 대화 시연 (AI 페이지) */
.pd-chat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 36px; }
.pd-chat-log { border: 1px solid var(--b-line); border-radius: 16px; padding: 20px; background: var(--b-soft); }
.pd-chat-log li { display: flex; gap: 10px; margin-top: 12px; font-size: 14.5px; line-height: 1.6; }
.pd-chat-log li:first-child { margin-top: 0; }
.pd-chat-log li span { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--b-ink); color: #fff; font: 800 11px/28px var(--b-font); text-align: center; }
.pd-chat-log li.is-ai span { background: var(--b-blue); }
.pd-chat-log li p { padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--b-line); }

@media (max-width: 960px) {
	.pd-cover-in, .pd-demo, .pd-story, .pd-chat, .pd-end-in, .pd-hub-ai { grid-template-columns: minmax(0, 1fr); }
	.pd-story.is-flip .pd-story-media { order: 0; }
	.pd-sec-head { grid-template-columns: minmax(0, 1fr); }
	.pd-points { grid-template-columns: minmax(0, 1fr); }
	.pd-parts, .pd-steps, .pd-hub-more { grid-template-columns: minmax(0, 1fr); }
	.pd-step { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--b-line); }
	.pd-step + .pd-step { padding-left: 0; }
	.pd-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pd-hub-row { grid-template-columns: 40px minmax(0, 1fr); }
	.pd-hub-row p, .pd-hub-row img { grid-column: 2; }
	.pd-hub-row img { width: 100%; }
	.pd-nav { top: 56px; }
}
@media (max-width: 600px) {
	.pd-ways { grid-template-columns: minmax(0, 1fr); }
	.pd-cover-facts li b { font-size: 20px; }
}

/* 페이지 모듈이 찍는 제목과 코어 본문(xe_content) 기본 스타일을 걷어낸다 */
.pd > div > h1:first-child { display: none; }
.pd .xe_content { font-size: inherit; line-height: inherit; color: inherit; }
.pd .xe_content :is(ul, ol) { list-style: none; margin: 0; padding: 0; }
.pd .xe_content li { margin: 0; padding: 0; }
.pd .xe_content :is(h1, h2, h3, h4, p, figure, dl) { margin: 0; }
.pd .xe_content a { text-decoration: none; }
.pd .xe_content .pd-cover-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 34px; padding-top: 22px; border-top: 2px solid var(--b-ink); }
.pd .xe_content .pd-cover-facts li { flex: none; }
.pd .xe_content .pd-points li { display: grid; padding: 28px 0; border-bottom: 1px solid var(--b-line); }
.pd .xe_content .pd-story ul li { padding: 6px 0 6px 18px; }
.pd .xe_content .pd-demo-list li + li { border-top: 1px solid var(--b-line); }
.pd .xe_content .pd-chat-log li { display: flex; margin-top: 12px; }
.pd .xe_content .pd-chat-log li:first-child { margin-top: 0; }
.pd .xe_content .pd-story p, .pd .xe_content .pd-cover-lead, .pd .xe_content .pd-sec-head p { margin-top: 14px; }
.pd .xe_content .pd-sec-head p { margin-top: 0; }
/* 데모 틀 미리보기: 사진 위에 어두운 막, 버튼은 그 위 */
.pd-frame-live { background: #0b0f19; }
.pd-frame-live .pd-frame-cover { background: none; }
.pd-frame-live .pd-frame-cover::before { content: ""; position: absolute; inset: 0; background: rgba(11, 15, 25, .38); z-index: 1; }
.pd-frame-live .pd-frame-cover img { z-index: 0; }
.pd-frame-live .pd-frame-cover .b-btn { position: relative; z-index: 2; }

/* 목차 오른쪽 버튼: 스크롤 줄 밖에 두고 작게 */
.pd-nav-in { overflow: visible; }
.pd-nav-in .pd-nav-links { display: flex; align-items: center; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.pd-nav-in .pd-nav-links::-webkit-scrollbar { display: none; }
.pd-nav .pd-nav-cta { flex: none; margin-left: auto; padding: 8px 16px; border-radius: 8px; font-size: 13px; }
.pd-nav .pd-nav-cta:hover, .pd-nav .pd-nav-cta.is-on { color: #fff; border-bottom-color: transparent; }
