* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: "Montserrat", sans-serif;
    background: #f7f6f3;
    color: #111;
}


/* =========================================
   KOKO SIVU
========================================= */

.page {
    position: relative;

    width: 100%;
    height: 100vh;
    height: 100svh;

    overflow: hidden;

    background: #f7f6f3;
}


/* =========================================
   PAITA — TAUSTAKUVA
========================================= */

.shirt-background {
    position: absolute;

    top: 50%;
    left: 50%;

    width: min(900px, 85vw);
    height: min(900px, 85vh);

    transform: translate(-50%, -48%);

    object-fit: contain;

    opacity: 0.65;

    z-index: 1;

    pointer-events: none;
}


/* =========================================
   PEHMEÄ FADE
========================================= */

.background-fade {
    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        radial-gradient(
            ellipse at center,
            rgba(247,246,243,0) 10%,
            rgba(247,246,243,0.05) 35%,
            rgba(247,246,243,0.55) 70%,
            rgba(247,246,243,0.98) 100%
        );
}


/* =========================================
   LOGO
========================================= */

.header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    padding-top: 42px;

    display: flex;
    justify-content: center;

    z-index: 10;
}

.logo {
    width: 165px;
    height: auto;
}


/* =========================================
   PÄÄSISÄLTÖ
========================================= */

.main {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    z-index: 10;
}


/* =========================================
   WAITLIST BOX
========================================= */

.waitlist {
    width: 390px;
    max-width: calc(100% - 40px);

    padding: 28px 30px 30px;

    text-align: center;

    background: rgba(255,255,255,0.90);

    border: 1px solid rgba(0,0,0,0.09);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.07);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    z-index: 20;
}


/* =========================================
   TEKSTIT
========================================= */

.drop {
    display: block;

    margin-bottom: 13px;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 0.3em;

    color: #777;
}

.waitlist h1 {
    font-size: 17px;

    font-weight: 600;

    letter-spacing: 0.12em;

    margin-bottom: 10px;
}

.waitlist p {
    font-size: 10px;

    line-height: 1.6;

    color: #666;

    margin-bottom: 22px;
}


/* =========================================
   EMAIL FORM
========================================= */

.form-row {
    display: flex;

    width: 100%;
}

.form-row input {
    flex: 1;

    min-width: 0;

    height: 46px;

    padding: 0 14px;

    border: 1px solid #ddd;

    border-right: none;

    background: #fafafa;

    font-family: inherit;

    font-size: 9px;

    letter-spacing: 0.1em;

    outline: none;
}

.form-row input:focus {
    border-color: #111;
}

.form-row input::placeholder {
    color: #999;
}

.form-row button {
    width: 95px;

    height: 46px;

    border: 1px solid #111;

    background: #111;

    color: white;

    font-family: inherit;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 0.12em;

    cursor: pointer;

    transition: all 0.2s ease;
}

.form-row button:hover {
    background: white;

    color: #111;
}


/* =========================================
   SUCCESS
========================================= */

.success {
    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.15em;
}

.hidden {
    display: none;
}


/* =========================================
   ALAREUNAN TEKSTI
========================================= */

.tagline {
    position: absolute;

    bottom: 25px;
    left: 0;

    width: 100%;

    text-align: center;

    font-size: 8px;

    letter-spacing: 0.3em;

    color: rgba(0,0,0,0.4);

    z-index: 10;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .header {
        padding-top: 28px;
    }

    .logo {
        width: 135px;
    }

    .shirt-background {
        width: 125vw;

        height: 75vh;

        top: 46%;

        opacity: 0.55;
    }

    .background-fade {
        background:
            radial-gradient(
                ellipse at center,
                rgba(247,246,243,0) 5%,
                rgba(247,246,243,0.08) 30%,
                rgba(247,246,243,0.60) 70%,
                rgba(247,246,243,0.98) 100%
            );
    }

    .waitlist {
        max-width: calc(100% - 30px);

        padding: 25px 18px 26px;
    }

    .waitlist h1 {
        font-size: 14px;
    }

    .waitlist p {
        font-size: 9px;
    }

    .form-row input {
        height: 44px;
    }

    .form-row button {
        width: 85px;

        height: 44px;
    }

    .tagline {
        bottom: 15px;

        font-size: 7px;
    }
}