/* Motion layer for the home page. Everything here is gated on html.motion-on, which motion.js adds,
   so the page looks exactly like before if the script doesn't run or the visitor prefers reduced motion. */

/* ---------- Background particles (canvas made by motion.js) ---------- */
#bg-fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
#bg-fx.on { opacity: 1; }

/* No colour glows behind the home page (they washed out the text); keep only the dark base gradient */
html.motion-on body::before { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); animation: none; filter: none; }

/* ---------- Readability over the glows ---------- */
/* lighter secondary text plus a soft dark halo so words never wash out where a glow passes behind them */
html.motion-on { --muted: #c8d0e2; }
.motion-on main :is(p, li, h1, h2, h3, figcaption, .muted, .eyebrow) { text-shadow: 0 1px 2px rgba(6, 8, 15, 0.55), 0 0 18px rgba(6, 8, 15, 0.6); }
.motion-on main :is(.grad, .price, .voice-line strong) { text-shadow: none; }

/* ---------- Top bar ---------- */
.motion-on .topbar { border-bottom-color: transparent; transition: background-color 0.4s ease, box-shadow 0.4s ease; }
.motion-on .topbar.scrolled { background: rgba(6, 8, 15, 0.82); box-shadow: 0 14px 36px -18px rgba(79, 140, 255, 0.5); }
/* living gradient edge under the bar */
.motion-on .topbar::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; opacity: 0.7;
  background: linear-gradient(90deg, rgba(122, 167, 255, 0.15), #7aa7ff 25%, #a78bfa 50%, #2ee6c8 75%, rgba(122, 167, 255, 0.15)) 0 0 / 200% 100%;
  animation: navEdge 9s linear infinite; }
@keyframes navEdge { to { background-position: -200% 0; } }
/* reading progress */
.nav-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, #4f8cff, #a78bfa, #2ee6c8); box-shadow: 0 0 10px rgba(46, 230, 200, 0.7); }

/* hover pill that glides between links, and the current section underlined */
.motion-on .nav nav { position: relative; }
.motion-on .nav nav > a, .motion-on .nav nav > button { position: relative; z-index: 1; }
.nav-pill { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 0; border-radius: 999px; pointer-events: none; opacity: 0;
  background: rgba(122, 167, 255, 0.12); border: 1px solid rgba(122, 167, 255, 0.28); box-shadow: 0 0 18px rgba(79, 140, 255, 0.25);
  transition: transform 0.38s cubic-bezier(0.3, 1.35, 0.5, 1), width 0.38s cubic-bezier(0.3, 1.35, 0.5, 1), opacity 0.25s ease; }
.nav-pill.on { opacity: 1; }
.motion-on .nav nav a:not(.nav-cta) { transition: color 0.25s ease; }
.motion-on .nav nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transition: transform 0.35s ease; }
.motion-on .nav nav a.active { color: var(--text); }
.motion-on .nav nav a.active::after { transform: scaleX(1); }

/* brand: wordmark shimmer and a little hop on hover */
.motion-on .brand span { color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(100deg, var(--text) 0 42%, #7aa7ff 47%, #2ee6c8 52%, var(--text) 58% 100%); background-size: 250% 100%;
  animation: brandShine 7s ease-in-out infinite; }
@keyframes brandShine { 0%, 65% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.motion-on .brand img { transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1); }
.motion-on .brand:hover img { transform: translateY(-3px) rotate(-8deg) scale(1.12); }

/* Sign in: a periodic shine sweep */
.motion-on .nav nav .account-cta { overflow: hidden; box-shadow: 0 6px 20px -8px rgba(139, 92, 246, 0.7); }
.motion-on .nav nav .account-cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: skewX(-20deg); animation: ctaShine 5.5s ease-in-out 2s infinite; }
@keyframes ctaShine { 0%, 75% { left: -60%; } 100% { left: 130%; } }
.motion-on .nav nav .nav-cta { transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; }
.motion-on .nav nav .nav-cta:hover { transform: translateY(-1px); }

