/* Homepage only. Scroll stays native; these are progressive enhancements. */
.landing-motion .lp-cashout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 90px); max-width: 1120px; margin: clamp(72px, 10vw, 140px) auto 0; padding-block: 24px; text-align: start; }
.lp-cashout__intro { min-width: 0; }
.lp-cashout__scene { position: relative; width: 100%; aspect-ratio: 1024 / 880; pointer-events: none; }
.lp-cashout__scene canvas, .lp-cashout__poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.lp-cashout__scene canvas { opacity: 0; transition: opacity 320ms ease; }
.lp-cashout__poster { opacity: 1; transition: opacity 320ms ease; }
.lp-cashout__scene.is-rendered canvas { opacity: 1; }
.lp-cashout__scene.is-rendered .lp-cashout__poster { opacity: 0; }
.landing-motion .lp-cashout__intro h3 { margin: 0; font-size: clamp(38px, 4.4vw, 64px); line-height: 1.06; letter-spacing: -.055em; font-weight: 800; color: var(--text-primary); }
.lp-cashout__intro h3 span { color: var(--accent); line-height: inherit; letter-spacing: inherit; }
.lp-cashout__intro > p { margin: 22px 0 0; max-width: 370px; color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.lp-cashout__methods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.landing-motion .lp-cashout__methods a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: 100px; background: transparent; color: var(--text-body); font-size: 12px; font-weight: 600; transition: border-color 180ms, color 180ms; }
.lp-cashout__methods a:hover { border-color: var(--accent); color: var(--accent); }
.lp-cashout__methods img { width: 18px; height: 18px; object-fit: contain; }
.lp-cashout__methods i { color: var(--accent); font-size: 16px; }
.lp-receipt-printer { position: relative; width: 100%; max-width: 480px; margin: 36px 0 0; padding-top: 7px; isolation: isolate; }
.lp-receipt-printer__machine { position: absolute; inset: -16px -12px auto; height: 48px; border: 1px solid var(--border-strong); border-radius: 16px; background: var(--member-surface-raised); box-shadow: var(--shadow-md); }
.lp-receipt-printer__machine::after { content: ''; position: absolute; top: 15px; left: 18%; width: 64%; height: 7px; border-radius: 100px; background: var(--bg-base); box-shadow: var(--shadow-xs); }
.lp-receipt-printer__outlet { position: relative; padding-bottom: 12px; overflow: hidden; }
.lp-receipt-printer.is-print-pending .lp-withdrawals--receipt { transform: translateY(calc(-100% - 12px)); }
.landing-motion .lp-withdrawals--receipt { width: 100%; max-width: none; margin: 0; padding: 0 24px; overflow: visible; border: 0; border-radius: 0; background: var(--bg-surface); box-shadow: none; }
.lp-withdrawals--receipt::after { content: ''; position: absolute; top: 100%; inset-inline: 0; height: 12px; background: var(--bg-surface); clip-path: polygon(0 0, 100% 0, 100% 100%, 97% 30%, 94% 100%, 91% 30%, 88% 100%, 85% 30%, 82% 100%, 79% 30%, 76% 100%, 73% 30%, 70% 100%, 67% 30%, 64% 100%, 61% 30%, 58% 100%, 55% 30%, 52% 100%, 49% 30%, 46% 100%, 43% 30%, 40% 100%, 37% 30%, 34% 100%, 31% 30%, 28% 100%, 25% 30%, 22% 100%, 19% 30%, 16% 100%, 13% 30%, 10% 100%, 7% 30%, 4% 100%, 0 30%); }
.landing-motion .lp-withdrawals--receipt .lp-withdrawals__head { display: block; margin: 0; padding: 28px 0 20px; border-bottom: 1px dashed var(--border-strong); }
.landing-motion .lp-withdrawals--receipt .lp-withdrawals__head h3 { font-size: clamp(20px, 2.3vw, 28px); letter-spacing: -.04em; margin: 0 0 10px; font-weight: 700; }
.lp-withdrawals--receipt .lp-withdrawals__head p { max-width: 300px; font-size: 12px; line-height: 1.6; }
.lp-withdrawals--receipt .lp-withdrawals__list { display: block; }
.lp-withdrawals--receipt .lp-withdrawals__row { display: grid; grid-template-columns: 32px minmax(0, 1fr) minmax(0, auto); gap: 12px; padding: 20px 0; min-height: 84px; border: 0; border-bottom: 1px dashed var(--border-strong); border-radius: 0; background: transparent; animation: none; }
.lp-withdrawals--receipt .lp-withdrawals__row img { width: 32px; height: 32px; }
.lp-withdrawals--receipt .lp-withdrawals__person { gap: 5px; }
.lp-withdrawals--receipt .lp-withdrawals__person strong { font-size: 12px; }
.lp-withdrawals--receipt .lp-withdrawals__person span { overflow-wrap: anywhere; font-size: 11px; line-height: 1.5; }
.lp-withdrawals--receipt .lp-withdrawals__payment { grid-column: auto; gap: 5px; padding: 0; border: 0; text-align: end; }
.lp-withdrawals--receipt .lp-withdrawals__payment strong { color: var(--text-primary); font-size: 16px; font-variant-numeric: tabular-nums; }
.lp-withdrawals--receipt .lp-withdrawals__payment span { max-width: 105px; font-size: 10px; line-height: 1.5; }
.lp-withdrawals--receipt .lp-withdrawals__empty { padding: 36px 0; background: transparent; line-height: 1.7; font-size: 13px; }
.lp-withdrawals__proofs { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 16px 0; color: var(--accent); font-size: 12px; font-weight: 600; }
@media (max-width: 899px) {
    .landing-motion .lp-cashout { grid-template-columns: 1fr; max-width: 540px; gap: 44px; margin-top: 72px; }
    .lp-cashout__scene { width: min(100%, 440px); margin-inline: auto; }
    .lp-receipt-printer { max-width: none; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-receipt-printer.is-print-pending .lp-withdrawals--receipt { transform: none; }
}
@media (max-width: 420px) {
    .landing-motion .lp-withdrawals--receipt { padding-inline: 18px; }
    .lp-withdrawals--receipt .lp-withdrawals__row { grid-template-columns: 28px minmax(0, 1fr) minmax(0, auto); gap: 9px; }
    .lp-withdrawals--receipt .lp-withdrawals__row img { width: 28px; height: 28px; }
}
.landing-motion { overflow: clip; --chapter-accent: var(--info); }
.landing-motion .lp-hero { min-height: min(900px, calc(100svh - 64px)); background: var(--bg-base); }
.landing-motion .lp-hero::after { background: radial-gradient(ellipse at 72% 40%, var(--accent-dim), transparent 58%); opacity: .6; }
.landing-motion .lp-hero__backdrop { display: none; }
.landing-motion .lp-hero__grid.page-shell { width: min(100%, 1440px); min-height: min(900px, calc(100svh - 64px)); grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr; gap: 32px; padding: 80px 48px 110px; }
.landing-motion .lp-hero__copy { grid-row: 1; grid-column: 1; align-self: center; padding: 0; z-index: 2; transform: translateY(var(--hero-copy-y, 0px)); }
.landing-motion .lp-hero h1,
html[lang='ro'] .landing-motion .lp-hero h1 { max-width: none; font-size: clamp(48px, 5.2vw, 76px); letter-spacing: -.055em; line-height: 1.06; font-weight: 800; text-wrap: pretty; }
.landing-motion .lp-hero__subtitle { max-width: 430px; margin-top: 28px; font-size: 17px; line-height: 1.75; }
.landing-motion .lp-hero__actions { gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.landing-motion .lp-button { border-radius: 100px; }
.lp-brand-scene { position: absolute; inset: 1% 0 7% 42%; z-index: 0; pointer-events: none; overflow: hidden; }
.lp-brand-scene canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 320ms ease; }
[dir='rtl'] .lp-brand-scene { inset: 1% 42% 7% 0; }
/* This square first-frame render uses the same vertical field of view as the
 * canvas. Size by height, including portrait hosts, so swapping never rescales it. */
.lp-brand-scene__fallback { position: absolute; top: 0; left: 50%; width: auto; max-width: none; height: 100%; aspect-ratio: 1; transform: translateX(-50%); opacity: 1; transition: opacity 320ms ease; }
.lp-brand-scene.is-rendered canvas { opacity: 1; }
.lp-brand-scene.is-rendered .lp-brand-scene__fallback { opacity: 0; }
.landing-motion .lp-phone-stage { grid-column: 2; grid-row: 1; justify-self: end; align-self: end; position: relative; width: min(100%, 330px); height: 205px; padding: 0; margin: 0 -10px -22px 0; overflow: hidden; z-index: 2; border: 1px solid var(--border-strong); border-radius: 20px; background: var(--bg-card); box-shadow: var(--shadow-lg); transform: translateY(var(--hero-card-y, 0px)) rotate(-3deg); }
.landing-motion .lp-phone { width: 100%; height: 400px; padding: 0; border: 0; border-radius: 20px; transform: none; background: var(--bg-card); }
.landing-motion .lp-phone__screen { background: var(--bg-card); border: 0; }
.landing-motion .lp-phone__speaker, .landing-motion .lp-phone__nav, .landing-motion .lp-phone__sort { display: none; }
.landing-motion .lp-phone__track { animation: none; }
.landing-motion .lp-phone__set[aria-hidden='true'] { display: none; }
.landing-motion .lp-phone__topbar { padding: 16px; }
.landing-motion .lp-phone__set { padding: 0 14px; }
.landing-motion .lp-phone:not(:has(.lp-offer)) .lp-phone__viewport { display: none; }
.landing-motion .lp-torox-note { margin: 16px; color: var(--text-muted); font-size: 12px; line-height: 1.7; }
.landing-motion .lp-offer { grid-template-columns: 40px minmax(0, 1fr) auto; min-height: 64px; padding: 9px 0; gap: 9px; border: 0; border-bottom: 1px solid var(--border-subtle); background: transparent; }
.landing-motion .lp-offer__art { width: 40px; height: 40px; }
.landing-motion .lp-offer__copy strong { font-size: 12px; }
.landing-motion .lp-offer__copy small { font-size: 10px; }
.landing-motion .lp-offer__copy > span { display: none; }
.landing-motion .lp-offer > p strong { font-size: 12px; }
.landing-motion .lp-balance { position: absolute; grid-area: auto; z-index: 3; inset: auto auto 64px 49%; width: 215px; display: block; padding: 17px 20px; border: 1px solid var(--accent-border); border-radius: 18px; background: var(--bg-card); box-shadow: var(--shadow-lg); transform: translateY(var(--hero-balance-y, 0px)) rotate(3deg); }
.landing-motion .lp-balance__label { font-size: 10px; }
.landing-motion .lp-balance__amount { margin: 7px 0 0; }
.landing-motion .lp-balance__amount strong { font-size: 31px; }
.landing-motion .lp-balance__amount em { font-size: 11px; }
.landing-motion .lp-balance > p { margin: 0; font-size: 12px; }
.landing-motion .lp-balance__rule, .landing-motion .lp-balance ul, .landing-motion .lp-balance__link { display: none; }
.lp-explore { position: absolute; bottom: 28px; inset-inline-start: 48px; display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--text-muted); letter-spacing: .04em; }
.lp-explore > span { display: grid; place-items: center; width: 29px; height: 38px; border: 1px solid var(--border-strong); border-radius: 20px; color: var(--accent); }
.landing-motion :is(button, a):focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

