/*
	File:			dm-email-capture.css
	Author:			Sidney Lin
	Created:		2-25-2026
	Description:	Styles for DM email capture coming soon page with optimized mobile background support.

*/

/*
	START:Reset - Eric Meyer's Reset.css
	http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
*/

/*
    Fonts
*/
@font-face {
    font-family: "Work Sans";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/worksans/v24/QGYsz_wNahGAdqQ43Rh_cqDptfpA4cD3.woff2) format("woff2");
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF
}

@font-face {
    font-family: "Work Sans";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/worksans/v24/QGYsz_wNahGAdqQ43Rh_fKDptfpA4Q.woff2) format("woff2");
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD
}

@font-face {
    font-family: "Work Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/worksans/v24/QGYsz_wNahGAdqQ43Rh_cqDptfpA4cD3.woff2) format("woff2");
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF
}

@font-face {
    font-family: "Work Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/worksans/v24/QGYsz_wNahGAdqQ43Rh_fKDptfpA4Q.woff2) format("woff2");
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD
}

html,
body,
div,
span,
h2,
h3,
p,
a,
em,
strong,
form,
fieldset,
input {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

:focus {
    outline: 0;
}

body {
    line-height: 1;
    color: #3B3B3B;
    text-align: center;
    font-family: "Work Sans", Arial, Helvetica, Sans-serif;
    font-size: 62.5%;
    background-image: url("../images/DFY26_ComingSoonLanding_Desktop_0408.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
}

input {
    font-family: "Work Sans", Arial, Helvetica, Sans-serif;
}

/* END:Reset */

html {
    height: 100%;
}

div#wrap {
    text-align: center;
    height: 100vh;
    position: relative;
}

div#wrap h1 {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.015em;
    color: #84786C;
    margin: 0;
}

.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;
}

div#wrap p {
    font-weight: 300;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0;
}

a,
a:visited {
    color: #000;
}

a:active,
a:hover {
    color: #999;
}

svg.dm-logo {
    width: 155px;
    height: 45px;
    margin: 0 auto;
}

#wrap .content-container {
    width: 500px;
    height: auto;
    padding-top: 60px;
    padding-bottom: 60px;
    background: rgba(248, 246, 246, 0.90);
    border-radius: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Desktop positioning */
@media only screen and (min-width: 521px) {
    #wrap .content-container {
        left: 56%;
    }
}


#wrap .content-container .copy {
    padding-top: 10px;
    width: 400px;
    margin: 0 auto;
}

#wrap .content-container .copy.thank-you h1 {
    border-bottom: 1px solid #fff;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

#wrap .content-container .copy.thank-you p {
    font-weight: 400;
}

#wrap .content-container .form-container {
    padding-top: 20px;
}



#wrap .content-container .form-container form fieldset {
    justify-content: center;
}

#wrap .content-container .form-container form fieldset .input-container {
    position: relative;
    width: 400px;
    margin: 0 auto;
}

#wrap .content-container .form-container form fieldset .floating-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 400;
    pointer-events: none;
    transition: all 0.3s ease;
    padding: 0 4px;
}

#wrap .content-container .form-container form fieldset .floating-label.active {
    top: 8px;
    transform: translateY(0);
    left: 12px;
    font-size: 12px;
    color: #84786C;
}

#wrap .content-container .form-container form fieldset input.email {
    width: 100%;
    height: 56px;
    padding: 10px 16px 0 16px;
    color: #3B3B3B;
    border: 1px solid #D8D8D8;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    border-radius: 0;
    -webkit-appearance: none;
    box-sizing: border-box;
    background-color: #ffffff;
}

#wrap .content-container .form-container form fieldset input.email.error {
    border-color: #C10116;
    background-color: #FFF3F3;
}

#wrap .content-container .form-container form fieldset .floating-label.error {
    color: #C10116;
}

#wrap .content-container .form-container form fieldset .floating-label.error.active {
    color: #C10116;
    background: #FFF3F3;
}

#wrap .content-container .form-container form fieldset .error-message {
    width: 400px;
    color: #C10116;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    margin: 0 auto 4px auto;
    text-align: left;
    display: none;
}

#wrap .content-container .form-container form fieldset input.continue {
    margin-top: 20px;
    width: 400px;
    height: 50px;
    background-color: #84786C;
    border: none;
    font-size: 14px;
    line-height: 19px;
    letter-spacing: 1.2px;
    color: #fff;
    border-radius: 0;
    padding: 0;
    text-transform: uppercase;
    -webkit-appearance: none;
}

