:root{
    --orange: #9D3592;
    --blue: #FFF3E7;
}

body{
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 300;
     font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
    font-family: "Ubuntu Sans", sans-serif;
}

*{
    line-height: 120%;
}

html{
    overflow-x: hidden;
}

a, button{
    all: unset;
    cursor: pointer;
}

input{
    all: unset;
}

.wrapper{
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

h1,h2,h3,h4,h5,h6{
    padding: 0;
    margin: 0;
    font-weight: 800;
}

.row{
    display: flex;
    flex-direction: row;
}

.col{
    display: flex;
    flex-direction: column;
}

.center{
    align-items: center;
}

.g8{
    gap: 8px;
}
.g24{
    gap: 24px;
}
.g36{
    gap: 36px;
}
.g48{
    gap: 48px;
}
.g96{
    gap: 96px;
}

h1{
    font-size: 64px;
    text-align: center;
    line-height: 130%;
}

h1 .orange{
    background: var(--orange);
    padding: 8px 24px;
    border-radius: 24px;
    color: white;
}

.subheading{
    font-size: 24px;
}

.header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #f4f6fdad;
    backdrop-filter: blur(24px);
    padding: 16px 0;
    box-sizing: border-box;
    z-index: 99;
}

.header__content{
    width: 100%;
}

.jcsb{
    justify-content: space-between;
}
.jcc{
    justify-content: center;
}