/* Three earning scenes share one pinned viewport on larger screens. */
.landing-motion .lp-earn-mode__visual img { animation: none; }
.landing-motion .lp-earn-mode__visual::before, .landing-motion .lp-earn-mode__orbit { display: none; }
.landing-motion .lp-earn-mode { background: transparent; box-shadow: none; }
.has-scroll-chapters .lp-earn-modes.page-shell { width: 100%; height: 360svh; padding: 0; position: relative; background: radial-gradient(ellipse at 74% 44%, color-mix(in srgb, var(--chapter-accent) 10%, transparent), transparent 65%); }
.has-scroll-chapters .lp-earn-stage { position: sticky; top: var(--motion-top, 64px); display: flex; flex-direction: column; height: calc(100svh - var(--motion-top, 64px)); min-height: 540px; max-width: 1440px; padding: 30px 48px 25px; margin-inline: auto; }
.has-scroll-chapters .lp-earn-modes__header { margin: 0; max-width: 700px; text-align: start; }
.has-scroll-chapters .lp-earn-modes__header h2 { max-width: 660px; font-size: clamp(24px, 2.8vw, 38px); line-height: 1.16; font-weight: 600; letter-spacing: -.04em; }
.has-scroll-chapters .lp-earn-modes__header > p { max-width: 620px; margin: 10px 0 0; font-size: 13px; }
.has-scroll-chapters .lp-earn-modes__grid { position: relative; display: block; flex: 1; min-height: 0; }
.has-scroll-chapters .lp-earn-mode { position: absolute; inset: 0; min-height: 0; overflow: visible; border: 0; border-radius: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 400ms ease, visibility 400ms; }
.has-scroll-chapters .lp-earn-mode.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.has-scroll-chapters .lp-earn-mode__copy { align-self: center; width: 45%; padding: 0; transform: translateY(var(--chapter-copy-y, 0px)); opacity: var(--chapter-opacity, 1); }
.has-scroll-chapters .lp-earn-mode__copy h3 { max-width: 550px; font-size: clamp(48px, 6.4vw, 88px); line-height: 1.02; font-weight: 800; letter-spacing: -.06em; }
.has-scroll-chapters .lp-earn-mode__copy p { max-width: 390px; margin-top: 24px; font-size: 16px; line-height: 1.8; }
.has-scroll-chapters .lp-earn-mode__copy a { margin-top: 26px; font-size: 14px; gap: 24px; }
.has-scroll-chapters .lp-earn-mode__visual { inset: 0 -3% 0 44%; height: 100%; transform: translateY(var(--chapter-art-y, 0px)) scale(var(--chapter-scale, 1)) rotate(var(--chapter-rotate, 0deg)); opacity: var(--chapter-opacity, 1); }
.has-scroll-chapters .lp-earn-mode__visual img { object-fit: contain; filter: drop-shadow(0 32px 65px var(--shadow-color)); }
.lp-chapter-nav[hidden] { display: none; }
.lp-chapter-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; width: min(100%, 650px); padding: 0; margin: 10px auto 0; }
.lp-chapter-nav button { position: relative; min-height: 52px; padding: 16px 0 0; text-align: start; border: 0; background: transparent; color: var(--text-muted); font: inherit; font-size: 12px; cursor: pointer; }
.lp-chapter-nav button[aria-pressed='true'] { color: var(--text-primary); }
.lp-chapter-nav__line { position: absolute; inset: 0 0 auto; height: 2px; background: var(--border-strong); }
.lp-chapter-nav__line i { display: block; height: 100%; background: var(--chapter-accent); transform-origin: left; transform: scaleX(var(--chapter-progress, 0)); }
[dir='rtl'] .lp-chapter-nav__line i { transform-origin: right; }
.has-scroll-chapters .lp-earn-modes__note { position: absolute; inset: auto 24px 0; margin: 0; font-size: 10px; padding-block: 5px; }

