:root {
    --ps2-navy: #071827;
    --ps2-navy-dark: #04101d;
    --ps2-ink: #0b1726;
    --ps2-muted: #617083;
    --ps2-light: #f3f8fc;
    --ps2-card: #ffffff;
    --ps2-blue: #2f8edb;
    --ps2-cyan: #62c9f3;
    --ps2-orange: #f05a28;
    --ps2-orange-2: #ff7a2f;
    --ps2-green: #38d99a;
    --ps2-border: #dce7f0;
    --ps2-shadow: 0 30px 90px rgba(8, 24, 39, .16);
}

/* Hide older public-shell header only on this homepage so the LMS-style header owns the page. */
body:has(.ps-lms2-home) > header,
body:has(.ps-lms2-home) .ps-public-header,
body:has(.ps-lms2-home) .public-header,
body:has(.ps-lms2-home) .marketing-header {
    display: none !important;
}

body:has(.ps-lms2-home) {
    background: var(--ps2-light) !important;
}

.ps-lms2-home {
    color: var(--ps2-ink);
    background: var(--ps2-light);
    overflow: hidden;
    font-family: inherit;
}

.ps-lms2-wrap {
    width: min(1540px, calc(100% - 72px));
    margin: 0 auto;
}

.ps-lms2-top {
    background: linear-gradient(90deg, #df3f2f 0%, #fb6a25 35%, #2e89d3 100%);
    color: #fff;
    font-size: .92rem;
    font-weight: 850;
    letter-spacing: .025em;
}

.ps-lms2-top__inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    text-align: center;
}

.ps-lms2-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(8, 24, 39, .08);
    box-shadow: 0 14px 45px rgba(8, 24, 39, .08);
    backdrop-filter: blur(16px);
}

.ps-lms2-header__inner {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ps-lms2-brand {
    display: inline-flex;
    align-items: center;
    gap: 1.05rem;
    color: var(--ps2-ink);
    text-decoration: none;
    min-width: 290px;
}

.ps-lms2-logo {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 3px solid transparent;
    border-radius: 1.55rem;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--ps2-orange), var(--ps2-blue)) border-box;
    box-shadow: 0 14px 38px rgba(8, 24, 39, .1);
    color: var(--ps2-orange);
    font-size: 1.65rem;
    font-weight: 1000;
    letter-spacing: -.08em;
}

.ps-lms2-brand strong {
    display: block;
    font-size: 1.18rem;
    line-height: 1.08;
    font-weight: 1000;
}

.ps-lms2-brand span {
    display: block;
    margin-top: .22rem;
    color: #516174;
    font-size: .92rem;
    font-weight: 750;
}

.ps-lms2-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.35rem;
    font-weight: 1000;
}

.ps-lms2-nav a {
    color: #142233;
    text-decoration: none;
    white-space: nowrap;
}

.ps-lms2-nav a:hover {
    color: var(--ps2-blue);
}

.ps-lms2-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: .9rem 1.5rem;
    border-radius: 999px;
    color: #fff !important;
    background: linear-gradient(120deg, var(--ps2-orange) 0%, #f46c31 55%, var(--ps2-blue) 100%);
    box-shadow: 0 18px 45px rgba(240, 90, 40, .28);
}

.ps-lms2-hero {
    position: relative;
    min-height: 720px;
    background:
        radial-gradient(circle at 48% 0%, rgba(88, 72, 96, .34), transparent 26rem),
        radial-gradient(circle at 92% 35%, rgba(47, 142, 219, .16), transparent 30rem),
        linear-gradient(135deg, #061321 0%, #092039 58%, #223140 100%);
    color: #fff;
    overflow: hidden;
}

.ps-lms2-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(520px, 1.05fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    min-height: 720px;
    padding: clamp(4rem, 7vw, 7rem) 0;
}

.ps-lms2-hero-card {
    display: inline-flex;
    align-items: center;
    gap: 1.05rem;
    max-width: 560px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 1.35rem;
    padding: .9rem 1.15rem;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.ps-lms2-hero-card .ps-lms2-logo {
    width: 68px;
    height: 68px;
    border-radius: 1.25rem;
    font-size: 1.3rem;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--ps2-orange), var(--ps2-blue)) border-box;
}

