*, *::before, *::after {
    box-sizing: border-box;
}


html, body {
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: ibm-plex-sans;
    font-size: 16px;
    color: #333;
}

.gap {
    clear: both;
    width: 0;
    height: 0;
}

.gap-sm {
    width: 4rem;
    height: 4rem;
}

.gap-md {
    width: 8rem;
    height: 8rem;
}

.gap-lg {
    width: 8em;
    height: 8em;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .headline h1 {
        background-clip: text;
        -webkit-background-clip: text;
        background-image: linear-gradient(155deg, #3A71FF, #FF70FF 100%);
        color: transparent;
    }

    h1, h2, h3, h4, h5, h6 {
        background-clip: text;
        -webkit-background-clip: text;
        background-image: linear-gradient(155deg, #443939, #333)
        color: transparent;
    }
}

/**
 * Safari has problem with rendering big gradients.
 * It does so with a big delay. Don't use it altogether.
 */
@media not all and (min-resolution: .001dpcm) {
    .background {
        display: none;
    }

    .ambient {
        display: none;
    }
}

.background {
    visibility: hidden;
    position: fixed;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    z-index: -10;
    object-fit: cover;
    user-select: none;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 1em;
}

video::-webkit-media-controls {
    display:none !important;
}

.hide {
    display: none;
}

.headline h1 {
    font-family: Helvetica, ibm-plex-sans;
    font-weight: 800;
    font-size: 3.4em;

}

.ambient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    z-index: -1;
    background: radial-gradient(rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 0) 50%);
}

.ambient--gentle {
    background: radial-gradient(rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 50%);
}

.ambient--hero {
    width: 400%;
    height: 400%;
}



.rel {
    position: relative;
}

.logo {
    max-height: 1.2em;
}

.carousel {
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

/**
 * Features section
 */

.feature__list {
    display: inline-flex;
}


.feature__item {
    flex-grow: 1;
    flex-basis: 0px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(40px);
    border-radius: 20px;
    padding: 20px;
}

.feature__item--blue {
    background-image: linear-gradient(314deg, #3a71ff1f, #3a71ff24);
}

.feature__item--yellow {
    background-image: linear-gradient(0deg, #ffff002b, #ffff0052);
}

.feature__item--green {
    background-image: linear-gradient(45deg, #00ffc91c, #00ffc966);
}

.news__list {
    white-space: nowrap;
    position: relative;
}

.news__item {
    border: 1px solid rgba(0, 0, 0, .1);
    display: inline-flex;
    flex-direction: column;
    background: rgb(255, 255, 255);
    color: rgba(0, 0, 0, 0.75);
    overflow: hidden;
    border-radius: 10px;
    margin-right: 10px;
    font-size: .8rem;
    width: 300px;
    height: 300px;
}

.news__item__more {
    position: absolute;
    right: 0;
    bottom: 0;
    background: #fff;
    padding-left: 4em;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 3.5em);
    text-decoration: none;
    color: rgba(0, 0, 0, .6);
}

.news__item__more:hover {
    text-decoration: underline;
}


.news__item__body {
    line-height: 1.2em;
    margin: .5em;
    position: relative;
    flex-shrink: 0;
}

.news__item__body a {
    text-decoration: none;
}


.news__item__text {
    height: 3.6em;
    overflow: hidden;
    white-space: normal;
}

.news__item__social {
    display: flex;
    flex-shrink: 0;
    padding: .5em .5em;
    align-items: center;
    color: rgb(102, 102, 102);
}

.news__item__social__icon {
    max-height: 1rem;
}

.news__item__social__time {
    text-align: right;
    flex-grow: 1;
}

.news__item__image {
    object-fit: cover;
    flex-grow: 1;
    width: 100%;
    cursor: pointer;
}

section {
    max-width: 100%;
}

.content {
    margin: 0 auto;
    width: 100%;
    max-width: 960px;
}

.content--inset {
    max-width: 840px;
}

.content--center {
    text-align: center;
}

.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.hero__figure  {
    flex-shrink: 0;
    width: 100%;
    max-width: 350px;
}

.hero__content {
}

.hero__content--left {
    text-align: left;
}

.hero__content--right {
    text-align: right;
}

.hero--reverse {
    flex-direction: row-reverse;
}

.hero--reverse .hero__content {
    text-align: right;
}

.hero--reverse .hero__content {
    text-align: right;
}

.partner__list {
    list-style: none;
    text-align: center;
}

.partner__item {
    display: inline-block;
    margin: 10px 8px;
    height: 34px;
}

.partner__item img {
    opacity: .8;
    max-height: 100%;
}


ul {
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

.t-bg {
    font-size: 1.625em;
}

.t-md {
    font-size: 1.25em;
}

.t-sm {
    font-size: 1em;
}

.t-xs {
    font-size: 0.875em;
}

.c-w {
    margin: 0 auto;
    max-width: 840px;
}

.button {
    display: inline-block;
    background: transparent;
    padding: .4em .6em;
    cursor: pointer;
    border-radius: 5px;
    transition: background .4s;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
}

.button:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
}

.button:active {
    background: #fff;
}

.intro-content {
    text-align: center;
}

.triangle-video {
    width: 100%;
    height: 100%;
    clip-path: polygon(50% -5%, 110% 95%, -10% 95%);
    -webkit-clip-path: polygon(50% -5%, 110% 95%, -10% 95%);
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
}

.triangle-svg {
    width: 100%;
    height: 100%;
    overflow: visible;

    font-weight: 100;
}

.engine-video {
    width: 100%;
    max-width: 340px;
    max-height: 340px;
    clip-path: circle(49% at 50% 50%);
    -webkit-clip-path: circle(49% at 50% 50%);
}


@keyframes fade-in {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}



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

    .background {
        display: none;
    }

    .ambient {
        display: none;
    }

    .headline h1 {
        font-size: 2.6em;
    }

    .hero {
        flex-direction: column;
    }

    .hero__figure {
        max-width: 300px;
        margin: 0 40px 1em 40px;
    }

    .hero__content.hero__content {
        text-align: center;
    }

    .news__item {
        font-size: .8em;
        width: 200px;
        height: 200px;
    }

    .intro-content {
        margin-bottom: 4em;
    }

    .engine-section {
        margin-top: 6em;
    }

    .triangle-section, .news-section {
        margin-top: 8em;
    }

    .triangle-svg {
        font-size: 1.4em;
    }

    .partner__item {
        height: 20px;
        margin: 10px 5px;
    }
}

@media (min-width: 640px) {
    .feature__item {
        margin: 0 20px;
    }

    .feature__item:first-child,
    .feature__item:last-child {
        margin: 0;
    }

    .partner-section {
        margin-top: 4em;
        margin-bottom: 8em;
    }

    .triangle-section .hero__content {
        /* Compensate triangle text increasing figure size
           so the content is relatively centered. */
        margin-top: -4rem;
    }

    .hero {
        margin: 20vh auto;
    }

    .hero:first-of-type {
        margin-top: 0;
    }

    .hero__figure {
        margin: 0 2em 0 2em;
    }
}


@media (max-width: 1140px) {
    .content {
        padding: 0 20px 0 20px;
    }
}
