/* Razor rendition of Magic Patterns' Performance feature page. */
.performance-magic-page {
    --performance-cyan: var(--public-brand-blue);
    --performance-text: #eef7f8;
    --performance-muted: #aab9be;
    color: var(--performance-text);
    overflow: clip
}

.performance-magic-page section {
    position: relative;
    isolation: isolate
}

.performance-magic-shell {
    position: relative;
    z-index: 1;
    /* width: min(100% - 48px, 1200px); */
    /* margin-inline: auto */
}

/* Match the Core HR hero's offset and content-driven height. */
body.doo-marketing .marketing-main:has(> .performance-magic-page) {
    padding-top: 62px;
}

.performance-magic-hero {
    padding: 0 0 96px
}

.performance-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(340px, .78fr);
    gap: clamp(38px, 6vw, 84px);
    min-height: 0;
    align-items: center
}

.performance-hero-copy h1 {
    max-width: 800px;
    margin: 13px 0 24px;
    color: #f5f9fa;
    font-size: clamp(3.35rem, 6.45vw, 6.75rem);
    line-height: .92;
    letter-spacing: -.075em
}

.performance-hero-copy p {
    max-width: 700px;
    margin: 0;
    color: var(--performance-muted);
    font-size: clamp(1.12rem, 1.7vw, 1.45rem);
    line-height: 1.58
}

.performance-hero-copy .hero-actions,
.performance-cta-panel .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px
}

.performance-magic-page .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .72rem 1rem;
    border: 1px solid rgba(174, 226, 233, .25);
    border-radius: 999px;
    color: #e8f5f6;
    text-decoration: none;
    transition: .2s ease
}

.performance-magic-page .btn-ghost:hover {
    border-color: var(--performance-cyan);
    background: rgba(var(--public-brand-rgb), .1)
}

.performance-hero-stat-stack {
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: 420px;
    justify-self: center
}

.performance-hero-stat {
    position: relative;
    display: grid;
    min-height: calc((460px - 28px)/3);
    place-content: center;
    overflow: visible;
    padding: 16px 24px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 21px;
    background: rgba(255, 255, 255, .065);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(255, 255, 255, .05), inset 0 0 60px -20px rgba(255, 255, 255, .08), 0 20px 50px -28px rgba(0, 0, 0, .9), 0 0 54px -34px rgba(var(--public-brand-rgb), .52);
    text-align: center;
    backdrop-filter: blur(24px) saturate(150%);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease
}

.performance-hero-stat:hover {
    z-index: 1;
    border-color: rgba(var(--public-brand-rgb), .56);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 60px -20px rgba(255, 255, 255, .08), 0 22px 50px -28px rgba(0, 0, 0, .9), 0 0 54px -24px rgba(var(--public-brand-rgb), .62);
    transform: translateY(-3px)
}

.performance-hero-stat::before {
    border-radius: inherit;
    position: absolute;
    inset: 0;
    content: "";
    background: radial-gradient(120% 90% at 50% -10%, rgba(var(--public-brand-rgb), .18), transparent 62%), linear-gradient(150deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 34%, transparent 55%)
}

.performance-hero-stat>* {
    position: relative;
    z-index: 1
}

.performance-stat-icon {
    color: #b4c5ca;
    font-size: .84rem;
    font-weight: 650
}

.performance-stat-icon i {
    margin-right: 8px;
    color: var(--performance-cyan)
}

.performance-hero-stat strong {
    margin: 8px 0 5px;
    color: #f4fafb;
    font-size: clamp(2.35rem, 3.6vw, 3.5rem);
    line-height: .9;
    letter-spacing: -.08em
}

.performance-hero-stat p {
    margin: 0;
    color: #aab9be;
    font-size: .82rem;
    line-height: 1.4
}

.performance-capabilities,
.performance-gallery,
.performance-how-it-works,
.performance-faq {
    padding: 112px 0
}

.performance-capabilities,
.performance-how-it-works {
    border-block: 1px solid rgba(255, 255, 255, .06)
}

