/* ============================================================
   Foxtract landing page — scroll story
   Scoped under .lp to stay clear of app styles.
   ============================================================ */

.lp {
    --lp-ink: #23201B;
    --lp-text: #3A362E;
    --lp-muted: #7F786D;
    --lp-orange: #E8722C;
    --lp-orange-deep: #C4551A;
    --lp-teal: #17564E;
    --lp-card: #FFFFFF;
    --lp-border: #E7E3DB;
    overflow-x: clip;
    font-size: 16px;
}

.lp section { padding: 72px 24px; }

/* ---------- reveal-on-scroll ---------- */
.lp [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease var(--d, 0s), transform .7s cubic-bezier(.2,.7,.3,1) var(--d, 0s);
}

/* directional variants — mixing axes keeps the page from feeling templated */
.lp [data-reveal="left"] { transform: translateX(-48px); }
.lp [data-reveal="right"] { transform: translateX(48px); }

.lp [data-reveal].in {
    opacity: 1;
    transform: none;
}

/* tick lists cascade in laterally once their block lands */
.lp [data-reveal] .lp-ticks li {
    opacity: 0;
    transform: translateX(-22px);
    transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.3,1);
}

.lp [data-reveal].in .lp-ticks li { opacity: 1; transform: none; }
.lp [data-reveal].in .lp-ticks li:nth-child(1) { transition-delay: .3s; }
.lp [data-reveal].in .lp-ticks li:nth-child(2) { transition-delay: .45s; }
.lp [data-reveal].in .lp-ticks li:nth-child(3) { transition-delay: .6s; }

/* ---------- hero ---------- */
.lp-hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lp-hero-inner {
    max-width: 1060px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 48px;
}

.lp-kicker {
    letter-spacing: .35em;
    font-size: 12px;
    font-weight: 600;
    color: var(--lp-orange);
    margin-bottom: 18px;
}

.lp-hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
    color: var(--lp-ink);
    margin-bottom: 20px;
}

.lp-hero h1 span { color: var(--lp-orange); }

.lp-lead {
    font-size: 1.15rem;
    color: var(--lp-muted);
    max-width: 34rem;
    margin-bottom: 28px;
}

.lp-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

.lp-btn-primary {
    background: linear-gradient(135deg, #E8722C 0%, #C4551A 100%);
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(232, 114, 44, .35);
}

.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232, 114, 44, .45); }

.lp-btn-ghost {
    border: 1px solid var(--lp-border);
    color: var(--lp-text) !important;
    background: var(--lp-card);
}

.lp-btn-ghost:hover { border-color: var(--lp-orange); transform: translateY(-2px); }

.lp-btn-big { font-size: 1.15rem; padding: 15px 34px; }

.lp-fineprint { margin-top: 14px; font-size: .85rem; color: var(--lp-muted); }

.lp-hero-fox {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* mirrored so the fox looks toward the headline, not off-screen */
.lp-fox-hero {
    width: min(310px, 64vw);
    filter: drop-shadow(0 18px 30px rgba(35, 32, 27, .18));
    transform: scaleX(-1);
    animation: lp-float 5s ease-in-out infinite;
}

.lp-hero-wordmark { width: min(220px, 44vw); opacity: .95; }

@keyframes lp-float {
    0%, 100% { transform: scaleX(-1) translateY(0); }
    50% { transform: scaleX(-1) translateY(-14px); }
}

/* ---------- scroll cue: labelled ring with a bouncing arrow ---------- */
.lp-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--lp-muted);
}

.lp-scroll-text {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.lp-scroll-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 2px solid var(--lp-accent, #C0391D);
    border-radius: 50%;
    color: var(--lp-accent, #C0391D);
    font-size: 22px;
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 6px 18px rgba(192, 57, 29, .22);
    animation: lp-bounce 1.6s ease-in-out infinite;
}

@keyframes lp-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(12px); }
}

.lp-scroll-ring i { animation: lp-arrow-nudge 1.6s ease-in-out infinite; }

