.home-v2-header {
    position: relative;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid #e8eef7;
}

.home-v2-nav {
    min-height: 78px;
}

.home-v2-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: #102b55;
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: -.04em;
    text-decoration: none;
    white-space: nowrap;
}

.home-v2-brand img {
    object-fit: contain;
}

.home-v2-brand-blue {
    color: #168df2;
}

.home-v2-nav .nav-link {
    color: #23344f;
    font-size: .94rem;
    font-weight: 600;
}

.home-v2-nav .nav-link:hover {
    color: #087fea;
}

.home-v2-nav .home-v2-active {
    position: relative;
    color: #102b55;
}

.home-v2-nav .home-v2-active::after {
    position: absolute;
    right: .5rem;
    bottom: .1rem;
    left: .5rem;
    height: 2px;
    background: #0788f5;
    content: "";
}

.home-redesign {
    --home-v2-blue: #0788f5;
    --home-v2-navy: #102b55;
    --home-v2-muted: #526783;
    color: var(--home-v2-navy);
    background: #fff;
}

.home-redesign .container {
    max-width: 1200px;
}

.home-v2-hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #fff;
}

.home-v2-hero-panel {
    position: relative;
    isolation: isolate;
    width: calc(100% + 24px);
    min-height: clamp(460px, 44.92vw, 620px);
    margin-left: -12px;
    padding: 2rem 0;
    background: url("../images/main_page_background.png") center / cover no-repeat;
}

.home-v2-hero-panel::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, .84) 0%,
        rgba(255, 255, 255, .78) 34%,
        rgba(255, 255, 255, .48) 58%,
        rgba(255, 255, 255, .08) 82%,
        rgba(255, 255, 255, 0) 100%
    );
    content: "";
    pointer-events: none;
}

.home-v2-hero-panel > .row {
    position: relative;
    z-index: 2;
}

.home-v2-hero-copy {
    position: relative;
    z-index: 3;
    max-width: 570px;
    padding: 0 24px 0 clamp(1.5rem, 2.5vw, 2rem);
}

.home-v2-eyebrow,
.home-v2-audience-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: #087fea;
    font-size: .82rem;
    font-weight: 750;
    letter-spacing: .055em;
}

.home-v2-eyebrow {
    margin-bottom: 1.35rem;
    padding: .55rem .85rem;
    border: 1px solid #d8ebff;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    letter-spacing: 0;
}

.home-v2-hero h1 {
    max-width: 520px;
    margin-bottom: 1.25rem;
    color: var(--home-v2-navy);
    font-size: clamp(2.55rem, 4.4vw, 3.55rem);
    font-weight: 800;
    letter-spacing: -.065em;
    line-height: 1.04;
}

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

.home-v2-lead {
    max-width: 570px;
    margin-bottom: 1.35rem;
    color: var(--home-v2-muted);
    font-size: clamp(1.05rem, 1.6vw, 1.22rem);
    line-height: 1.7;
}

.home-v2-downloads {
    position: relative;
    z-index: 3;
}

.home-v2-download-label {
    margin: 0 0 .45rem;
    color: #102b55;
    font-size: .92rem;
    font-weight: 800;
}

.home-v2-audience-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .9rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
}

.home-v2-store-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.home-v2-store-links a {
    display: inline-flex;
    align-items: center;
}

.home-v2-store-links img {
    display: block;
    width: 150px;
    height: auto;
}

.section-space {
    padding: 2rem 0;
}

.home-v2-kicker {
    margin-bottom: .7rem;
    color: var(--home-v2-blue);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .075em;
}

.home-v2-section-title {
    max-width: 500px;
    margin: 0;
    font-size: clamp(1.75rem, 2.8vw, 2.35rem);
    font-weight: 780;
    letter-spacing: -.05em;
    line-height: 1.12;
}

