:root {
    color-scheme: dark;
    font-family: Raleway, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

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

body {
    background: #000000;
    color: #fff;
}

button,
input {
    font: inherit;
}

.coming-soon {
    isolation: isolate;
    min-height: 100svh;
    overflow: hidden;
    position: relative;
    background: #000000;
}

.background {
    background: url("assets/background-texture.png") center 39% / cover no-repeat;
    filter: grayscale(1) contrast(1.04);
    inset: -4%;
    opacity: .58;
    position: absolute;
    transform: scale(1.05);
    z-index: -2;
}

.scrim {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.67) 40%, rgba(0, 0, 0, 0.73) 100%);
    inset: 0;
    position: absolute;
    z-index: -1;
}

.brand {
    align-items: center;
    color: #fff;
    display: flex;
    gap: 11px;
    left: clamp(24px, 6.8vw, 130px);
    position: absolute;
    text-decoration: none;
    top: clamp(22px, 5vw, 62px);
}

.brand-mark {
    height: 47px;
    width: 43px;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.hero {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100svh;
    padding: 150px 24px 110px;
    text-align: center;
}

.powered-by {
    bottom: clamp(22px, 4vw, 48px);
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 600;
    left: 50%;
    letter-spacing: .03em;
    position: absolute;
    text-decoration: none;
    transform: translateX(-50%);
    transition: color 160ms ease;
    white-space: nowrap;
}

.powered-by:hover,
.powered-by:focus-visible {
    color: #fff;
}

.powered-by:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.eyebrow {
    color: #d60354;
    font-size: clamp(31px, 2.6vw, 50px);
    font-weight: 700;
    line-height: 1;
    margin: 0 0 14px;
}

h1 {
    font-size: clamp(50px, 5vw, 96px);
    font-weight: 700;
    letter-spacing: -.058em;
    line-height: .94;
    margin: 0;
    text-wrap: balance;
}

.lead {
    font-size: clamp(18px, 1.25vw, 24px);
    font-weight: 500;
    margin: 45px 0 35px;
}

.notify-button,
.form-row button {
    background: #d60354;
    border: 0;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    min-height: 50px;
    padding: 10px 20px;
    transition: transform 160ms ease, background 160ms ease;
}

.notify-button {
    min-width: 152px;
}

.notify-button:hover,
.form-row button:hover {
    background: rgb(216, 213, 213);
    transform: translateY(-2px);
    color   : #000;
}

.notify-button:focus-visible,
.close-button:focus-visible,
input:focus-visible,
.form-row button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
    
    
}

.signup-dialog {
    background: #f7f7f4;
    border: 0;
    border-radius: 20px;
    color: #101010;
    max-width: 540px;
    padding: 44px;
    width: calc(100% - 32px);
}

.signup-dialog::backdrop {
    background: rgba(0, 0, 0, .64);
    backdrop-filter: blur(4px);
}

.close-button {
    background: transparent;
    border: 0;
    color: #111;
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 18px;
    top: 13px;
}

.dialog-eyebrow {
    color: #000000;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    margin: 0 0 12px;
}

.signup-dialog h2 {
    font-size: clamp(30px, 5vw, 42px);
    letter-spacing: -.045em;
    line-height: 1;
    margin: 0;
}

.dialog-copy {
    line-height: 1.5;
    margin: 17px 0 26px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-row {
    display: flex;
    gap: 10px;
}

input {
    background: #fff;
    border: 1px solid #b9b9b5;
    border-radius: 9px;
    color: #111;
    min-height: 50px;
    min-width: 0;
    padding: 0 14px;
    width: 100%;
}

.form-row button {
    border-radius: 9px;
    flex: 0 0 auto;
}

.form-message {
    font-size: 14px;
    font-weight: 600;
    margin: 12px 0 0;
    min-height: 20px;
}

@media (max-width: 620px) {
    .background {
        background-position: 55% center;
    }

    .hero {
        padding-bottom: 80px;
    }

    .lead {
        margin: 36px 0 28px;
    }

    .brand-name {
        font-size: 17px;
    }

    .form-row {
        flex-direction: column;
    }

    .form-row button {
        width: 100%;
    }

    .signup-dialog {
        padding: 38px 25px 30px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