@keyframes lp-arrow-nudge {
    0%, 100% { transform: translateY(-2px); opacity: .7; }
    50% { transform: translateY(3px); opacity: 1; }
}

/* ---------- eyes: blink + look ---------- */
.lp-lids { opacity: 0; }

.lp-fox .lp-lids { animation: lp-blink 6s infinite; }

@keyframes lp-blink {
    0%, 94%, 100% { opacity: 0; }
    95.5%, 97% { opacity: 1; }
}

.lp-eye { transition: transform .25s ease; }

/* ---------- steps ---------- */
.lp-step-inner {
    max-width: 1060px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.lp-step-inner.lp-reverse { direction: rtl; }
.lp-step-inner.lp-reverse > * { direction: ltr; }

.lp-step-alt { background: #F1EAE0; }

.lp-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E8722C, #C4551A);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.lp-step h2, .lp-features h2, .lp-integrations h2, .lp-final h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 750;
    color: var(--lp-ink);
    margin-bottom: 14px;
}

.lp-step-copy p { color: var(--lp-muted); font-size: 1.05rem; }

.lp-ticks { list-style: none; padding: 0; margin: 20px 0 0; }

.lp-ticks li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
    color: var(--lp-text);
}

.lp-ticks li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: -1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(23, 86, 78, .12);
    color: var(--lp-teal);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- mock screenshots ---------- */
.lp-shot-wrap { position: relative; perspective: 1400px; }

.lp-shot {
    position: relative;
    z-index: 2;
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    box-shadow: 0 24px 48px rgba(35, 32, 27, .14);
    overflow: hidden;
    /* modern 3D flip-in entrance */
    transform: rotateY(-16deg) rotateX(4deg) translateY(20px);
    opacity: 0;
    transition: transform .9s cubic-bezier(.2,.7,.25,1) .1s, opacity .6s ease .1s;
    will-change: transform;
}

.lp-reverse .lp-shot { transform: rotateY(16deg) rotateX(4deg) translateY(20px); }

.lp-shot-wrap.in .lp-shot { transform: none; opacity: 1; }

/* glass highlight along the top of every card */
.lp-shot::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 46%;
    background: linear-gradient(to bottom, rgba(255,255,255,.55), transparent);
    opacity: .35;
    pointer-events: none;
    z-index: 5;
}

/* glossy sheen that sweeps across once the card lands */
.lp-shot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.5) 50%, transparent 62%);
    transform: translateX(-120%);
    pointer-events: none;
    z-index: 6;
}

.lp-shot-wrap.in .lp-shot::after { animation: lp-sheen 1.2s ease .75s forwards; }

@keyframes lp-sheen {
    to { transform: translateX(120%); }
}

/* glossy floor reflection (webkit/blink; a quiet no-op elsewhere) */
@supports (-webkit-box-reflect: below) {
    .lp-shot {
        -webkit-box-reflect: below 12px
            linear-gradient(to bottom, transparent 62%, rgba(0, 0, 0, .16));
    }
}

.lp-chrome {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--lp-border);
    background: #FBFAF8;
}

