/* First Answer product-story chapter. */
body.landing-z-page .lz-first-answer-story {
    --lz-story-axis: min(var(--lz-width-composition), calc(100vw - 32px));
    --lz-story-rail-edge: max(16px, calc((100vw - var(--lz-width-composition)) / 2));
    --lz-story-container-edge: max(calc(var(--lz-layout-gutter-total) / 2), calc((100vw - var(--lz-width-structural)) / 2));
    --lz-story-scene-left-edge: var(--lz-story-container-edge);
    --lz-story-scene-width: min(1044px, calc(var(--lz-story-axis) + var(--lz-story-rail-edge) - var(--lz-story-scene-left-edge)));
    padding-top: clamp(82px, 7vw, 116px);
    overflow: visible;
    background: var(--lz-surface-base);
}

body.landing-z-page .lz-main > section.lz-first-answer-story {
    padding-bottom: clamp(56px, 5vw, 80px);
}

body.landing-z-page .lz-story-heading {
    width: min(var(--lz-width-composition), 100%);
    margin-right: auto;
    margin-left: auto;
    margin-bottom: clamp(34px, 4vw, 52px);
}

body.landing-z-page .lz-story-heading .lz-section-label { margin-bottom: 15px; }

body.landing-z-page .lz-story-heading .lz-section-title {
    max-width: 14ch;
    margin: 0;
    text-align: left;
}

body.landing-z-page .lz-story-heading .lz-section-title span { color: rgba(245, 245, 245, 0.42); }
body.landing-z-page .lz-story-heading .lz-section-title .lz-story-payoff { color: #f5f5f5; }

body.landing-z-page .lz-story-heading-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    align-items: end;
    gap: 28px clamp(42px, 6vw, 96px);
    min-width: 0;
    margin-top: 24px;
}

body.landing-z-page .lz-story-heading-meta > * { min-width: 0; }

body.landing-z-page .lz-story-intro {
    max-width: 620px;
    margin: 0;
    color: rgba(212, 212, 216, 0.78);
    font-size: clamp(16px, 1.25vw, 18px);
    font-weight: 560;
    line-height: 1.5;
    text-align: left;
}

body.landing-z-page .lz-story-sample-context {
    display: grid;
    gap: 8px;
    justify-self: end;
    max-width: 54ch;
    text-align: right;
}

