body.ps-page {
    --ps-bg: #fbfcf8;
    --ps-ink: #19161c;
    --ps-muted: #64616a;
    --ps-line: #dedbdc;
    --ps-purple: #8d2dfb;
    --ps-callout: #f4f0f7;
    --ps-evidence-bg: #fff;
    --ps-cloud: url("/images/journey-cloud.png") center / cover no-repeat;
    --ps-caption-bg: rgba(255, 255, 255, 0.72);
    --ps-caption-border: rgba(255, 255, 255, 0.82);
    --ps-caption-ink: #211a28;
    background: var(--ps-bg);
    color: var(--ps-ink);
    color-scheme: light;
}

.ps-page main {
    overflow: clip;
}

.ps-page .ps-shell {
    width: min(100% - 3.5rem, 1120px);
    margin-inline: auto;
}

.ps-page .ps-hero {
    padding-top: 8rem;
}

.ps-hero-art {
    aspect-ratio: 2.7;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-radius: 30px;
    overflow: hidden;
}

.ps-stage--cloud {
    background: var(--ps-cloud);
}

.ps-hero-foreground {
    display: block;
    width: 52%;
    max-width: none;
    height: auto;
    align-self: flex-end;
    position: relative;
    z-index: 1;
}

.ps-hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    padding-block: 1.8rem 2.5rem;
}

.ps-hero h1 {
    font-size: clamp(1.25rem, 1.65vw, 1.55rem);
    font-weight: 700;
    line-height: 1.24;
    margin: 0.4rem 0;
}

.ps-hero-bottom p {
    font-family: var(--font-heading, "Space Mono", monospace);
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    margin: 0.35rem 0 0;
}

.ps-meta {
    color: var(--ps-muted);
    font-size: 0.82rem;
    margin: 0;
}

.ps-live {
    position: relative;
    isolation: isolate;
    flex: none;
    color: var(--ps-ink);
    text-decoration: none;
    padding: 1px;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 0 22px rgba(150, 62, 255, 0.18);
}

.ps-live::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -150%;
    background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 80deg,
    var(--ps-purple) 135deg,
    transparent 200deg,
    transparent 290deg,
    #c794ff 335deg,
    transparent 360deg
  );
    animation: ps-glow 4s linear infinite;
}

.ps-live span {
    display: block;
    padding: 0.75rem 1.4rem;
    border-radius: inherit;
    background: var(--ps-bg);
    font-size: 0.76rem;
    font-weight: 700;
}

.ps-live:hover {
    color: var(--ps-purple);
    box-shadow: 0 0 28px rgba(150, 62, 255, 0.42);
}

.ps-live:focus-visible,
.ps-page :focus-visible {
    outline: 3px solid var(--ps-purple);
    outline-offset: 3px;
}

@keyframes ps-glow {
  to {
    transform: rotate(360deg);
  }
}

.ps-intro {
    border-block: 1px solid var(--ps-line);
    padding-block: clamp(2rem, 5vw, 4rem);
    display: block;
}

.ps-intro p {
    max-width: 960px;
    font-size: clamp(1.4rem, 2.4vw, 2.2rem);
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: -0.035em;
    margin: 0;
}

.ps-section {
    padding: clamp(3.4rem, 6vw, 6.5rem) clamp(0.1rem, 6vw, 6.25rem);
}

.ps-section + .ps-section {
    border-top: 1px solid var(--ps-line);
}

.ps-section-head {
    margin-bottom: clamp(2.2rem, 5vw, 4rem);
}

.ps-section-head h2 {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    font-family: var(--font-body, "Plus Jakarta Sans", sans-serif);
    font-weight: 800;
    font-size: clamp(1.35rem, 2.45vw, 2.15rem);
    letter-spacing: -0.04em;
    line-height: 1.25;
    margin: 0;
}

.ps-section-head p {
    margin: 0.65rem 0 0;
    color: var(--ps-ink);
    font-size: 0.93rem;
}

