/* letter section */

.letter {
    background-color: var(--bp-cream);
    color: var(--main-dark);
    box-shadow: .5rem .5rem 0 0 #f0ece26b;
    --fullwidth-color: var(--bp-cream);
    box-shadow: 0 0 0 100vmax var(--fullwidth-color);
    clip-path: inset(0 -100vmax);
    background-color: var(--fullwidth-color);
}

.letter p,
.letter h2 {
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
}

.letter h2 {
    font-size: 2rem;
    line-height: 1.3;
    text-align: center;
    margin: 30px 20px;
}

.letter p a,
.letter p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--main-dark);
}


.letter .title {
    max-width: 640px;
    margin: 50px auto;
    font-weight: 500;

}

.letter .signature img {
    margin-bottom: 10px;
}


.letter .memo-header img {
    margin-left: -5px;
}


.letter-bp-logo {
    width: 20px;
}

.letter-divider {
    margin: 30px 0 0 0;
    width: 105px;
}

.letter .largeT {
    float: left;
    font-size: 3.3rem;
    position: relative;
    top: -12px;
    margin-right: .5rem;
    margin-bottom: -15px;
}

/* hero section */


.hero .checkboxes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .hero .checkboxes {
        flex-direction: row;
        gap: 40px;
    }
}


@media (min-width: 768px) and (max-width: 1280px) {
    .hero .checkboxes {
        justify-content: center;
    }
}

.hero .checkboxes .icon {
    background: white;
    display: inline-block;
    border-radius: 3px;
    margin-right: 15px;
    width: 29px;
    height: 29px;
    position: relative;
    vertical-align: top;
}

.hero .checkboxes .icon svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
}

