.cf-site.cf-referral-page{--cf-background:#0e0140;background:#0e0140}
.cf-site.cf-referral-page.light-mode{--cf-background:#e9ebf5;background:#e9ebf5}
.cf-referral{position:relative;isolation:isolate;padding-bottom:80px;background:radial-gradient(ellipse 768px 605px at 100px 360px,#3b82f61a,transparent 70%),radial-gradient(circle 768px at 100% 600px,#ab3bf61a,transparent 70%),radial-gradient(ellipse 768px 605px at 110% 2263px,#3b82f61a,transparent 70%),radial-gradient(circle 768px at -180px 2663px,#ab3bf61a,transparent 70%)}
.cf-referral h1,.cf-referral h2{font-size:48px;font-weight:700;line-height:1;letter-spacing:0}
.cf-referral h2{text-align:center}
.cf-referral ul,.cf-referral ol{list-style:none;margin:0;padding:0}
.cf-ref-hero{padding-top:90px;text-align:center;display:flex;flex-direction:column;align-items:center}
.cf-ref-badge{display:inline-block;padding:12px 28px;border:1px solid #3b82f633;border-radius:99px;background:#3b82f61a;color:#60a5fa;font-size:18px;font-weight:700;line-height:28px;letter-spacing:2.1px;text-transform:uppercase;animation:cf-ref-glow 4s ease-in-out infinite}
.cf-ref-hero h1{max-width:623px;margin-top:30px}
.cf-ref-hero p,.cf-ref-lead{font-size:22px;line-height:1.3;font-weight:500;letter-spacing:.2px;opacity:.6}
.cf-ref-hero p{max-width:751px;margin-top:24px}
.cf-ref-button{display:inline-block;background:linear-gradient(118deg,#3b82f6,#8b5cf6);border-radius:99px;padding:17px 48px;color:#fff!important;font-weight:600;line-height:24px;transition:transform .3s,box-shadow .3s}
.cf-ref-button:hover{transform:translateY(-5px);box-shadow:0 4px 20px 1px #5e00ff7d}
.cf-ref-hero .cf-ref-button{margin-top:30px}
.cf-ref-levels{margin-top:80px}
.cf-ref-lead{text-align:center;margin-top:20px!important}
.cf-ref-level-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:end;margin-top:40px!important}
.cf-ref-level{border:1px solid #ffffff14;border-radius:24px;background:#ffffff05;padding:40px;min-height:220px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;backdrop-filter:blur(5px);transition:background .3s,border-color .3s,box-shadow .3s,transform .3s}
.cf-ref-level:nth-child(2){min-height:260px}.cf-ref-level:nth-child(3){min-height:300px}.cf-ref-level:nth-child(4){min-height:340px}
.cf-ref-level:hover{background-color:#ffffff0d;border-color:#3b82f666;box-shadow:0 18px 40px -12px #00000059;transform:translateY(-10px)}
.cf-ref-level h3{font-size:12px;font-weight:700;line-height:18px;letter-spacing:1px;text-transform:uppercase;opacity:.3}
.cf-ref-level strong{font-size:56px;line-height:56px;font-weight:900;background:linear-gradient(#fff,#64748b);background-clip:text;color:transparent}
.cf-ref-level p{font-size:16px;line-height:24px;font-weight:600;opacity:.3}
.cf-ref-level--max{background:linear-gradient(118deg,#3b82f61a,#8b5cf61a);border-color:#3b82f633}
.cf-ref-level--max strong{background:linear-gradient(#60a5fa,#3b82f6);background-clip:text}
.cf-ref-best{border-radius:99px;font-size:10px;font-weight:700;text-transform:uppercase;line-height:15px;color:#60a5fa;background:#3b82f61a;padding:3px 12px;letter-spacing:0}
.cf-ref-academy{margin-top:100px;display:flex;align-items:center;gap:12px;border:1px solid #c084fc33;border-radius:24px;padding:40px 30px 40px 60px;background:linear-gradient(118deg,#c084fc14,transparent);backdrop-filter:blur(5px)}
.cf-ref-academy__copy{width:72%;min-width:0}
.cf-ref-academy__badge{display:inline-block;border-radius:99px;background:#c084fc1a;color:#c084fc;padding:8px 16px;text-transform:uppercase;font-size:12px;letter-spacing:1px;font-weight:600}
.cf-ref-academy h2{font-size:32px;line-height:41px;text-align:left;margin-top:24px;max-width:100%}
.cf-ref-academy ul{margin-top:24px;display:grid;gap:16px}
.cf-ref-academy li{position:relative;padding-left:40px;font-size:16px;font-weight:400;line-height:23px;color:rgb(255 255 255 / 60%)}
.cf-ref-academy li::before{content:"";position:absolute;left:0;top:0;width:24px;height:24px;background:#c084fc;mask:url('/wp-content/uploads/2026/05/Component-2.svg') center/contain no-repeat}
.cf-ref-academy__logo{width:333px;height:333px;flex-shrink:0;background:#c084fc;mask:url('/wp-content/uploads/2026/05/шапка.svg') center/contain no-repeat}
.cf-ref-button--outline{margin-top:30px;background:transparent;border:1px solid #c084fc66;color:#fff!important;padding:16px 32px;border-radius:16px;background:#c084fc0d}
.cf-ref-steps{margin-top:100px}
.cf-ref-steps h2{margin:auto}
.cf-ref-steps ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;margin-top:50px;position:relative}
.cf-ref-steps ol::before{content:"";position:absolute;top:48px;left:12%;right:12%;height:1px;background:#ffffff14;z-index:-1}
.cf-ref-steps li{text-align:center;min-width:0}
.cf-ref-step-number{display:grid;place-items:center;width:96px;height:96px;margin:0 auto 15px;border:1px solid #ffffff14;border-radius:50%;background:#0e0140;backdrop-filter:blur(5px);font-size:24px;line-height:36px;font-weight:800;transition:background-color .3s,box-shadow .3s,transform .3s}
.cf-ref-step-number:hover{background-color:#1a4fa7;box-shadow:0 0 28px #006fff;transform:scale(1.1)}
.cf-ref-steps h3{font-size:18px;line-height:27px;font-weight:600}
.cf-ref-steps p{margin-top:10px;white-space:pre-line;font-size:14px;line-height:22px;opacity:.7}
.cf-ref-note{display:flex;align-items:center;gap:20px;width:590px;margin:40px auto 0;padding:24px 40px;border:1px solid #3B82F60D;border-radius:16px;background:#3B82F60D;backdrop-filter:blur(5px)}
.cf-ref-note img{width:32px;height:32px;object-fit:contain;flex-shrink:0}.cf-ref-note p{font-size:14px;line-height:20px;opacity:.7}
.cf-ref-faq{margin-top:100px}.cf-ref-faq h2{font-size:50px;line-height:56px}.cf-ref-faq .custom-accordion{width:min(860px,100%);margin:40px auto 0;max-height:none}
.cf-ref-faq .accordion-header{color:var(--cf-text)}
.cf-ref-faq .accordion-content{max-height:none!important}
.cf-ref-faq .accordion-content:not([hidden]){animation:cf-ref-answer .3s ease-out}
.cf-ref-application{margin-top:90px;scroll-margin-top:30px}
.cf-ref-application h2{max-width:979px;margin:auto}
.cf-ref-form-card{width:min(600px,100%);margin:30px auto 0;padding:48px;border:1px solid #ffffff14;border-radius:24px;background:#ffffff05;backdrop-filter:blur(5px)}
.cf-ref-form-card .custom-checkbox input{display:block;position:absolute;opacity:0;width:20px;height:20px;margin:0}
.cf-ref-form-card .custom-checkbox{position:relative}
.cf-ref-form-card .custom-form-container{width:100%}
.cf-referral .text-theme{color:var(--cf-text)}
.light-mode .cf-ref-level,.light-mode .cf-ref-step-number,.light-mode .cf-ref-form-card{background:#fff}
.light-mode .cf-ref-steps ol::before{background:#0e01401f}
.light-mode .cf-ref-level strong{background:#221da880;background-clip:text}
.light-mode .cf-ref-level--max{background:linear-gradient(118deg,#3b82f6,#8b5cf6);color:#fff}
.light-mode .cf-ref-level--max strong{background:#fff;background-clip:text}
.light-mode .cf-ref-best{color:#fff;background:#0000001a}
.light-mode .cf-ref-badge{background:#1a00ff1a;color:#221da8;border-color:#30008233}
.light-mode .cf-ref-academy{background:linear-gradient(118deg,#4361ee14,transparent);border-color:#4361ee33}
.light-mode .cf-ref-academy__badge{background:#4361ee26;color:#4361ee}
.light-mode .cf-ref-academy li{color:rgb(15 21 66 / 60%)}
.light-mode .cf-ref-academy li::before,.light-mode .cf-ref-academy__logo{background:#4361ee}
.light-mode .cf-ref-button--outline{border-color:#4361ee66;color:#4361ee!important}
.light-mode .cf-ref-faq .accordion-title,.light-mode .cf-ref-faq .accordion-body p{color:#0f1542}
.light-mode .cf-ref-faq .accordion-icon{background:#0e01401a}
.light-mode .cf-ref-faq .accordion-item{background:#0e01400d;border-color:#0e01401a}
.light-mode .cf-ref-faq .accordion-item:hover{background:#0e014014;border-color:#0e01402a}
.light-mode .cf-ref-form-card input[type=text],.light-mode .cf-ref-form-card textarea{background:#0e01401a;color:#0f1542;caret-color:#0f1542}
.light-mode .cf-ref-form-card .custom-form-input::placeholder{color:#0f1542}
.light-mode .cf-ref-form-card .custom-input-icon{color:#0f154280}
.light-mode .cf-ref-form-card .custom-checkbox-box{background:#0e01401a;border-color:transparent}
.light-mode .cf-ref-form-card input:checked + .custom-checkbox-box{background:#0f1542}
@keyframes cf-ref-glow{0%,100%{box-shadow:0 0 80px #0059ffb3}33%{box-shadow:0 0 80px #8800ffbf}66%{box-shadow:0 0 80px #1100ffb3}}
@keyframes cf-ref-answer{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media(max-width:1024px){
 .cf-referral{background:none}.cf-ref-hero{padding-top:40px}.cf-ref-levels,.cf-ref-steps,.cf-ref-faq{margin-top:60px}
 .cf-ref-level-grid{grid-template-columns:1fr;gap:30px}
 .cf-ref-academy{margin-top:60px;flex-direction:column;background:none!important;border-color:transparent!important;backdrop-filter:none}
 .cf-ref-academy__copy{width:100%}.cf-ref-academy__logo{width:220px;height:220px}
 .cf-ref-steps ol{grid-template-columns:repeat(2,minmax(0,1fr))}.cf-ref-steps ol::before{display:none}
}
@media(max-width:767px){
 .cf-referral{padding-bottom:60px}.cf-referral h1,.cf-referral h2{font-size:28px;line-height:1.2}
 .cf-ref-hero{padding-top:40px;gap:20px}.cf-ref-badge{font-size:12px;line-height:28px;letter-spacing:1px;padding:4px 14px}
 .cf-ref-hero h1,.cf-ref-hero p,.cf-ref-hero .cf-ref-button{margin-top:0}
 .cf-ref-hero p,.cf-ref-lead{font-size:16px;line-height:1.4}
 .cf-ref-hero .cf-ref-button{font-size:16px;padding:17px 48px}.cf-ref-hero p{margin-bottom:20px}.cf-ref-faq h2{font-size:28px;line-height:1.2}
 .cf-ref-level-grid{gap:10px;margin-top:10px!important;justify-items:center}
 .cf-ref-level{width:86%}.cf-ref-level:nth-child(2){width:90%}.cf-ref-level:nth-child(3){width:96%}.cf-ref-level:nth-child(4){width:100%}
 .cf-ref-academy{margin-top:30px;padding:0;flex-direction:column-reverse}
 .cf-ref-academy__copy{text-align:center}.cf-ref-academy h2{text-align:center}
 .cf-ref-academy li{text-align:left;font-size:16px;line-height:1.4;padding-left:34px}
 .cf-ref-button--outline{font-size:14px;padding:14px 20px}
 .cf-ref-steps ol{grid-template-columns:1fr;gap:35px;margin-top:30px}
 .cf-ref-steps h3{font-size:16px}.cf-ref-steps p{font-size:14px}.cf-ref-step-number{margin-bottom:10px}
 .cf-ref-note{width:calc((100% - 40px)*.8);flex-direction:column;padding:18px;gap:10px;text-align:center}
 .cf-ref-note img{width:42px;height:42px}
 .cf-ref-faq .custom-accordion{margin-top:30px}.cf-ref-application{margin-top:60px}
 .cf-ref-form-card{padding:32px 32px 40px;margin-top:30px}
}
@media(prefers-reduced-motion:reduce){
 .cf-referral *,.cf-referral *::before{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

.cf-ref-form-card .custom-form-button{font-weight:700}.cf-ref-faq .accordion-body{opacity:.7}
/* Match the source's tablet typography and full-width mobile academy action. */
@media(min-width:768px) and (max-width:1024px){
 .cf-referral h1,.cf-referral h2{font-size:36px;line-height:1.1}
 .cf-ref-hero p,.cf-ref-lead{font-size:16px;line-height:1.3}
 .cf-ref-badge{font-size:10px;padding:8px 10px}
 .cf-ref-button--outline{font-size:14px;padding:12px}
}
@media(max-width:767px){
 .cf-ref-button--outline{display:block;border-radius:10px;padding:13px}
 .cf-ref-hero .cf-ref-button{padding-block:16px}
}