/* entrance */
.motion-on .topbar.nav-in .brand { animation: navBrand 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
.motion-on .topbar.nav-in nav > :not(.nav-pill) { animation: navDrop 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.25) both; animation-delay: calc(0.15s + var(--i, 0) * 0.06s); }
@keyframes navBrand { from { opacity: 0; transform: translateX(-18px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes navDrop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }

/* ---------- Hero: staged entrance ---------- */
.motion-on .hero-copy > * { opacity: 0; transform: translateY(26px); filter: blur(6px); }
.motion-on .hero-copy.in > * { opacity: 1; transform: none; filter: none; transition: opacity .7s ease, transform .9s cubic-bezier(.16, 1.2, .3, 1), filter .7s ease; }
.motion-on .hero-copy.in > :nth-child(1) { transition-delay: .05s; }
.motion-on .hero-copy.in > :nth-child(2) { transition-delay: .15s; }
.motion-on .hero-copy.in > :nth-child(3) { transition-delay: .35s; }
.motion-on .hero-copy.in > :nth-child(4) { transition-delay: .5s; }
.motion-on .hero-copy.in > :nth-child(5) { transition-delay: .62s; }
.motion-on .hero-copy.in > :nth-child(6) { transition-delay: .74s; }
.motion-on .hero-copy.in > :nth-child(7) { transition-delay: .86s; }
/* chips pop one by one after the copy lands */
.motion-on .chips li { opacity: 0; transform: scale(.7); }
.motion-on .hero-copy.in .chips li { opacity: 1; transform: none; transition: opacity .4s ease, transform .5s cubic-bezier(.3, 1.8, .5, 1); transition-delay: calc(1s + var(--i, 0) * 70ms); }
/* the gradient words keep shimmering slowly */
.motion-on h1 .grad, .motion-on .voice-line strong { background-size: 220% 100%; animation: grad-shift 7s ease-in-out infinite alternate; }
@keyframes grad-shift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
/* $0 price: the old price gets struck through live */
.motion-on .price-old { text-decoration-color: transparent; position: relative; }
.motion-on .price-old::after { content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 2px; background: #f87171; transform: scaleX(0); transform-origin: left; }
.motion-on .hero-copy.in .price-old::after { transform: scaleX(1); transition: transform .5s cubic-bezier(.7, 0, .2, 1) 1.1s; }
.motion-on .price { display: inline-block; }
.motion-on .hero-copy.in .price { animation: price-pop .7s cubic-bezier(.3, 1.8, .5, 1) 1.45s backwards; }
@keyframes price-pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- Hero: the logo comes alive ---------- */
.motion-on .hero-logo { animation: none; width: 100%; max-width: none; filter: none; display: block; }
.logo-stage { position: relative; width: 340px; max-width: 80%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)); animation: lg-in 1.2s cubic-bezier(.2, 1.4, .35, 1) .25s backwards, float 6s ease-in-out 1.6s infinite; }
@keyframes lg-in { from { opacity: 0; transform: translateY(40px) scale(.55) rotate(-6deg); } }
/* light sweep clipped to the logo's own shape */
.lg-sheen {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("logo-hero.png?v=3") center / 100% 100% no-repeat; mask: url("logo-hero.png?v=3") center / 100% 100% no-repeat;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .7) 48%, rgba(255, 255, 255, .15) 54%, transparent 62%);
  background-size: 300% 100%; background-position: 120% 0; mix-blend-mode: soft-light;
  animation: sheen 6s ease-in-out 1.6s infinite;
}
@keyframes sheen { 0% { background-position: 120% 0; } 35%, 100% { background-position: -40% 0; } }
/* visor overlay: covers the printed eyes, draws live ones that blink and look at the cursor */
.lg-visor { position: absolute; left: 34.2%; top: 35.3%; width: 33%; height: 13%; border-radius: 999px; background: #000; pointer-events: none; }
.lg-eye { position: absolute; top: 50%; width: 15.8%; aspect-ratio: 1; margin-top: -7.9%; border-radius: 50%; background: #0cfae8; box-shadow: 0 0 12px rgba(12, 250, 232, .85); transform: translate(var(--ex, 0px), var(--ey, 0px)); transition: transform .25s cubic-bezier(.2, 1.4, .4, 1); animation: blink 5.2s 2.4s infinite; }
.lg-eye.l { left: 14.3%; }
.lg-eye.r { left: 70.8%; }
@keyframes blink { 0%, 92%, 100% { scale: 1 1; } 95% { scale: 1.1 .08; } }
.lg-eye.wink { animation: blink-now .35s; }
@keyframes blink-now { 50% { scale: 1.1 .08; } }
/* ring burst when the logo lands, then a soft pulse every bar */
.lg-ring { position: absolute; left: 50%; top: 55%; width: 120%; aspect-ratio: 1; margin: -60% 0 0 -60%; border-radius: 50%; border: 2px solid rgba(46, 230, 200, .55); pointer-events: none; opacity: 0; animation: ring 4s cubic-bezier(.1, .7, .3, 1) .9s infinite; }
.lg-ring.r2 { border-color: rgba(139, 92, 246, .5); animation-delay: 2.9s; }
@keyframes ring { 0% { opacity: .9; transform: scale(.35); } 60%, 100% { opacity: 0; transform: scale(1.15); } }
/* coins float out of the chimney */
.lg-coin { position: absolute; left: 69%; top: 1%; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 17px/1 "Plus Jakarta Sans", sans-serif; color: #3b2304; background: radial-gradient(circle at 35% 30%, #fef3c7, #fbbf24 55%, #b45309); box-shadow: 0 0 14px rgba(251, 191, 36, .7); pointer-events: none; opacity: 0; animation: coin 4.8s ease-out infinite; }
.lg-coin.c2 { animation-delay: 1.6s; --dx: -26px; }
.lg-coin.c3 { animation-delay: 3.2s; --dx: 30px; }
@keyframes coin { 0% { opacity: 0; transform: translate(0, 18px) scale(.5); } 12% { opacity: 1; } 30% { transform: translate(calc(var(--dx, 10px) * .3), -6px) scale(1.05) rotateY(360deg); } 55% { opacity: .95; } 85%, 100% { opacity: 0; transform: translate(var(--dx, 10px), -46px) scale(1.1) rotateY(720deg); } }
/* CPA badge stamps in, then a gold glint passes over it */
.motion-on .cpa-badge { z-index: 3; overflow: hidden; animation: stamp .7s cubic-bezier(.3, 1.6, .5, 1) 1.15s backwards; }
@keyframes stamp { from { opacity: 0; transform: scale(1.7) rotate(-6deg); } }
.motion-on .cpa-badge::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(254, 243, 199, .45) 50%, transparent 65%); transform: translateX(-100%); animation: glint 5s ease-in-out 2.2s infinite; pointer-events: none; }
@keyframes glint { 0% { transform: translateX(-100%); } 30%, 100% { transform: translateX(100%); } }
.motion-on .cpa-stars svg { animation: star 5s ease-in-out 2.2s infinite; }
.motion-on .cpa-stars svg:nth-child(2) { animation-delay: 2.3s; } .motion-on .cpa-stars svg:nth-child(3) { animation-delay: 2.4s; }
.motion-on .cpa-stars svg:nth-child(4) { animation-delay: 2.5s; } .motion-on .cpa-stars svg:nth-child(5) { animation-delay: 2.6s; }
@keyframes star { 0%, 8%, 100% { transform: none; } 4% { transform: scale(1.45) rotate(18deg); } }

/* ---------- Hero: voice cards play the product story ---------- */
.motion-on .hero-art .voice-card { animation: card-in .8s cubic-bezier(.2, 1.3, .35, 1) 1.4s backwards; }
.motion-on .hero-art .vc-multi { animation-delay: 1.6s; }
@keyframes card-in { from { opacity: 0; transform: translateY(30px) scale(.94); } }
.motion-on .voice-card .wave i { animation: none; transform: scaleY(.18); transition: transform .3s ease; }
.motion-on .voice-card.listening .wave i { animation: wave 1.1s ease-in-out infinite; }
.motion-on .voice-card .wave i:nth-child(2) { animation-delay: .1s; } .motion-on .voice-card .wave i:nth-child(3) { animation-delay: .2s; }
.motion-on .voice-card .wave i:nth-child(4) { animation-delay: .3s; } .motion-on .voice-card .wave i:nth-child(5) { animation-delay: .4s; }
.motion-on .voice-card .wave i:nth-child(6) { animation-delay: .5s; } .motion-on .voice-card .wave i:nth-child(7) { animation-delay: .6s; }
.motion-on .voice-card .mic { position: relative; }
.motion-on .voice-card.listening .mic::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(122, 167, 255, .8); animation: mic-ring 1.1s ease-out infinite; }
@keyframes mic-ring { to { transform: scale(1.8); opacity: 0; } }
.voice-card.done { border-color: rgba(46, 230, 200, .35); box-shadow: 0 0 0 1px rgba(46, 230, 200, .15), 0 18px 50px -20px rgba(46, 230, 200, .35); transition: border-color .4s, box-shadow .4s; }
/* typed quote: the real text stays in place (invisible) so height never jumps and i18n can still translate it */
.tw { display: grid; }
.tw > * { grid-area: 1 / 1; }
.tw-src { visibility: hidden; }
.tw-out::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: #7aa7ff; animation: caret .8s steps(1) infinite; }
.voice-card:not(.listening) .tw-out::after { opacity: 0; animation: none; }
@keyframes caret { 50% { opacity: 0; } }
.motion-on .vc-result > *, .motion-on .vc-rows li, .motion-on .vc-count { opacity: 0; transform: translateY(8px) scale(.85); transition: opacity .3s ease, transform .45s cubic-bezier(.3, 1.7, .5, 1); }
.motion-on .vc-result > .pop, .motion-on .vc-rows li.pop, .motion-on .vc-count.pop { opacity: 1; transform: none; }
.motion-on .vc-rows li.pop { animation: row-flash .9s ease; }
@keyframes row-flash { 0% { background: rgba(52, 211, 153, .22); } 100% { background: transparent; } }

