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

html,
body {
    width: 100%;
    height: 100%;
    background: #000;
    color: #fff;
    font-family: system-ui, sans-serif;
    overflow: hidden
}

/* logo + form ------------------------------------------------------ */
.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 420px;
    max-width: 90vw;
}

.logo {
    width: 100%;
    max-width: 420px;
    height: auto;
    filter: drop-shadow(0 0 42px rgba(255, 255, 255, .9));
}

@media (max-width: 360px) {
    .center {
        max-width: 95vw;
    }
}


form {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: nowrap;
}

input[type=email] {
    flex: 1 1 0;
    /* let it shrink if needed   */
    min-width: 0;
    max-width: 380px;
    padding: 15px 20px;
    border: 2px solid #fff;
    border-radius: 50px;
    background: transparent;
    color: #fff;
    font-size: 17px;
    outline: none;
    font-family: 'Nexa Bold', sans-serif;
}

input::placeholder {
    color: #bbb
}

button {
    padding: 15px 28px;
    border: none;
    border-radius: 50px;
    background: #fff;
    color: #000;
    font-weight: bold;
    font-size: 17px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
    transition: background .25s, color .25s;
    font-family: 'Nexa Bold', sans-serif;
}

button:hover {
    background: #e5e5e5
}

/* simple toast */
.toast {
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 17px;
    font-family: 'Nexa Bold', sans-serif;
    pointer-events: none;
    opacity: 0;
    transition: opacity .4s, transform .4s;
    z-index: 999;
}

/* colour variants
        .toast.ok {
            background: #0f0;
            color: #000;
        }

        .toast.error {
            background: #f33;
            color: #fff;
        } */

.toast.ok {
    background: #00e676;
    color: #000;
}

.toast.error {
    background: #ff1744;
    color: #fff;
}

/* show state */
.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.tag {
    margin-top: 24px;
    font-size: 15px;
    color: #bbb;
}

.buzz {
    /* typography */
    font: 28px 'Nexa Bold', sans-serif;
    /* shrink a bit */
    line-height: 1.25;
    text-align: center;

    /* layout */
    display: flex;
    /* vertical-centre the text   */
    justify-content: center;
    align-items: center;

    margin-top: 40px;
    height: 68px;
    /* ≈ two lines of 28 px text  */
    width: 100%;

    overflow: hidden;
    /* anything beyond 2 lines is clipped */
    word-wrap: break-word;
    /* allow wrapping mid-word if needed */
}