/* Homepage flagship hero: related to the site system, intentionally more distinctive. */
body.home-page.hero-css-layout .hero {
    position: relative;
    min-height: 670px;
    padding: 76px 0 68px;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid #c8def5;
    color: #183457;
    background:
        radial-gradient(circle at 84% 18%, rgba(46, 197, 232, .15), transparent 25%),
        radial-gradient(circle at 65% 100%, rgba(42, 120, 235, .16), transparent 38%),
        linear-gradient(118deg, #fff 0%, #f8fbff 43%, #e8f4ff 72%, #dcecff 100%);
}

body.home-page.hero-css-layout .hero::before {
    position: absolute;
    z-index: -2;
    top: -330px;
    left: -310px;
    display: block;
    width: 920px;
    height: 920px;
    border: 1px solid rgba(79, 160, 226, .08);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.94) 0 54%, rgba(239,247,255,.52) 55% 68%, transparent 69%);
    content: "";
    transform: none;
}

body.home-page.hero-css-layout .hero::after {
    position: absolute;
    z-index: -1;
    top: -180px;
    right: -250px;
    display: block;
    width: 900px;
    height: 900px;
    border: 1px solid rgba(64, 158, 226, .12);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 194, 249, .16), rgba(183, 224, 253, .05) 58%, transparent 72%);
    box-shadow: 0 0 0 100px rgba(94, 180, 239, .018), 0 0 0 200px rgba(94, 180, 239, .012);
    content: "";
    transform: none;
}

body.home-page.hero-css-layout .hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    width: min(calc(100% - 128px), 1360px);
    max-width: 1360px;
    margin: 0 auto;
    grid-template-columns: minmax(0, 48fr) minmax(520px, 52fr);
    align-items: center;
    gap: clamp(32px, 4vw, 68px);
}

body.home-page.hero-css-layout .home-hero-copy {
    position: relative;
    left: auto;
    justify-self: center;
    width: 100%;
    max-width: 620px;
    margin: 0;
}

body.home-page.hero-css-layout .home-hero-copy::before {
    position: absolute;
    top: -31px;
    left: 0;
    width: 42px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, #2797ee, #45d1ec);
    box-shadow: 52px 0 0 rgba(69, 209, 236, .34);
    content: "";
}

body.home-page.hero-css-layout .home-hero-copy .badge {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    margin-bottom: 24px;
    padding: 0;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 0;
    color: #1767c9;
    background: transparent;
    box-shadow: none;
    font-size: .7rem;
    font-weight: 850;
    line-height: 1.35;
    letter-spacing: .1em;
    text-transform: uppercase;
    backdrop-filter: none;
}

body.home-page.hero-css-layout .home-hero-copy .badge::before {
    display: block;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border: 2px solid #1689c8;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(22, 137, 200, .1);
    content: "";
}

body.home-page.hero-css-layout .home-hero-copy h1 {
    max-width: 680px;
    margin: 0 0 24px;
    color: #102b57;
    font-size: clamp(3.55rem, 4.75vw, 5.1rem);
    font-weight: 760;
    line-height: .98;
    letter-spacing: -.065em;
    text-wrap: balance;
}

body.home-page.hero-css-layout .home-hero-copy h1 > span,
body.home-page.hero-css-layout .home-hero-copy h1 .home-hero-agency {
    color: #102b57;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: #102b57;
}

body.home-page.hero-css-layout .home-hero-copy > p {
    max-width: 610px;
    margin: 0 0 30px;
    padding: 2px 0 2px 20px;
    border-left: 2px solid #63a7ed;
    color: #526b8d;
    font-size: clamp(1.02rem, 1.45vw, 1.18rem);
    line-height: 1.72;
    text-align: left;
}

body.home-page.hero-css-layout .home-hero-actions {
    margin-bottom: 27px;
    gap: 12px;
}

body.home-page.hero-css-layout .home-hero-actions :is(.btn.orange, .home-hero-secondary) {
    min-height: 52px;
    border-radius: 11px;
}

body.home-page.hero-css-layout .home-hero-actions .btn.orange {
    border-color: #0d78e8;
    background: linear-gradient(135deg, #1387f3, #0868dc);
    box-shadow: 0 15px 30px rgba(8, 105, 220, .22);
}

body.home-page.hero-css-layout .home-hero-secondary {
    border-color: #86baf0;
    background: rgba(255,255,255,.78);
    box-shadow: 0 10px 24px rgba(42, 83, 137, .07);
}

body.home-page.hero-css-layout .home-hero-proof {
    gap: 11px 22px;
}

body.home-page.hero-css-layout .home-hero-proof li {
    color: #446487;
    font-size: .76rem;
}

body.home-page.hero-css-layout .hero-site-visual {
    position: relative;
    top: auto;
    right: auto;
    justify-self: end;
    width: 600px;
    height: 570px;
    margin: 0;
    isolation: isolate;
    transform: scale(.83);
    transform-origin: center right;
}

body.home-page.hero-css-layout .hero-site-visual::before {
    z-index: -3;
    inset: 1% -7% -3% -4%;
    border: 1px solid rgba(58, 157, 225, .14);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(97, 193, 249, .21), rgba(184, 225, 253, .06) 55%, transparent 74%);
    box-shadow: 0 0 0 72px rgba(70, 166, 230, .018);
}