/* ---------- Scroll reveals ---------- */
.motion-on .rv { opacity: 0; transform: translateY(34px); filter: blur(5px); }
.motion-on .rv.in { opacity: 1; transform: none; filter: none; transition: opacity .8s ease, transform 1s cubic-bezier(.16, 1.15, .3, 1), filter .8s ease; transition-delay: calc(var(--i, 0) * 90ms); }
.motion-on .rv.rv-pop { transform: translateY(40px) scale(.92); }
.motion-on .rv.rv-pop.in { transform: none; }
.motion-on .eyebrow.rv { transform: translateY(14px); letter-spacing: .5em; }
.motion-on .eyebrow.rv.in { transform: none; letter-spacing: .14em; transition: opacity .8s, transform .8s, letter-spacing 1.1s cubic-bezier(.16, 1, .3, 1); }
/* how-it-works: a line draws through the step numbers */
.motion-on .steps { position: relative; }
.motion-on .steps::before { content: ""; position: absolute; z-index: 2; left: 48px; right: calc(33.33% - 36px); top: 48px; height: 2px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 12px rgba(122, 167, 255, .6); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.motion-on .steps.in::before { transform: scaleX(1); transition: transform 1.4s cubic-bezier(.7, 0, .2, 1) .5s; }
.motion-on .steps .num { position: relative; z-index: 3; }
.motion-on .steps.in li .num { animation: num-hit .6s cubic-bezier(.3, 1.8, .5, 1) backwards; animation-delay: calc(.45s + var(--i, 0) * .55s); }
@keyframes num-hit { from { transform: scale(.3) rotate(-90deg); opacity: 0; } }
/* CTA band logo bounces when it arrives */
.motion-on .cta-band.in img { animation: lg-in 1s cubic-bezier(.2, 1.4, .35, 1) .2s backwards, float 6s ease-in-out 1.2s infinite; }

/* ---------- Feature panels: mock-ups animate every time a tab opens ---------- */
.panel.play .mock-row, .panel.play .draft, .panel.play .mock-actions, .panel.play .table > div, .panel.play .stats > div, .panel.play .lang-card { animation: rise .6s cubic-bezier(.2, 1.3, .35, 1) backwards; animation-delay: calc(var(--i, 0) * 110ms + .1s); }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.panel.play .bars i { transform-origin: bottom; animation: grow .9s cubic-bezier(.2, 1.4, .35, 1) backwards; animation-delay: calc(var(--i, 0) * 45ms + .15s); }
@keyframes grow { from { transform: scaleY(0); } }
.panel.play .months span { animation: rise .45s ease backwards; animation-delay: calc(var(--i, 0) * 60ms + .1s); }
.panel.play .months span.on { animation: rise .45s ease backwards, paid .5s ease forwards; animation-delay: calc(var(--i, 0) * 60ms + .1s), calc(var(--i, 0) * 60ms + .55s); }
@keyframes paid { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); } 100% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } }
.panel.play .months span.now { animation: rise .45s ease backwards, now-pulse 2s ease-in-out 1.4s infinite; }
@keyframes now-pulse { 50% { box-shadow: 0 0 0 2px var(--pos), 0 0 18px rgba(52, 211, 153, .55); } }
.panel.play .doc-card.back { animation: doc-back .9s cubic-bezier(.2, 1.3, .35, 1) .1s backwards; }
.panel.play .doc-card.front { animation: doc-front .9s cubic-bezier(.2, 1.3, .35, 1) .3s backwards; }
@keyframes doc-back { from { opacity: 0; transform: translate(0, 30%) rotate(0); } }
@keyframes doc-front { from { opacity: 0; transform: translate(-8%, 40%) rotate(-12deg); } }
.panel.play .pdf { animation: rise .5s cubic-bezier(.3, 1.8, .5, 1) 1s backwards; }

