@font-face {
    font-family: "Jost";
    src: url("../fonts/Jost-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Jost";
    src: url("../fonts/Jost-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Jost";
    src: url("../fonts/Jost-SemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

body.sz-thanks {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: #fff;
    background: #7f5840;
    font-family: "Jost", Arial, sans-serif;
}

.sz-thanks .thanks-page {
    position: relative;
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    place-items: center;
    padding: clamp(48px, 9vh, 104px) 20px clamp(40px, 7vh, 80px);
    overflow: hidden;
    isolation: isolate;
    background: #7f5840;
}

.sz-thanks .thanks-page::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    background: linear-gradient(180deg, rgba(58, 35, 20, .75), rgba(127, 88, 64, .9)), url("../images/tanzania-bg.webp") center / cover no-repeat;
    content: "";
    pointer-events: none;
}

.sz-thanks .thanks-page__content {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(680px, 100%);
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sz-thanks .thanks-page h1 {
    max-width: 1100px;
    margin: 0 0 clamp(34px, 5vh, 58px);
    color: #fff;
    font-family: "Jost", Arial, sans-serif;
    font-size: clamp(42px, 9.6vw, 150px);
    font-weight: 300;
    line-height: 1.05;
    text-transform: uppercase;
}

.sz-thanks .thanks-page__home-link {
    display: inline-flex;
    min-height: 68px;
    align-items: center;
    justify-content: center;
    padding: 12px 34px;
    border: 5px solid #faaf1e;
    border-radius: 42px;
    color: #fff;
    background: #f07826;
    font-family: "Jost", Arial, sans-serif;
    font-size: clamp(18px, 1.7vw, 26px);
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s ease-in-out, border-color .2s ease-in-out, transform .2s ease-in-out;
}

.sz-thanks .thanks-page__home-link:hover,
.sz-thanks .thanks-page__home-link:focus-visible {
    border-color: #f07826;
    background: #ed4d29;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.sz-thanks .thanks-page__home-link:focus-visible,
.sz-thanks .thanks-page__social:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

.sz-thanks .thanks-page__lead {
    max-width: 620px;
    margin: clamp(22px, 3.3vh, 34px) 0 0;
    color: #fff;
    font-size: clamp(16px, 1.35vw, 20px);
    font-weight: 400;
    line-height: 1.45;
}

.sz-thanks .thanks-page__socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: clamp(18px, 2.8vh, 28px);
}

.sz-thanks .thanks-page__social {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    text-decoration: none;
    transition: background-color .2s ease-in-out, border-color .2s ease-in-out, transform .2s ease-in-out;
}

.sz-thanks .thanks-page__social:hover,
.sz-thanks .thanks-page__social:focus-visible {
    border-color: #faaf1e;
    background: #f07826;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.sz-thanks .thanks-page__social svg,
.sz-thanks .thanks-page__social img,
.sz-thanks .thanks-page__social i {
    display: block;
    width: 25px;
    height: 25px;
}

.sz-thanks .thanks-page__social svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.sz-thanks .thanks-page__social svg .is-filled {
    fill: currentColor;
    stroke: none;
}

.sz-thanks .thanks-page__social img {
    object-fit: contain;
}

.sz-thanks .thanks-page__social i {
    font-size: 25px;
    line-height: 25px;
    text-align: center;
}

.sz-thanks .thanks-page__social > span[aria-hidden="true"] {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

@media (max-width: 639px) {
    .sz-thanks .thanks-page {
        align-items: start;
        padding-top: clamp(72px, 18vh, 120px);
    }

    .sz-thanks .thanks-page h1 {
        margin-bottom: clamp(26px, 5vh, 42px);
        font-size: clamp(42px, 13vw, 62px);
        line-height: 1.08;
    }

    .sz-thanks .thanks-page__home-link {
        min-height: 58px;
        padding: 11px 26px;
        border-width: 4px;
        font-size: 18px;
    }

    .sz-thanks .thanks-page__lead {
        max-width: 300px;
        font-size: 16px;
    }
}

@media (max-width: 360px) {
    .sz-thanks .thanks-page {
        padding-right: 16px;
        padding-left: 16px;
    }

    .sz-thanks .thanks-page__socials {
        gap: 10px;
    }

    .sz-thanks .thanks-page__social {
        width: 44px;
        height: 44px;
    }
}