.lp-chrome span { width: 10px; height: 10px; border-radius: 50%; background: #E7E3DB; }
.lp-chrome span:first-child { background: #f0a8a2; }
.lp-chrome span:nth-child(2) { background: #f3d08a; }
.lp-chrome span:nth-child(3) { background: #a8d5b0; }

/* upload mock */
.lp-dropzone {
    margin: 22px;
    border: 2px dashed rgba(232, 114, 44, .5);
    border-radius: 12px;
    padding: 38px 20px;
    text-align: center;
    color: var(--lp-muted);
    background: rgba(232, 114, 44, .04);
}

.lp-dropzone i { font-size: 34px; color: var(--lp-orange); }
.lp-dz-title { font-weight: 650; color: var(--lp-ink); margin-top: 8px; }
.lp-dz-sub { font-size: .85rem; }

.lp-filechips { display: flex; gap: 8px; padding: 0 22px 22px; flex-wrap: wrap; }

.lp-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    background: #F6F5F2;
    border: 1px solid var(--lp-border);
    border-radius: 999px;
    padding: 5px 12px;
    color: var(--lp-text);
}

.lp-chip i { color: var(--lp-orange-deep); }
.lp-chip-more { color: var(--lp-muted); }

/* process mock */
.lp-proc { display: grid; grid-template-columns: 1fr 1.3fr; }

.lp-proc-doc {
    background: #EFEDE8;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-doc-line { height: 9px; border-radius: 4px; background: #D9D4CA; }
.lp-doc-line.w80 { width: 80%; }
.lp-doc-line.w70 { width: 70%; }
.lp-doc-line.w60 { width: 60%; }
.lp-doc-line.w40 { width: 40%; }

.lp-doc-total {
    margin-top: auto;
    align-self: flex-end;
    font-weight: 700;
    font-size: .95rem;
    color: var(--lp-ink);
    border-top: 2px solid #D9D4CA;
    padding-top: 8px;
}

.lp-proc-form { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }

.lp-field label {
    display: block;
    font-size: 9px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lp-muted);
}

.lp-field span { font-size: .95rem; font-weight: 600; color: var(--lp-ink); }
.lp-field .lp-accent { color: var(--lp-orange-deep); }

/* fields "type themselves in" when revealed */
.in .lp-field {
    opacity: 0;
    transform: translateX(10px);
    animation: lp-pop .5s ease forwards;
    animation-delay: var(--d, 0s);
}

.lp-approve {
    align-self: flex-start;
    background: linear-gradient(135deg, #21A45D, #1B8A4E);
    color: #fff;
    font-size: .85rem;
    font-weight: 650;
    border-radius: 8px;
    padding: 7px 16px;
    opacity: 0;
    transform: scale(.85);
    animation: none;
}

.in .lp-approve { animation: lp-pop .45s ease forwards; animation-delay: var(--d, 0s); }

@keyframes lp-pop {
    to { opacity: 1; transform: none; }
}

/* table mock */
.lp-trow {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 40px;
    gap: 8px;
    padding: 11px 18px;
    font-size: .9rem;
    color: var(--lp-text);
    border-bottom: 1px solid #F0EEE8;
    align-items: center;
}

.lp-thead {
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lp-muted);
    background: #FBFAF8;
}

.lp-trow:not(.lp-thead) {
    opacity: 0;
    transform: translateY(8px);
}

.in .lp-trow:not(.lp-thead) { animation: lp-pop .45s ease forwards; animation-delay: var(--d, 0s); }

.lp-ok { color: #21A45D; text-align: center; }

.lp-qbo {
    margin: 12px 18px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2ca01c, #1B7A46);
    color: #fff;
    font-size: .85rem;
    font-weight: 650;
    padding: 8px 14px;
    border-radius: 8px;
    opacity: 0;
    transition: transform .15s ease, background .3s ease;
}

.in .lp-qbo { animation: lp-pop .5s ease forwards; animation-delay: var(--d, 0s); }

.lp-qbo .lp-qbo-done { display: none; }

.lp-qbo.lp-pressed { transform: scale(.92); filter: brightness(.9); }

.lp-qbo.lp-done { background: rgba(44, 160, 28, .12); color: #1B7A46; }
.lp-qbo.lp-done .lp-qbo-label { display: none; }
.lp-qbo.lp-done .lp-qbo-done { display: inline-flex; align-items: center; gap: 6px; animation: lp-pop .3s ease; }

/* ---------- fox arm (points & clicks) ---------- */
.lp-arm {
    position: absolute;
    z-index: 7;
    width: 200px;
    height: 80px;
    top: 40%;
    opacity: 0;
    transition: top .4s cubic-bezier(.3,.8,.35,1), opacity .35s ease, transform .18s ease;
    pointer-events: none;
    filter: drop-shadow(0 6px 10px rgba(35,32,27,.2));
}

/* each arm reaches in from the side its fox is peeking from:
   scene 2's fox leans in at the left, scene 3's peeks from the right
   corner. Base hand art points right; the right-edge arm is mirrored. */
.lp-arm-process { left: -84px; }

.lp-arm-qbo { right: -84px; transform: scaleX(-1); }

.lp-arm.lp-arm-in { opacity: 1; }

.lp-arm-process.lp-arm-press { transform: translateX(14px); }

.lp-arm-qbo.lp-arm-press { transform: scaleX(-1) translateX(-14px); }

/* the pointing hand becomes a thumbs-up once the click has landed */
.lp-arm .lp-hand-thumb { display: none; }
.lp-arm.lp-arm-done .lp-hand-point { display: none; }
.lp-arm.lp-arm-done .lp-hand-thumb { display: inline; }

.lp-approve.lp-pressed { transform: scale(.9) !important; filter: brightness(.92); opacity: 1 !important; }

.lp-approve.lp-clicked {
    animation: lp-click-flash .5s ease;
}

@keyframes lp-click-flash {
    0% { box-shadow: 0 0 0 0 rgba(33, 164, 93, .55); }
    100% { box-shadow: 0 0 0 16px rgba(33, 164, 93, 0); }
}

/* ---------- peeking foxes ---------- */
.lp-peek { position: absolute; z-index: 1; }

.lp-peek-top {
    width: 190px;
    left: 50%;
    top: 0;
    transform: translate(-50%, -20%);
    transition: transform .8s cubic-bezier(.2,.7,.3,1) .25s;
}

.in + * .lp-peek-top { /* fallback no-op */ }

.lp-shot-wrap.in .lp-peek-top { transform: translate(-50%, -72%); }

.lp-paws-top {
    position: absolute;
    z-index: 3;
    width: 130px;
    left: 50%;
    top: -6px;
    transform: translate(-50%, 20px);
    opacity: 0;
    transition: transform .8s cubic-bezier(.2,.7,.3,1) .25s, opacity .3s ease .45s;
}

.lp-shot-wrap.in .lp-paws-top { transform: translate(-50%, -12px); opacity: 1; }

.lp-peek-side {
    width: 225px;
    left: -30px;
    bottom: 24%; /* head sits near the fields, so the raised hand reads as its own */
    z-index: 8; /* in front of the screenshot; its arm slides in behind it */
    transform: translateX(-70%) rotate(-14deg);
    transition: transform .8s cubic-bezier(.2,.7,.3,1) .3s;
}

.lp-shot-wrap.in .lp-peek-side { transform: translateX(-46%) rotate(-14deg); }

.lp-peek-corner {
    width: 150px;
    right: -56px;
    top: 22%; /* above the arm's path to the export button */
    z-index: 8; /* in front of the screenshot and of its own arm */
    transform: translate(55%, -6%) rotate(-18deg);
    transition: transform .8s cubic-bezier(.2,.7,.3,1) .3s;
}

.lp-shot-wrap.in .lp-peek-corner { transform: translate(15%, 0) rotate(-12deg); }

/* ---------- feature grid ---------- */
/* full-bleed white band to break the cream monotone */
.lp-features {
    text-align: center;
    background: #FFFFFF;
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}

.lp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1060px;
    margin: 36px auto 0;
    text-align: left;
}

.lp-grid { perspective: 1200px; }

.lp-card {
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

/* flip-up entrance overrides the generic reveal; side columns slide in
   laterally so the grid arrives from three directions */
.lp-card[data-reveal] {
    transform: rotateX(-14deg) translateY(30px);
    transform-origin: 50% 100%;
    transition: opacity .7s ease var(--d, 0s),
                transform .8s cubic-bezier(.2,.7,.25,1) var(--d, 0s),
                box-shadow .2s ease;
}

.lp-grid .lp-card[data-reveal]:nth-child(3n+1) { transform: translateX(-44px); }
.lp-grid .lp-card[data-reveal]:nth-child(3n) { transform: translateX(44px); }

.lp-card[data-reveal].in { transform: none; }

.lp-card.in:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(35,32,27,.1); }

/* hover sheen on feature cards */
.lp-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%);
    transform: translateX(-130%);
    pointer-events: none;
}

.lp-card:hover::after { animation: lp-sheen .8s ease forwards; }

.lp-card i { font-size: 26px; color: var(--lp-orange); }

.lp-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--lp-ink); margin: 12px 0 6px; }

