/* Performance Management page
   Every rule is scoped under .p26 so it keeps priority over general theme rules. */

/* ---------- Customer logo strip: room below the logos ----------
   The dark Features section follows the strip on this page,
   so the strip needs its own bottom spacing. */
.p26 .p26-logos {
    padding-bottom:56px;
}

.p26 .p26-logos-row {
    overflow:visible;
}

/* ---------- How It Works: connected step flow ---------- */
.p26 .pm-hiw {
    position:relative;
    overflow:hidden;
}

.p26 .pm-hiw::before {
    content:"";
    position:absolute;
    top:-160px;
    left:-160px;
    width:480px;
    height:480px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(35,165,139,.12) 0%,rgba(35,165,139,0) 70%);
    pointer-events:none;
}

.p26 .pm-wrap {
    max-width:1200px;
    margin:0 auto;
    position:relative;
}

.p26 .pm-hiw-head {
    max-width:760px;
    margin:0 auto 48px;
    text-align:center;
}

.p26 .pm-flow {
    list-style:none;
    margin:0;
    padding:0;
    position:relative;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:24px;
}

/* the line that connects the four step nodes */
.p26 .pm-flow::before {
    content:"";
    position:absolute;
    top:32px;
    left:12.5%;
    right:12.5%;
    height:2px;
    background:linear-gradient(90deg,#23a58b 0%,#46c5ab 50%,#14243F 100%);
    opacity:.35;
}

.p26 .pm-step {
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:12px;
}

.p26 .pm-step-node {
    position:relative;
    width:64px;
    height:64px;
    border-radius:50%;
    background:#fff;
    border:2px solid #23a58b;
    color:#1c8d76;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 12px 28px -14px rgba(20,36,63,.4);
    margin-bottom:8px;
}

.p26 .pm-step:nth-child(4) .pm-step-node {
    background:#14243F;
    border-color:#14243F;
    color:#7FD9C4;
}

.p26 .pm-step-icon {
    display:flex;
    line-height:0;
}

.p26 .pm-step-num {
    position:absolute;
    top:-6px;
    right:-10px;
    min-width:28px;
    height:22px;
    padding:0 6px;
    box-sizing:border-box;
    border-radius:999px;
    background:#14243F;
    color:#fff;
    font-family:'Archivo',sans-serif;
    font-size:11px;
    font-weight:800;
    letter-spacing:.04em;
    display:flex;
    align-items:center;
    justify-content:center;
}

.p26 .pm-step:nth-child(4) .pm-step-num {
    background:#23a58b;
}

.p26 .pm-step-title {
    margin:0;
    font-family:'Archivo',sans-serif;
    font-size:18px;
    line-height:1.3;
    font-weight:800;
    color:#14243F;
    text-wrap:balance;
}

.p26 .pm-step-text {
    margin:0;
    font-size:15px;
    line-height:1.6;
    color:#3F4E68;
    text-wrap:pretty;
}

/* screenshot: centred, shown at its real size, never stretched.
   The base p26 stylesheet sets ".p26 figure { margin:0 !important; padding:0 !important }",
   so margin and padding here must also be !important or the centring is ignored. */
.p26 .pm-hiw figure.pm-shot {
    position:relative;
    display:table;
    margin:64px auto 0 !important;
    padding:0 28px 28px !important;
    width:auto;
    max-width:min(100%,1000px);
    box-sizing:border-box;
    align-self:center;
    float:none;
}

.p26 .pm-hiw .pm-shot-bg {
    position:absolute;
    top:48px;
    right:0;
    bottom:0;
    left:0;
    background:linear-gradient(135deg,#23a58b 0%,#46c5ab 100%);
    border-radius:24px;
    opacity:.14;
}

.p26 .pm-hiw .pm-shot img {
    position:relative;
    display:block;
    width:auto;
    max-width:100%;
    height:auto;
    margin:0 auto;
    border-radius:14px;
    box-shadow:0 30px 60px -24px rgba(20,36,63,.45);
}

/* ---------- Tablet: two columns, line hidden ---------- */
@media (max-width:1023px) {
    .p26 .pm-flow {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:40px 24px;
    }
    .p26 .pm-flow::before {
        display:none;
    }
}

/* ---------- Phone: vertical timeline ---------- */
@media (max-width:640px) {
    .p26 .pm-flow {
        grid-template-columns:1fr;
        gap:28px;
    }
    .p26 .pm-flow::before {
        display:block;
        top:32px;
        bottom:32px;
        left:31px;
        right:auto;
        width:2px;
        height:auto;
        background:linear-gradient(180deg,#23a58b 0%,#14243F 100%);
    }
    .p26 .pm-step {
        display:grid;
        grid-template-columns:64px 1fr;
        column-gap:18px;
        row-gap:6px;
        align-items:start;
        text-align:left;
    }
    .p26 .pm-hiw-head {
        text-align:left;
    }
    .p26 .pm-step-node {
        grid-row:span 2;
        margin-bottom:0;
    }
    .p26 .pm-step-num {
        right:auto;
        left:-10px;
    }
    .p26 .pm-hiw figure.pm-shot {
        margin:48px auto 0 !important;
        padding:0 16px 16px !important;
    }
    .p26 .pm-hiw .pm-shot-bg {
        top:32px;
    }
}