body.bpo-innovature-theme.bpo-native-refer {
  --bpo-refer-ink: #26354f;
  --bpo-refer-copy: #526783;
  --bpo-refer-blue: #0035a2;
  --bpo-refer-line: rgba(0, 53, 162, 0.12);
  background: #fff;
}

.bpo-refer, .bpo-refer *, .bpo-refer *::before, .bpo-refer *::after { box-sizing: border-box; }
.bpo-refer { color: var(--bpo-refer-ink); font-family: var(--bpo-font-body), Poppins, sans-serif; overflow-x: clip; }
.bpo-refer-shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.bpo-refer :where(h1, h2, h3) { margin: 0; }
.bpo-refer h1, .bpo-refer h2 { font-family: iBrands, var(--bpo-font-body), sans-serif; font-weight: 400; color: #404041; letter-spacing: 0; }
.bpo-refer h1 { font-size: clamp(43px, 3.65vw, 54px); line-height: 1.05; }
.bpo-refer h2 { font-size: 36px; line-height: 1.14; }
.bpo-refer p { margin: 16px 0 0; color: var(--bpo-refer-copy); font-size: 15px; font-weight: 400; line-height: 1.65; }
.bpo-refer strong { font-weight: 600; }
.bpo-refer a { color: var(--bpo-refer-blue); }

.bpo-refer-hero { background: radial-gradient(ellipse at 85% 20%, #e3efff, transparent 60%), linear-gradient(180deg, #f5f9ff, #fff); }
.bpo-refer-hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; padding-block: 54px 64px; }
.bpo-refer-hero__copy > p { margin-top: 18px; font-size: 17px; }
.bpo-refer-hero__copy > .bpo-refer-button { margin-top: 28px; }
.bpo-refer-hero__media { position: relative; isolation: isolate; margin: 0; }
.bpo-refer-hero__media::before { content: ''; position: absolute; z-index: -1; inset: 16px -14px -14px 16px; border: 1px solid rgba(74, 157, 255, .2); border-radius: 26px; background: #eaf3ff; }
.bpo-refer-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 1804 / 1200; border-radius: 24px; box-shadow: 0 20px 48px rgba(0, 53, 162, .1); }

body.bpo-innovature-theme.bpo-native-refer .bpo-refer-button {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 11px 12px 11px 20px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, #0035a2, #155dcc);
  box-shadow: 0 12px 28px rgba(0, 53, 162, .14);
  color: #fff;
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 220ms ease, transform 220ms ease;
}
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-button:hover,
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-button:focus-visible { background: linear-gradient(135deg, #0b4ab6, #206ed6); color: #fff; transform: translateY(-2px); }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-button:focus-visible { outline: 3px solid #91bfff; outline-offset: 3px; }
.bpo-refer-button .bpo-button__icon-wrapper { width: 27px; height: 27px; border-radius: 50%; background: #fff; color: #0035a2; }
.bpo-refer-button:hover .bpo-button__icon-svg:first-child,
.bpo-refer-button:focus-visible .bpo-button__icon-svg:first-child { transform: translate(150%, -150%); }
.bpo-refer-button:hover .bpo-button__icon-svg--copy,
.bpo-refer-button:focus-visible .bpo-button__icon-svg--copy { transform: translate(0); }

.bpo-refer-intake { padding-block: 64px 80px; background: #fff; }
.bpo-refer-intake__layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.bpo-refer-intake__copy > p strong { color: #0035a2; }
.bpo-refer-process { margin-top: 38px; }
.bpo-refer-process > h2 { font-size: 30px; color: #223c63; }
.bpo-refer-process > p { margin-top: 12px; }
.bpo-refer-process__steps { display: grid; gap: 0; list-style: none; margin: 24px 0 0; padding: 0; }
.bpo-refer-process__step { --bpo-step-delay: 0s; position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; padding-bottom: 26px; }
.bpo-refer-process__step:last-child { padding-bottom: 0; }
.bpo-refer-process__step:nth-child(2) { --bpo-step-delay: 2s; }
.bpo-refer-process__step:nth-child(3) { --bpo-step-delay: 4s; }
.bpo-refer-process__step:not(:last-child)::before,
.bpo-refer-process__step:not(:last-child)::after { content: ''; position: absolute; left: 22px; top: 45px; bottom: 0; width: 2px; background: #dce9fc; transform-origin: top; }
.bpo-refer-process__step:not(:last-child)::after { background: linear-gradient(#1766d8, #75b9ff); opacity: 0; }
.bpo-refer-process__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #d6e5fc; border-radius: 13px; background: #f1f7ff; }
.bpo-refer-process__icon::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: #deedff; box-shadow: 0 0 0 4px rgba(74, 157, 255, .09); opacity: 0; pointer-events: none; }
.bpo-refer-process__icon::after { content: ''; position: absolute; inset: -4px; border: 1px solid #8bbfff; border-radius: 16px; opacity: 0; pointer-events: none; }
.bpo-refer-process__icon img { position: relative; width: 23px; height: 23px; }
.bpo-refer-process__body { min-width: 0; }
.bpo-refer-process__steps h3 { margin: 1px 0 6px; color: #0035a2; font-family: var(--bpo-font-body), Poppins, sans-serif; font-size: 14px; font-weight: 600; line-height: 1.5; }
.bpo-refer-process__steps p { margin: 0; font-size: 14px; line-height: 1.6; }
.bpo-refer-process__step--reward strong { position: relative; display: inline-block; color: #0035a2; }
.bpo-refer-process__step--reward strong::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: #4a9dff; transform-origin: left; opacity: 0; }
.bpo-refer-form-card { min-width: 0; padding: 20px; border: 1px solid #dce6f5; border-radius: 24px; background: #fff; box-shadow: 0 20px 55px rgba(18, 54, 111, .09); scroll-margin-top: calc(var(--bpo-header-offset, 80px) + 24px); }
.bpo-refer-form-card:focus { outline: none; }

/* Reuse the shared Fluent Forms skin; only referral layout/upload/phone refinements. */
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form fieldset { display: grid; min-width: 0; gap: 12px !important; width: 100%; margin: 0; padding: 0; border: 0; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form fieldset > .ff-el-group,
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form fieldset > .ff-t-container { margin: 0 !important; }
/* Fluent Forms' float clearers otherwise become empty rows inside grid fields. */
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .ff-el-group::before,
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .ff-el-group::after { content: none !important; display: none !important; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .ff-custom_html { color: #26354f; font-size: 15px; line-height: 1.5; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .ff-custom_html p { margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .ff-t-container { gap: 12px !important; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .ff-el-input--label { margin-bottom: 6px; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .ff-el-input--label label { font-size: 13px !important; font-weight: 500 !important; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .ff-el-is-required label::after,
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .ff-el-is-required.asterisk-left label::before { color: #d92d20 !important; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) { min-height: 46px !important; padding: 11px 13px !important; border-radius: 10px !important; line-height: 1.5; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form input::placeholder { color: #66758a !important; opacity: 1; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .iti { display: block; width: 100%; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .iti input[type="tel"] { padding-left: 60px !important; padding-inline-start: 60px !important; text-indent: 0 !important; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form :where(.iti__country-container, .iti__flag-container) { inset-block: 0; left: 0; display: flex; width: 50px; align-items: center; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form :where(.iti__selected-country, .iti__selected-country-primary, .iti__selected-flag) { min-height: 44px; height: 100%; margin: 0; padding: 0 6px; border: 0; border-radius: 10px 0 0 10px; background: transparent !important; box-shadow: none !important; color: #26354f !important; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .iti__country-list { white-space: normal; max-width: min(340px, calc(100vw - 40px)); font-size: 13px; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .ff_file_upload_holder { position: relative; display: block; width: 100%; padding: 14px; border: 1px dashed #b8cee9; border-radius: 12px; background: #f8fbff; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .ff_upload_btn { display: inline-flex; min-height: 38px; align-items: center; padding: 8px 14px; border: 1px solid #c4d7f5; border-radius: 8px; background: #eef5ff; color: #0035a2; font-family: inherit; font-size: 13px; font-weight: 500; line-height: 1.4; cursor: pointer; box-shadow: none; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .ff_upload_btn:hover,
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .ff_upload_btn:focus-visible { border-color: #4a9dff; background: #e4efff; outline: 2px solid #91bfff; outline-offset: 2px; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form input[type="file"].ff-screen-reader-element { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: -1px !important; border: 0 !important; clip: rect(0, 0, 0, 0) !important; overflow: hidden !important; white-space: nowrap; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form :where(.ff-el-form-check-label.ff_tc_label) { display: grid !important; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 10px; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .ff_t_c p { margin: 0; color: #526783; font-size: 12px; line-height: 1.6; font-weight: 400; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .ff_t_c a { font-size: 12px !important; font-weight: 500; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form fieldset > .ff_submit_btn_wrapper { margin-top: 8px !important; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form button[type="submit"] { min-height: 46px !important; box-shadow: none !important; }
body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .ff-el-form-error { margin-top: 6px; }

.bpo-refer-terms { padding-block: 58px; background: #f5f9ff; border-block: 1px solid #edf2fa; }
.bpo-refer-terms__layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: start; margin-top: 24px; }
.bpo-refer-terms__layout > div > p:first-child, .bpo-refer-terms__note p { margin-top: 0; }
.bpo-refer-terms a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.bpo-refer-terms__note { padding: 22px 24px; border: 1px solid #dce7f8; border-left: 3px solid #4a9dff; border-radius: 0 16px 16px 0; background: rgba(255, 255, 255, .9); }
.bpo-refer-terms__note p { font-size: 14px; }
.bpo-refer-terms__note strong { color: #26354f; }
.bpo-refer-career { padding-block: 64px 80px; background: #fff; }
.bpo-refer-career__card { position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden; min-height: 300px; padding: 48px; border: 1px solid #dde8f7; border-radius: 24px; background: #f4f8ff; }
.bpo-refer-career__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; z-index: -2; }
.bpo-refer-career__card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #f3f8ff 10%, rgba(243, 248, 255, .97) 38%, rgba(243, 248, 255, .4) 65%, transparent 85%); }
.bpo-refer-career__copy { max-width: 56%; }
.bpo-refer-career h2 { margin-top: 12px; font-size: 36px; }
.bpo-refer-career .bpo-refer-career__subtitle { margin: 0; color: #526783; font-size: 16px; font-weight: 400; line-height: 1.5; }
.bpo-refer-career .bpo-refer-button { margin-top: 24px; }

@media (prefers-reduced-motion: no-preference) {
  .bpo-refer-hero__copy { animation: bpoReferEnter 550ms ease-out both; }
  .bpo-refer-hero__media { animation: bpoReferEnter 700ms ease-out both; }
  .bpo-refer-process__icon::before { animation: bpoReferStepGlow 6s var(--bpo-step-delay) ease-in-out infinite both paused; }
  .bpo-refer-process__icon::after { animation: bpoReferStepRing 6s var(--bpo-step-delay) ease-out infinite both paused; }
  .bpo-refer-process__step:not(:last-child)::after,
  .bpo-refer-process__step--reward strong::after { animation: bpoReferStepFlow 6s var(--bpo-step-delay) ease-in-out infinite both paused; }
  .bpo-refer-process__step--reward strong::after { animation-name: bpoReferRewardLine; }
  .bpo-refer-process__steps.is-in-view .bpo-refer-process__icon::before,
  .bpo-refer-process__steps.is-in-view .bpo-refer-process__icon::after,
  .bpo-refer-process__steps.is-in-view .bpo-refer-process__step::after,
  .bpo-refer-process__steps.is-in-view .bpo-refer-process__step--reward strong::after { animation-play-state: running; }
  @keyframes bpoReferEnter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes bpoReferStepGlow { 0%, 34%, 100% { opacity: 0; } 6%, 23% { opacity: 1; } }
  @keyframes bpoReferStepRing { 0% { opacity: 0; transform: scale(.94); } 7% { opacity: .8; } 30%, 100% { opacity: 0; transform: scale(1.16); } }
  @keyframes bpoReferStepFlow { 0%, 5% { opacity: 0; transform: scaleY(0); } 24% { opacity: 1; transform: scaleY(1); } 34%, 100% { opacity: 0; transform: scaleY(1); } }
  @keyframes bpoReferRewardLine { 0%, 5% { opacity: 0; transform: scaleX(0); } 24% { opacity: 1; transform: scaleX(1); } 34%, 100% { opacity: 0; transform: scaleX(1); } }
}
@media (max-width: 1024px) {
  .bpo-refer-hero__inner { gap: 40px; }
  .bpo-refer-intake__layout { gap: 30px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .bpo-refer-terms__layout { gap: 30px; }
}
@media (max-width: 960px) {
  .bpo-refer-intake__layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .bpo-refer-shell { width: min(1200px, calc(100% - 32px)); }
  .bpo-refer h1 { font-size: clamp(32px, 8.5vw, 38px); }
  .bpo-refer h2 { font-size: 30px; }
  .bpo-refer-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 38px 48px; }
  .bpo-refer-hero__copy > p { font-size: 15px; margin-top: 14px; }
  .bpo-refer-hero__copy > .bpo-refer-button { margin-top: 22px; }
  .bpo-refer-hero__media { width: calc(100% - 8px); }
  .bpo-refer-hero__media::before { inset: 10px -8px -8px 10px; border-radius: 20px; }
  .bpo-refer-hero__media img { border-radius: 18px; }
  .bpo-refer-intake { padding-block: 40px 48px; }
  .bpo-refer-intake__layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .bpo-refer-process { margin-top: 28px; }
  .bpo-refer-process > h2 { font-size: 28px; }
  .bpo-refer-process__step { gap: 14px; padding-bottom: 22px; }
  .bpo-refer-form-card { border-radius: 20px; }
  body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) { font-size: 16px !important; }
  body.bpo-innovature-theme.bpo-native-refer .bpo-refer-form .ff-t-container { grid-template-columns: minmax(0, 1fr) !important; }
  .bpo-refer-terms { padding-block: 40px; }
  .bpo-refer-terms__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 20px; }
  .bpo-refer-terms__note { padding: 18px; }
  .bpo-refer-career { padding-block: 40px 48px; }
  .bpo-refer-career__card { min-height: 0; padding: 30px 22px 180px; border-radius: 20px; }
  .bpo-refer-career__copy { max-width: none; }
  .bpo-refer-career h2 { font-size: 30px; }
  .bpo-refer-career .bpo-refer-career__subtitle { font-size: 15px; }
  .bpo-refer-career__image { top: auto; height: 190px; object-position: right center; }
  .bpo-refer-career__card::before { background: linear-gradient(180deg, #f3f8ff 50%, rgba(243, 248, 255, .5) 67%, transparent 85%); }
}
@media (prefers-reduced-motion: reduce) {
  .bpo-refer *, .bpo-refer *::before, .bpo-refer *::after { animation: none !important; transition: none !important; }
}
