@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,700;1,800;1,900&display=swap');

:root {
    color-scheme: light;
}

html,
body.expo-thanks-page {
    min-height: 100%;
}

body.expo-thanks-page {
    margin: 0;
    background: var(--thanks-light, #dcebd6);
    color: var(--thanks-dark, #464646);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.expo-thanks,
.expo-thanks * {
    box-sizing: border-box;
}

.expo-thanks {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    padding: 56px 24px;
    place-items: center;
    background:
        linear-gradient(rgba(236, 236, 236, .91), rgba(236, 236, 236, .91)),
        var(--thanks-background, none) center / cover no-repeat;
    overflow: hidden;
}

.expo-thanks::before {
    position: absolute;
    z-index: -2;
    right: 0;
    bottom: 0;
    left: 0;
    height: 34%;
    border-radius: 70px 70px 0 0;
    background: var(--thanks-light, #dcebd6);
    content: '';
}

.expo-thanks::after {
    position: absolute;
    z-index: -1;
    bottom: calc(34% - 38px);
    left: 50%;
    width: 92px;
    height: 76px;
    border-radius: 0 0 24px 24px;
    background: #ececec;
    box-shadow: 0 8px 10px rgba(55, 75, 58, .2);
    content: '';
    transform: translateX(-50%) rotate(45deg);
}

.expo-thanks__shape {
    position: absolute;
    z-index: -1;
    width: 340px;
    height: 340px;
    border: 70px solid rgba(255, 255, 255, .34);
    border-radius: 50%;
}

.expo-thanks__shape--left {
    top: -150px;
    left: -125px;
}

.expo-thanks__shape--right {
    right: -170px;
    bottom: -120px;
    border-color: rgba(255, 255, 255, .24);
}

.expo-thanks__card {
    width: min(700px, 100%);
    padding: 44px 70px 50px;
    border-radius: 42px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(50, 70, 54, .17);
    text-align: center;
}

.expo-thanks__logo {
    display: block;
    width: min(250px, 58vw);
    max-height: 105px;
    margin: 0 auto 25px;
    object-fit: contain;
}

.expo-thanks__brand {
    margin: 0 0 25px;
    color: var(--thanks-primary, #39b54a);
    font-size: clamp(1.55rem, 4vw, 2.35rem);
    font-weight: 900;
    font-style: italic;
}

.expo-thanks__check {
    display: grid;
    width: 80px;
    height: 80px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--thanks-primary, #39b54a);
    color: #fff;
    place-items: center;
    box-shadow: 0 8px 18px rgba(57, 181, 74, .3);
}

.expo-thanks__check svg {
    width: 60px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
}

.expo-thanks__kicker {
    margin: 0 0 10px;
    color: var(--thanks-primary, #39b54a);
    font-size: .92rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.expo-thanks__title {
    margin: 0;
    color: var(--thanks-primary, #39b54a);
    font-size: clamp(2.25rem, 6vw, 4.35rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -.055em;
    line-height: .92;
}

.expo-thanks__text {
    max-width: 535px;
    margin: 26px auto 0;
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.55;
}

.expo-thanks__text p {
    margin: 0;
}

.expo-thanks__event {
    margin: 26px 0 0;
    padding: 14px 20px;
    border-radius: 14px;
    background: var(--thanks-light, #dcebd6);
    color: #087330;
    font-size: .95rem;
    font-weight: 700;
}

.expo-thanks__button {
    display: inline-flex;
    min-height: 48px;
    margin-top: 28px;
    padding: 12px 28px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: var(--thanks-primary, #39b54a);
    box-shadow: 0 7px 14px rgba(18, 117, 43, .24);
    color: #fff;
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.expo-thanks__button:hover,
.expo-thanks__button:focus-visible {
    box-shadow: 0 10px 20px rgba(18, 117, 43, .32);
    color: #fff;
    transform: translateY(-2px);
}

.expo-thanks__button:focus-visible {
    outline: 3px solid var(--thanks-dark, #464646);
    outline-offset: 4px;
}

@media (max-width: 640px) {
    .expo-thanks {
        padding: 28px 16px;
    }

    .expo-thanks::before {
        height: 30%;
    }

    .expo-thanks::after {
        bottom: calc(30% - 27px);
        width: 66px;
        height: 54px;
    }

    .expo-thanks__card {
        padding: 32px 22px 36px;
        border-radius: 28px;
    }

    .expo-thanks__check {
        width: 68px;
        height: 68px;
    }

    .expo-thanks__check svg {
        width: 50px;
    }

    .expo-thanks__event {
        font-size: .86rem;
        line-height: 1.45;
    }
}

@media (prefers-reduced-motion: reduce) {
    .expo-thanks__button {
        transition: none;
    }
}