.hero .checkboxes p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.hero .visual {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero .visual .desktop-hero {
    max-width: 880px;
}

.hero .visual .mobile-hero {
    max-width: 255px;
}

.button.wide {
    width: 100%;
    max-width: 300px;
}

/* statement section */

.statement .bold{
    font-weight:600!important;
}

.statement p {
    font-size: 1.4rem;
    font-weight: 300;
    font-family: var(--bp-font-family-body);
    color: #0A0A0A;
    line-height: 1.4;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .statement p {
        font-size: 1.5rem;
        font-weight: 300;
        font-family: var(--bp-font-family-body);
        color: #0A0A0A;
        margin-bottom: 50px;
    }
}

.statement mark {
    color: #E54747;
    background: transparent;
}

.steps-wrapper video {
    width: 100%;
    max-width: 775px;
    margin: 0 auto;
    border-radius: var(--bp-l-border-radius);
    box-shadow: inset 0 0 0 13px #f5f5f5;
}

.steps-wrapper .bottom-left {
    background: #f5f5f5;
    border-radius: var(--bp-l-border-radius);
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 1rem;
}

.steps-wrapper .bottom-left video {
    position: relative;
    left: -10%;
    bottom: 0%;
    border-radius: 0 6px 0 0;
    width: 105%;
}

.lock {
    width: 42px;
    height: auto;
    position: absolute;
    bottom: 3.2rem;
    left: 53%;
    transform: translateX(-50%);
    z-index: 5;
    animation: shake 1.83s infinite;
}

@media (max-width: 1279px) and (min-width: 1024px) {
    .lock {
        width: 2rem;
        height: auto;
        position: absolute;
        bottom: 2.8rem;
        left: 52.5%;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .lock {
        width: 1.5rem;
        height: auto;
        position: absolute;
        bottom: 2.2rem;
        left: 52.5%;
    }
}

@media (max-width: 420px) {
    .lock {
        width: 2rem;
        height: auto;
        position: absolute;
        bottom: 2.3rem;
        left: 52%;
    }
}

@keyframes shake {
    0% {
        transform: translateX(0) rotate(0)
    }

    35% {
        transform: translateY(0) rotate(0)
    }

    85% {
        transform: translateY(0) rotate(0)
    }

    89% {
        transform: translateY(-2px) rotate(-17deg)
    }

    93% {
        transform: translateY(-3px) rotate(17deg)
    }

    98% {
        transform: translateY(-4px) rotate(-17deg)
    }

    100% {
        transform: translateY(0) rotate(0)
    }
}

/* steps section */

.steps-wrapper .col-inner {
    max-width: 96%;
}


.steps-wrapper p {
    line-height: 1.4;
    font-weight: 400;
}

.steps-wrapper h2 {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.steps-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.steps-wrapper .timeline>ul>li {
    margin-bottom: 50px;
}


@media (min-width: 768px) {

    .steps-wrapper .timeline>ul>li.team.in-view {
        margin-bottom: 100px;
    }

    .steps-wrapper .timeline>ul>li {
        margin-bottom: 160px;
    }

    .steps-wrapper .col-inner {
        padding-left: 20px;
    }
}

.replaces-icons .icons {
    color: #888;
    font-size: 0.7rem;
}

.replaces-icons .icons .icon {
    margin-left: 10px;
    margin-bottom: 10px;
    white-space: nowrap;
    display: inline-block;
}

.replaces-icons .icons .icon svg {
    margin-right: 6px;
}

/* support section */

.support .card {
    background: var(--bp-primary-cream-color-10-opacity);
    border-radius: var(--bp-l-border-radius);
    padding: 30px;
}

.support .card p {
    margin-top: 20px;
    margin-bottom: 0;
    color: #FFFFFF;
}

.support .flex-row>div {
    display: flex;
    align-items: stretch;
}

.support .card-icon {
    width: 60px;
    background: #0a0a0a;
    border-radius:6px;
}

@media (min-width: 1280px) {
    .support .card {
        padding: 50px;
    }

    .support .card p {
        margin-top: 50px;
    }
}

@media (min-width: 1024px) {
    .support .card-icon {
        width: 80px;
    }
}

/* grid section */
.grid-container {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
    gap: 1rem;
    aspect-ratio: 16 / 9;
    opacity: 0.5;
    min-height: 400px;
    max-height: 720px;
    align-items: center;
}

@media (max-width: 1024px) {
    .grid-container>div:last-child {
        display: none;
    }
}

.grid-container>.d-flex {
    flex: 1 1 33%;
    position: relative;
}

.grid-container>.d-flex.mobile-thumbs {
    flex: 1 1 18%;
}

.grid-container>.d-flex:first-of-type {
    left: -1rem;
    top: -5vw;
}

.grid-container>.d-flex:last-of-type {
    right: -1rem;
}

.grid-container>.d-flex:nth-of-type(2), .grid-container>.d-flex:nth-of-type(4) {
    top: -25vw;
}

.grid-container>.d-flex:nth-of-type(2) {
    margin-left: -1rem;
}

.grid-container>.d-flex:nth-of-type(3) {
    margin-right: -1rem;
}

.grid-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-item img {
    width: 100%;
    height: auto;
    margin-top: 1rem;
}

.templates-absolute {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 3;
    background: radial-gradient(50% 50% at 50% 50%, #0A0A0A 0%, rgba(10, 10, 10, 0.00) 100%);
    color: #fff;
}

.container-templates {
    background: #000;
    position: relative;
    z-index: 2;
    text-align: center;
}

.templates-absolute h2 {
    max-width: 900px;
    margin: 0 auto 20px;
}

.container-boost-efficiency h1 {
    margin: 0 auto 20px;
}

.container-boost-efficiency .narrow-col {
    max-width: 760px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .grid-container>.d-flex {
        top: 0 !important;
    }
}

.letter a {
    color: var(--main-dark);
    text-decoration-color: var(--main-dark);
}

.trusted-by {
    margin-bottom: 40px;
    font-size: 1rem;
}

.support-avatars {
    max-width: 300px;
}

.integrations {
    background-color: var(--main-dark);
    margin-top: -1px;
    margin-bottom: -1px;
}

.integrations .slider {
    padding-top: 0;
    background-image: none;
    padding-bottom: 0;
}


/*HERO VISUAL ANIMATION*/

.hero .hero-visual {
    flex: 1 1 100%;
    position: relative;
    overflow: hidden;
}

.hero .hero-visual img.desktop-hero {
    position: relative;
    margin: 0 12%;
    transform: translateX(0%);
    transition: all .3s linear;
    z-index: 5;
    max-width: 76%;
    border-radius: var(--bp-l-border-radius);
}

.hero .hero-visual img.mobile-hero {
    position: absolute;
    margin: 0 auto;
    left: 70%;
    transform: translateX(-50%) scale(.5);
    transition: all .3s ease-out;
    z-index: 2;
    max-width: 23.4%;
}

.hero .hero-visual img.desktop-hero.scrolled {
    margin-left: 0;
    margin-right: 24%;
    transform: translateX(0%);
}

.hero .hero-visual img.mobile-hero.scrolled {
    transform: translateX(-100%) scale(1);
    left: 100%;
}

.hero-visual img.active {
    opacity: 1;
    z-index: 10;
}

/*/////////////TIMELINE/////////////////////*/

.timeline {
    width: auto;
    margin: auto;
    position: relative;
}

.timeline ul {
    padding: 0;
}

.timeline .default-line {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 2px;
    background: transparent;
    height: 100%;
    z-index: 0;
}

.timeline .draw-line {
    width: 2px;
    height: 0;
    position: absolute;
    left: -21px;
    top: 4px;
    background: var(--grey);
}

.timeline ul li {
    list-style-type: none;
    position: relative;
    margin: 0 auto 0 0;
    background: transparent;
}

.timeline ul li.in-view {
    transition: 0.125s ease-in-out, background-color 0.2s ease-out, color 0.1s ease-out, border 0.1s ease-out;
}

.timeline ul li.in-view::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 3px;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 28px;
    background-color: var(--main-dark);
    transition: 0.125s ease-in-out, background-color 0.2s ease-out, color 0.1s ease-out, border 0.1s ease-out;
}

.timeline ul li.in-view::before {
    background-color: var(--main-dark);
}

.timeline ul li::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 5px;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: inherit;
    background: var(--grey);
    transition: all 0.4s ease-in-out;
}

@media (max-width: 1200px) {
    .timeline {
        max-width: calc(1200px - 2rem);
        padding: 0 0.8rem 0 1rem;
    }

    .timeline .default-line {
        left: .875rem;
        display: none;
    }

    .timeline ul li::before {
        left: -3px;
        top: 10px;
        display: none;
    }

    .timeline ul li.in-view::before {
        left: -3px;
        width: 12px;
        height: 12px;
        display: none;
    }

    .timeline .draw-line {
        left: 14px;
        display: none;
    }

    .timeline .container h2 {
        text-align: left;
        margin-top: .3rem;
    }

    .timeline .stage-card {
        margin-top: 0rem;
    }
}

@media (max-width: 1024px) {
    .timeline .container h2 {
        margin: .6rem auto;
    }
}


@media (max-width: 769px) {
    .timeline .draw-line, .timeline ul li::before {
        display: none;
    }
    .container-templates .flex-column.delay3{
        display:none;
    }
}

