* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100svh;

    font-family: 'Poppins', sans-serif;

    background: #fafafa;
    color: #172231;
}


/* ==================================================
   HELE PAGINA
   ================================================== */

.coming-soon {
    min-height: 100svh;

    display: grid;

    grid-template-rows:
        clamp(120px, 16svh, 150px)
        minmax(380px, 1fr)
        auto;

    text-align: center;
}


/* ==================================================
   BOVENSTE BLAUWE BALK
   ================================================== */

.top-banner {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: #172231;
}

.top-banner-text {
    margin: 0;

    width: max-content;

    font-size: 28px;
    line-height: 1;

    font-weight: 400;

    letter-spacing: 0.38em;

    /* compenseert de ruime letterspacing optisch */
    padding-left: 0.38em;

    color: #ffffff;

    white-space: nowrap;

        /* optische correctie voor de letter-spacing */
    transform: translateX(0.19em);
}



/* ==================================================
   MIDDENSTUK: LOGO + E-PEDAGOOG
   ================================================== */

.brand-section {
    width: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: clamp(38px, 5vh, 60px) 24px;

    background: #fafafa;
}


/* LOGO */

.coming-soon-logo {
    width: 175px;
    height: 175px;

    object-fit: contain;

    margin-bottom: 6px;
}

/* MERKNAAM */

.brand-section h1 {
    margin: 0;

    font-size: 58px;
    line-height: 1.08;

    font-weight: 400;

    letter-spacing: -1.5px;

    color: #172231;
}

/* ==================================================
   ONDERSTE BLAUWE BALK
   ================================================== */

.signup-section {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
        clamp(34px, 4vh, 46px)
        24px
        clamp(30px, 3.5vh, 40px);

    background: #172231;
    color: #ffffff;
}

.signup-content {
    width: 100%;
    max-width: 820px;

    margin: 0 auto;

    text-align: center;
}


/* TEKST BOVEN FORMULIER */

.signup-title {
    width: 100%;
    max-width: 700px;

    margin: 0 auto 24px;

    font-size: 20px;
    line-height: 1.5;

    font-weight: 400;

    color: #ffffff;
}


/* FORMULIER */

.signup-form {
    width: 100%;
    max-width: 680px;

    margin: 0 auto;

    display: flex;
    align-items: stretch;

    gap: 12px;
}


/* E-MAILVELD */

.signup-form input {
    flex: 1;

    min-width: 0;
    height: 54px;

    padding: 0 18px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 9px;

    outline: none;

    background: #ffffff;

    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;

    color: #172231;
}

.signup-form input::placeholder {
    color: #7d838b;
}

.signup-form input:focus {
    border-color: #ffffff;

    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.12);
}


/* AANMELDKNOP */

.signup-form button {
    height: 54px;

    padding: 0 26px;

    border: 1px solid #ffffff;
    border-radius: 9px;

    background: transparent;

    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;

    color: #ffffff;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.signup-form button:hover {
    background: #ffffff;
    color: #172231;
}


/* PRIVACYREGEL */

.signup-privacy {
    max-width: 680px;

    margin: 16px auto 0;

    font-size: 11px;
    line-height: 1.5;

    font-weight: 400;

    color: rgba(255, 255, 255, 0.65);
}


/* MELDING NA AANMELDEN */

.signup-message {
    min-height: 0;

    width: fit-content;
    max-width: 100%;

    margin: 18px auto 0;
    padding: 10px 18px;

    border-radius: 999px;

    font-size: 14px;
    line-height: 1.4;

    font-weight: 500;

    color: #172231;
    background: #ffffff;

    opacity: 0;

    transition: opacity 0.2s ease;
}

.signup-message:not(:empty) {
    opacity: 1;
}


/* LABEL ALLEEN VOOR SCREENREADERS */

.visually-hidden {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


/* ==================================================
   MOBIEL
   ================================================== */
@media (max-width: 700px) {

    .coming-soon {
        grid-template-rows:
            90px
            minmax(300px, 1fr)
            auto;
    }


    /* BOVENBALK */

    .top-banner {
        padding: 18px 20px;
    }

    .top-banner-text {
        font-size: 17px;
        letter-spacing: 0.28em;

        transform: translateX(0.14em);
    }


    /* MERKBLOK */

    .brand-section {
        min-height: 0;

        padding: 28px 20px 32px;
    }

    .coming-soon-logo {
        width: 120px;
        height: 120px;

        margin-bottom: 5px;
    }

    .brand-section h1 {
        font-size: 38px;

        letter-spacing: -1px;
    }


    /* INSCHRIJFBLOK */

    .signup-section {
        padding: 26px 20px 22px;
    }

    .signup-content {
        max-width: 420px;
    }

    .signup-title {
        max-width: 380px;

        margin-bottom: 16px;

        font-size: 15px;
        line-height: 1.5;
    }

    .signup-form {
        max-width: 420px;

        flex-direction: column;

        gap: 8px;
    }

    .signup-form input,
    .signup-form button {
        width: 100%;
        height: 48px;
    }

    .signup-form button {
        font-size: 15px;
    }

    .signup-privacy {
        max-width: 380px;

        margin-top: 12px;

        font-size: 10px;
        line-height: 1.5;
    }
}