.ps-lms2-hero-card strong {
    display: block;
    color: #fff;
    font-size: 1.02rem;
}

.ps-lms2-hero-card span {
    display: block;
    margin-top: .22rem;
    color: rgba(232, 241, 250, .8);
    font-size: .9rem;
    line-height: 1.35;
}

.ps-lms2-eyebrow {
    display: block;
    margin-top: 2rem;
    color: var(--ps2-cyan);
    font-weight: 1000;
    letter-spacing: .32em;
    text-transform: uppercase;
    font-size: .92rem;
}

.ps-lms2-hero h1 {
    max-width: 900px;
    margin: 1.1rem 0 1.1rem;
    color: #fff;
    font-size: clamp(4.4rem, 7.6vw, 8.4rem);
    line-height: .9;
    letter-spacing: -.075em;
}

.ps-lms2-hero p {
    max-width: 760px;
    color: rgba(232, 241, 250, .78);
    font-size: clamp(1.08rem, 1.55vw, 1.32rem);
    line-height: 1.72;
}

.ps-lms2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.6rem;
}

.ps-lms2-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    border-radius: 999px;
    padding: 1rem 1.5rem;
    text-decoration: none;
    font-weight: 1000;
}

.ps-lms2-actions a:first-child {
    color: #fff;
    background: linear-gradient(120deg, var(--ps2-orange), #f46c31 55%, var(--ps2-blue));
    box-shadow: 0 22px 65px rgba(240, 90, 40, .28);
}

.ps-lms2-actions a:not(:first-child) {
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
}

.ps-lms2-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 780px;
    margin-top: 2.1rem;
}

.ps-lms2-hero-stat {
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 1.25rem;
    padding: 1.1rem 1.25rem;
    background: rgba(255,255,255,.08);
}

.ps-lms2-hero-stat strong {
    display: block;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
}

.ps-lms2-hero-stat span {
    display: block;
    margin-top: .48rem;
    color: rgba(232,241,250,.72);
    font-weight: 760;
}

.ps-lms2-visual {
    position: relative;
    min-height: 570px;
}

.ps-lms2-browser {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(720px, 100%);
    border-radius: 2rem;
    padding: 1.2rem;
    background: rgba(235, 244, 250, .88);
    box-shadow: 0 34px 110px rgba(0, 0, 0, .28);
}

.ps-lms2-browser::before {
    content: "";
    position: absolute;
    inset: 0 0 auto auto;
    width: 38%;
    height: 62%;
    border-radius: 0 2rem 0 70%;
    background: rgba(47, 142, 219, .15);
    pointer-events: none;
}

.ps-lms2-browser-frame {
    position: relative;
    border: 3px solid rgba(8,24,39,.12);
    border-radius: 1.45rem;
    background: #f8fbfe;
    overflow: hidden;
}

.ps-lms2-browser-top {
    height: 58px;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 0 1.2rem;
    background: #2b98e5;
}

.ps-lms2-green-dot {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--ps2-green);
}

.ps-lms2-url {
    width: 45%;
    height: 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.82);
}

.ps-lms2-pill {
    margin-left: auto;
    width: 22%;
    height: 24px;
    border-radius: 999px;
    background: var(--ps2-navy-dark);
}

.ps-lms2-browser-screen {
    height: 370px;
    overflow: hidden;
    background: #f7fbfe;
}

.ps-lms2-browser-screen img {
    width: 100%;
    display: block;
}

.ps-lms2-priority {
    position: absolute;
    right: 3%;
    top: 51%;
    z-index: 3;
    width: min(520px, 82%);
    border-radius: 1.2rem;
    background: #fff;
    color: var(--ps2-ink);
    padding: 1.3rem 1.45rem;
    box-shadow: 0 28px 75px rgba(5, 13, 24, .24);
}

.ps-lms2-priority span {
    display: block;
    color: var(--ps2-blue);
    font-weight: 1000;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: .82rem;
}

.ps-lms2-priority strong {
    display: block;
    margin-top: .55rem;
    font-size: 1.45rem;
    line-height: 1.15;
}

.ps-lms2-trust {
    background: #fff;
    border-bottom: 1px solid var(--ps2-border);
}

