:root {
    --ink: #101010;
    --muted: #777;
    --line: #d9d9d9;
    --soft: #f3f3f3;
    --brand: #16265e;
    --accent: #12709e;
    --button: #4a4a4a;
    --danger: #ef1d1d;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: #edf1f4;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

body>header {
    background: #fff;
    padding-bottom: 18px;
}

.mentor-bodycont {
    padding-top: 24px;
    padding-bottom: 48px;
}

.footerlink li {
    background: none;
    border-right: 1px solid rgba(82, 139, 225, .35);
}

.footerlink li:last-child {
    border-right: 0;
}

footer .footer-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    width: 100%;
    padding-left: 120px;
    padding-right: 120px;
}

footer .copyright {
    width: auto !important;
    float: none;
    flex: 0 0 auto;
    white-space: nowrap;
}

footer .footerlink {
    width: auto !important;
    float: none;
    flex: 1 1 auto;
    min-width: 0;
}

footer .footernav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

footer .footerlink li {
    float: none;
    flex: 0 0 auto;
}

.site-header {
    background: #fff;
}

.header-rule {
    height: 6px;
    width: 48%;
    margin-left: auto;
    background: #31569d;
}

.header-top,
.header-bottom {
    display: flex;
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 24px 0;
    gap: 28px;
}

.header-top {
    justify-content: space-between;
}

.header-bottom {
    justify-content: flex-end;
    padding-top: 8px;
    padding-bottom: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f3f74;
    font-weight: 700;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border: 4px solid #0f3f74;
    border-radius: 50%;
    color: #0f3f74;
    font-size: 24px;
}

.brand-text {
    line-height: 1.05;
    letter-spacing: 0;
    font-family: Georgia, serif;
    font-size: 16px;
}

.utility-nav,
.main-nav,
.site-footer nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.utility-nav {
    color: #666;
    font-size: 15px;
}

.main-nav {
    color: #001b55;
    font-size: 16px;
    text-transform: uppercase;
}

.program-button {
    margin-right: auto;
    border-radius: 6px;
    background: #0d78a7;
    color: #fff;
    padding: 12px 14px;
    font-weight: 700;
}

.site-footer {
    background: var(--brand);
    color: #a9b3d4;
    margin-top: 0;
}

.footer-inner {
    max-width: 1120px;
    min-height: 64px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 16px 24px;
}

.site-footer a {
    color: #2f88ff;
}

.site-footer p {
    margin: 0;
    font-size: 13px;
}

.mentor-page {
    padding: 16px 24px;
}

.mentor-card {
    max-width: 900px;
    min-height: 470px;
    margin: 0 auto;
    background: #fff;
    padding: 30px 66px 52px;
    border: 1px solid #e4eaf0;
    border-radius: 10px;
    box-shadow: 0 18px 45px rgba(18, 112, 158, .08);
}

.mentor-card h1 {
    margin: 0 0 18px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 27px;
    color: #4c4d4e;
}

.alert-success,
.alert-error {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 4px;
}

.alert-success {
    background: #e7f8f2;
    color: #11684f;
}

.alert-error {
    background: #fff0f0;
    color: #a50000;
}

.stepper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    list-style: none;
    margin: 27px 0;
    padding: 0;
}

.stepper::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: #d2dde4;
}

.stepper li {
    position: relative;
    text-align: center;
}

.stepper li::before {
    content: attr(data-step-label);
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    margin: 0 auto 7px;
    border-radius: 50%;
    background: #d4d4d4;
    color: #fff;
    font-size: 11px;
    border: 2px solid #d4d4d4;
}

.stepper li.active::before,
.stepper li.done::before {
    background: var(--accent);
    border-color: var(--accent);
}

.stepper li.active::before {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(18, 112, 158, .24);
}

.stepper button {
    border: 0;
    background: transparent;
    color: #c2c2c2;
    font-size: 14px;
    cursor: pointer;
}

.stepper li.active button,
.stepper li.done button {
    color: var(--accent);
    font-weight: 600;

}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.mentor-form label,
.mentor-form fieldset,
.question {
    display: block;
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: #727272;
}

.mentor-form label>span,
.mentor-form legend span,
.question span {
    color: var(--danger);
}

