/* 이용요금 — 학원 색: 초록 --site-primary(#48c78e) + 남색 --site-header(#42445a) */
.pr-page { background: linear-gradient(180deg, #eef8f3 0, var(--site-bg, #f5f6f8) 420px); }
.pr-main { max-width: 1120px; margin: 0 auto; padding-bottom: 3rem; word-break: keep-all; }

.pr-hero { text-align: center; padding: 1.1rem 1rem 0.4rem; }
.pr-eyebrow { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--site-primary-light, #e9f7f0); color: #15803d; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.02em; }
.pr-hero h1 { margin: 0.8rem 0 0.5rem; font-size: clamp(1.5rem, 3.2vw, 2.15rem); color: var(--site-header, #42445a); letter-spacing: -0.03em; }
.pr-hero-sub { margin: 0 auto; max-width: 560px; color: #64748b; font-size: 0.98rem; line-height: 1.6; }
.pr-cycle { display: inline-flex; gap: 4px; margin-top: 1.4rem; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05); }
.pr-cycle button { border: 0; background: transparent; border-radius: 999px; padding: 0.5rem 1.1rem; font: inherit; font-size: 0.9rem; font-weight: 700; color: #64748b; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.pr-cycle button.is-on { background: var(--site-header, #42445a); color: #fff; }
.pr-save { font-size: 0.7rem; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: var(--site-primary, #48c78e); color: #fff; }
.pr-draft-note { margin: 1rem auto 0; max-width: 620px; font-size: 0.84rem; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 0.55rem 0.9rem; }

/* 카드 */
.pr-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; align-items: stretch; margin-top: 0.6rem; }
.pr-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 1.6rem 1.4rem 1.5rem; box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05); transition: transform 0.15s, box-shadow 0.15s; }
.pr-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1); }
.pr-card.is-picked { border: 2px solid #48c78e; background: #f3fbf6; box-shadow: 0 0 0 3px #c8f5dc, 0 0 26px 6px rgba(72, 199, 142, 0.55); }
.pr-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; background: var(--site-primary, #48c78e); color: #fff; font-size: 0.76rem; font-weight: 800; white-space: nowrap; box-shadow: 0 4px 10px rgba(72, 199, 142, 0.35); }
.pr-card-head { display: flex; align-items: center; gap: 0.75rem; }
.pr-card-head h3 { margin: 0; font-size: 1.85rem; font-weight: 900; letter-spacing: -0.04em; color: #14532d; }
.pr-card-head p { margin: 2px 0 0; font-size: 0.82rem; color: #64748b; }
.pr-card-ic { flex: none; width: 76px; height: 76px; display: grid; place-items: center; background: transparent; border: 0; }
.pr-tier { display: block; width: 76px; height: 76px; object-fit: contain; }
.pr-free-stand { margin: 1.1rem 0 0; padding: 0.85rem 0.9rem; border-radius: 12px; text-align: center; font-weight: 800; font-size: 0.95rem; line-height: 1.45; color: #14532d; background: #f0fdf4; border: 1px solid #bbf7d0; }
.pr-price { display: flex; align-items: baseline; gap: 4px; margin-top: 1.3rem; color: #0f172a; }
.pr-price b { font-size: 2.45rem; font-weight: 900; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: #0f172a; }
.pr-price span { font-size: 0.92rem; color: #64748b; font-weight: 600; }
.pr-price-sub { margin-top: 2px; min-height: 1.3em; font-size: 0.8rem; color: #94a3b8; }
.pr-price-sub s { color: #cbd5e1; }
.pr-card-btn { display: block; margin-top: 1.1rem; padding: 0.85rem 1rem; border-radius: 12px; text-align: center; text-decoration: none; font-weight: 900; font-size: 1.05rem; letter-spacing: -0.02em; border: 1px solid #cbd5e1; color: #14532d; background: #fff; transition: background 0.15s, border-color 0.15s; }
.pr-card-btn:hover { border-color: var(--site-header, #42445a); background: #f8fafc; }
.pr-card.is-featured .pr-card-btn { background: var(--site-primary, #48c78e); border-color: var(--site-primary, #48c78e); color: #fff; }
.pr-card.is-featured .pr-card-btn:hover { background: var(--site-primary-hover, #3ab57d); }
.pr-card-ultra .pr-card-btn { background: var(--site-header, #42445a); border-color: var(--site-header, #42445a); color: #fff; }
.pr-card-ultra .pr-card-btn:hover { background: #33354a; }
.pr-inherit { margin-top: 1.2rem; font-size: 0.8rem; font-weight: 800; color: #15803d; }
.pr-feats { list-style: none; margin: 0.7rem 0 0; padding: 1rem 0 0; border-top: 1px dashed #e2e8f0; display: grid; gap: 0.65rem; }
.pr-inherit + .pr-feats { margin-top: 0.5rem; }
.pr-feats li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.9rem; color: #334155; line-height: 1.45; }
.pr-feats li svg { flex: none; margin-top: 2px; color: var(--site-primary, #48c78e); background: var(--site-primary-light, #e9f7f0); border-radius: 999px; padding: 2px; box-sizing: content-box; }

/* 섹션 공통 */
.pr-section { margin-top: 3rem; }
.pr-h2 { margin: 0 0 1rem; font-size: 1.3rem; color: var(--site-header, #42445a); text-align: center; letter-spacing: -0.02em; }

/* 비교표 */
.pr-compare-wrap { overflow-x: auto; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; }
.pr-compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.98rem; }
.pr-compare th, .pr-compare td { padding: 0.85rem 0.85rem; border-bottom: 1px solid #e2e8f0; border-right: 1px solid #cbd5e1; text-align: center; }
.pr-compare th:last-child, .pr-compare td:last-child { border-right: 0; }
.pr-compare thead th { font-size: 1.15rem; font-weight: 900; color: #14532d; background: #ecfdf3; position: sticky; top: 0; z-index: 2; }
.pr-compare thead th:first-child { left: 0; z-index: 3; }
.pr-yes svg, .pr-no svg { width: 22px; height: 22px; }
.pr-compare tbody th { position: sticky; left: 0; background: #fff; z-index: 1; min-width: 9.5rem; }
.pr-compare thead th.is-featured { color: #15803d; }
.pr-compare tbody th { text-align: left; font-weight: 600; color: #334155; }
.pr-compare td.is-featured { background: rgba(72, 199, 142, 0.06); }
.pr-compare-group td { text-align: left !important; font-size: 0.86rem; font-weight: 900; color: #14532d; background: #f0fdf4; letter-spacing: 0.01em; padding-top: 0.85rem; padding-bottom: 0.85rem; }
.pr-compare tbody tr:nth-child(even) td { background: #f8fafc; }
.pr-compare tbody tr:nth-child(even) th { background: #f8fafc; }
.pr-yes { color: var(--site-primary, #48c78e); display: inline-flex; }
.pr-no { color: #cbd5e1; display: inline-flex; }

/* FAQ */
.pr-faq { max-width: 760px; margin: 0 auto; display: grid; gap: 0.6rem; }
.pr-faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 0 1.1rem; }
.pr-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.95rem 0; font-weight: 700; color: #1e293b; }
.pr-faq-item summary::-webkit-details-marker { display: none; }
.pr-faq-item summary svg { flex: none; color: #94a3b8; transition: transform 0.15s; }
.pr-faq-item[open] summary svg { transform: rotate(180deg); }
.pr-faq-item p { margin: 0 0 1rem; color: #475569; font-size: 0.9rem; line-height: 1.6; }

/* 환불정책 */
.pr-refund { max-width: 860px; margin-left: auto; margin-right: auto; }
.pr-refund-lead { margin: -0.4rem 0 1rem; text-align: center; font-size: 0.82rem; color: #94a3b8; }
.pr-refund-list { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 0.4rem 1.3rem; }
.pr-refund-item { display: flex; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid #f1f5f9; }
.pr-refund-item:last-child { border-bottom: 0; }
.pr-refund-n { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--site-header, #42445a); color: #fff; font-size: 0.78rem; font-weight: 800; }
.pr-refund-item h3 { margin: 2px 0 0.3rem; font-size: 0.95rem; color: #1e293b; }
.pr-refund-item p { margin: 0; font-size: 0.88rem; color: #475569; line-height: 1.6; }

/* 하단 CTA */
.pr-cta { margin-top: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.6rem 1.8rem; border-radius: 18px; background: linear-gradient(120deg, var(--site-header, #42445a), #2f3145); color: #fff; }
.pr-cta h2 { margin: 0; font-size: 1.2rem; }
.pr-cta p { margin: 0.3rem 0 0; color: #cbd5e1; font-size: 0.9rem; }
.pr-cta-btn { padding: 0.7rem 1.4rem; font-weight: 800; border-radius: 12px; }

button.pr-card-btn { width: 100%; font-family: inherit; cursor: pointer; }
.pr-alim-foot { margin: auto 0 0; padding-top: 0.9rem; text-align: center; font-weight: 800; color: #334155; }
.pr-alim { margin-top: 1.6rem; }
#prAlimShots { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.pr-shot { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 0.8rem 0.9rem 0.95rem; }
.pr-shot h3 { margin: 0 0 0.55rem; font-size: 1rem; font-weight: 900; color: #14532d; }
.pr-shot-imgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; align-items: start; }
.pr-shot .pr-pair { grid-template-columns: auto auto auto; justify-content: start; gap: 0.45rem; }
.pr-shot img { display: block; width: 100%; height: auto; border-radius: 10px; background: #f8fafc; border: 1px solid #e2e8f0; }
.pr-shot > img + img { margin-top: 0.45rem; }
.pr-compare tr.pr-compare-group td { background: #f0fdf4; font-weight: 900; color: #14532d; text-align: left; }
.pr-q-pop { display: block; position: static; width: auto; max-height: none; overflow: visible; background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; transform: none; }
.pr-q-pop img { display: block; width: min(220px, 42vw); height: auto; border-radius: 8px; background: #f8fafc; }
.pr-q-pop > img + img { margin-top: 0.55rem; }
.pr-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0.7rem; align-items: center; margin-top: 0.7rem; }
.pr-pair:first-child { margin-top: 0; }
.pr-pair small { display: block; margin-top: 0.3rem; text-align: center; font-size: 0.78rem; font-weight: 800; color: #334155; }
.pr-pair-arrow { font-size: 1.6rem; font-weight: 800; color: #48c78e; }
.pr-q-pop em { display: block; font-style: normal; font-size: 0.86rem; font-weight: 700; color: #334155; padding: 0.55rem 0.15rem 0.1rem; line-height: 1.45; }
.pr-pair-feel { color: #15803d; }
.pr-feat-q { position: relative; }
.pr-q { display: inline-grid; place-items: center; width: 1.15rem; height: 1.15rem; margin-left: 0.28rem; border-radius: 50%; border: 1px solid #64748b; background: #fff; color: #334155; font-weight: 800; font-size: 0.72rem; line-height: 1; cursor: help; vertical-align: middle; }
.pr-feat-q:hover .pr-q-pop, .pr-feat-q:focus-within .pr-q-pop { display: block; }
.pr-modal-renew { margin: 0.2rem 0 0.6rem; font-size: 0.88rem; font-weight: 700; color: #15803d; }

/* 내 구독 */
.pr-my { margin: 1rem auto 0; max-width: 620px; text-align: left; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 0.7rem 1rem; font-size: 0.88rem; color: #334155; }
.pr-my-main { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.pr-my-plan { font-weight: 800; color: var(--site-header, #42445a); }
.pr-my-state { padding: 2px 9px; border-radius: 999px; font-size: 0.76rem; font-weight: 800; background: #f1f5f9; color: #64748b; }
.pr-my-state.is-ok { background: #dcfce7; color: #15803d; }
.pr-my-state.is-warn { background: #fef3c7; color: #b45309; }
.pr-my-state.is-bad { background: #fee2e2; color: #b91c1c; }
.pr-my-pend { margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px dashed #e2e8f0; line-height: 1.6; }
.pr-my-exp { color: #94a3b8; font-size: 0.8rem; }
.pr-my-cancel { margin-left: 0.4rem; border: 1px solid #cbd5e1; background: #fff; border-radius: 8px; padding: 2px 10px; font: inherit; font-size: 0.8rem; cursor: pointer; }

/* 신청 창 */
.pr-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(18, 22, 33, 0.55); display: grid; place-items: center; padding: 1rem; }
.pr-modal-box { position: relative; width: min(440px, 100%); max-height: 92vh; overflow: auto; background: #f6f7f4; border-radius: 22px; padding: 0 0 1.15rem; box-shadow: 0 30px 80px rgba(18, 22, 33, 0.35); }
.pr-sheet-head { padding: 1.35rem 1.4rem 1.15rem; background: #42445a; color: #fff; border-radius: 22px 22px 0 0; }
.pr-sheet-kicker { margin: 0; font-size: 0.72rem; letter-spacing: 0.14em; font-weight: 700; color: rgba(255,255,255,0.82); }
.pr-sheet-head h2 { margin: 0.35rem 0 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.pr-sheet-head p { margin: 0.35rem 0 0; font-size: 0.84rem; color: rgba(255,255,255,0.92); line-height: 1.45; }
.pr-modal-x { position: absolute; top: 0.85rem; right: 0.9rem; width: 2rem; height: 2rem; border: 0; border-radius: 999px; background: rgba(255,255,255,0.22); color: #fff; font-size: 1.2rem; cursor: pointer; }
.pr-sheet-body { padding: 1rem 1.15rem 0; }
.pr-sheet-card { background: #fff; border: 1px solid #e6e8e2; border-radius: 16px; padding: 0.85rem 0.95rem; margin-bottom: 0.7rem; }
.pr-sheet-card h3 { margin: 0 0 0.55rem; font-size: 0.72rem; letter-spacing: 0.08em; font-weight: 800; color: #7b8474; }
.pr-kv { display: flex; justify-content: space-between; gap: 0.8rem; padding: 0.28rem 0; font-size: 0.9rem; }
.pr-kv span { color: #6b7280; }
.pr-kv b { color: #1f2430; font-weight: 700; text-align: right; }
.pr-switch { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.45rem; align-items: center; }
.pr-switch div { background: #f4f6f1; border-radius: 12px; padding: 0.65rem 0.4rem; text-align: center; }
.pr-switch small { display: block; font-size: 0.7rem; color: #7b8474; font-weight: 700; }
.pr-switch strong { display: block; margin-top: 0.15rem; font-size: 1.05rem; color: #1f2430; }
.pr-switch i { font-style: normal; color: #64748b; font-weight: 800; }
.pr-switch .is-next { background: #f4f5f7; }
.pr-switch .is-next strong { color: #42445a; }
.pr-seg { display: flex; gap: 6px; }
.pr-seg button { flex: 1; padding: 0.55rem 0.4rem; border: 1px solid #e1e4dc; background: #fff; border-radius: 12px; font: inherit; font-weight: 700; color: #4b5563; cursor: pointer; }
.pr-seg button.is-on { border-color: #42445a; background: #f4f5f7; color: #42445a; }
.pr-bill { display: flex; justify-content: space-between; gap: 0.8rem; padding: 0.22rem 0; font-size: 0.9rem; color: #4b5563; }
.pr-bill b { color: #1f2430; font-variant-numeric: tabular-nums; }
.pr-bill-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.45rem; padding-top: 0.55rem; border-top: 1px solid #eceee8; }
.pr-bill-total span { font-size: 0.82rem; font-weight: 800; color: #1f2430; }
.pr-bill-total b { font-size: 1.55rem; letter-spacing: -0.03em; color: #42445a; font-variant-numeric: tabular-nums; }
.pr-sheet-note { margin: 0 0 0.85rem; font-size: 0.8rem; line-height: 1.5; color: #6b7280; }
.pr-sheet-go { width: 100%; border: 0; border-radius: 14px; padding: 0.9rem 1rem; background: #42445a; color: #fff; font: inherit; font-size: 1rem; font-weight: 800; cursor: pointer; }
.pr-sheet-go:hover { background: #2f3144; }
.pr-modal-err { margin: 0 1.15rem 0.6rem; padding: 0.5rem 0.7rem; border-radius: 10px; background: #fef2f2; color: #b91c1c; font-size: 0.84rem; }

@media (max-width: 900px) {
  .pr-main { padding-left: 0.7rem; padding-right: 0.7rem; }
  .pr-plans { grid-template-columns: 1fr; max-width: none; gap: 0.9rem; }
  .pr-card { padding: 1.15rem 1rem 1.1rem; }
  .pr-card-head h3 { font-size: 1.7rem; }
  .pr-price b { font-size: 2.1rem; }
  .pr-card-btn { font-size: 1.08rem; padding: 0.9rem 0.8rem; }
  #prAlimShots { grid-template-columns: 1fr; }
  .pr-shot-imgs { grid-template-columns: 1fr; justify-items: center; }
  .pr-shot img { width: min(320px, 100%); }
  .pr-q-pop img { width: min(280px, 86vw); }
  .pr-shot .pr-pair { gap: 0.3rem; }
  .pr-compare { font-size: 0.92rem; min-width: 520px; }
  .pr-compare thead th { font-size: 1rem; }
  .pr-h2 { font-size: 1.2rem; }
}
