/*
SAZVARA VNEXT V3
Controlled Contrast System
*/

:root {
    --v3-paper: #f3f0e8;
    --v3-paper-2: #ebe7dc;
    --v3-ink: #171713;
    --v3-muted: #676960;
    --v3-dark: #090c0e;
    --v3-dark-2: #101416;
    --v3-light: #f5f2e9;
    --v3-border: rgba(23, 23, 19, .14);
    --v3-dark-border: rgba(245, 242, 233, .15);
    --v3-teal: #187b6e;
    --v3-acid: #dfff63;
    --v3-radius: 18px;
    --v3-max: 1180px;
}


/* ---------------------------------------------------------
   Accessibility
--------------------------------------------------------- */

.vnext-v3 a:focus-visible,
.vnext-v3 button:focus-visible,
.vnext-v3 summary:focus-visible {
    outline: 3px solid #2b8c7f;
    outline-offset: 4px;
}

.v3-skip {
    position: fixed;
    z-index: 10000;
    top: .5rem;
    left: .5rem;
    transform: translateY(-160%);
    padding: .65rem .85rem;
    background: #fff;
    color: #111;
    border-radius: .5rem;
}

.v3-skip:focus {
    transform: none;
}

[dir="rtl"] .v3-skip {
    left: auto;
    right: .5rem;
}


/* ---------------------------------------------------------
   Mobile commercial shell
--------------------------------------------------------- */

.v3-mobile-shell {
    display: none;
}

@media (max-width: 780px) {

    .v3-mobile-shell {
        position: sticky;
        top: 0;
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        min-height: 64px;
        padding: .65rem 1rem;
        background: rgba(243, 240, 232, .96);
        color: var(--v3-ink);
        border-bottom: 1px solid var(--v3-border);
        backdrop-filter: blur(16px);
    }

    /*
    Keep the strongest desktop compositions untouched.
    Replace only the mobile header experience.
    */
    .v3-mobile-shell + header {
        display: none !important;
    }

    .v3-mobile-brand {
        color: var(--v3-ink);
        text-decoration: none;
        font-size: .78rem;
        font-weight: 800;
        letter-spacing: .16em;
    }

    .v3-mobile-tools {
        display: flex;
        align-items: center;
        gap: .65rem;
    }

    .v3-language {
        display: inline-flex;
        min-width: 42px;
        min-height: 42px;
        align-items: center;
        justify-content: center;
        color: var(--v3-ink);
        text-decoration: none;
        border: 1px solid var(--v3-border);
        border-radius: 999px;
        font-size: .78rem;
        font-weight: 750;
    }

    .v3-menu {
        position: relative;
    }

    .v3-menu > summary {
        list-style: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0 .95rem;
        color: var(--v3-light);
        background: var(--v3-ink);
        border-radius: 999px;
        cursor: pointer;
        font-size: .82rem;
        font-weight: 750;
    }

    .v3-menu > summary::-webkit-details-marker {
        display: none;
    }

    .v3-menu-panel {
        position: absolute;
        top: calc(100% + .65rem);
        right: 0;
        width: min(82vw, 320px);
        padding: .75rem;
        background: var(--v3-paper);
        color: var(--v3-ink);
        border: 1px solid var(--v3-border);
        border-radius: 14px;
        box-shadow: 0 18px 60px rgba(0, 0, 0, .16);
    }

    [dir="rtl"] .v3-menu-panel {
        right: auto;
        left: 0;
    }

    .v3-menu-panel a {
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: .55rem .65rem;
        color: inherit;
        text-decoration: none;
        border-radius: .55rem;
    }

    .v3-menu-panel a:hover {
        background: rgba(23, 23, 19, .06);
    }

    .v3-menu-panel .v3-menu-cta {
        margin-top: .5rem;
        justify-content: center;
        color: var(--v3-light);
        background: var(--v3-ink);
        font-weight: 750;
    }

}


/* ---------------------------------------------------------
   Shared commercial surface
--------------------------------------------------------- */

.v3-home-paths,
.vnext-commercial-map {
    max-width: var(--v3-max);
    margin:
        clamp(2rem, 5vw, 4.5rem)
        auto;
    padding:
        clamp(2rem, 5vw, 4.5rem);
    color: var(--v3-ink) !important;
    background: var(--v3-paper) !important;
    border: 1px solid var(--v3-border);
    border-radius: var(--v3-radius);
}

