/* LayerBuilt "flow" design: one light page in the logo colours (Fijoya / grid13 direction), and a matching deep-violet dark mode.
   Violet leads (buttons, labels), blue and teal are the other two layers, yellow stays as the small marker accent.
   No dark sections; tinted sections fade in and out so the page reads as one flow; the logo's line links the sections (flow.js). */
html[data-flow]{
  --paper:#FFFFFF; --paper2:#F6F4FF; --card:#FFFFFF; --line:#E8E4F6; --ink:#16122B; --muted:#57536B; --soft:#8B86A3;
  --night:#16122B; --violet:#6D5BFF; --violet-d:#5442E6; --blue:#5BA3E8; --teal:#12C9A0; --teal-d:#0B8A6C;
  --lav:#F4F2FF; --mint:#EEFAF6; --sun:#FFF4CC;
  --shadow:0 18px 44px rgba(52,38,140,.09); --shadow-s:0 6px 18px rgba(52,38,140,.07);
  --ease-out:cubic-bezier(.23,1,.32,1);
  background:var(--paper);
}
html[data-flow] body{background:var(--paper)}
html[data-flow] body>nav{background:rgba(255,255,255,.86)}
/* the site's menu style must not reach the menus inside product screens (the Call Now dashboard's side menu) */
html[data-flow] .cn-nav{position:static;background:transparent;backdrop-filter:none;border-bottom:0}

