/* mozkan.com — home page. Theme tokens come from theme.css.
   App scenes (.sc) are drawn in "em" on a 52 × 44 em canvas that scales with its container. */

.mz { overflow-x: clip; }
.mz-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.mz-eyebrow img { border-radius: 5px; }
.mz-spec { background: linear-gradient(100deg, #ff7a5c, #ffc93d 30%, #3ddb8f 52%, #38bdf8 72%, #8b6cff); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: mzSpec 9s ease-in-out infinite alternate; }
@keyframes mzSpec { to { background-position: 100% 0; } }
.mz-h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1.04; letter-spacing: -.035em; font-weight: 750; margin: 14px 0 0; }
.mz-sub { color: var(--text-2); font-size: clamp(17px, 1.8vw, 20px); line-height: 1.5; max-width: 640px; margin: 18px auto 0; }
.mz-head { margin-bottom: 56px; }
.mz-btn-glass { background: rgba(255,255,255,.06); color: var(--text); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mz-btn-glass:hover { background: rgba(255,255,255,.1); }

/* ---------- hero ---------- */
.mz-hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); isolation: isolate; }
.mz-sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.mz-sky i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: mzBlob 18s ease-in-out infinite alternate; }
.mz-sky .b1 { width: 520px; height: 520px; left: -140px; top: -120px; background: #5b5cf0; }
.mz-sky .b2 { width: 460px; height: 460px; right: -120px; top: 40px; background: #ff7a66; opacity: .38; animation-delay: -6s; }
.mz-sky .b3 { width: 420px; height: 420px; left: 40%; bottom: -260px; background: #14b8a6; opacity: .3; animation-delay: -11s; }
@keyframes mzBlob { to { transform: translate(60px, 40px) scale(1.12); } }
.mz-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); }
.mz-spot { position: absolute; width: 600px; height: 600px; left: var(--mx, -999px); top: var(--my, -999px); transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(139,108,255,.16), transparent 60%); pointer-events: none; }
.mz-hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.mz-title { font-size: clamp(44px, 6.6vw, 84px); line-height: .98; letter-spacing: -.045em; font-weight: 780; margin: 22px 0 0; }
.mz-title .mz-spec { display: inline-block; padding-bottom: .08em; }
.mz-lead { color: var(--text-2); font-size: clamp(18px, 1.9vw, 21px); line-height: 1.5; margin: 24px 0 0; max-width: 560px; }
.mz-cta { margin-top: 32px; }
.mz-facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 34px; }
.mz-facts li { display: flex; flex-direction: column; }
.mz-facts strong { font-size: 34px; font-weight: 750; letter-spacing: -.03em; line-height: 1; }
.mz-facts span { font-size: 13px; color: var(--text-3); margin-top: 6px; }

