/* ========================================
   과정 소개(2026-10-04) - course-intro.html, js/sections/lms/course-intro.js
   색: 홈(home-real.css)과 같은 남색·보라 + 강의 영상의 종이 바탕. 과정마다 장식 색만 다르다
       (클로드: 마스코트의 진흙 주황, ChatGPT: CRT 마스코트의 코발트). 구매 단추는 두 과정 모두 사이트 보라.
   커리큘럼은 학습실 교재의 시간 흐름 레일 모양(홈 커리큘럼과 같은 언어).
======================================== */
/* base.css 의 html·body overflow-x: hidden 은 붙어 다니는 요소(머리글·목차·오른쪽 카드)를 막는다.
   이 페이지에서만 clip 으로 바꾼다(가로 넘침은 그대로 잘리고 스크롤 상자는 만들지 않음). clip 을 모르는 브라우저는 예전처럼 hidden. */
html, body { overflow-x: clip; }
.ci {
    --ci-navy: #0a1628;
    --ci-navy-2: #111f38;
    --ci-ink: #101828;
    --ci-text: #344054;
    --ci-muted: #667085;
    --ci-line: #e4e8ee;
    --ci-point: #553ae7;
    --ci-point-dark: #4028c4;
    --ci-point-soft: #f4f2ff;
    --ci-paper: #f5f3e7;
    --ci-paper-line: #ddd6c2;
    --ci-paper-ink: #2b2622;
    --ci-paper-muted: #6d6555;
    --ci-tint: #c0603a;
    --ci-tint-soft: #f8e9e1;
    --ci-header-h: 72px;
    color: var(--ci-ink);
}
.ci[data-theme="chatgpt"] { --ci-tint: #2f39b5; --ci-tint-soft: #e7e9fb; }
.ci[data-theme="excel"] { --ci-tint: #1d6f42; --ci-tint-soft: #e3f1e9; } /* 2026-10-10 XL2 엑셀 과정: 목록 점·아이콘 색 */
.ci [hidden] { display: none !important; } /* 단추(.ci-btn)의 display 가 hidden 을 이기지 않게 */
.ci-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ci-loading { margin: 0; padding: 80px 0; color: #9fb0c8; }

/* 단추 */
.ci-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; padding: 0 24px; border: 0; border-radius: 12px;
    font: inherit; font-size: 16.5px; font-weight: 800; text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}
.ci-btn--primary { background: var(--ci-point); color: #fff; }
.ci-btn--primary:hover { background: var(--ci-point-dark); color: #fff; }
.ci-btn--primary:disabled { background: #8f86c9; cursor: progress; }
.ci-btn--ghost { border: 1px solid rgba(255, 255, 255, .3); color: #fff; background: transparent; }
.ci-btn--ghost:hover { border-color: #fff; color: #fff; }
.ci-btn--line { border: 1px solid #c9c0f7; color: var(--ci-point); background: #fff; }
.ci-btn--line:hover { border-color: var(--ci-point); color: var(--ci-point-dark); }
.ci-btn i { font-size: .9em; }
.ci-btn:focus-visible, .ci a:focus-visible, .ci button:focus-visible, .ci summary:focus-visible { outline: 3px solid #b8adf7; outline-offset: 3px; }
.ci-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ci-actions--stack { display: grid; }
.ci-actions--stack .ci-btn { width: 100%; }

/* ───── 히어로 ───── */
.ci-hero { background: var(--ci-navy); color: #fff; padding: 40px 0 64px; overflow: hidden; }
.ci-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.ci-crumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; color: #8a99b0; font-size: 13.5px; }
.ci-crumb a { color: #b6c2d6; text-decoration: none; }
.ci-crumb a:hover { color: #fff; text-decoration: underline; }
.ci-crumb [aria-current] { color: #dbe3ef; }
.ci-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; color: #a99cff; font-size: 15px; font-weight: 700; }
.ci-status { padding: 4px 10px; border-radius: 99px; background: rgba(250, 204, 21, .16); color: #fde68a; font-size: 13px; font-weight: 800; }
.ci-status[hidden] { display: none; }
.ci-title { margin: 0 0 16px; color: #fff; font-size: clamp(34px, 3.8vw, 52px); font-weight: 800; line-height: 1.2; letter-spacing: -.03em; word-break: keep-all; } /* 2026-10-10 XL2: 긴 과정 이름이 낱말 가운데서 끊기지 않게 */
.ci-promise { margin: 0 0 26px; color: #c9d3e3; font-size: 17.5px; line-height: 1.75; max-width: 34em; word-break: keep-all; }
.ci-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 18px; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .14); }
.ci-facts li { padding: 14px 12px 0 0; }
.ci-facts strong { display: block; color: #fff; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.ci-facts span { display: block; margin-top: 2px; color: #9fb0c8; font-size: 13.5px; line-height: 1.45; word-break: keep-all; }
.ci-plan { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 26px; padding: 11px 14px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #c9d3e3; font-size: 14.5px; line-height: 1.6; }
.ci-plan i { margin-top: 4px; color: #a99cff; }
.ci-hero-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.ci-hero-price { display: flex; flex-direction: column; margin: 0 10px 0 0; min-width: 150px; }
.ci-hero-price [data-ci-price] { color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ci-hero-price small { color: #9fb0c8; font-size: 13.5px; font-weight: 600; }
/* 맛보기 한 줄 안내(맛보기 차시가 있을 때만) */
.ci-preview-note { flex-basis: 100%; display: flex; align-items: center; gap: 8px; margin: 2px 0 0; color: #9fb0c8; font-size: 13.5px; font-weight: 600; }
.ci-preview-note i { color: #a99cff; }
.ci-hero-refund { flex-basis: 100%; display: flex; align-items: flex-start; gap: 8px; margin: 0; color: #c3cfdf; font-size: 13px; font-weight: 600; line-height: 1.55; word-break: keep-all; }
.ci-hero-refund i { margin-top: 3px; color: #a99cff; }
.ci-hero-refund a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ci[data-sale-state="soon"] .ci-hero-price [data-ci-price], .ci[data-sale-state="error"] .ci-hero-price [data-ci-price] { font-size: 20px; color: #dbe3ef; }
.ci-hero-shot { margin: 0; }
.ci-hero-shot > img, .ci-hero-shot > .kai-cover { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); }
.ci-hero-shot figcaption { margin-top: 10px; color: #8a99b0; font-size: 13px; text-align: right; }
.ci-hero--missing { padding: 96px 0; }

/* ───── 본문 + 오른쪽 수강 정보 카드 ───── */
.ci-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; padding-top: 8px; padding-bottom: 96px; }
.ci-main { min-width: 0; }
.ci-aside { position: sticky; top: calc(var(--ci-header-h) + 24px); margin-top: 32px; }

/* 목차(붙어 다니는 줄) */
.ci-tabs { position: sticky; top: var(--ci-header-h); z-index: 50; margin: 0 -4px; padding: 0 4px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--ci-line); }
.ci-tabs ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.ci-tabs ul::-webkit-scrollbar { display: none; }
.ci-tabs a { position: relative; display: block; padding: 18px 14px 16px; color: var(--ci-muted); font-size: 15.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ci-tabs a:hover { color: var(--ci-ink); }
.ci-tabs a.is-active { color: var(--ci-ink); }
.ci-tabs a.is-active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--ci-point); }

.ci-sec { padding-top: 64px; scroll-margin-top: calc(var(--ci-header-h) + 64px); }
.ci-h2 { margin: 0 0 24px; color: var(--ci-ink); font-size: clamp(25px, 2.3vw, 31px); font-weight: 800; letter-spacing: -.025em; }
.ci-h2--light { color: #fff; }
.ci-sub { margin: -16px 0 0; color: var(--ci-muted); font-size: 15.5px; }
.ci-sub--flow { margin: -10px 0 22px; line-height: 1.7; }

/* 과정 소개 */
.ci-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ci-box { padding: 24px 24px 22px; border: 1px solid var(--ci-line); border-radius: 16px; background: #fff; }
.ci-box--accent { background: var(--ci-point-soft); border-color: #e1dcfb; }
.ci-box h3 { margin: 0 0 14px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.ci-dots, .ci-checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ci-dots li, .ci-checks li { position: relative; padding-left: 24px; color: var(--ci-text); font-size: 15.5px; line-height: 1.6; word-break: keep-all; }
.ci-dots li::before { content: ''; position: absolute; left: 6px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--ci-tint); }
.ci-checks li::before { content: '✓'; position: absolute; left: 3px; top: 0; color: var(--ci-point); font-weight: 900; }
.ci-practice { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--ci-paper); color: var(--ci-paper-ink); font-size: 15px; line-height: 1.65; }
.ci-practice i { margin-top: 4px; color: var(--ci-tint); }

/* 커리큘럼 */
.ci-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ci-sec-head .ci-h2 { margin-bottom: 20px; }
.ci-expand {
    flex: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--ci-line); border-radius: 10px; background: #fff;
    color: var(--ci-text); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.ci-expand:hover { border-color: #c7cdd6; color: var(--ci-ink); }
.ci-planned { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #fff7e0; color: #7a5200; font-size: 14.5px; font-weight: 600; line-height: 1.6; }
.ci-planned i { margin-top: 4px; }
.ci-parts { margin: 0; padding: 6px 24px; list-style: none; border-radius: 18px; background: var(--ci-paper); }
.ci-part { padding: 18px 0 14px; }
.ci-part + .ci-part { border-top: 1px solid var(--ci-paper-line); }
.ci-part-head { display: flex; align-items: center; gap: 12px; }
.ci-part-name { margin: 0; color: var(--ci-paper-ink); font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.ci-part-meta { color: var(--ci-paper-muted); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ci-part-toggle {
    display: inline-flex; align-items: center; gap: 6px; margin-left: auto; min-height: 36px; padding: 0 10px;
    border: 0; border-radius: 8px; background: transparent; color: var(--ci-paper-muted); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.ci-part-toggle:hover { background: rgba(43, 38, 34, .06); color: var(--ci-paper-ink); }
.ci-part-toggle i { font-size: 11px; transition: transform .2s; }
.ci-part.is-open .ci-part-toggle i { transform: rotate(180deg); }
.ci-when-open, .ci-part.is-open .ci-when-closed { display: none; }
.ci-part.is-open .ci-when-open { display: inline; }
.ci-part-note { display: inline-block; margin: 8px 0 0; padding: 3px 10px; border-radius: 99px; background: rgba(85, 58, 231, .1); color: var(--ci-point-dark); font-size: 13px; font-weight: 700; }

.ci-lessons { position: relative; margin: 8px 0 0; padding: 0 0 0 30px; list-style: none; }
.ci-lessons::before { content: ''; position: absolute; left: 6px; top: 20px; bottom: 20px; width: 2px; border-radius: 2px; background: #d9d3bf; }
.ci-lesson { position: relative; padding: 11px 0; }
.ci-lesson + .ci-lesson { border-top: 1px dashed var(--ci-paper-line); }
.ci-lesson::before {
    content: ''; position: absolute; left: -29px; top: 17px; width: 12px; height: 12px; border-radius: 50%;
    background: var(--ci-paper); border: 2px solid #b9b19a; box-sizing: border-box;
}
.ci-lesson-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; }
.ci-lesson-no { color: var(--ci-paper-muted); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ci-lesson-title { color: var(--ci-paper-ink); font-size: 16.5px; font-weight: 700; line-height: 1.5; word-break: keep-all; }
.ci-lesson-time { color: var(--ci-paper-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.ci[data-theme="chatgpt"] .ci-lesson-time { padding: 1px 8px; border-radius: 6px; background: rgba(43, 38, 34, .06); font-size: 12.5px; font-weight: 700; }
.ci-kind { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-style: normal; font-weight: 800; vertical-align: 2px; white-space: nowrap; }
.ci-kind--mix { background: var(--ci-tint-soft); color: var(--ci-tint); }
.ci-kind--supp { background: #ece6d2; color: var(--ci-paper-muted); }
.ci-kind--intro { background: rgba(85, 58, 231, .1); color: var(--ci-point-dark); }
/* 맛보기 차시 줄의 「미리보기」(누르면 맛보기) */
.ci-pv-tag {
    display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 2px 9px; border-radius: 6px;
    background: var(--ci-point); color: #fff; font-size: 12px; font-weight: 800; line-height: 1.5; text-decoration: none; vertical-align: 2px; white-space: nowrap;
}
.ci-pv-tag:hover { background: var(--ci-point-dark); color: #fff; }
.ci-pv-tag i { font-size: 9px; }
.ci-lesson-detail { display: none; padding: 6px 0 4px 82px; }
.ci-part.is-open .ci-lesson-detail { display: block; }
.ci-lesson-detail p { margin: 0; color: #4d463e; font-size: 14.5px; line-height: 1.7; word-break: keep-all; }
.ci-lesson-out { margin-top: 6px !important; }
.ci-lesson-out b { display: inline-block; margin-right: 8px; padding: 0 7px; border-radius: 5px; background: #fff; color: var(--ci-paper-ink); font-size: 12.5px; font-weight: 800; }
.ci-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; margin: 14px 0 0; color: var(--ci-muted); font-size: 13.5px; }
.ci-legend .ci-kind { margin-left: 10px; }
.ci-legend .ci-kind:first-child { margin-left: 0; }

/* 학습 방식 */
.ci-how-main { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: center; margin: 0 0 24px; }
.ci-how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ci-how-item { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ci-how-main img, .ci-how-item img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--ci-line); box-shadow: 0 12px 30px rgba(16, 24, 40, .08); }
.ci-how-item img { aspect-ratio: 760 / 640; object-fit: cover; object-position: top left; }
.ci-how-main figcaption, .ci-how-item figcaption { color: var(--ci-text); font-size: 15px; line-height: 1.7; word-break: keep-all; }
.ci-how-main figcaption strong, .ci-how-item figcaption strong { display: block; margin-bottom: 4px; color: var(--ci-ink); font-size: 17.5px; font-weight: 800; }
.ci-how-main figcaption strong { font-size: 20px; }
.ci-done { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: #ecfdf3; color: #054f31; }
.ci-done i { margin-top: 3px; font-size: 20px; color: #12b76a; }
.ci-done strong { display: block; font-size: 16px; font-weight: 800; }
.ci-done p { margin: 2px 0 0; font-size: 15px; line-height: 1.65; }
.ci-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ci-feats li { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--ci-line); border-radius: 14px; }
.ci-feats i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--ci-tint-soft); color: var(--ci-tint); font-size: 17px; }
.ci-feats strong { display: block; font-size: 16.5px; font-weight: 800; }
.ci-feats p { margin: 4px 0 0; color: var(--ci-text); font-size: 14.5px; line-height: 1.65; word-break: keep-all; }
.ci-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--ci-point); font-size: 15px; font-weight: 800; text-decoration: none; }
.ci-link:hover { text-decoration: underline; }

/* 만든 곳(2026-10-04 재검토 판정 8) */
.ci-maker { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: stretch; }
.ci-org { display: flex; flex-direction: column; padding: 24px; border-radius: 16px; background: var(--ci-navy); color: #c9d3e3; }
.ci-org-kind { align-self: flex-start; margin: 0 0 10px; padding: 3px 10px; border-radius: 99px; background: rgba(169, 156, 255, .16); color: #c9c0ff; font-size: 12.5px; font-weight: 800; }
.ci-org-name { margin: 0 0 18px; color: #fff; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.ci-org-rows { display: grid; gap: 12px; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.ci-org-rows div { display: grid; gap: 1px; font-size: 15px; line-height: 1.55; }
.ci-org-rows dt { color: #8a99b0; font-size: 12.5px; font-weight: 600; }
.ci-org-rows dd { margin: 0; color: #e4e9f2; font-weight: 600; word-break: keep-all; }
.ci-org-rows a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ci-org-note { margin: auto 0 0; padding-top: 18px; color: #9fb0c8; font-size: 13.5px; line-height: 1.65; word-break: keep-all; }
.ci-made-box { padding: 22px 24px 8px; border: 1px solid var(--ci-line); border-radius: 16px; background: #fff; }
.ci-made-box h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.ci-made { margin: 0; padding: 0; list-style: none; }
.ci-made li { display: flex; gap: 14px; padding: 16px 0; }
.ci-made li + li { border-top: 1px solid var(--ci-line); }
.ci-made i { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--ci-tint-soft); color: var(--ci-tint); font-size: 16px; }
.ci-made strong { display: block; font-size: 16px; font-weight: 800; }
.ci-made p { margin: 3px 0 0; color: var(--ci-text); font-size: 14.5px; line-height: 1.7; word-break: keep-all; }

/* 준비물 */
.ci-prep { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ci-prep li { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--ci-line); border-radius: 14px; background: #fff; }
.ci-prep-no { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ci-navy); color: #fff; font-size: 14px; font-weight: 800; }
.ci-prep strong { display: block; font-size: 16.5px; font-weight: 800; }
.ci-prep p { margin: 4px 0 0; color: var(--ci-text); font-size: 14.5px; line-height: 1.7; word-break: keep-all; }

/* 자주 묻는 질문 */
.ci-faq { border-top: 1px solid var(--ci-line); }
.ci-faq-item { border-bottom: 1px solid var(--ci-line); }
.ci-faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px;
    color: var(--ci-ink); font-size: 16.5px; font-weight: 700; line-height: 1.5; cursor: pointer; list-style: none;
}
.ci-faq-item summary::-webkit-details-marker { display: none; }
.ci-faq-item summary i { flex: none; color: var(--ci-muted); font-size: 13px; transition: transform .2s; }
.ci-faq-item[open] summary i { transform: rotate(45deg); }
.ci-faq-a { padding: 0 4px 18px; }
.ci-faq-a p { margin: 0; color: var(--ci-text); font-size: 15px; line-height: 1.75; word-break: keep-all; }
.ci-faq-a a { display: inline-block; margin-top: 6px; color: var(--ci-point); font-weight: 700; }

/* 수강 정보 카드(오른쪽·마무리 띠) */
.ci-card { padding: 24px; border: 1px solid var(--ci-line); border-radius: 18px; background: #fff; box-shadow: 0 18px 40px rgba(16, 24, 40, .08); }
.ci-card-title { margin: 0; color: var(--ci-muted); font-size: 14px; font-weight: 700; }
.ci-card-price { display: flex; flex-direction: column; gap: 2px; margin: 6px 0 16px; }
.ci-card-price [data-ci-price] { color: var(--ci-ink); font-size: 28px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ci[data-sale-state="soon"] .ci-card-price [data-ci-price] { color: var(--ci-text); font-size: 22px; }
.ci[data-sale-state="error"] .ci-card-price [data-ci-price] { color: #b42318; font-size: 18px; }
.ci-card-price small { color: var(--ci-muted); font-size: 14px; font-weight: 600; line-height: 1.55; }
.ci-card-list { margin: 18px 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--ci-line); display: grid; gap: 8px; }
.ci-card-list li { position: relative; color: var(--ci-text); font-size: 14.5px; line-height: 1.5; }
.ci-card-list span { color: var(--ci-muted); }
.ci-card-list--check li { padding-left: 22px; }
.ci-card-list--check li::before { content: '✓'; position: absolute; left: 3px; color: var(--ci-point); font-weight: 900; }
.ci-card-notice { margin: 16px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--ci-point-soft); color: #2e2378; font-size: 13.5px; font-weight: 600; line-height: 1.55; }
/* 2026-10-05 판매 조건(course-sale.js R1·R3): 출시 가격 안내 한 줄, 구매 단추 아래 취소·환불 요약 */
.ci-launch { display: block; }
.ci-hero-price .ci-launch { color: #ffd59a; font-size: 13px; }
.ci-card-price .ci-launch { color: #9a3412; font-size: 13.5px; font-weight: 700; }
.ci-card-refund { margin: 14px 0 0; padding: 12px 14px; border: 1px solid var(--ci-line); border-radius: 12px; background: #fafbfc; }
.ci-card-refund-h { margin: 0 0 6px; color: var(--ci-ink); font-size: 13.5px; font-weight: 800; }
.ci-card-refund ol { margin: 0; padding-left: 18px; color: var(--ci-text); font-size: 13px; line-height: 1.6; word-break: keep-all; }
.ci-card-refund li + li { margin-top: 4px; }
.ci-card-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 14px 0 0; font-size: 13.5px; }
.ci-card-links a { color: var(--ci-muted); text-decoration: underline; text-underline-offset: 3px; }
.ci-card-links a:hover { color: var(--ci-ink); }

/* 마무리 띠 */
.ci-closing { background: var(--ci-navy-2); color: #c9d3e3; padding: 80px 0; }
.ci-closing-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; }
.ci-eyebrow--light { color: #a99cff; }
.ci-closing .ci-h2 { margin-bottom: 12px; }
.ci-closing-copy > p { margin: 0 0 28px; font-size: 16.5px; line-height: 1.75; max-width: 34em; word-break: keep-all; }
.ci-other {
    display: flex; align-items: center; gap: 16px; max-width: 460px; padding: 12px 16px 12px 12px;
    border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: rgba(255, 255, 255, .04); color: #fff; text-decoration: none;
}
.ci-other:hover { border-color: rgba(255, 255, 255, .3); color: #fff; }
.ci-other--next { margin-top: 12px; } /* 2026-10-10 XL2: 다른 과정이 둘 이상일 때 둘째 카드부터 */
.ci-other-cover { flex: none; width: 128px; border-radius: 8px; overflow: hidden; }
.ci-other-cover > img, .ci-other-cover > .kai-cover { display: block; width: 100%; height: auto; }
.ci-other-text { display: flex; flex-direction: column; min-width: 0; }
.ci-other-text small { color: #9fb0c8; font-size: 12.5px; font-weight: 700; }
.ci-other-text strong { font-size: 17px; font-weight: 800; }
.ci-other-text span { color: #9fb0c8; font-size: 13.5px; }
.ci-other i { margin-left: auto; color: #9fb0c8; }

/* 휴대폰 아래 고정 줄 */
.ci-sticky { display: none; }

/* 떠 있는 상담 단추 하나로(이 페이지만, course-intro.js wireConsult C1) */
body.ci-consult-one .floating-btns { align-items: flex-end; }
.ci-consult { display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 10px; }
.ci-consult-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ci-consult-menu[hidden] { display: none; }
.ci-consult-toggle { border: 0; font-family: inherit; background: #111f38; color: #fff; box-shadow: 0 6px 20px rgba(10, 22, 40, .28); }
.ci-consult-toggle:hover, .ci-consult-toggle.is-open { background: #0a1628; color: #fff; }
body.ci-consult-one .floating-btn--consult { animation: none; }
body.ci-consult-one .floating-btn:focus-visible { outline: 3px solid #b8adf7; outline-offset: 3px; }

/* ───── 반응형 ───── */
@media (max-width: 1080px) {
    .ci-hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .ci-hero-shot { max-width: 720px; }
    .ci-layout { grid-template-columns: 1fr; padding-bottom: 72px; }
    .ci-aside { display: none; }
    .ci-closing-grid { grid-template-columns: 1fr; gap: 32px; }
    .ci-card--closing { max-width: 520px; }
    .ci-sticky {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: #fff; border-top: 1px solid var(--ci-line); box-shadow: 0 -8px 24px rgba(16, 24, 40, .08);
        transform: translateY(110%); visibility: hidden; transition: transform .2s ease, visibility .2s;
    }
    .ci-sticky.is-visible { transform: none; visibility: visible; }
    .ci-sticky-price { display: flex; flex-direction: column; min-width: 0; margin: 0; }
    .ci-sticky-price small { color: var(--ci-muted); font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ci-sticky-price [data-ci-price] { color: var(--ci-ink); font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
    .ci-sticky-actions { display: flex; flex: none; gap: 8px; }
    .ci-sticky .ci-btn { min-height: 48px; min-width: 132px; padding: 0 18px; font-size: 16px; }
    .ci-sticky .ci-btn--line { min-width: 0; padding: 0 14px; gap: 6px; }
    .ci[data-preview="on"] .ci-sticky .ci-btn--primary { min-width: 112px; }
    body.has-ci-sticky { padding-bottom: 76px; }
    body.has-ci-sticky .floating-btns { bottom: 92px !important; }
}
@media (max-width: 768px) {
    /* 휴대폰: 떠 있는 상담 단추가 히어로의 가격·단추를 가리지 않게, 아래 고정 줄이 나온 뒤에만 보인다 */
    body.ci-page:not(.has-ci-sticky) .floating-btns { display: none; }
}
@media (max-width: 768px) {
    .ci-hero { padding: 24px 0 48px; }
    .ci-crumb { margin-bottom: 20px; }
    .ci-promise { font-size: 16.5px; }
    .ci-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ci-facts li { padding-bottom: 6px; }
    .ci-hero-buy { display: grid; grid-template-columns: 1fr; }
    .ci-hero-buy .ci-actions, .ci-hero-buy .ci-btn { width: 100%; }
    .ci-hero-buy .ci-actions .ci-btn { flex: 1 1 100%; }
    .ci-sec { padding-top: 48px; }
    .ci-two, .ci-prep, .ci-feats, .ci-maker { grid-template-columns: 1fr; }
    .ci-org, .ci-made-box { padding-left: 20px; padding-right: 20px; }
    .ci-org-rows div { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; font-size: 14.5px; }
    .ci-org-rows dt { font-size: 14px; }
    .ci-sec-head { flex-direction: column; align-items: flex-start; gap: 0; }
    .ci-sec-head .ci-h2 { margin-bottom: 20px; }
    .ci-expand { margin-top: 14px; }
    .ci-parts { padding: 4px 16px; margin: 0 -4px; }
    .ci-part-head { flex-wrap: wrap; gap: 4px 10px; }
    .ci-lessons { padding-left: 24px; }
    .ci-lessons::before { left: 5px; }
    .ci-lesson::before { left: -24px; }
    .ci-lesson-row { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
    .ci-lesson-no { grid-column: 1 / -1; font-size: 13px; }
    .ci-lesson-detail { padding-left: 0; }
    .ci-how-main { grid-template-columns: 1fr; gap: 12px; }
    .ci-how-grid { grid-template-columns: 1fr; }
    .ci-closing { padding: 56px 0; }
    .ci-other { max-width: none; }
    .ci-other-cover { width: 96px; }
}
@media (max-width: 768px) {
    /* 펼친 세 가지는 글자까지 보인다(아이콘만 있으면 무엇인지 모름) */
    body.ci-consult-one .ci-consult-menu .floating-btn { padding: 10px 16px; border-radius: 50px; }
    body.ci-consult-one .ci-consult-menu .floating-btn span { display: inline; font-size: 15px; }
    body.ci-consult-one .ci-consult-menu .floating-btn i { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .ci-btn, .ci-sticky, .ci-part-toggle i, .ci-faq-item summary i { transition: none; }
    body.ci-consult-one .floating-btn { transition: none; }
    body.ci-consult-one .floating-btn:hover { transform: none; }
}