.v3-kicker,
.vnext-commercial-map__eyebrow {
    margin: 0 0 .75rem;
    color: var(--v3-teal) !important;
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

[dir="rtl"] .v3-kicker,
[dir="rtl"] .vnext-commercial-map__eyebrow {
    letter-spacing: 0;
    text-transform: none;
}

.v3-home-paths h2,
.vnext-commercial-map h2 {
    max-width: 21ch;
    margin: 0 0 1rem;
    color: var(--v3-ink) !important;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.05;
    text-wrap: balance;
}

[dir="rtl"] .v3-home-paths h2,
[dir="rtl"] .vnext-commercial-map h2 {
    line-height: 1.2;
}

.v3-home-intro {
    max-width: 68ch;
    color: var(--v3-muted);
    line-height: 1.75;
}

.v3-path-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    margin-top: 2.25rem;
    border-top: 1px solid var(--v3-border);
}

.v3-path {
    min-height: 225px;
    padding: 1.65rem 1.35rem 1.65rem 0;
    border-bottom: 1px solid var(--v3-border);
}

.v3-path:nth-child(3n + 2),
.v3-path:nth-child(3n + 3) {
    padding-left: 1.35rem;
    border-left: 1px solid var(--v3-border);
}

[dir="rtl"] .v3-path {
    padding-right: 0;
    padding-left: 1.35rem;
}

[dir="rtl"] .v3-path:nth-child(3n + 2),
[dir="rtl"] .v3-path:nth-child(3n + 3) {
    padding-right: 1.35rem;
    border-right: 1px solid var(--v3-border);
    border-left: 0;
}

.v3-path-index {
    display: block;
    margin-bottom: 2rem;
    color: var(--v3-teal);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.v3-path h3 {
    margin: 0 0 .7rem;
    color: var(--v3-ink) !important;
    font-size: 1.3rem;
}

.v3-path p {
    margin: 0 0 1.15rem;
    color: var(--v3-muted) !important;
    line-height: 1.65;
}

.v3-path a {
    color: var(--v3-ink) !important;
    font-weight: 750;
    text-underline-offset: .22em;
}


/* Existing commercial-map normalization */

.vnext-commercial-map__grid {
    border-color: var(--v3-border) !important;
}

.vnext-offer {
    color: var(--v3-ink) !important;
    border-color: var(--v3-border) !important;
}

.vnext-offer p,
.vnext-commercial-map__intro p,
.vnext-commercial-map__closing p {
    color: var(--v3-muted) !important;
}

.vnext-offer a,
.vnext-commercial-map a {
    color: var(--v3-ink);
}

.vnext-commercial-map__primary {
    color: var(--v3-light) !important;
    background: var(--v3-ink) !important;
}


/* ---------------------------------------------------------
   Shared proof surface
--------------------------------------------------------- */

.v3-proof {
    margin:
        clamp(3rem, 7vw, 7rem)
        auto;
    padding:
        clamp(2rem, 5vw, 4.25rem);
    max-width: var(--v3-max);
    color: var(--v3-light);
    background:
        linear-gradient(
            145deg,
            #090c0e,
            #101517
        );
    border:
        1px solid
        var(--v3-dark-border);
    border-radius: var(--v3-radius);
}

.v3-proof * {
    color: inherit;
}

.v3-proof__intro {
    max-width: 760px;
}

.v3-proof__intro h2 {
    max-width: 19ch;
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    text-wrap: balance;
}

[dir="rtl"] .v3-proof__intro h2 {
    line-height: 1.22;
}

.v3-proof__intro p {
    max-width: 65ch;
    color: rgba(245, 242, 233, .73);
    line-height: 1.75;
}

.v3-proof__grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    margin-top: 2.5rem;
    border-top:
        1px solid
        var(--v3-dark-border);
}

.v3-proof-card {
    min-height: 210px;
    padding: 1.5rem 1.35rem 1.5rem 0;
    border-bottom:
        1px solid
        var(--v3-dark-border);
}

.v3-proof-card + .v3-proof-card {
    padding-left: 1.35rem;
    border-left:
        1px solid
        var(--v3-dark-border);
}

[dir="rtl"] .v3-proof-card {
    padding-right: 0;
    padding-left: 1.35rem;
}