.lp-card p { font-size: .92rem; color: var(--lp-muted); margin: 0; }

/* ---------- integrations band ---------- */
/* names the ledgers we export to; the "more" tile carries the roadmap */
.lp-integrations { text-align: center; }

.lp-int-lead {
    max-width: 620px;
    margin: 14px auto 0;
    color: var(--lp-muted);
    font-size: 1.02rem;
}

.lp-int-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 860px;
    margin: 36px auto 0;
}

.lp-int {
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    padding: 26px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.lp-int.in:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(35,32,27,.1); }

.lp-int-mark {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(23, 86, 78, .08);
    color: var(--lp-teal);
    font-size: 22px;
}

.lp-int h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--lp-ink);
    margin: 0;
}

.lp-int-state {
    font-size: .78rem;
    font-weight: 650;
    letter-spacing: .02em;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--lp-bg-soft, #F3F1EC);
    color: var(--lp-muted);
}

.lp-int-live {
    background: rgba(33, 164, 93, .12);
    color: #1B7A46;
}

/* the roadmap tile reads as a placeholder, not a shipped product */
.lp-int-next { border-style: dashed; }
.lp-int-next .lp-int-mark { background: rgba(232, 114, 44, .1); color: var(--lp-orange); }

/* ---------- export destination chips (step 3 mock) ---------- */
.lp-dest {
    opacity: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px 0;
    font-size: .78rem;
    color: var(--lp-muted);
}