.ps-orb {
    width: 0.56rem;
    height: 0.56rem;
    border-radius: 50%;
    background: var(--ps-purple);
    box-shadow:
    0 0 8px 2px rgba(150, 62, 255, 0.37),
    0 0 22px rgba(150, 62, 255, 0.18);
    flex: none;
    position: relative;
    top: -0.12rem;
}

.ps-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    padding-block: 1rem;
}

.ps-stat {
    text-align: center;
}

.ps-stat strong {
    display: block;
    color: var(--ps-purple);
    font-family: var(--font-heading, "Space Mono", monospace);
    font-size: clamp(2.7rem, 6vw, 5.6rem);
    line-height: 1.1;
    letter-spacing: -0.075em;
}

.ps-stat span {
    display: block;
    margin: 0.5rem auto 0;
    max-width: 210px;
    font-size: 0.85rem;
    line-height: 1.45;
}

.ps-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 7vw, 7rem);
    margin: clamp(2.5rem, 5vw, 4rem) 0 1.7rem;
    align-items: start;
}

.ps-split h3 {
    font-family: var(--font-body, "Plus Jakarta Sans", sans-serif);
    font-size: clamp(1.08rem, 1.5vw, 1.4rem);
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0;
}

.ps-split p,
.ps-lead {
    font-size: clamp(0.94rem, 1.15vw, 1.05rem);
    line-height: 1.65;
    color: var(--ps-ink);
    margin: 0 0 1rem;
}

.ps-stage {
    position: relative;
    display: grid;
    place-items: end center;
    min-height: 0;
    aspect-ratio: 1460/760;
    overflow: hidden;
    border-radius: 36px;
    padding: 0;
    background: linear-gradient(
    180deg,
    #fff 0%,
    #fff 16%,
    #f9f3ff 30%,
    #d9b5ff 65%,
    #983dff 100%
  );
    box-shadow: 0 8px 18px rgba(55, 25, 85, 0.09);
}

