/* MoNi9 Refer Program (/refer-program) - values from the reference guide's referral template CSS */
.rp{background:radial-gradient(ellipse at 50% 0,#1a4fb8 0,#0b3170 38%,#06275a 70%,#041d45 100%);padding-bottom:40px;}
.rp-hero img{display:block;width:100%;height:auto;}
.rp-inner{max-width:80%;margin:0 auto;padding-top:40px;}
.rp-box{background:#06356c;padding:15px 0 0;border:5px solid #f7a705;border-radius:18px;}
.rp-box+.rp-box{margin-top:40px;}
.rp-box:first-child{padding-bottom:15px;}

/* tab-like headings: blue tab with gold shadow + gold back-drop */
.rp-title,.rp-sub{position:relative;margin:0;padding:0;height:70px;}
.rp-title h3,.rp-sub h3{position:relative;z-index:2;margin:0;max-width:max-content;height:48px;padding:10px 15px;background:#123ea1;border-top-right-radius:50px 20px;box-shadow:5px 5px 5px #ffcf31;font-size:20px;line-height:28px;font-weight:600;color:#fff;white-space:nowrap;}
.rp-title h3::after,.rp-sub h3::after{content:"";position:absolute;z-index:-1;top:0;right:-26px;width:50px;height:48px;background:#123ea1;border-top-right-radius:24px;transform:skewX(28deg);box-shadow:5px 5px 5px #ffcf31;}
.rp-drop{position:relative;z-index:1;top:-42px;max-width:30%;height:48px;padding:10px 15px;background:linear-gradient(90deg,rgba(247,167,5,.0),rgba(247,167,5,.35));}
.rp-drop::after{content:"";position:absolute;top:0;right:-35px;width:54px;height:48px;background:rgba(247,167,5,.35);transform:skewX(28deg);border-top-right-radius:24px;}
.rp-title--wide h3{white-space:normal;max-width:60%;height:auto;min-height:48px;}
.rp-title--wide{height:auto;margin-bottom:22px;}
.rp-title--wide .rp-drop{display:none;}
.rp-sub h3{max-width:60%;font-size:18px;}
.rp-sub .rp-drop{max-width:40%;}

.rp-text{padding:0 20px;margin-bottom:15px;font-size:18px;line-height:24px;color:#fff;}
.rp-text p{margin:0 0 10px;}
.rp-text h3{margin:0 0 15px;color:#9cc0ff;font-size:20px;line-height:24px;font-weight:600;}
.rp-text img{width:520px;max-width:100%;height:auto;}
.rp-text ul{list-style:square;margin:0;padding-left:20px;}
.rp-text li{margin-bottom:8px;}
.rp-text li::marker{color:#f7a705;}
.rp-text b{color:#ffcf31;font-weight:600;}
.rp-cur{font-style:normal;}

/* steps */
.rp-steps{display:flex;justify-content:center;gap:1rem;padding:0 10px;margin:10px 0 40px;}
.rp-step{position:relative;width:25%;min-height:370px;}
.rp-step__bg,.rp-step__card{position:absolute;left:2%;top:30px;width:95%;height:calc(100% - 60px);border-radius:30px;transform:rotate(-7deg);}
.rp-step__bg{background:linear-gradient(180deg,#ff5000 0%,#ff8b00 49%);}
.rp-step__card{background:#fff;transform:rotate(-2deg);}
.rp-step__box{position:relative;z-index:3;width:80%;margin:50px auto;}
.rp-step__head{padding:0 15px 8px;color:#0859c1;font-size:24px;font-weight:600;line-height:1;}
.rp-step__head span{font-size:48px;font-weight:600;color:#0859c1;}
.rp-step__shot{width:92%;margin:0 auto;padding:6px;border-radius:8px;background:#093b76;}
.rp-step__cap{margin-bottom:6px;border-radius:4px;background:#efb91a;color:#093b76;text-align:center;font-size:14px;line-height:28px;font-weight:600;}
.rp-step__img img{display:block;width:100%;height:auto;border-radius:4px;}

/* commission structure */
.rp-comm{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;align-items:end;}
.rp-comm__img{display:flex;justify-content:space-evenly;}
.rp-comm__img img{display:block;max-width:60%;height:auto;}

/* tables */
.rp-tbl{padding:0 20px 25px;overflow-x:auto;}
.rp-tbl table{width:100%;border-collapse:collapse;font-size:14px;}
.rp-tbl--calc th{background:#f4b600;color:#0e2749;text-transform:uppercase;text-align:center;font-weight:700;padding:11px 8px;line-height:1.3;}
.rp-tbl--calc td{border-bottom:1px solid #f7a705;text-align:center;color:#fff;padding:11px 8px;line-height:1.3;}
.rp-tbl--earn{max-width:80%;margin:0 auto;padding:0 0 25px;}
.rp-tbl--earn table{border-collapse:separate;border-spacing:0;border:2px solid #9ac9ff;border-radius:18px;overflow:hidden;background:linear-gradient(180deg,#1f77b1 0%,#063260 62%);}
.rp-tbl--earn td{width:50%;padding:12px 10px;border:1px solid #9ac9ff;text-align:center;color:#fff;font-weight:600;line-height:1.3;}

/* calculator (reference markup, made visible) */
.rp-calc{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:center;gap:12px;padding:0 20px 25px;}
.rp-calc__f{display:flex;flex-direction:column;align-items:center;}
.rp-calc__f label{height:30px;color:#ff6565;font-weight:600;font-size:14px;}
.rp-calc input,.rp-calc select{width:200px;padding:10px 15px;border:2px solid #fff;border-radius:8px;background:#358ff8;color:#fff;font:inherit;font-size:15px;line-height:1.4;outline:0;}
.rp-calc input::placeholder{color:#fff;}
.rp-calc select option{color:#06356c;background:#fff;}
#rpRes{background:linear-gradient(180deg,#d5941a 0%,#d7b819 49%,#f7cc2f 100%);color:#144073;font-weight:700;-webkit-text-fill-color:#144073;opacity:1;}
#rpRes::placeholder{color:#144073;}
.rp-calc__eq span{display:block;font-size:28px;line-height:46px;color:#fff;font-weight:700;}
.rp-calc__btn{width:100%;text-align:center;}
.rp-calc__btn button{padding:10px 40px;border:1px solid #b68b0f;border-radius:20px;background:linear-gradient(90deg,#faf274 0%,#d6a72b 49%);color:#144073;font:inherit;font-weight:700;text-transform:uppercase;cursor:pointer;}

.rp-cta{margin-top:40px;text-align:center;}
.rp-cta a{display:inline-block;padding:10px 24px;border:1px solid #b68b0f;border-radius:20px;background:linear-gradient(90deg,#faf274 0%,#d6a72b 49%);color:#144073!important;text-transform:uppercase;font-weight:700;line-height:1.5;}
.rp-cta a:hover{filter:brightness(1.08);}

@media (max-width:768px){
  .rp-inner{max-width:95%;padding-top:24px;}
  .rp-steps{flex-direction:column;}
  .rp-step{width:100%;min-height:0;background:#fff;border-radius:8px;}
  .rp-step__bg,.rp-step__card{display:none;}
  .rp-step__box{width:97%;margin:0 auto;padding:0 0 5px;}
  .rp-step__head{text-align:center;padding:10px 15px;font-size:24px;}
  .rp-step__head span{font-size:24px;}
  .rp-step__shot{width:100%;margin-bottom:5px;}
  .rp-step__img img{max-width:360px;margin:0 auto;}
  .rp-title h3{max-width:80%;font-size:18px;white-space:normal;height:auto;min-height:48px;line-height:26px;}
  .rp-drop{max-width:80%;}
  .rp-title--wide h3{max-width:88%;font-size:16px;}
  .rp-sub h3{max-width:85%;font-size:16px;white-space:normal;height:auto;line-height:24px;}
  .rp-sub .rp-drop{max-width:85%;}
  .rp-title,.rp-sub{height:auto;min-height:70px;}
  .rp-comm{grid-template-columns:1fr;}
  .rp-text{font-size:16px;}
  .rp-tbl--calc th{font-size:12px;padding:6px 4px;}
  .rp-tbl--calc td{padding:8px 4px;}
  .rp-tbl--earn{max-width:none;margin:0 20px;}
  .rp-calc{flex-direction:column;align-items:center;gap:6px;}
  .rp-calc__f label{height:auto;}
  .rp-calc__eq span{line-height:30px;}
}
.hc-nav a.is-on{color:var(--gold);}