[dir="rtl"] .v3-proof-card + .v3-proof-card {
    padding-right: 1.35rem;
    border-right:
        1px solid
        var(--v3-dark-border);
    border-left: 0;
}

.v3-proof-card small {
    display: block;
    margin-bottom: 1.25rem;
    color: var(--v3-acid);
    font-weight: 800;
}

.v3-proof-card h3 {
    margin: 0 0 .7rem;
    font-size: 1.2rem;
}

.v3-proof-card p {
    color: rgba(245, 242, 233, .7);
    line-height: 1.65;
}

.v3-proof-card a {
    display: inline-block;
    margin-top: .5rem;
    color: var(--v3-light);
    font-weight: 750;
    text-underline-offset: .24em;
}


/* ---------------------------------------------------------
   Existing generated service pages
--------------------------------------------------------- */

.vnext-v3 .svx-hero h1 {
    text-wrap: balance;
}

.vnext-v3 .svx-lede,
.vnext-v3 .svx-section p,
.vnext-v3 .svx-section li {
    text-wrap: pretty;
}

.vnext-v3 .svx-button,
.vnext-v3 .vnext-commercial-map__primary {
    min-height: 46px;
}


/* ---------------------------------------------------------
   Mobile
--------------------------------------------------------- */

@media (max-width: 780px) {

    .v3-home-paths,
    .vnext-commercial-map,
    .v3-proof {
        width: auto;
        margin:
            1.4rem
            .75rem
            3rem;
        padding:
            1.6rem
            1.15rem;
        border-radius: 14px;
    }

    .v3-home-paths h2,
    .vnext-commercial-map h2,
    .v3-proof__intro h2 {
        font-size:
            clamp(
                1.85rem,
                9vw,
                2.8rem
            );
    }

    .v3-path-grid,
    .v3-proof__grid {
        grid-template-columns: 1fr;
    }

    .v3-path,
    .v3-path:nth-child(3n + 2),
    .v3-path:nth-child(3n + 3),
    [dir="rtl"] .v3-path,
    [dir="rtl"] .v3-path:nth-child(3n + 2),
    [dir="rtl"] .v3-path:nth-child(3n + 3) {
        min-height: 0;
        padding:
            1.35rem
            0;
        border-left: 0;
        border-right: 0;
    }

    .v3-path-index {
        margin-bottom: .75rem;
    }

    .v3-proof-card,
    .v3-proof-card + .v3-proof-card,
    [dir="rtl"] .v3-proof-card,
    [dir="rtl"] .v3-proof-card + .v3-proof-card {
        min-height: 0;
        padding:
            1.35rem
            0;
        border-left: 0;
        border-right: 0;
    }

    .vnext-v3 .svx-hero h1 {
        font-size:
            clamp(
                2.15rem,
                10vw,
                3.3rem
            ) !important;
    }

    [dir="rtl"].vnext-v3 .svx-hero h1 {
        font-size:
            clamp(
                2.05rem,
                9.3vw,
                3.15rem
            ) !important;
    }

}


