@font-face {
    font-family: 'Sohne';
    src: url('https://info.medable.com/rs/315-DHS-981/images/ON173707429445_Medable_Sohne-Buch.eot');
    src: url('https://info.medable.com/rs/315-DHS-981/images/ON173707429445_Medable_Sohne-Buch.eot?#iefix') format('embedded-opentype'),
        url('https://info.medable.com/rs/315-DHS-981/images/ON173707429445_Medable_Sohne-Buch.woff2') format('woff2'),
        url('https://info.medable.com/rs/315-DHS-981/images/ON173707429445_Medable_Sohne-Buch.woff') format('woff'),
        url('https://info.medable.com/rs/315-DHS-981/images/ON173707429445_Medable_Sohne-Buch.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sohne';
    src: url('https://info.medable.com/rs/315-DHS-981/images/ON173707429445_Medable_Sohne-Dreiviertelfett.eot');
    src: url('https://info.medable.com/rs/315-DHS-981/images/ON173707429445_Medable_Sohne-Dreiviertelfett.eot?#iefix') format('embedded-opentype'),
        url('https://info.medable.com/rs/315-DHS-981/images/ON173707429445_Medable_Sohne-Dreiviertelfett.woff2') format('woff2'),
        url('https://info.medable.com/rs/315-DHS-981/images/ON173707429445_Medable_Sohne-Dreiviertelfett.woff') format('woff'),
        url('https://info.medable.com/rs/315-DHS-981/images/ON173707429445_Medable_Sohne-Dreiviertelfett.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root{
  --primary-font: 'Sohne', sans-serif;
  --secondary-font: 'Roboto Mono', sans-serif;
  --form-font: 'Roboto', sans-serif;
  --body_bg_color: #ffffff;
  --global: #1A0541;
  --anchor_color: #5F46CF;
  --anchor_hover_color: #1A0541;
  --white_text: #ffffff;

  --btnbgColor: #5F46CF; 
  --btntextColor: #ffffff; 
  --btnbghoverColor: #5F46CF; 
  --btnhovertextColor: #ffffff; 

  --wht_btnbgColor: #ffffff; 
  --wht_btntextColor: #1A0541; 
  --wht_btnbghoverColor: #e8e6ec; 
  --wht_btnhovertextColor: #1A0541;

  --placeholderColor: #5F7887;

}

*,
*::before, *::after { box-sizing: border-box; }
body { margin: 0; padding: 0; }

.msf_page_bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

fieldset.mktoFormCol {
    border: none;
    padding: 0 !important;
}
fieldset.mktoFormCol legend {
    display: none;
}

.msf_card { width: 100%; max-width: 486px; background: #ECEFF1; border-radius: 30px; box-shadow: -1px 0px 0px rgba(26, 5, 65, 0.05), -8px 0px 48px rgba(43, 69, 86, 0.24); padding: 40px; }
#mkto_wrapper form.mktoForm {
    width: 100% !important;
}
.up .sec1_form_group .mktoFormRow fieldset.mktoFormCol .mktoFormRow > div.mktoFormCol {
  width: 100% !important;
}
/* Header & progress */
.sec1_form_group .msf_header { margin-bottom: 16px; }
.sec1_form_group .msf_step_label { margin-bottom: 8px; }
.msf_step_label p{ margin: 0; padding: 0; font-family: var(--primary-font); font-size: 14px; line-height: 1.42; font-weight: 700; text-transform: uppercase; color: var(--global); }
.msf_progress_bar { width: 100%; height: 4px; background: #ffffff; border-radius: 0px; overflow: hidden; }
.msf_progress_fill { height: 100%; width: 33.333%; background: var(--anchor_color); border-radius: 0px; transition: width .3s ease-in; }

/* Steps */
.msf_step { display: none; }
.msf_step_active { display: block; }
.form_title{ padding-bottom: 24px; }
.msf_title { font-size: 32px; line-height: 1.18; margin: 0 0 24px; color: var(--global); font-family: var(--primary-font); margin: 0; padding: 0; font-weight: 700; margin-bottom: 20px !important; }
.msf_subtitle { color: var(--global);  font-family: var(--primary-font); padding-bottom: 16px; margin: 0; font-size: 16px; line-height: 1.375; font-weight: 400; }

/* Grid of cards */
.msf_grid { display: flex; flex-wrap: wrap; padding-bottom: 48px !important; gap: 12px; }

/* Option cards */
.msf_option_card { padding: 28px 10px 28px 10px; font-size: 16px; line-height: 1.125; position: relative; outline: none; align-items: center; background-color: #fff; border: 1px solid #d8d8d8; border-radius: 10px; color: var(--global); font-family: var(--form-font); cursor: pointer; display: flex; font-weight: 400; justify-content: center; min-height: 96px; text-align: center; width: calc(50% - 8px); min-height: 154px; }
/* .msf_option_card.msf_option_multi { min-height: 98.67px; } */
.msf_option_card:hover { background-color: rgb(95 70 207 / 15%); border-color: var(--anchor_color); font-weight: 700; }

/* Selected state */
.msf_option_selected { background-color: rgb(95 70 207 / 15%); border-color: var(--anchor_color); font-weight: 700; }


span.msf_option_label { word-break: break-word; }

/* Check icon */
.msf_check_icon { display: block; height: 20px; position: absolute; right: 6px; top: 6px; width: 20px; display: flex; align-items: center; justify-content: center; line-height: 0; transition: all 0.18s ease; opacity: 0; visibility: hidden; }
.msf_option_selected .msf_check_icon { opacity: 1; visibility: visible; }

/* Buttons */
.msf_btn_primary,
.mktoButtonWrap.mktoSimple .mktoButton {
  border-radius: 40px;
  padding: 18px 20px;
  font-size: 13px !important;
  line-height: normal;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  width: 100%;
  background: #5F46CF;
  color: #ffffff;
  font-family: var(--form-font);
  border: 1px solid #5F46CF;
  letter-spacing: 0.1em;
}
.msf_btn_primary:hover:not(:disabled),
.mktoButtonWrap.mktoSimple .mktoButton:hover {
  background: #ffffff;
  color: #5F46CF;
}
.msf_btn_primary:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.msf_step .mktoForm input.mktoField

/* === Marketo styling + hide City & Country via CSS only === */

.msf_step[data-step="5"] .mktoForm { width: 100% !important; padding: 0; }

/* Optional styling to make fields look closer to design */
.msf_step[data-step="5"] input.mktoField[aria-invalid="false"] {
  border-color: #5f7887 !important;
}
.msf_step[data-step="5"] .mktoLabel { display: none !important; }
.msf_step[data-step="5"] .mktoGutter { display: none !important; }
.msf_step[data-step="5"] .mktoFieldWrap { margin-left: 0 !important; }
.mktoForm .mktoOffset { display: none; }
.mktoForm .mktoFormCol { width: 100%; }
.mktoForm .mktoFieldWrap { width: 100%; }
.up .msf_btn_step5_continue { margin-top: 30px; }
.msf_step[data-step="5"] .mktoForm input.mktoField.mktoInvalid { border-color: #8C0005; }

.msf_step[data-step="5"] input.mktoField, .msf_step[data-step="5"] select.mktoField { padding: 12px 14px !important; background-color: #fff !important; border: 1px solid transparent; border-radius: 8px; box-shadow: none; color: var(--global) !important; font-size: 16px !important; line-height: 1.5; min-height: auto; transition: all .3s ease-out; width: 100% !important; font-family: var(--form-font) !important; margin: 0 !important; height: auto; }
.msf_step[data-step="5"] input.mktoField:focus, .msf_step[data-step="5"] select.mktoField:focus { outline: none !important; border-color: transparent !important; }
.up .filled:not(.invalid):not(.error)>.mktoField, .up select.mktoValid {
    border-color: #5f7887 !important;
}
.msf_step[data-step="5"] .mktoCheckboxList { display: flex !important; align-items: flex-start !important; gap: 8px; }
.msf_step[data-step="5"] input.mktoField::placeholder { color: #5f7887 !important; }
.msf_step[data-step="5"] .mktoLabel#LblclientEmailOptIn { display: block !important; padding: 0; width: 100% !important; margin-left: 8px; cursor: pointer; font-weight: 400; }
.mktoForm .mktoRadioList > label, .mktoForm .mktoCheckboxList > label { display: none !important; }
.msf_step[data-step="5"] .mktoCheckboxList { width: auto !important; padding: 0; }
.mktoAsterix { display: none; }
.msf_step[data-step="5"] input.mktoField#clientEmailOptIn { margin: 2px 0 0 0 !important; border-radius: 5px !important; appearance: none; -webkit-appearance: none; -moz-appearance: none; border: 1px solid #909090; width: 14.22px !important; height: 14.22px !important; padding: 0 !important; cursor: pointer; }
.msf_step[data-step="5"] input.mktoField#clientEmailOptIn:checked { background: #909090 !important; border-color: #909090 !important; }
.msf_step[data-step="5"] input.mktoField#clientEmailOptIn:focus { border-color: #909090 !important; }
.msf_step[data-step="5"] .mktoFieldWrap:has(#clientEmailOptIn) a { color: var(--anchor_color); text-decoration: none; transition: all ease 0.5s; -webkit-transition: all ease 0.5s; -moz-transition: all ease 0.5s; -o-transition: all ease 0.5s; font-weight: 700; padding: 0; }
.msf_step[data-step="5"] .mktoFieldWrap:has(#clientEmailOptIn) a:hover { color: var(--anchor_hover_color); }
.mktoForm .mktoRequiredField .mktoAsterix{ display: none !important; }

.msf_step[data-step="5"] select.mktoField {
    cursor: pointer;
    text-overflow: ellipsis;
    word-wrap: normal;
    background-image: url(https://info.medable.com/rs/315-DHS-981/images/ON173707429445_Medable_down_arrow.svg) !important;
    background-repeat: no-repeat !important;
    background-size: 14px !important;
    background-position: right 12px center !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 30px !important;
}

/* Show only the rows that contain BOTH inputs */
.msf_step[data-step="5"] .mktoFieldWrap:has(#clientEmailOptIn) { display: flex; flex-direction: row-reverse; }
.mktoForm .mktoFormCol { margin-bottom: 0px !important; }

form.mktoForm .mktoError .mktoErrorMsg { background: #5F46CF !important; border: none; border-radius: 7px; color: #fff; font-size: 12px; left: 0; line-height: 1.4; padding: 8px 8px; position: absolute; top: 8px; width: 100%; max-width: 200px; box-shadow: none; font-family: var(--form-font); }
.mktoForm .mktoError .mktoErrorArrowWrap { display: none; }
.mktoForm .mktoError { left: 0; bottom: 7px !important; width: 100%; }
/* Hide only the City & Country input boxes (not touching behaviour) */
.msf_step[data-step="5"] input#City, .msf_step[data-step="5"] input#Country { position: absolute !important; left: -9999px !important; }

/* Re-skin Marketo submit button appearance only */
.msf_step[data-step="5"] .mktoButtonWrap.mktoSimple .mktoButton { color: #ffffff !important; background: #5F46CF !important; border-radius: 40px !important; padding: 18px 20px 16px 20px !important; font-size: 13px !important; font-weight: 700 !important; width: 100% !important; line-height: normal !important; border: 1px solid #5F46CF !important; }
.msf_step[data-step="5"] .mktoButtonWrap.mktoSimple .mktoButton:hover { background: #4120d6 !important; }
.msf_step[data-step="5"] .mktoButtonRow { text-align: center !important; width: 100%; }
.msf_step[data-step="5"] .mktoButtonWrap { margin-left: 0 !important; }
/* Hide all rows by default */
.mktoFormRow { display: none; }

/* Show only the rows that contain BOTH inputs */
.mktoFormRow:has(#Email), .mktoFormRow:has(#clientEmailOptIn) { display: block; }
.row_show { display: block !important; }
.mktoFormRow:has(#Mktg_Captured_Product_Interest_Area__c), .mktoFormRow:has(#Number_of_Studies__c),.mktoFormRow:has(#Number_of_Participants__c),.mktoFormRow:has(#Number_of_Locals__c) { display: none !important; }



.up .mktoForm .mktoButtonRow button:after {
    width: 10px;
    height: 12px;
    padding-left: 14px;
    position: relative;
}



/* .row_show {
  display: block !important;
} */


@media(max-width:991px){
  .msf_title { font-size: 28px; }
  .msf_card { padding: 34px; }
  .msf_option_card { min-height: 130px; padding: 26px 10px 26px 10px; }
  .msf_grid { padding-bottom: 40px !important; }
  .msf_check_icon { height: 18px; width: 18px; }
}

@media(max-width:767.95px){
  .msf_card { padding: 20px; }
  .msf_title { font-size: 24px; }
  .sec1_form_group .msf_header { margin-bottom: 12px; }
  .form_title { padding-bottom: 20px; }
  .msf_step[data-step="5"] input.mktoField { padding: 10px 14px !important; }
  .msf_option_card { min-height: 100px; padding: 22px 10px 22px 10px; }
  .msf_grid { padding-bottom: 25px !important; }
  .msf_option_card.msf_option_multi { min-height: 100px; }
  .msf_check_icon { height: 15px; width: 15px; }
}

@media(max-width:480px){
  .msf_option_card{ font-size: 14px; }

  .msf_option_card { width: 100%; }
}