/* 클래스업 뷰 페이지(/classup/) 전용 — 공용 틀 site.css 위에 덮음
   색 정본: 클래스업 #6c60f4 · 깊은 보라 #1B1840 · 연보라 #F1EFFF(브로셔 bro-cv CSS) */
body.cu {
  --accent: #6c60f4;
  --accent-ink: #ffffff;
  --deep: #1B1840;
  --lilac: #F1EFFF;
  --hi: #C9BCFF;
}
.cu .top nav a.hide-xs { color: var(--ink); font-weight: 600; }

/* 첫 화면 */
.cu .hero { background: radial-gradient(120% 90% at 85% 0%, #ece9ff 0%, #ffffff 58%); }
.cu .hero h1 em { font-style: normal; color: var(--accent); }
.cu .eyebrow .em { height: 16px; width: auto; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; font-size: 15px; color: var(--sub); }
.facts li { display: flex; gap: 10px; align-items: center; }
.facts li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c60f4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.facts b { color: var(--ink); }

figure.film { margin: 0; position: relative; }
.film.real figcaption {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(17, 15, 40, .72); color: #fff; font-size: 13px; font-weight: 600;
  backdrop-filter: blur(6px);
}
.live { width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 0 0 rgba(255,77,94,.6); animation: live 1.6s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(255,77,94,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,94,0); } }
.film img { width: 100%; height: 100%; object-fit: cover; }

/* 실제 화면 둘러보기 */
.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tour-tabs button {
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--sub);
}
.tour-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.tour-tabs button:focus-visible { outline: 3px solid var(--hi); outline-offset: 2px; }
.tour-body { display: grid; grid-template-columns: 1.45fr 1fr; gap: 36px; align-items: center; }
.tour-body > * { min-width: 0; }
.tour-film { background: #e9e7f5; }
.tour-text .hook { font-size: 15px; font-weight: 700; color: var(--accent); margin: 0 0 8px; }
.tour-text h3 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; letter-spacing: -.02em; margin: 0 0 14px; }
.tour-text ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tour-text li { display: flex; gap: 10px; }
.tour-text li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--accent); }

/* 고민 6편 */
.eps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.eps > * { min-width: 0; }
.ep .film { box-shadow: 0 16px 40px -24px rgba(27,24,64,.45); position: relative; }
.ep .hook { font-size: 14px; font-weight: 700; color: var(--accent); margin: 14px 0 4px; }
.ep h3 { font-size: 19px; margin: 0; letter-spacing: -.01em; }
.ep .tag { margin-top: 8px; }
.ep.soon .film img { filter: saturate(.6); opacity: .85; }
.badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--deep); font-size: 12px; font-weight: 700; }