/* ---------- Micro-interactions (fine pointers only; motion.js adds .tilt) ---------- */
.motion-on .tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); transition: transform .5s cubic-bezier(.2, 1, .3, 1), border-color .25s; position: relative; }
.motion-on .tilt:hover { --ty: -4px; transition: transform .12s linear, border-color .25s; }
.motion-on .tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(122, 167, 255, .16), transparent 45%); }
.motion-on .tilt:hover::after { opacity: 1; }
.motion-on .btn.primary { position: relative; overflow: hidden; transform: translate(var(--bx, 0px), var(--by, 0px)); transition: transform .35s cubic-bezier(.2, 1.4, .4, 1), box-shadow .2s; }
.motion-on .btn.primary:hover { transform: translate(var(--bx, 0px), calc(var(--by, 0px) - 2px)); }
.motion-on .btn.primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); animation: btn-shine 4.5s ease-in-out 2.5s infinite; pointer-events: none; }
@keyframes btn-shine { 0% { transform: translateX(-120%); } 25%, 100% { transform: translateX(120%); } }
.motion-on .tabs button { transition: color .2s, border-color .2s, background .2s, transform .35s cubic-bezier(.3, 1.8, .5, 1); }
.motion-on .tabs button:active { transform: scale(.94); }
.motion-on .tabs button[aria-selected="true"] svg { animation: tab-icon .6s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes tab-icon { from { transform: scale(.4) rotate(-30deg); } }

/* ---------- Demo videos ("See it in action") ---------- */
.demo-grid { display: grid; grid-template-columns: 2.4fr 1fr 1fr; gap: 22px; align-items: start; }
.demo-slot.wide { align-self: center; }
.demo-slot { margin: 0; display: grid; gap: 14px; }
.demo-slot figcaption { text-align: center; }
.demo-slot figcaption b { display: block; font-size: 17px; }
.demo-slot figcaption span { font-size: 14px; color: var(--muted); }
.demo-frame { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--line-strong); background: linear-gradient(160deg, #10172b, #070a14); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset; }
.demo-slot.wide .demo-frame { aspect-ratio: 16 / 9; }
.demo-slot.phone .demo-frame { aspect-ratio: 9 / 19.5; max-width: 215px; justify-self: center; width: 100%; border-radius: 34px; border: 6px solid #1b2236; outline: 1px solid var(--line-strong); }
.demo-slot.phone .demo-frame::before { content: ""; position: absolute; z-index: 3; top: 10px; left: 50%; width: 30%; height: 18px; margin-left: -15%; border-radius: 999px; background: #05070d; }
.demo-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* placeholder until a video is dropped in */
.demo-ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; padding: 24px; text-align: center; }
.demo-ph::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, rgba(79, 140, 255, .0), rgba(79, 140, 255, .28), rgba(139, 92, 246, .22), rgba(46, 230, 200, .2), rgba(79, 140, 255, 0)); filter: blur(40px); animation: spin 14s linear infinite; }
.demo-ph > * { position: relative; }
.demo-play { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #4f8cff, #8b5cf6); box-shadow: 0 12px 30px -8px rgba(99, 102, 241, .9); }
.demo-play svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }
.demo-play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(122, 167, 255, .7); animation: mic-ring 2s ease-out infinite; }
.demo-play { position: relative; }
.demo-soon { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #cfd8ee; }
.demo-skel { display: grid; gap: 8px; width: 70%; }
.demo-skel i { height: 9px; border-radius: 5px; background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); background-size: 200% 100%; animation: skel 1.8s ease-in-out infinite; }
.demo-skel i:nth-child(2) { width: 80%; animation-delay: .15s; } .demo-skel i:nth-child(3) { width: 60%; animation-delay: .3s; }
@keyframes skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.demo-slot.has-video .demo-ph { display: none; }
.demo-slot.has-video .demo-frame { cursor: pointer; }
.demo-sound { position: absolute; z-index: 2; right: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(6, 8, 15, .65); border: 1px solid var(--line-strong); backdrop-filter: blur(6px); }

@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr 1fr; }
  .demo-slot.wide { grid-column: 1 / -1; }
  .motion-on .steps::before { display: none; }
}
@media (max-width: 560px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-slot.phone .demo-frame { max-width: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  #bg-fx, .lg-sheen, .lg-ring, .lg-coin { display: none; }
}