.mentor-form input[type="text"],
.mentor-form input[type="email"],
.mentor-form input[type="tel"],
.mentor-form input[type="url"],
.mentor-form input[type="number"],
.mentor-form select,
.mentor-form textarea {
    display: block;
    width: 286px;
    max-width: 100%;
    min-height: 34px;
    margin-top: 8px;
    border: 1px solid #b9c7d0;
    border-radius: 6px;
    background: #fff;
    padding: 7px 10px;
    font: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.mentor-form input[type="text"]:focus,
.mentor-form input[type="email"]:focus,
.mentor-form input[type="tel"]:focus,
.mentor-form input[type="url"]:focus,
.mentor-form input[type="number"]:focus,
.mentor-form select:focus,
.mentor-form textarea:focus {
    border-color: var(--accent);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(18, 112, 158, .14);
}

.mentor-form textarea {
    width: 320px;
    min-height: 66px;
    resize: vertical;
}

.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: 430px;
    margin-bottom: 17px;
}

.two-cols label {
    grid-column: 1 / -1;
    margin: 0;
}

.two-cols input {
    width: 100%;
}

.two-cols small {
    display: block;
    margin-top: 5px;
    font-size: 10px;
}

.file-input {
    display: block;
    width: min(100%, 508px);
    margin-top: 8px;
    border: 1px dashed #8aa5b5;
    border-radius: 8px;
    padding: 15px;
    background: #f9fcfd;
    font-size: 11px;
}

.hint {
    margin: -10px 0 20px;
    color: var(--danger);
    font-size: 13px;
}

.file-support-note {
    display: block;
    margin-top: 6px;
    color: var(--danger);
    font-size: 10px;
    font-weight: 400;
}

.file-error {
    display: none;
    margin-top: 6px;
    color: #b42318;
    font-size: 11px;
    font-weight: 700;
}

.file-error.is-visible {
    display: block;
}

.saved-file {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
    border-radius: 999px;
    background: #eef8fc;
    color: #285065;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
}

.saved-file a {
    color: var(--accent);
    text-decoration: underline;
}

.mentor-form fieldset {
    border: 0;
    padding: 0;
}

.mentor-form legend {
    margin-bottom: 8px;
    border: none;
}

.checks label,
.radio-grid label,
.accept-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
}

.mentor-form input[type="checkbox"],
.mentor-form input[type="radio"] {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: var(--accent);
}

.group-error {
    display: none;
    grid-column: 1 / -1;
    margin: 4px 0 0;
    color: #e24545;
    font-size: 11px;
}

.invalid-group {
    border-left: 3px solid #e24545 !important;
    padding-left: 10px !important;
}

.invalid-group legend {
    color: #b42318;
}

.invalid-group .group-error {
    display: block;
    width: 100%;
}

.grid-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    max-width: 540px;
    gap: 0 42px;
}

.grid-checks legend {
    grid-column: 1 / -1;
}

.radio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 420px;
}

.radio-grid legend {
    grid-column: 1 / -1;
}

.membership-box {
    display: grid;
    grid-template-columns: 30px 30px minmax(160px, 1fr) minmax(220px, 1.25fr);
    gap: 14px;
    align-items: center;
    max-width: 100%;
    margin-bottom: 20px;
    padding: 18px;
    border: 1px solid #e3ebf0;
    border-radius: 10px;
    background: #fff;
}

.icon-button {
    width: 24px;
    height: 24px;
    border: 1px solid #4e6f39;
    border-radius: 50%;
    background: #4e6f39;
    color: #fff;
    line-height: 18px;
    font-weight: 600;
    cursor: pointer;
    font-size: 19px;
}

.reference-intro {
    margin: -2px 0 22px;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    background: #f2f8fb;
    padding: 16px 18px;
}

.reference-intro h2 {
    margin: 0 0 6px;
    color: #0f4158;
    font-size: 18px;
}

.reference-intro p {
    margin: 0;
    color: #526672;
    font-size: 13px;
    line-height: 1.5;
}

.option-panel {
    max-width: 100%;
    border: 1px solid #e3ebf0 !important;
    border-radius: 10px;
    padding: 16px !important;
    background: #fff;
}

.option-panel legend {
    margin-bottom: 12px;
    color: #163242;
    font-size: 15px;
    font-weight: 700;
}

.option-panel label {
    min-height: 42px;
    margin: 0;
    border: 1px solid #dce6ec;
    border-radius: 8px;
    padding: 10px 12px;
    background: #f9fcfd;
    cursor: pointer;
}