.performance-section-head {
    max-width: 720px;
    margin: 0 auto 52px;
    text-align: center
}

.performance-section-head-left {
    margin-left: 0;
    text-align: left
}

.performance-section-head h2 {
    margin: 12px 0 15px;
    color: #f0f7f8;
    font-size: clamp(2.45rem, 4.5vw, 4.7rem);
    line-height: .98;
    letter-spacing: -.065em
}

.performance-section-head p {
    margin: 0;
    color: var(--performance-muted);
    font-size: 1.08rem;
    line-height: 1.6
}

.performance-section-head:not(.performance-section-head-left) p {
    margin-inline: auto
}

.performance-capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.performance-capability-grid article {
    min-height: 220px;
    padding: 27px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: .25s ease
}

.performance-capability-grid article:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--public-brand-rgb), .62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 0 35px rgba(var(--public-brand-rgb), .12)
}

.performance-capability-grid i {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 13px;
    color: var(--public-brand-blue);
    background: rgba(var(--public-brand-rgb), .13);
    font-size: 1.2rem
}

.performance-capability-grid h3 {
    margin: 22px 0 8px;
    color: #f1f7f8;
    font-size: 1.24rem
}

.performance-capability-grid p {
    margin: 0;
    color: var(--performance-muted);
    line-height: 1.55
}

.performance-coverflow {
    position: relative
}

.performance-gallery-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px
}

.performance-gallery-tabs button {
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    color: #9baab0;
    font: 650 .78rem Inter, sans-serif;
    cursor: pointer;
    transition: .25s ease
}

.performance-gallery-tabs button:hover,
.performance-gallery-tabs button.is-active {
    border-color: rgba(var(--public-brand-rgb), .5);
    background: rgba(var(--public-brand-rgb), .15);
    color: #edfafa
}

.performance-coverflow-stage {
    position: relative;
    width: min(100%, 760px);
    height: 400px;
    margin-inline: auto
}

.performance-coverflow-rail {
    position: absolute;
    top: 50%;
    right: -8%;
    left: -8%;
    height: 1px;
    background: rgba(255, 255, 255, .07)
}

.performance-coverflow-stage::after {
    position: absolute;
    bottom: 8px;
    left: 25%;
    width: 50%;
    height: 1px;
    background: rgba(var(--public-brand-rgb), .25);
    box-shadow: 0 0 13px rgba(var(--public-brand-rgb), .2);
    content: ""
}

.performance-coverflow-slide {
    position: absolute;
    top: 0;
    right: 11%;
    left: 11%;
    z-index: 1;
    margin: 0;
    opacity: .12;
    filter: blur(2px);
    pointer-events: none;
    transform: translateX(0) scale(.68);
    transition: .6s cubic-bezier(.16, 1, .3, 1)
}

.performance-coverflow-slide button {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 17px;
    background: rgba(255, 255, 255, .03);
    color: inherit;
    text-align: left;
    cursor: pointer
}

.performance-coverflow-slide.is-active {
    z-index: 10;
    opacity: 1;
    filter: none;
    pointer-events: auto;
    transform: translateX(0) scale(1)
}

.performance-coverflow-slide.is-near {
    z-index: 9;
    opacity: .38;
    filter: blur(2px);
    pointer-events: auto;
    transform: translateX(var(--performance-coverflow-x)) scale(.82)
}

.performance-coverflow-slide.is-far {
    z-index: 8;
    opacity: .12;
    transform: translateX(var(--performance-coverflow-x)) scale(.68)
}

.performance-coverflow-slide.is-active button {
    border-color: rgba(var(--public-brand-rgb), .3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .58), 0 0 38px rgba(var(--public-brand-rgb), .11)
}

.performance-screen-chrome {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.performance-screen-chrome i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15)
}

.performance-screen-chrome b {
    margin-left: 7px;
    color: #9eafb5;
    font: 700 .57rem ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .18em;
    text-transform: uppercase
}

