/* The landing-page journey uses Merak's existing type, palette and chapter grid. */
.stage-proof {
    margin: 0;
    color: var(--merak-text-secondary);
    font-size: .9rem;
}
.hero-path-example {
    flex: 1 1 26rem;
    display: grid;
    gap: clamp(.6rem, 1.5vw, 1rem);
    min-width: 0;
    max-width: 32rem;
    margin: 0;
}
.hero-path-example img, .shared-paths img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--merak-warm-border);
    border-radius: .6rem;
    background: var(--merak-surface);
}
.shared-paths {
    display: grid;
    grid-template-columns: minmax(14rem, .8fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1rem, 4vw, 3.5rem);
    padding-block: clamp(1.75rem, 4vw, 3.5rem);
    border-top: 1px solid var(--merak-warm-border);
}
.shared-paths__copy p { max-width: 35ch; }
.shared-paths .capture-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(.65rem, 2vw, 1.55rem);
    min-width: 0;
    max-width: 30rem;
}
.shared-paths figure { display: grid; grid-template-rows: auto 1fr; gap: .55rem; margin: 0; min-width: 0; }
.shared-paths figcaption { align-self: start; min-height: 2.6em; font-weight: 700; line-height: 1.3; }
.journey-shell h3 { margin: 0 0 .75rem; font-size: clamp(1.95rem, 3vw, 3.1rem); line-height: 1.08; }
.journey-shell h4 { margin: 0 .25rem .5rem 0; font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.2; }
.journey-shell p { line-height: 1.55; }
.journey-start, .journey-learn { padding-block: clamp(1.6rem, 3vw, 3rem); }
.journey-choices, .journey-steps {
    display: grid;
    gap: 1.25rem;
    margin: 0;
}
.journey-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.journey-choices article {
    position: relative;
    background: var(--merak-paper, #fffaf3);
    border: 1px solid #d8c8ba;
    border-radius: .65rem;
    padding: clamp(1rem, 2vw, 1.55rem);
    min-width: 0;
}
.journey-choices p, .journey-steps p { margin-block: .25rem 0; max-width: 34em; }
.journey-choices .journey-status {
    margin: 0 0 .35rem;
    color: #7a3344;
    font-size: .9rem;
    font-weight: 700;
}
.journey-learn { border-top: 1px solid #d8c8ba; }
.journey-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    padding: 0;
    counter-reset: journey-stage;
}
.journey-steps li {
    counter-increment: journey-stage;
    min-width: 0;
    padding: .95rem .6rem .3rem 0;
    border-top: 2px solid #9b3046;
    scroll-margin-top: 6rem;
}
.journey-steps li:before {
    content: counter(journey-stage, decimal-leading-zero);
    display: block;
    margin-bottom: .65rem;
    color: #8c2b43;
    font-size: .85rem;
    font-weight: 700;
}
.journey-demo {
    display: grid;
    grid-template-columns: minmax(16rem, .65fr) minmax(0, 1.35fr);
    align-items: start;
    gap: clamp(1.25rem, 4vw, 4.5rem);
    margin: 0;
    padding-block: clamp(1.75rem, 4vw, 3.5rem);
    border-top: 1px solid #d8c8ba;
}
.journey-demo figcaption, .journey-demo figcaption p { max-width: 33ch; }
.journey-provenance { color: var(--merak-text-secondary, #4f4742); font-size: .9rem; }
.journey-player { min-width: 0; }
.journey-player [hidden] { display: none !important; }
.journey-play {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid #d8c8ba;
    border-radius: .45rem;
    overflow: hidden;
    background: #faf6ef;
    cursor: pointer;
    color: white;
    font: inherit;
}
.journey-play:focus-visible { outline: 3px solid #8c2b43; outline-offset: 4px; }
.journey-play { aspect-ratio: 16 / 9; background: var(--merak-paper, #fffaf3); color: #8c2b43; }
.journey-play span {
    display: inline-block;
    max-width: calc(100% - 2rem);
    border-radius: .3rem;
    background: #8c2b43;
    color: #fff;
    padding: .65rem .9rem;
    font-weight: 700;
    text-align: center;
}
#journey-player-status:empty { display: none; }
.journey-demo video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #faf6ef;
    border: 1px solid #d8c8ba;
    border-radius: .45rem;
}
@media (max-width: 760px) {
    .journey-choices, .journey-steps, .journey-demo, .shared-paths { grid-template-columns: 1fr; }
    .journey-steps li { padding: .95rem .5rem .3rem 2.75rem; position: relative; }
    .journey-steps li:before { position: absolute; left: 0; top: 1.05rem; }
    .journey-demo figcaption, .journey-demo figcaption p { max-width: 45ch; }
    .journey-demo video, .journey-play { aspect-ratio: 9 / 16; max-width: 21rem; justify-self: center; }
}
