.deedpoll-name-cta,
.deedpoll-name-cta * {
    box-sizing: border-box;
}

.deedpoll-name-cta {
    --dp-name-panel-width: 50.6%;
    --dp-name-bg-x: 50%;
    --dp-name-bg-y: 50%;
    position: relative;
    width: calc(100% - 40px);
    max-width: 1260px;
    min-height: 352px;
    margin: 70px auto 90px;
    overflow: hidden;
    border-radius: 22px;
    background-color: #f3f0eb;
    background-repeat: no-repeat;
    background-position: var(--dp-name-bg-x) var(--dp-name-bg-y);
    background-size: cover;
    box-shadow: 0 16px 34px rgba(14, 35, 57, .10);
    isolation: isolate;
}

.deedpoll-name-cta__photo-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.deedpoll-name-cta__panel {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: var(--dp-name-panel-width);
    background: linear-gradient(135deg, #07396f 0%, #062b57 100%);
    clip-path: polygon(
        0 0,
        100% 0,
        97.5% 9%,
        94.5% 18%,
        91.5% 28%,
        88% 38%,
        84% 48%,
        79% 58%,
        73% 69%,
        66% 79%,
        58% 89%,
        48% 100%,
        0 100%
    );
    pointer-events: none;
}

.deedpoll-name-cta__curve-line {
    position: absolute;
    z-index: 3;
    left: calc(var(--dp-name-panel-width) - 255px);
    bottom: -166px;
    width: 460px;
    height: 474px;
    border-style: solid;
    border-width: 0 2px 2px 0;
    border-color: #d8aa59;
    border-radius: 0 0 100% 0;
    transform: rotate(21deg);
    transform-origin: bottom right;
    opacity: .95;
    pointer-events: none;
}

.deedpoll-name-cta__inner {
    position: relative;
    z-index: 4;
    min-height: inherit;
    padding: 54px 60px 48px;
}

.deedpoll-name-cta__copy {
    position: relative;
    z-index: 4;
    width: 560px;
    max-width: 45%;
}

.deedpoll-name-cta__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px 5px 5px;
    border-radius: 20px;
    background: #f6ead6;
    color: #082f64;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.deedpoll-name-cta__badge-icon {
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0a3970;
    color: #fff;
    font-size: 13px;
}

.deedpoll-name-cta__badge-icon svg,
.deedpoll-name-cta__button-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.deedpoll-name-cta__title {
    margin: 24px 0 17px;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 55px;
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.9px;
}

.deedpoll-name-cta__description {
    max-width: 500px;
    color: #f5f8fc;
    font-family: Inter, Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
}

.deedpoll-name-cta__actions {
    position: absolute;
    z-index: 5;
    top: 133px;
    right: 73px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.deedpoll-name-cta__button {
    width: 344px;
    min-height: 62px;
    padding: 12px 24px;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 26px;
    align-items: center;
    gap: 10px;
    border-radius: 34px;
    background: #07376d;
    color: #fff;
    text-decoration: none;
    font-family: Inter, Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.deedpoll-name-cta__button:hover {
    color: #fff;
    background: #0a4a91;
    transform: translateY(-1px);
}

.deedpoll-name-cta__button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
}

.deedpoll-name-cta__button-icon--left {
    justify-self: start;
}

.deedpoll-name-cta__button-icon--right {
    justify-self: end;
}

.deedpoll-name-cta__button-text {
    text-align: center;
    white-space: nowrap;
}

.deedpoll-name-cta__payments {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.deedpoll-name-cta__payment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    text-decoration: none;
}

.deedpoll-name-cta__payment img {
    width: auto;
    height: 42px;
    max-width: 110px;
    display: block;
    object-fit: contain;
}

.deedpoll-name-cta__payment-fallback {
    min-width: 74px;
    height: 42px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 3px 10px rgba(27, 40, 54, .06);
}

@media (max-width: 1350px) {
    .deedpoll-name-cta__copy {
        max-width: 48%;
    }

    .deedpoll-name-cta__title {
        font-size: 46px;
    }

    .deedpoll-name-cta__description {
        font-size: 16px;
        max-width: 430px;
    }

    .deedpoll-name-cta__actions {
        right: 42px;
    }

    .deedpoll-name-cta__button {
        width: 300px;
    }

    .deedpoll-name-cta__payment img {
        height: 36px;
    }
}

@media (max-width: 1024px) {
    .deedpoll-name-cta {
        width: calc(100% - 24px);
        min-height: 560px;
        margin-top: 56px;
        margin-bottom: 72px;
        background-position: 58% center;
    }

    .deedpoll-name-cta__panel {
        width: 65%;
        clip-path: polygon(0 0, 100% 0, 88% 53%, 64% 100%, 0 100%);
    }

    .deedpoll-name-cta__curve-line {
        display: none;
    }

    .deedpoll-name-cta__inner {
        padding: 44px 42px;
    }

    .deedpoll-name-cta__copy {
        width: 520px;
        max-width: 60%;
    }

    .deedpoll-name-cta__actions {
        top: auto;
        right: 38px;
        bottom: 42px;
    }
}

@media (max-width: 767px) {
    .deedpoll-name-cta {
        width: calc(100% - 20px);
        min-height: 640px;
        margin-top: 42px;
        margin-bottom: 56px;
        border-radius: 18px;
        background-position: 62% center;
    }

    .deedpoll-name-cta__panel {
        width: 100%;
        height: 63%;
        clip-path: none;
        background: linear-gradient(150deg, rgba(7,57,111,.98) 0%, rgba(6,43,87,.97) 100%);
    }

    .deedpoll-name-cta__photo-overlay {
        background: linear-gradient(to bottom, transparent 50%, rgba(255,255,255,.12) 100%);
    }

    .deedpoll-name-cta__inner {
        padding: 30px 24px;
    }

    .deedpoll-name-cta__copy {
        width: 100%;
        max-width: 100%;
    }

    .deedpoll-name-cta__title {
        font-size: 40px;
        line-height: 1.04;
    }

    .deedpoll-name-cta__description {
        max-width: 100%;
        font-size: 16px;
    }

    .deedpoll-name-cta__actions {
        position: absolute;
        left: 24px;
        right: 24px;
        bottom: 30px;
        top: auto;
        align-items: stretch;
    }

    .deedpoll-name-cta__button {
        width: 100%;
        min-height: 58px;
        font-size: 16px;
    }

    .deedpoll-name-cta__payments {
        flex-wrap: wrap;
        margin-top: 14px;
    }

    .deedpoll-name-cta__payment img {
        height: 34px;
    }
}