body.landing-z-page .lz-story-sample-context strong {
    color: rgba(212, 212, 216, 0.56);
    font-family: var(--lz-font-mono);
    font-size: 10px;
    font-weight: 760;
    line-height: 1.35;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.landing-z-page .lz-story-sample-context span {
    color: rgba(212, 212, 216, 0.36);
    font-size: 10px;
    line-height: 1.45;
}

body.landing-z-page .lz-story-gallery {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

body.landing-z-page .lz-story-rail {
    display: flex;
    align-items: stretch;
    gap: clamp(28px, 2.6vw, 42px);
    width: 100%;
    padding: 0 var(--lz-story-rail-edge) 18px var(--lz-story-scene-left-edge);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-padding-right: var(--lz-story-rail-edge);
    scroll-padding-left: var(--lz-story-scene-left-edge);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

body.landing-z-page .lz-story-rail::-webkit-scrollbar { display: none; }
body.landing-z-page .lz-story-rail:focus-visible { outline: 2px solid rgba(var(--lz-accent-strong-rgb), 0.9); outline-offset: 6px; }

body.landing-z-page .lz-story-scene {
    position: relative;
    display: grid;
    flex: 0 0 var(--lz-story-scene-width);
    min-width: 0;
    height: var(--lz-product-story-card-height, 570px);
    min-height: var(--lz-product-story-card-height, 570px);
    overflow: hidden;
    border: 1px solid var(--lz-border-proof-card, rgba(255, 255, 255, 0.13));
    border-radius: var(--lz-radius-proof-card);
    background: #0a0a0a;
    box-shadow: none;
    opacity: 0.84;
    filter: brightness(0.96) contrast(0.98);
    transition: opacity 0.22s ease, filter 0.22s ease;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

body.landing-z-page .lz-story-scene.is-active {
    background: #0a0a0a;
    box-shadow: none;
}

body.landing-z-page .lz-story-gallery:has([data-story-dot="0"].is-active) .lz-story-scene:nth-child(1),
body.landing-z-page .lz-story-gallery:has([data-story-dot="1"].is-active) .lz-story-scene:nth-child(2),
body.landing-z-page .lz-story-gallery:has([data-story-dot="2"].is-active) .lz-story-scene:nth-child(3) {
    opacity: 1;
    filter: none;
}

body.landing-z-page .lz-story-scene--find {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    flex-basis: var(--lz-story-scene-width);
    align-content: space-between;
}
body.landing-z-page .lz-story-scene--prove { flex-basis: var(--lz-story-scene-width); grid-template-rows: auto 1fr; }
body.landing-z-page .lz-story-scene--act { flex-basis: var(--lz-story-scene-width); grid-template-rows: auto 1fr; }

body.landing-z-page .lz-story-scene-copy {
    position: relative;
    z-index: 2;
    align-self: start;
    padding: var(--lz-story-card-padding, clamp(28px, 3.2vw, 48px));
}

body.landing-z-page .lz-story-step {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: rgba(var(--lz-accent-strong-rgb), 0.78);
    font-family: var(--lz-font-mono);
    font-size: 10px;
    font-weight: 760;
    line-height: 1;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

body.landing-z-page .lz-story-step b {
    display: inline;
    min-width: 0;
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(245, 245, 245, 0.4);
    font-weight: 760;
}

body.landing-z-page .lz-story-scene h3 {
    max-width: 14ch;
    margin: 0;
    color: #f5f5f5;
    font-size: var(--lz-type-scene);
    font-weight: 720;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

body.landing-z-page .lz-story-scene p {
    max-width: 40ch;
    margin: 20px 0 0;
    color: rgba(212, 212, 216, 0.64);
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.52;
}

body.landing-z-page .lz-story-scene ul {
    display: grid;
    gap: 0;
    margin: 34px 0 0;
    padding: 0;
    border-top: 1px solid var(--lz-border-divider);
    list-style: none;
}

body.landing-z-page .lz-story-scene li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--lz-border-divider);
    color: rgba(212, 212, 216, 0.58);
    font-size: 13px;
}

body.landing-z-page .lz-story-scene li strong { color: rgba(245, 245, 245, 0.9); font-family: var(--lz-font-mono); font-size: 14px; }

body.landing-z-page .lz-story-scene--find .lz-story-scene-copy {
    display: grid;
    grid-template-columns: minmax(320px, 430px) minmax(280px, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(52px, 7vw, 108px);
    width: 100%;
}

body.landing-z-page .lz-story-scene--find .lz-story-step,
body.landing-z-page .lz-story-scene--find h3,
body.landing-z-page .lz-story-scene--find p {
    grid-column: 1;
}

body.landing-z-page .lz-story-scene--find ul {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: end;
    width: 100%;
    margin: 0;
    transform: translateY(-40px);
}

body.landing-z-page .lz-story-proof {
    position: relative;
    display: block;
    align-self: end;
    min-width: 0;
    margin: auto 0 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: var(--lz-surface-proof-card);
}

body.landing-z-page .lz-story-proof::before {
    display: none;
}

body.landing-z-page .lz-story-proof img { display: block; width: 100%; height: auto; filter: var(--lz-product-media-filter, brightness(1.06) contrast(1.035)); }

body.landing-z-page .lz-story-proof--find,
body.landing-z-page .lz-story-proof--prove,
body.landing-z-page .lz-story-proof--act-desktop {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    width: calc(100% - clamp(56px, 6.4vw, 96px));
    height: calc(100% + 30px);
    margin: auto clamp(28px, 3.2vw, 48px) 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    transform: perspective(1400px) rotateX(2deg) translateY(-30px);
    transform-origin: 50% 100%;
}

body.landing-z-page .lz-story-proof--find img {
    border-radius: 7px;
}

body.landing-z-page .lz-story-proof--find img,
body.landing-z-page .lz-story-proof--prove img,
body.landing-z-page .lz-story-proof--act-desktop img {
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: contain;
    object-position: 50% 0;
    filter: none;
}

body.landing-z-page .lz-story-scene--prove .lz-story-scene-copy,
body.landing-z-page .lz-story-scene--act .lz-story-scene-copy { padding-bottom: 28px; }
body.landing-z-page .lz-story-act-mobile { display: none; }

body.landing-z-page .lz-story-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: var(--lz-story-axis);
    margin-right: auto;
    margin-left: auto;
    padding-top: 12px;
}

body.landing-z-page .lz-story-progress,
body.landing-z-page .lz-story-arrows { display: flex; align-items: center; gap: 8px; }

body.landing-z-page .lz-story-progress button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: var(--lz-radius-pill);
    background: rgba(245, 245, 245, 0.25);
    cursor: pointer;
    transition: width 0.18s ease, background 0.18s ease;
}

body.landing-z-page .lz-story-progress button.is-active { width: 30px; background: rgba(245, 245, 245, 0.76); }

body.landing-z-page .lz-story-arrows button {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--lz-border-interactive);
    border-radius: var(--lz-radius-pill);
    background: var(--lz-surface-interactive);
    color: rgba(245, 245, 245, 0.88);
    cursor: pointer;
}

body.landing-z-page .lz-story-arrows button:hover:not(:disabled) { background: var(--lz-surface-interactive-hover); }
body.landing-z-page .lz-story-arrows button:disabled { color: rgba(245, 245, 245, 0.22); cursor: default; opacity: 0.56; }
body.landing-z-page .lz-story-arrows svg { width: 19px; height: 19px; }

body.landing-z-page .lz-story-progress button:focus-visible,
body.landing-z-page .lz-story-arrows button:focus-visible { outline: 2px solid rgba(var(--lz-accent-strong-rgb), 0.9); outline-offset: 3px; }

body.landing-z-page .lz-first-answer-story + .lz-v2-spine-estimator { padding-top: clamp(88px, 8vw, 128px); background: var(--lz-surface-base); }
body.landing-z-page .lz-first-answer-story + .lz-v2-spine-estimator::before { display: none; }

@media (max-width: 1180px) {
    body.landing-z-page .lz-hero-section--v2 + .lz-first-answer-story { padding-top: 16px; }
    body.landing-z-page .lz-story-controls { width: calc(var(--lz-story-axis) - 30px); }
}

@media (min-width: 861px) and (max-width: 1180px) {
    body.landing-z-page .lz-main > section.lz-first-answer-story { padding-bottom: 24px; }
    body.landing-z-page .lz-first-answer-story + .lz-answer-section { padding-top: 26px; }

    body.landing-z-page .lz-story-scene--find ul { transform: translateY(8px); }

    body.landing-z-page .lz-story-proof--find,
    body.landing-z-page .lz-story-proof--prove,
    body.landing-z-page .lz-story-proof--act-desktop {
        transform: perspective(1400px) rotateX(2deg) translateY(26px);
    }
}

body.landing-z-page .lz-v2-spine-estimator .lz-reality-panel {
    width: min(1120px, 100%);
}

body.landing-z-page .lz-v2-spine-estimator .lz-reality-overview-copy > .lz-control-kicker {
    margin: 0 auto 18px;
}

body.landing-z-page .lz-v2-spine-estimator .lz-reality-overview-copy h3 {
    max-width: 18ch;
    color: #f5f5f5;
}

body.landing-z-page .lz-v2-spine-estimator .lz-reality-overview-estimate-label { margin-bottom: 12px; }

body.landing-z-page .lz-v2-spine-estimator .lz-reality-overview-total {
    font-size: clamp(64px, 8vw, 128px);
}

body.landing-z-page .lz-v2-spine-estimator .lz-reality-formula {
    width: min(860px, 100%);
    margin: 34px auto 0;
}

body.landing-z-page .lz-v2-spine-estimator .lz-reality-presets {
    width: 100%;
    margin: 0;
}

body.landing-z-page .lz-v2-spine-estimator .lz-reality-controls {
    width: 100%;
}

body.landing-z-page .lz-v2-spine-estimator .lz-slider-grid {
    gap: 30px 28px;
    padding: 0;
}

@media (max-width: 860px) {
    body.landing-z-page .lz-first-answer-story { padding-top: 64px; }
    body.landing-z-page .lz-main > section.lz-first-answer-story { padding-bottom: 24px; }
    body.landing-z-page .lz-first-answer-story + .lz-answer-section { padding-top: 16px; }
    body.landing-z-page .lz-story-heading { width: 100%; margin-right: auto; margin-left: auto; margin-bottom: 30px; }
    body.landing-z-page .lz-story-heading .lz-section-title { max-width: none; }
    body.landing-z-page .lz-story-heading .lz-story-payoff { display: block; }
    body.landing-z-page .lz-story-heading-meta { display: block; margin-top: 18px; }
    body.landing-z-page .lz-story-intro { font-size: 15px; }
    body.landing-z-page .lz-story-sample-context { justify-self: auto; margin-top: 18px; text-align: left; }
    body.landing-z-page .lz-story-sample-context strong { max-width: 34ch; }
    body.landing-z-page .lz-story-sample-context span {
        max-width: 52ch;
        color: rgba(212, 212, 216, 0.52);
        font-size: 12px;
        line-height: 1.55;
    }
    body.landing-z-page .lz-story-rail { align-items: flex-start; gap: 22px; padding-bottom: 12px; }

    body.landing-z-page .lz-story-scene,
    body.landing-z-page .lz-story-scene--find,
    body.landing-z-page .lz-story-scene--prove,
    body.landing-z-page .lz-story-scene--act {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: minmax(216px, auto) minmax(0, 1fr);
        align-content: stretch;
        flex-basis: calc(var(--lz-story-axis) - 24px);
        height: 480px;
        min-height: 480px;
        border-radius: var(--lz-radius-interactive);
    }

    body.landing-z-page .lz-story-scene-copy,
    body.landing-z-page .lz-story-scene--prove .lz-story-scene-copy,
    body.landing-z-page .lz-story-scene--act .lz-story-scene-copy { padding: 24px 22px 20px; }

    body.landing-z-page .lz-story-scene--find .lz-story-scene-copy { display: block; }

    body.landing-z-page .lz-story-step { margin-bottom: 18px; }
    body.landing-z-page .lz-story-scene h3 { max-width: 13ch; font-size: clamp(32px, 9.4vw, 40px); }
    body.landing-z-page .lz-story-scene p { margin-top: 14px; font-size: 14px; }
    body.landing-z-page .lz-story-scene--find ul { display: none; }
    body.landing-z-page .lz-story-scene li { padding: 10px 0; font-size: 12px; }

    body.landing-z-page .lz-story-proof--find,
    body.landing-z-page .lz-story-proof--prove,
    body.landing-z-page .lz-story-proof--act-desktop {
        display: block;
        align-self: stretch;
        width: calc(100% - 36px);
        height: 100%;
        margin: 0 18px;
        overflow: hidden;
        transform: none;
    }

    body.landing-z-page .lz-story-proof--find img,
    body.landing-z-page .lz-story-proof--prove img,
    body.landing-z-page .lz-story-proof--act-desktop img {
        width: 100%;
        height: auto;
        max-width: none;
        object-position: 50% 0;
    }

    body.landing-z-page .lz-story-proof--find img {
        border-radius: 6px;
    }

    body.landing-z-page .lz-story-act-mobile { display: none; }

    body.landing-z-page .lz-story-controls { width: calc(var(--lz-story-axis) - 30px); padding-top: 8px; }
    body.landing-z-page .lz-story-arrows button { width: 40px; height: 40px; }
    body.landing-z-page .lz-first-answer-story + .lz-v2-spine-estimator { padding-top: 84px; }
    body.landing-z-page .lz-v2-spine-estimator .lz-reality-panel { width: 100%; }
    body.landing-z-page .lz-v2-spine-estimator .lz-reality-overview-copy h3 { max-width: 12ch; }
    body.landing-z-page .lz-v2-spine-estimator .lz-reality-overview-summary { margin-top: 34px; }
    body.landing-z-page .lz-v2-spine-estimator .lz-reality-overview-total { font-size: clamp(52px, 17vw, 70px); white-space: nowrap; }

    body.landing-z-page .lz-v2-spine-estimator .lz-reality-formula {
        width: 100%;
        margin-top: 30px;
    }
}

@media (max-width: 680px) {
    body.landing-z-page .lz-story-sample-context {
        display: none;
    }

    body.landing-z-page .lz-story-heading,
    body.landing-z-page .lz-story-heading .lz-section-title,
    body.landing-z-page .lz-story-intro {
        text-align: center;
    }

    body.landing-z-page .lz-story-heading .lz-section-title,
    body.landing-z-page .lz-story-intro {
        margin-right: auto;
        margin-left: auto;
    }

    body.landing-z-page .lz-story-heading .lz-section-title {
        width: 100%;
        max-width: none;
        font-size: clamp(34px, 9.7vw, 38px);
        line-height: 0.94;
        white-space: nowrap;
    }

    body.landing-z-page .lz-story-heading .lz-story-payoff {
        display: inline;
    }

    body.landing-z-page .lz-story-intro {
        max-width: 42ch;
        line-height: 1.42;
    }

    body.landing-z-page .lz-story-scene,
    body.landing-z-page .lz-story-scene--find,
    body.landing-z-page .lz-story-scene--prove,
    body.landing-z-page .lz-story-scene--act {
        grid-template-rows: minmax(216px, auto) auto;
        height: auto;
        min-height: 0;
    }

    body.landing-z-page .lz-story-proof--find,
    body.landing-z-page .lz-story-proof--prove,
    body.landing-z-page .lz-story-proof--act-desktop {
        align-self: end;
        height: auto;
    }
}

@media (max-width: 420px) {
    body.landing-z-page .lz-story-rail { gap: 8px; }

    body.landing-z-page .lz-story-scene-copy,
    body.landing-z-page .lz-story-scene--prove .lz-story-scene-copy,
    body.landing-z-page .lz-story-scene--act .lz-story-scene-copy { padding-right: 14px; padding-left: 14px; }

    body.landing-z-page .lz-story-scene,
    body.landing-z-page .lz-story-scene--find,
    body.landing-z-page .lz-story-scene--prove,
    body.landing-z-page .lz-story-scene--act { flex-basis: calc(var(--lz-story-axis) - 24px); height: auto; min-height: 0; }

}

@media (prefers-reduced-motion: reduce) {
    body.landing-z-page .lz-story-rail { scroll-behavior: auto; }
    body.landing-z-page .lz-story-scene,
    body.landing-z-page .lz-story-progress button { transition: none; }
}
