@font-face {
    font-family: 'Neurial Grotesk';
    src: url('../fonts/NeurialGrotesk-Regular.woff2') format('woff2'),
         url('../fonts/NeurialGrotesk-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --accent: #74c1ff;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    background: #000;
    font-family: 'Neurial Grotesk', sans-serif;
    color: #fff;
    text-transform: uppercase;
}

.bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    object-position: center center;
    z-index: -1;
    pointer-events: none;
}

.bg-desktop { display: block; }
.bg-mobile { display: none; }

@media only screen and (max-width: 740px) {
    .bg-desktop { display: none; }
    .bg-mobile { display: block; }
}

.main {
    min-height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px;
    gap: 40px;
    position: relative;
}

.title {
    font-size: clamp(26px, 3vw, 56px);
    line-height: 0.95;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.signup {
    max-width: 640px;
    width: 45%;
}

.signup_inner {
    max-width: 360px;
    margin-left: auto;
}

.signup h1 {
    font-size: clamp(26px, 3vw, 56px);
    line-height: 0.95;
    font-weight: normal;
    margin: 0 0 24px 0;
    letter-spacing: 0.01em;
}

#sib-form {
    margin: 0;
}

input[type="email"],
input[type="text"] {
    width: 100%;
    background: var(--accent);
    border: none;
    color: #000;
    padding: 10px 14px;
    font-family: 'Neurial Grotesk', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    outline: none;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

input::placeholder { color: #000 !important; opacity: 1; }
input:-ms-input-placeholder { color: #000 !important; }
input::-ms-input-placeholder { color: #000 !important; }

.button-signup {
    display: block;
    width: 100%;
    margin-top: 12px;
    background: #000;
    color: #fff;
    border: 1px solid #fff;
    padding: 14px 20px;
    font-family: 'Neurial Grotesk', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.button-signup:hover {
    background: #fff;
    color: #000;
}

.input--hidden {
    display: none;
}

.footer-logos {
    position: absolute;
    left: 60px;
    bottom: 32px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-logos img,
.footer-logos svg {
    height: 28px;
    width: auto;
    display: block;
}

@media only screen and (max-width: 740px) {
    html, body {
        height: 100dvh;
        overflow: hidden;
    }

    .main {
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        padding: 24px 20px 100px 20px;
        gap: 24px;
        height: 100dvh;
        min-height: 0;
    }

    .title {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        font-size: 30px;
        text-align: center;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        order: 1;
    }

    .title br {
        display: none;
    }

    .signup h1 {
        font-size: 30px;
    }

    .signup {
        width: 100%;
        order: 3;
        margin-top: auto;
    }

    .signup_inner {
        max-width: 65%;
        margin-left: 0;
    }


    .footer-logos {
        left: 20px;
        bottom: 20px;
    }
}

/* Thankyou page */
.thankyou-wrap {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.thankyou-wrap h2 {
    font-weight: normal;
    font-size: clamp(20px, 2vw, 36px);
    margin: 0;
    letter-spacing: 0.02em;
}