.home-v2-section-intro {
    max-width: 600px;
    color: var(--home-v2-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.home-v2-feature-card {
    height: 100%;
    min-height: 168px;
    padding: 1rem;
    border: 1px solid #d9edff;
    border-radius: .7rem;
    background: #f1f8ff;
}

.home-v2-feature-icon {
    display: inline-grid;
    width: 44px;
    height: 44px;
    margin-bottom: .7rem;
    place-items: center;
    border-radius: 0;
    background: transparent;
    color: var(--home-v2-blue);
    font-size: 2.3rem;
}

.home-v2-feature-card h3 {
    margin-bottom: .55rem;
    color: var(--home-v2-navy);
    font-size: 1.08rem;
    font-weight: 800;
}

.home-v2-feature-card p {
    margin: 0;
    color: var(--home-v2-muted);
    font-size: .94rem;
    line-height: 1.6;
}

.home-v2-app-showcase {
    padding: 1rem 0 3.5rem;
}

.home-v2-app-showcase-panel {
    overflow: hidden;
    border: 1px solid #e3edf8;
    border-radius: 1.1rem;
    background: linear-gradient(105deg, #e6f3ff 0%, #eff8ff 34%, #fff 88%);
    box-shadow: 0 20px 55px rgba(16, 43, 85, .08);
}

.home-v2-app-showcase-visual {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: radial-gradient(ellipse at 48% 56%, rgba(7, 136, 245, .16), rgba(7, 136, 245, 0) 67%);
}

.home-v2-app-phone {
    position: absolute;
    bottom: -1%;
    width: auto;
    height: 94%;
    object-fit: contain;
    filter: drop-shadow(0 18px 20px rgba(18, 43, 76, .2));
}

.home-v2-app-phone-list {
    z-index: 1;
    left: 2%;
    transform: rotate(-7deg);
}

.home-v2-app-phone-details {
    z-index: 2;
    right: 1%;
    transform: rotate(5deg);
}

.home-v2-app-showcase-copy {
    padding: 2.5rem 2.5rem 2.5rem 1rem;
}

.home-v2-app-showcase-copy .home-v2-section-title {
    max-width: 580px;
}

.home-v2-app-showcase-copy .home-v2-section-intro {
    margin: 1rem 0 1.5rem;
}

.home-v2-app-highlights {
    display: grid;
    gap: 1rem;
}

.home-v2-app-highlight {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
}

.home-v2-app-highlight-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: .8rem;
    background: #e8f4ff;
    color: var(--home-v2-blue);
    font-size: 1.25rem;
}

.home-v2-app-highlight h3 {
    margin: .1rem 0 .2rem;
    color: var(--home-v2-navy);
    font-size: 1rem;
    font-weight: 800;
}

.home-v2-app-highlight p {
    margin: 0;
    color: var(--home-v2-muted);
    font-size: .92rem;
    line-height: 1.55;
}

.home-v2-app-showcase-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.5rem;
    color: #087fea;
    font-weight: 750;
    text-decoration: none;
}

.home-v2-app-showcase-link:hover {
    color: #0569c5;
    text-decoration: underline;
}

.home-v2-audience {
    padding-top: 0;
}

.home-v2-audience-card {
    position: relative;
    height: 100%;
    min-height: 370px;
    overflow: hidden;
    border-radius: .65rem;
}

.home-v2-driver-card {
    background: #eef7ff;
}

.home-v2-business-card {
    color: #fff;
    background: #45a5f5;
}

.home-v2-audience-copy {
    position: relative;
    z-index: 2;
    max-width: 59%;
    padding: 1.7rem;
}

.home-v2-audience-kicker {
    margin-bottom: 1.15rem;
}

.home-v2-business-card .home-v2-audience-kicker {
    color: #e6f4ff;
}

.home-v2-audience-card h2 {
    max-width: 420px;
    margin-bottom: .9rem;
    font-size: clamp(1.45rem, 2.3vw, 1.9rem);
    font-weight: 780;
    letter-spacing: -.045em;
    line-height: 1.12;
    text-wrap: pretty;
}

.home-v2-audience-card p {
    max-width: 390px;
    margin-bottom: 1.3rem;
    color: #526783;
    line-height: 1.65;
}

.home-v2-business-card p {
    color: rgba(255, 255, 255, .86);
}

.home-v2-audience-card .btn {
    position: relative;
    z-index: 3;
}

.home-v2-audience-screen,
.home-v2-business-screen {
    position: absolute;
    z-index: 1;
    top: 5%;
    right: 2%;
    bottom: 4%;
    width: 34%;
    overflow: hidden;
}

.home-v2-audience-screen img,
.home-v2-business-screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.home-v2-business-screen {
    right: 2%;
}

.home-v2-driver-screen {
    top: 2%;
    right: 1%;
    bottom: 2%;
    width: 41%;
}

.home-v2-driver-screen img {
    filter: none;
}

.home-v2-timing-screen {
    top: 3%;
    right: 1%;
    bottom: 3%;
    width: 46%;
}

.home-v2-history-card .home-v2-audience-screen {
    right: 2%;
    width: 56%;
}

.home-v2-history-card::before {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, .94) 0%,
        rgba(255, 255, 255, .86) 38%,
        rgba(255, 255, 255, .52) 64%,
        rgba(255, 255, 255, 0) 100%
    );
    content: "";
    pointer-events: none;
}