/* 세 프로그램 */
.cu section.band.dark { background: var(--deep); }
.fam .card { text-decoration: none; display: flex; flex-direction: column; gap: 4px; transition: transform .15s, border-color .15s; }
.fam .card:hover { transform: translateY(-3px); border-color: rgba(201,188,255,.5); }
.fam .card h3 { color: #fff; font-size: 22px; margin: 12px 0 4px; }
.fam .card p { color: #b9b4dc; flex: 1; }
.logo-chip { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #0E9696; color: #fff; }
.logo-chip img { width: 30px; height: 30px; }
.logo-chip svg { width: 26px; height: 26px; }
.logo-chip.chat { background: #22c1a8; }
.logo-chip.cu { background: var(--accent); }
.more { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--hi); }
.more::after { content: " →"; }

/* 요금 */
.price { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.price > * { min-width: 0; }
.pr { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.pr > div { grid-row: span 2; display: grid; gap: 2px; }
.pr b { font-size: 18px; }
.pr span { color: var(--sub); font-size: 15px; }
.pr strong { font-size: 22px; text-align: right; letter-spacing: -.01em; }
.pr small { color: var(--sub); text-align: right; font-size: 13px; }
.pr:first-child strong { color: var(--accent); }
.note { color: var(--sub); font-size: 14px; margin: 16px 0 0; }
.calc { position: sticky; top: 84px; display: grid; gap: 14px; box-shadow: 0 20px 50px -30px rgba(27,24,64,.4); }
.calc h3 { margin: 0; font-size: 20px; }
.calc label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.calc label .out { justify-self: end; margin-top: -26px; color: var(--accent); font-weight: 800; }
.calc input[type=range] { width: 100%; accent-color: var(--accent); }
.chk { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.chk input { width: 18px; height: 18px; accent-color: var(--accent); }
.calc dl { margin: 4px 0 0; display: grid; gap: 6px; padding-top: 12px; border-top: 1px dashed var(--line); }
.calc dl div { display: flex; justify-content: space-between; }
.calc dt { color: var(--sub); }
.calc dd { margin: 0; font-weight: 700; }
.calc .sum dd { color: var(--accent); font-size: 22px; }
.btn.wide { width: 100%; justify-content: center; }

/* 자료 */
.bro { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.bro a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .15s; }
.bro a:hover { transform: translateY(-3px); }
.bro img { width: 100%; height: auto; }
.faq { margin-top: 40px; display: grid; gap: 10px; max-width: 760px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 10px 0 0; color: var(--sub); }

/* 가입 */
.join { background: linear-gradient(160deg, #6c60f4 0%, #4a3fcf 100%); color: #fff; }
.join .sub { color: rgba(255,255,255,.82); }
.join-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.join-grid > * { min-width: 0; }
.join-steps { margin: 0 0 24px; padding-left: 20px; display: grid; gap: 8px; }
.tel-line { font-size: 18px; margin: 0 0 6px; }
.tel-line a { color: #fff; font-weight: 800; font-size: 26px; text-decoration: none; margin-left: 6px; }
.login-line { color: rgba(255,255,255,.82); margin: 0; }
.login-line a { color: #fff; font-weight: 700; }
.jform { color: var(--ink); display: grid; gap: 14px; }
.jform label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.jform label b { color: #e5484d; }
.jform input:not([type=checkbox]), .jform textarea {
  font: inherit; font-size: 16px; padding: 11px 13px; border-radius: 10px;
  border: 1px solid #d5d9e0; background: #fff; color: var(--ink); width: 100%;
}
.jform input:focus, .jform textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.jform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jform fieldset { border: 0; padding: 0; margin: 0; }
.jform legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.wants { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.wants label { display: flex; flex-direction: row; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.wants input, .agree input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.agree { font-size: 13px !important; color: var(--sub); align-items: flex-start !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { margin: 0; font-size: 15px; font-weight: 600; min-height: 1.4em; }
.msg.ok { color: #0e7a5f; }
.msg.bad { color: #d43b40; }
.jform.done > :not(.msg):not(.donebox) { display: none; }
.donebox { text-align: center; padding: 20px 4px; }
.donebox h3 { font-size: 22px; margin: 8px 0; }
.donebox p { color: var(--sub); margin: 0 0 4px; }

@media (max-width: 900px) {
  .tour-body, .price, .join-grid { grid-template-columns: minmax(0, 1fr); }
  .eps { grid-template-columns: repeat(2, 1fr); }
  .bro { grid-template-columns: repeat(2, 1fr); }
  .calc { position: static; }
}
@media (max-width: 560px) {
  .eps { grid-template-columns: minmax(0, 1fr); }
  .top nav { gap: 14px; }
  .jform .row2, .wants { grid-template-columns: minmax(0, 1fr); }
  .pr strong { font-size: 19px; }
}
@media (max-width: 380px) {
  .top nav a.hide-xs { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .live { animation: none; }
}

/* 납부 방법 — 12개월 약정 · 24개월 선불 */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.plan { border: 1px solid var(--line, #e3e6ec); border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; background: #fff; }
.plan b { font-size: 16px; color: var(--accent); }
.plan span { font-size: 13.5px; color: #66707c; line-height: 1.5; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 12px; background: #f1f0fb; }
.calc .seg label { display: flex; align-items: center; justify-content: center; gap: 0; padding: 10px 6px; border-radius: 9px; font-size: 13.5px; font-weight: 700; color: #4b5260; cursor: pointer; text-align: center; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: #fff; color: var(--accent); box-shadow: 0 2px 8px -3px rgba(27,24,64,.25); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 1px; }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