body.home-page.hero-css-layout .hero-site-visual::after {
    z-index: -2;
    inset: 54px -27px 31px 34px;
    border: 1px dashed rgba(62, 148, 221, .2);
    border-radius: 50%;
    background: none;
    content: "";
    -webkit-mask-image: none;
    mask-image: none;
}

body.home-page.hero-css-layout .site-visual-sheet {
    border-color: rgba(109, 168, 224, .4);
    background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(219,236,253,.66));
    box-shadow: 0 18px 42px rgba(36, 79, 133, .08);
}

body.home-page.hero-css-layout .site-browser {
    border-color: rgba(91, 153, 215, .58);
    background: rgba(255,255,255,.97);
    box-shadow: 0 34px 74px rgba(32, 76, 135, .2), inset 0 1px 0 #fff;
    backdrop-filter: blur(12px);
}

body.home-page.hero-css-layout .site-browser-bar {
    background: linear-gradient(180deg, #edf5ff, #e5f0fd);
}

body.home-page.hero-css-layout .demo-site-banner {
    border: 1px solid rgba(151, 191, 232, .28);
    background:
        radial-gradient(circle at 88% 20%, rgba(77, 194, 233, .18), transparent 30%),
        linear-gradient(135deg, #e8f3ff, #d6e8ff);
}

body.home-page.hero-css-layout .tracking-events-card {
    border-color: #d5e5f5;
    box-shadow: 0 11px 26px rgba(43, 83, 135, .06);
}

@media (max-width: 1200px) {
    body.home-page.hero-css-layout .hero-grid {
        width: min(calc(100% - 52px), 1120px);
        grid-template-columns: minmax(0, 1fr) 470px;
        gap: 24px;
    }

    body.home-page.hero-css-layout .hero-site-visual {
        transform: scale(.76);
    }

    body.home-page.hero-css-layout .home-hero-copy h1 {
        font-size: clamp(3.15rem, 5.5vw, 4.4rem);
    }
}

@media (max-width: 1024px) {
    body.home-page.hero-css-layout .hero {
        min-height: 0;
        padding: 66px 0 60px;
    }

    body.home-page.hero-css-layout .hero-grid {
        display: block;
        width: min(calc(100% - 64px), 760px);
    }

    body.home-page.hero-css-layout .home-hero-copy {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    body.home-page.hero-css-layout .home-hero-copy::before {
        left: 50%;
        transform: translateX(-48px);
    }

    body.home-page.hero-css-layout .home-hero-copy h1,
    body.home-page.hero-css-layout .home-hero-copy > p {
        margin-right: auto;
        margin-left: auto;
    }

    body.home-page.hero-css-layout .home-hero-copy .badge {
        justify-content: center;
    }

    body.home-page.hero-css-layout .home-hero-copy > p {
        padding-left: 0;
        border-left: 0;
        text-align: center;
    }

    body.home-page.hero-css-layout :is(.home-hero-actions, .home-hero-proof) {
        justify-content: center;
    }

    body.home-page.hero-css-layout .hero-site-visual {
        display: none;
    }
}

@media (max-width: 600px) {
    body.home-page.hero-css-layout .hero {
        padding: 50px 0 42px;
    }

    body.home-page.hero-css-layout .hero-grid {
        width: min(calc(100% - 30px), 560px);
    }

    body.home-page.hero-css-layout .home-hero-copy .badge {
        width: 100%;
        margin-bottom: 20px;
        white-space: normal;
        line-height: 1.5;
    }

    body.home-page.hero-css-layout .home-hero-copy h1 {
        margin-bottom: 18px;
        font-size: clamp(2.45rem, 12vw, 3.25rem);
        line-height: 1.02;
    }

    body.home-page.hero-css-layout .home-hero-copy > p {
        margin-bottom: 24px;
        font-size: .98rem;
        line-height: 1.6;
    }

    body.home-page.hero-css-layout .home-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    body.home-page.hero-css-layout .home-hero-actions :is(.btn.orange, .home-hero-secondary) {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home-page.hero-css-layout :is(.site-visual-sheet, .event-row, .tracking-live i) {
        animation: none;
    }
}