.mz-cloud { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; perspective: 900px; }
.mz-cloud-glow { position: absolute; inset: 18%; border-radius: 50%; background: conic-gradient(from 0deg, #ff5a4e, #ffc93d, #3ddb8f, #38bdf8, #8b6cff, #ff5a4e); filter: blur(60px); opacity: .32; animation: mzSpin 16s linear infinite; }
@keyframes mzSpin { to { transform: rotate(1turn); } }
.mz-cloud-core { position: absolute; left: 50%; top: 50%; width: 22%; height: auto; transform: translate(-50%, -50%); border-radius: 23%; box-shadow: 0 30px 70px -10px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.12); z-index: 50; animation: mzBob 6s ease-in-out infinite; }
@keyframes mzBob { 50% { transform: translate(-50%, -54%); } }
.mz-cloud-app { position: absolute; left: 50%; top: 50%; width: 17%; margin: -8.5% 0 0 -8.5%; display: block; will-change: transform; }
.mz-cloud-app img { width: 100%; height: auto; border-radius: 23%; display: block; box-shadow: 0 18px 40px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1), 0 0 34px -6px var(--c); transition: transform .25s; }
.mz-cloud-app span { position: absolute; left: 50%; top: 104%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 650; color: var(--text); background: rgba(10,10,18,.75); padding: 3px 9px; border-radius: 999px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.mz-cloud-app:hover img { transform: scale(1.1); }
.mz-cloud-app:hover span, .mz-cloud-app:focus-visible span { opacity: 1; }
.mz-cloud-app:hover { text-decoration: none; }

/* ---------- sticky app index ---------- */
.mz-index { position: sticky; top: 60px; z-index: 40; padding: 10px 0; background: rgba(7,7,13,.72); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-block: 1px solid rgba(255,255,255,.06); scroll-margin-top: 60px; }
.mz-index-in { display: flex; gap: 8px; justify-content: center; overflow-x: auto; padding: 0 16px; scrollbar-width: none; }
.mz-index-in::-webkit-scrollbar { display: none; }
.mz-index a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 6px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text-2); border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s; }
.mz-index a img { width: 24px; height: 24px; border-radius: 6px; }
.mz-index a:hover { color: var(--text); text-decoration: none; background: rgba(255,255,255,.05); }
.mz-index a.on { color: #fff; border-color: color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 18%, transparent); }
@media (max-width: 1080px) { .mz-index-in { justify-content: flex-start; } }

/* ---------- app chapters ---------- */
.mz-app { position: relative; padding: clamp(64px, 10vw, 130px) 0; scroll-margin-top: 112px; isolation: isolate; }
.mz-app::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 78% 50%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%); }
.mz-app.flip::before { background: radial-gradient(50% 60% at 22% 50%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%); }
.mz-app + .mz-app { border-top: 1px solid rgba(255,255,255,.04); }
.mz-app-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.mz-app.flip .mz-app-copy { order: 2; }
.mz-num { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--c); }
.mz-num i { font-style: normal; color: var(--text-3); }
.mz-app-id { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.mz-app-id img { border-radius: 15px; box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--c) 70%, transparent), 0 0 0 1px rgba(255,255,255,.1); }
.mz-app-id h2 { font-size: 30px; font-weight: 750; letter-spacing: -.025em; margin: 0; line-height: 1.1; }
.mz-app-id span { font-size: 13.5px; color: var(--text-3); }
.mz-hook { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.035em; font-weight: 750; margin: 26px 0 0;
  background: linear-gradient(100deg, #fff 30%, var(--c2) 70%, var(--c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mz-app-copy > p:not(.mz-hook) { color: var(--text-2); font-size: 17.5px; line-height: 1.6; margin: 18px 0 0; max-width: 540px; }
.mz-pts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.mz-pts li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--text); }
.mz-pts li::before { content: ""; position: absolute; left: 0; top: .28em; width: 17px; height: 17px; border-radius: 50%; background: color-mix(in srgb, var(--c) 22%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent); }
.mz-pts li::after { content: ""; position: absolute; left: 5.5px; top: calc(.28em + 4.5px); width: 6px; height: 3.5px; border: solid var(--c); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.mz-app-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.mz-app-cta .badges { gap: 10px; }
.mz-app-cta .store-badge { height: 46px; }
.mz-app-cta .btn[aria-disabled] { background: rgba(255,255,255,.07); color: var(--text-2); box-shadow: none; border: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.mz-btn-app { background: var(--c); color: #0b0b12; font-weight: 700; box-shadow: 0 12px 30px -12px var(--c); }
.mz-btn-app:hover { filter: brightness(1.08); }
#mistermoney .mz-btn-app, #halcyday .mz-btn-app { color: #14110a; }

.mz-stage { position: relative; border-radius: 28px; padding: 1px; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 60%, transparent), rgba(255,255,255,.06) 40%, color-mix(in srgb, var(--c2) 40%, transparent)); box-shadow: 0 40px 100px -40px color-mix(in srgb, var(--c) 60%, transparent), 0 30px 60px -30px rgba(0,0,0,.9); }
.mz-stage { container-type: inline-size; }
.sc { --L: 10s; font-size: calc(100cqw / 52); position: relative; aspect-ratio: 52 / 44; border-radius: 27px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #17172a, #0b0b14 70%); }
.sc .caret { display: inline-block; width: .12em; height: 1.1em; background: currentColor; vertical-align: -.15em; margin-left: .1em; animation: scCaret 1s steps(2) infinite; }
@keyframes scCaret { 50% { opacity: 0; } }
.sc.fade { transition: opacity .45s; opacity: 0; }
/* paused / not yet visible: keep the composed final frame, no motion */
.sc:not(.run) *, .sc:not(.run) *::before, .sc:not(.run) *::after { animation-play-state: paused !important; }
.sc:not(.run).idle *, .sc:not(.run).idle *::before, .sc:not(.run).idle *::after { animation: none !important; }

/* ===== 01 PDF Search ===== */
.sc-ps { --L: 10s; }
.ps-q { position: absolute; left: 6em; right: 6em; top: 3.4em; height: 4.4em; border-radius: 2.2em; background: rgba(255,255,255,.07); border: .1em solid rgba(255,255,255,.14); display: flex; align-items: center; gap: .9em; padding: 0 1.6em; color: #fff; }
.ps-q svg { width: 1.9em; height: 1.9em; flex: none; fill: none; stroke: #ff7a66; stroke-width: 2.4; stroke-linecap: round; }
.ps-q span { font-size: 1.8em; font-weight: 600; letter-spacing: -.01em; }
.ps-pages { position: absolute; left: 4em; right: 4em; top: 11em; height: 19em; }
.pg { position: absolute; top: 1em; width: 8.6em; height: 11.6em; border-radius: .6em; background: #f6f3ee; box-shadow: 0 1em 2em -1em rgba(0,0,0,.8); padding: 1.1em .9em; display: flex; flex-direction: column; gap: .62em; transform-origin: 50% 100%; }
.pg b { height: .9em; width: 60%; background: #2b2b33; border-radius: .2em; margin-bottom: .2em; }
.pg i { height: .45em; background: #c9c4bc; border-radius: .2em; }
.pg i:nth-child(odd) { width: 85%; }
.pg i.hl { background: #c9c4bc; position: relative; }
.pg i.hl::after { content: ""; position: absolute; inset: -.18em -.15em; background: #ffd23d; border-radius: .2em; mix-blend-mode: multiply; transform-origin: left; animation: psHl var(--L) both; }
.pg em { position: absolute; top: -.9em; right: -.9em; min-width: 2.2em; height: 2.2em; border-radius: 1.1em; background: #ff5a4a; color: #fff; font: 700 1.2em/2.2em system-ui; text-align: center; font-style: normal; box-shadow: 0 .4em 1em rgba(255,90,74,.6); animation: psPop var(--L) both; }
.p1 { left: 0; transform: rotate(-7deg); } .p2 { left: 8.4em; top: .2em; transform: rotate(-3deg); } .p3 { left: 16.8em; z-index: 3; } .p4 { left: 25.2em; top: .2em; transform: rotate(3deg); } .p5 { left: 33.6em; transform: rotate(7deg); }
.p1 { animation: psDim1 var(--L) both; } .p2 { animation: psDim2 var(--L) both; } .p4 { animation: psDim4 var(--L) both; } .p5 { animation: psDim5 var(--L) both; }
.p3 { animation: psBest var(--L) cubic-bezier(.2,.8,.2,1) both; }
.p3 .rank { position: absolute; bottom: -1.2em; left: 50%; transform: translateX(-50%); white-space: nowrap; background: #fff; color: #e0453a; font: 800 1.05em system-ui; padding: .35em .9em; border-radius: 1em; box-shadow: 0 .4em 1.2em rgba(0,0,0,.4); animation: psRank var(--L) both; }
.ps-beam { position: absolute; top: -1em; bottom: 2em; width: .4em; left: 0; background: #ff5a4a; border-radius: .2em; box-shadow: 0 0 1.5em .4em rgba(255,90,74,.7), 0 0 4em 1em rgba(255,90,74,.35); animation: psBeam var(--L) ease-in-out both; z-index: 5; }
.ps-chat { position: absolute; left: 7em; right: 7em; bottom: 3em; padding: 1.3em 1.6em; border-radius: 1.4em; background: rgba(28,28,44,.92); border: .1em solid rgba(255,255,255,.12); box-shadow: 0 1.5em 3em -1em rgba(0,0,0,.8); color: #e9e8f6; animation: psChat var(--L) cubic-bezier(.2,.8,.2,1) both; z-index: 6; }
.ps-ai { font: 700 1.1em system-ui; color: #ff9b6b; letter-spacing: .02em; }
.ps-chat p { margin: .4em 0 0; font-size: 1.45em; line-height: 1.4; }
.ps-chat b { color: #fff; }
.ps-chat .cite { display: inline-block; font-size: .8em; font-weight: 800; color: #fff; background: #e0453a; padding: 0 .4em; border-radius: .35em; animation: psCite var(--L) both; }
.ps-chat small { display: block; margin-top: .5em; color: #8e8ca8; font-size: 1.05em; }
.ps-tag { position: absolute; left: 50%; top: 7.7em; transform: translateX(-50%); font: 600 1.2em system-ui; color: #8e8ca8; white-space: nowrap; animation: psTag var(--L) both; }
@keyframes psBeam { 0%, 14% { left: -2%; opacity: 0; } 16% { opacity: 1; } 42% { left: 100%; opacity: 1; } 44%, 100% { left: 100%; opacity: 0; } }
@keyframes psHl { 0%, 22% { transform: scaleX(0); } 30%, 100% { transform: scaleX(1); } }
@keyframes psPop { 0%, 30% { transform: scale(0); } 34% { transform: scale(1.25); } 37%, 100% { transform: scale(1); } }
@keyframes psBest { 0%, 44% { transform: none; } 52%, 100% { transform: translateY(-1.4em) scale(1.18); } }
@keyframes psDim1 { 0%, 44% { opacity: 1; } 52%, 100% { opacity: .35; transform: rotate(-9deg) translateX(-.6em); } }
@keyframes psDim2 { 0%, 44% { opacity: 1; } 52%, 100% { opacity: .35; transform: rotate(-4deg) translateX(-.4em); } }
@keyframes psDim4 { 0%, 44% { opacity: 1; } 52%, 100% { opacity: .35; transform: rotate(4deg) translateX(.4em); } }
@keyframes psDim5 { 0%, 44% { opacity: 1; } 52%, 100% { opacity: .35; transform: rotate(9deg) translateX(.6em); } }
@keyframes psRank { 0%, 50% { opacity: 0; transform: translate(-50%, .6em); } 55%, 100% { opacity: 1; transform: translateX(-50%); } }
@keyframes psChat { 0%, 58% { opacity: 0; transform: translateY(2em) scale(.96); } 64%, 100% { opacity: 1; transform: none; } }
@keyframes psCite { 0%, 70% { box-shadow: none; } 74% { box-shadow: 0 0 0 .35em rgba(224,69,58,.45); } 80%, 100% { box-shadow: none; } }
@keyframes psTag { 0%, 14% { opacity: 0; } 18%, 42% { opacity: 1; } 46%, 100% { opacity: 0; } }

/* ===== 02 Backup Disk ===== */
.sc-bd { --L: 8s; background: radial-gradient(90% 80% at 50% 0%, #0f2350, #070b18 75%); }
.bd-mac { position: absolute; left: 3em; top: 13em; width: 22em; }
.bd-mac .scr { height: 14em; border-radius: 1em 1em .2em .2em; background: #0d1426; border: .5em solid #2a2f3a; padding: 1.1em; display: grid; gap: .7em; align-content: start; }
.bd-mac .base { height: 1em; margin: 0 -2.2em; border-radius: 0 0 1.2em 1.2em; background: linear-gradient(#c9ccd3, #8a8f99); }
.bd-row { display: grid; grid-template-columns: 1.6em 1fr; grid-template-rows: auto .4em; column-gap: .7em; row-gap: .3em; align-items: center; color: #cfe0ff; font: 600 1.1em system-ui; }
.bd-row .fd { grid-row: span 2; width: 1.6em; height: 1.25em; border-radius: .2em; background: linear-gradient(#5ab2ff, #2f7ff0); position: relative; }
.bd-row .fd::before { content: ""; position: absolute; left: 0; top: -.25em; width: .7em; height: .4em; border-radius: .15em .15em 0 0; background: #5ab2ff; }
.bd-row i { display: block; height: .35em; border-radius: .2em; background: rgba(255,255,255,.1); overflow: hidden; }
.bd-row i b { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #3b82f6, #38bdf8); transform-origin: left; animation: bdFill var(--L) cubic-bezier(.3,.6,.3,1) both; }
.bd-row.r2 b { animation-name: bdFill2; } .bd-row.r3 b { animation-name: bdFill3; } .bd-row.r4 b { animation-name: bdFill4; }
@keyframes bdFill { 0%, 8% { transform: scaleX(0); } 34%, 100% { transform: scaleX(1); } }
@keyframes bdFill2 { 0%, 18% { transform: scaleX(0); } 48%, 100% { transform: scaleX(1); } }
@keyframes bdFill3 { 0%, 28% { transform: scaleX(0); } 62%, 100% { transform: scaleX(1); } }
@keyframes bdFill4 { 0%, 36% { transform: scaleX(0); } 72%, 100% { transform: scaleX(1); } }
.bd-link, .bd-packets { position: absolute; inset: 0; width: 100%; height: 100%; }
.bd-link path { stroke: rgba(120,170,255,.35); stroke-width: 2; stroke-dasharray: 6 8; animation: bdDash 1s linear infinite; }
@keyframes bdDash { to { stroke-dashoffset: -28; } }
.bd-packets { animation: bdPk var(--L) both; }
.bd-packets .pk { filter: drop-shadow(0 0 6px rgba(56,189,248,.9)); }
@keyframes bdPk { 0%, 6% { opacity: 0; } 10%, 74% { opacity: 1; } 80%, 100% { opacity: 0; } }
.bd-phone { position: absolute; right: 5em; top: 10.5em; width: 12.5em; height: 25em; border-radius: 2.2em; background: #1b1f2a; padding: .55em; box-shadow: 0 2em 4em -1em rgba(0,0,0,.8), inset 0 0 0 .12em #3a4050; }
.bd-phone .scr { height: 100%; border-radius: 1.7em; background: linear-gradient(170deg, #1d4ed8, #0b1e4d 60%); display: flex; flex-direction: column; align-items: center; padding-top: 3em; color: #fff; }
.bd-phone small { font: 600 1.1em system-ui; opacity: .7; }
.bd-phone strong { font: 750 2.3em/1.2 system-ui; letter-spacing: -.02em; margin-top: .4em; }
.bd-ring { position: relative; width: 6.5em; height: 6.5em; margin-top: 1.6em; }
.bd-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 3.4; }
.bd-ring circle { stroke: rgba(255,255,255,.15); }
.bd-ring .v { stroke: #7dd3fc; stroke-linecap: round; stroke-dasharray: 100.6; animation: bdRing var(--L) cubic-bezier(.3,.6,.3,1) both; }
.bd-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6em; font-weight: 800; color: #7dd3fc; animation: bdOk var(--L) both; }
.bd-phone em { margin-top: 1.4em; font: 700 1.25em system-ui; font-style: normal; color: #bae6fd; animation: bdOk var(--L) both; }
@keyframes bdRing { 0%, 8% { stroke-dashoffset: 100.6; } 74%, 100% { stroke-dashoffset: 0; } }
@keyframes bdOk { 0%, 74% { opacity: 0; transform: scale(.6); } 80%, 100% { opacity: 1; transform: none; } }
.bd-chip { position: absolute; padding: .5em 1.1em; border-radius: 1.2em; font: 650 1.15em system-ui; color: #dbeafe; background: rgba(59,130,246,.18); border: .08em solid rgba(125,211,252,.35); }
.bd-chip.c1 { left: 14.8em; top: 3.65em; animation: mzFloat 4s ease-in-out infinite; }
.bd-chip.c2 { left: 3.5em; bottom: 2.6em; animation: mzFloat 4s ease-in-out -2s infinite; }
@keyframes mzFloat { 50% { transform: translateY(-.5em); } }

/* ===== 03 PDF Eye ===== */
.sc-pe { --L: 9.5s; background: radial-gradient(90% 90% at 50% 10%, #2a1a1a, #0e0a0b 75%); }
.pe-desk { position: absolute; inset: 0; background: repeating-linear-gradient(100deg, rgba(255,255,255,.012) 0 .4em, transparent .4em 1.4em); }
.pe-paper { position: absolute; left: 13em; top: 4em; width: 26em; height: 35em; border-radius: .4em; background: #fbf8f1; box-shadow: 0 2em 4em -1em rgba(0,0,0,.9); padding: 2.2em 2.2em; color: #2a2522; animation: peDeskew var(--L) cubic-bezier(.3,.7,.2,1) both; }
@keyframes peDeskew { 0%, 30% { transform: rotate(-8deg) translate(-.8em, .6em) scale(.94); filter: brightness(.82) sepia(.3); } 40%, 100% { transform: none; filter: none; } }
.pe-head { display: flex; align-items: center; justify-content: space-between; }
.pe-head .dot { width: 2em; height: 2em; border-radius: 50%; background: #e5141b; }
.pe-head b { font: 800 1.9em system-ui; letter-spacing: .04em; }
.pe-paper .l { display: block; height: .5em; background: #d9d2c6; border-radius: .2em; margin-top: .8em; }
.pe-paper .l:first-of-type { margin-top: 1.8em; }
.w70 { width: 70%; } .w50 { width: 50%; } .w60 { width: 60%; }
.pe-items { display: grid; grid-template-columns: 1fr auto; gap: .9em 1em; margin-top: 2.4em; font: 500 1.3em system-ui; color: #4a423c; }
.pe-items span:nth-child(even) { font-variant-numeric: tabular-nums; }
.pe-total { display: flex; justify-content: space-between; align-items: center; margin-top: 2em; padding-top: 1.2em; border-top: .12em solid #2a2522; font: 800 1.6em system-ui; }
.pe-val { position: relative; display: inline-grid; padding: .1em .3em; border-radius: .2em; }
.pe-val > * { grid-area: 1 / 1; }
.pe-val s { text-decoration: none; animation: peOld var(--L) both; }
.pe-val b { animation: peNew var(--L) both; }
.pe-val::before { content: ""; position: absolute; inset: -.15em -.2em; border-radius: .25em; border: .1em solid #3b82f6; background: rgba(59,130,246,.12); animation: peSel var(--L) both; }
.pe-val .cur { position: absolute; right: -.05em; top: .1em; bottom: .1em; width: .08em; background: #3b82f6; animation: peSel var(--L) both, scCaret .8s steps(2) infinite; }
@keyframes peSel { 0%, 50% { opacity: 0; } 53%, 70% { opacity: 1; } 74%, 100% { opacity: 0; } }
@keyframes peOld { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0; } }
@keyframes peNew { 0%, 60% { opacity: 0; } 61%, 100% { opacity: 1; } }
.pe-sign { position: absolute; right: 2em; bottom: 2.4em; width: 13em; height: 4em; fill: none; stroke: #1e3a8a; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 520; animation: peSign var(--L) ease-in-out both; }
@keyframes peSign { 0%, 72% { stroke-dashoffset: 520; } 88%, 100% { stroke-dashoffset: 0; } }
.pe-ocr i { position: absolute; left: 2em; right: 2em; top: var(--y); height: 1.6em; border-radius: .3em; background: rgba(229,20,27,.14); box-shadow: inset 0 0 0 .08em rgba(229,20,27,.5); animation: peOcr var(--L) both; }
.pe-ocr i:nth-child(2) { animation-name: peOcr2; } .pe-ocr i:nth-child(3) { animation-name: peOcr3; } .pe-ocr i:nth-child(4) { animation-name: peOcr4; }
@keyframes peOcr { 0%, 30% { opacity: 0; } 33%, 46% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes peOcr2 { 0%, 32% { opacity: 0; } 35%, 46% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes peOcr3 { 0%, 34% { opacity: 0; } 37%, 46% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes peOcr4 { 0%, 36% { opacity: 0; } 39%, 46% { opacity: 1; } 50%, 100% { opacity: 0; } }
.pe-finder { position: absolute; left: 13em; top: 4em; width: 26em; height: 35em; animation: peFinder var(--L) cubic-bezier(.3,.7,.2,1) both; }
.pe-finder i { position: absolute; width: 3.4em; height: 3.4em; border: .45em solid #ff3b3b; filter: drop-shadow(0 0 .6em rgba(255,59,59,.7)); }
.pe-finder i:nth-child(1) { left: -1em; top: -1em; border-width: .45em 0 0 .45em; border-radius: .9em 0 0 0; }
.pe-finder i:nth-child(2) { right: -1em; top: -1em; border-width: .45em .45em 0 0; border-radius: 0 .9em 0 0; }
.pe-finder i:nth-child(3) { left: -1em; bottom: -1em; border-width: 0 0 .45em .45em; border-radius: 0 0 0 .9em; }
.pe-finder i:nth-child(4) { right: -1em; bottom: -1em; border-width: 0 .45em .45em 0; border-radius: 0 0 .9em 0; }
@keyframes peFinder { 0% { opacity: 0; transform: scale(1.25); } 8% { opacity: 1; transform: scale(1.25); } 18% { transform: rotate(-8deg) translate(-.8em, .6em) scale(.96); } 30% { opacity: 1; transform: rotate(-8deg) translate(-.8em, .6em) scale(.96); } 40% { opacity: 1; transform: none; } 48%, 100% { opacity: 0; transform: none; } }
.pe-laser { position: absolute; left: 11em; right: 11em; height: .35em; top: 4em; background: #ff3b3b; border-radius: .2em; box-shadow: 0 0 1.4em .4em rgba(255,59,59,.65); animation: peLaser var(--L) ease-in-out both; }
@keyframes peLaser { 0%, 18% { opacity: 0; transform: translateY(0); } 20% { opacity: 1; } 31% { opacity: 1; transform: translateY(34em); } 33%, 100% { opacity: 0; transform: translateY(34em); } }
.pe-stamp { position: absolute; right: 2em; top: 3em; padding: .3em .9em; border: .25em solid #16a34a; border-radius: .6em; color: #16a34a; font: 900 2em system-ui; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.05); transform: rotate(12deg); animation: peStamp var(--L) both; }
@keyframes peStamp { 0%, 88% { opacity: 0; transform: rotate(12deg) scale(2); } 92%, 100% { opacity: 1; transform: rotate(12deg) scale(1); } }

/* ===== 04 Auto Localize ===== */
.sc-al { --L: 8.5s; background: radial-gradient(100% 80% at 30% 0%, #0f2f2d, #0a0a16 70%); }
.al-hello { position: absolute; left: 0; right: 0; top: 2.8em; text-align: center; }
.al-word { display: inline-block; font: 800 4.6em/1 system-ui; letter-spacing: -.03em; background: linear-gradient(100deg, #5eead4, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .1em .1em; }
.al-word.swap { animation: alSwap .75s cubic-bezier(.2,.8,.2,1); }
@keyframes alSwap { from { opacity: 0; transform: translateY(.35em) rotateX(60deg); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.al-win { position: absolute; left: 4em; right: 4em; top: 9.6em; border-radius: 1.2em; background: rgba(18,22,34,.92); border: .1em solid rgba(255,255,255,.1); box-shadow: 0 2em 4em -1.5em rgba(0,0,0,.9); overflow: hidden; }
.al-bar { display: flex; align-items: center; gap: .5em; padding: .9em 1.2em; background: rgba(255,255,255,.04); border-bottom: .08em solid rgba(255,255,255,.07); }
.al-bar i { width: .9em; height: .9em; border-radius: 50%; background: #ff5f57; } .al-bar i:nth-child(2) { background: #febc2e; } .al-bar i:nth-child(3) { background: #28c840; }
.al-bar span { margin-left: .8em; font: 600 1.1em ui-monospace, Menlo, monospace; color: #9aa3b5; }
.al-key { display: flex; justify-content: space-between; gap: 1em; padding: 1em 1.6em; font-size: 1.25em; border-bottom: .08em solid rgba(255,255,255,.06); }
.al-key code { color: #5eead4; font: 600 1em ui-monospace, Menlo, monospace; }
.al-key span { color: #fff; font-weight: 600; }
.al-rows > div { display: grid; grid-template-columns: 2.6em 1fr 1.6em; align-items: center; padding: .55em 1.3em; font-size: 1.25em; border-bottom: .06em solid rgba(255,255,255,.04); }
.al-rows b { font: 700 .85em ui-monospace, Menlo, monospace; color: #a78bfa; text-transform: uppercase; }
.al-rows span { color: #e7e9f2; white-space: nowrap; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); animation: alType var(--L) steps(18) both; animation-delay: calc(var(--i) * .55s); clip-path: inset(0 0 0 0); }
.al-rows em { font-style: normal; color: #34d399; font-weight: 800; text-align: right; animation: alOk var(--L) both; animation-delay: calc(var(--i) * .55s); }
@keyframes alType { 0%, 8% { clip-path: inset(0 100% 0 0); } 18%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes alOk { 0%, 18% { opacity: 0; transform: scale(0); } 21%, 100% { opacity: 1; transform: none; } }
.al-models { position: absolute; left: 0; right: 0; bottom: 2.2em; display: flex; justify-content: center; gap: .7em; flex-wrap: wrap; padding: 0 2em; }
.al-models span { padding: .45em 1em; border-radius: 1.2em; font: 650 1.1em system-ui; color: #a8b2c4; border: .08em solid rgba(255,255,255,.12); animation: alModel 6s infinite; }
.al-models span:nth-child(2) { animation-delay: 1.5s; } .al-models span:nth-child(3) { animation-delay: 3s; } .al-models span:nth-child(4) { animation-delay: 4.5s; }
@keyframes alModel { 0%, 25% { color: #fff; background: rgba(20,184,166,.28); border-color: rgba(94,234,212,.6); } 30%, 100% { } }

/* ===== 05 Trash Camera ===== */
.sc-tc { --L: 8s; background: radial-gradient(90% 90% at 40% 10%, #2b1608, #0d0a09 72%); }
.tc-phone { position: absolute; left: 4em; top: 4em; width: 19em; height: 37em; border-radius: 3em; background: #121214; padding: .7em; box-shadow: 0 2em 4em -1em rgba(0,0,0,.9), inset 0 0 0 .15em #3a3a40; }
.tc-phone .scr { position: relative; height: 100%; border-radius: 2.4em; overflow: hidden; background: #000; }
.tc-view { position: absolute; left: 0; right: 0; top: 4em; height: 23em; background: radial-gradient(circle at 40% 40%, #4a4036, #1c1814); display: grid; place-items: center; }
.tc-receipt { width: 9em; padding: 1em; background: #f4efe4; border-radius: .2em; transform: rotate(-6deg); color: #222; display: flex; flex-direction: column; gap: .5em; box-shadow: 0 1em 2em rgba(0,0,0,.6); }
.tc-receipt b { font: 900 1.2em system-ui; letter-spacing: .12em; }
.tc-receipt i { height: .4em; background: #c8bfae; border-radius: .2em; }
.tc-receipt i:nth-of-type(2) { width: 70%; }
.tc-receipt strong { font: 800 1.15em system-ui; color: #c2410c; }
.tc-corners { position: absolute; inset: 4.5em 3.5em; animation: tcFocus var(--L) both; }
.tc-corners i { position: absolute; width: 1.6em; height: 1.6em; border: .25em solid #ffc83d; }
.tc-corners i:nth-child(1) { left: 0; top: 0; border-width: .25em 0 0 .25em; } .tc-corners i:nth-child(2) { right: 0; top: 0; border-width: .25em .25em 0 0; }
.tc-corners i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 .25em .25em; } .tc-corners i:nth-child(4) { right: 0; bottom: 0; border-width: 0 .25em .25em 0; }
@keyframes tcFocus { 0%, 5% { transform: scale(1.3); opacity: 0; } 14% { transform: scale(1); opacity: 1; } 22% { transform: scale(1.06); } 26%, 100% { transform: scale(1); opacity: 1; } }
.tc-shutter { position: absolute; left: 50%; bottom: 3em; width: 5.4em; height: 5.4em; margin-left: -2.7em; border-radius: 50%; border: .35em solid #fff; padding: .35em; }
.tc-shutter i { display: block; width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(135deg, #fb923c, #ef4444); animation: tcPress var(--L) both; }
@keyframes tcPress { 0%, 26% { transform: scale(1); } 28% { transform: scale(.8); } 31%, 100% { transform: scale(1); } }
.tc-flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: tcFlash var(--L) both; pointer-events: none; }
@keyframes tcFlash { 0%, 28% { opacity: 0; } 29% { opacity: .9; } 36%, 100% { opacity: 0; } }
.tc-roll { position: absolute; right: 3.5em; width: 22em; padding: 1.1em 1.3em 1.3em; border-radius: 1.4em; background: rgba(255,255,255,.05); border: .08em solid rgba(255,255,255,.1); }
.tc-roll small { font: 700 1.15em system-ui; color: #fff; }
.tc-roll .g { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; margin-top: .8em; }
.tc-roll .g span { aspect-ratio: 1; border-radius: .5em; background: rgba(255,255,255,.08); }
.tc-roll em { display: block; margin-top: .8em; font: 600 1.05em system-ui; font-style: normal; color: #a8a29e; }
.tc-roll.trash { top: 5em; border-color: rgba(249,115,22,.5); box-shadow: 0 0 3em -1em rgba(249,115,22,.6); }
.tc-roll.trash .g span:not(.slot) { background: linear-gradient(135deg, #e7dcc7, #b8a98c); animation: tcClear var(--L) both; }
.tc-roll.trash .g span:nth-child(2) { background: linear-gradient(135deg, #ddd6fe, #a5b4fc); }
.tc-roll.trash .slot { background: transparent; box-shadow: inset 0 0 0 .1em rgba(249,115,22,.5); animation: tcClear var(--L) both; }
.tc-roll.trash .tc-timer { color: #fdba74; }
.tc-roll.keep { top: 23em; }
.tc-roll.keep .m1 { background: linear-gradient(160deg, #60a5fa, #f472b6); } .tc-roll.keep .m2 { background: linear-gradient(160deg, #fcd34d, #f97316); } .tc-roll.keep .m3 { background: linear-gradient(160deg, #34d399, #0ea5e9); }
.tc-roll.keep em { color: #86efac; }
@keyframes tcClear { 0%, 70% { opacity: 1; transform: none; filter: none; } 78% { opacity: 0; transform: scale(.4) rotate(12deg); filter: blur(3px); } 90% { opacity: 0; transform: scale(.4); } 96%, 100% { opacity: 1; transform: none; filter: none; } }
.tc-shot { position: absolute; left: 7.5em; top: 13em; width: 12em; padding: .5em; border-radius: .6em; background: #fff; box-shadow: 0 1em 2.4em rgba(0,0,0,.7); animation: tcFly var(--L) cubic-bezier(.5,.1,.3,1) both; z-index: 4; }
.tc-receipt.mini { width: auto; transform: none; box-shadow: none; padding: .8em; }
@keyframes tcFly { 0%, 29% { opacity: 0; transform: none; } 31% { opacity: 1; transform: scale(1.04); } 40% { opacity: 1; transform: none; } 56% { opacity: 1; transform: translate(30.6em, -5.7em) scale(.5); } 60%, 70% { opacity: 1; transform: translate(30.6em, -5.7em) scale(.5); } 78%, 100% { opacity: 0; transform: translate(30.6em, -5.7em) scale(.1) rotate(20deg); } }
.tc-poof { position: absolute; right: 7.9em; top: 11.3em; }
.tc-poof i { position: absolute; width: .8em; height: .8em; border-radius: 50%; background: #fb923c; opacity: 0; animation: tcPoof var(--L) both; }
.tc-poof i:nth-child(1) { --x: -4em; --y: -3em; } .tc-poof i:nth-child(2) { --x: 4em; --y: -3.5em; } .tc-poof i:nth-child(3) { --x: -5em; --y: 1em; }
.tc-poof i:nth-child(4) { --x: 5em; --y: 1.5em; } .tc-poof i:nth-child(5) { --x: -1em; --y: -5em; background: #fde68a; } .tc-poof i:nth-child(6) { --x: 1.5em; --y: 4em; background: #fde68a; }
@keyframes tcPoof { 0%, 72% { opacity: 0; transform: none; } 74% { opacity: 1; } 84%, 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(.3); } }

/* ===== 06 Mister Money ===== */
.sc-mm { --L: 7s; background: #0b3d2a; }
.mm-felt { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 55%, #1a7a52, #0b3d2a 70%, #062417); }
.mm-felt::after { content: ""; position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(rgba(255,255,255,.25) .06em, transparent .07em); background-size: .5em .5em; }
.mm-counter { position: absolute; left: 0; right: 0; top: .62em; text-align: center; font: 900 4.8em/1 system-ui; letter-spacing: -.02em; color: #ffd76a; text-shadow: 0 .06em 0 #b7791f, 0 .2em .5em rgba(0,0,0,.5); font-variant-numeric: tabular-nums; }
.mm-stack { position: absolute; left: 50%; top: 13em; width: 30em; height: 20em; margin-left: -15em; perspective: 60em; }
.bill { position: absolute; left: 4em; top: 2em; width: 22em; height: 11em; transform-origin: 50% 100%; transform-style: preserve-3d; }
.bill .f, .bill .k { position: absolute; inset: 0; border-radius: .5em; background: linear-gradient(135deg, #cfe3c4, #9fc496 45%, #b9d6ac); box-shadow: 0 .3em .6em rgba(0,0,0,.35), inset 0 0 0 .5em rgba(46,94,52,.18); -webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden; }
.bill .k { transform: rotateX(180deg); background: linear-gradient(135deg, #b9d6ac, #8fb886 50%, #a9cc9c); }
.bill .f::before, .bill .k::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6em; height: 7em; margin: -3.5em 0 0 -3em; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #7aa36e, #4b7a46); opacity: .55; }
.bill .k::before { width: 9em; height: 5em; margin: -2.5em 0 0 -4.5em; border-radius: .6em; opacity: .4; }
.bill b { position: absolute; left: .7em; top: .3em; font: 900 2.2em system-ui; color: #2f5a32; }
.bill .k b { left: auto; right: .7em; }
.bill.gold .f, .bill.gold .k { background: linear-gradient(135deg, #fff1b8, #f6c94b 45%, #ffe38a); box-shadow: 0 .3em .6em rgba(0,0,0,.35), 0 0 2em rgba(255,214,90,.6); }
.bill.gold b { color: #8a5a00; }
.bill.under { top: 2.6em; filter: brightness(.85); }
.bill:not(.under) { animation: mmFlip var(--L) cubic-bezier(.45,.05,.3,1) both; animation-delay: calc(var(--i) * .55s); z-index: calc(10 - var(--i)); }
@keyframes mmFlip { 0%, 6% { transform: none; z-index: calc(10 - var(--i)); filter: none; } 9% { z-index: calc(20 + var(--i)); } 13%, 100% { transform: rotateX(-180deg); z-index: calc(20 + var(--i)); } }
.mm-stamp { position: absolute; left: 50%; top: 7.6em; padding: .2em .7em; border: .2em solid #ffd76a; border-radius: .4em; font: 900 3em system-ui; letter-spacing: .04em; color: #ffd76a; background: rgba(6,36,23,.7); transform: translate(-50%, 0) rotate(-8deg); text-shadow: 0 .05em 0 #9a6a10; animation: mmStamp var(--L) both; z-index: 20; }
@keyframes mmStamp { 0%, 66% { opacity: 0; transform: translate(-50%, 0) rotate(-8deg) scale(2.4); } 71% { opacity: 1; transform: translate(-50%, 0) rotate(-8deg) scale(.92); } 74%, 100% { opacity: 1; transform: translate(-50%, 0) rotate(-8deg) scale(1); } }
.mm-coins { position: absolute; left: 50%; top: 25em; z-index: 19; }
.mm-coins i { position: absolute; width: 2em; height: 2em; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff4c2, #f5b81c 55%, #b7791f); box-shadow: inset 0 0 0 .2em rgba(183,121,31,.6); opacity: 0; animation: mmCoin var(--L) cubic-bezier(.2,.7,.4,1) both; }
.mm-coins i:nth-child(1) { --x: -14em; --y: -9em; } .mm-coins i:nth-child(2) { --x: 13em; --y: -10em; } .mm-coins i:nth-child(3) { --x: -18em; --y: 2em; } .mm-coins i:nth-child(4) { --x: 17em; --y: 3em; }
.mm-coins i:nth-child(5) { --x: -8em; --y: -14em; } .mm-coins i:nth-child(6) { --x: 7em; --y: -15em; } .mm-coins i:nth-child(7) { --x: -11em; --y: 9em; } .mm-coins i:nth-child(8) { --x: 12em; --y: 9em; }
@keyframes mmCoin { 0%, 70% { opacity: 0; transform: none; } 72% { opacity: 1; } 90% { opacity: 1; transform: translate(var(--x), var(--y)) rotate(200deg); } 100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 3em)) rotate(260deg); } }

/* ===== 07 Halcyday ===== */
.sc-hd { --L: 9s; background: radial-gradient(90% 80% at 70% 0%, #2a1d4d, #0d0b18 72%); }
.hd-card { position: absolute; left: 7em; right: 7em; top: 3em; bottom: 3em; border-radius: 2em; background: linear-gradient(180deg, #fdf7ef, #f6efff); box-shadow: 0 2em 4em -1em rgba(0,0,0,.9); padding: 1.6em; color: #2b2340; display: flex; flex-direction: column; }
.hd-prompt { display: flex; align-items: center; gap: .6em; padding: .8em 1.1em; border-radius: 1.2em; background: #fff; box-shadow: 0 .3em 1.2em rgba(112,72,232,.18), inset 0 0 0 .1em rgba(112,72,232,.22); font-size: 1.15em; min-height: 2.9em; color: #3b2f63; font-weight: 600; }
.hd-spark { color: #8b5cf6; font-size: 1.3em; animation: hdSpark 1.6s ease-in-out infinite; }
@keyframes hdSpark { 50% { transform: scale(1.3) rotate(20deg); color: #f4976c; } }
.hd-tl { position: relative; flex: 1; margin-top: 1.2em; padding-left: 3em; }
.hd-hours { position: absolute; left: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-between; font: 600 1em system-ui; color: #a19bb8; }
.hd-curve { position: absolute; left: 3em; top: 0; height: 100%; width: 4em; overflow: visible; fill: none; }
.hd-curve path { stroke: #f4976c; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1000; opacity: .7; animation: hdCurve var(--L) ease-in-out both; }
@keyframes hdCurve { 0%, 4% { stroke-dashoffset: 1000; } 30%, 100% { stroke-dashoffset: 0; } }
.hd-blk { position: absolute; left: 5em; right: 0; top: calc(var(--t) / 12 * 100%); height: calc(var(--h) / 12 * 100% - .35em); border-radius: .8em; background: color-mix(in srgb, var(--bc) 18%, #fff); border-left: .45em solid var(--bc); padding: .25em .8em; font: 650 1.12em system-ui; color: color-mix(in srgb, var(--bc) 70%, #1b1530); display: flex; align-items: center; overflow: hidden; animation: hdBlk var(--L) cubic-bezier(.2,.9,.25,1.2) both; }
.hd-blk.b1 { animation-delay: 0s; } .hd-blk.b2 { animation-delay: .25s; } .hd-blk.b3 { animation-delay: .5s; } .hd-blk.b4 { animation-delay: .75s; } .hd-blk.b5 { animation-delay: 1s; }
@keyframes hdBlk { 0%, 38% { opacity: 0; transform: translateX(3em) scale(.92); } 46%, 100% { opacity: 1; transform: none; } }
.hd-done { align-self: center; margin-top: 1em; padding: .5em 1.2em; border-radius: 1.2em; background: linear-gradient(100deg, #7048e8, #f4976c); color: #fff; font: 700 1.15em system-ui; animation: hdDone var(--L) both; }
@keyframes hdDone { 0%, 64% { opacity: 0; transform: translateY(.8em); } 70%, 100% { opacity: 1; transform: none; } }

/* ---------- studio ---------- */
.mz-studio { padding: clamp(80px, 11vw, 140px) 0 clamp(60px, 8vw, 100px); scroll-margin-top: 112px; }
.mz-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mz-rule { position: relative; padding: 30px 28px 32px; border-radius: 26px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.mz-rule::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); z-index: -1; }
.mz-rule h3 { font-size: 22px; margin: 22px 0 8px; letter-spacing: -.02em; }
.mz-rule p { color: var(--text-2); font-size: 15.5px; line-height: 1.6; margin: 0; }
.mz-rule-art { position: relative; height: 92px; }
.ra-lock i { position: absolute; left: 50%; top: 6px; width: 40px; height: 40px; margin-left: -20px; border: 6px solid var(--c); border-bottom: 0; border-radius: 22px 22px 0 0; animation: raShackle 3.2s ease-in-out infinite; }
.ra-lock b { position: absolute; left: 50%; top: 36px; width: 64px; height: 50px; margin-left: -32px; border-radius: 12px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 80%, #fff), var(--c)); box-shadow: 0 10px 30px -8px var(--c); }
.ra-lock b::after { content: ""; position: absolute; left: 50%; top: 15px; width: 10px; height: 18px; margin-left: -5px; border-radius: 5px; background: rgba(0,0,0,.35); }
@keyframes raShackle { 0%, 40%, 100% { transform: translateY(0); } 55%, 85% { transform: translateY(-10px); } }
.ra-dev i { position: absolute; bottom: 4px; border: 4px solid var(--c); border-radius: 10px; background: color-mix(in srgb, var(--c) 12%, transparent); animation: raDev 3.6s ease-in-out infinite; }
.ra-dev .m { left: calc(50% - 64px); width: 92px; height: 62px; }
.ra-dev .t { left: calc(50% + 6px); width: 46px; height: 64px; animation-delay: .3s; }
.ra-dev .p { left: calc(50% + 46px); width: 26px; height: 48px; border-radius: 8px; animation-delay: .6s; }
@keyframes raDev { 50% { transform: translateY(-8px); box-shadow: 0 10px 24px -8px var(--c); } }
.ra-msg i { position: absolute; left: calc(50% - 60px); top: 10px; width: 78px; height: 38px; border-radius: 18px 18px 18px 4px; background: rgba(255,255,255,.12); animation: raMsg 3.4s ease-in-out infinite; }
.ra-msg i + i { left: calc(50% - 10px); top: 46px; width: 70px; border-radius: 18px 18px 4px 18px; background: var(--c); animation-delay: .8s; }
.ra-msg b { position: absolute; left: calc(50% + 50px); top: 6px; color: #ff6b8b; font-size: 26px; animation: raHeart 1.6s ease-in-out infinite; }
@keyframes raMsg { 0%, 100% { opacity: .35; transform: translateY(6px); } 30%, 70% { opacity: 1; transform: none; } }
@keyframes raHeart { 50% { transform: scale(1.3); } }

/* ---------- screenshots marquee ---------- */
.mz-screens { padding: 20px 0 clamp(70px, 9vw, 120px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mz-screens-track { display: flex; gap: 22px; width: max-content; animation: mzMarquee 60s linear infinite; }
.mz-screens:hover .mz-screens-track { animation-play-state: paused; }
.mz-screens img { height: clamp(220px, 28vw, 340px); width: auto; border-radius: 18px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); }
@keyframes mzMarquee { to { transform: translateX(calc(-50% - 11px)); } }

/* ---------- contact ---------- */
.mz-contact { padding: clamp(60px, 9vw, 110px) 0 clamp(80px, 10vw, 130px); scroll-margin-top: 80px; }
.mz-form-wrap { margin-top: 40px; }
.mz-form-wrap .contact-form { position: relative; border-radius: 26px; background: rgba(18,18,30,.9); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 100px -40px rgba(139,108,255,.6); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .mz-hero-in { grid-template-columns: 1fr; text-align: center; }
  .mz-lead { margin-left: auto; margin-right: auto; }
  .mz-hero .mz-cta { justify-content: center; }
  .mz-facts { justify-content: center; }
  .mz-cloud { max-width: 440px; }
  .mz-app-in { grid-template-columns: 1fr; }
  .mz-app.flip .mz-app-copy { order: 0; }
  .mz-rules { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mz-index { top: 60px; }
  .mz-app-id h2 { font-size: 26px; }
  .mz-stage { border-radius: 22px; }
  .sc { border-radius: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .mz-sky i, .mz-cloud-glow, .mz-cloud-core, .mz-spec, .mz-screens-track, .bd-chip, .al-models span, .ra-lock i, .ra-dev i, .ra-msg i, .ra-msg b, .hd-spark, .bd-link path { animation: none !important; }
  .mz-screens { overflow-x: auto; }
}
