body.bx-page {
    --bx-bg: #fbfcf8;
    --bx-ink: #19161c;
    --bx-muted: #64616a;
    --bx-line: #dedbdc;
    --bx-panel: #f3f1f1;
    --bx-purple: #8d2dfb;
    --bx-evidence-bg: #fff;
    --bx-cloud: url("/images/journey-cloud.png") center / cover no-repeat;
    background: var(--bx-bg);
    color: var(--bx-ink);
    color-scheme: light;
}

.bx-page main {
    overflow: clip;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.bx-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;
}

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

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

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

.bx-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;
}

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

.bx-orb {
    width: 0.56rem;
    height: 0.56rem;
    border-radius: 50%;
    background: var(--bx-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;
}

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

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

.bx-stat strong {
    display: block;
    color: var(--bx-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;
}

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

.bx-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;
}

.bx-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;
}

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

.bx-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);
}

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

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

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

.bx-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;
}

.bx-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;
}

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

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

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

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

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

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

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

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

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

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

.bx-question-list {
    list-style: none;
    width: calc((100% - clamp(1.5rem, 7vw, 7rem)) / 2);
    margin: -1rem 0 2.5rem auto;
    padding: 0;
    display: grid;
    gap: 0.3rem;
}

.bx-question-list li {
    background: var(--bx-panel);
    border-radius: 8px;
    padding: 1.2rem 1.45rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.bx-question-list li:first-child {
    border-radius: 24px 24px 8px 8px;
}

.bx-question-list li:last-child {
    border-radius: 8px 8px 24px 24px;
}

.bx-result-label {
    margin: 3rem 0 1.5rem;
    font-size: 0.95rem;
}

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

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

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

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

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

.bx-intro {
    display: block;
}

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

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

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

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

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

.bx-question-list {
    width: 100%;
    margin-top: 1rem;
}

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

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

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

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

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

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

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

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

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

body.bx-page.home-dark {
    --bx-bg: #151319;
    --bx-ink: #f5f0f8;
    --bx-muted: #bbb4c0;
    --bx-line: #39333d;
    --bx-panel: #28232d;
    --bx-evidence-bg: #28232d;
    background: var(--bx-bg);
    color: var(--bx-ink);
    color-scheme: dark;
}

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

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

.bx-motion video {
    display: none;
}

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

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

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

.bx-intro > p:nth-child(2) {
    max-width: 970px;
}

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

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

.bx-stage > .bx-video-card {
    width: 85%;
    height: auto;
    aspect-ratio: 1460/760;
    overflow: hidden;
    border-radius: 3% / 5.8%;
}

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

.bx-evidence .bx-stage {
    aspect-ratio: 910/728;
    background: white;
    border: 0;
}

.bx-evidence .bx-stage > .bx-video-card {
    width: 100%;
    height: 100%;
    aspect-ratio: 910/728;
    border-radius: 7% / 8.75%;
}

.bx-evidence .bx-motion img,
.bx-evidence .bx-motion video {
    object-fit: fill;
}

.bx-opportunities .bx-question-list {
    width: 100%;
    margin: 0;
}

.bx-question-list li {
    padding: 1.5rem;
    border-radius: 6px;
}

.bx-question-list li:first-child {
    border-radius: 32px 32px 6px 6px;
}

.bx-question-list li:last-child {
    border-radius: 6px 6px 32px 32px;
}

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

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

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

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

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

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

.bx-evidence .bx-stage {
    aspect-ratio: 910/728;
}

.bx-stage > .bx-video-card {
    width: 90%;
}

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

.bx-opportunities .bx-question-list {
    margin-top: .8rem;
}
}

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

.bx-intro .bx-intro-story {
    text-align: center;
    font-size: clamp(1.15rem,2vw,1.75rem);
    font-weight: 500;
    letter-spacing: -.025em;
    max-width: none;
    margin: 2rem 0;
}

.bx-intro > .bx-intro-context {
    font-size:.95rem;
    line-height:1.65;
    font-weight:400;
    letter-spacing:normal;
    max-width:none;
}

.bx-hero-art > .bx-motion {
    width:100%;
    height:100%;
}

.bx-hero-art .bx-motion img,
.bx-hero-art .bx-motion video {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}

.bx-stage > .bx-video-card {
    aspect-ratio:1440/740;
    border-radius:4% / 7.784%;
    clip-path:inset(0 round 4% / 7.784%);
}

