/* Motion layer for the landing page (and a little for the dashboard). Everything stops for prefers-reduced-motion. */

/* ---------- scroll progress + grain ---------- */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--violet)); z-index: 40; }
.grain { position: fixed; inset: -50%; pointer-events: none; z-index: 1; opacity: .05; mix-blend-mode: multiply; animation: grain 1.2s steps(6) infinite;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* ---------- hero background: drifting blurred blobs ---------- */
.hero { isolation: isolate; }
.hero::before { display: none; }
.blobs { position: absolute; inset: -10% -20% auto -20%; height: 900px; z-index: -1; filter: blur(70px) saturate(1.2); opacity: .75; pointer-events: none; }
.blobs i { position: absolute; border-radius: 50%; display: block; animation: drift 18s ease-in-out infinite alternate; }
.blobs i:nth-child(1) { width: 520px; height: 520px; right: 8%; top: 4%; background: radial-gradient(circle, #ff9a62 0, transparent 65%); }
.blobs i:nth-child(2) { width: 460px; height: 460px; right: 30%; top: 30%; background: radial-gradient(circle, #ff4f2b 0, transparent 65%); opacity: .55; animation-duration: 22s; animation-delay: -6s; }
.blobs i:nth-child(3) { width: 520px; height: 520px; right: -6%; top: 36%; background: radial-gradient(circle, #8b6bff 0, transparent 65%); opacity: .7; animation-duration: 26s; animation-delay: -12s; }
.blobs i:nth-child(4) { width: 380px; height: 380px; left: 6%; top: 50%; background: radial-gradient(circle, #ffd27a 0, transparent 65%); opacity: .45; animation-duration: 30s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60px, 40px) scale(1.12); } 100% { transform: translate(40px, -30px) scale(.94); } }

/* ---------- split-word headline reveal ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .1em .08em; margin: 0 -.1em -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; transition: transform 1s var(--ease); }
.split.in .w > span { transform: none; }
.hero h1 .serif { position: relative; white-space: nowrap; }
.scribble { position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .32em; overflow: visible; pointer-events: none; }
.scribble path { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.4s var(--ease) 1.1s; }
.split.in .scribble path { stroke-dashoffset: 0; }
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.loaded .fade-up { opacity: 1; transform: none; }
.loaded .fade-up.d1 { transition-delay: .55s; } .loaded .fade-up.d2 { transition-delay: .7s; } .loaded .fade-up.d3 { transition-delay: .85s; }

/* ---------- 3D stage with live feeds ---------- */
.stage { transform-style: preserve-3d; transition: transform .6s var(--ease); }
.stage .phone { transition: transform 1.2s var(--ease), opacity 1s; opacity: 0; }
.loaded .stage .phone { opacity: 1; }
.loaded .stage .phone.p1 { transform: rotate(-8deg) translateZ(-40px); transition-delay: .25s; }
.loaded .stage .phone.p2 { transform: rotate(1deg) translateZ(60px); transition-delay: .1s; }
.loaded .stage .phone.p3 { transform: rotate(9deg) translateZ(-20px); transition-delay: .4s; }
.stage .phone.p1 { transform: rotate(-20deg) translate(-60px, 80px); }
.stage .phone.p2 { transform: translateY(120px); }
.stage .phone.p3 { transform: rotate(22deg) translate(60px, 80px); }
.stage:hover .phone.p1 { transform: rotate(-10deg) translateX(-12px) translateZ(-40px); }
.stage:hover .phone.p3 { transform: rotate(11deg) translateX(12px) translateZ(-20px); }
.feed { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; transform: translateY(100%); transition: transform .9s cubic-bezier(.7, 0, .2, 1); will-change: transform; }
.slide.on { transform: translateY(0); }
.slide.out { transform: translateY(-100%); }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.slide.on img { animation: kenburns 7s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.16) translate(-2%, -3%); } }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .3), transparent 22%, transparent 55%, rgba(0, 0, 0, .62)); }
.tt { z-index: 3; }
.tt .meta b, .tt .meta span { transition: opacity .4s, transform .5s var(--ease); }
.tt.swap .meta b, .tt.swap .meta span { opacity: 0; transform: translateY(8px); }
.tt .side i.heart { position: relative; background: rgba(255, 255, 255, .22); border: 0; display: grid; place-items: center; }
.tt .side i.heart::before { content: "♥"; color: #fff; font-style: normal; font-size: 15px; transition: color .2s, transform .3s var(--ease); }
.tt .side i.heart.pop::before { color: #ff2d55; transform: scale(1.35); }
.burst { position: absolute; right: 18px; bottom: 150px; z-index: 4; pointer-events: none; }
.burst span { position: absolute; color: #ff2d55; font-size: 18px; animation: float-up 1.6s ease-out forwards; }
@keyframes float-up { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx, -20px), -150px) scale(1.2) rotate(var(--r, -20deg)); } }

/* status cards that change state */
.float { transition: transform .6s var(--ease), opacity .5s; }
.float .swapper { display: grid; }
.float .swapper > * { grid-area: 1 / 1; transition: opacity .45s, transform .55s var(--ease); }
.float .swapper > .off { opacity: 0; transform: translateY(10px); pointer-events: none; }
.check-draw { width: 30px; height: 30px; border-radius: 10px; background: var(--good-wash); color: var(--good); display: grid; place-items: center; flex: none; }
.check-draw svg { width: 16px; height: 16px; }
.check-draw path { stroke-dasharray: 30; stroke-dashoffset: 30; }
.float .on .check-draw path, .check-draw.go path { animation: draw .6s var(--ease) .15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.clock-ico { width: 30px; height: 30px; border-radius: 10px; background: var(--accent-wash); color: var(--accent); display: grid; place-items: center; flex: none; position: relative; }
.clock-ico::before { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 50%; }
.clock-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2px; height: 5px; background: currentColor; transform-origin: 50% 0; animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.countdown { font-variant-numeric: tabular-nums; }

/* ---------- image wall (two marquees) ---------- */
.wall { padding: 30px 0 10px; overflow: hidden; position: relative; }
.wall::before, .wall::after { content: ""; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none; }
.wall::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.wall::after { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }
.lane { display: flex; gap: 16px; width: max-content; animation: lane 60s linear infinite; padding: 8px 0; }
.lane.rev { animation-direction: reverse; animation-duration: 75s; }
.wall:hover .lane { animation-play-state: paused; }
@keyframes lane { to { transform: translateX(-50%); } }
.vcard { position: relative; width: 196px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; flex: none; box-shadow: var(--sh-2); background: #222; transition: transform .4s var(--ease); }
.vcard:hover { transform: translateY(-6px) rotate(-1deg); }
.vcard img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.vcard:hover img { transform: scale(1.06); }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .65)); }
.vcard .cap { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; color: #fff; font-size: .74rem; line-height: 1.3; }
.vcard .cap b { display: block; font-size: .78rem; margin-bottom: 2px; }
.vcard .tag { position: absolute; top: 10px; left: 10px; z-index: 2; }
.vcard .tag .pill { background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); }

/* ---------- pinned "how it works" story ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.story .steps-col { display: flex; flex-direction: column; }
.story .s { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; padding: 20px 0; opacity: .28; transition: opacity .5s; }
.story .s.on { opacity: 1; }
.story .s .n { font: 500 .78rem/1 var(--f-mono); letter-spacing: .12em; color: var(--accent); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.story .s .n::after { content: ""; height: 1px; width: 0; background: var(--accent); transition: width .8s var(--ease); }
.story .s.on .n::after { width: 60px; }
.story .s h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.035em; }
.story .s p { color: var(--soft); font-size: 1.05rem; max-width: 440px; }
.story .viz { position: sticky; top: 12vh; height: 76vh; min-height: 520px; display: grid; place-items: center; }
.viz-card { position: relative; width: min(460px, 100%); height: 100%; max-height: 600px; border-radius: 32px; background: var(--wash); border: 1px solid var(--wash-line); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(120, 60, 30, .35), var(--sh-1); }
.viz-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 85% 0%, rgba(255, 122, 61, .24), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(107, 75, 255, .16), transparent 70%); }
.viz-card .pane { position: absolute; inset: 0; padding: 30px; display: flex; flex-direction: column; justify-content: center; gap: 12px; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .6s var(--ease), transform .7s var(--ease); pointer-events: none; }
.viz[data-step="0"] .pane.p0, .viz[data-step="1"] .pane.p1, .viz[data-step="2"] .pane.p2, .viz[data-step="3"] .pane.p3 { opacity: 1; transform: none; pointer-events: auto; }
.viz-card .pane .mini { background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.viz-dots { position: absolute; right: -28px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; }
.viz-dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line-2); transition: height .4s var(--ease), background .3s; display: block; }
.viz[data-step="0"] .viz-dots i:nth-child(1), .viz[data-step="1"] .viz-dots i:nth-child(2), .viz[data-step="2"] .viz-dots i:nth-child(3), .viz[data-step="3"] .viz-dots i:nth-child(4) { height: 26px; background: var(--accent); }
/* pane 0: phones assemble */
.batch-viz { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 8px; }
.batch-viz .ph { aspect-ratio: 9 / 16; border-radius: 12px; background: var(--paper-2); border: 2px solid #fff; box-shadow: var(--sh-2); position: relative; overflow: hidden; transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease), opacity .5s; }
.batch-viz .ph img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.viz[data-step="0"] .batch-viz .ph { transform: none; opacity: 1; }
.batch-viz .ph:nth-child(2) { transition-delay: .08s; } .batch-viz .ph:nth-child(3) { transition-delay: .16s; } .batch-viz .ph:nth-child(4) { transition-delay: .24s; } .batch-viz .ph:nth-child(5) { transition-delay: .32s; }
.viz-card .pane h4 { color: var(--ink); font-size: 1.3rem; margin: 0; letter-spacing: -.02em; }
.viz-card .pane .sub { color: var(--soft); font-size: .86rem; }
.order-mini { background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); border-radius: 18px; padding: 16px; display: grid; gap: 10px; font-size: .86rem; }
.order-mini .row { justify-content: space-between; }
.order-mini .pay { height: 40px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 600; position: relative; overflow: hidden; }
.order-mini .pay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-100%); animation: shine 2.6s ease-in-out infinite; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
/* pane 1: warmup bars fill */
.warm-viz .mini .bar-fill { width: 0; transition: width 1.6s var(--ease); }
.viz[data-step="1"] .warm-viz .mini:nth-child(1) .bar-fill { width: 100%; }
.viz[data-step="1"] .warm-viz .mini:nth-child(2) .bar-fill { width: 66%; transition-delay: .15s; }
.viz[data-step="1"] .warm-viz .mini:nth-child(3) .bar-fill { width: 33%; transition-delay: .3s; }
.viz[data-step="1"] .warm-viz .mini:nth-child(4) .bar-fill { width: 83%; transition-delay: .45s; }
.activity { display: flex; gap: 6px; flex-wrap: wrap; }
.activity span { font: 500 .7rem/1 var(--f-mono); color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 9px; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease); }
.viz[data-step="1"] .activity span { opacity: 1; transform: none; }
.viz[data-step="1"] .activity span:nth-child(2) { transition-delay: .4s; } .viz[data-step="1"] .activity span:nth-child(3) { transition-delay: .7s; } .viz[data-step="1"] .activity span:nth-child(4) { transition-delay: 1s; }
/* pane 2: calendar events drop in */
.cal-viz { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cal-viz .d { background: #fff; border: 1px solid var(--line); border-radius: 12px; min-height: 230px; padding: 7px; display: flex; flex-direction: column; gap: 5px; }
.cal-viz .d > b { font: 500 .6rem/1 var(--f-mono); color: var(--faint); margin-bottom: 4px; }
.cal-viz .e { border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 4; position: relative; transform: translateY(-30px) scale(.9); opacity: 0; transition: transform .6s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; }
.cal-viz .e img { width: 100%; height: 100%; object-fit: cover; }
.cal-viz .e span { position: absolute; left: 4px; bottom: 4px; font: 600 .56rem/1 var(--f-sans); color: #fff; background: rgba(0, 0, 0, .5); padding: 3px 5px; border-radius: 5px; }
.viz[data-step="2"] .cal-viz .e { transform: none; opacity: 1; }
.viz[data-step="2"] .cal-viz .e.t1 { transition-delay: .1s; } .viz[data-step="2"] .cal-viz .e.t2 { transition-delay: .25s; } .viz[data-step="2"] .cal-viz .e.t3 { transition-delay: .4s; }
.viz[data-step="2"] .cal-viz .e.t4 { transition-delay: .55s; } .viz[data-step="2"] .cal-viz .e.t5 { transition-delay: .7s; } .viz[data-step="2"] .cal-viz .e.t6 { transition-delay: .85s; }
/* pane 3: posted */
.posted-viz { display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: center; }
.posted-viz .phone { position: relative; left: auto; top: auto; width: 170px; height: 350px; border-radius: 30px; padding: 7px; transform: rotate(-4deg); opacity: 1; }
.posted-viz .phone .screen { border-radius: 24px; }
.posted-viz .phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.posted-viz .stack > .mini { opacity: 0; transform: translateX(20px); transition: opacity .5s, transform .6s var(--ease); }
.viz[data-step="3"] .posted-viz .stack > .mini { opacity: 1; transform: none; }
.viz[data-step="3"] .posted-viz .stack > .mini:nth-child(2) { transition-delay: .3s; } .viz[data-step="3"] .posted-viz .stack > .mini:nth-child(3) { transition-delay: .6s; }
.viz[data-step="3"] .check-draw path { animation: draw .7s var(--ease) .4s forwards; }

/* ---------- bento tiles with live mini-visuals + spotlight ---------- */
.tile { --mx: 50%; --my: 50%; }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 79, 43, .1), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile.dark::before { background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 255, 255, .7), transparent 45%); }
.tile:hover::before { opacity: 1; }
.tile > * { position: relative; }
.slots { display: flex; gap: 10px; margin-top: 20px; }
.slots i { flex: 1; aspect-ratio: 9 / 16; max-width: 64px; border-radius: 12px; border: 2px solid #fff; box-shadow: var(--sh-2); background: var(--paper-2) center / cover; display: block; animation: slot 5s infinite; }
.slots i:nth-child(2) { animation-delay: .4s; } .slots i:nth-child(3) { animation-delay: .8s; } .slots i:nth-child(4) { animation-delay: 1.2s; } .slots i:nth-child(5) { animation-delay: 1.6s; }
@keyframes slot { 0%, 100% { opacity: .35; transform: none; } 20%, 70% { opacity: 1; transform: translateY(-4px); } }
.scan { position: relative; height: 92px; border-radius: 14px; overflow: hidden; margin: 18px 0 4px; background: var(--paper-2); }
.scan img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.scan::after { content: ""; position: absolute; left: 0; right: 0; height: 36px; top: -36px; background: linear-gradient(180deg, transparent, rgba(19, 138, 82, .35), transparent); border-bottom: 2px solid var(--good); animation: scan 2.8s ease-in-out infinite; }
@keyframes scan { 0% { top: -36px; } 100% { top: 100%; } }
.scan .ok { position: absolute; right: 8px; top: 8px; z-index: 2; }
.spin-slow { animation: spin 6s linear infinite; }
.pace { display: flex; gap: 5px; align-items: flex-end; height: 48px; margin-top: 18px; }
.pace i { flex: 1; border-radius: 4px; background: var(--paper-2); display: block; height: 30%; }
.pace i.on { background: linear-gradient(180deg, var(--accent-2), var(--accent)); animation: bar 2.4s ease-in-out infinite; }
.pace i:nth-child(odd).on { animation-delay: .3s; }
@keyframes bar { 0%, 100% { height: 35%; } 50% { height: 90%; } }

/* ---------- showcase animations ---------- */
.window .ev { opacity: 0; transform: translateY(-14px); transition: opacity .4s, transform .6s cubic-bezier(.3, 1.5, .5, 1); }
.window.in .ev { opacity: 1; transform: none; }
.window .ev .th { background-size: cover; background-position: center; }
.drag-ghost { position: absolute; z-index: 5; width: 120px; padding: 6px 8px; border-radius: 10px; background: #fff; border: 1px solid var(--ink); box-shadow: var(--sh-3); font-size: .68rem; display: flex; gap: 6px; align-items: center; opacity: 0; pointer-events: none; }
.drag-ghost .th { width: 18px; height: 26px; border-radius: 4px; background-size: cover; }
.window.in .drag-ghost { animation: dragmove 6s var(--ease) 1.4s infinite; }
@keyframes dragmove { 0% { opacity: 0; transform: translate(0, 0) rotate(0); } 8% { opacity: 1; transform: translate(0, 0) rotate(-3deg); } 45% { opacity: 1; transform: translate(var(--tx), var(--ty)) rotate(2deg); } 55% { opacity: 1; transform: translate(var(--tx), var(--ty)) rotate(0) scale(.96); } 65%, 100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(.9); } }
.cursor { position: absolute; z-index: 6; width: 18px; height: 18px; pointer-events: none; opacity: 0; }
.window.in .cursor { animation: dragmove 6s var(--ease) 1.4s infinite; }
.window .main { position: relative; }

/* ---------- counters, magnetic buttons, final CTA ---------- */
.btn.magnetic { transition: transform .25s var(--ease), background .15s, box-shadow .2s; }
.final { background: linear-gradient(120deg, #ff4f2b, #ff7a3d 40%, #ff4f2b 70%, #e8361b); background-size: 200% 200%; animation: flow 10s ease infinite; }
@keyframes flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.final .orbit { position: absolute; width: 120px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .35); border: 3px solid rgba(255, 255, 255, .7); z-index: 0; }
.final .orbit img { width: 100%; height: 100%; object-fit: cover; }
.final .orbit.o1 { left: 4%; top: 14%; transform: rotate(-12deg); animation: bob 7s ease-in-out infinite; }
.final .orbit.o2 { right: 5%; top: 10%; transform: rotate(10deg); animation: bob 8s ease-in-out -2s infinite; }
.final .orbit.o3 { left: 12%; bottom: -40px; transform: rotate(8deg); animation: bob 9s ease-in-out -4s infinite; width: 100px; }
.final .orbit.o4 { right: 13%; bottom: -50px; transform: rotate(-8deg); animation: bob 7.5s ease-in-out -1s infinite; width: 100px; }
.final > *:not(.orbit) { position: relative; z-index: 1; }
.ripple { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); animation: ripple 5s linear infinite; z-index: 0; pointer-events: none; }
.ripple:nth-of-type(2) { animation-delay: -1.66s; } .ripple:nth-of-type(3) { animation-delay: -3.33s; }
@keyframes ripple { from { transform: scale(.4); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }

/* tickers for numbers that change */
.roll { display: inline-block; transition: transform .35s var(--ease), opacity .35s; }
.roll.bump { animation: bump .45s var(--ease); }
@keyframes bump { 0% { transform: translateY(0); } 30% { transform: translateY(-6px); opacity: .5; } 100% { transform: none; opacity: 1; } }

/* ---------- dashboard motion ---------- */
.app #view.enter > * { animation: rise-in .5s var(--ease) both; }
.app #view.enter > *:nth-child(2) { animation-delay: .05s; } .app #view.enter > *:nth-child(3) { animation-delay: .1s; } .app #view.enter > *:nth-child(4) { animation-delay: .15s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } }
.enter .acc-grid > .acc { animation: rise-in .5s var(--ease) both; }
.enter .acc-grid > .acc:nth-child(2) { animation-delay: .04s; } .enter .acc-grid > .acc:nth-child(3) { animation-delay: .08s; } .enter .acc-grid > .acc:nth-child(4) { animation-delay: .12s; } .enter .acc-grid > .acc:nth-child(5) { animation-delay: .16s; } .enter .acc-grid > .acc:nth-child(n+6) { animation-delay: .2s; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 120; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 8px; height: 14px; border-radius: 2px; display: block; animation: fall linear forwards; }
@keyframes fall { to { transform: translate(var(--x), 110vh) rotate(var(--rot)); } }

@media (max-width: 980px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story .viz { position: sticky; top: 70px; height: 54vh; min-height: 400px; z-index: 2; }
  .story .s { min-height: 50vh; }
  .viz-dots { display: none; }
  .posted-viz { grid-template-columns: 120px 1fr; }
  .posted-viz .phone { width: 120px; height: 250px; }
}
@media (max-width: 620px) {
  .vcard { width: 150px; border-radius: 18px; }
  .final .orbit { display: none; }
  .viz-card .pane { padding: 18px; }
  .cal-viz .d { min-height: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .split .w > span, .fade-up, .stage .phone { transform: none !important; opacity: 1 !important; }
  .lane { animation: none; }
  .grain, .blobs { display: none; }
}
.stage .float { animation-name: bobz; }
@keyframes bobz { 0%, 100% { transform: translate3d(0, 0, 160px); } 50% { transform: translate3d(0, -8px, 160px); } }
.stage .float .row { gap: 10px; }
.window .ev > div { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.auth .art .phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth .art .phone .screen::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)); }
.auth .art .phone { animation: bob 7s ease-in-out infinite; }
.auth .art .phone.p1 { animation-delay: -2s; } .auth .art .phone.p3 { animation-delay: -4s; }
@media (max-width: 980px) {
  .story .viz { order: -1; top: 66px; height: 48vh; min-height: 360px; max-height: 470px; z-index: 3; padding: 0 0 12px; }
  .story .viz::before { content: ""; position: absolute; inset: -66px -24px 0; background: linear-gradient(180deg, var(--paper) 80%, transparent); z-index: -1; }
  .story .s { min-height: 62vh; }
  .story .s:last-child { min-height: 50vh; }
}
@media (max-width: 620px) { .viz-card .pane .activity { display: none; } .viz-card .pane .sub { font-size: .8rem; } .story .s { padding-top: 40px; } }
@media (max-width: 980px) { .stage .float.f1 { left: 2%; } .stage .float.f2 { right: 2%; } .stage .float.f3 { left: 8%; } }

/* ---------- reach: animated view charts ---------- */
.reach { padding-top: 90px; }
.reach-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 16px; align-items: stretch; }
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 20px; box-shadow: var(--sh-2); position: relative; overflow: hidden; }
.chart-card.big { background: var(--wash); border-color: var(--wash-line); padding: 28px 28px 24px; display: flex; flex-direction: column; }
.chart-card.big::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 60% at 100% 0%, rgba(255, 122, 61, .14), transparent 70%); pointer-events: none; }
.chart-card > * { position: relative; }
.ch-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.ch-label { font: 500 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.ch-num { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.ch-num b { font: 650 clamp(2.6rem, 5.2vw, 4.2rem)/1 var(--f-sans); letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.ch-num .up { display: inline-flex; align-items: center; gap: 3px; color: var(--good); background: var(--good-wash); border-radius: 999px; padding: 5px 10px 5px 7px; font: 600 .82rem/1 var(--f-sans); font-variant-numeric: tabular-nums; }
.ch-num .up svg { width: 14px; height: 14px; }
.ch-num.sm { align-items: baseline; gap: 6px; margin: 0; }
.ch-num.sm b { font-size: 1.75rem; letter-spacing: -.045em; }
.ch-num.sm small { color: var(--soft); font-size: .8rem; }
.ch-legend { display: flex; gap: 16px; padding-top: 2px; }
.ch-legend span { display: inline-flex; gap: 7px; align-items: center; font-size: .8rem; color: var(--soft); }
.ch-legend i { width: 14px; height: 3px; border-radius: 2px; display: block; background: var(--accent); }
.ch-legend i.l2 { background: var(--violet); }
.chart { width: 100%; height: 290px; display: block; margin-top: 22px; overflow: visible; flex: 1; min-height: 240px; }
.chart .grid line { stroke: rgba(18, 17, 19, .08); stroke-dasharray: 2 6; }
.chart .grid line.base { stroke: rgba(18, 17, 19, .14); stroke-dasharray: none; }
.chart text { font: 500 11px var(--f-mono); fill: var(--faint); }
.chart .l-views { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart .l-follow { fill: none; stroke: var(--violet); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 0; opacity: .85; }
.chart .head { fill: #fff; stroke: var(--accent); stroke-width: 3; }
.chart .halo { fill: var(--accent); opacity: .18; transform-box: fill-box; transform-origin: center; animation: halo 1.6s ease-out infinite; }
@keyframes halo { from { transform: scale(.6); opacity: .35; } to { transform: scale(2.2); opacity: 0; } }
.chart .tip rect { fill: var(--ink); }
.chart .tip text { fill: #fff; font: 600 12px var(--f-sans); }
.chart .viral { fill: var(--accent); }
.chart .viral-l { stroke: var(--accent); stroke-dasharray: 3 4; opacity: .5; }
.milestones { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.ms { display: inline-flex; gap: 6px; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .8rem; color: var(--soft); opacity: .35; transform: translateY(4px); transition: opacity .5s, transform .5s var(--ease), background .3s; }
.ms b { color: var(--ink); font-weight: 650; }
.ms.on { opacity: 1; transform: none; }
.ms.hot.on { background: var(--accent-wash); border-color: #ffd2c4; color: var(--accent); }
.ms.hot b { color: var(--accent); }
.reach-side { display: grid; gap: 16px; grid-template-rows: repeat(3, 1fr); }
.acc-card { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.acc-card .av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.acc-card .row { gap: 12px; }
.acc-card b { font-size: .92rem; letter-spacing: -.01em; display: block; }
.acc-card small { color: var(--soft); font-size: .78rem; }
.acc-card .row.end { align-items: flex-end; justify-content: space-between; }
.spark { width: 150px; height: 52px; overflow: visible; flex: none; }
.spark .l-views { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.spark .head { fill: #fff; stroke: var(--accent); stroke-width: 2.4; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 52px; width: 150px; flex: none; }
.bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--violet), #b3a0ff); height: 8%; display: block; transition: height 1.1s var(--ease); }
.bars i:last-child { background: linear-gradient(180deg, var(--accent), var(--accent-2)); }
.reach-note { text-align: center; color: var(--faint); font-size: .8rem; margin: 22px 0 0; }
@media (max-width: 980px) {
  .reach-grid { grid-template-columns: 1fr; }
  .reach-side { grid-template-rows: none; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
}
@media (max-width: 620px) {
  .reach { padding-top: 64px; }
  .chart-card.big { padding: 20px 18px 18px; }
  .chart { height: 220px; min-height: 200px; margin-top: 16px; }
  .ch-legend { display: none; }
  .ms { height: 28px; font-size: .74rem; padding: 0 10px; }
  .spark, .bars { width: 120px; }
}

/* ---------- polish pass: spacing and alignment ---------- */
.hero .assure { gap: 10px 20px; }
.hero .assure span { white-space: nowrap; }
.tile .ico { margin-bottom: 0; }
.tile h3 { margin-top: 22px; margin-bottom: 8px; }
.tile .slots, .tile .pace { margin-top: auto; padding-top: 22px; }
.tile .scan { margin: 16px 0 14px; }
.price-card .tag { position: static; margin-bottom: 4px; }
.wk .d { min-height: 170px; }
.window .body { min-height: 0; }
.final h2 { max-width: 720px; margin-left: auto; margin-right: auto; }
.final .orbit.o1 { left: 3%; } .final .orbit.o2 { right: 3%; }
.story .s:first-child { min-height: 52vh; justify-content: flex-start; padding-top: 6vh; }
.faq > div:first-child p { max-width: 340px; }
@media (max-width: 1100px) { .final h2 { max-width: 560px; } }
.viz-card { max-height: 500px; }
.drag-ghost { width: auto; white-space: nowrap; padding: 6px 10px 6px 6px; }
.drag-ghost b { display: block; font-size: .7rem; }
.included ul { gap: 14px; }
@media (max-width: 620px) { .inc-foot .ph5 img { width: 22px; height: 36px; } .inc-foot .ph5 img + img { margin-left: -8px; } .inc-foot b { font-size: .88rem; } }
.auth .art .kicker { color: var(--accent); }

/* ---------- hero v2: flat 2D stage (sharp text), smaller thin-bezel phones, views chart card, cleaner likes ---------- */
.stage { transform-style: flat; perspective: none; height: 580px; --px: 0px; --py: 0px; }
.stage .phone { width: 206px; height: 432px; padding: 5px; border-radius: 38px; background: linear-gradient(145deg, #2a2a2e, #0b0b0d 40%);
  box-shadow: 0 30px 60px -24px rgba(60, 25, 10, .38), 0 12px 24px -12px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.stage .phone .screen { border-radius: 33px; background: #1a1a1c; }
.stage .phone .screen::after { top: 8px; width: 64px; height: 19px; }
.stage .phone.p1 { left: 6%; top: 92px; }
.stage .phone.p2 { left: 33%; top: 40px; width: 222px; height: 466px; }
.stage .phone.p3 { left: 60%; top: 108px; }
.loaded .stage .phone.p1 { transform: translate(calc(var(--px) * -.6), calc(var(--py) * -.6)) rotate(-7deg); }
.loaded .stage .phone.p2 { transform: translate(var(--px), var(--py)) rotate(0deg); }
.loaded .stage .phone.p3 { transform: translate(calc(var(--px) * -.4), calc(var(--py) * -.4)) rotate(7deg); }
.loaded .stage .phone { transition: transform 1.2s var(--ease), opacity 1s; }
.stage:hover .phone.p1 { transform: translate(calc(var(--px) * -.6 - 8px), calc(var(--py) * -.6)) rotate(-9deg); }
.stage:hover .phone.p3 { transform: translate(calc(var(--px) * -.4 + 8px), calc(var(--py) * -.4)) rotate(9deg); }
.stage .slide img { transform: scale(1.01); }
.stage .slide.on img { animation: kenburns2 8s ease-out forwards; }
@keyframes kenburns2 { from { transform: scale(1.01); } to { transform: scale(1.09) translate(-1.5%, -2%); } }
.stage .tt { padding: 40px 12px 14px; }
.stage .tt .side { right: 8px; bottom: 84px; gap: 12px; }
.stage .tt .side i { width: 28px; height: 28px; }

/* crisp floating cards: 2D only, no translateZ */
.stage .float { animation-name: bob2; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border: 1px solid rgba(20, 16, 12, .06);
  box-shadow: 0 18px 40px -16px rgba(60, 25, 10, .28), 0 4px 10px -4px rgba(0, 0, 0, .08); border-radius: 16px; padding: 10px 14px 10px 10px;
  -webkit-font-smoothing: antialiased; z-index: 6; }
@keyframes bob2 { 0%, 100% { transform: translate(calc(var(--px) * 1.4), calc(var(--py) * 1.4)); } 50% { transform: translate(calc(var(--px) * 1.4), calc(var(--py) * 1.4 - 7px)); } }
.stage .float.f1 { left: 0; top: 58px; }
.stage .float.f2 { right: 0; top: 196px; }
.stage .float.f3 { left: 2%; bottom: 74px; }

/* views chart card */
.stage .float.fchart { right: 2%; bottom: 18px; width: 262px; display: block; padding: 14px 16px 10px; animation-delay: -3s; }
.hc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hc-label { font-family: 'Geist Mono', ui-monospace, monospace; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.hc-up { display: inline-flex; align-items: center; gap: 3px; font-size: .72rem; font-weight: 600; color: var(--good); background: var(--good-wash); padding: 2px 8px 2px 6px; border-radius: 99px; }
.hc-up svg { width: 11px; height: 11px; }
.float .hc-num { display: block; font-size: 1.85rem; line-height: 1.05; letter-spacing: -.035em; font-weight: 700; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.hc-svg { display: block; width: 100%; height: auto; overflow: visible; transition: opacity .45s; }
.hc-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.hc-dot { fill: #fff; stroke: #f23d1f; stroke-width: 2.4; }
.hc-halo { fill: #ff6a3a; opacity: 0; transform-box: fill-box; transform-origin: center; }
.fchart.done .hc-halo { animation: halo2 1.6s ease-out infinite; }
@keyframes halo2 { 0% { opacity: .35; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.6); } }
.fchart.reset .hc-svg, .fchart.reset .hc-num { opacity: 0; }
.hc-num { transition: opacity .45s; }
.hc-axis { display: flex; justify-content: space-between; font-family: 'Geist Mono', ui-monospace, monospace; font-size: .6rem; color: var(--soft); margin-top: 4px; }

/* cleaner likes: vector heart, springy pop, soft ring, 3 rising hearts */
.tt .side i.heart { background: transparent; overflow: visible; }
.tt .side i.heart::before { content: ""; width: 26px; height: 26px; font-size: 0; transition: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.1 5.3 3 1.7-1.9 3.2-3 5.3-3 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/></svg>") center / contain no-repeat; }
.tt .side i.heart::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #ff2d55; opacity: 0; transform: scale(.4); }
.tt .side i.heart.pop::before { transform: none; animation: likepop .7s cubic-bezier(.2, .9, .3, 1.2);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23ff2d55' d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.1 5.3 3 1.7-1.9 3.2-3 5.3-3 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/></svg>"); }
.tt .side i.heart.pop::after { animation: likering .6s ease-out; }
@keyframes likepop { 0% { transform: scale(1); } 30% { transform: scale(.75); } 60% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes likering { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.5); } }
.stage .burst { right: 14px; bottom: 132px; }
.burst span { width: 18px; height: 18px; font-size: 0; opacity: 0; animation: rise 2s cubic-bezier(.25, .7, .3, 1) forwards;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23ff2d55' d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.1 5.3 3 1.7-1.9 3.2-3 5.3-3 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/></svg>") center / contain no-repeat;
  filter: drop-shadow(0 2px 4px rgba(255, 45, 85, .35)); }
@keyframes rise { 0% { opacity: 0; transform: translate(0, 0) scale(calc(var(--s, 1) * .4)); } 18% { opacity: 1; transform: translate(calc(var(--dx) * .3), -26px) scale(var(--s, 1)); }
  60% { opacity: .9; transform: translate(var(--dx), -90px) scale(var(--s, 1)); } 100% { opacity: 0; transform: translate(calc(var(--dx) * .6), -140px) scale(calc(var(--s, 1) * .85)); } }

@media (max-width: 1180px) {
  .stage .float.fchart { width: 236px; }
  .stage .float.f3 { display: none; }
}
@media (max-width: 980px) {
  .stage { height: 560px; }
}
@media (max-width: 620px) {
  .stage { height: 440px; transform: none; margin-bottom: 0; max-width: 360px; }
  .stage .phone { width: 150px; height: 316px; border-radius: 28px; padding: 4px; }
  .stage .phone .screen { border-radius: 24px; }
  .stage .phone .screen::after { top: 6px; width: 46px; height: 14px; }
  .stage .phone.p1 { left: 1%; top: 70px; }
  .stage .phone.p2 { left: 28%; top: 26px; width: 162px; height: 340px; }
  .stage .phone.p3 { left: 56%; top: 82px; }
  .stage .tt { padding: 28px 9px 10px; font-size: .6rem; }
  .stage .tt .tabs { gap: 9px; }
  .stage .tt .side { right: 6px; bottom: 64px; gap: 9px; }
  .stage .tt .side i { width: 22px; height: 22px; }
  .tt .side i.heart::before { width: 20px; height: 20px; }
  .stage .tt .meta { padding-right: 32px; }
  .stage .tt .meta b { font-size: .66rem; }
  .stage .burst { right: 9px; bottom: 100px; }
  .stage .float { padding: 8px 11px 8px 8px; border-radius: 14px; }
  .stage .float b { font-size: .76rem; } .stage .float small { font-size: .66rem; }
  .stage .float .ring, .stage .float .check-draw { width: 26px; height: 26px; }
  .stage .float .ring::after { width: 19px; height: 19px; }
  .stage .float.f1 { left: 0; top: 10px; }
  .stage .float.f2 { right: 0; top: 168px; }
  .stage .float.fchart { right: auto; left: 50%; margin-left: -110px; bottom: 0; width: 220px; padding: 11px 13px 8px; }
  .float .hc-num { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .stage .float { animation: none; } }

/* ---------- hero steps ---------- */
.hero-steps { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; max-width: 480px; counter-reset: none; }
.hero-steps li { display: flex; align-items: center; gap: 14px; font-size: 1.06rem; color: var(--ink-2); line-height: 1.3; }
.hero-steps i { font-style: normal; flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: .8rem; font-weight: 500; color: var(--accent); background: #fff; border: 1px solid var(--wash-line); box-shadow: 0 4px 12px -6px rgba(255, 90, 50, .35); position: relative; }
.hero-steps li + li i::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 12px; background: linear-gradient(var(--wash-line), var(--accent)); opacity: .5; }
.loaded .hero-steps li { animation: step-in .7s var(--ease) both; }
.loaded .hero-steps li:nth-child(1) { animation-delay: .6s; } .loaded .hero-steps li:nth-child(2) { animation-delay: .72s; }
.loaded .hero-steps li:nth-child(3) { animation-delay: .84s; } .loaded .hero-steps li:nth-child(4) { animation-delay: .96s; }
@keyframes step-in { from { opacity: 0; transform: translateX(-10px); } }
@media (max-width: 620px) { .hero-steps { gap: 10px; margin-bottom: 24px; } .hero-steps li { font-size: .96rem; gap: 12px; } .hero-steps i { width: 26px; height: 26px; border-radius: 8px; } .hero-steps li + li i::before { height: 10px; } }

/* ---------- glimmer buttons v2: the button never moves. At rest it is plain; on hover a soft light follows the cursor,
   one slow silk sweep crosses it, a warm glow blooms underneath and a fine gradient rim fades in. ---------- */
.btn.glim { position: relative; overflow: hidden; isolation: isolate; transform: none !important;
  transition: box-shadow .6s cubic-bezier(.2, .8, .2, 1), background-color .4s, border-color .4s, color .3s; }
.btn.glim > .glim-sheen, .btn.glim > .glim-spot { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
.btn.glim > .glim-spot { z-index: 1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(90px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .22), rgba(255, 186, 150, .08) 45%, transparent 75%); }
.btn.glim:not(.main):not(.hot) > .glim-spot { background: radial-gradient(90px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 110, 70, .14), rgba(160, 130, 255, .06) 50%, transparent 78%); }
.btn.glim:hover > .glim-spot { opacity: 1; }
.btn.glim > .glim-sheen { z-index: 2; opacity: 0;
  background: linear-gradient(100deg, transparent 0 38%, rgba(255, 255, 255, .06) 44%, rgba(255, 255, 255, .28) 50%, rgba(255, 255, 255, .06) 56%, transparent 62% 100%);
  background-size: 260% 100%; background-position: 120% 0; }
.btn.glim:not(.main):not(.hot) > .glim-sheen { background: linear-gradient(100deg, transparent 0 38%, rgba(255, 140, 100, .06) 44%, rgba(255, 140, 100, .2) 50%, rgba(140, 110, 255, .06) 56%, transparent 62% 100%); background-size: 260% 100%; background-position: 120% 0; }
.btn.glim:hover > .glim-sheen { animation: silk 1.25s cubic-bezier(.25, .7, .2, 1) .05s 1 both; }
@keyframes silk { 0% { opacity: 1; background-position: 120% 0; } 85% { opacity: 1; } 100% { opacity: 0; background-position: -20% 0; } }
.btn.glim::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .6s;
  background: linear-gradient(120deg, rgba(255, 190, 150, .9), rgba(255, 90, 50, .55) 35%, rgba(255, 255, 255, .08) 55%, rgba(170, 140, 255, .75));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.btn.glim:hover::after { opacity: 1; }
.btn.main.glim:hover { background-color: #17120f; box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 14px 34px -14px rgba(255, 90, 50, .65), 0 6px 18px -8px rgba(110, 80, 220, .35); }
.btn.glim:not(.main):not(.hot):hover { background-color: #fff; box-shadow: 0 12px 28px -14px rgba(255, 90, 50, .45), 0 4px 14px -8px rgba(110, 80, 220, .25); }
.btn.glim > svg, .btn.glim > :not(.glim-sheen):not(.glim-spot) { position: relative; z-index: 4; }
.btn.glim .arrow { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.btn.glim:hover .arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn.glim:hover > .glim-sheen { animation: none; } }
/* hero v2 layout tune */
.hero-steps { margin-top: 30px; }
.stage .phone.p1 { left: 9%; top: 96px; }
.stage .phone.p2 { left: 34.5%; top: 44px; }
.stage .phone.p3 { left: 60%; top: 110px; }
.stage .float.f1 { left: -1%; top: 40px; }
.stage .float.f2 { right: -2%; top: 64px; animation-delay: -2s; }
.stage .float.f3 { left: -3%; bottom: 120px; animation-delay: -4s; }
.stage .float.fchart { right: -3%; bottom: 0; }
.stage .float.f3 { left: 0; bottom: 22px; }
.stage .float.fchart { bottom: -14px; }
.stage .float.f2 { top: 150px; right: -4%; }
.stage .float .hc-num { font-size: 1.85rem; }
@media (max-width: 620px) {
  .hero .grid { gap: 8px; }
  .stage .phone.p1 { left: 2%; top: 74px; }
  .stage .phone.p2 { left: 28.5%; top: 30px; }
  .stage .phone.p3 { left: 56%; top: 86px; }
  .stage .float.f1 { left: -2px; top: 6px; }
  .stage .float.f2 { right: -2px; top: 150px; }
  .stage .float.f3 { display: none; }
  .stage .float.fchart { right: auto; left: 50%; margin-left: -112px; width: 224px; bottom: 0; }
  .stage .float .hc-num { font-size: 1.5rem; }
}
@media (max-width: 620px) { .stage { height: 420px; } }

/* ---------- phones: each story step shows its own visual under its text ---------- */
.story.inline-viz .viz:not(.inline) { display: none; }
.story.inline-viz .s { min-height: 0; opacity: 1; padding: 30px 0; }
.story .viz.inline { position: static; height: auto; min-height: 0; max-height: none; display: block; margin-top: 22px; padding: 0; z-index: auto; order: 0; }
.story .viz.inline::before { content: none; }
.story .viz.inline .viz-card { width: 100%; height: 380px; }
@media (max-width: 620px) { .story .viz.inline .viz-card { height: 350px; } .story.inline-viz .s { padding: 24px 0; } }
/* Phones: the dragged card is just its thumbnail, so it fits inside a day column. */
@media (max-width: 620px) { .drag-ghost { padding: 4px; } .drag-ghost > div { display: none; } }
/* hero v3: no mascot, photos run to the phone's edge (hairline frame only), engagement-rate card bottom left */
.stage .phone { padding: 1.5px; background: linear-gradient(145deg, #4a4a50, #18181b 45%, #3a3a40); }
.stage .phone .screen { border-radius: 36.5px; }
.stage .phone .screen::after { top: 9px; }
.stage .slide::after { background: linear-gradient(180deg, rgba(0, 0, 0, .22), transparent 18%, transparent 58%, rgba(0, 0, 0, .55)); }
.stage { height: 640px; }
.stage .float.fer, .stage .float.fchart { bottom: -6px; width: 248px; }
.stage .float.fer { left: -2%; right: auto; animation-delay: -5s; }
.stage .float.fchart { right: -3%; }
.stage .float.f3 { left: -8%; bottom: auto; top: 250px; }
.stage .float.f2 { top: 196px; }
@media (max-width: 1100px) { .stage .float.fer, .stage .float.fchart { width: 228px; } }
@media (max-width: 620px) {
  .stage { height: 470px; }
  .stage .phone { padding: 1px; }
  .stage .phone .screen { border-radius: 27px; }
  .stage .float.fchart, .stage .float.fer { width: calc(50% - 5px); margin-left: 0; padding: 10px 11px 7px; bottom: 0; }
  .stage .float.fchart { left: auto; right: 0; }
  .stage .float.fer { left: 0; }
  .stage .float .hc-num { font-size: 1.2rem; }
  .stage .hc-label { font-size: .52rem; letter-spacing: .05em; }
  .stage .hc-up { font-size: .62rem; padding: 1px 6px 1px 5px; }
}
.stage .hc-label { white-space: nowrap; letter-spacing: .06em; }
.stage .float.fer, .stage .float.fchart { bottom: -34px; }
.fer .hc-dot { stroke: #6250d6; } .fer .hc-halo { fill: #7b6cf0; }
/* features: profile tile */
.prof-mock { margin-top: auto; padding-top: 20px; display: flex; align-items: center; gap: 14px; }
.prof-mock { position: relative; }
.prof-mock img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--sh-2); flex: none; }
.pm-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pm-txt b { font-size: 1rem; letter-spacing: -.01em; }
.pm-txt > span { color: var(--soft); font-size: .86rem; }
.pm-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.pm-tags i { font-style: normal; font-size: .74rem; font-weight: 500; padding: 3px 9px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); }
.pm-ok { margin-left: auto; align-self: flex-start; margin-top: 4px; }
@media (max-width: 620px) { .pm-ok { display: none; } .prof-mock img { width: 54px; height: 54px; } }
@media (max-width: 620px) {
  .stage .float.fchart, .stage .float.fer { width: calc(50% - 5px); bottom: 0; margin-left: 0; }
  .stage .float.fchart { left: auto; right: 0; }
  .stage .float.fer { left: 0; }
  .stage .hc-up { display: none; }
}
/* hero v4: frameless phones, the photo is the whole phone (edge to edge), a hairline ring + shadow give the shape */
.stage .phone { padding: 0; background: #111; overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(60, 25, 10, .38), 0 12px 24px -12px rgba(0, 0, 0, .25); }
.stage .phone .screen { border-radius: inherit; width: 100%; height: 100%; }
.stage .phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); pointer-events: none; z-index: 5; }
.stage .slide::after { background: linear-gradient(180deg, rgba(0, 0, 0, .16), transparent 14%, transparent 62%, rgba(0, 0, 0, .5)); }
@media (max-width: 620px) { .stage .phone { padding: 0; } }
.hero-phys { display: inline-flex; align-items: center; gap: 9px; margin: 22px 0 0; font-size: 1.12rem; font-weight: 550; letter-spacing: -.01em; color: var(--ink); }
.hero-phys svg { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: #fff; border: 1px solid var(--line); color: var(--accent); box-shadow: var(--sh-1); }
.hero-phys + .hero-steps { margin-top: 18px; }
@media (max-width: 620px) { .hero-phys { font-size: 1rem; margin-top: 16px; } }
/* how it works, one visual per step (phones and tablets): the card grows with its content, nothing is clipped */
.story .viz.inline .viz-card { height: auto; max-height: none; }
.story .viz.inline .viz-card .pane { position: relative; inset: auto; padding: 26px; }
.story .viz.inline .batch-viz, .story .viz.inline .cal-viz { max-width: 440px; }
.story .viz.inline .viz-card { max-width: 560px; }
@media (max-width: 620px) { .story .viz.inline .viz-card .pane { padding: 18px; } }
.story .viz.inline .viz-card { margin-left: 0; }
/* features: FYP share bars (warm-up tile) */
.tile .fyp { margin-top: auto; padding-top: 20px; }
.fyp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .78rem; color: var(--soft); margin-bottom: 8px; }
.fyp-head b { color: var(--accent); font-size: .9rem; font-variant-numeric: tabular-nums; }
.tile .fyp .pace { margin-top: 0; padding-top: 0; height: 64px; }
.pace.grow i { background: linear-gradient(180deg, var(--accent-2), var(--accent)); transform-origin: bottom; animation: fyp-grow 3.6s cubic-bezier(.3, .7, .2, 1) infinite both; }
.pace.grow i:nth-child(1) { height: 14%; opacity: 0.45; animation-delay: 0.00s; }
.pace.grow i:nth-child(2) { height: 20%; opacity: 0.50; animation-delay: 0.07s; }
.pace.grow i:nth-child(3) { height: 27%; opacity: 0.55; animation-delay: 0.14s; }
.pace.grow i:nth-child(4) { height: 35%; opacity: 0.61; animation-delay: 0.21s; }
.pace.grow i:nth-child(5) { height: 43%; opacity: 0.67; animation-delay: 0.28s; }
.pace.grow i:nth-child(6) { height: 51%; opacity: 0.73; animation-delay: 0.35s; }
.pace.grow i:nth-child(7) { height: 58%; opacity: 0.78; animation-delay: 0.42s; }
.pace.grow i:nth-child(8) { height: 64%; opacity: 0.83; animation-delay: 0.49s; }
.pace.grow i:nth-child(9) { height: 70%; opacity: 0.88; animation-delay: 0.56s; }
.pace.grow i:nth-child(10) { height: 75%; opacity: 0.91; animation-delay: 0.63s; }
.pace.grow i:nth-child(11) { height: 79%; opacity: 0.94; animation-delay: 0.70s; }
.pace.grow i:nth-child(12) { height: 83%; opacity: 0.97; animation-delay: 0.77s; }
.pace.grow i:nth-child(13) { height: 86%; opacity: 0.99; animation-delay: 0.84s; }
.pace.grow i:nth-child(14) { height: 88%; opacity: 1.01; animation-delay: 0.91s; }

@keyframes fyp-grow { 0% { transform: scaleY(.08); } 35%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.08); } }
.fyp-axis { display: flex; justify-content: space-between; font: 500 .62rem/1 var(--f-mono); color: var(--faint); margin-top: 6px; letter-spacing: .04em; }
/* features: several posts scanned side by side, each cleared as the line passes */
.scan.multi { height: auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; background: none; border-radius: 0; overflow: visible; padding: 2px 0; }
.scan.multi::after { content: none; }
.sc-t { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--paper-2); box-shadow: var(--sh-1); }
.sc-t img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-t i { position: absolute; right: 4px; bottom: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--good); color: #fff; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(19, 138, 82, .45);
  transform: scale(0); animation: sc-ok 3.4s cubic-bezier(.3, 1.6, .5, 1) infinite; }
.sc-t i svg { width: 11px; height: 11px; }
.sc-t:nth-child(1) i { animation-delay: -.22s; } .sc-t:nth-child(2) i { animation-delay: .2s; } .sc-t:nth-child(3) i { animation-delay: .62s; } .sc-t:nth-child(4) i { animation-delay: 1.05s; } .sc-t:nth-child(5) i { animation-delay: 1.47s; }
@keyframes sc-ok { 0%, 14% { transform: scale(0); } 22%, 80% { transform: scale(1); } 90%, 100% { transform: scale(0); } }
.sc-line { position: absolute; top: -4px; bottom: -4px; width: 3px; left: 0; border-radius: 3px; background: var(--good); box-shadow: 0 0 14px 4px rgba(19, 138, 82, .35); animation: sc-move 3.4s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes sc-move { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 62% { left: calc(100% - 3px); opacity: 1; } 70%, 100% { left: calc(100% - 3px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pace.grow i, .sc-line { animation: none; } .sc-t i { animation: none; transform: scale(1); } }
.hero-steps .soon-tag { font: 600 .68rem/1 var(--f-sans); font-style: normal; color: var(--soft); background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; margin-left: 6px; white-space: nowrap; vertical-align: 2px; }
.calc-plats { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.calc-plats .plat-chip.soon { opacity: .5; cursor: not-allowed; display: inline-flex; align-items: center; gap: 6px; }
.calc-plats .plat-chip.soon em { font-style: normal; font-size: .7rem; font-weight: 600; color: var(--soft); }
.calc .note.stock { font-size: .86rem; padding: 10px 14px; }
.btn.disabled { opacity: .45; pointer-events: none; box-shadow: none; }
.calc-plats .plat-chip { display: inline-flex; align-items: center; gap: 7px; padding-left: 6px; }
.pl-logo { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: #000; color: #fff; flex: none; }
.pl-logo svg { width: 13px; height: 13px; }
.pl-logo.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.pl-logo.youtube { background: #ff0033; }
.pl-logo.youtube svg { width: 16px; height: 16px; }
.plat-chip[aria-pressed=true] .pl-logo.tiktok { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .5); }
.calc-plats .plat-chip.soon .pl-logo { filter: grayscale(1); }