.home-v2-history-card .home-v2-audience-copy {
    z-index: 3;
}

.home-v2-reminders-card .home-v2-audience-screen {
    right: 2%;
    width: 36%;
}

.home-v2-service-history-card .home-v2-audience-copy {
    max-width: 56%;
}

.home-v2-service-history-preview {
    position: absolute;
    z-index: 1;
    top: 22%;
    right: 2%;
    bottom: 22%;
    display: flex;
    width: 42%;
    align-items: center;
    overflow: hidden;
    border-radius: .45rem;
    background: #fff;
    box-shadow: 0 12px 30px rgba(5, 35, 75, .18);
}

.home-v2-service-history-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-v2-business-link {
    margin-top: .4rem;
}

.home-v2-partners {
    padding: 1rem 0 2rem;
    margin-bottom: 1rem;
    background: transparent;
}

.home-v2-partners-panel {
    overflow: hidden;
    padding: 1.5rem;
    border: 1px solid #e3edf8;
    border-radius: 1.1rem;
    background: linear-gradient(105deg, #e6f3ff 0%, #eff8ff 34%, #fff 88%);
    box-shadow: 0 20px 55px rgba(16, 43, 85, .08);
}

.home-v2-partner-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(170px, 1fr));
    gap: .85rem;
}

.home-v2-partner-tile {
    display: flex;
    min-height: 110px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid #e2edf8;
    border-radius: .7rem;
    background: #fff;
    color: #526783;
    font-size: .85rem;
    text-align: center;
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
}

.home-v2-partner-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(29, 91, 147, .1);
}

.home-v2-partner-tile img {
    width: 100%;
    max-width: 150px;
    height: 54px;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .home-v2-nav .navbar-collapse {
        padding: .75rem 0 1rem;
    }

    .home-v2-nav .nav-link {
        padding: .65rem 0;
    }

    .home-v2-hero-panel {
        width: calc(100% + 40px);
        min-height: 0;
        margin-left: -20px;
        padding: 2rem 0 2rem;
        background-position: 62% center;
    }

    .home-v2-hero-copy {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        padding: 0 1rem;
    }

    .home-v2-lead {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .home-v2-hero-panel::before {
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, .88) 0%,
            rgba(255, 255, 255, .82) 55%,
            rgba(255, 255, 255, .72) 100%
        );
    }

    .home-v2-audience-card {
        min-height: 400px;
    }

    .home-v2-app-showcase-visual {
        min-height: clamp(370px, 62vw, 500px);
    }

    .home-v2-app-phone {
        height: 94%;
    }

    .home-v2-app-phone-list {
        left: 12%;
    }

    .home-v2-app-phone-details {
        right: 12%;
    }

    .home-v2-app-showcase-copy {
        padding: 0 2rem 2.5rem;
    }

    .home-v2-partners-panel {
        padding: 1.25rem;
    }

    .home-v2-audience-copy {
        max-width: 59%;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .home-v2-hero-copy {
        padding-left: 1.5rem;
    }

    .home-v2-hero h1 {
        font-size: clamp(2.3rem, 3.96vw, 3.2rem);
    }
}