.option-panel label:has(input:checked) {
    border-color: var(--accent);
    background: #eff8fc;
    color: #0f4158;
    font-weight: 700;
}

.wide-field {
    max-width: 100%;
    border: 1px solid #e3ebf0;
    border-radius: 10px;
    background: #fff;
    padding: 16px;
    font-weight: 700;
}

.wide-field textarea {
    width: 100%;
    min-height: 92px;
    font-weight: 400;
}

.terms-box {
    height: 236px;
    overflow: auto;
    width: 100%;
    border: 1px solid #c9c9c9;
    padding: 15px;
    font-size: 12px;
    line-height: 1.35;
    background: #fff;
    text-align: left;
    border-radius: 6px;
}

.terms-box ul li,
.terms-box ol li {
    padding: 0 0 4px 0;
    list-style-type: decimal;
}

.terms-box ul,
.terms-box ol {
    padding: 0 0 15px;
    margin-left: 25px;
}

.terms-box p {
    margin: 0 0 15px;
    padding: 0;
}

.terms-box h5 {
    padding: 0 0 10px;
}

.terms-box pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: Arial, Helvetica, sans-serif;
}

.accept-row {
    margin-top: 8px;
}

.terms-acceptance {
    width: min(100%, 506px);
    margin-top: 12px;
    border: 1px solid #dce6ec;
    border-radius: 10px;
    background: #f9fcfd;
    padding: 12px 14px;
}

.terms-acceptance .accept-row {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
}

.terms-acceptance .accept-row span {
    color: #163242;
}

.terms-acceptance input:disabled+span {
    color: #8a98a3;
}

.terms-read-note {
    margin: 8px 0 0;
    color: #7a5a00;
    font-size: 11px;
    font-weight: 700;
}

.terms-acceptance.terms-read .terms-read-note {
    color: #10623f;
}

.terms-error {
    display: none;
    margin: 8px 0 0;
    color: #b42318;
    font-size: 12px;
    font-weight: 700;
}

.terms-acceptance.invalid-terms {
    border-color: #e24545;
    background: #fff4f2;
    box-shadow: 0 0 0 3px rgba(226, 69, 69, .12);
}

.terms-acceptance.invalid-terms .terms-error {
    display: block;
}

.invalid-field {
    outline: 2px solid #e24545;
    outline-offset: 1px;
}

.select2-container {
    display: block;
    margin-top: 0;
    max-width: 100%;
    width: 100% !important;
    margin-bottom: 15px;
}

.select2-container--default .select2-selection--single {
    height: 38px;
    border: 1px solid #b9c7d0;
    border-radius: 6px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 32px;
    font-size: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px;
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default .select2-selection--single:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(18, 112, 158, .14);
}

.select2-container.invalid-field .select2-selection--single {
    border-color: #e24545;
}

.form-actions {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.form-actions button {
    min-width: 95px;
    border: 1px solid #e3e3e3;
    border-radius: 7px;
    padding: 11px 22px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
}

.form-actions .dark {
    background: #325eae;
    color: #fff;
    border-color: #325eae;
}

.form-actions .dark.is-loading {
    position: relative;
    color: transparent;
}

.form-actions .dark.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: save-spin .7s linear infinite;
}

@keyframes save-spin {
    to {
        transform: rotate(360deg);
    }
}

.form-actions .secondary {
    background: #eef0f2;
    color: #000;
}

.form-actions .submit {
    display: none;
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    border-width: 2px;
}

.form-actions.last-step [data-next] {
    display: none;
}

.form-actions.last-step [data-save] {
    display: none;
}

.form-actions.last-step .submit {
    display: inline-block;
}

.form-actions.first-step [data-prev] {
    visibility: hidden;
}

.step-count {
    position: absolute;
    right: 0;
    top: 32px;
    font-size: 14px;
    border: 1px solid #ccc;
    padding: 8px 15px;
    line-height: 18px;
    border-radius: 6px;
}

.inline-checkbox label {
    padding: 7px 15px 8px 0;
    display: flex;
    align-items: flex-start;
}

.inline-checkbox {
    display: flex;
    flex-wrap: wrap;
}

.save-modal[hidden] {
    display: none;
}

.save-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.save-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 30, 34, .68);
}

.save-modal__dialog {
    position: relative;
    width: min(490px, calc(100% - 30px));
    margin: 15vh auto 0;
    background: #d9d9d9;
    border: 1px solid #575757;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
    padding: 20px;
}

