:root {
  color-scheme: light;
  --bg: #f7f9ff; --bg2: #eef2fc; --card: #ffffff; --ink: #0d1a38; --mute: #54627f; --line: #dfe6f5;
  --night: #0a1530; --night2: #111f47; --on-night: #f3f6ff; --on-night-mute: #b8c6e6;
  --a1: #6d5dfc; --a2: #0ea5e9; --a3: #10b981; --a4: #f59e0b; --a5: #ec4899; --wa: #128c7e;
  --grad: linear-gradient(100deg, #8b7dff, #38bdf8 50%, #34d399);
  --kicker: #4f46e5; --shadow: 0 24px 60px rgba(24, 39, 90, .13);
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0a1226; --bg2: #0f1a34; --card: #141f3d; --ink: #edf2ff; --mute: #a5b3d1; --line: #26345a;
    --kicker: #a5b4fc; --shadow: 0 24px 60px rgba(0, 0, 0, .4);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1226; --bg2: #0f1a34; --card: #141f3d; --ink: #edf2ff; --mute: #a5b3d1; --line: #26345a;
  --kicker: #a5b4fc; --shadow: 0 24px 60px rgba(0, 0, 0, .4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 17px/1.6 var(--body); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(40px, 4.700vw, 68px); font-weight: 800; }
h2 { font-size: clamp(31px, 4vw, 52px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; background: #fff; color: #000; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--a2); outline-offset: 3px; border-radius: 6px; }
.grad { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 7s linear infinite alternate; }
@keyframes flow { to { background-position: 100% 0; } }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10, 21, 48, .78); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); color: var(--on-night); }
.nav-in { display: flex; align-items: center; gap: 14px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 19px var(--display); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.brand img { border-radius: 10px; background: #fff; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--on-night-mute); transition: color .2s; }
.nav-links a:hover { color: #fff; }
.theme { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #fff; cursor: pointer; font-size: 16px; line-height: 1; margin-left: 6px; }
.theme .moon { display: none; }
:root[data-theme="dark"] .theme .sun { display: none; }
:root[data-theme="dark"] .theme .moon { display: inline; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .sun { display: none; }
  :root:not([data-theme="light"]) .theme .moon { display: inline; }
}
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 14px; font-weight: 700; text-decoration: none; }
.btn-sm { min-height: 40px; padding: 0 16px; border-radius: 12px; font-size: 15px; }
.nav-login { color: inherit; border: 1.5px solid currentColor; }
.nav-login:hover { opacity: .8; }
@media (max-width: 520px) { .nav .btn-glow { display: none; } }
.btn-glow { color: #fff; background: linear-gradient(95deg, #5b4cf0, #0284c7); box-shadow: 0 10px 28px rgba(79, 70, 229, .4); transition: transform .2s, box-shadow .2s; }
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(79, 70, 229, .5); }

/* hero */
.hero { position: relative; overflow: hidden; color: var(--on-night); padding: 70px 0 36px; background: radial-gradient(900px 560px at 86% 8%, rgba(109, 93, 252, .42), transparent 65%), radial-gradient(760px 520px at 8% 92%, rgba(14, 165, 233, .28), transparent 65%), radial-gradient(520px 340px at 58% 104%, rgba(16, 185, 129, .24), transparent 70%), var(--night); }
#sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); margin-bottom: 22px; }
.eyebrow i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: ping 2s infinite; }
@keyframes ping { to { box-shadow: 0 0 0 11px rgba(52, 211, 153, 0); } }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--on-night-mute); margin-top: 22px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 62px; padding: 8px 22px 8px 16px; border-radius: 16px; text-decoration: none; color: #0a1530; background: #fff; font: 800 19px/1.15 var(--display); box-shadow: 0 16px 38px rgba(0, 0, 0, .35); transition: transform .2s; }
.store:hover { transform: translateY(-3px); }
.store small { display: block; font: 600 12px var(--body); opacity: .72; }
.store-alt { background: rgba(255, 255, 255, .09); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 26px 0 0; font-size: 14.5px; color: var(--on-night-mute); }
.demo-note { position: relative; margin-top: 26px; font-size: 13px; color: #93a5cc; text-align: right; }

.stage { position: relative; aspect-ratio: 1 / .78; }
.stage > * { transition: transform .35s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.laptop { position: absolute; left: 0; right: 8%; top: 6%; }
.lid { position: relative; padding: 2.2% 2.2% 2.6%; background: #1a2442; border-radius: 16px 16px 0 0; box-shadow: 0 40px 90px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .14); }
.lid img { border-radius: 4px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.cam { position: absolute; top: .8%; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #3b4b78; }
.base { height: 15px; margin: 0 -4%; border-radius: 0 0 14px 14px; background: linear-gradient(#ccd6ea, #8796b8); box-shadow: 0 18px 30px rgba(0, 0, 0, .5); }
.phone { position: relative; padding: 8px; border-radius: 34px; background: #0c1329; box-shadow: 0 30px 70px rgba(0, 0, 0, .42), inset 0 0 0 1.5px rgba(255, 255, 255, .2); }
.phone img { border-radius: 26px; width: 100%; }
.phone-hero { position: absolute; right: 0; bottom: 0; width: 28%; }
.float { position: absolute; display: grid; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .95); color: #0d1a38; font-size: 12.5px; line-height: 1.3; box-shadow: 0 18px 40px rgba(0, 0, 0, .34); white-space: nowrap; }
.float b { font-size: 13px; }
.float span { color: #54627f; }
.f1 { left: -3%; bottom: 25%; animation: bob 5s ease-in-out infinite; }
.f2 { left: 30%; bottom: 4%; animation: bob 6s ease-in-out -2s infinite; }
.f3 { right: 2%; top: 0; animation: bob 7s ease-in-out -4s infinite; }
.float { translate: 0 0; }
@keyframes bob { 50% { translate: 0 -9px; } }

/* marquee */
.marquee { overflow: hidden; padding: 15px 0; background: var(--bg2); border-block: 1px solid var(--line); }
.track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.track span { padding: 0 24px; font: 700 15px var(--display); color: var(--mute); white-space: nowrap; }
.track span::after { content: '✦'; margin-left: 48px; color: var(--a1); }
@keyframes slide { to { transform: translateX(-50%); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 56px 8px; }
.stats div { text-align: center; }
.stats b { display: block; font: 800 clamp(38px, 5vw, 62px)/1 var(--display); letter-spacing: -.03em; background: linear-gradient(100deg, #5b4cf0, #0284c7 60%, #059669); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 6px; }
.stats span { color: var(--mute); font-size: 15px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stats b { background-image: var(--grad); } }
:root[data-theme="dark"] .stats b { background-image: var(--grad); }

/* sections */
.sec { padding: clamp(66px, 8vw, 110px) 0; }
.tint { background: var(--bg2); }
.head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.head > p:last-child:not(.kicker) { color: var(--mute); margin-top: 16px; font-size: 18px; }
.kicker { color: var(--kicker); font-weight: 700; font-size: 14px; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 12px; }
.sub { color: var(--mute); font-size: 18px; margin-top: 16px; }
.dark .sub { color: var(--on-night-mute); }
.card { padding: 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(24, 39, 90, .05); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .e { font-size: 28px; display: block; margin-bottom: 12px; }
.card p { color: var(--mute); margin-top: 8px; font-size: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }

/* ecosystem */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr); align-items: center; gap: 8px; }
.node { padding: 22px 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); text-align: center; align-self: stretch; box-shadow: 0 10px 28px rgba(24, 39, 90, .07); }
.node h3 { font-size: 18px; }
.node p { font-size: 14.5px; line-height: 1.45; color: var(--mute); margin-top: 8px; }
.ico { width: 60px; height: 60px; margin: 0 auto 14px; display: grid; place-items: center; font-size: 28px; border-radius: 18px; animation: glow 3.6s ease-in-out infinite; }
.n1 { background: rgba(245, 158, 11, .18); --g: rgba(245, 158, 11, .5); }
.n2 { background: rgba(109, 93, 252, .18); --g: rgba(109, 93, 252, .5); animation-delay: .7s; }
.n3 { background: rgba(16, 185, 129, .18); --g: rgba(16, 185, 129, .5); animation-delay: 1.4s; }
.n4 { background: rgba(14, 165, 233, .18); --g: rgba(14, 165, 233, .5); animation-delay: 2.1s; }
.n5 { background: rgba(18, 140, 126, .2); --g: rgba(18, 140, 126, .55); animation-delay: 2.8s; }
@keyframes glow { 50% { box-shadow: 0 0 0 9px transparent, 0 0 26px var(--g); } }
.link { position: relative; height: 3px; border-radius: 3px; background: var(--line); }
.link i { position: absolute; top: -3.500px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--a1); box-shadow: 0 0 12px var(--a1); animation: run 2.2s linear infinite; }
.link i.rev { background: var(--a3); box-shadow: 0 0 12px var(--a3); animation: runBack 2.2s linear -1.1s infinite; }
@keyframes run { from { left: -4px; opacity: 0; } 15%, 85% { opacity: 1; } to { left: calc(100% - 6px); opacity: 0; } }
@keyframes runBack { from { left: calc(100% - 6px); opacity: 0; } 15%, 85% { opacity: 1; } to { left: -4px; opacity: 0; } }

/* desktop */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.tabs button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 15px var(--body); cursor: pointer; transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { color: #fff; border-color: transparent; background: linear-gradient(95deg, #5b4cf0, #0284c7); }
.browser { border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--bg2); border-bottom: 1px solid var(--line); }
.bar i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.bar i:nth-child(2) { background: #fbbf24; }
.bar i:nth-child(3) { background: #34d399; }
.bar span { margin-left: 12px; font-size: 12.5px; color: var(--mute); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.shots { position: relative; aspect-ratio: 16 / 10; background: #eef2fb; }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .55s; }
.shots img.on { opacity: 1; }
.cap { text-align: center; color: var(--mute); margin-top: 16px; min-height: 2.6em; }

/* phones */
.phones { display: flex; gap: 28px; justify-content: center; padding: 18px 20px 34px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.phones figure { margin: 0; flex: 0 0 min(250px, 68vw); scroll-snap-align: center; text-align: center; transition: transform .3s; }
.phones figure:nth-child(even) { margin-top: 34px; }
.phones figure:hover { transform: translateY(-8px); }
.phones figcaption { margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--mute); }

/* whatsapp */
.wa { background: linear-gradient(160deg, rgba(18, 140, 126, .13), transparent 62%), var(--bg); }
.wa-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .82fr); gap: 56px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 800; color: #fff; background: var(--wa); }
.panel { margin-top: 26px; padding: 16px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #0b2545, #13315c 55%, #1f4f78); box-shadow: var(--shadow); }
.panel-t { font-weight: 700; font-size: 14.5px; margin-bottom: 10px; }
.panel-t.alt { color: #fde68a; margin: 14px 0 8px; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.pgrid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pgrid span { padding: 9px 3px; border-radius: 12px; background: var(--c); font-size: 12.5px; font-weight: 700; line-height: 1.35; text-align: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.fine { margin-top: 18px; font-size: 13.5px; line-height: 1.5; color: var(--mute); }
.chatphone { max-width: 350px; justify-self: center; width: 100%; position: sticky; top: 90px; }
.chat { border-radius: 26px; overflow: hidden; background: #efe7dd; display: flex; flex-direction: column; height: 640px; color: #111b21; }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; color: #fff; background: #075e54; font-size: 15px; line-height: 1.2; }
.chat-top small { display: block; font-size: 12px; opacity: .8; font-weight: 500; }
.av { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #25a18e; font-weight: 700; font-size: 14px; }
.chat-body { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 10px; overflow: hidden; }
.m { max-width: 88%; padding: 7px 10px; border-radius: 10px; font-size: 13px; line-height: 1.42; box-shadow: 0 1px 1px rgba(0, 0, 0, .14); }
.m.in { align-self: flex-start; background: #fff; }
.m.out { align-self: flex-end; background: #d9fdd3; }
.js .chat-body.play .m { display: none; }
.js .chat-body.play .m.show { display: block; animation: pop .35s cubic-bezier(.2, 1.4, .4, 1); }
.js .chat-body.play .m.pdf.show { display: flex; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.m.pdf { display: flex; align-items: center; gap: 9px; }
.m.pdf > span { padding: 8px 6px; border-radius: 6px; color: #fff; font-size: 11px; font-weight: 800; background: #dc2626; }
.m.pdf small { display: block; color: #54656f; font-size: 11.5px; }
.chat-input { display: flex; align-items: center; gap: 8px; padding: 8px; font-size: 14px; color: #667781; }
.chat-input span { flex: 1; padding: 8px 14px; border-radius: 20px; background: #fff; }
.chat-input i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-style: normal; background: #128c7e; }

/* invoices */
.inv-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 50px; align-items: center; }

/* trust */
.dark { background: radial-gradient(700px 400px at 90% 0, rgba(109, 93, 252, .32), transparent 70%), var(--night); color: var(--on-night); }
.dark .kicker { color: #a5b4fc; }
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.trust-list li { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: var(--on-night-mute); font-size: 15.5px; line-height: 1.45; }
.trust-list span { font-size: 25px; }
.trust-list b { display: block; color: #fff; font-size: 16.5px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); }
.steps b { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 13px; color: #fff; font: 800 20px var(--display); background: linear-gradient(135deg, #5b4cf0, #0284c7); }
.steps p { margin-top: 8px; color: var(--mute); font-size: 16px; }

/* download */
.download { background: var(--bg2); }
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 22px; padding: 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); align-items: center; }
.dl h3 { font-size: 25px; }
.dl p { color: var(--mute); margin: 8px 0 18px; font-size: 15.5px; }
.dl .btn { min-height: 50px; }
.phone.mini { padding: 4px; border-radius: 20px; }
.phone.mini img { border-radius: 16px; }
.mini-desk { padding: 4px; border-radius: 9px; background: #1a2442; align-self: center; }
.mini-desk img { border-radius: 5px; }

/* author */
.author { position: relative; max-width: 880px; margin: auto; padding: 3px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); isolation: isolate; }
.author::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 50%; width: 160%; aspect-ratio: 1; margin-left: -80%; margin-top: -80%; background: conic-gradient(#6d5dfc, #0ea5e9, #10b981, #f59e0b, #ec4899, #6d5dfc); animation: spin 7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.author-in { display: flex; align-items: center; gap: 30px; padding: 36px; border-radius: 25px; color: var(--on-night); background: linear-gradient(135deg, #0a1530, #17265a); }
.avatar { flex: none; width: 112px; height: 112px; padding: 4px; border-radius: 50%; background: conic-gradient(#fbbf24, #f472b6, #818cf8, #34d399, #fbbf24); animation: spin 9s linear infinite; }
.avatar span { display: grid; place-items: center; height: 100%; border-radius: 50%; background: #0a1530; font: 800 36px var(--display); animation: spin 9s linear infinite reverse; }
.author .kicker { color: #a5b4fc; margin-bottom: 6px; }
.author h2 { font-size: clamp(27px, 3.4vw, 38px); }
.name { margin-top: 7px; color: var(--on-night-mute); }
.contact { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 12px; text-decoration: none; font-size: 14.5px; font-weight: 600; background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); overflow-wrap: anywhere; transition: background .2s; }
.contact a:hover { background: rgba(255, 255, 255, .18); }

/* faq */
.faq { max-width: 780px; }
.faq .head { margin-bottom: 26px; }
details { border-bottom: 1px solid var(--line); }
summary { padding: 18px 28px 18px 0; font-weight: 700; font-size: 17.5px; cursor: pointer; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 2px; top: 14px; font-size: 25px; font-weight: 500; color: var(--kicker); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 18px; color: var(--mute); }

/* footer */
.foot { padding: 40px 0 44px; color: var(--on-night-mute); background: var(--night); font-size: 14px; line-height: 1.55; }
.foot-in { display: grid; gap: 12px; }
.foot .brand { color: #fff; }

/* reveal: content stays visible without script or with reduced motion */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1040px) {
  .hero { padding-top: 46px; }
  .hero-grid, .inv-grid, .trust { grid-template-columns: minmax(0, 1fr); }
  .stage { margin-top: 12px; width: min(680px, 100%); justify-self: center; }
  .flow { grid-template-columns: minmax(0, 520px); justify-content: center; }
  .link { width: 3px; height: 34px; justify-self: center; }
  .link i { left: -3.500px; animation-name: runV; }
  .link i.rev { animation-name: runVBack; }
  .node { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 16px; text-align: left; padding: 16px; align-items: center; }
  .ico { grid-row: span 2; margin: 0; }
  .node p { margin-top: 3px; }
  .wa-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .chatphone { position: relative; top: 0; }
  .dl-grid { grid-template-columns: minmax(0, 1fr); }
  .phones { justify-content: flex-start; }
}
@keyframes runV { from { top: -4px; opacity: 0; } 15%, 85% { opacity: 1; } to { top: calc(100% - 6px); opacity: 0; } }
@keyframes runVBack { from { top: calc(100% - 6px); opacity: 0; } 15%, 85% { opacity: 1; } to { top: -4px; opacity: 0; } }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .theme { margin-left: auto; }
  .grid3, .steps { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .store { width: 100%; }
  .float { font-size: 11px; padding: 7px 10px; }
  .float b { font-size: 11.500px; }
  .f1 { left: 0; bottom: 30%; }
  .f2 { left: 8%; bottom: 0; }
  .f3 { right: 0; top: -4%; }
  .stage { aspect-ratio: 1 / .92; }
  .demo-note { text-align: left; }
  .dl { grid-template-columns: minmax(0, 1fr); }
  .phone.mini { width: 130px; }
  .author-in { flex-direction: column; text-align: center; padding: 28px 18px; }
  .contact { justify-content: center; }
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; padding-bottom: 6px; scrollbar-width: none; }
  .tabs button { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .grad { background-position: 0 0; }
}

/* ===== v2 additions ===== */
.progress { position: fixed; top: 0; left: 0; z-index: 60; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); }
.nav-links { gap: 20px; }
.rotator { margin-top: 14px; font-size: 17px; color: var(--on-night-mute); }
.rotator b { display: inline-block; color: #fde68a; transition: opacity .35s, transform .35s; }
.rotator b.out { opacity: 0; transform: translateY(-8px); }
.lid-shots, .ph-shots { position: relative; }
.lid-shots img, .ph-shots img { transition: opacity .8s; }
.lid-shots img:not(:first-child), .ph-shots img:not(:first-child) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lid-shots img:not(.on), .ph-shots img:not(.on) { opacity: 0; }
.ph-shots img { aspect-ratio: 560 / 996; object-fit: cover; object-position: top; }
.f4 { right: 24%; top: 46%; animation: bob 6.5s ease-in-out -3s infinite; }
@media (max-width: 560px) { .f4 { display: none; } }
.stats { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1040px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 26px 12px; } }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* feature explorer */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.filters button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 15px var(--body); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.filters button:hover { transform: translateY(-2px); }
.filters button.on { color: #fff; border-color: transparent; background: linear-gradient(95deg, #5b4cf0, #0284c7); }
.filters em { font-style: normal; opacity: .75; margin-left: 4px; }
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat { position: relative; padding: 22px 22px 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .35s, box-shadow .35s; isolation: isolate; }
.feat::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: radial-gradient(360px circle at var(--x, 50%) var(--y, 0%), rgba(109, 93, 252, .16), transparent 60%); opacity: 0; transition: opacity .3s; }
.feat:hover::before { opacity: 1; }
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feat .e { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 12px; border-radius: 15px; font-size: 25px; background: var(--bg2); }
.feat p { color: var(--mute); font-size: 15.5px; margin-top: 7px; }
.tags { display: flex; gap: 6px; margin-top: 12px; font-style: normal; }
.tags b { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.tags .d { color: #4338ca; background: rgba(99, 102, 241, .14); }
.tags .m { color: #047857; background: rgba(16, 185, 129, .15); }
.tags .n { color: #b45309; background: rgba(245, 158, 11, .18); }
:root[data-theme="dark"] .tags .d { color: #c7d2fe; }
:root[data-theme="dark"] .tags .m { color: #a7f3d0; }
:root[data-theme="dark"] .tags .n { color: #fde68a; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tags .d { color: #c7d2fe; }
  :root:not([data-theme="light"]) .tags .m { color: #a7f3d0; }
  :root:not([data-theme="light"]) .tags .n { color: #fde68a; }
}
.feat.hide { display: none; }
.feat.enter { animation: featIn .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes featIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@media (max-width: 1040px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }

/* desktop shot timer */
.shot-bar { height: 3px; background: var(--line); }
.shot-bar i { display: block; height: 100%; width: 0; background: var(--grad); }
.shot-bar i.run { animation: fill 4.2s linear forwards; }
@keyframes fill { to { width: 100%; } }

/* phone rail */
.rail { overflow: hidden; padding: 20px 0 30px; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rail-track { display: flex; gap: 26px; width: max-content; animation: slide 60s linear infinite; }
.rail:hover .rail-track, .rail:focus-within .rail-track { animation-play-state: paused; }
.rail figure { margin: 0; width: 220px; text-align: center; transition: transform .3s; }
.rail figure:nth-child(even) { margin-top: 30px; }
.rail figure:hover { transform: translateY(-8px) scale(1.03); }
.rail figcaption { margin-top: 14px; font-size: 14.5px; font-weight: 600; color: var(--mute); }
.rail .phone img { aspect-ratio: 560 / 1213; object-fit: cover; object-position: top; }
.cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 1000px; margin: 10px auto 0; }
.cloud span { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--card); border: 1px solid var(--line); color: var(--ink); transition: transform .2s, background .2s, color .2s; }
.cloud span:hover { transform: translateY(-3px); background: #4f46e5; color: #fff; }
.js .cloud.in span { animation: featIn .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 22ms); }

/* salesmen */
.sm { background: radial-gradient(800px 460px at 0% 0%, rgba(236, 72, 153, .10), transparent 65%), radial-gradient(800px 460px at 100% 100%, rgba(109, 93, 252, .12), transparent 65%), var(--bg); }
.sm-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 50px; align-items: center; }
.sm-steps ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.sm-steps li { display: flex; gap: 16px; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: transform .35s, box-shadow .35s, border-color .35s; }
.sm-steps li.act { transform: translateX(8px); border-color: #a78bfa; box-shadow: var(--shadow); }
.sm-steps li > b { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; font: 800 18px var(--display); background: linear-gradient(135deg, #db2777, #6d5dfc); }
.sm-steps p { color: var(--mute); font-size: 15.5px; margin-top: 5px; }
.sm-show { position: relative; aspect-ratio: 1 / .8; }
.sm-desk { position: absolute; left: 0; top: 0; width: 82%; }
.sm-p1 { position: absolute; right: 14%; bottom: 0; width: 26%; animation: bob 6s ease-in-out infinite; }
.sm-p2 { position: absolute; right: 0; bottom: 8%; width: 24%; animation: bob 7s ease-in-out -3s infinite; }
.sm-p1 img, .sm-p2 img { aspect-ratio: 560 / 1213; object-fit: cover; object-position: top; }
.badge-pop { position: absolute; padding: 9px 14px; border-radius: 14px; background: #fff; color: #0d1a38; font-size: 13px; font-weight: 700; box-shadow: 0 18px 40px rgba(24, 39, 90, .25); white-space: nowrap; }
.b1 { left: 4%; bottom: 14%; animation: bob 5s ease-in-out infinite; }
.b2 { left: 30%; bottom: 2%; animation: bob 6s ease-in-out -2s infinite; }
.sm .phones { margin-top: 40px; }
.phones .phone img { aspect-ratio: 560 / 1213; object-fit: cover; object-position: top; }
@media (max-width: 1040px) { .sm-grid { grid-template-columns: minmax(0, 1fr); } }

/* labels */
.lbl { background: radial-gradient(800px 500px at 100% 0, rgba(245, 158, 11, .2), transparent 65%), radial-gradient(700px 500px at 0 100%, rgba(14, 165, 233, .22), transparent 65%), var(--night); }
.lbl-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.lbl .ticks li { color: var(--on-night-mute); }
.lbl .ticks li b { color: #fff; }
.lbl .ticks li::before { background: #f59e0b; }
.printer { display: grid; justify-items: center; }
.pr-body { position: relative; z-index: 2; width: min(340px, 90%); height: 120px; border-radius: 22px 22px 12px 12px; background: linear-gradient(#e7ecf7, #aeb9d4); box-shadow: 0 30px 60px rgba(0, 0, 0, .45), inset 0 -6px 0 rgba(0, 0, 0, .12); }
.pr-led { position: absolute; left: 22px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.pr-name { position: absolute; left: 42px; top: 15px; font: 700 13px var(--body); color: #3b4a6b; }
.pr-slot { position: absolute; left: 12%; right: 12%; bottom: 14px; height: 8px; border-radius: 6px; background: #1b2440; }
.pr-out { position: relative; z-index: 1; width: min(260px, 72%); height: 190px; margin-top: -22px; overflow: hidden; }
.tag { position: absolute; left: 0; right: 0; top: 0; padding: 30px 14px 10px; border-radius: 0 0 10px 10px; background: #fff; color: #111; text-align: center; box-shadow: 0 18px 30px rgba(0, 0, 0, .35); }
.js .tag { transform: translateY(-100%); }
.js .tag.feed { animation: feed 1.6s cubic-bezier(.3, .7, .3, 1) forwards; }
.js .tag.tear { animation: tear .6s ease-in forwards; }
@keyframes feed { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@keyframes tear { from { transform: translateY(0); } to { transform: translateY(40px) rotate(6deg); opacity: 0; } }
.tg-co { font: 700 10px var(--body); letter-spacing: .12em; }
.tg-name { font: 800 14px/1.2 var(--display); margin-top: 3px; }
.tg-bars { display: block; width: 100%; height: 44px; margin-top: 6px; }
.tg-code { font: 600 11px ui-monospace, Consolas, monospace; letter-spacing: .15em; }
.tg-foot { display: flex; justify-content: space-between; margin-top: 4px; font-size: 12px; }
.pr-count { margin-top: 14px; color: var(--on-night-mute); font-size: 14.5px; }
.pr-count b { color: #fde68a; font-size: 18px; }
.lbl-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.lbl-shots .wide { grid-column: 1 / -1; }
.lbl-shots .browser { border-color: rgba(255, 255, 255, .12); }
@media (max-width: 1040px) { .lbl-grid { grid-template-columns: minmax(0, 1fr); } .lbl-shots { grid-template-columns: minmax(0, 1fr); } }

/* statements */
.st-grid2 { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 50px; align-items: center; }
.sched { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.sched div { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.sched span { font-size: 22px; }
.freq { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.freq b { padding: 6px 12px; border-radius: 999px; font-size: 13.5px; border: 1px solid var(--line); background: var(--card); transition: background .3s, color .3s; }
.freq b.on { color: #fff; border-color: transparent; background: linear-gradient(95deg, #5b4cf0, #0284c7); }
.tilt { transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transition: transform .6s; }
.tilt:hover { transform: none; }
@media (max-width: 1040px) { .st-grid2 { grid-template-columns: minmax(0, 1fr); } .tilt { transform: none; } }

/* compare */
.table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
.cmp th, .cmp td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp thead th { font: 700 15px var(--display); background: var(--bg2); }
.cmp tbody th { font-weight: 600; }
.cmp td { color: var(--mute); }
.cmp td.y { color: var(--ink); font-weight: 600; }
.cmp tbody tr { transition: background .2s; }
.cmp tbody tr:hover { background: var(--bg2); }
.cmp tbody tr:last-child > * { border-bottom: 0; }

/* WhatsApp button */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; box-shadow: 0 14px 30px rgba(37, 211, 102, .45); transition: transform .2s; }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: ring 2.4s infinite; }
@keyframes ring { to { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
@media (max-width: 1100px) { .nav-links { gap: 14px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .js .tag { transform: none; } .rail { overflow-x: auto; } }

/* ===== v3 additions ===== */
.keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 18px; font-size: 14px; color: var(--mute); }
.keys span { display: inline-flex; align-items: center; gap: 4px; }
kbd { display: inline-block; min-width: 26px; padding: 2px 7px; border-radius: 7px; font: 700 12.5px var(--body); text-align: center; color: var(--ink); background: var(--card); border: 1px solid var(--line); box-shadow: 0 2px 0 var(--line); }
.js .keys.in span { animation: featIn .5s cubic-bezier(.2, .8, .2, 1) both; }
.keys span:nth-child(2) { animation-delay: .06s !important; } .keys span:nth-child(3) { animation-delay: .12s !important; } .keys span:nth-child(4) { animation-delay: .18s !important; }
.keys span:nth-child(5) { animation-delay: .24s !important; } .keys span:nth-child(6) { animation-delay: .3s !important; } .keys span:nth-child(7) { animation-delay: .36s !important; } .keys span:nth-child(8) { animation-delay: .42s !important; }
#gst .cloud { margin-top: 26px; }

/* POS */
.pos { background: radial-gradient(800px 460px at 100% 0%, rgba(16, 185, 129, .12), transparent 65%), radial-gradient(700px 460px at 0 100%, rgba(14, 165, 233, .1), transparent 65%), var(--bg); }
.pos-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 50px; align-items: center; }
.pos .ticks li::before { background: #059669; }

/* assistant */
.as-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.as-shot { justify-self: center; width: min(400px, 100%); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .12); animation: bob 7s ease-in-out infinite; }
#assistant .ticks li { color: var(--on-night-mute); }
#assistant .ticks li b { color: #fff; }
#assistant .ticks li::before { background: #6d5dfc; }
.ask { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 14px 18px; border-radius: 16px; min-height: 56px; font-size: 17px; color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 0 40px rgba(109, 93, 252, .25); }
.ask-ic { font-size: 20px; }
.caret { width: 2px; height: 22px; background: #a5b4fc; animation: blink 1s steps(1) infinite; }

/* tool rows */
.row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 46px; align-items: center; margin-top: 46px; }
.row:first-of-type { margin-top: 0; }
.row.flip > :first-child { order: 2; }
.row-t { font-size: clamp(24px, 2.6vw, 32px); }
.row .browser { transition: transform .5s; }
.row:hover .browser { transform: translateY(-6px) rotate(-.4deg); }
@media (max-width: 1040px) { .pos-grid, .as-grid, .row { grid-template-columns: minmax(0, 1fr); } .row.flip > :first-child { order: 0; } }
.vid { padding-top: 40px; }
.vframe { max-width: 980px; margin: auto; padding: 3px; border-radius: 22px; background: var(--grad); box-shadow: var(--shadow); }
.vframe video { display: block; width: 100%; height: auto; border-radius: 19px; background: #0a1530; }
.row.flip { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
@media (max-width: 1040px) { .row.flip { grid-template-columns: minmax(0, 1fr); } }
