:root {
    --ip-ink: #16213e;
    --ip-gold: #e3b75e;
    --ip-muted: #6f7782
}

.inner-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #a87928;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase
}

.thanks-page {
    position: relative;
    padding: 80px 0 100px;
    background: linear-gradient(180deg,#faf8f4 0,#f3eee6 100%)
}

.thanks-card {
    display: grid;
    max-width: 1040px;
    grid-template-columns: minmax(260px,.65fr) minmax(480px,1.35fr);
    margin: 0 auto;
    border: 1px solid rgba(22,33,62,.07);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 65px rgba(22,33,62,.1);
    overflow: hidden
}

.thanks-card__visual {
    position: relative;
    display: grid;
    min-height: 590px;
    place-items: center;
    background: var(--ip-ink);
    overflow: hidden
}

.thanks-card__visual:before,.thanks-card__visual:after {
    content: "";
    position: absolute;
    border: 1px solid rgba(227,183,94,.2);
    border-radius: 50%
}

.thanks-card__visual:before {
    width: 420px;
    height: 420px;
    box-shadow: 0 0 0 55px rgba(227,183,94,.035),0 0 0 110px rgba(227,183,94,.02)
}

.thanks-card__visual:after {
    width: 230px;
    height: 230px
}

.thanks-card__visual>span {
    position: relative;
    z-index: 2;
    display: grid;
    width: 112px;
    height: 112px;
    border: 9px solid rgba(255,255,255,.08);
    border-radius: 50%;
    place-items: center;
    background: var(--ip-gold);
    color: var(--ip-ink);
    font-size: 38px;
    box-shadow: 0 16px 40px rgba(0,0,0,.18)
}

.thanks-spark {
    position: absolute;
    z-index: 2;
    color: var(--ip-gold)
}

.thanks-spark--one {
    top: 25%;
    right: 21%;
    font-size: 18px
}

.thanks-spark--two {
    bottom: 24%;
    left: 22%;
    font-size: 12px
}

.thanks-card__content {
    padding: 58px 55px
}

.thanks-card__content h2 {
    margin: 0;
    color: var(--ip-ink);
    font-size: clamp(38px,4.4vw,58px);
    line-height: 1.03;
    letter-spacing: -.05em
}

.thanks-card__content>p {
    margin: 19px 0 31px;
    color: var(--ip-muted);
    font-size: 12px;
    line-height: 1.85
}

.thanks-next {
    display: grid;
    gap: 0;
    border-top: 1px solid #eee8df
}

.thanks-next>div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 13px;
    padding: 18px 0;
    border-bottom: 1px solid #eee8df
}

.thanks-next b {
    display: grid;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    place-items: center;
    background: #f5ead2;
    color: #966c27;
    font-size: 9px
}

.thanks-next strong,.thanks-next small {
    display: block;
}

.thanks-next strong {
    margin-bottom: 4px;
    color: var(--ip-ink);
    font-size: 11px
}

.thanks-next small {
    color: #838991;
    font-size: 9px;
    line-height: 1.55
}

.thanks-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 29px
}

.inner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em
}

.inner-btn--primary {
    background: var(--ip-ink);
    color: #fff
}

.inner-btn--primary:hover {
    background: #26385e;
    color: #fff;
    transform: translateY(-2px)
}

.inner-btn--primary i {
    color: var(--ip-gold)
}

.inner-btn--light {
    border: 1px solid #e2dcd3;
    background: #fff;
    color: var(--ip-ink)
}

.inner-btn--light i {
    color: #24a865;
    font-size: 15px
}

.inner-btn--light:hover {
    border-color: #24a865;
    color: var(--ip-ink)
}

.thanks-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 24px 0 0;
    color: #757c86;
    font-size: 10px
}

.thanks-help i {
    color: #a87928
}

.thanks-help a {
    color: var(--ip-ink);
    font-weight: 750;
    text-decoration: underline;
    text-decoration-color: var(--ip-gold);
    text-underline-offset: 3px
}