.bx-survey .bx-stage:first-child {
    aspect-ratio:916/700;
}

.bx-survey .bx-stage:first-child > .bx-video-card {
    aspect-ratio:916/700;
    border-radius:10% / 13.086%;
    clip-path:inset(0 round 10% / 13.086%);
}

.bx-survey .bx-stage:last-child > .bx-video-card {
    aspect-ratio:910/728;
    border-radius:7% / 8.75%;
    clip-path:inset(0 round 7% / 8.75%);
}

.bx-stage--cloud > .bx-video-card {
    width:85%;
    height:auto;
    aspect-ratio:1440/740;
    border-radius:0;
    clip-path:none;
}

.bx-stat span {
    max-width:260px;
}

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

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

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

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

.bx-hero-art .bx-motion img,
.bx-hero-art .bx-motion video {
    object-fit:cover;
    object-position:center bottom;
}

body.bx-page .bx-hero-art > .bx-motion {
    width:auto;
    height:100%;
    max-width:100%;
    aspect-ratio:1460/760;
    flex:0 0 auto;
    overflow:hidden;
    border-radius:4.5% / 8.645%;
    clip-path:inset(0 round 4.5% / 8.645%);
}

body.bx-page .bx-hero-art .bx-motion img,
body.bx-page .bx-hero-art .bx-motion video {
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
}

.bx-intro .bx-intro-story {
    text-align:left;
    font-size:clamp(1.4rem,2.4vw,2.2rem);
    font-weight:600;
    line-height:1.35;
    letter-spacing:-.035em;
    max-width:970px;
    margin:1.8rem 0;
}

.bx-survey .bx-stage:first-child > .bx-video-card {
    border-radius:12% / 15.703%;
    clip-path:inset(0 round 12% / 15.703%);
}

.bx-stage.bx-stage--popup > .bx-video-card {
    width:85%;
    height:auto;
    aspect-ratio:1460/760;
    border-radius:4.5% 4.5% 0 0 / 8.645% 8.645% 0 0;
    clip-path:inset(0 round 4.5% 4.5% 0 0 / 8.645% 8.645% 0 0);
}

.bx-stage.bx-stage--browsing > .bx-video-card {
    aspect-ratio:1440/740;
    border-radius:4.5% 4.5% 0 0 / 8.757% 8.757% 0 0;
    clip-path:inset(0 round 4.5% 4.5% 0 0 / 8.757% 8.757% 0 0);
}

body.bx-page .bx-stage.bx-stage--cloud > .bx-video-card {
    width:85%;
    height:auto;
    aspect-ratio:1440/740;
    border-radius:4.5% 4.5% 0 0 / 8.757% 8.757% 0 0;
    clip-path:inset(0 round 4.5% 4.5% 0 0 / 8.757% 8.757% 0 0);
}

.bx-stage--popup .bx-motion img,
.bx-stage--popup .bx-motion video,
.bx-stage--browsing .bx-motion img,
.bx-stage--browsing .bx-motion video,
.bx-stage--cloud .bx-video-card img,
.bx-stage--cloud .bx-video-card video {
    object-fit:fill;
}

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

    body.bx-page .bx-hero-art > .bx-motion {
        display:block;
        width:100%;
        min-width:0;
        max-width:100%;
        height:auto;
        aspect-ratio:1460/760;
    }

    /* Wide, bottom-aligned artwork needs a shorter stage than the survey cards. */
    .bx-page .bx-stage.bx-stage--postlaunch,
    .bx-page .bx-stage:has(> img[src$="bx-3.png"]),
    .bx-page .bx-stage:has(source[src$="bx-3.mp4"]),
    .bx-page .bx-stage:has(source[src$="bx-5.mp4"]),
    .bx-page .bx-stage:has(source[src$="bx-6.mp4"]) {
        height:auto;
        min-height:0;
        aspect-ratio:1.6;
        place-items:end center;
        padding:0;
    }

    .bx-page .bx-stage.bx-stage--postlaunch > img,
    .bx-page .bx-stage:has(> img[src$="bx-3.png"]) > img,
    .bx-page .bx-stage:has(source[src$="bx-3.mp4"]) > .bx-motion,
    .bx-page .bx-stage:has(source[src$="bx-5.mp4"]) > .bx-motion,
    .bx-page .bx-stage:has(source[src$="bx-6.mp4"]) > .bx-motion {
        width:92%;
        height:auto;
        align-self:end;
        justify-self:center;
        object-position:center bottom;
    }
}