.ps-lms2-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    text-align: center;
}

.ps-lms2-trust article {
    padding: 2.1rem 1rem;
    border-left: 1px solid var(--ps2-border);
}

.ps-lms2-trust article:last-child {
    border-right: 1px solid var(--ps2-border);
}

.ps-lms2-trust strong {
    display: block;
    color: var(--ps2-ink);
    font-size: 1.34rem;
    line-height: 1.1;
}

.ps-lms2-trust span {
    display: block;
    margin-top: .45rem;
    color: var(--ps2-muted);
    font-weight: 720;
}

.ps-lms2-section {
    padding: clamp(4rem, 7vw, 6.8rem) 0;
    background: var(--ps2-light);
}

.ps-lms2-section--white {
    background: #fff;
}

.ps-lms2-section-head {
    max-width: 980px;
    margin-bottom: 2.1rem;
}

.ps-lms2-section-head .kicker {
    display: block;
    color: #4a5c70;
    font-weight: 1000;
    letter-spacing: .32em;
    text-transform: uppercase;
    font-size: 1rem;
}

.ps-lms2-section-head h2 {
    margin: .7rem 0 .85rem;
    color: var(--ps2-ink);
    font-size: clamp(3rem, 5.2vw, 6rem);
    line-height: .92;
    letter-spacing: -.07em;
}

.ps-lms2-section-head p {
    max-width: 900px;
    color: var(--ps2-muted);
    font-size: 1.14rem;
    line-height: 1.7;
}

.ps-lms2-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.ps-lms2-service-card {
    overflow: hidden;
    border: 1px solid var(--ps2-border);
    border-radius: 1.55rem;
    background: #fff;
    box-shadow: 0 24px 70px rgba(8, 24, 39, .08);
}

.ps-lms2-service-art {
    position: relative;
    height: 260px;
    background: #eaf4fb;
    overflow: hidden;
}

.ps-lms2-service-art::before {
    content: "";
    position: absolute;
    inset: auto auto -35% -12%;
    width: 70%;
    height: 70%;
    border-radius: 999px;
    background: rgba(8, 24, 39, .1);
}

.ps-lms2-service-art::after {
    content: "";
    position: absolute;
    inset: 0 0 auto auto;
    width: 38%;
    height: 52%;
    border-radius: 0 0 0 75%;
    background: rgba(47, 142, 219, .16);
}

.ps-lms2-mini-browser {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 14%;
    height: 150px;
    border: 3px solid rgba(8,24,39,.12);
    border-radius: 1rem;
    background: #fff;
    overflow: hidden;
    z-index: 2;
}

.ps-lms2-mini-top {
    height: 36px;
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: 0 .9rem;
    background: #2b98e5;
}

.ps-lms2-mini-top i {
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background: var(--ps2-green);
}

.ps-lms2-mini-top b {
    height: 12px;
    width: 44%;
    border-radius: 999px;
    background: rgba(255,255,255,.82);
}

.ps-lms2-mini-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    padding: 1.05rem;
}

.ps-lms2-mini-icon {
    display: grid;
    place-items: center;
    min-height: 66px;
    border: 1px solid #dde7ef;
    border-radius: .65rem;
    color: var(--ps2-blue);
    font-size: 2.6rem;
    font-weight: 1000;
}

.ps-lms2-mini-icon.is-dark {
    background: var(--ps2-navy-dark);
    color: #fff;
}

.ps-lms2-mini-icon.is-orange {
    color: var(--ps2-orange);
}

.ps-lms2-service-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1rem;
    text-align: center;
    color: var(--ps2-ink);
    font-weight: 1000;
    z-index: 3;
}

.ps-lms2-service-label small {
    display: block;
    color: #34465b;
    font-size: .75rem;
}

.ps-lms2-service-body {
    padding: 2rem 1.8rem 2.15rem;
}

.ps-lms2-service-body .eyebrow {
    color: var(--ps2-blue);
    font-weight: 1000;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-size: .86rem;
}