.policy-page {
    padding: 30px 0 30px;
    background: linear-gradient(180deg,#faf8f4 0,#f3eee6 100%);
    scroll-behavior: smooth
}

.policy-heading {
    /* max-width:800px; */
    margin: 0 auto 0px;
    text-align: center;
}

.policy-heading h2 {
    margin: 0;
    color: var(--ip-ink);
    font-size: clamp(38px,4.5vw,57px);
    letter-spacing: -.05em
}

.policy-heading>p {
    max-width: 100%;
    margin: 16px auto;
}

.policy-heading>div {
    /* display: inline-flex; */
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid #e5ded4;
    border-radius: 50px;
    background: #fff;
    color: #858a92;
    font-size: 17px;
}

.policy-heading>div i {
    color: #a87928
}

.policy-layout {
    display: grid;
    max-width: 1000%;
    grid-template-columns: 250px minmax(0,1fr);
    align-items: start;
    gap: 28px;
    margin: 0 auto
}

.policy-nav {
    position: sticky;
    top: 110px;
    display: grid;
    padding: 24px;
    border: 1px solid rgba(22,33,62,.07);
    border-radius: 18px;
    background: var(--ip-ink);
    box-shadow: 0 15px 38px rgba(22,33,62,.11)
}

.policy-nav strong {
    margin-bottom: 13px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    color: var(--ip-gold);
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase
}

.policy-nav a {
    padding: 9px 2px;
    color: rgba(255,255,255,.62);
    font-size: 10px
}

.policy-nav a:hover {
    color: #fff;
    transform: translateX(4px)
}

.policy-content {
    padding: 16px 39px;
    border: 1px solid rgba(22,33,62,.07);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(22,33,62,.07)
}

.policy-content>section {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #ece7df;
    scroll-margin-top: 120px
}

.policy-content>section:last-child {
    border-bottom: 0
}

.policy-number {
    display: grid;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    place-items: center;
    background: #f5ead2;
    color: #987029;
    font-size: 18px;
    font-weight: 800
}

.policy-content h3 {
    margin: 3px 0 9px;
    color: var(--ip-ink);
    font-size: 21px;
}

.policy-content p {
    margin: 0;
    font-size: 17px;
    line-height: 1.85
}

.policy-contact {
    margin: 16px -20px;
    padding: 24px 20px!important;
    border: 0!important;
    border-radius: 14px;
    background: #f8f5ef
}

.policy-contact .policy-number {
    background: var(--ip-gold);
    color: var(--ip-ink)
}

.policy-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    color: #8f6725;
    font-size: 10px;
    font-weight: 800
}

.policy-contact a:hover i {
    transform: translateX(3px)
}

@media(max-width: 991px) {
    .thanks-page,.policy-page {
        padding:65px 0 85px
    }

    .thanks-card {
        grid-template-columns: 1fr;
        max-width: 720px
    }

    .thanks-card__visual {
        min-height: 280px
    }

    .thanks-card__visual:before {
        width: 330px;
        height: 330px
    }

    .thanks-card__visual:after {
        width: 180px;
        height: 180px
    }

    .policy-layout {
        grid-template-columns: 210px minmax(0,1fr)
    }

    .policy-content {
        padding: 12px 28px
    }
}

@media(max-width: 767px) {
    .thanks-page,.policy-page {
        padding: 30px 0 30px;
    }

    .thanks-card {
        border-radius: 20px
    }

    .thanks-card__visual {
        min-height: 220px
    }

    .thanks-card__visual>span {
        width: 88px;
        height: 88px;
        border-width: 7px;
        font-size: 29px
    }

    .thanks-card__content {
        padding: 35px 22px
    }

    .thanks-card__content h2 {
        font-size: 39px
    }

    .thanks-actions {
        display: grid
    }

    .thanks-help {
        flex-wrap: wrap;
        text-align: center
    }

    .policy-heading {
        margin-bottom: 28px;
        text-align: left
    }

    .policy-heading h2 {
        font-size: 30px;
    }

    .policy-heading>p {
        margin-left: 0
    }

    .policy-layout {
        grid-template-columns: 1fr
    }

    .policy-nav {
        position: relative;
        top: auto;
        display: flex;
        gap: 7px;
        padding: 13px;
        overflow-x: auto
    }

    .policy-nav strong {
        display: none
    }

    .policy-nav a {
        flex: 0 0 auto;
        padding: 8px 11px;
        border-radius: 8px;
        background: rgba(255,255,255,.08)
    }

    .policy-content {
        padding: 7px 20px;
        border-radius: 19px
    }

    .policy-content>section {
        grid-template-columns: 34px 1fr;
        gap: 11px;
        padding: 25px 0
    }

    .policy-number {
        width: 30px;
        height: 30px
    }

    .policy-content h3 {
        font-size: 18px
    }

    .policy-contact {
        margin: 12px -9px;
        padding: 21px 10px!important
    }
}

/* Free page content is injected dynamically, so it uses the full readable width. */
.policy-layout {
    display: block;
    /* max-width:850px; */
}

.policy-content {
    width: 100%
}
