/* R3 · easydone.work home, 9:17 pm "the second shift" (the four cards that turn to the fix). Today's cards, words and turning are the base.
   Lifted: the back of each card held a small picture of a screen; now it holds that piece of the app itself, and it plays when the card turns
   (the text gets its Send from a thumb, she signs and it's accepted, the paperwork ticks off, the invoice is paid). A Pause is added. */
html{overflow-x:clip}body{overflow-x:clip;margin:0}
#shift :focus-visible{outline:3px solid var(--gold,#eac51b);outline-offset:4px;border-radius:24px}
.flip{-webkit-tap-highlight-color:transparent}
.flip .face{box-sizing:border-box}
/* a soft light crosses the card's face as it lands on the fix */
.fix::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(104deg,transparent 38%,#ffffffb8 49%,#ffffff3d 55%,transparent 63%) no-repeat;background-size:300% 100%;background-position:130% 0;mix-blend-mode:soft-light;opacity:.9}
.flip.in .fix::after{animation:sf-sweep 1.5s cubic-bezier(.45,0,.3,1) .75s both}
@keyframes sf-sweep{from{background-position:130% 0}to{background-position:-30% 0}}

/* ---------- the piece of the app on the back of a card ---------- */
.mf{position:relative;margin-top:auto;border-radius:16px;background:#fff;border:1px solid #e3ebe6;padding:13px 13px 13px;box-shadow:0 14px 30px -22px #103d3688;font-family:Geist,system-ui,sans-serif;color:#0e1b18;overflow:hidden}
.mf svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;flex:none}
#shift .mf p{margin:0;font:500 14.5px/1.4 Geist,sans-serif;letter-spacing:0;color:#0e1b18}
#shift .mf b{font-weight:650;color:#0e1b18}
#shift .mf small{display:block;margin:0;font:500 12.5px/1.3 Geist,sans-serif;letter-spacing:0;text-transform:none;color:#6b7774}
.mf-h{display:flex;align-items:center;gap:10px}
.mf-h b{font-size:15.5px;display:block;line-height:1.2}
.mf-ic{width:30px;height:30px;border-radius:9px;background:#e2f3f6;color:#0f5e70;display:grid;place-items:center;flex:none}
#shift .mf .mf-msg{min-height:61px;margin-top:10px;padding:9px 11px;border-radius:12px 12px 12px 4px;background:#eef3f1;font-size:14px;line-height:1.4}
.mf-caret{display:inline-block;width:2px;height:15px;margin-left:1px;background:#0f5e70;vertical-align:-2px;animation:mf-blink 1s steps(2) infinite}
.mf.typed .mf-caret,.mf:not(.play) .mf-caret{display:none}
@keyframes mf-blink{50%{opacity:0}}
.mf-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;margin-top:10px;border-radius:11px;background:linear-gradient(180deg,#14697c,#0d5262);color:#fff;font:650 14.5px Geist,sans-serif;transition:transform .16s,filter .16s,background .5s,color .5s}
.mf-btn .a,.mf-btn .b{display:flex;align-items:center;gap:7px}
.mf-btn .b,.sig-ok .b,.mf-inv em .b{display:none}
.mf-btn.is-press{transform:scale(.965);filter:brightness(.9)}
.mf.done .mf-btn{background:#d9f2e3;color:#0a5a36}
.mf.done .mf-btn .a,.mf-sig.done .sig-ok .a,.mf.done .mf-inv em .a{display:none}
.mf.done .mf-btn .b{display:flex}
.mf-sig.done .sig-ok .b,.mf.done .mf-inv em .b{display:inline}
.mf-sig .sig-ok{transition:background .5s}
.mf-sig.done .sig-ok{background:#0a6b45}
.mf-row{display:flex;align-items:center;gap:9px;padding:9px 0 9px;font-size:14.5px}
.mf-row+.mf-row{border-top:1px solid #e9efec}
.mf-h+.mf-row{margin-top:8px;border-top:1px solid #e9efec}
.mf-row b{flex:1;font-weight:600!important}
.mf-row u{font-size:13px;font-weight:600;color:#0f5e70;text-decoration:underline;text-underline-offset:3px;opacity:0;transition:opacity .5s ease}
.mf-ri{color:#6b7774}
.mf-tick{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#e9efec;color:#fff;flex:none;transition:background .4s ease,transform .5s cubic-bezier(.34,1.45,.64,1)}
.mf-tick svg{width:12px;height:12px;stroke-width:3;opacity:0;transition:opacity .3s}
.mf-row .mf-ri{opacity:.5;transition:opacity .5s}
.mf.play .mf-row .mf-tick{background:#0a8a57;transform:scale(1.08)}
.mf.play .mf-row .mf-tick svg,.mf.play .mf-row u,.mf.play .mf-row .mf-ri{opacity:1}
.mf.play .mf-row:nth-of-type(3) .mf-tick,.mf.play .mf-row:nth-of-type(3) .mf-tick svg,.mf.play .mf-row:nth-of-type(3) u,.mf.play .mf-row:nth-of-type(3) .mf-ri{transition-delay:.75s}
.mf.play .mf-row:nth-of-type(4) .mf-tick,.mf.play .mf-row:nth-of-type(4) .mf-tick svg,.mf.play .mf-row:nth-of-type(4) u,.mf.play .mf-row:nth-of-type(4) .mf-ri{transition-delay:1.5s}
.mf-inv{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
#shift .mf-inv b{display:block;font:700 27px/1.1 Geist,sans-serif;letter-spacing:-.03em;margin-top:3px}
.mf-inv em{font:650 12px Geist,sans-serif;font-style:normal;padding:4px 10px;border-radius:99px;background:#fdecd2;color:#8a4b00;transition:background .5s,color .5s}
.mf.done .mf-inv em{background:#d9f2e3;color:#0a5a36}
#shift .mf .mf-sync{display:flex;align-items:center;justify-content:center;gap:7px;height:0;overflow:hidden;opacity:0;font-size:13px;font-weight:600;color:#0a5a36;transition:opacity .6s ease .5s,height .5s cubic-bezier(.2,.8,.2,1) .2s,margin .5s .2s}
#shift .mf.done .mf-sync{height:20px;margin-top:9px;opacity:1}
.mf-thumb{position:absolute;left:0;top:0;z-index:5;width:42px;height:42px;margin:-21px 0 0 -21px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#ffffff8c,#b9c3cc66 60%,#8b97a366);box-shadow:inset 0 0 0 1.5px #ffffffb3,0 8px 18px -6px #0e111680,0 0 0 1px #0e11161f;opacity:0;transition:opacity .4s ease;pointer-events:none;will-change:transform}
.mf-thumb.on{opacity:1}
.mf-ring{position:absolute;left:0;top:0;z-index:4;width:54px;height:54px;margin:-27px 0 0 -27px;border-radius:50%;border:3px solid #eac51b;opacity:0;pointer-events:none}
.mf-ring.go{animation:mf-ring .9s cubic-bezier(.2,.6,.2,1) both}
@keyframes mf-ring{0%{opacity:0;transform:scale(.3)}25%{opacity:.95}100%{opacity:0;transform:scale(1.3)}}

.sf-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;margin-top:14px}
.sf-foot .flip-hint{margin:0}
.sf-pp{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border-radius:999px;border:1.5px solid #ffffff47;font:700 14.5px 'Manrope',sans-serif;color:#fff;cursor:pointer;transition:background .3s,border-color .3s}
.sf-pp:hover{background:#ffffff14;border-color:#ffffff80}
#shift .sf-pp:focus-visible{border-radius:999px}
.sf-pp::before{content:"";width:10px;height:12px;margin-right:9px;border-left:3.5px solid currentColor;border-right:3.5px solid currentColor;box-sizing:border-box}
.sf-pp[aria-pressed=true]::before{width:0;height:0;border:6.5px solid transparent;border-left:11px solid currentColor;border-right:0}
.sf-pp[hidden]{display:none}

.calm .flip,.calm .mf *,.calm .mf-sig *{transition:none!important;animation:none!important}
.calm .fix::after,.calm .mf-thumb,.calm .mf-ring,.calm .mf-caret{display:none}
@media (prefers-reduced-motion:reduce){.flip,.mf *,.mf-sig *{transition:none!important;animation:none!important}.fix::after,.mf-thumb,.mf-ring,.mf-caret{display:none}}
.calm .edsig .edsig-pen,.calm .edsig .edsig-fl{stroke-dashoffset:0!important;opacity:1!important}
#shift .sigpad{overflow:hidden}
#shift .sigpad .edsig{height:82px;max-width:100%}

/* ---------- the piece of the app sits in its device: the top of a phone (the iPad, for the signature) rising from the foot of the card ---------- */
.fix{padding-bottom:0!important}
.fix .mf,.fix .mf-sig{margin:auto 2px 0;border:6px solid #0b100f;border-bottom:0;border-radius:30px 30px 0 0;padding:30px 12px 20px;background:linear-gradient(180deg,#f6f7f9,#eceef3);box-shadow:0 0 0 1px #33403c,0 -16px 34px -20px #0e2a2599,0 -2px 0 0 #4a5a55 inset;overflow:hidden}
.fix .mf-sig{border-radius:22px 22px 0 0;padding:20px 14px 20px;background:linear-gradient(180deg,#f6f7f9,#eceef3)}
.mf-sb{position:absolute;left:0;right:0;top:0;height:28px;display:flex;align-items:center;justify-content:space-between;padding:2px 16px 0;font:650 11px/1 Geist,sans-serif;color:#0e1b18}
.mf-sb i{position:absolute;left:50%;top:7px;width:54px;height:15px;margin-left:-27px;border-radius:9px;background:#0b0b0c}
.mf-sb em{display:flex;align-items:flex-end;gap:2px}
.mf-sb em b{width:3px;border-radius:1px;background:#0e1b18}.mf-sb em b:nth-child(1){height:4px}.mf-sb em b:nth-child(2){height:6px}.mf-sb em b:nth-child(3){height:8px}
.mf-sb em u{width:17px;height:9px;margin-left:3px;border-radius:2.5px;border:1.2px solid #0e1b18;box-sizing:border-box;background:linear-gradient(#0e1b18,#0e1b18) 1px 50%/70% 4px no-repeat}
.fix .mf{padding:34px 11px 20px}
.fix .mf .mf-ri{display:none}
.fix .mf .mf-row{font-size:14px;padding:8px 2px}
#shift .fix .mf .mf-msg{font-size:13.5px;min-height:58px;padding:8px 10px}
/* the glass takes the light once as the card lands */
.fix .mf::after,.fix .mf-sig::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:6;background:linear-gradient(104deg,transparent 36%,#ffffffd9 47%,#ffffff40 54%,transparent 62%) no-repeat;background-size:300% 100%;background-position:130% 0}
.flip.in .fix .mf::after,.flip.in .fix .mf-sig::after{animation:sf-sweep 1.7s cubic-bezier(.45,0,.3,1) .95s both}
.fix::after{display:none}
.fix .mf-sig{position:relative}
.mf-text .mf-h,.mf-paper .mf-h{padding:0 2px}
#shift .mf .mf-msg{background:#fff;border:1px solid #e3e7ec}
.mf-paper .mf-row,.mf-pay .mf-inv{background:transparent}
.mf-pay .mf-inv{padding:0 2px}
.fix .mf-sig .sigpad{background:#fff}
.calm .fix .mf::after,.calm .fix .mf-sig::after{display:none}
@media (prefers-reduced-motion:reduce){.fix .mf::after,.fix .mf-sig::after{display:none}}
.fix .mf{width:100%;max-width:292px;align-self:center;box-sizing:border-box}
.fix .mf-sig{width:100%;max-width:400px;align-self:center;box-sizing:border-box}
