/*
 * Styles the isolated second-homepage prototype while preserving the shared
 * Oxygen header, footer and contact modal.
 */
:root {
    --home-v2-red: #ed2743;
    --home-v2-blue: #68cbe5;
    --home-v2-dark: #202126;
    --home-v2-ink: #27272b;
    --home-v2-muted: #6c6c73;
    --home-v2-pale: #f1f9fb;
    --home-v2-border: #e4e6e8;
}

html {
    overflow-x: hidden;
}

.home-v2-page {
    overflow-x: hidden;
}

/* Keep the prototype contact modal above Oxygen's fixed mobile header. */
.home-v2-page [data-public-contact-modal="true"] {
    z-index: 2000001 !important;
}

.home-v2,
.home-v2 button,
.home-v2 a {
    font-family: "Montserrat", Arial, sans-serif;
}

.home-v2 {
    color: var(--home-v2-ink);
    font-size: 16px;
    line-height: 1.6;
}

.home-v2 * {
    box-sizing: border-box;
}

.home-v2__symbols {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.home-v2__container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.home-v2 h1,
.home-v2 h2,
.home-v2 h3,
.home-v2 p {
    margin-top: 0;
}

.home-v2 h1,
.home-v2 h2 {
    color: var(--home-v2-dark);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.home-v2 h1 {
    margin-bottom: 28px;
    font-size: clamp(34px, 2.4vw, 38px);
}

.home-v2 h1 span {
    color: var(--home-v2-dark);
}

.home-v2 h2 {
    margin-bottom: 28px;
    font-size: clamp(28px, 2.1vw, 32px);
}

.home-v2 h3 {
    color: var(--home-v2-dark);
    font-size: 18px;
    line-height: 1.3;
}

.home-v2__eyebrow {
    margin-bottom: 16px;
    color: var(--home-v2-red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-v2__hero {
    position: relative;
    min-height: 690px;
    padding: 90px 0 130px;
    background: #6fd4f0;
}

.home-v2__hero::after {
    content: none;
}

.home-v2__hero-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 50px;
}

.home-v2__hero-copy {
    position: relative;
    z-index: 2;
}

.home-v2__lead {
    max-width: 660px;
    margin-bottom: 34px;
    color: #505057;
    font-size: 16px;
}

.home-v2__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.home-v2__button {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border: 2px solid transparent;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.home-v2__button:hover {
    transform: translateY(-2px);
}

.home-v2__button--primary {
    background: var(--home-v2-red);
    color: #fff;
    box-shadow: 0 12px 28px rgba(237, 39, 67, .2);
}

.home-v2__button--secondary {
    border-color: #cfd2d5;
    background: #fff;
    color: var(--home-v2-dark);
}

.home-v2 .home-v2__reassurance {
    /* Separate the reassurance from the CTA group without making it a new visual block. */
    margin: 22px 0 0;
    color: var(--home-v2-muted);
    font-size: 13px;
    line-height: 1.5;
}

.home-v2__hero-visual {
    position: relative;
    min-height: 470px;
}

.home-v2__hero-visual img {
    position: absolute;
    right: -4%;
    bottom: -150px;
    width: min(580px, 110%);
    max-height: 640px;
    object-fit: contain;
    object-position: bottom;
}

.home-v2__cloud-transition {
    position: relative;
    z-index: 150;
    height: 150px;
    margin-top: -130px;
    background-image: url("/wp-content/uploads/2023/03/nuage_v2.png");
    background-position: 0 0;
    background-repeat: repeat-x;
    background-size: auto 150px;
    pointer-events: none;
}

.home-v2__cloud-transition::after {
    /* Hide the portrait asset's cropped lower edge where the cloud PNG becomes translucent. */
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 4px;
    background: #fff;
    content: "";
}

/* Let visitors question the assistant immediately, with the familiar affordance of a search bar. */
.home-v2__assistant-invite {
    position: relative;
    z-index: 151;
    padding: 4px 0 0;
    background: #fff;
}

.home-v2__assistant-search {
    display: flex;
    width: min(860px, 100%);
    min-height: 62px;
    align-items: center;
    gap: 11px;
    margin: 0 auto;
    padding: 7px 8px 7px 10px;
    border: 1px solid #e1e3e7;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(32, 33, 38, .08);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.home-v2__assistant-search:hover,
.home-v2__assistant-search:focus-within {
    border-color: rgba(237, 39, 67, .35);
    box-shadow: 0 10px 30px rgba(32, 33, 38, .11);
}

.home-v2__assistant-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
}

.home-v2__assistant-search input {
    min-width: 0;
    flex: 1;
    padding: 9px 2px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--home-v2-dark);
    font: inherit;
    font-size: 16px;
    font-weight: 500;
}

.home-v2__assistant-search input::placeholder {
    color: #6c6c73;
    opacity: 1;
}

.home-v2__assistant-search button {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--home-v2-red);
    box-shadow: 0 5px 14px rgba(237, 39, 67, .2);
    color: #fff;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.home-v2__assistant-search button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-v2__assistant-search button:hover {
    background: #d91d39;
    transform: translateX(2px);
}

.home-v2__assistant-search button:focus-visible {
    outline: 3px solid rgba(237, 39, 67, .3);
    outline-offset: 3px;
}

.home-v2__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-v2__paths {
    padding: 76px 0 82px;
    background: #fff;
}

.home-v2__paths h2 {
    margin-bottom: 34px;
}

.home-v2__path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.home-v2__path-grid article {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 280px;
    padding: 36px;
    border: 1px solid var(--home-v2-border);
    border-radius: 18px;
    background: var(--home-v2-pale);
}

.home-v2__path-grid article:first-child {
    border-color: rgba(237, 39, 67, .35);
    background: #fff7f8;
}

.home-v2__path-grid article p {
    flex: 1 1 auto;
    margin: 12px 0 28px;
    color: var(--home-v2-muted);
}

.home-v2__paths-note {
    max-width: 820px;
    margin: 28px auto 0;
    color: var(--home-v2-muted);
    text-align: center;
}

.home-v2__benefits {
    padding: 82px 0 92px;
    background: #fff;
}

.home-v2__benefits h2 {
    max-width: 760px;
}

.home-v2__cards {
    display: grid;
    margin-top: 55px;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.home-v2__cards article {
    min-height: 180px;
    padding: 6px 28px 0;
    border-left: 1px solid #d9d9d9;
}

.home-v2__cards article:first-child {
    padding-left: 0;
    border-left: 0;
}

.home-v2__benefit-icon {
    display: block;
    width: 82px;
    height: 82px;
    margin-bottom: 30px;
    object-fit: contain;
}

.home-v2__cards article p {
    margin-bottom: 0;
    color: var(--home-v2-muted);
    font-size: 15px;
}

.home-v2__partners {
    padding: 66px 0 72px;
    background: #f3f3f3;
    text-align: center;
}

.home-v2__partners h2 {
    margin-bottom: 12px;
    font-weight: 400;
    letter-spacing: 0;
}

.home-v2__partners h2 strong {
    font-weight: 700;
}

.home-v2__partners .home-v2__container > p {
    max-width: 720px;
    margin: 0 auto 40px;
    color: #65636a;
    font-size: 15px;
    line-height: 1.6;
}

.home-v2__partner-slider {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.home-v2__partner-track {
    display: flex;
    width: max-content;
    animation: home-v2-partners-scroll 34s linear infinite;
}

.home-v2__partner-set {
    display: flex;
    flex: none;
    align-items: center;
    gap: 64px;
    padding-right: 64px;
}

.home-v2__partner-set img {
    flex: 0 0 150px;
    width: 150px;
    height: 82px;
    object-fit: contain;
    filter: saturate(.92);
}

.home-v2__partner-slider:hover .home-v2__partner-track,
.home-v2__partner-slider:focus-within .home-v2__partner-track {
    animation-play-state: paused;
}

@keyframes home-v2-partners-scroll {
    to {
        transform: translateX(-50%);
    }
}

.home-v2__study {
    padding: 85px 0;
    background: #fff;
}

.home-v2__study-grid {
    display: grid;
    align-items: center;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
}

.home-v2__study-grid > div:last-child > p:not(.home-v2__eyebrow) {
    max-width: 660px;
    color: var(--home-v2-muted);
}

.home-v2__study-visual {
    display: flex;
    min-height: 390px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-v2__study-visual img {
    width: 100%;
    max-height: 390px;
    object-fit: contain;
}

.home-v2__text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--home-v2-red);
    font-weight: 700;
    text-decoration: none;
}

.home-v2__text-link span {
    font-size: 24px;
    transition: transform .2s ease;
}

.home-v2__text-link:hover span {
    transform: translateX(4px);
}

.home-v2__steps {
    position: relative;
    padding: 88px 0 158px;
    background: #6fd4f0;
    overflow: hidden;
}

/* Colored brand panels use dark ink; red is reserved for neutral surfaces. */
.home-v2__steps .home-v2__eyebrow,
.home-v2__neo .home-v2__eyebrow {
    color: var(--home-v2-dark);
}

.home-v2__steps h2,
.home-v2__steps h3 {
    color: var(--home-v2-dark);
}

.home-v2__steps ol {
    display: grid;
    margin: 60px 0 30px;
    padding: 0;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    list-style: none;
}

.home-v2__steps li {
    position: relative;
    padding-top: 25px;
    border-top: 1px solid rgba(32, 33, 38, .22);
}

.home-v2__steps li > span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    margin-bottom: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--home-v2-red);
    color: #fff;
    font-weight: 700;
}

.home-v2__steps li p,
.home-v2__steps-note {
    color: rgba(32, 33, 38, .72);
    font-size: 14px;
}

.home-v2__steps-note {
    max-width: 850px;
    margin-bottom: 0;
}

.home-v2__steps-clouds {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 2;
    height: 130px;
    background-image: url("/wp-content/uploads/2023/03/nuage_v2.png");
    background-position: 0 0;
    background-repeat: repeat-x;
    background-size: auto 130px;
    pointer-events: none;
}

.home-v2__testimonials {
    padding: 88px 0;
    background: #fff;
}

.home-v2__section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.home-v2__videos {
    display: grid;
    margin-top: 50px;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.home-v2__video {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: 4px;
    background: #121317;
    box-shadow: 0 12px 28px rgba(29, 33, 38, .08);
    overflow: hidden;
}

.home-v2__video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.home-v2__video-trigger {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #121317;
    cursor: pointer;
}

.home-v2__video-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.home-v2__video-trigger:hover img {
    transform: scale(1.025);
}

.home-v2__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: 68px;
    height: 68px;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    border-radius: 50%;
    background: var(--home-v2-red);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
    color: #fff;
    font-size: 25px;
    transform: translate(-50%, -50%);
}

.home-v2__videos h3 {
    margin: 20px 0 3px;
}

.home-v2__videos article > p {
    color: var(--home-v2-muted);
    font-size: 14px;
}

.home-v2__neo {
    position: relative;
    padding: 85px 0 118px;
    background: #ffc43d;
    overflow: hidden;
}

.home-v2__neo-grid {
    display: grid;
    min-height: 540px;
    align-items: center;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
}

.home-v2__neo-grid > div:first-child > p:not(.home-v2__eyebrow) {
    max-width: 640px;
    margin-bottom: 30px;
    color: var(--home-v2-muted);
}

.home-v2__button--dark {
    background: var(--home-v2-red);
    color: #fff;
}

.home-v2__neo-visual {
    position: relative;
    align-self: stretch;
}

.home-v2__neo-visual::before {
    content: none;
}

.home-v2__neo-visual img {
    position: absolute;
    z-index: 1;
    right: -5%;
    /* Push the source image's cropped edge behind the foreground clouds. */
    bottom: -120px;
    width: 108%;
    max-height: 715px;
    object-fit: contain;
    object-position: bottom;
}

.home-v2__neo-clouds {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 2;
    height: 130px;
    background-image: url("/wp-content/uploads/2023/03/nuage_v2.png");
    background-position: 0 0;
    background-repeat: repeat-x;
    background-size: auto 130px;
    pointer-events: none;
}

.home-v2__final {
    padding: 88px 0;
    background: #fff;
    text-align: center;
}

.home-v2__final h2 {
    max-width: 880px;
    margin-right: auto;
    margin-left: auto;
}

.home-v2__final > .home-v2__container > p:not(.home-v2__eyebrow) {
    max-width: 720px;
    margin: 0 auto 35px;
}

.home-v2__actions--center {
    justify-content: center;
}

.home-v2__button--light {
    border-color: rgba(32, 33, 38, .2);
    background: rgba(255, 255, 255, .82);
    color: var(--home-v2-dark);
}

@media (max-width: 1024px) {
    .home-v2__hero {
        min-height: 630px;
        padding-top: 90px;
    }

    .home-v2__hero-grid {
        grid-template-columns: 1.15fr .85fr;
        gap: 20px;
    }

    .home-v2__hero-visual {
        min-height: 460px;
    }

    .home-v2__hero-visual img {
        /*
         * The tablet grid narrows the image before its height cap is reached.
         * A slightly wider rendering keeps the head fixed while the cropped
         * lower edge remains behind the full 150 px cloud layer.
         */
        bottom: -167px;
        width: min(580px, 121%);
        max-height: 657px;
    }

    .home-v2__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-v2__cards article:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .home-v2__study-grid {
        gap: 45px;
    }

    .home-v2__steps ol {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 767px) {
    .home-v2__container {
        width: min(100% - 34px, 620px);
    }

    .home-v2 {
        font-size: 16px;
    }

    .home-v2 h1 {
        font-size: 32px;
    }

    .home-v2 h2 {
        font-size: 28px;
    }

    .home-v2__hero {
        min-height: 0;
        padding: 85px 0 100px;
        background: #6fd4f0;
    }

    .home-v2__hero-grid,
    .home-v2__study-grid,
    .home-v2__neo-grid {
        grid-template-columns: 1fr;
    }

    .home-v2__lead {
        font-size: 16px;
    }

    .home-v2__button {
        width: 100%;
    }

    .home-v2__hero-visual {
        min-height: 440px;
        margin-top: 45px;
    }

    .home-v2__hero-visual img {
        right: 50%;
        /*
         * The portrait asset ends at mid-thigh. Increasing its rendered
         * height while lowering it keeps the head in place and buries that
         * artificial edge inside the opaque part of the cloud layer.
         */
        bottom: -120px;
        width: auto;
        height: 560px;
        max-width: none;
        max-height: none;
        transform: translateX(50%);
    }

    .home-v2__benefits,
    .home-v2__paths,
    .home-v2__partners,
    .home-v2__study,
    .home-v2__testimonials,
    .home-v2__final {
        padding: 64px 0;
    }

    .home-v2__steps {
        padding: 64px 0 112px;
    }

    .home-v2__steps-clouds {
        height: 90px;
        background-size: auto 90px;
    }

    .home-v2__cloud-transition {
        height: 100px;
        margin-top: -80px;
        background-size: auto 100px;
    }

    .home-v2__assistant-invite {
        padding-top: 2px;
    }

    .home-v2__assistant-search {
        min-height: 56px;
        gap: 7px;
        padding: 6px 7px 6px 8px;
    }

    .home-v2__assistant-avatar {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .home-v2__assistant-search input {
        padding: 10px 2px;
        font-size: 14px;
    }

    .home-v2__assistant-search button {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .home-v2__assistant-search button svg {
        width: 19px;
        height: 19px;
    }

    .home-v2__cards,
    .home-v2__path-grid,
    .home-v2__steps ol,
    .home-v2__videos {
        grid-template-columns: 1fr;
    }

    .home-v2__path-grid article {
        min-height: 0;
        padding: 28px 24px;
    }

    .home-v2__cards {
        margin-top: 40px;
    }

    .home-v2__cards article {
        min-height: 0;
        padding: 24px 0 25px;
        border-top: 1px solid #d9d9d9;
        border-left: 0;
    }

    .home-v2__cards article:first-child {
        border-top: 0;
    }

    .home-v2__benefit-icon {
        width: 68px;
        height: 68px;
        margin-bottom: 16px;
    }

    .home-v2__partners h2 {
        margin-bottom: 12px;
    }

    .home-v2__partners .home-v2__container > p {
        margin-bottom: 30px;
    }

    .home-v2__partner-set {
        gap: 38px;
        padding-right: 38px;
    }

    .home-v2__partner-set img {
        flex-basis: 118px;
        width: 118px;
        height: 64px;
    }

    .home-v2__study-visual {
        min-height: 320px;
        order: 2;
    }

    .home-v2__study-grid {
        gap: 45px;
    }

    .home-v2__section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-v2__neo {
        padding: 75px 0 90px;
    }

    .home-v2__neo-grid {
        min-height: 0;
        gap: 30px;
    }

    .home-v2__neo-visual {
        min-height: 500px;
    }

    .home-v2__neo-visual img {
        right: 50%;
        bottom: -92px;
        width: 500px;
        max-width: none;
        max-height: 697px;
        transform: translateX(50%);
    }

    .home-v2__neo-clouds {
        height: 90px;
        background-size: auto 90px;
    }
}

@media (max-width: 420px) {
    .home-v2 h1 {
        font-size: 32px;
    }

    .home-v2 h2 {
        font-size: 27px;
    }

    .home-v2__hero-visual {
        min-height: 400px;
    }

    .home-v2__hero-visual img {
        height: 520px;
    }

    .home-v2__neo-visual {
        min-height: 440px;
    }
}