/* Different rhythms after the pinned chapter: wide rewards, stacked steps. */
.landing-motion .lp-rewards { position: relative; padding-block: 110px; }
.landing-motion .lp-rewards__head h2 { font-size: clamp(38px, 5.3vw, 76px); line-height: 1.08; letter-spacing: -.055em; }
.landing-motion .lp-rewards__marquee { transform: perspective(1200px) rotateX(var(--rewards-tilt, 0deg)); transform-origin: center; }
.landing-motion .lp-story.page-shell { padding-block: 100px; gap: 70px; }
.landing-motion .lp-story h2 { font-size: clamp(40px, 4.8vw, 66px); line-height: 1.06; letter-spacing: -.055em; }
.has-scroll-chapters .lp-steps { display: block; padding-bottom: 16vh; }
.has-scroll-chapters .lp-step[data-lp-reveal] { position: sticky; top: calc(var(--motion-top, 64px) + 40px); min-height: 370px; margin-bottom: 13vh; padding: 35px; background: var(--bg-card); border: 1px solid var(--border-strong); transform-origin: center top; transform: translateY(calc(var(--stack-index, 0) * 18px)) scale(var(--stack-scale, 1)); box-shadow: var(--shadow-lg); }
.has-scroll-chapters .lp-step:nth-child(2) { --stack-index: 1; }
.has-scroll-chapters .lp-step:nth-child(3) { --stack-index: 2; }
.has-scroll-chapters .lp-step__copy h3 { font-size: 27px; }
.landing-motion .lp-faq { padding-block: 100px; }

