/* RAPF*CK — subscription checkout editorial refresh, 2026-10-29.
   Scoped to /planes; all pricing/payment state remains with the existing app. */
body.rf-premium-page{
 --rf-ui-acid:#d9ff43; --rf-ui-violet:#c9a6ff; --rf-ui-ink:#f6f4fa;
 background:radial-gradient(ellipse at 48% -15%,rgba(154,105,218,.19),transparent 47%),#090a10!important;
 color:var(--rf-ui-ink);
}
body.rf-premium-page main{
 max-width:1020px!important;
 margin-inline:auto!important;
 padding-left:clamp(18px,4vw,40px)!important;
 padding-right:clamp(18px,4vw,40px)!important;
}
body.rf-premium-page main h1{
 font-size:clamp(38px,6vw,70px)!important;
 line-height:1.03!important;
 letter-spacing:-.047em!important;
 margin-block:12px 22px!important;
 font-weight:900!important;
}
body.rf-premium-page main h2{
 letter-spacing:-.035em!important;
 line-height:1.1!important;
}
body.rf-premium-page main p{
 line-height:1.55;
}
body.rf-premium-page .rf-plan-instruction{
 padding:18px 20px!important;
 background:linear-gradient(110deg,rgba(188,150,253,.10),rgba(31,31,44,.38))!important;
 border:1px solid rgba(190,166,228,.24)!important;
 border-radius:18px!important;
 box-shadow:none!important;
 color:#e9dff6!important;
 font-weight:650!important;
}
body.rf-premium-page .rf-plan-tier-group{
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:12px!important;
 width:100%!important;
 align-items:stretch!important;
}
body.rf-premium-page .rf-plan-tier-option{
 position:relative!important;
 display:flex!important;
 flex-direction:column!important;
 align-items:flex-start!important;
 justify-content:center!important;
 gap:4px!important;
 text-align:left!important;
 width:100%!important;
 min-width:0!important;
 min-height:114px!important;
 padding:20px 22px!important;
 border:1px solid rgba(223,224,244,.23)!important;
 border-radius:22px!important;
 box-shadow:0 10px 30px rgba(0,0,0,.19)!important;
 background:linear-gradient(137deg,#20272b,#13191e)!important;
 color:#f6ffe9!important;
 transition:border-color .18s,transform .18s,box-shadow .18s!important;
}
body.rf-premium-page .rf-plan-tier-option[data-rf-tier="elite"]{
 background:linear-gradient(135deg,#282036,#17141e)!important;
 color:#f7edff!important;
}
body.rf-premium-page .rf-plan-tier-option:hover{
 transform:translateY(-2px)!important;
 border-color:rgba(226,235,239,.50)!important;
}
body.rf-premium-page .rf-plan-tier-option[data-rf-tier="pro"]:is(.active,.selected,.is-active,.is-selected,[aria-pressed="true"],[aria-selected="true"]),
body.rf-premium-page .rf-plan-tier-option[data-rf-tier="pro"].rf-current{
 border-color:#cfff52!important;
 box-shadow:inset 0 0 0 1px rgba(207,255,82,.35),0 16px 36px rgba(0,0,0,.24)!important;
}
body.rf-premium-page .rf-plan-tier-option[data-rf-tier="elite"]:is(.active,.selected,.is-active,.is-selected,[aria-pressed="true"],[aria-selected="true"]),
body.rf-premium-page .rf-plan-tier-option[data-rf-tier="elite"].rf-current{
 border-color:#cba8ff!important;
 box-shadow:inset 0 0 0 1px rgba(203,168,255,.38),0 16px 36px rgba(0,0,0,.24)!important;
}
body.rf-premium-page .rf-plan-tier-option :is(b,strong,h2,h3){
 letter-spacing:-.045em!important;
}
body.rf-premium-page .rf-plan-tier-option [class*="price"],
body.rf-premium-page .rf-plan-tier-option small{font-weight:700!important}
body.rf-premium-page .rf-plan-duration-group{
 display:grid!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:10px!important;
 align-items:stretch!important;
 width:100%!important;
}
body.rf-premium-page .rf-plan-duration-option{
 width:100%!important;
 min-width:0!important;
 min-height:88px!important;
 border:1px solid rgba(207,198,224,.26)!important;
 border-radius:17px!important;
 padding:13px 9px!important;
 background:#272133!important;
 color:#f1eafb!important;
 font-weight:750!important;
 text-align:center!important;
 box-shadow:none!important;
 transition:background .18s,border-color .18s!important;
}
body.rf-premium-page .rf-plan-duration-option:hover{
 border-color:#c8a7f0!important;
}
body.rf-premium-page .rf-plan-duration-option:is(.active,.selected,.is-active,.is-selected,[aria-pressed="true"],[aria-selected="true"]),
body.rf-premium-page .rf-plan-duration-option.rf-current{
 color:#241b30!important;
 -webkit-text-fill-color:#241b30!important;
 background:#e1d0fb!important;
 border-color:#e1d0fb!important;
 box-shadow:0 5px 16px rgba(174,136,242,.14)!important;
}
body.rf-premium-page .rf-plan-summary{
 border:1px solid rgba(214,208,235,.22)!important;
 border-radius:27px!important;
 background:linear-gradient(145deg,#191c22 0%,#12151b 100%)!important;
 box-shadow:0 15px 50px rgba(0,0,0,.23)!important;
 overflow:visible!important;
}
body.rf-premium-page .rf-plan-summary :is(h2,h3){
 color:#faf9ff!important;
}
body.rf-premium-page .rf-plan-total{
 font-size:clamp(34px,5vw,46px)!important;
 font-weight:900!important;
 color:#fcfbff!important;
 letter-spacing:-.055em!important;
 line-height:1.2!important;
 font-variant-numeric:tabular-nums!important;
}
body.rf-premium-page .rf-plan-primary{
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 width:100%!important;
 min-height:62px!important;
 border:0!important;
 border-radius:16px!important;
 background:#d9ff43!important;
 color:#0f1510!important;
 -webkit-text-fill-color:#0f1510!important;
 font-size:clamp(16px,3.4vw,19px)!important;
 font-weight:900!important;
 letter-spacing:-.02em!important;
 text-decoration:none!important;
 box-shadow:0 8px 24px rgba(191,240,53,.13)!important;
}
body.rf-premium-page .rf-plan-primary:hover:not(:disabled){background:#e7ff88!important;transform:translateY(-1px)!important}
body.rf-premium-page .rf-plan-primary:disabled{opacity:.55!important;cursor:not-allowed!important}
body.rf-premium-page .rf-plan-terms{
 font-size:clamp(13px,2.7vw,15px)!important;
 line-height:1.7!important;
 color:#bfb9cb!important;
}
body.rf-premium-page .rf-plan-benefits{
 color:#c8c5d2!important;
}
body.rf-premium-page :is(button,a,[role="button"]):focus-visible{
 outline:3px solid #d9ff43!important;
 outline-offset:3px!important;
}
@media(max-width:620px){
 body.rf-premium-page main{padding-left:16px!important;padding-right:16px!important}
 body.rf-premium-page .rf-plan-tier-option{padding:15px 15px!important;min-height:104px!important;border-radius:19px!important}
 body.rf-premium-page .rf-plan-duration-option{min-height:78px!important;padding:11px 5px!important;font-size:clamp(12px,3vw,16px)!important}
 body.rf-premium-page .rf-plan-summary{border-radius:24px!important}
}
/* Article editorial links must never become standalone app buttons. */
body.rf-blog-inline-fix :is(.article-body,main article,main .blog-article) :is(p,li) a:not([role="button"]):not(.cta-register):not(.btn):not(.button):not(:has(img)){
 display:inline!important;
 width:auto!important;min-width:0!important;max-width:none!important;
 min-height:0!important;height:auto!important;
 margin:0!important;padding:0!important;
 float:none!important;clear:none!important;position:static!important;
 border:0!important;border-radius:0!important;
 background:none!important;box-shadow:none!important;
 font-size:inherit!important;line-height:inherit!important;font-weight:750!important;
 color:#d9ff43!important;-webkit-text-fill-color:#d9ff43!important;
 text-decoration:underline!important;text-underline-offset:4px!important;
 letter-spacing:inherit!important;text-align:inherit!important;
 white-space:normal!important;vertical-align:baseline!important;
 transform:none!important;
}
