* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,
body {
    width: 100%;
    min-height: 100%;
    overflow: hidden;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes blurDrift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(10px, -8px, 0) scale(1.015);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes floatArt {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0);
    }
}
.container {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to right, #bf7b4a, #010101);
    display: flex;
    align-items: center;
    justify-content: center;
}
.viewport {
    width: 1440px;
    height: 845px;
    position: relative;
    background: linear-gradient(to right, #bf7b4a, #010101);
}
.bg-gradient {
    position: absolute;
    left: 0;
    top: 0;
    width: 1440px;
    height: 845px;
    background: linear-gradient(to right, #bf7b4a, #010101);
}
.bg-blur {
    position: absolute;
    left: 0;
    top: 0;
    width: 1240px;
    height: 927.439px;
    mask-image: url('data:image/svg+xml,%3Csvg preserveAspectRatio="none" width="100%" height="100%" overflow="visible" style="display: block;" viewBox="0 0 1440 845" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Crect id="BG" width="1440" height="845" fill="white"/%3E%3C/svg%3E');
    mask-size: 1440px 845px;
    mask-position: 0px 0px;
    mask-repeat: no-repeat;
    overflow: hidden;
    animation: blurDrift 14s ease-in-out infinite;
}
.blur-svg {
    position: absolute;
    inset: -53.91% -40.32%;
    width: 100%;
    height: 100%;
    display: block;
}
.card {
    position: absolute;
    left: 135px;
    top: 80px;
    width: 1170px;
    height: 685px;
    background: #f8f8f8;
    border-radius: 36px;
}
.logo {
    position: absolute;
    left: calc(50% - 479.5px);
    top: 144px;
    transform: translateX(-50%);
    font-family: 'Product Sans', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #bf7b4a;
    text-align: center;
    white-space: nowrap;
    animation: logoIn 0.6s ease-out both;
}
.logo img {
    display: block;
    height: 52px;
    width: auto;
}
.coming-soon {
    position: absolute;
    left: calc(50% - 521px);
    top: 270px;
    font-family: 'TT Hoves', sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #a7a7a7;
    white-space: nowrap;
    animation: fadeUp 0.55s ease-out 0.15s both;
}
.subtitle {
    position: absolute;
    left: calc(50% - 521px);
    top: 308px;
    width: 420px;
    font-family: 'TT Hoves', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.4;
    color: #6b6b6b;
    z-index: 2;
    animation: fadeUp 0.55s ease-out 0.2s both;
}
.heading {
    position: absolute;
    left: calc(50% - 521px);
    top: 360px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 68px;
    color: #2d2d2d;
    white-space: nowrap;
    animation: fadeUp 0.65s ease-out 0.25s both;
}
.heading p {
    margin: 0;
    line-height: 68px;
}
.email-form {
    position: absolute;
    left: 199px;
    top: 613px;
    display: flex;
    align-items: center;
    animation: fadeUp 0.6s ease-out 0.35s both;
}
.email-input {
    width: 278px;
    height: 60px;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 20px 70px 0px rgba(0, 39, 96, 0.12);
    border: none;
    padding: 0 20px;
    font-family: 'TT Hoves', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #2d2d2d;
    outline: none;
}
.email-input::placeholder {
    color: #a7a7a7;
}
.subscribe-btn {
    position: absolute;
    left: 294px;
    top: 0;
    background: #bf7b4a;
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-family: 'TT Hoves', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 30px;
    color: white;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.3s, transform 0.25s;
}
.subscribe-btn:hover {
    background: #a66939;
    transform: translateY(-1px);
}
.illustration {
    position: absolute;
    left: 729px;
    top: 194px;
    width: 512px;
    height: 512px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(180deg) scaleY(-1);
    animation: fadeUp 0.7s ease-out 0.45s both;
}
.illustration img {
    width: 100%;
    height: 100%;
    animation: floatArt 5.5s ease-in-out infinite;
}

@media (max-width: 1024px) {
    .viewport {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: min(100%, 960px);
        height: auto;
        padding: 40px 24px 48px;
        background: #f8f8f8;
        border-radius: 32px;
        overflow: hidden;
    }

    .card {
        display: none;
    }

    .bg-gradient,
    .bg-blur {
        display: none;
    }

    .logo,
    .coming-soon,
    .subtitle,
    .heading,
    .email-form,
    .illustration {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        text-align: center;
        z-index: 1;
    }

    .logo {
        order: 1;
        margin: 0 auto;
        font-size: 34px;
        white-space: normal;
        padding-top: 8px;
    }

    .illustration {
        order: 2;
        margin: 30px auto 0;
        width: min(100%, 420px);
        height: auto;
        transform: rotate(180deg) scaleY(-1);
    }

    .coming-soon {
        order: 3;
        margin: 28px auto 0;
        font-size: 24px;
        width: 100%;
        max-width: 730px;
        white-space: normal;
    }

    .subtitle {
        order: 4;
        margin: 18px auto 0;
        width: 100%;
        max-width: 760px;
        font-size: 18px;
        line-height: 1.6;
        white-space: normal;
    }

    .heading {
        order: 5;
        margin: 22px auto 0;
        width: 100%;
        max-width: 760px;
        font-size: 52px;
        line-height: 1.05;
        white-space: normal;
    }

    .email-form {
        order: 6;
        margin: 28px auto 0;
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: center;
        width: 100%;
        max-width: 620px;
    }

    .email-input {
        width: 100%;
        max-width: 100%;
    }

    .subscribe-btn {
        position: static;
        left: auto;
        top: auto;
        width: 100%;
        padding: 16px 18px;
    }

    .illustration img {
        height: auto;
    }
}

@media (max-width: 640px) {
    body {
        overflow-y: auto;
    }

    .viewport {
        padding: 80px 14px 28px;
    }

    .card {
        padding: 24px 16px 24px;
        border-radius: 28px;
    }

    .logo {
        position: fixed;
        top: 16px;
        right: 16px;
        left: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        font-size: 0;
        margin: 0;
        padding: 6px 10px;
        background: rgba(255, 255, 255, 0.92);
        border-radius: 14px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
        transform: none;
        z-index: 999;
    }

    .logo img {
        width: auto;
        height: 56px;
        display: block;
    }

    .illustration {
        width: min(100%, 320px);
        margin: 18px auto 0;
    }

    .coming-soon {
        margin-top: 14px;
        font-size: 22px;
    }

    .subtitle {
        margin-top: 10px;
        font-size: 16px;
        line-height: 1.5;
    }

    .heading {
        margin-top: 12px;
        font-size: 38px;
        line-height: 1.08;
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo,
    .coming-soon,
    .heading,
    .email-form,
    .illustration,
    .bg-blur,
    .illustration img {
        animation: none !important;
    }
}