.performance-coverflow-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    object-position: top;
    background: #fff
}

.performance-coverflow-prev,
.performance-coverflow-next {
    position: absolute;
    z-index: 20;
    top: 38%;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    color: #aab9be;
    cursor: pointer
}

.performance-coverflow-prev {
    left: 0
}

.performance-coverflow-next {
    right: 0
}

.performance-coverflow-readout {
    max-width: 580px;
    margin: 30px auto 0;
    padding: 20px 24px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 17px;
    background: rgba(255, 255, 255, .03);
    text-align: center
}

.performance-coverflow-readout-item {
    display: none
}

.performance-coverflow-readout-item.is-active {
    display: block
}

.performance-coverflow-readout p {
    margin: 12px 0 0;
    color: #d6e5e7;
    line-height: 1.55
}

.performance-coverflow-progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px
}

.performance-coverflow-progress button {
    width: 16px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, .15);
    cursor: pointer
}

.performance-coverflow-progress button.is-active {
    width: 32px;
    background: var(--performance-cyan)
}

.performance-wheel-section {
    padding: 112px 0 !important;
    overflow: hidden
}

.performance-wheel-intro {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto 44px !important
}

.performance-magic-beam {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(300px, 38vw);
    height: 540px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(var(--public-brand-rgb), .12) 28%, rgba(var(--public-brand-rgb), .31) 50%, rgba(var(--public-brand-rgb), .12) 72%, transparent);
    filter: blur(2px);
    mask-image: linear-gradient(#000, transparent)
}

.performance-how-it-works {
    padding: 112px 0
}

.performance-setup-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0;
    list-style: none
}

.performance-setup-steps li {
    position: relative;
    padding: 0 23px 0 78px
}

.performance-setup-steps li+li::before {
    position: absolute;
    top: 30px;
    right: calc(100% - 11px);
    width: calc(100% - 22px);
    height: 1px;
    content: "";
    background: linear-gradient(90deg, rgba(var(--public-brand-rgb), .08), rgba(var(--public-brand-rgb), .55))
}

.performance-setup-steps span {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(var(--public-brand-rgb), .56);
    border-radius: 50%;
    color: var(--public-brand-blue);
    font-size: .82rem;
    font-weight: 800;
    box-shadow: 0 0 24px rgba(var(--public-brand-rgb), .13)
}

.performance-setup-steps h3 {
    margin: 5px 0 9px;
    color: #f0f7f8;
    font-size: 1.22rem
}

.performance-setup-steps p {
    margin: 0;
    color: #a7b7bd;
    line-height: 1.54
}

.performance-stat-band {
    padding: 64px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.performance-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.performance-stat-grid div {
    padding: 15px 38px;
    text-align: center
}

.performance-stat-grid div+div {
    border-left: 1px solid rgba(255, 255, 255, .11)
}

.performance-stat-grid strong {
    display: block;
    color: var(--public-brand-blue);
    font-size: clamp(2rem, 3.8vw, 3.5rem);
    line-height: 1;
    letter-spacing: -.06em
}

.performance-stat-grid span {
    display: block;
    margin-top: 9px;
    color: #adbbc0;
    font-weight: 650
}

.performance-quote {
    padding: 106px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    text-align: center
}

.performance-quote blockquote {
    max-width: 910px;
    margin: 0 auto;
    color: #edf7f8;
    font-size: clamp(1.7rem, 3.3vw, 3.35rem);
    line-height: 1.15;
    letter-spacing: -.05em
}

.performance-quote p {
    margin: 24px 0 0;
    color: var(--public-brand-blue);
    font-weight: 700
}

.performance-faq {
    width: min(100% - 48px, 820px);
    margin: 0 auto
}

.performance-faq .performance-magic-shell {
    width: 100%
}

.performance-faq details {
    padding: 21px 0;
    border-top: 1px solid rgba(174, 216, 223, .19)
}

.performance-faq details:last-child {
    border-bottom: 1px solid rgba(174, 216, 223, .19)
}

.performance-faq summary {
    color: #eef7f8;
    font-size: 1.05rem;
    font-weight: 750;
    cursor: pointer
}

.performance-faq p {
    max-width: 700px;
    margin: 15px 0 0;
    color: #a9b8bd;
    line-height: 1.62
}

.performance-final-cta {
    padding: 70px 0 120px
}

.performance-cta-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(38px, 7vw, 78px);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 28px;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 60px -20px rgba(255, 255, 255, .07), 0 28px 80px -20px rgba(0, 0, 0, .8), 0 0 90px -35px rgba(var(--public-brand-rgb), .52);
    text-align: center
}

