

:root {
    --font-plus-jakarta-sans: "Plus Jakarta Sans", system-ui, sans-serif;

    --color-white: #FFF;
    --color-background-1: #F8F8F6;
    --color-background-2: #1B2844;
    --color-background-3: #111A2E;
    --color-button-1: #FFEA42;
    --color-button-2: #CCB816;
    --color-button-hover: #FFF5A3;
    --color-grey: #ECEDEC;
    --color-font: #292F2C;
    --color-link: #67CF11;
    --color-link-hover: #8CEA3E;
    --color-card-1: #9398F1;
    --color-card-4: #FCA337;
}

:where(a[href], button, summary, [role="button"], [tabindex]):not(:where([tabindex="-1"], form[class^="om"] *, form[class*=" om"] *)):focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #111;
}
:where(a, button, input, select, textarea) {
    font: inherit;
    color: inherit;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    font-family: var(--font-plus-jakarta-sans);
    color: var(--color-font);
    background-color: var(--color-background-1);
}

@media (max-width: 992px) {
    body.is-menu-open:after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.8);
        z-index: 1;
        pointer-events: none;
    }
}

img {
    vertical-align: middle;
}

:where(main a) {
    color: var(--color-link);
}

:where(main a:hover) {
    color: var(--color-link-hover);
}

.uppercase {
    text-transform: uppercase;
}

/*<editor-fold desc="Common components">*/
.page {
    flex: 1 0 auto;
}

.section {
    position: relative;
}

.page-self-iframe {
    position: fixed;
    inset: 0;
    display: block;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    border: 0;
    background: var(--color-background-1);
    z-index: 9999;
}

.wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .wrapper {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .wrapper {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .wrapper {
        max-width: 1140px;
    }
}

.btn {
    display: inline-block;
    text-align: center;
    color: var(--color-font);
    padding: 25px 70px;
    border-radius: 8px;
    transition: background-color .2s;
}

@media (max-width: 992px) {
    .btn {
        padding: 18px 42px;
    }
}

.btn-primary {
    background-color: var(--color-button-1);
    box-shadow: 5px 5px 0 0 var(--color-button-2);
}

.btn-primary:hover {
    background-color: var(--color-button-hover);
}

a.btn,
a.btn:hover {
    text-decoration: none;
}

h1, .h1, .h1-desktop {
    font-size: 44px;
    font-weight: 800;
    line-height: normal;
}

h2, .h2 {
    font-size: 38px;
    font-weight: 800;
    line-height: normal;
}

h3, .h3 {
    font-size: 32px;
    font-weight: 500;
    line-height: normal;
}

h4, .h4 {
    font-size: 28px;
    font-weight: 400;
    line-height: 49px;
}

h5, .h5 {
    font-size: 20px;
    font-weight: 800;
    line-height: normal;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

h6, .h6 {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.text-body {
    font-size: 22px;
    font-weight: 400;
    line-height: 28px;
}

@media (max-width: 575px) {
    h1, .h1 {
        font-size: 26px;
        line-height: 32px;
    }

    h2, .h2, .h2-mobile {
        font-size: 22px;
        line-height: 32px;
    }

    h3, .h3, .h3-mobile {
        font-size: 18px;
        line-height: 30px;
    }

    h4, .h4 {
        font-size: 18px;
        line-height: 34px;
    }

    h5, .h5 {
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0.96px;
    }

    h6, .h6 {
        font-size: 11px;
    }

    .text-body {
        font-size: 18px;
        line-height: 21px;
    }
}

.card {
    border-radius: var(--border-radius, 24px);
    box-shadow: var(--box-shadow, 0 0 79.5px 0 rgba(163, 163, 163, 0.15));
}

@media (max-width: 575px) {
    .card {
        --border-radius: 8px;
    }
}

.d-block {
    display: block;
}
/*</editor-fold>*/

/*<editor-fold desc="Site decor">*/
.site-decor {
    position: absolute;
    display: flex;
    justify-content: center;
    inset-inline: 0;
    z-index: -2;
    overflow-x: clip;
}

@media (max-width: 992px) {
    .site-decor {
        display: none;
    }
}

.site-decor--loan-options-section {
    transform: translateY(-10px);
}

.site-decor--steps-section {
    transform: translateY(-337px);
}

.site-decor--advantages-section {
    bottom: 0;
}

.site-decor--faq-section {
    transform: translateY(184px);
}

.site-decor--how-it-works-steps-section {
    transform: translateY(-337px) translateX(-180px);
}

.site-decor-2-image-frame {
    position: absolute;
    width: 2095px;
    height: 1305px;
    margin-inline: auto;
}

.site-decor-2-image-frame > img {
    position: absolute;
}

.site-decor-2-image-frame img:first-child {
    top: 0;
    left: 0;
}

.site-decor-2-image-frame img:last-child {
    bottom: 0;
    right: 0;
}
/*</editor-fold>*/

/*<editor-fold desc="Accordion">*/
.box-acc {
    border-radius: 45px;
    overflow: clip;
    margin-top: 32px;
}

.box-acc ol {
    list-style: auto;
    margin-left: 24px;
}

.ac-head {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 90px;
    padding: 16px 23px 16px 40px;
    border: 1px solid white;
    background-color: var(--color-background-2);
    color: white;
    cursor: pointer;
}

.ac-head__title {
    align-self: center;
}

.ac-head__icon {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background-color: var(--color-link);
    border-radius: 50%;
}

.ac-head__icon:before {
    content: '';
    display: block;
    width: 14px;
    height: 11px;
    background: var(--color-background-2);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transition: transform .2s;
}

.box-acc.in .ac-head__icon:before {
    transform: rotate(180deg);
}

.ac-body {
    padding: 20px 40px 32px;
    background-color: #fff;
    box-shadow: 0 0 79.5px 0 rgba(163, 163, 163, 0.15);
}

.ac-body > *:not(:first-child) {
    margin-top: 10px;
}

@media (max-width: 992px) {
    .ac-head {
        padding-left: 30px ;
    }
}

@media (max-width: 575px) {
    .box-acc {
        margin-top: 10px;
        border-radius: 8px;
    }

    .ac-head {
        min-height: auto;
        padding: 19px 15px;
    }

    .ac-body {
        padding: 20px 16px 32px;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="Site header">*/
.site-header {
    padding-block: 16px;
    background-color: var(--color-background-2);
}

@media (max-width: 575px) {
    .site-header {
        padding-block: 10px;
    }
}

.site-header__row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.site-header__logo {
    margin-right: auto;
}

.site-header__menu-btn {
    margin-left: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.is-menu-open .site-nav {
    position: absolute;
    top: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding: 80px 55px 40px;
    border-radius: 0 0 0 12px;
    background: var(--color-background-2);
    z-index: 2;
}

@media (max-width: 992px) {
    .site-nav__item {
        display: none;
    }

    .is-menu-open .site-nav__item {
        display: unset;
    }
}

.site-nav__item a {
    color: var(--color-white);
    text-decoration: none;
}

.site-nav__item a:hover {
    color: var(--color-button-1);
}

.site-nav__item a.active {
    text-decoration: underline;
}

.site-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 30px;
    height: 30px;
    padding: 2px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.site-menu-toggle span {
    width: 18px;
    height: 2px;
    background-color: #fff;
}

.site-menu-toggle span:nth-child(2) {
    width: 26px;
}

@media (max-width: 992px) {
    .site-menu-toggle {
        display: flex;
    }

    .is-menu-open .site-menu-toggle {
        align-items: center;
        position: absolute;
        right: 15px;
        top: 10px;
        z-index: 3;
    }

    .is-menu-open .site-menu-toggle span:nth-child(1) {
        transform: translateY(3px) rotate(45deg);
    }
    .is-menu-open .site-menu-toggle span:nth-child(2) {
        display: none;
    }
    .is-menu-open .site-menu-toggle span:nth-child(3) {
        transform: translateY(-3px) rotate(-45deg);
    }
}

.site-header__cta {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 19px 12px 17px;
    border: 1px solid var(--color-white);
    border-radius: 8px;
    margin-left: 28px;
    color: var(--color-white);
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    letter-spacing: 0.42px;
    text-transform: uppercase;
    text-decoration: none;
}

@media (max-width: 575px) {
    body:not(.is-menu-open) .site-header__cta {
        display: none;
    }
}

.site-header__cta:before {
    content: '';
    display: block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: var(--color-button-1);
}

.site-header__cta:hover {
    color: var(--color-background-2);
    background-color: var(--color-white);
    transition: color, background-color .4s;
}

.site-header__cta:hover:before {
    background-color: var(--color-background-2);
}

.is-menu-open .site-header__cta {
    margin-top: 10px;
    margin-left: 0;
}
/*</editor-fold>*/

/*<editor-fold desc="Hero section">*/
.hero-section {
    padding-top: 100px;
}

@media (max-width: 992px) {
    .hero-section {
        padding-top: 40px;
    }
}

.hero-section--home {
    position: relative;
    overflow-x: clip;
}

.hero-section--loan {
    background-color: var(--color-background-3);
}

.hero-section--loan > .wrapper {
    padding-bottom: 60px;
    border-bottom: 1px solid var(--color-card-1);
}

@media (max-width: 992px) {
    .hero-section--loan > .wrapper {
        padding-bottom: 50px;
    }
}

@media (max-width: 575px) {
    .hero-section--loan > .wrapper {
        padding-bottom: 40px;
    }
}

.hero-section__bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.hero {
    position: relative;
}

.hero__content {
    width: 100%;
}

:where(.hero-section--home .hero__content) {
    max-width: 476px;
}

:where(.hero-section--loan .hero__content) {
    max-width: 476px;
}

.hero__title {
    color: var(--color-white);
}

@media (max-width: 575px) {
    .hero-section--loan .hero__title {
        width: 267px;
        margin-inline: auto;
        text-align: left;
    }

    .hero-section--bad-credit .hero__title {
        width: 255px;
    }

    .hero-section--loan .hero__highlight-text {
        color: white;
    }
}

.hero__highlight-text {
    color: var(--color-card-1);
}

.hero__points {
    margin-top: 28px;
    color: var(--color-white);
}

.hero__points li:before {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="11" viewBox="0 0 15 11" fill="none"><path d="M1.5 5.10612L4.68621 8.50006L13.5 1.50006" stroke="%23FFEA42" stroke-width="3" stroke-miterlimit="10" stroke-linecap="round"/></svg>');
    margin-right: 16px;
}

.hero__content .btn {
    margin-top: 30px;
}

@media (max-width: 575px) {
    .hero__content .btn {
        margin-top: 40px;
    }
}

.link-disclosures {
    display: block;
    margin-top: 25px;
    color: var(--color-white);
    text-decoration: none;
}

/* image */
.hero__image {
    position: absolute;
}

.hero-section--home .hero__image {
    right: 0;
    bottom: 40px;
}
@media (max-width: 1200px) {
    .hero-section--home .hero__image {
        width: 401px;
    }
}
@media (max-width: 992px) {
    .hero-section--home .hero__image {
        width: 271px;
    }
}

.hero-section--loan .hero__image {
    right: 0;
    bottom: 40px;
}
@media (max-width: 1200px) {
    .hero-section--loan .hero__image {
        width: 401px;
    }
}
@media (max-width: 992px) {
    .hero-section--loan .hero__image {
        width: 271px;
    }
}


/* mobile layout */
@media (max-width: 767px) {
    .hero-section {
        background-color: var(--color-background-3);
    }

    .hero-section__bg {
        display: none;
    }
    
    .hero {
        text-align: center;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__points {
        width: fit-content;
        margin-inline: auto;
        text-align: left;
    }

    .link-disclosures {
        display: none;
    }

    .hero__image {
        position: static;
        margin-top: 45px;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="Loan options section">*/
.loan-options-section {
    margin-top: 70px;
}

@media (max-width: 992px) {
    .loan-options-section {
        margin-top: 40px;
    }
}

.loan-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

@media (max-width: 1199px) {
    .loan-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 30px;
    }
}

@media (max-width: 575px) {
    .loan-options {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}

.loan-options__item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    padding: 30px 30px 40px 36px;
    text-decoration: none;
}

@media (max-width: 992px) {
    .loan-options__item {
        gap: 20px;
        padding: 30px 36px 40px;
    }
}

@media (max-width: 575px) {
    .loan-options__item {
        flex-wrap: nowrap;
        gap: 18px;
        padding: 18px 20px 18px 16px;
    }
}

.loan-options__item:after {
    content: url(../images/arrow-icon.svg);
    position: absolute;
    right: 30px;
}

@media (max-width: 575px) {
    .loan-options__item:after {
        right: 20px;
    }
}

.loan-options__item:nth-child(1) {
    background-color: #9398F1;
}

.loan-options__item:nth-child(2) {
    background-color: #22D5E1;
}

.loan-options__item:nth-child(3) {
    background-color: #8CEA3E;
}

.loan-options__item:nth-child(4) {
    background-color: #FCA337;
}

.loan-options__item-text {
    width: 100%;
    color: var(--color-background-3);
    text-transform: uppercase;
}

@media (max-width: 575px) {
    .loan-options__item-text {
        width: auto;
        align-self: center;
        padding-right: 42px;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="Loan summary section">*/
.loan-summary-section {
    padding-block: 55px 63px;
    background-color: var(--color-background-3);
    color: white;
}

@media (max-width: 992px) {
    .loan-summary-section {
        padding-block: 40px;
    }
}

@media (max-width: 575px) {
    .loan-summary-section {
        padding-block: 40px 20px;
    }
}

.loan-summary {
    display: flex;
    justify-content: space-between;
    gap: 78px;
}

.loan-summary__content p {
    margin-top: 20px;
}

.loan-summary__image {
    flex: 0 0 auto;
}

/* tablet layout */
@media (max-width: 992px) {
    .loan-summary {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        text-align: center;
    }

    .loan-summary__image {
        width: 83px;
    }
}

/* mobile layout */
@media (max-width: 575px) {
    .loan-summary {
        gap: 30px;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="Steps section">*/
.steps-section {
    margin-top: 100px;
}

.steps-section__title {
    text-align: center;
}

.steps-section__content {
    margin-top: 50px;
}

.steps-section__cta {
    text-align: center;
    margin-top: 70px;
}

/* mobile layout */
@media (max-width: 575px) {
    .steps-section {
        margin-top: 60px;
    }

    .steps-section__content {
        margin-top: 30px;
    }

    .steps-section__cta {
        margin-top: 40px;
    }
}

/* steps */
.steps {
    display: flex;
    gap: 72px;
    padding: 53px 64px 0;
    background-color: var(--color-white);
}

.steps__item {
    display: flex;
    flex-basis: 100%;
    flex-direction: column;
    gap: 20px;
}

.steps__item-content {
    display: contents;
}

.steps__item-image {
    height: 165px;
    object-fit: contain;
    margin-top: auto;
}

.steps__divider {
    --line: 1px solid var(--color-font);
    display: flex;
    align-items: center;
    height: 256px;
    border-left: var(--line);
}

.steps__divider:after {
    content: url(../images/steps-triangle-icon.svg);
}

/* tablet layout */
@media (max-width: 992px) {
    .steps-section .wrapper {
        max-width: 100%;
        padding: 0;
    }

    .steps {
        gap: 37px;
        padding: 50px 40px 0;
        border-radius: 0;
    }
}

/* mobile layout */
@media (max-width: 767px) {
    .steps-section .wrapper {
        padding: 0 15px;
    }

    .steps {
        flex-direction: column;
        gap: 20px;
        padding: 0;
        background-color: transparent;
        box-shadow: none;
    }

    .steps__item {
        flex-direction: row;
        gap: 30px;
        justify-content: space-between;
    }

    .steps__item-content {
        display: block;
    }

    .steps__item-text {
        margin-top: 20px;
    }

    .steps__item-image {
        height: 121px;
        object-fit: contain;
        margin-top: 0;
    }

    .steps__divider {
        height: 15px;
        width: 100%;
        justify-content: center;
        border-left: none;
        border-top: var(--line);
    }

    .steps__divider:after {
        transform: rotate(90deg);
    }
}
/*</editor-fold>*/

/*<editor-fold desc="FAQ section">*/
.faq-preview-section {
    margin-top: 135px;
}

@media (max-width: 992px) {
    .faq-preview-section {
        margin-top: 95px;
    }
}

@media (max-width: 575px) {
    .faq-preview-section {
        margin-top: 65px;
    }
}

.faq-preview-section__title {
    text-align: center;
}

.faq-preview-section__content {
    margin-top: 45px;
}

.faq-preview-section__link {
    margin-top: 45px;
    text-align: center;
}
/*</editor-fold>*/

/*<editor-fold desc="Advantages section">*/
.advantages-section {
    padding-block: 160px 80px;
}

@media (max-width: 992px) {
    .advantages-section {
        padding-block: 100px 80px;
    }
}

@media (max-width: 575px) {
    .advantages-section {
        padding-block: 40px 50px;
    }
}

.advantages {
    display: flex;
    align-items: flex-end;
    gap: 60px;
    padding-inline: 61px 65px;
    background-color: #fff;
}

.advantages__image {
    max-width: 386px;
    margin-top: -62px;
}

.advantages__content {
    padding-block: 50px 65px;
}

.advantages__points {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
    text-align: left;
}

.advantages__points li {
    display: flex;
    align-items: center;
    gap: 19px;
}

.advantages__points li:before {
    width: 44px;
    height: 44px;
}

.advantages__points li:nth-child(1):before {
    content: url(../images/shield-icon.svg);
}

.advantages__points li:nth-child(2):before {
    content: url(../images/handshake-icon.svg);
}

.advantages__points li:nth-child(3):before {
    content: url(../images/percents-icon.svg);
}

.advantages__link {
    margin-top: 50px;
}

/* tablet layout */
@media (max-width: 1200px) {
    .advantages {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
        padding: 50px 76px 65px;
    }

    .advantages__image {
        margin-top: 0;
    }

    .advantages__content {
        padding: 0;
    }
}

/* mobile layout */
@media (max-width: 650px) {
    .advantages {
        gap: 28px;
        padding: 30px 15px 35px;
    }

    .advantages__points {
        gap: 18px;
    }

    .advantages__link {
        margin-top: 30px;
    }
}

@media (max-width: 575px) {
    .advantages {
        text-align: center;
    }

    .advantages__image {
        max-width: 184px;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="Site footer">*/
.site-footer {
    padding-block: 40px;
    background-color: var(--color-background-3);
}

.site-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

@media (max-width: 992px) {
    .site-footer__top {
        align-items: flex-start;
        padding-bottom: 40px;
        border-bottom: 1px solid var(--color-grey);
    }
}

@media (max-width: 575px) {
    .site-footer__top {
        flex-direction: column;
        align-items: center;
        padding-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .site-footer__logo {
        margin-bottom: 42px;
    }
}

.site-footer__nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

@media (max-width: 992px) {
    .site-footer__nav {
        gap: 55px;
    }
}

@media (max-width: 700px) {
    .site-footer__nav {
        gap: 15px;
    }
}

@media (max-width: 575px) {
    .site-footer__nav {
        width: 100%;
        flex-direction: column;
        padding-top: 30px;
        border-top: 1px solid var(--color-grey);
    }
}

.site-footer__nav-group {
    display: flex;
    align-items: center;
    gap: 34px;
}

@media (max-width: 992px) {
    .site-footer__nav-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

@media (max-width: 575px) {
    .site-footer__nav-group {
        align-items: center;
    }
}

.site-footer__nav a {
    color: var(--color-white);
    text-decoration: none;
}

.site-footer__nav a:hover {
    color: var(--color-button-1);
}

.site-footer__nav a.active {
    text-decoration: underline;
}

/* material disclosure */
footer .material {
    --text-color: #fff;
    --table-border-color: #ffffff;
    --table-border-color-mobile: #ffffff;
    --table-text-color: #fff;
    --h3-font-size: 20px;
    --h3-font-weight: 800;
    --title-font-size: 18px;
    --strong-font-weight: 500;
    --p-font-size: 14px;
    --p-font-weight: 400;
    --table-font-size: 14px;
    --table-font-size-mobile: 11px;
    --p-margin-top: 18px;
    margin-top: 40px;
}
@media (max-width: 992px) {
    footer .material {
        margin-top: 68px;
    }
}
@media (max-width: 575px) {
    footer .material {
        margin-top: 30px;
    }
}

footer .material h3,
footer .material p {
    color: var(--text-color);
}
footer .material h3 {
    font-size: var(--h3-font-size);
    font-weight: var(--h3-font-weight);
    line-height: normal;
    text-transform: uppercase;
}
footer .material p {
    margin-top: var(--p-margin-top);
    font-size: var(--p-font-size);
    font-weight: var(--p-font-weight);
    line-height: 1.2;
}
footer .material strong {
    font-weight: var(--strong-font-weight);
}
footer .material strong.title {
    display: block;
    margin-bottom: 8px;
    font-size: var(--title-font-size);
}

footer .material .table {
    width: 900px;
    font-size: var(--table-font-size);
    border-left: 1px solid var(--table-border-color);
    border-bottom: 1px solid var(--table-border-color);
    color: var(--table-text-color);
    margin-block: 30px;
}
footer .material .table .tr {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    border-top: 1px solid var(--table-border-color);
}
footer .material .table .tr .td {
    width: 20%;
    padding: 10px;
    border-right: 1px solid var(--table-border-color);
}

@media (max-width: 1000px) {
    footer .material .table {
        width: 100%;
    }
}

@media (max-width: 700px) {
    footer .material .table {
        font-size: var(--table-font-size-mobile);
        display: flex;
        justify-content: stretch;
        align-items: stretch;
        border: none;
        border-left: 1px solid var(--table-border-color-mobile);
        border-bottom: 1px solid var(--table-border-color-mobile);
    }

    footer .material .table .tr {
        width: 20%;
        display: block;
        border: none;
        border-right: 1px solid var(--table-border-color-mobile);
    }

    footer .material .table .tr:first-child {
        width: 40%;
    }

    footer .material .table .tr .td {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 60px;
        padding: 5px;
        border: none;
        border-top: 1px solid var(--table-border-color-mobile);
        text-align: center;
    }
}
/* end */

.copyright {
    color: white;
    margin-top: 30px;
}
/*</editor-fold>*/

/*<editor-fold desc="FAQ section ">*/
.faq-section {
    padding-block: 100px 105px ;
}

@media (max-width: 992px) {
    .faq-section {
        padding-block: 40px 75px ;
    }
}

@media (max-width: 575px) {
    .faq-section {
        padding-block: 30px 55px ;
    }
}

.faq-section__title {
    text-align: center;
}

.faq-section__content {
    margin-top: 70px;
}

@media (max-width: 992px) {
    .faq-section__content {
        margin-top: 40px;
    }
}

@media (max-width: 575px) {
    .faq-section__content {
        margin-top: 20px;
    }
}

.faq-section__cta {
    margin-top: 70px;
    text-align: center;
}

@media (max-width: 992px) {
    .faq-section__cta {
        margin-top: 50px;
    }
}

@media (max-width: 575px) {
    .faq-section__cta {
        margin-top: 30px;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="Legal pages">*/
.page--legal-group {
    padding-block: 90px;
}

@media (max-width: 992px) {
    .page--legal-group {
        padding-block: 50px;
    }
}

@media (max-width: 575px) {
    .page--legal-group {
        padding-block: 40px;
    }
}

.legal-content {
    font-size: 18px;
    font-weight: 400;
    line-height: 21px;
}

.legal-content h1 {
    display: none;
}

.legal-content :where(strong, p) {
    margin-top: 30px;
}

.legal-content :where(ol li) {
    margin-top: 22px;
}
/*</editor-fold>*/

/*<editor-fold desc="Contact page">*/
.contact-section {
    padding-block: 60px 100px;
}

@media (max-width: 767px) {
    .contact-section {
        padding-block: 40px 210px;
    }
}

.contact {
    display: grid;
    grid-template-columns: 336px 1fr;
    gap: 41px;
    max-width: 917px;
    margin-inline: auto;
}

.contact a {
    text-decoration: none;
}

.contact__aside {
    display: grid;
    align-items: flex-start;
    gap: 30px;
}

.contact__title {
    color: var(--color-card-1);
    margin-top: 58px ;
    margin-bottom: 6px;
}

.contact-row {
    margin-top: 12px;
}

.contact-form-card {
    padding: 40px 52px;
    background-color: #FFF;
}

.contact-form__grid {
    display: grid;
    gap: 40px;
}

.contact-form__required {
    color: var(--color-font);
    margin-bottom: -25px;
    text-align: right;
    opacity: .7;
}

.contact-form__field-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 22px 14px;
    border: 1px solid #BEBEBE;
    border-radius: 4px;
    background-color: var(--color-white);
    font-size: 18px;
    font-weight: 400;
    line-height: 21px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-font);
}

.contact-form input.error,
.contact-form textarea.error {
    border-color: var(--color-card-4);
}

.contact-form input.valid,
.contact-form textarea.valid {
    border-color: var(--color-link);
}

.contact-form textarea {
    height: 162px;
}

.contact-form__footer {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.contact-form__submit {
    padding: 7px 50px 8px;
    border: 1px solid var(--color-font);
    border-radius: 8px;
    color: var(--color-font);
    background-color: #fff;
    cursor: pointer;
    transition: all .2s;
}

.contact-form__submit:hover {
    background-color: var(--color-card-4);
    border-color: var(--color-card-4);
    color: white;
}

.contact-form div.error {
    color: var(--color-card-4);
}

.contact-form-card .success-message {
    text-align: center;
}

.contact-image {
    align-self: flex-end;
    margin-bottom: -100px;
}

/* tablet layout */
@media (max-width: 992px) {
    .contact {
        gap: 62px;
    }

    .contact__title {
        margin-top: 0;
    }

    .contact-form-card {
        padding: 30px 15px 40px;
    }

    .contact-form__grid {
        gap: 20px;
    }

    .contact-form__required {
        margin-bottom: -5px;
    }

    .contact-form__field-group {
        grid-template-columns: 1fr;
    }

    .contact-image-container {
        margin-top: 48px;
    }

    .contact-image {
        height: 226px;
    }
}

/* mobile layout */
@media (max-width: 767px) {
    .contact {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact__aside {
        text-align: center;
    }

    .contact__title {
        margin-bottom: -10px;
    }

    .contact-image-container {
        margin-top: 21px;
        text-align: center;
    }

    .contact-image {
        height: 191px;
        position: absolute;
        bottom: 0;
        left: 50%;
        margin-bottom: 0;
        transform: translateX(-50%);
    }
}
/*</editor-fold>*/

/*<editor-fold desc="How it works page">*/
.page--how-it-works .steps-section {
    margin-bottom: 105px;
}

@media (max-width: 992px) {
    .page--how-it-works .steps-section {
        margin-bottom: 85px;
    }
}

@media (max-width: 575px) {
    .page--how-it-works .steps-section {
        margin-bottom: 65px;
    }
}

.how-it-works-section {
    padding-block: 100px 130px;
    background-color: var(--color-background-3);
    color: white;
}

@media (max-width: 992px) {
    .how-it-works-section {
        padding-block: 40px 80px;
    }
}

@media (max-width: 575px) {
    .how-it-works-section {
        padding-block: 40px 0;
    }
}

.how-it-works {
    position: relative;
    --image-width: 255px;
    --image-offset: 34px;
}

.how-it-works__content {
    max-width: calc(100% - var(--image-width) - var(--image-offset));
}

.how-it-works__title {
    color: var(--color-card-1);
}

.how-it-works__content p {
    margin-top: 50px;
}

.how-it-works__content p + p {
    margin-top: 20px;
}

.how-it-works__image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: var(--image-width);
}

/* tablet layout */
@media (max-width: 992px) {
    .how-it-works {
        --image-width: 210px;
        --image-offset: 30px;
    }

    .how-it-works__content {
        max-width: 100%;
    }

    .how-it-works__content p + p {
        max-width: calc(100% - var(--image-width) - var(--image-offset));
        margin-top: 50px;
    }
}

/* mobile layout */
@media (max-width: 575px) {
    .how-it-works__content p {
        margin-top: 30px;
    }

    .how-it-works__content p + p {
        max-width: 100%;
        margin-top: 20px;
    }

    .how-it-works__image {
        position: static;
        display: block;
        margin: 40px auto 0;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="Form page">*/
.is-form-page .site-header__row {
    justify-content: center;
}

.is-form-page .site-header__row .site-header__logo {
    margin-right: 0;
}
/*</editor-fold>*/