@media (max-width: 575.98px) {
    .home-v2-nav > .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .home-redesign .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .home-v2-nav {
        min-height: 68px;
    }

    .home-v2-brand {
        font-size: 1.05rem;
    }

    .home-v2-brand img {
        width: 40px;
        height: 36px;
    }

    .home-v2-hero {
        padding-top: 0;
    }

    .home-v2-hero-panel {
        min-height: 0;
        padding: 2rem 0 2rem;
        background-position: 62% center;
    }

    .home-v2-store-links img {
        width: 145px;
    }

    .home-v2-hero .home-v2-downloads {
        margin-bottom: 1.5rem;
    }

    .home-v2-hero-panel {
        min-height: 0;
        padding: 2rem 0 2rem;
    }

    .home-v2-hero-copy {
        min-width: 0;
        padding-right: 1rem;
        padding-left: 1.5rem;
    }

    .home-v2-hero h1 {
        font-size: 2.3rem;
    }

    .home-v2-feature-card {
        min-height: 0;
        padding: .85rem;
    }

    .home-v2-features {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .home-v2-features .home-v2-kicker {
        margin-bottom: .45rem;
    }

    .home-v2-features .home-v2-section-title {
        margin-bottom: .25rem;
        font-size: 1.65rem;
        line-height: 1.08;
    }

    .home-v2-feature-icon {
        width: 34px;
        height: 34px;
        margin-bottom: .35rem;
        font-size: 1.8rem;
    }

    .home-v2-feature-card h3 {
        margin-bottom: .3rem;
        font-size: .95rem;
    }

    .home-v2-feature-card p {
        font-size: .82rem;
        line-height: 1.4;
    }

    .home-v2-app-showcase-visual {
        min-height: 380px;
    }

    .home-v2-app-phone-list {
        left: 2%;
    }

    .home-v2-app-phone-details {
        right: 2%;
    }

    .home-v2-app-showcase-copy {
        padding: 0 1.25rem 1.75rem;
    }

    .home-v2-app-showcase {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    .home-v2-app-showcase-copy {
        padding-bottom: 1rem;
    }

    .home-v2-features {
        padding-bottom: .5rem;
    }

    .home-v2-audience {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    .home-v2-partners {
        padding-top: .5rem;
        padding-bottom: .5rem;
        margin-bottom: 0;
    }

    .home-v2-partners-panel {
        padding: 1rem;
    }

    .home-v2-audience-card {
        min-height: 420px;
    }

    .home-v2-audience-copy {
        max-width: 64%;
        padding: 1.5rem;
    }

    .home-v2-audience-screen,
    .home-v2-business-screen {
        top: 5%;
        right: 1%;
        bottom: 4%;
        width: 37%;
    }

    .home-v2-history-card .home-v2-audience-screen {
        right: 1%;
        width: 52%;
    }

    .home-v2-driver-screen {
        right: 1%;
        width: 43%;
    }

    .home-v2-reminders-card .home-v2-audience-screen {
        right: 1%;
        width: 37%;
    }

    .home-v2-timing-screen {
        top: 3%;
        right: 1%;
        bottom: 3%;
        width: 50%;
    }

    .home-v2-service-history-card .home-v2-audience-copy {
        max-width: 59%;
    }

    .home-v2-service-history-preview {
        top: 30%;
        right: 1%;
        bottom: 30%;
        width: 39%;
    }

    .home-v2-history-card,
    .home-v2-timing-card,
    .home-v2-reminders-card,
    .home-v2-service-history-card {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }

    .home-v2-history-card::before {
        content: none;
    }

    .home-v2-history-card .home-v2-audience-copy,
    .home-v2-timing-card .home-v2-audience-copy,
    .home-v2-reminders-card .home-v2-audience-copy,
    .home-v2-service-history-card .home-v2-audience-copy {
        max-width: none;
        width: 100%;
        padding: 1.25rem 1.5rem .25rem;
    }

    .home-v2-history-card .home-v2-audience-copy > p,
    .home-v2-timing-card .home-v2-audience-copy > p,
    .home-v2-reminders-card .home-v2-audience-copy > p,
    .home-v2-service-history-card .home-v2-audience-copy > p {
        display: none;
    }

    .home-v2-history-card .home-v2-audience-screen,
    .home-v2-timing-card .home-v2-business-screen,
    .home-v2-reminders-card .home-v2-audience-screen,
    .home-v2-service-history-preview {
        position: relative;
        inset: auto;
        display: flex;
        width: 100%;
        height: 190px;
        flex: 1 1 190px;
        align-items: center;
        justify-content: center;
        margin: 0 auto .75rem;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .home-v2-history-card .home-v2-audience-screen img,
    .home-v2-timing-card .home-v2-business-screen img,
    .home-v2-reminders-card .home-v2-audience-screen img,
    .home-v2-service-history-preview img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        opacity: 1;
        filter: none;
    }

    .home-v2-partner-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-v2-partner-tile {
        min-height: 110px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .home-v2-partner-tile {
        transition: none;
    }
}

@media (max-width: 991.98px) {
    .home-v2-audience-kicker {
        flex-wrap: nowrap;
        white-space: nowrap;
        font-size: .76rem;
    }

    .home-v2-app-showcase {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    .home-v2-app-showcase-copy {
        padding-bottom: .5rem;
    }

    .home-v2-features {
        padding-bottom: .5rem;
    }

    .home-v2-audience {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    .home-v2-partners {
        padding-top: .5rem;
        padding-bottom: .5rem;
        margin-bottom: 0;
    }

    .home-v2-history-card,
    .home-v2-timing-card,
    .home-v2-reminders-card,
    .home-v2-service-history-card {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }

    .home-v2-history-card::before {
        content: none;
    }

    .home-v2-history-card .home-v2-audience-copy,
    .home-v2-timing-card .home-v2-audience-copy,
    .home-v2-reminders-card .home-v2-audience-copy,
    .home-v2-service-history-card .home-v2-audience-copy {
        max-width: none;
        width: 100%;
        padding: 1.25rem 1.5rem .25rem;
    }

    .home-v2-history-card .home-v2-audience-copy > p,
    .home-v2-timing-card .home-v2-audience-copy > p,
    .home-v2-reminders-card .home-v2-audience-copy > p,
    .home-v2-service-history-card .home-v2-audience-copy > p {
        display: none;
    }

    .home-v2-history-card .home-v2-audience-screen,
    .home-v2-timing-card .home-v2-business-screen,
    .home-v2-reminders-card .home-v2-audience-screen,
    .home-v2-service-history-preview {
        position: relative;
        inset: auto;
        display: flex;
        width: 100%;
        height: 220px;
        flex: 0 0 220px;
        align-items: center;
        justify-content: center;
        margin: 0 auto .75rem;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .home-v2-history-card .home-v2-audience-screen img,
    .home-v2-timing-card .home-v2-business-screen img,
    .home-v2-reminders-card .home-v2-audience-screen img,
    .home-v2-service-history-preview img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        opacity: 1;
        filter: none;
    }

    .home-v2-business-card:not(.home-v2-timing-card) .home-v2-business-screen {
        width: 41%;
    }

    .home-v2-history-card .home-v2-audience-screen {
        height: 242px;
        flex-basis: 242px;
    }

    .home-v2-reminders-card .home-v2-audience-copy > p {
        display: block;
        margin-bottom: .5rem;
    }

    .home-v2-service-history-preview {
        width: calc(100% - 2rem);
        margin-right: 1rem;
        margin-left: 1rem;
    }
}
