/* 정석 시리즈 VOD 판매(프로모션) 페이지 — 시안 공용 스타일
   심미스쿨 web UI(simmi-school-apply) 토큰 재사용:
   라이트 배경 + brand-green #1F4D33 + 옐로우 형광펜 + Pretendard + max-w-2xl */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css');

:root {
  --green: #1F4D33;
  --green-hover: #173d28;
  --teal: #2EA88C;
  --red: #A0322D;
  --ink: #171717;       /* neutral-900 */
  --ink-2: #404040;     /* neutral-700 */
  --mute: #737373;      /* neutral-500 */
  --mute-2: #a3a3a3;    /* neutral-400 */
  --line: #e5e5e5;      /* neutral-200 */
  --soft: #f5f5f5;      /* neutral-100 */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', ui-sans-serif, system-ui, sans-serif;
  background: #fff;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.5;
}

.mono { font-family: ui-monospace, 'Geist Mono', SFMono-Regular, Menlo, monospace; }

/* 형광펜 */
.hl {
  background: linear-gradient(transparent 55%, rgba(253, 224, 71, 0.7) 55%);
  padding: 0 0.05em; border-radius: 1px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hl-strong {
  background: linear-gradient(transparent 30%, rgba(250, 204, 21, 0.85) 30%);
  padding: 0 0.1em; border-radius: 1px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ── 레이아웃 ── */
.wrap { max-width: 680px; margin: 0 auto; padding: 0 24px; }

/* 상단 고정 탭 */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .inner {
  max-width: 680px; margin: 0 auto; padding: 0 24px;
  height: 56px; display: flex; align-items: center; justify-content: space-between;
}
.nav .brand { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; color: var(--green); }
.nav .links { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.nav .links a {
  padding: 0 12px; height: 36px; display: inline-flex; align-items: center;
  border-radius: 999px; color: var(--mute); text-decoration: none; transition: .15s;
}
.nav .links a:hover { color: var(--green); background: var(--soft); }

/* 섹션 */
.section { padding: 56px 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: none; }
.section-head { margin-bottom: 28px; }
.section-head .cat {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--teal);
  margin-bottom: 10px;
}
.section-head .cat .ico { font-size: 15px; }
.section-head h2 {
  font-size: 27px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.03em; line-height: 1.25;
}
.section-head .sub { font-size: 15px; color: #565656; margin-top: 8px; line-height: 1.6; }
.section-head .count { font-size: 12px; color: var(--mute-2); }

/* 히어로 */
.hero { padding: 56px 0 48px; }
.hero .logo { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--green); margin-bottom: 22px; }
.hero .eyebrow { font-size: 13px; color: var(--teal); font-weight: 500; margin-bottom: 12px; }
.hero h1 { font-size: 44px; line-height: 1.16; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.hero .lede { font-size: 18px; color: #3d3d3d; font-weight: 500; margin-top: 16px; }
.hero .desc { font-size: 15px; color: var(--ink-2); line-height: 1.7; max-width: 32rem; margin-top: 24px; }

/* 마감 배지 */
.deadline {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
  background: rgba(160,50,45,0.08); color: var(--red);
  border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600;
}
.deadline .dday {
  background: var(--red); color: #fff; border-radius: 999px;
  padding: 1px 8px; font-size: 12px; font-weight: 700;
}

/* 상태 칩 */
.chip {
  display: inline-flex; align-items: center; height: 20px; padding: 0 8px;
  border-radius: 999px; font-size: 11px; font-weight: 500;
}
.chip.solid { background: var(--green); color: #fff; }
.chip.soft  { background: rgba(31,77,51,0.1); color: var(--green); }
.chip.promo { background: rgba(250,204,21,0.25); color: #92660a; }
.chip.muted { background: var(--soft); color: var(--mute); }

/* 문제 기반 선택 */
.problem-list { list-style: none; }
.problem-list li { border-top: 1px solid var(--line); }
.problem-list li:first-child { border-top: none; }
.problem-list a {
  display: flex; align-items: center; gap: 14px; padding: 20px 0;
  text-decoration: none; color: inherit; transition: .15s;
}
.problem-list a:hover .pq { color: var(--green); }
.problem-list .pemoji { font-size: 24px; flex-shrink: 0; line-height: 1; }
.problem-list .pq { flex: 1; font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; transition: .15s; }
.problem-list .pa { font-size: 13px; color: var(--mute); font-weight: 500; white-space: nowrap; }
.problem-list .arrow { color: var(--mute-2); font-size: 18px; }

/* 상품 행(카드형 리스트) */
.rows { list-style: none; }
.rows li { border-top: 1px solid var(--line); }
.rows li:first-child { border-top: none; }
.rows a { display: flex; align-items: flex-start; gap: 16px; padding: 24px 0; text-decoration: none; color: inherit; }
.rows a:hover h3 { color: var(--green); }
.rows .meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.rows .tag { font-size: 12px; color: var(--mute); }
.rows h3 { font-size: 22px; font-weight: 800; line-height: 1.3; color: var(--ink); letter-spacing: -0.025em; transition: .15s; }
.rows p { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-top: 4px; }
.rows .right { text-align: right; flex-shrink: 0; min-width: 96px; }
.rows .price { font-size: 14px; color: var(--ink-2); }
.rows .price .was { display: block; font-size: 12px; color: var(--mute-2); text-decoration: line-through; }
.rows .price .now { font-weight: 600; color: var(--ink); }
.rows .arrow { color: var(--mute-2); margin-top: 8px; display: inline-block; }

/* 묶음(패키지) 강조 박스 */
.bundle {
  border: 1.5px solid var(--green); border-radius: 14px; padding: 24px;
  background: rgba(31,77,51,0.025); margin-top: 4px;
}
.bundle .top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.bundle h3 { font-size: 25px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.bundle .desc { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-top: 8px; }
.bundle .incl { list-style: none; margin: 16px 0; }
.bundle .incl li {
  font-size: 14px; color: var(--ink-2); padding: 6px 0 6px 22px; position: relative;
}
.bundle .incl li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.bundle .pricebar {
  display: flex; align-items: flex-end; justify-content: space-between;
  border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px;
}
.bundle .pricebar .label { font-size: 12px; color: var(--mute); }
.bundle .pricebar .was { font-size: 13px; color: var(--mute-2); text-decoration: line-through; }
.bundle .pricebar .now { font-size: 26px; font-weight: 700; color: var(--green); letter-spacing: -0.02em; }

/* 혜택(perk) 그리드 */
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.perk { border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.perk .t { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.perk .d { font-size: 13px; color: var(--mute); line-height: 1.6; }

/* FAQ */
.faq { list-style: none; }
.faq li { border-top: 1px solid var(--line); padding: 18px 0; }
.faq li:first-child { border-top: none; }
.faq .q { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.faq .q::before { content: 'Q. '; color: var(--green); font-weight: 700; }
.faq .a { font-size: 14px; color: var(--ink-2); line-height: 1.7; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 28px; border-radius: 999px; border: none; cursor: pointer;
  font-size: 15px; font-weight: 600; text-decoration: none; transition: .15s;
  font-family: inherit;
}
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-hover); }
.btn.full { display: flex; width: 100%; }
.btn.ghost { background: var(--soft); color: var(--ink-2); }
.btn.ghost:hover { background: #ececec; }

/* CTA 영역 */
.cta { margin-top: 32px; }
.cta .sub { font-size: 13px; color: var(--mute); margin-top: 12px; text-align: center; }

/* 푸터 */
.footer { padding: 56px 0; border-top: 1px solid var(--line); }
.footer p { font-size: 13px; color: var(--mute); }
.footer p.sm { font-size: 12px; color: var(--mute-2); margin-top: 8px; }

/* 시안 표시 배너 */
.demo-banner {
  background: #fffbeb; border-bottom: 1px solid #fde68a;
  font-size: 12px; color: #92660a; text-align: center; padding: 7px 16px;
}

/* ── 상세 페이지 ── */
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mute); text-decoration: none; margin: 24px 0 0; }
.back:hover { color: var(--green); }
.detail-head { padding: 24px 0 8px; }
.detail-head .tag { font-size: 13px; color: var(--teal); font-weight: 500; margin-bottom: 10px; }
.detail-head h1 { font-size: 36px; line-height: 1.2; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.detail-head .one { font-size: 16px; color: var(--ink-2); line-height: 1.7; margin-top: 14px; }

/* 미리보기 영상 */
.preview {
  margin-top: 24px; border-radius: 14px; overflow: hidden;
  background: #111; aspect-ratio: 16/9; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.preview .play {
  width: 64px; height: 64px; border-radius: 999px; background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
}
.preview .play svg { margin-left: 4px; }
.preview .cap {
  position: absolute; left: 14px; bottom: 12px; color: rgba(255,255,255,0.8);
  font-size: 12px; font-weight: 500;
}

.block { padding: 40px 0; border-top: 1px solid var(--line); }
.block h3 {
  font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 18px;
  letter-spacing: -0.03em; line-height: 1.3;
  background: rgba(31,77,51,0.08); border-left: 4px solid var(--green);
  padding: 11px 16px; border-radius: 0 8px 8px 0;
}
.who { list-style: none; }
.who li { font-size: 15px; color: var(--ink-2); line-height: 1.7; padding: 5px 0 5px 24px; position: relative; }
.who li::before { content: ''; position: absolute; left: 4px; top: 13px; width: 6px; height: 6px; border-radius: 999px; background: var(--teal); }
.learn { font-size: 15px; color: var(--ink-2); line-height: 1.8; }
.learn .hl { font-weight: 500; }

/* 커리큘럼 */
.curri { list-style: none; counter-reset: c; }
.curri li {
  display: flex; align-items: baseline; gap: 12px; padding: 11px 0;
  border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2);
}
.curri li:first-child { border-top: none; }
.curri li .n {
  counter-increment: c; font-family: ui-monospace, monospace; font-size: 12px;
  color: var(--mute-2); flex-shrink: 0; width: 22px;
}
.curri li .n::before { content: counter(c, decimal-leading-zero); }
.curri li .len { margin-left: auto; font-size: 12px; color: var(--mute-2); font-family: ui-monospace, monospace; }

/* 가격 박스 */
.pricebox {
  border: 1.5px solid var(--green); border-radius: 14px; padding: 22px;
  background: rgba(31,77,51,0.025);
}
.pricebox .row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; font-size: 14px; color: var(--ink-2); }
.pricebox .row .v { font-weight: 600; color: var(--ink); }
.pricebox .total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; }
.pricebox .total .was { font-size: 13px; color: var(--mute-2); text-decoration: line-through; margin-right: 8px; }
.pricebox .total .now { font-size: 24px; font-weight: 700; color: var(--green); }

/* ── 신청서 페이지 ── */
.form-head { padding: 24px 0 8px; }
.form-head h1 { font-size: 32px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.form-head p { font-size: 15px; color: var(--mute); margin-top: 10px; line-height: 1.6; }

.summary {
  border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin: 24px 0;
  background: var(--soft);
}
.summary .row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; }
.summary .row .k { color: var(--mute); }
.summary .row .v { color: var(--ink); font-weight: 600; }
.summary .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.summary .total .v { color: var(--green); font-size: 17px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); font-weight: 500; margin-bottom: 6px; }
.field label .req { color: var(--red); margin-left: 2px; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; padding: 0 14px; height: 46px; font-size: 15px; font-family: inherit;
  color: var(--ink); transition: .15s;
}
.field textarea { height: auto; padding: 12px 14px; line-height: 1.6; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); }

/* 결제 안내 박스 */
.pay-note {
  border: 1px solid #fde68a; background: #fffbeb; border-radius: 12px;
  padding: 18px 20px; margin: 24px 0; font-size: 15px; color: #5c4406; line-height: 1.75;
}
.pay-note b { color: #5c4406; }
.pay-steps { list-style: none; counter-reset: s; margin-top: 10px; }
.pay-steps li { counter-increment: s; position: relative; padding: 3px 0 3px 24px; }
.pay-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 3px;
  width: 16px; height: 16px; border-radius: 999px; background: #f0c33b; color: #5c4406;
  font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

@media (max-width: 600px) {
  .hero h1 { font-size: 34px; }
  .detail-head h1 { font-size: 30px; }
  .section-head h2 { font-size: 23px; }
  .rows h3 { font-size: 20px; }
  .problem-list .pq { font-size: 17px; }
  .block h3 { font-size: 20px; }
  .perks { grid-template-columns: 1fr; }
  .nav .links { gap: 0; }
}

/* ── 상세 추가 컴포넌트 (열펌의 정석 1탄 실내용) ── */

/* 8단계 강조 라인 */
.eight {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  background: rgba(31,77,51,0.06); color: var(--green);
  border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600;
}

/* 베네핏(핵심 효익) */
.benefits { list-style: none; }
.benefits li {
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px;
  font-size: 15px; color: var(--ink-2); line-height: 1.6; position: relative; padding-left: 46px;
}
.benefits li .no {
  position: absolute; left: 16px; top: 16px; width: 20px; height: 20px;
  border-radius: 999px; background: var(--green); color: #fff;
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.benefits li b { color: var(--ink); font-weight: 700; }

/* 강조 칩 줄 */
.tagline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tagline span {
  background: rgba(250,204,21,0.22); color: #92660a; border-radius: 999px;
  padding: 6px 12px; font-size: 13px; font-weight: 600;
}

/* 강사 소개 */
.tutor { display: flex; gap: 18px; align-items: flex-start; }
.tutor .photo {
  width: 96px; height: 120px; border-radius: 10px; flex-shrink: 0;
  background: var(--soft); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--mute-2); font-size: 11px; text-align: center;
}
.tutor .who2 { flex: 1; }
.tutor .who2 .hi { font-size: 14px; color: var(--mute); }
.tutor .who2 .nm { font-size: 22px; font-weight: 700; color: var(--ink); margin: 4px 0 12px; }
.tutor .who2 .nm small { font-size: 13px; font-weight: 500; color: var(--teal); margin-left: 8px; }
.career { list-style: none; margin-top: 4px; }
.career li { font-size: 13px; color: var(--ink-2); line-height: 1.7; padding-left: 14px; position: relative; }
.career li::before { content: '·'; position: absolute; left: 2px; color: var(--mute-2); }

/* 커리큘럼 챕터 */
.chapter-intro { font-size: 13px; color: var(--mute); margin-bottom: 18px; }
.chapters { list-style: none; }
.chapters > li { border-top: 1px solid var(--line); padding: 16px 0; }
.chapters > li:first-child { border-top: none; }
.chapters .ch-head { display: flex; gap: 10px; align-items: baseline; }
.chapters .ch-no {
  font-family: ui-monospace, monospace; font-size: 12px; color: #fff;
  background: var(--green); border-radius: 5px; padding: 2px 7px; flex-shrink: 0; font-weight: 600;
}
.chapters .ch-no.sup { background: var(--teal); }
.chapters .ch-title { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.chapters .ch-sub { list-style: none; margin: 8px 0 0 44px; }
.chapters .ch-sub li { font-size: 13px; color: var(--mute); line-height: 1.7; padding-left: 12px; position: relative; }
.chapters .ch-sub li::before { content: '–'; position: absolute; left: 0; color: var(--mute-2); }

/* 종합 VOD 업셀 박스 */
.upsell {
  border: 1.5px dashed var(--green); border-radius: 14px; padding: 20px 22px;
  background: rgba(31,77,51,0.025); margin-top: 28px;
}
.upsell .h { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.upsell .d { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.upsell .pr { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.upsell .pr .was { font-size: 13px; color: var(--mute-2); text-decoration: line-through; }
.upsell .pr .now { font-size: 20px; font-weight: 700; color: var(--green); }
.upsell .pr .off { background: var(--red); color: #fff; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 2px 7px; }
.upsell a { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--green); text-decoration: none; }
.upsell a:hover { text-decoration: underline; }

/* 마무리 클로징 */
.closing { text-align: center; padding: 48px 0 8px; }
.closing p { font-size: 17px; color: var(--ink-2); line-height: 1.7; }
.closing .big { font-size: 22px; font-weight: 700; color: var(--ink); margin-top: 8px; }

/* ── 커버 썸네일 (실제 강의 커버 스타일: 사진 + 컬러 패널 + 말풍선 + 제목) ── */
.cover-thumb {
  width: 140px; height: 96px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden; position: relative; display: block;
  --cv: var(--green);          /* 강의별 컬러 (변형에서 덮어씀) */
  --cv-ink: #fff;              /* 패널 글씨색 */
  background: var(--cv);
}
/* 모발 사진 자리 (왼쪽) */
.cover-thumb .photo {
  position: absolute; left: 0; top: 0; bottom: 0; width: 52%;
  background: linear-gradient(135deg, #d8cfc8, #b3a79f);
}
.cover-thumb .photo::after {
  content: '모발'; position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center; color: rgba(255,255,255,0.8);
  font-size: 9px; font-weight: 600;
}
/* 컬러 패널 (오른쪽, 사선) */
.cover-thumb .panel {
  position: absolute; right: 0; top: 0; bottom: 0; left: 40%;
  background: var(--cv); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0% 100%);
  padding: 9px 9px 9px 20px; display: flex; flex-direction: column; justify-content: center;
}
.cover-thumb .bubble {
  align-self: flex-start; background: #fff; color: var(--cv);
  font-size: 8px; font-weight: 800; border-radius: 8px 8px 8px 2px;
  padding: 2px 6px; margin-bottom: 5px; letter-spacing: -0.02em; line-height: 1.2;
}
.cover-thumb .ptitle {
  font-size: 13px; font-weight: 900; line-height: 1.15;
  color: var(--cv-ink); letter-spacing: -0.04em;
}
.cover-thumb .pstep { font-size: 8px; font-weight: 700; color: var(--cv-ink); opacity: 0.9; margin-top: 3px; }

/* 강의별 컬러 */
.cover-thumb.green { --cv: #1F4D33; --cv-ink: #fff; }
.cover-thumb.red   { --cv: #C0392B; --cv-ink: #fff; }
.cover-thumb.gold  { --cv: #F0C23C; --cv-ink: #1F4D33; }
.cover-thumb.gold .bubble { color: #9a7b0a; }

/* 썸네일이 들어간 행은 가운데 정렬로 */
.rows a.has-thumb { align-items: center; }

@media (max-width: 600px) {
  .cover-thumb { width: 116px; height: 80px; }
  .cover-thumb .ptitle { font-size: 11px; }

  /* 모바일 최적화: 썸네일 행을 세로로 쌓아 설명이 한 줄에 끼지 않고 전체 너비를 쓰게 */
  .rows a.has-thumb { flex-direction: column; align-items: stretch; gap: 12px; }
  .rows a.has-thumb .cover-thumb { width: 100%; height: 132px; }
  .rows a.has-thumb > div[style] { min-width: 0; }
  .rows a.has-thumb p { font-size: 15px; }
  .rows a.has-thumb .right {
    text-align: left; min-width: 0;
    display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  }
  .rows a.has-thumb .right .price { display: flex; align-items: baseline; gap: 8px; }
  .rows a.has-thumb .right .price .was { display: inline; }
  .rows a.has-thumb .right .arrow { display: none; }
}

/* ── 상세 페이지 강의별 테마 accent (CTA 버튼은 그린 유지) ── */
body.theme-red .detail-head .tag { color: var(--red); }
body.theme-red .eight { background: rgba(160,50,45,0.08); color: var(--red); }
body.theme-red .block h3 { background: rgba(160,50,45,0.08); border-left-color: var(--red); }
body.theme-red .pricebox { border-color: var(--red); background: rgba(160,50,45,0.03); }
body.theme-red .pricebox .total .now { color: var(--red); }
body.theme-red .benefits li .no { background: var(--red); }
body.theme-red .who li::before { background: var(--red); }
body.theme-red .tutor .who2 .nm small { color: var(--red); }

body.theme-gold .detail-head .tag { color: #9a7b0a; }
body.theme-gold .eight { background: rgba(232,197,71,0.25); color: #8a6d00; }
body.theme-gold .block h3 { background: rgba(232,197,71,0.20); border-left-color: #d3b43e; }
body.theme-gold .pricebox { border-color: #d3b43e; background: rgba(232,197,71,0.08); }
body.theme-gold .pricebox .total .now { color: #9a7b0a; }
body.theme-gold .benefits li .no { background: #c19a14; }
body.theme-gold .who li::before { background: #c19a14; }
body.theme-gold .tutor .who2 .nm small { color: #9a7b0a; }

/* ── 히어로 강조 배지 (복습권 페이지 등) ── */
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: #fff;
  font-size: 16px; font-weight: 800; letter-spacing: -0.02em;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 18px;
}
@media (max-width: 600px) {
  .hero-badge { font-size: 14px; padding: 7px 14px; }
}

/* ── 할인 표시 (전 페이지 공통) ── */
.off {
  display: inline-block; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 800; border-radius: 6px; padding: 1px 6px;
  vertical-align: middle; letter-spacing: -0.02em;
}
.price .now { font-size: 17px; font-weight: 800; color: var(--green); }
.price .off { margin-top: 4px; }

/* 패키지/상세 프로모 가격 박스 */
.promo-price { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px; }
.promo-price .toprow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.promo-price .off { font-size: 15px; padding: 4px 10px; border-radius: 8px; }
.promo-price .was { color: var(--mute-2); text-decoration: line-through; font-size: 14px; }
.promo-price .save { color: var(--red); font-weight: 800; font-size: 14px; }
.promo-price .nowrow { display: flex; align-items: baseline; justify-content: space-between; }
.promo-price .nowrow .label { font-size: 14px; color: var(--mute); }
.promo-price .nowrow .now { font-size: 30px; font-weight: 800; color: var(--green); letter-spacing: -0.03em; }

/* ── 할인 혜택 강조 박스 (상세 가격) ── */
.deal {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: rgba(250,204,21,0.16); border: 1.5px solid rgba(232,197,71,0.6);
  border-radius: 12px; padding: 16px 18px; margin-top: 12px;
}
.deal .deal-off {
  background: var(--red); color: #fff; font-size: 18px; font-weight: 900;
  border-radius: 10px; padding: 6px 12px; letter-spacing: -0.02em;
}
.deal .deal-prices { display: flex; flex-direction: column; line-height: 1.25; }
.deal .deal-was { font-size: 15px; color: var(--mute); text-decoration: line-through; }
.deal .deal-now { font-size: 30px; font-weight: 900; color: var(--green); letter-spacing: -0.03em; }
.deal .deal-save { margin-left: auto; color: var(--red); font-weight: 800; font-size: 16px; white-space: nowrap; }
@media (max-width: 600px) {
  .deal .deal-save { margin-left: 0; width: 100%; }
  .deal .deal-now { font-size: 26px; }
}

/* ── 강사 사진 ── */
.tutor img.photo { object-fit: cover; }

/* ── 하단 고정 신청 바 (와디즈식) ── */
.with-buybar { padding-bottom: 88px; }
.buybar { position: fixed; left:0; right:0; bottom:0; background:#fff; border-top:1px solid var(--line); box-shadow:0 -4px 16px rgba(0,0,0,.07); z-index:50; }
.buybar .in { max-width:680px; margin:0 auto; padding:12px 24px; display:flex; align-items:center; gap:14px; }
.buybar .bb-info { flex:1; min-width:0; display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.buybar .bb-off { color:var(--red); font-weight:900; font-size:17px; }
.buybar .bb-was { font-size:13px; color:var(--mute-2); text-decoration:line-through; }
.buybar .bb-now { font-size:22px; font-weight:900; color:var(--green); letter-spacing:-0.03em; }
.buybar .bb-btn { flex-shrink:0; background:var(--green); color:#fff; font-size:16px; font-weight:800; border-radius:999px; padding:13px 28px; text-decoration:none; }
.buybar .bb-btn:hover { background:var(--green-hover); }

/* ── 첫 오픈 강조 (반짝/각인) ── */
/* 상단 띠 — 빛이 한 번씩 쓸고 지나감 */
.topribbon {
  background: #163828; color: #fff; text-align: center;
  font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em;
  padding: 10px 16px; position: relative; overflow: hidden;
}
.topribbon b { color: #ffe46b; }
.topribbon::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-20deg); animation: ribbonSweep 4s ease-in-out infinite;
}
@keyframes ribbonSweep { 0%{left:-60%} 55%{left:130%} 100%{left:130%} }

/* 히어로 첫 오픈 배지 — 빛 흐르는 그라데이션 + 반짝 */
.firstever {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  background: linear-gradient(110deg, #1F4D33 0%, #2EA88C 45%, #1F4D33 90%);
  background-size: 220% 100%;
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -0.02em;
  padding: 10px 18px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(31,77,51,.28);
  animation: shine 3.2s linear infinite;
}
@keyframes shine { 0%{background-position:220% 0} 100%{background-position:-220% 0} }
.firstever .spark { animation: twinkle 1.6s ease-in-out infinite; font-size: 16px; }
@keyframes twinkle { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.35;transform:scale(.75)} }

/* 마감 D-day 살짝 맥박 */
.deadline .dday { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.12)} }

@media (prefers-reduced-motion: reduce) {
  .topribbon::after, .firstever, .firstever .spark, .deadline .dday { animation: none; }
}

/* ── 실제 모발 사진 (커버 썸네일 + 상세 미리보기) ── */
.cover-thumb .photo { background-size: cover; background-position: center; }
.cover-thumb .photo::after { content: none; }
.cover-thumb.green .photo { background-image: url('cover_yeolpeom1.png'); }
.cover-thumb.red   .photo { background-image: url('cover_recovery1.png'); }
.cover-thumb.gold  .photo { background-image: url('cover_recovery2.png'); }

.preview { background-size: cover; background-position: center top; }
.preview::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.22); }
.preview .play { position: relative; z-index: 2; }
.preview .cap { z-index: 2; }
.preview { background-image: url('썸네일/정석_열펌의정석1탄.png'); background-position: center; }
body.theme-red .preview { background-image: url('썸네일/정석_복구의정석1탄.png'); }
body.theme-gold .preview { background-image: url('썸네일/정석_복구의정석2탄.png'); }

/* ── 사회적 증거 + 후기 ── */
.proofline { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
.proofline b { color: var(--green); }
.review-card { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: rgba(31,77,51,0.02); }
.review-card .rq { font-size: 17px; line-height: 1.75; color: var(--ink); font-weight: 600; }
.review-card .rby { font-size: 13px; color: var(--mute); margin-top: 14px; font-weight: 600; }
.review-shot { display: block; width: 100%; max-width: 300px; margin: 18px auto 0; border-radius: 12px; border: 1px solid var(--line); }

/* ── 한정 인원 배너 (패키지) ── */
.limit-banner {
  display: flex; align-items: center; gap: 9px;
  background: var(--red); color: #fff; border-radius: 10px;
  padding: 11px 15px; margin: 16px 0 4px;
  font-size: 15px; font-weight: 800; letter-spacing: -0.02em;
}
.limit-banner .ic { font-size: 18px; }
.limit-banner .n { background: #fff; color: var(--red); border-radius: 6px; padding: 1px 9px; font-weight: 900; }

/* 첫 오픈 배지 + 서브텍스트 */
.hero .firstever { margin-bottom: 10px; }
.firstever-sub { font-size: 13.5px; color: #565656; margin: 0 0 18px 2px; line-height: 1.5; }

/* ── 줄바꿈 다듬기 (데스크탑·모바일 공통) ── */
h1, h2, h3, .firstever, .deal .deal-now { text-wrap: balance; }
p, .desc, .lede, .one, .learn, .rq, .section-head .sub, .firstever-sub,
.review-card .rq, .perk .d, .faq .a, .bundle .desc { text-wrap: pretty; }

/* ── 후기 갤러리 ── */
.review-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.review-gallery img { width: 100%; border-radius: 12px; border: 1px solid var(--line); display: block; }
@media (max-width: 600px) { .review-gallery { grid-template-columns: 1fr; } }

/* ── 패키지 박스 안 미니 커버 줄 ── */
.bundle-covers { display: flex; gap: 8px; margin-bottom: 16px; }
.bundle-covers .cover-thumb { width: auto; flex: 1; height: 82px; }
.bundle-covers .cover-thumb .bubble { display: none; }
.bundle-covers .cover-thumb .ptitle { font-size: 12px; text-align: center; }
.bundle-covers .cover-thumb .panel {
  left: 46%; clip-path: none; padding: 8px 8px;
  align-items: center; text-align: center;
}

/* ── 패키지 첫 구매 책 증정 박스 ── */
.gift-box {
  display: flex; gap: 16px; align-items: center; margin-bottom: 18px;
  background: rgba(250,204,21,0.16); border: 1.5px solid rgba(232,197,71,0.65);
  border-radius: 14px; padding: 18px;
}
.gift-box .book { width: 66px; flex-shrink: 0; border-radius: 6px; border: 1px solid rgba(0,0,0,.08); box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.gift-box .gift-head { font-weight: 800; color: #8a6d00; font-size: 15px; margin-bottom: 6px; }
.gift-box p { font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.gift-box p b { color: var(--ink); font-weight: 800; }
.gift-box .gift-note { font-size: 12px; color: var(--mute); margin-top: 6px; }
@media (max-width: 600px) { .gift-box { flex-direction: column; align-items: flex-start; } .gift-box .book { width: 58px; } }

/* ── 미리보기 영상 ── */
.preview-video { width: 100%; height: auto; border-radius: 14px; display: block; margin-top: 24px; background: #000; }

/* ── 멀티섹션 신청 폼 ── */
.form-section { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 28px; }
.form-section.first { border-top: none; padding-top: 0; margin-top: 0; }
.fs-title { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 4px; }
.fs-desc { font-size: 13px; color: var(--mute); line-height: 1.6; margin-bottom: 18px; }
.choice { display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; cursor: pointer; transition: .12s; }
.choice:hover { border-color: var(--green); background: rgba(31,77,51,0.02); }
.choice input { margin-top: 3px; flex-shrink: 0; accent-color: var(--green); }
.choice .c-main { font-size: 14px; font-weight: 700; color: var(--ink); }
.choice .c-sub { font-size: 12px; color: var(--mute); margin-top: 3px; line-height: 1.5; }
.agree-box { border: 1px solid var(--line); border-radius: 12px; padding: 6px 16px; }
.agree { display: flex; gap: 10px; align-items: flex-start; padding: 14px 0; border-top: 1px dashed var(--line); }
.agree:first-child { border-top: none; }
.agree input { margin-top: 3px; flex-shrink: 0; accent-color: var(--green); }
.agree .a-text { font-size: 13px; color: var(--ink-2); line-height: 1.65; }
.agree .a-text b { color: var(--ink); font-weight: 700; }
.cond { display: none; }
.cond.on { display: block; }
