:root {
    --fw-blue: #fde900;
    --fw-blue-bright: #fde900;
    --fw-ink: #212121;
    --fw-muted: #727272;
    --fw-paper: #fff;
}

.fw-lock {
    overflow: hidden !important;
}

.fw-overlay {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 28px;
    background: linear-gradient(to left, rgba(1, 95, 138, .82), rgba(138, 16, 58, .82));
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.fw-overlay * {
    box-sizing: border-box;
}

.fw-overlay[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.fw-dialog {
    position: relative;
    width: min(780px, calc(100vw - 56px));
    min-height: 570px;
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: center;
    background-color: rgba(255, 255, 255, .98);
    background-image:
        linear-gradient(rgba(255, 255, 255, .86), rgba(255, 255, 255, .86)),
        radial-gradient(circle at 20% 30%, #d9e3e8 0 2px, transparent 2.5px),
        radial-gradient(circle at 80% 65%, #d9e3e8 0 3px, transparent 3.5px);
    background-size: auto, 38px 38px, 54px 54px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
    color: var(--fw-ink);
    font-family: gp, Arial, sans-serif;
    transform: translateY(14px) scale(.98);
    transition: transform .25s ease;
}

.fw-overlay[aria-hidden="false"] .fw-dialog {
    transform: none;
}

.fw-close {
    position: absolute;
    z-index: 4;
    top: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: transparent;
}

.fw-close::before,
.fw-close::after {
    content: "";
    position: absolute;
    top: 15px;
    left: 5px;
    width: 22px;
    height: 2px;
    background: #111;
}

.fw-close::before {
    transform: rotate(45deg);
}

.fw-close::after {
    transform: rotate(-45deg);
}

.fw-wheel-side {
    position: relative;
    min-height: 570px;
}

.fw-wheel-wrap {
    position: absolute;
    top: 50%;
    right: -7px;
    width: 570px;
    min-width: 570px;
    height: 570px;
    min-height: 570px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: visible;
    transform: translateY(-50%);
    filter: drop-shadow(0 15px 12px rgba(21, 56, 91, .18));
}

.fw-wheel {
    width: 570px;
    height: 570px;
    min-width: 570px;
    min-height: 570px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    line-height: 1;
    transform-origin: 50% 50%;
    transition: transform 5.2s cubic-bezier(.12, .7, .08, 1);
}

.fw-wheel svg {
    display: block;
    width: 570px;
    height: 570px;
    aspect-ratio: 1 / 1;
}

.fw-pointer {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: -47px;
    width: 82px;
    height: 24px;
    transform: translateY(-50%);
    border-radius: 14px;
    background: #fff;
    box-shadow: inset -16px 0 0 rgba(253, 233, 0, 1), 0 3px 8px rgba(0, 0, 0, .12);
}

.fw-pointer::after {
    content: "";
    position: absolute;
    right: 5px;
    top: 7px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
}

.fw-content {
    position: relative;
    z-index: 2;
    padding: 68px 68px 58px 70px;
}

.fw-title {
    margin: 0 0 12px;
    font: 800 24px/1.25 gpb, Arial, sans-serif;
}

.fw-copy {
    margin: 0 0 54px;
    font-size: 12px;
    font-weight: 600;
    text-align: center
}

.fw-form {
    display: grid;
    gap: 18px;
}

.fw-field {
    position: relative;
}

.fw-field input {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 38px;
    border: 0;
    border-bottom: 1px solid #d8d8d8;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--fw-ink);
    font: 700 16px/24px gpb, Arial, sans-serif;
}

.fw-field input:focus {
    border-color: var(--fw-blue);
}

.fw-field::before {
    position: absolute;
    top: 11px;
    left: 0;
    font-size: 21px;
}

/* .fw-field--site::before { content: "⊕"; color: #27a8f2; }
.fw-field--phone::before { content: "◖))"; color: #159ae8; font-size: 15px; top: 14px; } */
.fw-error {
    min-height: 16px;
    margin-top: 4px;
    color: #b3261e;
    font-size: 11px;
}

.fw-consent {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
    align-items: start;
    font-size: 14px;
    color: var(--fw-muted);
}

.fw-consent input {
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: var(--fw-blue);
}

.fw-consent a {
    color: inherit;
}

.fw-submit {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: var(--fw-blue);
    color: #1F1F1F;
    font-weight: 800;
    transition: transform .16s ease, background .16s ease;
    border: 2px solid var(--fw-blue);
}

.fw-submit:hover {
    transform: translateY(-1px);
    background: var(--fw-paper);
}

.fw-submit:disabled {
    cursor: wait;
    opacity: .7;
}

.fw-note {
    margin: -9px 0 0;
    font-size: 12px;
    font-weight: 700;
}

.fw-success {
    display: none;
    grid-column: 1/-1;
    min-height: 570px;
    place-content: center;
    text-align: center;
    padding: 60px;
}

.fw-success h2 {
    margin: 0 0 14px;
    font: 800 38px/1.1 gpb, Arial, sans-serif;
}

.fw-success p {
    margin: 0;
    font-size: 18px;
}

.fw-prize {
    display: inline-block;
    margin: 22px auto 0;
    padding: 10px 18px;
    border-radius: 999px;
    color: #fff;
    background: var(--fw-blue);
    font-weight: 800;
}

.fw-dialog.is-success .fw-wheel-side,
.fw-dialog.is-success .fw-content {
    display: none;
}

.fw-dialog.is-success .fw-success {
    display: grid;
}

@media (max-width: 760px) {
    .fw-overlay {
        padding: 14px;
        overflow: auto;
        place-items: start center;
    }

    .fw-dialog {
        width: min(430px, 100%);
        min-height: 0;
        grid-template-columns: 1fr;
        margin: auto;
    }

    .fw-wheel-side {
        min-height: 245px;
        overflow: hidden;
    }

    .fw-wheel-wrap {
        top: -50px;
        right: 50%;
        width: 360px;
        transform: translate(50%, 0);
    }

    .fw-wheel-wrap {
        min-width: 360px;
        height: 360px;
        min-height: 360px;
    }

    .fw-wheel,
    .fw-wheel svg {
        width: 360px;
        min-width: 360px;
        height: 360px;
        min-height: 360px;
    }

    .fw-pointer {
        top: 130px;
        right: calc(50% - 195px);
        transform: rotate(90deg);
    }

    .fw-content {
        padding: 28px 28px 34px;
    }

    .fw-title {
        font-size: 23px;
    }

    .fw-copy {
        margin-bottom: 24px;
    }

    .fw-success {
        min-height: 460px;
        padding: 38px 24px;
    }
}

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

    .fw-overlay,
    .fw-dialog,
    .fw-wheel,
    .fw-submit {
        transition-duration: .01ms !important;
    }
}