/* sections: white, or a soft tint that fades in and out (no hard edges between sections) */
html[data-flow] main>section{position:relative;background:var(--paper)}
html[data-flow] main>section[data-tint=lav]{--t:var(--lav)}
html[data-flow] main>section[data-tint=mint]{--t:var(--mint)}
html[data-flow] main>section[data-tint=sun]{--t:var(--sun)}
html[data-flow] main>section[data-tint=deep]{--t:#ECE8FF}
html[data-flow] main>section:is([data-tint=lav],[data-tint=mint],[data-tint=sun],[data-tint=deep]){background:linear-gradient(var(--paper),var(--t) 110px,var(--t) calc(100% - 110px),var(--paper))}

/* the last near-black pieces join the brand: the "how we work" card, the hub, our chat answers, the active step */
html[data-flow] .ans{background:linear-gradient(150deg,#7B6BFF,#5442E6);border-color:transparent;color:#fff}
html[data-flow] .ans-l li{color:#fff}
html[data-flow] .ans-l i{background:#fff;box-shadow:inset 0 0 0 5px var(--teal)}
html[data-flow] .ans .btn:not(.wa):not(.ghost){background:#fff;border-color:#fff;color:var(--violet-d)}
/* the prototype sketch in "how it works": a light frame in the logo colours instead of the grey design-tool window */
html[data-flow] .fig{background:#EEEBFF;box-shadow:inset 0 0 0 1px #DCD6FF}
html[data-flow] .fig-f{background:#fff;box-shadow:0 8px 22px rgba(52,38,140,.10)}
html[data-flow] .fig-f .t{background:var(--ink)}
html[data-flow] .fig-tag{color:var(--violet-d)}
html[data-flow] .hub{background:linear-gradient(150deg,#7B6BFF,#5442E6);box-shadow:0 24px 50px rgba(84,66,230,.32)}
html[data-flow] .convo .b.a{background:var(--violet);color:#fff}
html[data-flow] .pr-s.on .n{background:var(--violet);border-color:var(--violet);color:#fff}

/* the thread: the logo's line runs from section to section, with a dot in the colour of that section's layer */
html[data-flow] main>section{--lc:var(--violet)}
html[data-flow] main>section[data-layer=b]{--lc:var(--blue)}
html[data-flow] main>section[data-layer=t]{--lc:var(--teal)}
html[data-flow] main>section[data-layer=y]{--lc:#F2B705}
html[data-flow] main>section::before{content:"";position:absolute;top:-34px;inset-inline-start:50%;width:2px;height:58px;margin-inline-start:-1px;
  background:repeating-linear-gradient(to bottom,var(--lc) 0 6px,transparent 6px 12px);opacity:.55;pointer-events:none}
/* the dot is a button: a click brings that section to the top of the screen */
html[data-flow] .thread{position:absolute;top:14px;inset-inline-start:50%;z-index:2;width:28px;height:28px;margin-inline-start:-14px;padding:0;border:0;border-radius:50%;
  background:transparent;cursor:pointer;display:grid;place-items:center;transition:transform 160ms var(--ease-out)}
html[data-flow] .thread::after{content:"";width:12px;height:12px;border-radius:50%;background:var(--lc);box-shadow:0 0 0 5px color-mix(in srgb,var(--lc) 18%,transparent);
  transition:box-shadow 200ms ease}
html[data-flow] .thread:active{transform:scale(.9)}
html[data-flow] .thread:focus-visible{outline:2px solid var(--lc);outline-offset:3px}
@media (hover:hover) and (pointer:fine){html[data-flow] .thread:hover::after{box-shadow:0 0 0 8px color-mix(in srgb,var(--lc) 26%,transparent)}}

/* back to top, always one tap away once you scrolled (on the opposite side from the WhatsApp and assistant buttons) */
html[data-flow] .to-top{position:fixed;z-index:60;bottom:24px;inset-inline-start:24px;width:48px;height:48px;border-radius:50%;border:1px solid var(--line);
  background:var(--card);color:var(--violet);box-shadow:var(--shadow-s);display:grid;place-items:center;cursor:pointer;
  opacity:0;transform:translateY(12px) scale(.95);pointer-events:none;transition:opacity 200ms ease,transform 200ms var(--ease-out)}
html[data-flow] .to-top.on{opacity:1;transform:none;pointer-events:auto}
html[data-flow] .to-top:active{transform:scale(.95)}
html[data-flow] .to-top svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:640px){html[data-flow] .to-top{bottom:18px;inset-inline-start:16px;width:44px;height:44px}}

/* six live demos from different fields */
html[data-flow] .exg{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:34px}
html[data-flow] .ex{display:flex;flex-direction:column;gap:8px;padding:12px 12px 18px;border-radius:var(--r);background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow-s);
  color:var(--ink);text-decoration:none;transition:transform 200ms var(--ease-out),box-shadow 200ms ease}
html[data-flow] .ex-shot{display:block;aspect-ratio:16/10;border-radius:12px;overflow:hidden;background:var(--lav)}
html[data-flow] .ex-shot img{width:100%;height:100%;object-fit:cover;display:block}
html[data-flow] .ex-tag{align-self:flex-start;margin:6px 6px 0;font:600 .76rem var(--head);color:var(--violet-d);background:var(--lav);border-radius:999px;padding:3px 10px}
html[data-flow] .ex b{margin:0 6px;font:700 1.15rem var(--head)}
html[data-flow] .ex-d{margin:0 6px;color:var(--muted);font-size:.96rem;line-height:1.5}
html[data-flow] .ex:active{transform:scale(.98)}
@media (hover:hover) and (pointer:fine){html[data-flow] .ex:hover{transform:translateY(-3px);box-shadow:var(--shadow)}}
html[data-flow] .ex-more{margin-top:26px;text-align:center}
@media (max-width:960px){html[data-flow] .exg{grid-template-columns:1fr 1fr}}
@media (max-width:640px){html[data-flow] .exg{grid-template-columns:1fr}}

/* labels carry the layer colour */
html[data-flow] .kick{color:color-mix(in srgb,var(--lc,var(--violet)) 80%,#000);background:color-mix(in srgb,var(--lc,var(--violet)) 10%,#fff);border-color:color-mix(in srgb,var(--lc,var(--violet)) 28%,#fff)}

/* buttons: violet, one language for all of them; the cream "light" button on the old dark block becomes the same violet */
html[data-flow] .btn:not(.wa):not(.ghost){background:var(--violet);border-color:var(--violet);color:#fff}
html[data-flow] .btn.ghost{border-color:var(--violet);color:var(--violet);background:transparent}
html[data-flow] .nl a.cur{box-shadow:inset 0 -2px 0 var(--violet)}

/* the old dark blocks (studio, inside look) now sit on the light page */
html[data-flow] .lead,html[data-flow] .dark .lead{color:var(--muted)}
html[data-flow] #creative,html[data-flow] #live{color:var(--ink)}
html[data-flow] #creative h2,html[data-flow] #live h2,html[data-flow] #creative .m,html[data-flow] #live .m{color:var(--ink)}
html[data-flow] .show .badge-row>span{color:var(--violet-d);border-color:#DCD6FF;background:var(--lav)}
html[data-flow] .show .flat .cn-app{box-shadow:0 30px 70px rgba(52,38,140,.18)}
html[data-flow] .cr-film figcaption{color:var(--muted)}
html[data-flow] .cr-film figcaption b{color:var(--ink)}
html[data-flow] .cr-film video{box-shadow:0 24px 54px rgba(52,38,140,.18)}
html[data-flow] .cr-cap{background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow-s)}
html[data-flow] .cr-cap h3{color:var(--ink)}
html[data-flow] .cr-cap p{color:var(--muted)}
html[data-flow] .cr-cap .ic{background:color-mix(in srgb,var(--c) 12%,#fff);border:0}
html[data-flow] .cr-cap svg{stroke:var(--c)}
html[data-flow] .cr-cap:nth-child(1){--c:var(--violet)}
html[data-flow] .cr-cap:nth-child(2){--c:var(--blue)}
html[data-flow] .cr-cap:nth-child(3){--c:var(--teal-d)}
html[data-flow] .cr-cap:nth-child(4){--c:var(--violet)}

/* Emil: the hero shows at once (it never waits for the scroll script) */
html[data-flow] .hero .rv{opacity:1;transform:none;transition:none}
/* Emil: entrances shorter, with a strong ease-out */
html[data-flow] .rv{transition:opacity .5s var(--ease-out),transform .5s var(--ease-out)}
/* Emil: every button answers the press */
html[data-flow] .btn{transition:transform 160ms var(--ease-out),background-color 200ms ease,box-shadow 200ms ease}
html[data-flow] .btn:active{transform:scale(.97)}
/* Emil: hover lifts only where there is a real mouse, so nothing sticks after a tap on a phone */
@media (hover:none){
  html[data-flow] .btn:hover,html[data-flow] .fnode:hover,html[data-flow] .theme:hover{transform:none}
}
html[data-flow] .pr-s .n{transition:background-color 200ms ease,border-color 200ms ease,color 200ms ease}
html[data-flow] [data-cycle]>*{transition:background-color 200ms ease,color 200ms ease,transform 250ms var(--ease-out),box-shadow 250ms ease}

@media (prefers-reduced-motion:reduce){
  html[data-flow] .rv{transition:opacity .2s ease;transform:none}
}

/* the other pages: their closing call-to-action blocks, step numbers and labels in the brand violet instead of near-black */
html[data-flow] :is(.cta,.pilot,.case .vis){background:linear-gradient(150deg,#7B6BFF,#5442E6)}
html[data-flow] :is(.cta,.pilot) p{color:#E9E5FF}
html[data-flow] :is(.cta,.pilot) .btn:not(.wa):not(.ghost){background:#fff;border-color:#fff;color:var(--violet-d)}
html[data-flow] :is(.st3 .n,.ptag,.aiv .a){background:var(--violet);color:#fff}
html[data-flow] .filters button.on{background:var(--violet);border-color:var(--violet);color:#fff}
@media (hover:hover) and (pointer:fine){html[data-flow] .filters button:hover:not(.on){background:var(--lav);color:var(--violet-d);border-color:#DCD6FF}}
html[data-flow] .vis[style*="2C2C2C"]{background:#EEEBFF!important;box-shadow:inset 0 0 0 1px #DCD6FF}

/* "our products" window: a light browser frame instead of the dark brown one */
html[data-flow] .sc-stage{background:#fff;border:1px solid var(--line);box-shadow:0 30px 70px rgba(52,38,140,.14)}
html[data-flow] .sc-chrome i{background:#DCD6FF}
html[data-flow] .sc-url{background:var(--lav);color:var(--violet-d)}
html[data-flow] .sc-demo{color:var(--soft)}
html[data-flow] .sc-views{border:1px solid #EFEBFA}

/* the CreatorFlow card on the work page: the same light screen as in "our products", no black-and-neon */
html[data-flow] .shot.dark{background:linear-gradient(160deg,#F5F3FF,#FBF7F1)!important}
html[data-flow] .shot.dark .m{background:#fff;color:var(--ink)}
html[data-flow] .shot.dark .m .row{background:#F6F4FF}
html[data-flow] .neon{color:#0E8F72}
html[data-flow] .m .bar[style*="262626"]{background:#ECE8F7!important}
html[data-flow] .m .bar i[style*="39FF14"]{background:var(--teal)!important}
html[data-flow] .m .chip[style*="39FF14"]{background:var(--violet)!important;color:#fff!important}

/* the footer stays dark (it closes the page), in the violet ink with lavender text instead of beige */
html[data-flow] footer{color:#CFC9F2}
html[data-flow] footer a{color:#CFC9F2}

/* ---------- dark mode: the same design at night, in the logo's deep violet ----------
   One violet-ink page (not grey), cards one step lighter with a frame you can see, the tints as quiet violet and teal,
   violet buttons, and the wireframe sketches in muted violet instead of glaring cream. Product screens stay light, like real apps. */
html[data-flow][data-theme=dark]{
  --paper:#100E1C; --paper2:#151229; --card:#1B1731; --line:#3A3363; --ink:#F2F0FA; --muted:#BDB8D6; --soft:#948DB5; --night:#0B0916;
  --lav:#17132F; --mint:#0F1F21; --sun:#211C0E; --violet:#7B6BFF; --violet-d:#A99DFF; --teal-d:#3EE6BC;
  --shadow:0 18px 44px rgba(0,0,0,.5); --shadow-s:0 6px 18px rgba(0,0,0,.4);
}
html[data-flow][data-theme=dark] body>nav{background:rgba(16,14,28,.88);border-bottom-color:var(--line)}
html[data-flow][data-theme=dark] main>section[data-tint=deep]{--t:#1B1638}
/* buttons: violet, also over the base dark rule that made them cream */
html[data-flow][data-theme=dark] .btn:not(.wa):not(.ghost):not(.light),html[data-flow][data-theme=dark] .btn.light{background:var(--violet);border-color:var(--violet);color:#fff}
html[data-flow][data-theme=dark] .btn.ghost{border-color:var(--violet-d);color:var(--violet-d)}
html[data-flow][data-theme=dark] :is(.ans,.cta,.pilot) .btn:not(.wa):not(.ghost):not(.light){background:#fff;border-color:#fff;color:#5442E6}
/* labels: a soft glow of the layer colour instead of a white pill */
html[data-flow][data-theme=dark] .kick{color:color-mix(in srgb,var(--lc,var(--violet)) 55%,#fff);background:color-mix(in srgb,var(--lc,var(--violet)) 16%,transparent);border-color:color-mix(in srgb,var(--lc,var(--violet)) 40%,transparent)}
html[data-flow][data-theme=dark] .ex-tag{background:rgba(123,107,255,.16);color:var(--violet-d)}
/* every card and panel is "raised": a lighter surface than the page, a clear violet frame and a thin light top edge */
html[data-flow][data-theme=dark] :is(.card,.ex,.cr-cap,.fnode,.pr-s.on,.sc-tab){background:#221C42;border:1px solid #574D9A;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 14px 34px rgba(0,0,0,.45)}
@media (hover:hover) and (pointer:fine){html[data-flow][data-theme=dark] :is(.ex,.pn.card,.cr-cap):hover{border-color:#8A7DFF}}
/* the "how we work" card keeps its violet (it is also a .card, which the raised-card rule above would make dark) */
html[data-flow][data-theme=dark] .ans.card.card{background:linear-gradient(150deg,#7B6BFF,#5442E6);border:0;box-shadow:0 18px 44px rgba(84,66,230,.35)}
/* light islands inside the dark page: the contact form and the chat sample read like real light apps.
   The island re-declares the light tokens, so everything inside it (labels, fields, bubbles) turns light with it */
html[data-flow][data-theme=dark] :is(.formcard,.convo).card.card{--card:#FFFFFF;--paper:#FFFFFF;--paper2:#F6F4FF;--line:#E3DFF5;--ink:#16122B;--muted:#57536B;--soft:#8B86A3;
  background:#fff;color:var(--ink);border:1px solid #fff;box-shadow:0 24px 60px rgba(0,0,0,.5),0 0 0 6px rgba(123,107,255,.18)}
html[data-flow][data-theme=dark] .formcard :is(input,select,textarea){background:#F6F4FF;border-color:#E3DFF5;color:#16122B}
html[data-flow][data-theme=dark] .formcard :is(label,b,span){color:inherit}
html[data-flow][data-theme=dark] .convo .b.q{background:#F1EEFF;color:#16122B}
/* sketches and wireframes in muted violet */
html[data-flow][data-theme=dark] .wf2 :is(i,b){background:#2D2753}
html[data-flow][data-theme=dark] .fig,html[data-flow][data-theme=dark] .vis[style*="2C2C2C"]{background:#1E1A3A!important;box-shadow:inset 0 0 0 1px var(--line)}
html[data-flow][data-theme=dark] .fig-f{background:#2A2450;box-shadow:none}
html[data-flow][data-theme=dark] .fig-f .t{background:#CFC9F2}
html[data-flow][data-theme=dark] .fig-tag{color:var(--violet-d)}
/* the products window: a dark frame around the light product screen */
html[data-flow][data-theme=dark] .sc-stage{background:var(--card);border-color:var(--line)}
html[data-flow][data-theme=dark] .sc-chrome i{background:#3A3363}
html[data-flow][data-theme=dark] .sc-url{background:#241F42;color:#C3BAFF}
html[data-flow][data-theme=dark] .sc-views{border-color:var(--line)}
/* the CreatorFlow card on the work page: its screen stays light and readable */
html[data-flow][data-theme=dark] .shot.dark{background:var(--paper2)!important}
html[data-flow][data-theme=dark] .shot.dark .m{color:#211A13}
