/* 판매 모드(SALE_MODE) — 4차 디자인 그대로: 흰 종이 · 잉크 · 파랑 하나, 알약 버튼, 폴라로이드. */
html[data-mode="beta"] .sale-only { display: none !important; }
html[data-mode="sale"] .beta-only { display: none !important; }

/* 요금 */
.pricing { position: relative; padding: 140px var(--side) 120px; background: var(--paper); }
.plan-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; margin-top: 64px; align-items: stretch; }
.plan { padding: 34px 38px 34px; border-radius: 36px; background: #fff; box-shadow: 0 30px 70px -40px rgba(20,20,27,.35); }
.cycle { display: inline-flex; padding: 5px; border-radius: 100px; background: var(--paper); gap: 4px; }
.cycle button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 100px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.cycle button em { font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 100px; background: rgba(21,70,255,.1); color: var(--blue); }
.cycle button.on { background: var(--ink); color: #fff; }
.cycle button.on em { background: var(--blue); color: #fff; }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 34px; }
.price .amt { font-size: 88px; line-height: 1; font-weight: 750; letter-spacing: -0.045em; }
.price .per { font-size: 20px; font-weight: 600; color: var(--ink-2); }
.price-sub { margin-top: 12px; font-size: 16px; font-weight: 600; color: var(--blue); }
.incl { list-style: none; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--rule); display: grid; gap: 12px; }
.incl li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.45; color: var(--ink); }
.incl li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue)
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 16px no-repeat; }
.plan .buy { margin-top: 30px; width: 100%; justify-content: center; }
.plan .fine, .install .fine { margin-top: 12px; font-size: 13px; color: var(--ink-3); text-align: center; }
[aria-disabled="true"] { opacity: .45; pointer-events: none; }
html[data-preview] [aria-disabled="true"] { opacity: 1; pointer-events: auto; } /* 시안 캡처용 */

.perk { position: relative; overflow: hidden; padding: 34px 38px 36px; border-radius: 36px; background: var(--blue); color: #fff; min-height: 560px; }
.perk-tag { display: inline-block; padding: 8px 14px; border-radius: 100px; background: #fff; color: var(--blue); font-size: 14px; font-weight: 700; }
.perk h3 { margin-top: 22px; font-size: 40px; line-height: 1.08; letter-spacing: -0.03em; max-width: 300px; }
.fprice { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 18px; }
.fprice .was { font-size: 22px; font-weight: 600; opacity: .6; }
.fprice .now { font-size: 56px; line-height: 1; font-weight: 750; letter-spacing: -0.04em; }
.fprice .per { font-size: 18px; font-weight: 600; opacity: .85; }
.fnote { margin-top: 10px; font-size: 14px; opacity: .85; max-width: 290px; line-height: 1.45; }
.perk-list { list-style: none; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.3); display: grid; gap: 14px; max-width: 290px; }
.perk-list li { display: grid; gap: 3px; padding-left: 28px; position: relative; }
.perk-list li::before { content: "★"; position: absolute; left: 0; top: 0; font-size: 16px; }
.perk-list b { font-size: 17px; } .perk-list span { font-size: 14px; opacity: .85; line-height: 1.4; }
.perk-pol { position: absolute; right: 30px; bottom: 40px; width: 160px; }
.perk-pol .ph img { object-fit: cover; object-position: 50% 8%; }
.perk-pol figcaption { color: #3a3a40; }
.perk-say { position: absolute; right: 26px; bottom: 286px; transform: rotate(-3deg); max-width: 175px; font-size: 14px; padding: 12px 16px; }
/* 첫 화면 바로 아래 혜택 띠 */
.perkbar { display: flex; align-items: center; gap: 18px; padding: 20px var(--side); background: var(--ink); color: #fff; font-size: 17px; }
.perkbar .pb-tag { flex: none; padding: 7px 12px; border-radius: 100px; background: var(--blue); font-size: 13px; font-weight: 700; }
.perkbar .pb-main b { color: #fff; background: var(--blue); padding: 1px 8px; border-radius: 6px; }
.perkbar .pb-go { margin-left: auto; flex: none; font-weight: 600; opacity: .85; }
.pricing .facts { margin-top: 40px; }

/* 설치 · 라이선스 키 */
.install { padding: 130px var(--side) 140px; background: #fff; }
.install .dl { display: grid; justify-items: center; }
.flow.keys { margin-top: 64px; }
.flow.keys .kv { height: 120px; margin-top: 26px; border-radius: 20px; background: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--rule); }
.keychip { font: 700 15px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .06em; padding: 14px 16px; border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.pkg { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.pkg::before { content: ""; width: 34px; height: 40px; border-radius: 6px; background: linear-gradient(180deg, #E9E7E1 0 22%, #F3F2EE 22%); box-shadow: inset 0 0 0 1px rgba(20,20,27,.18); }
.flow.keys .bub.sm { font-size: 15px; padding: 12px 18px; }
.flow.keys h3 { margin-top: 26px; }

/* 판매 모드 마지막 화면 (베타 신청 섹션 모양 재사용) */
.final .end-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; position: relative; z-index: 2; }
.final .end-note { margin-top: 18px; font-size: 14px; opacity: .8; position: relative; z-index: 2; }

@media (max-width: 900px) {
  .pricing { padding: 80px 20px 70px; }
  .pricing .sec-head, .install .sec-head { display: block; }
  .pricing .side-lede { margin-top: 14px; }
  .plan-wrap { grid-template-columns: 1fr; margin-top: 32px; gap: 14px; }
  .plan { padding: 22px 20px 24px; border-radius: 28px; }
  .cycle button { padding: 11px 14px; font-size: 14px; }
  .price .amt { font-size: 60px; }
  .incl li { font-size: 15px; }
  .perk { min-height: 0; padding: 24px 22px 250px; border-radius: 28px; }
  .perk h3 { font-size: 30px; max-width: 220px; }
  .fprice .now { font-size: 44px; }
  .perk-say { top: auto; right: auto; left: 20px; bottom: 130px; max-width: 160px; font-size: 13px; padding: 10px 14px; }
  .perk-pol { width: 140px; right: 22px; bottom: 24px; }
  .fnote, .perk-list { max-width: none; }
  .perkbar { flex-wrap: wrap; gap: 8px 10px; padding: 16px 20px; font-size: 15px; }
  .perkbar .pb-go { margin-left: 0; }
  .install { padding: 80px 20px; }
  .install .dl { justify-items: start; margin-top: 26px; }
  .flow.keys { margin-top: 28px; }
  .flow.keys .kv { height: 96px; margin-top: 16px; }
  .final .end-act .pill { flex: 1 1 100%; justify-content: center; }
}
.perk-list li.tbd { opacity: .7; }
