:root {
    --ht-vf-navy: #10345f;
    --ht-vf-blue: #1878b9;
    --ht-vf-cyan: #45a9d8;
    --ht-vf-ink: #16263a;
    --ht-vf-muted: #566579;
    --ht-vf-pale: #eaf5fb;
    --ht-vf-line: #d9e4ec;
}

.ht-vf,
.ht-vf * {
    box-sizing: border-box;
}

.ht-vf {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 22px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ht-vf-ink);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.ht-vf[aria-hidden="false"] {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.ht-vf__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 25, 47, 0.68);
    backdrop-filter: blur(4px);
}

.ht-vf__dialog {
    position: relative;
    display: grid;
    grid-template-columns: minmax(310px, 0.86fr) minmax(520px, 1.14fr);
    width: min(1050px, 100%);
    max-height: min(760px, calc(100vh - 44px));
    overflow: auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 32px 95px rgba(2, 20, 40, 0.32);
    transform: translateY(18px) scale(0.985);
    transition: transform 260ms cubic-bezier(.2,.8,.2,1);
    outline: none;
}

.ht-vf[aria-hidden="false"] .ht-vf__dialog {
    transform: translateY(0) scale(1);
}

.ht-vf__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(16, 52, 95, 0.14);
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--ht-vf-navy);
    font: 400 30px/1 Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(16,52,95,.12);
}

.ht-vf__close:hover,
.ht-vf__close:focus-visible {
    background: var(--ht-vf-navy);
    color: #fff;
    outline: 3px solid rgba(69,169,216,.35);
}

.ht-vf__visual {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    padding: 34px 34px 28px;
    background:
        radial-gradient(circle at 85% 25%, rgba(255,255,255,.88) 0 24%, transparent 55%),
        linear-gradient(145deg, #e8f6fc 0%, #d7edf7 55%, #cce7f4 100%);
    border-radius: 18px 0 0 18px;
}

.ht-vf__visual::before,
.ht-vf__visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(24,120,185,.13);
}

.ht-vf__visual::before {
    width: 430px;
    height: 430px;
    left: -210px;
    bottom: -190px;
}

.ht-vf__visual::after {
    width: 340px;
    height: 340px;
    right: -200px;
    top: 100px;
}

.ht-vf__brand {
    position: relative;
    z-index: 2;
}

.ht-vf__brand-logo {
    display: block;
    width: 168px;
    max-width: 48%;
    height: auto;
}

.ht-vf__visual-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    margin-top: 26px;
    color: var(--ht-vf-navy);
}

.ht-vf__visual-copy strong {
    margin: 4px 0 6px;
    font-size: clamp(30px, 3.1vw, 44px);
    line-height: .98;
    letter-spacing: -.045em;
}

.ht-vf__visual-copy > span:last-child {
    font-size: 14px;
    font-weight: 700;
}

.ht-vf__visual-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ht-vf__product-image {
    position: relative;
    z-index: 1;
    width: 123%;
    max-width: none;
    height: auto;
    margin: 28px 0 0 -15%;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 18px 16px rgba(16,52,95,.16));
}

.ht-vf__visual-badge {
    position: absolute;
    z-index: 2;
    right: 28px;
    bottom: 28px;
    display: flex;
    flex-direction: column;
    width: 128px;
    padding: 15px 16px;
    border-radius: 15px;
    background: var(--ht-vf-navy);
    color: #fff;
    box-shadow: 0 15px 28px rgba(16,52,95,.22);
}

.ht-vf__visual-badge strong {
    font-size: 16px;
    margin-bottom: 4px;
}

.ht-vf__visual-badge span {
    font-size: 10px;
    line-height: 1.35;
    color: #dff5ff;
}

.ht-vf__content {
    padding: 48px 50px 32px;
}