.in .lp-dest { animation: lp-pop .45s ease forwards; animation-delay: var(--d, 0s); }

.lp-dest-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid var(--lp-border);
    font-weight: 650;
    color: var(--lp-text);
    background: #FFFFFF;
}

.lp-dest-chip.on {
    border-color: rgba(33, 164, 93, .45);
    background: rgba(33, 164, 93, .1);
    color: #1B7A46;
}

/* ---------- final CTA ---------- */
/* dark statement band for the closing ask */
.lp-final {
    padding-bottom: 96px;
    background: #2C1913;
}

.lp-final-card {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 110px 40px 48px;
}

.lp-final h2 { color: #F7EFE4; }

.lp-fox-final {
    position: absolute;
    width: 170px;
    top: -78px;
    left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(0 10px 18px rgba(35,32,27,.18));
}

.lp-final p { color: #C9B6A6; margin-bottom: 24px; }

.lp-final .lp-fox-final { filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .45)); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .lp-hero-inner, .lp-step-inner { grid-template-columns: 1fr; gap: 32px; }
    .lp-step-inner.lp-reverse { direction: ltr; }
    .lp-hero { min-height: auto; padding-top: 48px; }
    .lp-hero-fox { order: -1; }
    .lp-fox-hero { width: min(230px, 58vw); }
    .lp-grid { grid-template-columns: 1fr; }
    .lp-int-row { grid-template-columns: 1fr; }
    .lp-peek-side { display: none; }

    /* single column puts the copy directly above the upload card — give the
       climbing fox headroom so it doesn't rise into the text */
    #how .lp-shot-wrap { margin-top: 110px; }
    .lp-peek-top { width: 160px; }
}

/* ---------- scroll-scrub mode (JS drives progress; scroll is the playhead) ---------- */

/* Pinned scenes: each step is tall, its content sticks centered while the
   user's scrolling plays the scene. More height = more scroll per scene. */
.lp.lp-scrub .lp-step {
    min-height: 200vh;
    padding-top: 0;
    padding-bottom: 0;
}