/* ---------------------------------------------------------
   Motion
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .vnext-v3 *,
    .vnext-v3 *::before,
    .vnext-v3 *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

}


/* BEGIN SAZVARA VNEXT RC1 MOBILE ISOLATION */
@media (max-width: 780px) {

    body.vnext-v3 > .v3-mobile-shell {
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 1rem !important;

        min-height: 64px !important;
        width: 100% !important;

        margin: 0 !important;
        padding: .65rem 1rem !important;

        color: #171713 !important;
        background:
            rgba(243, 240, 232, .97)
            !important;

        background-image: none !important;

        border: 0 !important;
        border-bottom:
            1px solid
            rgba(23, 23, 19, .14)
            !important;

        border-radius: 0 !important;
        box-shadow: none !important;

        opacity: 1 !important;
        filter: none !important;

        text-shadow: none !important;
        transform: none !important;

        isolation: isolate !important;
        backdrop-filter:
            blur(16px);
    }


    body.vnext-v3 >
    .v3-mobile-shell *,
    body.vnext-v3 >
    .v3-mobile-shell a,
    body.vnext-v3 >
    .v3-mobile-shell summary {

        box-sizing: border-box !important;

        background-image: none !important;

        text-shadow: none !important;
        filter: none !important;

        opacity: 1 !important;
    }


    body.vnext-v3 >
    .v3-mobile-shell::before,

    body.vnext-v3 >
    .v3-mobile-shell::after,

    body.vnext-v3 >
    .v3-mobile-shell *::before,

    body.vnext-v3 >
    .v3-mobile-shell *::after {

        content: none !important;
        display: none !important;
    }


    body.vnext-v3 >
    .v3-mobile-shell
    .v3-mobile-brand {

        display: inline-flex !important;
        align-items: center !important;

        min-height: 42px !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #171713 !important;
        background: transparent !important;

        font-size: .76rem !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        letter-spacing: .16em !important;

        text-decoration: none !important;
    }


    body.vnext-v3 >
    .v3-mobile-shell
    .v3-mobile-tools {

        display: flex !important;
        align-items: center !important;
        gap: .6rem !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    body.vnext-v3 >
    .v3-mobile-shell
    .v3-language {

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #171713 !important;
        background:
            transparent !important;

        border:
            1px solid
            rgba(23, 23, 19, .14)
            !important;

        border-radius:
            999px !important;

        font-size:
            .76rem !important;

        font-weight:
            750 !important;

        line-height:
            1 !important;

        letter-spacing:
            0 !important;

        text-decoration:
            none !important;
    }


    body.vnext-v3 >
    .v3-mobile-shell
    .v3-menu {

        position: relative !important;

        display: block !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #171713 !important;
        background: transparent !important;
    }


    body.vnext-v3 >
    .v3-mobile-shell
    .v3-menu > summary {

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        min-width: 68px !important;
        min-height: 42px !important;

        margin: 0 !important;
        padding:
            0
            .9rem
            !important;

        color:
            #f5f2e9
            !important;

        background:
            #171713
            !important;

        border:
            1px solid
            #171713
            !important;

        border-radius:
            999px
            !important;

        font-size:
            .8rem
            !important;

        font-weight:
            750
            !important;

        line-height:
            1
            !important;

        letter-spacing:
            0
            !important;

        list-style:
            none
            !important;

        cursor:
            pointer
            !important;
    }


    body.vnext-v3 >
    .v3-mobile-shell
    .v3-menu > summary::-webkit-details-marker {

        display:
            none
            !important;
    }


    body.vnext-v3 >
    .v3-mobile-shell
    .v3-menu-panel {

        position:
            absolute
            !important;

        top:
            calc(100% + .65rem)
            !important;

        right:
            0
            !important;

        left:
            auto
            !important;

        width:
            min(82vw, 320px)
            !important;

        margin:
            0
            !important;

        padding:
            .75rem
            !important;

        color:
            #171713
            !important;

        background:
            #f3f0e8
            !important;

        border:
            1px solid
            rgba(23, 23, 19, .14)
            !important;

        border-radius:
            14px
            !important;

        box-shadow:
            0 18px 60px
            rgba(0, 0, 0, .16)
            !important;
    }


    [dir="rtl"]
    body.vnext-v3 >
    .v3-mobile-shell
    .v3-menu-panel,

    html[dir="rtl"]
    body.vnext-v3 >
    .v3-mobile-shell
    .v3-menu-panel {

        right:
            auto
            !important;

        left:
            0
            !important;
    }


    body.vnext-v3 >
    .v3-mobile-shell
    .v3-menu-panel a {

        display:
            flex
            !important;

        align-items:
            center
            !important;

        min-height:
            46px
            !important;

        margin:
            0
            !important;

        padding:
            .55rem
            .65rem
            !important;

        color:
            #171713
            !important;

        background:
            transparent
            !important;

        border:
            0
            !important;

        border-radius:
            .55rem
            !important;

        font-size:
            .92rem
            !important;

        font-weight:
            600
            !important;

        line-height:
            1.3
            !important;

        text-decoration:
            none
            !important;
    }


    body.vnext-v3 >
    .v3-mobile-shell
    .v3-menu-panel
    a[aria-current] {

        background:
            rgba(23, 23, 19, .07)
            !important;

        font-weight:
            800
            !important;
    }


    body.vnext-v3 >
    .v3-mobile-shell
    .v3-menu-panel
    .v3-menu-cta {

        margin-top:
            .5rem
            !important;

        justify-content:
            center
            !important;

        color:
            #f5f2e9
            !important;

        background:
            #171713
            !important;

        font-weight:
            750
            !important;
    }

}
/* END SAZVARA VNEXT RC1 MOBILE ISOLATION */
