@charset "utf-8";
/* ============================================================
   WORKNEST — PLAY (Ai 교육과정) 화면

   메인 · MATE 처럼 한 화면씩 넘어간다 (css/fullpage.css · js/fullpage.js, 2026-09-29).
   첫 화면(영상) → 교육과정 → 맺음말. 좁은 화면에서는 아래로 죽 이어진다.
   (예전 「보는 방법」 세 단계 구역은 2026-09-29 에 뺐다)
   ============================================================ */

/* ── ② 교육과정 — 구독 요금표 모양 ─────────────────────────
   과정 하나에 카드 한 장. 화면 폭에 맞춰 세 칸으로 나란히 선다.
   카드 안 목록(.pl-plan-list)은 관리자가 적은 서브타이틀 줄이다.
   바탕은 칠하지 않는다 — 흰 카드 + 옅은 테두리, 그라데이션 없음. */
.pl-courses { position: relative; background: #fff; }

/* 머리 — 「— ai PLAY」 이름표 + 「Ai 교육과정」, 가운데 정렬 (2026-09-29 사이트 주인)
   MATE 의 「— ai MATE / MATE 과정안내」(css/lesson.css .ls-frame-head)와 같은 모양 */
.section-head.pl-head { max-width: none; text-align: center; }
.section-head.pl-head .eyebrow,
.ls-frame-head .eyebrow { text-transform: none; letter-spacing: .06em; }

.pl-shelf {
  display: grid; gap: clamp(18px, 2vw, 28px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.pl-plan {
  display: flex; flex-direction: column;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; color: var(--ink);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}
.pl-plan.is-ready:hover,
.pl-plan.is-ready:focus-visible { border-color: var(--brand); box-shadow: var(--shadow-2); transform: translateY(-4px); }
.pl-plan.is-soon { border-style: dashed; }

/* 과정 이름 — 카드 맨 위의 작은 이름표 (큰 제목은 과정 타이틀) */
.pl-plan-tag {
  align-self: flex-start;
  padding: 5px 12px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-700);
  font-size: .76rem; font-weight: 800; letter-spacing: .06em;
}
.pl-plan.is-soon .pl-plan-tag { background: var(--bg-mute); color: var(--gray-2); }
.pl-plan-tag + .pl-plan-name { margin-top: 14px; }

.pl-plan-name {
  margin-top: 0;
  font-size: clamp(1.15rem, 1rem + .5vw, 1.42rem); line-height: 1.4;
}

/* 요금 자리 — 지금 볼 수 있는 영상 수 */
.pl-plan-price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px;
  margin-top: 18px; padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.pl-plan-price b {
  font-size: clamp(2.3rem, 1.7rem + 1.6vw, 3.1rem); font-weight: 900;
  line-height: 1; letter-spacing: -.03em; color: var(--ink);
}
.pl-plan-price b.is-soon { font-size: clamp(1.5rem, 1.2rem + .8vw, 1.9rem); color: var(--gray-2); }
.pl-plan-price span { font-size: 1.1rem; font-weight: 800; }
.pl-plan-price small { flex-basis: 100%; margin-top: 6px; font-size: .82rem; color: var(--gray-2); }

/* 서브타이틀 목록 — 줄마다 체크 표시 */
.pl-plan-list { display: grid; gap: 12px; margin: 22px 0 28px; }
.pl-plan-list li {
  position: relative; padding-left: 30px;
  font-size: .94rem; line-height: 1.55; color: var(--ink);
}
.pl-plan-list li::before {                 /* 옅은 동그라미 */
  content: ''; position: absolute; left: 0; top: .12em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-50);
}
.pl-plan-list li::after {                  /* 체크 — base.css 의 --ico-check 를 메뉴 색으로 칠한다 */
  content: ''; position: absolute; left: 5px; top: calc(.12em + 5px);
  width: 10px; height: 10px;
  background: var(--brand);
  -webkit-mask: var(--ico-check) center / contain no-repeat;
          mask: var(--ico-check) center / contain no-repeat;
}
.pl-plan.is-soon .pl-plan-list li { color: var(--gray); }
.pl-plan.is-soon .pl-plan-list li::before { background: var(--bg-mute); }
.pl-plan.is-soon .pl-plan-list li::after { background: var(--gray-3); }

/* 단추 자리 — 처음엔 테두리만, 카드에 마우스를 올리면 주황으로 채워진다 (메인 가입 혜택 단추와 같은 방식) */
.pl-plan-cta {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; border-radius: 999px;
  border: 2px solid var(--brand); color: var(--brand-700);
  font-size: 1rem; font-weight: 800;
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.pl-plan.is-ready .pl-plan-cta::after { content: '→'; }
.pl-plan.is-ready:hover .pl-plan-cta,
.pl-plan.is-ready:focus-visible .pl-plan-cta { background: var(--brand); color: #fff; }
.pl-plan.is-soon .pl-plan-cta { border-color: var(--line); color: var(--gray-2); }

/* ── 한 화면 틀 (.pl-frame) ────────────────────────────────
   풀페이지가 아닐 때(휴대폰 · 좁은 창)는 위아래 여백만 둔다.
   풀페이지일 때 낮은 화면(노트북 760px 안팎)에서는 카드를 조금 줄여 한 화면에 들어가게 한다. */
.pl-frame .fp-inner { padding-block: 56px; }
@media (max-height: 900px) {
  body.fp-on .pl-frame .section-head.pl-head { margin-bottom: 16px; }
  body.fp-on .pl-frame .section-head.pl-head h2 { margin: 6px 0 0; font-size: 1.6rem; }
  body.fp-on .pl-frame .pl-plan { padding: 18px 24px; }
  body.fp-on .pl-frame .pl-plan-tag { padding: 4px 11px; font-size: .72rem; }
  body.fp-on .pl-frame .pl-plan-tag + .pl-plan-name { margin-top: 8px; }
  body.fp-on .pl-frame .pl-plan-name { font-size: 1.08rem; }
  body.fp-on .pl-frame .pl-plan-price { margin-top: 8px; padding-bottom: 10px; }
  body.fp-on .pl-frame .pl-plan-price b { font-size: 1.6rem; }
  body.fp-on .pl-frame .pl-plan-price small { margin-top: 2px; }
  body.fp-on .pl-frame .pl-plan-list { margin: 10px 0 14px; gap: 3px; }
  body.fp-on .pl-frame .pl-plan-list li { font-size: .88rem; line-height: 1.45; }
  body.fp-on .pl-frame .pl-plan-list li::before { top: .06em; }
  body.fp-on .pl-frame .pl-plan-list li::after { top: calc(.06em + 5px); }
  body.fp-on .pl-frame .pl-plan-cta { height: 42px; }
}

/* 4K · 세로로 긴 화면 — 「Ai 교육과정」 제목과 카드 사이를 MATE 과정안내와 똑같이 띄운다 (2026-09-29 사이트 주인).
   조건 · 값은 css/lesson.css 의 같은 규칙과 맞춘다 */
@media (min-height: 1100px), (min-height: 900px) and (max-aspect-ratio: 3/2) {
  body.fp-on .pl-frame .section-head.pl-head { margin-bottom: clamp(28px, 6vh, 96px); }
}

/* ── 좁은 화면 — 한 줄에 한 장 ────────────────────────────── */
@media (max-width: 900px) {
  .pl-shelf { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-plan { transition: none; }
  .pl-plan.is-ready:hover, .pl-plan.is-ready:focus-visible { transform: none; }
}