#wrap .content-container .form-container form fieldset input.continue:hover {
    background-color: #73695f;
}

#wrap .content-container .disclaimer p,
#wrap .content-container .disclaimer a {
    padding-top: 20px;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    letter-spacing: 0;
    color: #3B3B3B;
    text-underline-offset: 2px;
}

#wrap .content-container .disclaimer a:hover {
    color: #3B3B3B;
    font-size: 14px;
}

/* Hide mobile text on desktop */
#wrap .content-container .disclaimer .mobile-text {
    display: none;
}

/*
    Tablet styles
*/
@media only screen and (min-width: 521px) and (max-width: 1024px),
only screen and (min-device-width: 521px) and (max-device-width: 1024px) and (orientation:portrait) {
    body {
        background-image: url("../images/DFY26_ComingSoonLanding_Tablet_0408.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        min-height: 100vh;
        min-height: 100dvh;
    }
    #wrap .content-container {
        left: 65%;
    }
}

/*
    Mobile styles
*/
@media only screen and (min-width: 240px) and (max-width: 520px),
only screen and (min-device-width: 240px) and (max-device-width: 520px) and (orientation:portrait) {
    body {
        background-image: url("../images/DFY26_ComingSoonLanding_Mobile_0408.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        min-height: 100vh;
        min-height: 100dvh;
    }

    div#wrap h1 {
        font-size: 14px;
        line-height: 19px;
    }

    div#wrap p {
        font-size: 28px;
        line-height: 42px;
    }

    svg.dm-logo {
        width: 194px;
        height: 30px;
    }

    #wrap .content-container {
        width: 77%;
        height: auto;
        padding: 20px;
        top: 4%;
        transform: translate(-50%, 0);
    }

    #wrap .content-container .copy {
        width: 100%;
        padding-top: 0;
    }

    #wrap .content-container .copy h1 {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    #wrap .content-container .copy h1 br {
        display: inline;
    }

    #wrap .content-container .copy.thank-you h1 {
        padding-bottom: 10px;
        margin-bottom: 15px;
    }

    #wrap .content-container .copy.thank-you p {
        font-size: 18px;
        line-height: 24px;
    }

    #wrap .content-container .form-container {
        padding-top: 10px;
    }


    #wrap .content-container .form-container form fieldset .input-container {
        width: 100%;
    }

    #wrap .content-container .form-container form fieldset .floating-label {
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
    }

    #wrap .content-container .form-container form fieldset .floating-label.active {
        top: 8px;
        transform: translateY(0);
        left: 12px;
        font-size: 12px;
        color: #84786C;
    }

    #wrap .content-container .form-container form fieldset input.email {
        width: 100%;
        height: 56px;
        padding: 10px 16px 0 16px;
        font-size: 16px;
        line-height: 19px;
        box-sizing: border-box;
        background-color: #ffffff;
    }

    #wrap .content-container .form-container form fieldset input.email.error {
        border-color: #C10116;
        background-color: #FFF3F3;
    }

    #wrap .content-container .form-container form fieldset .floating-label.error {
        color: #C10116;
    }

    #wrap .content-container .form-container form fieldset .floating-label.error.active {
        color: #C10116;
        background: #FFF3F3;
    }

    #wrap .content-container .form-container form fieldset .error-message {
        width: 100%;
        font-size: 12px;
        margin-bottom: 6px;
        text-align: left;
    }

    #wrap .content-container .form-container form fieldset input.continue {
        width: 100%;
        height: 50px;
        font-size: 14px;
        line-height: 19px;
        letter-spacing: 1.2px;
        font-weight: 400;
        margin-top: 15px;
    }

    #wrap .content-container .disclaimer {
        padding-left: 0;
        padding-right: 0;
    }

    #wrap .content-container .disclaimer p,
    #wrap .content-container .disclaimer a {
        padding-top: 15px;
        font-size: 11px;
        line-height: 15px;
    }

    #wrap .content-container .disclaimer p a:hover {
        font-size: 11px;
        line-height: 15px;
    }

    /* Show mobile text, hide desktop text on mobile */
    #wrap .content-container .disclaimer .desktop-text {
        display: none;
    }

    #wrap .content-container .disclaimer .mobile-text {
        display: block;
    }
}

/* Mobile Landscape */
@media only screen and (max-width: 932px) and (orientation: landscape) {
    #wrap .content-container {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}