.grid-4{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.grid-3{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.grid-2{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

section.blue{
    background: var(--blue);
}

section{
    padding: 96px 0;
}

section.welcome{
    padding-top: 150px;
    padding-bottom: 96px;
}

footer{
    padding-top: 64px;
    padding-bottom: 24px;
}

.footer a{
    transition: all ease .15s;
    opacity: .6;
}

.footer a:hover{
    opacity: 1;
}

.footer__content{
    margin-top: 48px;
}

.join__links__content{
    padding: 12px;
    border-radius: 24px;
}

.shadow{
    box-shadow: 0 20px 24px rgba(0, 0, 0, 0.05);
}
.shadow-sm{
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.bold{
    font-weight: 600;
}

.join__links__content{
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    box-sizing: border-box;
    background: white;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -128px);
}

.link__type{
    padding: 12px;
    border-radius: 12px;
    box-sizing: border-box;
    text-align: center;
    transition: all ease .15s;
    background: white;
}

.link__type:hover{
    background: var(--orange);
    color: white;
}

.link__type:hover img{
    filter: brightness(10);
}

.link__type p.bold{
    max-width: 104px;
}

.small{
    font-size: 12px;
}

.btn{
    width: fit-content;
    border-radius: 12px;
    background: var(--orange);
    padding: 12px 24px;
    font-weight: 800;
    color: white;
    transition: all ease .15s;
}

.btn:hover{
    background: black   ;
}

.btn__black{
    background: black;
    color: white;
}

.btn__black:hover{
    background: var(--orange);
}

h2{
    padding-left: 12px;
    font-size: 48px;
    border-left: 1px solid var(--orange);
}

.footer h2{
    border: none;
    padding: 0;
}

.footer__offer .subheading{
    text-align: center;
}

p{
    margin: 0;
    padding: 0;
    line-height: 150%;
}

.about__text{
    background: #f4f6fda6;
    padding: 36px;
    max-width: 780px;
    box-sizing: border-box;
    z-index: 10;
    backdrop-filter: blur(2px);
}

.bg__tag{
    font-size: 180px;
    z-index: 1;
    position: absolute;
    right: -12px;
    top: 0px;
    opacity: .05;
    font-weight: 800;
}

.about__content{
    position: relative;
}

.menu a{
    transition: all ease .15s;
    opacity: .5;
}

.menu a:hover{
    opacity: 1;
}

.whofor__item{
    padding: 36px 0;
    box-sizing: border-box;
    border-radius: 24px;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    box-shadow: inset -5px -5px 10px #fafffb, inset 5px 5px 10px #a6abbd7f;
}

.span2{
    grid-row: span 2;
    height: 100%;
}

.span2col{
    grid-column: span 2;
}

.whofor__item *{
    opacity: .7;
    transition: all ease .15s;
}

.whofor__item:hover *{
    opacity: 1;
}

.toggler{
    background: white;
    padding: 20px;
    border-radius: 24px;
    transition: all ease .15s;
    opacity: 1 !important;
}

.toggler.active{
    color: white;
    background: var(--orange);
}

.toggler.active img{
    filter: brightness(10);
}

.toggler p{
    max-width: 105px;
}

.toggler:hover{
    color: white;
    background: var(--orange);
}

.toggler:hover img{
    filter: brightness(10);
}

.toggler p, .link__type p{
    line-height: 120%;
}

.fe{
    align-items: flex-end;
}

.join__wrapper{
    width: 100%;
    box-sizing: border-box;
    padding: 36px;
    border-radius: 24px;
    background: var(--orange);
    color: white;
}

.join__wrapper h2{
    padding: 0;
    border: none;
    color: white;
}

.account__offer{
    background: #ffffffd0;
    color: black;
    padding: 24px;
    border-radius: 24px;
    transform: translateX(-56px);
    backdrop-filter: blur(36px);
}

h3{
    font-size: 24px;
    font-weight: 300;
}

.form{
    justify-content: center;
    align-items: center;
    background: white;
    color: black;
    width: 100%;
    max-width: 600px;
    padding: 24px;
    border-radius: 24px;
    transform: translateX(56px);
}

.form p.bold.small{
    opacity: 0.3;
    margin-top: 12px;
}

input{
    padding: 12px;
    border-bottom: 1px solid #000;
}

.polygon__left{
    position: absolute;
    z-index: 0;
    left: 0;
    top: -120px;
}

.polygon__right{
    position: absolute;
    z-index: 0;
    right: 0;
    bottom: -120px;
    transform: scaleX(-1);
}

.join .polygon__left{
    filter: invert(1);
    opacity: .05;
    position: absolute;
    z-index: 0;
    left: 0;
    top: -120px;
}

.join .polygon__right{
    filter: invert(1);
    opacity: .05;
    position: absolute;
    z-index: 0;
    right: 0;
    bottom: -120px;
    transform: scaleX(-1);
}

.welcome__content, .join__content{
    position: sticky;
}

.join{
    overflow-y: hidden;
}

.field-error{
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
  color: #d33;
}
.is-invalid{
  outline: 2px solid rgba(221, 51, 51, 0.35);
}
.form__status{
  margin-top: 10px;
  font-size: 13px;
}
.form__status[data-type="success"]{ color: #0a7; }
.form__status[data-type="error"]{ color: #d33; }
.form__status[data-type="loading"]{ opacity: .75; }



@media screen and (max-width: 1240px) {
    .wrapper{
        max-width: 1040px;
    }
}


@media screen and (max-width: 1060px) {
    .wrapper{
        max-width: 920px;
    }

    .grid-3{
        grid-template-columns: repeat(2, 1fr);
    }

    .join__wrapper{
        flex-direction: column;
        align-items: center;
    }

    .join__wrapper .col.g24{
        width: 100%;
    }

    .account__offer{
        box-sizing: border-box;
        transform: none;
        width: 100%;
    }

    .form{
        transform: none;
        width: 100%;
        max-width: unset;
        box-sizing: border-box;
    }

    .footer h2{
        text-align: center;
    }

    .grid-4{
        grid-template-columns: repeat(2, 1fr);
    }

    .long{
        grid-column: span 2;
    }

    .about{
        margin-top: 196px;
    }

    .whofor__content .row.center.jcsb.g24{
        flex-direction: column;
    }

    .whofor__content{
        text-align: center;
    }

    .whofor__content .col.g24{
        align-items: center;
    }

    h2{
        border: unset;
        text-align: center;
        margin: 0 auto;
        padding: 0;
    }
}


@media screen and (max-width: 940px) {
    .wrapper{
        max-width: 750px;
    }
}


@media screen and (max-width: 770px) {
    .wrapper{
        max-width: 520px;
    }

    .security__content{
        flex-direction: column;
    }

    .subheading{
        font-size: 20px;
        text-align: center;
    }

    .about__content .row.center.jcsb{
        flex-direction: column;
    }

    .menu{
        display: none;
    }

    .join__links{
        padding: 0 12px;
        box-sizing: border-box;
        max-width: 100%;
    }

    .join__links__content {
        position: relative;
        left: 0;
        transform: translateY(-48px);
    }

    h1{
        font-size: 36px;
    }

    h1 .orange{
        padding: 8px 12px;
        border-radius: 12px;
    }

    .about{
        margin-top: unset;
    }
}


@media screen and (max-width: 540px) {
    .wrapper{
        max-width: 360px;
    }

    h1 .orange{
        font-size: 24px;
    }

    h2{
        font-size: 36px;
    }

    .toggler{
        font-size: 14px;
        border-radius: 16px;
    }

    .toggler img{
        width: 36px;
    }

    .form .grid-2{
        grid-template-columns: repeat(1, 1fr);
    }

    .span2col{
        grid-column: span 1;
    }

    .footer__content{
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .footer .row.g24.jcc.center{
        flex-direction: column;
    }

    .footer__content .fe{
        align-items: center;
    }

    input{
        font-size: 14px;
    }
}

@media screen and (max-width: 365px) {
    .wrapper{
        max-width: 300px;
    }

    .grid-3{
        grid-template-columns: repeat(1, 1fr);
    }

    .whofor__item{
        padding: 16px 0;
    }
}
