/* Base */
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font: 400 16px/1.6 "Onest", system-ui, sans-serif;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== Notify Me Layout ===== */
.notify-hero {
    position: relative;
    width: 100%;
    min-height: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.notify-hero__frame {
    width: 100%;
    max-width: 1440px;
    min-height: 815px;
    height: 100%;
    margin: 0 auto;
    padding: 30px;
}

.notify-hero__card {
    position: relative;
    width: 100%;
    max-width: 1380px;
    min-height: 755px;
    border-radius: 24px;
    padding: 70px 0 0;
    overflow: hidden;

    background: linear-gradient(278.11deg, #E6E6FF -0.26%, #FFEBE6 104.69%);
}

.notify-hero__bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.9;
}

.notify-hero__content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.notify-hero__media {
    margin: 0 0 35px;
    display: flex;
    justify-content: center;
}

.notify-hero__media img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.notify-hero__title {
    font-weight: 600;
    font-size: 48px;
    line-height: 100%;
    margin: 0 0 18px;
    color: #0F0F36;
    text-align: center;
}

.notify-hero__subtitle {
    margin: 0 auto 48px;
    max-width: 650px;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    text-align: center;
    color: #3E3E5E;
}

.notify-hero__form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.notify-hero__input-group {
    max-width: 470px;
    width: 100%;
    padding: 0;
    margin-bottom: 12px;
}

.notify-hero__input {
    width: 100%;
    border: none;
    outline: none;
    padding: 18px 28px;
    border-radius: 999px;
    font-size: 16px;
    line-height: 24px;
    color: #111827;
}

.notify-hero__input::placeholder {
    color: #A9A9C2;
}

.btn {
    max-width: 240px;
    width: 100%;
    padding: 16px 69px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border-radius: 100px;
    border: 1px solid currentColor;

    cursor: pointer;
    transition: background-color 220ms ease-out,
    color 220ms ease-out,
    border-color 220ms ease-out,
    transform 200ms cubic-bezier(.18, .75, .25, 1),
    box-shadow 220ms ease-out;
    will-change: transform, box-shadow;

    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
}

.btn--primary {
    background: #FF5A33;
    color: #fff;
    border-color: transparent;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 17, 56, 0.25);
}

.notify-hero__btn {
    height: 56px;
}

.notify-hero__btn[disabled] {
    opacity: 0.75;
    cursor: default;
    box-shadow: none;
}

.notify-hero__status {
    min-height: 20px;
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.4;
    color: #4B5563;
}

.notify-hero__status--success {
    color: #15803D;
}

.notify-hero__status--error {
    color: #B91C1C;
}

.notify-hero__success {
    display: none;
    max-width: 680px;
    margin: 110px auto;
    text-align: center;
}

.notify-hero__success-icon {
    margin: 0 0 32px;
    display: flex;
    justify-content: center;
}

.notify-hero__success-icon img {
    max-width: 160px;
}

.notify-hero__success-title {
    margin: 0 0 16px;
    white-space: nowrap;

    font-size: 48px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    font-weight: 600;

    color: #0F0F36;
}

.notify-hero__success-text {
    margin: 0;

    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0;
    text-align: center;

    color: #3E3E5E;
}

.notify-hero__success-text + .notify-hero__success-text {
    margin-top: 4px;
    max-width: 570px;
    width: 100%;
}

.notify-hero__success-btn {
    margin-top: 48px;
    height: 56px;
}

.notify-hero__card--success .notify-hero__media,
.notify-hero__card--success .notify-hero__title,
.notify-hero__card--success .notify-hero__subtitle,
.notify-hero__card--success .notify-hero__form,
.notify-hero__card--success .notify-hero__status {
    display: none;
}

.notify-hero__card--success .notify-hero__success {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 900px) {
    .notify-hero__frame {
        padding: 16px;
        min-height: auto;
    }

    .notify-hero__card {
        padding: 32px 20px 40px;
        min-height: auto;
    }

    .notify-hero__title {
        font-size: 30px;
    }

    .notify-hero__subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .notify-hero__media {
        margin-bottom: 32px;
    }

    .notify-hero__input-group {
        max-width: 100%;
    }

    .notify-hero__btn,
    .notify-hero__success-btn {
        max-width: 100%;
        width: 100%;
    }

    .notify-hero__success-title {
        font-size: 30px;
        white-space: wrap;
    }

    .notify-hero__success-text {
        font-size: 16px;
    }
}