.ht-vf__eyebrow {
    margin: 0 44px 11px 0;
    color: var(--ht-vf-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.ht-vf__content h2 {
    max-width: 610px;
    margin: 0 32px 14px 0;
    color: var(--ht-vf-navy);
    font-size: clamp(29px, 3vw, 42px);
    line-height: 1.05;
    letter-spacing: -.038em;
}

.ht-vf__lead {
    margin: 0 0 19px;
    color: var(--ht-vf-muted);
    font-size: 15px;
    line-height: 1.52;
}

.ht-vf__benefits {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ht-vf__benefits li {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 10px;
    align-items: start;
}

.ht-vf__benefits li > span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--ht-vf-pale);
    color: var(--ht-vf-blue);
    font-size: 13px;
    font-weight: 900;
}

.ht-vf__benefits strong,
.ht-vf__benefits small {
    display: block;
}

.ht-vf__benefits strong {
    color: var(--ht-vf-ink);
    font-size: 13px;
    line-height: 1.35;
}

.ht-vf__benefits small {
    margin-top: 1px;
    color: var(--ht-vf-muted);
    font-size: 12px;
    line-height: 1.38;
}

.ht-vf__offer {
    margin: 14px 0 14px;
    padding: 13px 15px 12px;
    border-left: 4px solid var(--ht-vf-cyan);
    border-radius: 0 10px 10px 0;
    background: #f3f9fc;
}

.ht-vf__offer span {
    display: block;
    margin-bottom: 4px;
    color: var(--ht-vf-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}

.ht-vf__offer p {
    margin: 0;
    color: var(--ht-vf-ink);
    font-size: 12px;
    line-height: 1.42;
}

.ht-vf__availability {
    margin: -2px 0 14px;
    color: var(--ht-vf-muted);
    font-size: 11px;
    line-height: 1.45;
}

.ht-vf__availability strong {
    color: var(--ht-vf-navy);
}

.ht-vf__actions {
    display: flex;
    align-items: center;
    gap: 17px;
}

.ht-vf__primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 48px;
    padding: 12px 19px;
    border-radius: 9px;
    background: var(--ht-vf-navy);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 9px 18px rgba(16,52,95,.2);
    transition: transform 160ms ease, background 160ms ease;
}

.ht-vf__primary:hover,
.ht-vf__primary:focus-visible {
    background: var(--ht-vf-blue);
    transform: translateY(-1px);
    outline: 3px solid rgba(69,169,216,.3);
}

.ht-vf__primary span {
    font-size: 18px;
}

.ht-vf__secondary {
    color: var(--ht-vf-navy) !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: underline !important;
    text-decoration-color: #9fc7dd !important;
    text-underline-offset: 4px;
}

.ht-vf__contact {
    margin: 13px 0 0;
    color: #6a7786;
    font-size: 11px;
}

.ht-vf__contact a {
    color: var(--ht-vf-blue) !important;
    font-weight: 700;
    text-decoration: none !important;
}

body.ht-vf-open {
    overflow: hidden;
}

@media (max-width: 850px) {
    .ht-vf {
        align-items: end;
        padding: 10px;
    }

    .ht-vf__dialog {
        grid-template-columns: 1fr;
        width: min(680px, 100%);
        max-height: calc(100vh - 20px);
        border-radius: 17px;
    }

    .ht-vf__visual {
        min-height: 210px;
        padding: 24px 26px;
        border-radius: 17px 17px 0 0;
    }

    .ht-vf__brand-logo {
        width: 120px;
    }

    .ht-vf__visual-copy {
        margin-top: 10px;
    }

    .ht-vf__visual-copy strong {
        font-size: 30px;
    }

    .ht-vf__product-image {
        position: absolute;
        width: 56%;
        right: 18px;
        bottom: 11px;
        margin: 0;
    }

    .ht-vf__visual-badge {
        display: none;
    }

    .ht-vf__content {
        padding: 28px 28px 26px;
    }
}

@media (max-width: 540px) {
    .ht-vf__visual {
        min-height: 165px;
        padding: 20px;
    }

    .ht-vf__brand-logo {
        width: 98px;
    }

    .ht-vf__visual-copy {
        margin-top: 6px;
    }

    .ht-vf__visual-copy strong {
        font-size: 25px;
    }

    .ht-vf__visual-copy > span:last-child {
        max-width: 180px;
        font-size: 11px;
    }

    .ht-vf__product-image {
        width: 59%;
        right: -5px;
    }

    .ht-vf__content {
        padding: 24px 20px 21px;
    }

    .ht-vf__content h2 {
        margin-right: 16px;
        font-size: 27px;
    }

    .ht-vf__lead {
        font-size: 13px;
    }

    .ht-vf__benefits {
        gap: 8px;
    }

    .ht-vf__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .ht-vf__primary {
        width: 100%;
    }

    .ht-vf__secondary {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ht-vf,
    .ht-vf__dialog,
    .ht-vf__primary {
        transition: none;
    }
}