.performance-cta-panel::before {
    position: absolute;
    inset: 0;
    content: "";
    background: radial-gradient(85% 100% at 50% 0, rgba(var(--public-brand-rgb), .18), transparent 66%)
}

.performance-cta-panel>* {
    position: relative
}

.performance-cta-panel h2 {
    margin: 13px 0 15px;
    color: #f4f9fa;
    font-size: clamp(2.5rem, 4.5vw, 4.8rem);
    line-height: .96;
    letter-spacing: -.06em
}

.performance-cta-panel p {
    max-width: 590px;
    margin: 0 auto;
    color: #b6c5c9;
    font-size: 1.1rem;
    line-height: 1.55
}

.performance-cta-panel .hero-actions {
    justify-content: center
}

@media(max-width:900px) {
    .performance-hero-grid {
        grid-template-columns: 1fr
    }

    .performance-hero-copy {
        text-align: center
    }

    .performance-hero-copy p {
        margin-inline: auto
    }

    .performance-hero-copy .hero-actions {
        justify-content: center
    }

    .performance-hero-stat-stack {
        grid-template-columns: repeat(3, 1fr);
        max-width: none
    }

    .performance-hero-stat {
        min-height: 170px;
        padding: 18px 12px
    }

    .performance-hero-stat strong {
        font-size: clamp(2rem, 6vw, 3.3rem)
    }

    .performance-capability-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .performance-setup-steps {
        gap: 18px
    }

    .performance-setup-steps li {
        padding-left: 70px
    }

    .performance-setup-steps li+li::before {
        display: none
    }
}

@media(max-width:767px) {
    .performance-magic-shell {
        width: min(100% - 32px, 1200px)
    }

    .performance-magic-hero,
    .performance-capabilities,
    .performance-gallery,
    .performance-how-it-works,
    .performance-faq {
        padding: 72px 0
    }

    .performance-hero-copy h1 {
        font-size: clamp(2.8rem, 15vw, 4.4rem)
    }

    .performance-hero-stat-stack {
        grid-template-columns: 1fr
    }

    .performance-hero-stat {
        min-height: 134px;
        padding: 18px 20px
    }

    .performance-capability-grid,
    .performance-setup-steps,
    .performance-stat-grid {
        grid-template-columns: 1fr
    }

    .performance-capability-grid article {
        min-height: 0
    }

    .performance-coverflow-stage {
        height: 265px
    }

    .performance-coverflow-slide {
        right: 8%;
        left: 8%
    }

    .performance-coverflow-prev,
    .performance-coverflow-next {
        top: 36%;
        width: 34px;
        height: 34px
    }

    .performance-wheel-section {
        padding: 74px 0 !important
    }

    .performance-stat-grid div+div {
        border-top: 1px solid rgba(255, 255, 255, .11);
        border-left: 0
    }

    .performance-quote {
        padding: 74px 0
    }

    .performance-faq {
        width: min(100% - 32px, 820px)
    }
}

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

    .performance-magic-page *,
    .performance-magic-page *::before,
    .performance-magic-page *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }
}
/* Perimeter lights share the landing page's white running-bar animation. */
.performance-hero-stat > .performance-card-lights {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 2;
    pointer-events: none;
    fill: none;
}
.performance-card-lights .public-flow-light-soft {
    stroke: rgb(var(--public-brand-rgb, 111, 157, 194));
    filter: blur(3px);
}