.save-modal__dialog h2 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
}

.save-modal__intro {
    margin: 0 0 18px;
    color: #111;
    font-size: 12px;
}

.save-modal__dialog label {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
}

.save-modal__dialog input,
.save-modal__dialog textarea {
    width: 100%;
    border: 1px solid #10a98f;
    background: #fff;
    padding: 7px 9px;
    font: inherit;
}

.save-modal__dialog textarea {
    min-height: 58px;
    border-color: #000;
    resize: none;
}

.save-modal__close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: #000;
    color: #fff;
    line-height: 20px;
    cursor: pointer;
}

.save-modal__dialog p {
    margin: 6px 0 0;
    color: #333;
    font-size: 11px;
}

.thank-you-card {
    position: relative;
    overflow: hidden;
    min-height: 0;
    padding-top: 54px;
    padding-bottom: 56px;
    text-align: center;
}

.thank-you-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: linear-gradient(90deg, var(--accent), #23a7c8);
}

.thank-you-mark {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(18, 112, 158, .1);
    box-shadow: 0 0 0 10px rgba(18, 112, 158, .05);
}

.thank-you-mark span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #529326;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
}

.thank-you-kicker {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    text-align: center;
}

.thank-you-card h1 {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    font-size: 34px;
    font-weight: 700;
}

.thank-you-lead {
    max-width: 560px;
    margin: 18px auto 8px;
    color: #152b38;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.thank-you-copy {
    max-width: 600px;
    margin: 0 auto;
    color: #526672;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

.thank-you-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 660px;
    margin: 30px auto 0;
}

.thank-you-summary div {
    border: 1px solid #dce8ee;
    border-radius: 10px;
    background: #f8fbfd;
    padding: 16px 12px;
}

.thank-you-summary strong {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: #e7f3f8;
    color: var(--accent);
}

.thank-you-summary span {
    display: block;
    color: #163242;
    font-size: 12px;
    font-weight: 700;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.thank-you-button,
.thank-you-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: 700;
}

.thank-you-button {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(18, 112, 158, .22);
}

.thank-you-link {
    border: 1px solid #12709e;
    color: #fff;
    background: #12709e;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
}

a:hover.thank-you-link {
    color: #fff;
}


@media (max-width: 900px) {

    .header-top,
    .header-bottom,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .program-button {
        margin-right: 0;
    }

    .mentor-card {
        padding: 24px 32px 42px;
    }

    footer .footer-fluid {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 13px;
    }

    .mentor-page {
        padding: 0;
    }

    .mentor-card {
        padding: 22px 16px 40px;
    }

    .mentor-card h1 {
        font-size: 22px;
    }

    .stepper {
        overflow-x: auto;
        grid-template-columns: repeat(5, 112px);
        padding-bottom: 6px;
    }

    .two-cols,
    .grid-checks,
    .radio-grid,
    .membership-box {
        grid-template-columns: 1fr;
    }

    .mentor-form input[type="text"],
    .mentor-form input[type="email"],
    .mentor-form input[type="tel"],
    .mentor-form input[type="url"],
    .mentor-form input[type="number"],
    .mentor-form select,
    .mentor-form textarea {
        width: 100%;
    }

    .select2-container {
        width: 100% !important;
    }

    .form-actions {
        padding-bottom: 22px;
    }

    .step-count {
        right: 50%;
        transform: translateX(50%);
    }

    footer .footer-fluid,
    footer .footernav {
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }

    footer .copyright {
        white-space: normal;
    }
}


.mentor-card .form-control {
    background: #fff !important;
    border: 1px solid #e3e3e3 !important;
    width: 100% !important;
    padding: 13px !important;
    min-height: auto !important;
    margin: 0 0 20px 0 !important;
    box-shadow: none;
    height: auto;
}

fieldset.checks label {
    padding: 5px 15px 5px 0;
    display: flex;
    align-items: center;
    margin: 0px;
}

fieldset.checks {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
}

fieldset.radio-grid.option-panel h5 {
    font-size: 19px;
    font-weight: 600;
    color: #4c4d4e;
    padding: 0 0 15px;
    display: block;
    width: 100%;
}

fieldset.radio-grid.option-panel {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

fieldset.radio-grid.option-panel p {
    padding: 0 15px 0 0;
}

.terms-box h4 {
    padding: 0 0 10px;
    text-transform: none;
    font-size: 16px;
}

