/*
------------------------------ COVER ------------------------------
*/
#cover {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
#cover__swiper {
    width: 100%;
    height: 100%;
}
#cover__swiper .swiper-slide {
    background-size: cover;
    background-position: center;
}

#cover__swiper .swiper-wrapper .swiper-slide:nth-child(1) {
    background-position: 0 15%;
}
#cover__swiper .swiper-wrapper .swiper-slide:nth-child(2) {
    background-position: 20% 40%;
}

#cover__dim {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
#cover__dim,
#cover__dim::before,
#cover__dim::after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
#cover__dim::before,
#cover__dim::after {
    content: "";
    display: block;
}
#cover__dim::before {
    background-color: rgba(0, 0, 0, 0.1);
}
#cover__dim::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 66.666%);
}

#cover__content {
    position: absolute;
    left: 50%;
    bottom: calc(var(--margin) + var(--padding));
    width: calc(100% - var(--margin)*2 - var(--padding)*2);
    transform: translate(-50%, 0);
    z-index: 1;
    pointer-events: none;
}

#cover__text {
    color: var(--white);
    max-width: var(--mw50);
    position: relative;
}
#cover__text .tag {
    margin-bottom: 0.6rem;
}
#cover__text h2 {
    color: var(--white);
    font-size: 7.2rem;
    line-height: 0.85;
    margin-bottom: 3rem;
    font-weight: 450;
}
#cover__text p {
    max-width: var(--mw50);
    text-wrap: balance;
}
#cover__text a {
    margin-top: 3.6rem;
    pointer-events: all;
}

#cover__pagination {
    width: auto;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, -50%);
    pointer-events: all;
}
#cover__navigation {
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: all;
}





/*
------------------------------ INTRODUCTION ------------------------------
*/
#introduction {
    padding-top: 12rem;
    background-image: url(../images/background.webp);
    background-size: cover;
    background-position: top center;
}

#introduction .section__title {
    margin-bottom: 9.6rem;
}
#introduction .section__title h2 {
    font-weight: 450;
    font-size: 6rem;
    margin-bottom: 3.6rem;
}
#introduction .section__title p strong {
    color: var(--primary);
}

#benefits h2 {
    margin-bottom: 6rem;
}
#benefits .benefit svg {
    height: 4.8rem;
    fill: var(--primary);
    margin-bottom: 2.4rem;
}
#benefits .benefit h3 {
    max-width: var(--mw80);
    text-wrap: balance;
}
#benefits .benefit p {
    text-wrap: balance;
    margin-bottom: 0;
}





/*
------------------------------ PRODUCTS ------------------------------
*/






/*
------------------------------ HELP ------------------------------
*/
#help {
    background-image: url(../images/background.webp);
    background-size: cover;
    background-position: top center;
}

#help__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* grid-auto-rows: max-content; */
    gap: var(--gutter);
    grid-template-areas:
    'a a b b'
    'c d b b';
}

#education {
    grid-area: a;
}
#education__title {
    align-items: flex-start;
}
#education__title h2 {
    margin-bottom: 3.6rem;
}
#education__title .button {
    margin-top: 1.2rem;
}
#education .article__thumbnail {
    display: block;
    border-radius: var(--radius-small);
    overflow: hidden;
    margin-bottom: 2.4rem;
    height: 0;
    padding-top: 56.25%; /* 16:9 */
    position: relative;
}
#education .article__thumbnail div {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
#education .article__thumbnail div img {
    width: 100%;
    height: 100%;
    transition: transform 200ms ease-out;
}
#education .article__thumbnail:hover div img {
    transform: scale(1.05);
}
#education .tag {
    margin-bottom: 0.6rem;
}
#education .article__title {
    display: block;
}
#education .article__title h3 {
    font-family: "TT Firs Text", sans-serif;
    font-size: 2.4rem;
    letter-spacing: -0.01em;
    text-wrap: balance;
    margin-bottom: 1.2rem;
    color: var(--black);
    line-height: 1;
    transition: color 200ms ease-out;
}
#education .article__title:hover h3 {
    color: var(--primary);
}
#education .article p {
    font-size: 1.6rem;
    margin-bottom: 0;
}