.lp.lp-scrub .lp-step-inner {
    position: sticky;
    top: 0;
    min-height: 100vh;
    padding: 72px 0;
    box-sizing: border-box;
    align-content: center;
    will-change: transform, opacity; /* whole slide translates in/out per frame */
}

/* 3D drop-in pivots: each scene's screenshot swings from a different edge */
.lp.lp-scrub .lp-shot-upload { transform-origin: top center; }
.lp.lp-scrub .lp-shot-process { transform-origin: center right; }
.lp.lp-scrub .lp-shot-table { transform-origin: bottom center; }

@media (max-width: 900px) {
    .lp.lp-scrub .lp-step { min-height: 150vh; }
}

.lp.lp-scrub .lp-shot {
    transition: opacity .12s linear; /* transform set per-frame by JS */
}

.lp.lp-scrub .lp-shot-wrap .lp-peek,
.lp.lp-scrub .lp-paws-top {
    transition: opacity .15s linear; /* transforms scrubbed by JS */
}

.lp.lp-scrub .lp-shot-wrap.in .lp-shot::after { animation: none; }
.lp.lp-scrub .lp-shot-wrap.in .lp-shot.lp-sheen-go::after { animation: lp-sheen 1s ease forwards; }

.lp.lp-scrub .in .lp-field,
.lp.lp-scrub .in .lp-approve,
.lp.lp-scrub .in .lp-trow:not(.lp-thead),
.lp.lp-scrub .in .lp-qbo { animation: none; }

.lp.lp-scrub .lp-field,
.lp.lp-scrub .lp-approve {
    opacity: 0;
    transform: translateX(26px);
    transition: opacity .22s ease, transform .22s ease;
}

/* upload chips slide in sideways as the scene plays */
.lp.lp-scrub .lp-chip {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity .22s ease, transform .22s ease;
}

.lp.lp-scrub .lp-chip.on { opacity: 1; transform: none; }

.lp.lp-scrub .lp-approve { transform: scale(.85); }

.lp.lp-scrub .lp-field.on,
.lp.lp-scrub .lp-approve.on { opacity: 1; transform: none; }

.lp.lp-scrub .lp-trow:not(.lp-thead) {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity .22s ease, transform .22s ease;
}

.lp.lp-scrub .lp-trow.on { opacity: 1; transform: none; }

.lp.lp-scrub .lp-qbo { opacity: 0; transition: opacity .22s ease, transform .15s ease, background .3s ease; }
.lp.lp-scrub .lp-qbo.on { opacity: 1; }
.lp.lp-scrub .in .lp-dest { animation: none; }
.lp.lp-scrub .lp-dest { opacity: 0; transition: opacity .22s ease; }
.lp.lp-scrub .lp-dest.on { opacity: 1; }

.lp.lp-scrub .lp-arm { transition: opacity .2s ease, transform .18s ease; /* top scrubbed by JS */ }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .lp [data-reveal],
    .lp-shot,
    .lp-shot-wrap .lp-peek,
    .lp-paws-top,
    .in .lp-field,
    .in .lp-approve,
    .in .lp-trow:not(.lp-thead),
    .in .lp-qbo {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .lp-fox-hero, .lp-scroll-hint, .lp-scroll-ring, .lp-scroll-ring i,
    .lp-fox .lp-lids,
    .lp-shot::after, .lp-card::after { animation: none !important; }

    .lp-fox-hero { transform: scaleX(-1) !important; }
    .lp.lp-scrub .lp-step-inner { transform: none !important; opacity: 1 !important; }

    .lp-arm { display: none !important; }

    /* show the finished state directly */
    .lp-dest { opacity: 1 !important; animation: none !important; }
    .lp-qbo { background: rgba(44, 160, 28, .12) !important; color: #1B7A46 !important; }
    .lp-qbo .lp-qbo-label { display: none !important; }
    .lp-qbo .lp-qbo-done { display: inline-flex !important; }
}