.ps-lms2-service-body h3 {
    margin: .85rem 0 .7rem;
    color: var(--ps2-ink);
    font-size: clamp(1.7rem, 2.4vw, 2.3rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.ps-lms2-service-body p {
    color: var(--ps2-muted);
    font-size: 1.03rem;
    line-height: 1.65;
}

.ps-lms2-dark-section {
    background: var(--ps2-navy);
    color: #fff;
    padding: clamp(4rem, 7vw, 6.8rem) 0;
}

.ps-lms2-split {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.ps-lms2-dark-section .ps-lms2-section-head h2,
.ps-lms2-dark-section .ps-lms2-section-head .kicker {
    color: #fff;
}

.ps-lms2-dark-section .ps-lms2-section-head p {
    color: rgba(232,241,250,.75);
}

.ps-lms2-checks {
    display: grid;
    gap: .9rem;
    margin-top: 1.4rem;
}

.ps-lms2-check {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    color: rgba(232,241,250,.82);
    font-size: 1rem;
    font-weight: 750;
}

.ps-lms2-check b {
    display: grid;
    place-items: center;
    width: 2.05rem;
    height: 2.05rem;
    flex: 0 0 auto;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--ps2-orange), var(--ps2-blue));
}

.ps-lms2-media-panel {
    border-radius: 1.6rem;
    overflow: hidden;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 34px 90px rgba(0,0,0,.24);
}

.ps-lms2-media-panel img {
    width: 100%;
    display: block;
    border-radius: 1rem;
}

.ps-lms2-final {
    background: #fff;
    padding: clamp(4rem, 7vw, 6rem) 0;
}

.ps-lms2-final-card {
    border-radius: 1.8rem;
    background:
        radial-gradient(circle at right top, rgba(47,142,219,.16), transparent 26rem),
        linear-gradient(135deg, var(--ps2-navy) 0%, #102d48 100%);
    color: #fff;
    padding: clamp(2rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    box-shadow: var(--ps2-shadow);
}

.ps-lms2-final-card h2 {
    margin: 0 0 .8rem;
    font-size: clamp(2.6rem, 5vw, 5.3rem);
    line-height: .9;
    letter-spacing: -.07em;
}

.ps-lms2-final-card p {
    max-width: 800px;
    color: rgba(232,241,250,.75);
    font-size: 1.08rem;
    line-height: 1.65;
}

@media (max-width: 1120px) {
    .ps-lms2-wrap {
        width: min(100% - 36px, 1540px);
    }

    .ps-lms2-header__inner {
        min-height: 96px;
    }

    .ps-lms2-nav a:not(.ps-lms2-call) {
        display: none;
    }

    .ps-lms2-hero__grid,
    .ps-lms2-split,
    .ps-lms2-final-card {
        grid-template-columns: 1fr;
    }

    .ps-lms2-visual {
        min-height: 540px;
    }

    .ps-lms2-service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .ps-lms2-wrap {
        width: min(100% - 24px, 1540px);
    }

    .ps-lms2-top__inner {
        font-size: .78rem;
        min-height: 34px;
    }

    .ps-lms2-brand {
        min-width: 0;
    }

    .ps-lms2-logo {
        width: 58px;
        height: 58px;
        border-radius: 1.1rem;
    }

    .ps-lms2-brand span {
        display: none;
    }

    .ps-lms2-call {
        min-height: 48px;
        padding: .75rem .95rem;
        font-size: .86rem;
    }

    .ps-lms2-hero,
    .ps-lms2-hero__grid {
        min-height: auto;
    }

    .ps-lms2-hero h1 {
        font-size: clamp(3.1rem, 15vw, 4.6rem);
    }

    .ps-lms2-actions a {
        width: 100%;
    }

    .ps-lms2-hero-stats,
    .ps-lms2-trust__grid {
        grid-template-columns: 1fr;
    }

    .ps-lms2-trust article,
    .ps-lms2-trust article:last-child {
        border-left: 0;
        border-right: 0;
        border-bottom: 1px solid var(--ps2-border);
    }

    .ps-lms2-visual {
        min-height: auto;
        display: grid;
        gap: 1rem;
    }

    .ps-lms2-browser,
    .ps-lms2-priority {
        position: relative;
        inset: auto;
        width: auto;
    }

    .ps-lms2-browser-screen {
        height: auto;
    }
}