#faq {
    grid-area: b;
}

#call {
    grid-area: c;
}
#email {
    grid-area: d;
}

.contact svg {
    height: 4.8rem;
    margin-bottom: 3.6rem;
}
.contact h2 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
}
.contact p {
    font-size: 1.6rem;
    margin-bottom: 2.4rem;
}
.contact span {
    display: block;
    font-size: 2.4rem;
}





/*
------------------------------ PARTNERS ------------------------------
*/
#partners {
    padding-top: calc(var(--radius-large) + 14.4rem);
    padding-bottom: var(--margin);
    border-bottom-left-radius: var(--radius-large);
    border-bottom-right-radius: var(--radius-large);
}
#partners .section__title {
    margin-bottom: 6rem;
}
#partners .section__title h2 {
    margin-bottom: 3.6rem;
}
#partners-wrapper {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 20%, black 80%, transparent 100%);
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-bottom: 9.6rem;
}
.partners__track {
    display: inline-flex;
}
.partners__track:first-child {
    margin-bottom: 3.6rem;
}
.partners__track div {
    display: flex;
    font-size: 1rem; /* 10px */
}
.partners__track div img {
    height: 6em; /* 60px */
    margin: 0 4.8rem;
    opacity: 0.333;
    transition: opacity 200ms ease-out;
}
.partners__track div img:hover {
    opacity: 1;
}
@keyframes marquee-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes marquee-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
.partners__track--left {
    animation: marquee-left 40s linear infinite;
}
.partners__track--right {
    animation: marquee-right 40s linear infinite;
}





/*
------------------------------ CTA ------------------------------
*/
#cta .cta {
    background-color: #1f2233;
    border-radius: var(--radius);
    color: var(--gray60);
    background-color: rgba(204, 213, 255, 0.025); /* 230-20-100 */
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: solid 0.1rem rgba(255, 255, 255, 0.05);
    box-shadow: 2.4rem 2.4rem 4.8rem rgba(0, 0, 0, 0.2);
    transition: background-color 200ms ease-out;
}
#cta .cta h2 {
    max-width: var(--mw50);
    color: var(--white);
    margin-bottom: 2.4rem;
}
#cta .cta p {
    max-width: var(--mw50);
    text-wrap: balance;
}

#cta__signup {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#cta__signup .r1-1:first-child {
    margin-bottom: 2.4rem;
}
#cta__signup .r1-1:first-child h2 {
    margin-bottom: 0;
}
#cta__signup svg {
    height: 5.4rem;
    fill: var(--white);
}

#cta__app {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
#cta__app p {
    margin-bottom: 4.8rem;
}
#badges {
    display: flex;
    align-items: flex-end;
    flex: 1;
}
#badges a {
    display: block;
    margin-right: 1.2rem;
}
#badges a:last-child {
    margin-right: 0;
}
#badges a svg {
    height: 4.8rem;
}
#badges a svg .badge {
    fill: var(--gray60);
    transition: fill 200ms ease-out;
}
#badges a svg .badge__frame {
    fill: var(--gray60);
    transition: fill 200ms ease-out;
}
#badges a svg .badge__background {
    fill: rgba(255, 255, 255, 0);
    transition: fill 200ms ease-out;
}
#badges a:hover svg .badge {
    fill: var(--black);
}
#badges a:hover svg .badge__frame {
    fill: none;
}
#badges a:hover svg .badge__background {
    fill: var(--white);
}

#cta__app > img {
    position: absolute;
    width: 33.333%;
    top: var(--padding);
    right: var(--padding);
}





#footer {
    position: relative;
    z-index: -2;
    padding-top: calc(var(--radius-large) + var(--margin));
    margin-top: calc(var(--radius-large) * -1);
}