.ps-stage-caption {
    position: absolute;
    z-index: 2;
    top: clamp(0.75rem, 1.5vw, 1.15rem);
    left: 50%;
    transform: translateX(-50%);
    width: min(64%, 42rem);
    max-width: calc(100% - 2rem);
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.65rem 1.1rem;
    border: 1px solid var(--ps-caption-border);
    border-radius: 14px;
    background: var(--ps-caption-bg);
    color: var(--ps-caption-ink);
    box-shadow: 0 7px 22px rgba(35, 19, 50, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    font-size: clamp(0.78rem, 1vw, 0.9rem);
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    pointer-events: none;
}

.ps-stage > img,
.ps-stage > .ps-motion {
    width: 85%;
    height: 85%;
    min-height: 0;
    object-fit: contain;
    object-position: center bottom;
    display: block;
}

.ps-motion {
    position: relative;
    display: block;
}

.ps-motion img,
.ps-motion video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.ps-motion video {
    position: absolute;
    inset: 0;
    -webkit-mask-image: var(--media-mask);
    mask-image: var(--media-mask);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.ps-media-toggle {
    position: absolute;
    z-index: 3;
    right: 0.85rem;
    bottom: 0.85rem;
    min-width: 2rem;
    height: 2rem;
    padding: 0.15rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(30, 18, 38, 0.76);
    color: white;
    font-size: 0.8rem;
    line-height: 1;
}

.ps-media-toggle:hover {
    background: #592293;
}

.ps-stage:has(img[src$="ps-2.png"]) {
    aspect-ratio: 1460/650;
}

.ps-stage.ps-stage--cloud {
    background: var(--ps-cloud);
    place-items: center;
    padding: 1.3rem;
}

.ps-stage.ps-stage--cloud > .ps-motion {
    width: 100%;
    height: 100%;
}

.ps-callout {
    background: var(--ps-callout);
    border-radius: 16px;
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem 2rem;
    margin-block: 2rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.ps-callout span {
    font-size: 1.4rem;
    color: var(--ps-purple);
}

.ps-callout p {
    margin: 0;
}

.ps-evidence {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.ps-evidence .ps-stage {
    aspect-ratio: 1.25/1;
    place-items: center;
    background: var(--ps-evidence-bg);
    border: 0;
    box-shadow: none;
}

.ps-evidence .ps-stage > .ps-motion {
    width: 100%;
    height: 100%;
}

.ps-evidence .ps-stage:nth-child(2) {
    background: var(--ps-evidence-bg);
    border: 0;
}

.ps-evidence .ps-stage img {
    object-fit: contain;
}

.ps-lead {
    margin: 3.5rem 0 1.8rem;
}

.ps-page .back-to-top {
    background: var(--ps-ink);
}

@media (max-width: 700px) {
.ps-page .ps-shell {
    width: min(100% - 2rem, 1120px);
}

.ps-hero-art {
    height: 300px;
}

.ps-hero-foreground {
    width: min(90%, 500px);
}

.ps-hero-bottom {
    align-items: flex-start;
    padding-bottom: 2rem;
}

.ps-hero h1 {
    max-width: 20ch;
}

.ps-intro {
    display: block;
}

.ps-section {
    padding-inline: 0;
}

.ps-section-head p {
    margin-left: 0;
}

.ps-stats {
    gap: 2.5rem 1rem;
}

.ps-split {
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

.ps-stage,
.ps-stage:has(img[src$="ps-2.png"]) {
    aspect-ratio: 1.12/1;
    border-radius: 16px;
}

.ps-stage-caption {
    top: 0.75rem;
    width: calc(100% - 1.5rem);
    max-width: none;
    min-height: 2.4rem;
    padding: 0.55rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

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

@media (max-width: 480px) {
.ps-hero-art {
    height: 245px;
}

.ps-hero-bottom {
    gap: 0.7rem;
}

.ps-live span {
    padding: 0.65rem 0.85rem;
    font-size: 0.7rem;
}

.ps-meta {
    font-size: 0.69rem;
}

.ps-section {
    padding-block: 4rem;
}

.ps-stat strong {
    font-size: clamp(2.3rem, 10vw, 3.2rem);
}

.ps-stat span {
    font-size: 0.75rem;
}

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

.ps-callout {
    padding: 1.2rem;
}
}

body.ps-page.home-dark {
    --ps-bg: #151319;
    --ps-ink: #f5f0f8;
    --ps-muted: #bbb4c0;
    --ps-line: #39333d;
    --ps-callout: #292331;
    --ps-evidence-bg: #28232d;
    --ps-caption-bg: rgba(30, 24, 39, 0.78);
    --ps-caption-border: rgba(255, 255, 255, 0.28);
    --ps-caption-ink: #fbf8fd;
    background: var(--ps-bg);
    color: var(--ps-ink);
    color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
.ps-live::before {
    animation: none;
}

.ps-page .reveal-on-scroll {
    opacity: 1;
    transform: none;
}

.ps-motion video {
    display: none;
}

.ps-media-toggle {
    display: none;
}
}

body.ps-page {
    font-family:var(--font-body,"Plus Jakarta Sans",sans-serif);
}

.ps-intro > p:first-child {
    font-size:.95rem;
    font-weight:400;
    line-height:1.65;
    letter-spacing:normal;
    margin-bottom:1.8rem;
}

.ps-intro .ps-meta {
    margin-top:1.5rem;
    font-size:.82rem;
    font-weight:400;
    letter-spacing:normal;
}

body.ps-page .ps-hero-art > .ps-hero-foreground {
    width:70%;
    height:100%;
    max-width:none;
    object-fit:contain;
    object-position:center bottom;
    flex:none;
}

.ps-stage > .ps-old-page {
    width:85%;
    height:auto;
    object-position:center bottom;
    border-radius:4.5% 4.5% 0 0 / 8.645% 8.645% 0 0;
}

.ps-stage.ps-stage--cloud {
    padding:0;
    place-items:end center;
}

.ps-stage.ps-stage--cloud > .ps-motion {
    width:90%;
    height:auto;
    aspect-ratio:1440/740;
}

.ps-monitor-mask {
    mask-image:url("/images/ps-3-placeholder.png");
    -webkit-mask-image:url("/images/ps-3-placeholder.png");
    mask-size:100% 100%;
    -webkit-mask-size:100% 100%;
    mask-repeat:no-repeat;
    -webkit-mask-repeat:no-repeat;
}

.ps-motion video {
    mask:none;
    -webkit-mask:none;
}

.ps-evidence .ps-stage {
    background:#fff;
    border:0;
    aspect-ratio:916/700;
}

.ps-evidence .ps-stage > .ps-motion {
    width:100%;
    height:100%;
    aspect-ratio:916/700;
    overflow:hidden;
    border-radius:12% / 15.703%;
    clip-path:inset(0 round 12% / 15.703%);
}

.ps-evidence .ps-motion img,
.ps-evidence .ps-motion video {
    object-fit:fill;
    object-position:center;
}

.ps-callout--question {
    background:#d98019;
    color:#fff;
    font-size:.95rem;
    border-radius:26px;
}

.ps-callout--question span {
    color:#fff;
}

.ps-stage-note {
    font-size:.95rem;
    font-weight:700;
    line-height:1.5;
    margin:3rem 0;
}

.ps-result-summary {
    margin-top:3rem;
}

.ps-stat span {
    max-width:270px;
}

.ps-page .reveal-on-scroll {
    opacity:1;
    transform:none;
}

.ps-page.ps-ready .reveal-on-scroll {
    opacity:0;
    transform:translateY(22px);
    transition:opacity .7s ease,transform .7s ease;
}

.ps-page.ps-ready .reveal-on-scroll.is-visible {
    opacity:1;
    transform:none;
}

@media(max-width:700px){
.ps-hero-bottom {
    flex-wrap:wrap;
}

.ps-hero-bottom > div {
    flex:1 1 240px;
}

body.ps-page .ps-hero-art > .ps-hero-foreground {
    width:95%;
}

.ps-evidence {
    grid-template-columns:1fr;
    gap:1.2rem;
}

.ps-stage.ps-stage--cloud {
    aspect-ratio:1.3;
}

.ps-stats {
    grid-template-columns:1fr;
    gap:2.5rem;
}
}

@media(prefers-reduced-motion:reduce){
.ps-page.ps-ready .reveal-on-scroll {
    opacity:1;
    transform:none;
    transition:none;
}
}

body.ps-page #old-payout-media > .ps-old-page {
    width:70%;
    height:auto;
}

@media (max-width:700px) {
body.ps-page #old-payout-media > .ps-old-page {
    width:85%;
}
}

@media (max-width:700px) {
    body.ps-page .ps-hero-art {
        width:100%;
        height:auto;
        min-height:0;
        aspect-ratio:auto;
        display:block;
    }

    body.ps-page .ps-hero-art > .ps-hero-foreground {
        display:block;
        width:100%;
        min-width:0;
        max-width:100%;
        height:auto;
        max-height:none;
        aspect-ratio:auto;
        object-fit:contain;
    }

    .ps-stage:has(> .ps-stage-caption) {
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:1rem;
        aspect-ratio:auto;
        padding:.75rem .75rem 0;
    }

    .ps-stage > .ps-stage-caption {
        position:static;
        transform:none;
        width:100%;
        max-width:none;
        flex:none;
    }

    body.ps-page #old-payout-media > .ps-old-page {
        width:100%;
        height:auto;
        flex:none;
    }

    /* Keep the mockup on the bottom edge, with only the caption gap above it. */
    body.ps-page #old-payout-media {
        display:grid;
        grid-template-columns:minmax(0,1fr);
        grid-template-rows:auto auto;
        align-content:end;
        align-items:end;
        justify-items:center;
        height:max-content;
        min-height:0;
        aspect-ratio:auto;
        gap:1rem;
        padding:.75rem .75rem 0;
    }

    body.ps-page #old-payout-media > .ps-old-page {
        align-self:end;
        display:block;
        object-position:center bottom;
    }

    .ps-page .ps-stage:has(source[src$="ps-3.mp4"]) {
        height:auto;
        min-height:0;
        aspect-ratio:1.6;
        place-items:end center;
    }

    .ps-page .ps-stage:has(source[src$="ps-3.mp4"]) > .ps-motion {
        width:92%;
        height:auto;
        aspect-ratio:1440/740;
        align-self:end;
        justify-self:center;
    }
}