/* Pausing also stops the existing marquees and reveal transitions. */
.landing-motion.is-motion-paused *, .landing-motion.is-motion-paused *::before, .landing-motion.is-motion-paused *::after { animation-play-state: paused !important; }
.landing-motion.is-motion-paused [data-lp-reveal], .landing-motion.is-motion-paused [data-earn-chapter] { opacity: 1; transform: none; transition: none; }
.landing-motion.is-motion-paused .lp-chapter-nav { display: none; }

@media (max-width: 899px), (max-height: 619px) {
    .landing-motion .lp-hero, .landing-motion .lp-hero__grid.page-shell { min-height: 0; }
    .landing-motion .lp-hero__grid.page-shell { grid-template-columns: 1fr; grid-template-rows: auto 300px auto; padding: 44px 24px 95px; gap: 18px; }
    .landing-motion .lp-hero__copy { grid-column: 1; grid-row: 1; text-align: start; }
    .landing-motion .lp-hero h1, html[lang='ro'] .landing-motion .lp-hero h1 { font-size: clamp(36px, 7.4vw, 60px); }
    .landing-motion .lp-hero__subtitle { max-width: 530px; margin-top: 20px; font-size: 15px; }
    .lp-brand-scene, [dir='rtl'] .lp-brand-scene { inset: auto 0 225px; height: 360px; }
    .landing-motion .lp-phone-stage { grid-row: 3; grid-column: 1; width: min(100%, 420px); height: 185px; margin: 0; justify-self: end; transform: none; }
    .landing-motion .lp-balance { inset: auto auto 260px 25px; width: 180px; }
    .lp-explore { inset-inline-start: 24px; font-size: 10px; }
    .landing-motion .lp-hero__actions { gap: 14px; }
    .landing-motion .lp-hero__actions :is(.lp-button, .lp-text-link) { width: auto; }
    .landing-motion .lp-earn-modes.page-shell { padding: 65px 24px; }
    .landing-motion .lp-earn-modes__header { text-align: start; }
    .landing-motion .lp-earn-modes__header h2 { font-size: 32px; }
    .landing-motion .lp-earn-modes__grid { grid-template-columns: 1fr; gap: 55px; }
    .landing-motion .lp-earn-mode { min-height: 630px; border: 0; overflow: clip; border-radius: 0; }
    .landing-motion .lp-earn-mode__copy { padding: 0; }
    .landing-motion .lp-earn-mode__copy h3 { font-size: 44px; line-height: 1.05; letter-spacing: -.05em; }
    .landing-motion .lp-earn-mode__copy p { font-size: 14px; max-width: 500px; }
    .landing-motion .lp-earn-mode__visual { inset: auto 0 0; height: 55%; transform: translateY(var(--mobile-art-y, 0px)); }
    .landing-motion .lp-rewards, .landing-motion .lp-story.page-shell, .landing-motion .lp-faq { padding-block: 60px; }
    .landing-motion .lp-story.page-shell { padding-inline: 24px; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
    .landing-motion *, .landing-motion *::before, .landing-motion *::after { animation: none !important; transition: none !important; }
    .landing-motion [data-lp-reveal], .landing-motion .lp-hero__copy, .landing-motion .lp-phone-stage, .landing-motion .lp-balance, .landing-motion .lp-rewards__marquee, .landing-motion .lp-earn-mode__visual { transform: none; opacity: 1; }
    .landing-motion .lp-chapter-nav { display: none; }
}

.landing-motion .lp-review-invite.page-shell { width: min(100%, 1240px); display: flex; justify-content: flex-start; margin: 0 auto; padding: 0 clamp(24px, 4vw, 48px) 96px; }
.lp-trustpilot-card { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; width: max-content; max-width: 100%; padding: 18px 20px; border: 1px solid var(--border-strong); border-radius: 18px; background: var(--bg-surface); color: var(--text-primary); text-decoration: none; transition: border-color 180ms ease, background 180ms ease; }
.lp-trustpilot-card:hover { border-color: var(--accent); background: var(--bg-surface-hover); color: var(--text-primary); }
.lp-trustpilot-card strong { font-size: 16px; font-weight: 600; line-height: 1.5; }
.lp-trustpilot-card img { display: block; width: 115px; height: 28px; object-fit: contain; }
.landing-motion .lp-final-cta.page-shell { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 700px; width: min(100%, 1200px); margin-inline: auto; padding: 90px 24px 120px; text-align: center; position: relative; isolation: isolate; background: none; }
.lp-final-cta__brand { display: block; width: 128px; height: 128px; margin-bottom: 55px; filter: drop-shadow(0 14px 35px var(--glow-accent)); }
.landing-motion .lp-final-cta h2 { margin: 0; font-size: clamp(52px, 7.2vw, 96px); line-height: 1.02; letter-spacing: -.06em; font-weight: 800; color: var(--text-primary); }
.lp-final-cta p { max-width: 540px; margin: 30px auto 40px; color: var(--text-muted); font-size: 17px; line-height: 1.75; }
.lp-final-cta .lp-button { min-width: 255px; min-height: 52px; }
@media (max-width: 600px) {
    .landing-motion .lp-review-invite.page-shell { padding: 0 24px 64px; }
    .landing-motion .lp-final-cta.page-shell { min-height: 600px; padding: 70px 24px 85px; }
    .lp-final-cta__brand { width: 96px; height: 96px; margin-bottom: 40px; }
    .landing-motion .lp-final-cta h2 { font-size: clamp(40px, 11vw, 60px); }
    .lp-final-cta p { font-size: 15px; margin: 25px auto 32px; }
    .lp-final-cta .lp-button { max-width: 100%; }
}

.landing-motion :is(#review-us, #start-earning) { scroll-margin-top: 88px; }

/* The glow fades out inside its own bounds instead of ending at a section edge. */
.landing-motion .lp-final-cta::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    width: min(110vw, 1100px);
    height: clamp(460px, 62vw, 720px);
    left: 50%;
    top: 36%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, var(--glow-accent) 0%, var(--accent-dim) 24%, color-mix(in srgb, var(--accent-dim) 35%, transparent) 48%, transparent 72%);
    animation: lp-final-glow-pulse 6.5s ease-in-out infinite;
}
@keyframes lp-final-glow-pulse {
    0%, 100% { opacity: 0.12; }
    50% { opacity: 0.78; }
}
@media (prefers-reduced-motion: reduce) {
    .landing-motion .lp-final-cta::before { animation: none; opacity: 0.5; }
}