@media only screen and (max-width: 1024px) and (orientation: portrait) {
    #cover__swiper .swiper-wrapper .swiper-slide:nth-child(1) {
        background-position: 90% center;
    }
    #cover__swiper .swiper-wrapper .swiper-slide:nth-child(2) {
        background-position: 80% center;
    }

    #benefits > .c1-1 > div > .c1-1 {
        grid-template-columns: minmax(0, 1fr);
    }
    #help__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
        'a a'
        'b b'
        'c d';
    }
    #cta > .c1-1 {
        grid-auto-rows: minmax(0, 1fr); /* same height */
        grid-template-columns: minmax(0, 1fr);
    }
    #cta .cta p {
        width: 50%;
    }
    #faq h2 {
        margin-bottom: 3.6rem;
    }

    #footer {
        padding-top: calc(var(--radius-large) + var(--margin) + var(--padding));
        padding-bottom: calc(var(--margin) + var(--padding));
    }
}



@media only screen and (max-width: 640px) and (orientation: portrait) {
    #cover__content {
        width: calc(100% - (var(--margin)*2 + var(--padding)*2));
        bottom: calc(var(--margin) + var(--padding));
    }
    #cover__text h2 {
        font-size: 4.8rem;
    }
    #cover__navigation {
        display: none;
    }
    #cover__pagination {
        left: auto;
        right: 0;
        transform: translate(0, -50%);
    }

    #cover__swiper .swiper-wrapper .swiper-slide:nth-child(1) {
        background-position: 60% center !important;
    }
    #cover__swiper .swiper-wrapper .swiper-slide:nth-child(2) {
        background-position: 41% center !important;
    }
    #cover__swiper .swiper-wrapper .swiper-slide:nth-child(3) {
        background-position: 70% center !important;
    }

    #introduction {
        padding-top: 7.2rem;
    }
    #introduction .section__title {
        margin-bottom: 7.2rem;
    }
    #introduction .section__title span {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.8rem;
        letter-spacing: 0;
    }
    #introduction .section__title h2 {
        font-size: 4.2rem;
    }
    #introduction .section__title h2 br {
        display: none;
    }
    #introduction .section__title .button {
        margin-top: 3.6rem;
    }

    #benefits {
        text-align: center;
    }
    #benefits h2 {
        margin-bottom: 4.8rem;
    }
    #benefits > .c1-1 {
        grid-template-columns: minmax(0, 1fr);
    }
    #benefits > .c1-1 > div > .c1-1 {
        gap: 3.6rem;
    }
    #benefits .benefit {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #benefits .benefit h3 {
        width: auto;
        max-width: 80%;
    }
    #benefits .benefit p {
        width: 100%;
    }
    #benefits .benefit:last-child p {
        margin-bottom: 1.2rem;
    }

    #products {
        padding-top: calc(var(--radius-large) + 9.6rem);
        padding-bottom: calc(var(--radius-large) + 7.2rem);
    }

    #help__grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
        'a'
        'b'
        'c'
        'd';
    }
    #help__grid .c1-1 {
        grid-template-columns: minmax(0, 1fr);
    }
    #education__title .button {
        display: none;
    }
    #faqs__wrapper {
        margin-bottom: -2.4rem;
    }

    #partners {
        padding-top: calc(var(--radius-large) + 9.6rem);
    }
    #partners-wrapper {
        margin-bottom: 7.2rem;
    }

    #cta .cta h2 {
        font-size: 3rem;
    }
    #cta .cta p {
        width: auto;
    }
    #cta > .c1-1 {
        grid-auto-rows: auto;
    }
    #cta__signup .r1-1:first-child {
        margin-bottom: 2.4rem;
    }
    #cta__signup .r1-1:last-child {
        display: block;
    }
    #cta__signup .r1-1:last-child p {
        margin-bottom: 4.8rem;
    }
    #cta__signup svg {
        display: none;
    }
    #badges {
        justify-content: space-between;
    }
    #badges a {
        margin-right: 0;
    }
    #badges a:nth-child(1) {
        width: calc(47.09677419354839% - 0.6rem);
    }
    #badges a:nth-child(2) {
        width: calc(52.90322580645161% - 0.6rem);
    }
    #badges a svg {
        height: 100%;
    }
    #cta__app > img {
        display: none;
    }
}