.lp-flow { --flow-speed: 1.5; display: flex; flex-direction: column; gap: 14px; }
.lp-flow__scene {
    aspect-ratio: 2630 / 1254;
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, #000 78%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, #000 78%, transparent);
    mask-composite: intersect;
}

.lp-flow .arrow { opacity: 0.3; transition: opacity 0.4s; }
.lp-flow .arrow path { fill: var(--accent); stroke: var(--accent); }
.lp-flow .arrow.on { opacity: 1; }
#lp-flow-card, #lp-flow-money, #lp-flow-paid { opacity: 0; }
#lp-flow-card.is-rest, #lp-flow-money.is-rest { opacity: 1; }
#lp-flow-money text { fill: #1fae4b; font-family: 'Outfit', Arial, sans-serif; font-weight: 800; stroke: #1fae4b; }
#lp-flow-paid rect, #lp-flow-paid path { fill: var(--mint); }
#lp-flow-paid text, .lp-flow__bubble text { fill: var(--on-accent); font-family: 'Outfit', Arial, sans-serif; font-weight: 700; }
#lp-flow-paid { transform-box: fill-box; transform-origin: center; }
.lp-flow__bubble { opacity: 0; transform: translateY(14px) scale(0.85); transform-box: fill-box; transform-origin: 30% 100%; transition: opacity calc(0.25s / var(--flow-speed)), transform calc(0.3s / var(--flow-speed)) cubic-bezier(0.2, 0.9, 0.3, 1.3); }
.lp-flow__bubble rect, .lp-flow__bubble path { fill: var(--text); }
.lp-flow.typing #lp-flow-building, #lp-flow-owner.thumb .lp-flow__love { opacity: 1; transform: none; }

.lp-flow.typing .hand { animation: lpFlowBob calc(0.24s / var(--flow-speed)) ease-in-out infinite alternate; }
.lp-flow.typing .hand.far { animation-delay: calc(-0.1s / var(--flow-speed)); animation-duration: calc(0.29s / var(--flow-speed)); }
.lp-flow.typing .f { animation: lpFlowTap calc(0.34s / var(--flow-speed)) ease-in-out infinite; animation-delay: var(--d); }
.lp-flow.typing .head { animation: lpFlowNod calc(1.8s / var(--flow-speed)) ease-in-out infinite; }
.lp-flow .hand, .lp-flow .f, .lp-flow .head { transform-box: fill-box; }
@keyframes lpFlowBob { to { transform: translate(-1px, 4px); } }
@keyframes lpFlowTap { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(5px); } }
@keyframes lpFlowNod { 50% { transform: translateY(2px); } }
.lp-flow .key { fill: #fdfdfd; stroke: #d3d4d9; stroke-width: 0.8; transition: fill 0.12s; }
.lp-flow .key.hit { fill: #c7d3e8; }

#lp-flow-owner { transition: opacity calc(0.35s / var(--flow-speed)), transform calc(0.35s / var(--flow-speed)); }
#lp-flow-owner.away { opacity: 0; transform: translateY(40px); }
#lp-flow-owner [data-for] { display: none; }
#lp-flow-owner[data-biz="shop"] [data-for~="shop"],
#lp-flow-owner[data-biz="rest"] [data-for~="rest"],
#lp-flow-owner[data-biz="salon"] [data-for~="salon"],
#lp-flow-owner[data-biz="dent"] [data-for~="dent"],
#lp-flow-owner[data-biz="erp"] [data-for~="erp"] { display: inline; }
#lp-flow-owner[data-biz="shop"] { --skin: #f3cdb3; --hair: #5a3524; --shirt: #f2b33d; --sleeve: #f2b33d; --fore: var(--skin); --ctop: #d8b27e; --cfront: #bf955d; --site: #fff8ef; --site-ink: #ff6a3d; }
#lp-flow-owner[data-biz="rest"] { --skin: #e9b991; --hair: #3b2a20; --shirt: #f4f2ee; --sleeve: #f4f2ee; --fore: #f4f2ee; --ctop: #d9ad74; --cfront: #b98650; --site: #1d3328; --site-ink: #e3a548; }
#lp-flow-owner[data-biz="salon"] { --skin: #f6d3bf; --hair: #8a4630; --shirt: #e9a1b4; --sleeve: #e9a1b4; --fore: var(--skin); --ctop: #f6e8e8; --cfront: #e3c6c9; --site: #f6e4e1; --site-ink: #c4577a; }
#lp-flow-owner[data-biz="dent"] { --skin: #c98e68; --hair: #2a1d18; --shirt: #3aa6a6; --sleeve: #f5f7f8; --fore: #f5f7f8; --ctop: #f2f6f7; --cfront: #d4e2e5; --site: #f3f9fa; --site-ink: #0f7c84; }
#lp-flow-owner[data-biz="erp"] { --skin: #e8b896; --hair: #8d929c; --shirt: #2c3e66; --sleeve: #2c3e66; --fore: #2c3e66; --ctop: #6b7280; --cfront: #4f5662; --site: #eef1f5; --site-ink: #3d7bd9; }
#lp-flow-owner .skin { fill: var(--skin); }
#lp-flow-owner .hairc { fill: var(--hair); }
#lp-flow-owner .brows { stroke: var(--hair); }
#lp-flow-owner .shirt { fill: var(--shirt); }
#lp-flow-owner .sleeve { stroke: var(--sleeve); }
#lp-flow-owner .fore { stroke: var(--fore); }
#lp-flow-owner .ctop { fill: var(--ctop); stroke: var(--ctop); }
#lp-flow-owner .cfront { fill: var(--cfront); }
#lp-flow-owner .ph-bg { fill: var(--site); }
#lp-flow-owner .ph-ink { fill: var(--site-ink); }
#lp-flow-owner .arm-rest, #lp-flow-owner .arm-thumb { transition: opacity calc(0.25s / var(--flow-speed)); }
#lp-flow-owner .arm-thumb { opacity: 0; }
#lp-flow-owner.thumb .arm-thumb { opacity: 1; }
#lp-flow-owner.thumb .arm-rest { opacity: 0; }
#lp-flow-owner.thumb .fist { animation: lpFlowThumb calc(0.5s / var(--flow-speed)) ease-in-out 2 alternate; transform-box: fill-box; transform-origin: bottom; }
@keyframes lpFlowThumb { to { transform: translateY(-14px) rotate(-6deg); } }
#lp-flow-owner .phone-site { opacity: 0; transition: opacity calc(0.3s / var(--flow-speed)); }
#lp-flow-owner.got .phone-site { opacity: 1; }
#lp-flow-owner .ping { fill: none; opacity: 0; stroke: var(--site-ink); stroke-width: 6; transform-box: fill-box; transform-origin: center; }
#lp-flow-owner.got .ping { animation: lpFlowPing calc(0.9s / var(--flow-speed)) ease-out; }
@keyframes lpFlowPing { 0% { opacity: 0.9; transform: scale(0.6); } 100% { opacity: 0; transform: scale(1.6); } }
#lp-flow-owner .steam { animation: lpFlowSteam 2.4s ease-in-out infinite; opacity: 0; }
#lp-flow-owner .steam:nth-of-type(2) { animation-delay: 0.8s; }
#lp-flow-owner .steam:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes lpFlowSteam { 0% { opacity: 0; transform: translateY(10px); } 40% { opacity: 0.55; } 100% { opacity: 0; transform: translateY(-40px); } }

.lp-flow .screen { background: #0c0e12; border-radius: 8px; height: 560px; line-height: 1.3; overflow: hidden; position: relative; text-align: left; width: 840px; }
.lp-flow .chrome { align-items: center; background: #1b1e24; display: flex; gap: 9px; height: 44px; padding: 0 18px; }
.lp-flow .f-dot { border-radius: 50%; height: 13px; width: 13px; }
.lp-flow .url { background: #2a2e36; border-radius: 14px; color: #c9ccd3; font: 500 16px/28px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; height: 28px; margin: 0 auto; overflow: hidden; padding: 0 16px; white-space: nowrap; width: 400px; }
.lp-flow .url i { animation: lpFlowBlink 1s steps(1) infinite; background: #c9ccd3; display: inline-block; height: 17px; margin-left: 1px; vertical-align: -3px; width: 2px; }
@keyframes lpFlowBlink { 50% { opacity: 0; } }
.lp-flow .bar { background: var(--accent-neon); height: 3px; left: 0; opacity: 1; position: absolute; right: 0; top: 44px; transform: scaleX(0); transform-origin: left; z-index: 2; }
.lp-flow .build .bar { opacity: 0; transform: scaleX(1); transition: transform var(--dur, 3s) linear, opacity 0.3s var(--dur, 3s); }
.lp-flow .site { display: none; inset: 44px 0 0 0; overflow: hidden; position: absolute; transition: opacity 0.35s; }
.lp-flow .site.active { display: block; }
.lp-flow .out .site { opacity: 0; }
.lp-flow .b { opacity: 0; outline: 2px dashed transparent; outline-offset: 3px; }
.lp-flow .build .b { animation: lpFlowPlace calc(0.55s / var(--flow-speed)) cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc((var(--i) * 0.26s + 0.15s) / var(--flow-speed)); }
.lp-flow .done .b { opacity: 1; }
@keyframes lpFlowPlace { 0% { opacity: 0; outline-color: var(--accent-neon); transform: translateY(10px); } 55% { opacity: 1; outline-color: var(--accent-neon); transform: none; } 100% { opacity: 1; outline-color: transparent; transform: none; } }

.lp-flow .nav { align-items: center; display: flex; height: 58px; justify-content: space-between; padding: 0 34px; }
.lp-flow .links { display: flex; font-size: 16px; gap: 26px; }
.lp-flow .f-pill { border-radius: 999px; display: inline-block; font-size: 16px; font-weight: 600; padding: 9px 20px; }

.lp-flow .s-rest { background: #1d3328; color: #f2e8d3; font-family: Georgia, 'Times New Roman', serif; }
.lp-flow .s-rest .f-logo { font-size: 28px; font-style: italic; }
.lp-flow .s-rest .links { font-family: 'DM Sans', sans-serif; opacity: 0.8; }
.lp-flow .s-rest .f-pill { background: #e3a548; color: #1d3328; font-family: 'DM Sans', sans-serif; }
.lp-flow .s-rest .f-hero { align-items: center; display: grid; gap: 20px; grid-template-columns: 1.15fr 1fr; padding: 14px 34px 0; }
.lp-flow .s-rest .f-eyebrow { color: #e3a548; font: 500 14px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.14em; text-transform: uppercase; }
.lp-flow .s-rest .h1 { font-size: 52px; line-height: 1.02; margin: 12px 0 22px; }
.lp-flow .plate { background: radial-gradient(circle at 46% 52%, #c2502e 0 17%, transparent 18%), radial-gradient(circle at 36% 62%, #6f8f3a 0 11%, transparent 12%), radial-gradient(circle at 62% 38%, #e8b84a 0 10%, transparent 11%), radial-gradient(circle at 60% 66%, #f2e8d3 0 6%, transparent 7%), radial-gradient(circle, #f6efe1 0 50%, #ddcdb0 51% 58%, #f6efe1 59%); border-radius: 50%; box-shadow: 0 18px 40px rgba(0,0,0,0.35); height: 270px; justify-self: center; width: 270px; }
.lp-flow .menu { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); padding: 26px 34px 0; }
.lp-flow .menu div { border-top: 1px solid rgba(242,232,211,0.3); display: flex; font-size: 19px; justify-content: space-between; padding-top: 12px; }
.lp-flow .menu span { color: #e3a548; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 16px; }

.lp-flow .s-salon { background: #f6e4e1; color: #3a2230; font-family: Georgia, 'Times New Roman', serif; }
.lp-flow .s-salon .f-logo { font-size: 28px; font-weight: 600; letter-spacing: 0.06em; }
.lp-flow .s-salon .links { font-size: 18px; }
.lp-flow .s-salon .f-pill { background: #3a2230; color: #f6e4e1; font-family: 'DM Sans', sans-serif; }
.lp-flow .s-salon .f-hero { display: grid; gap: 20px; grid-template-columns: 1.1fr 1fr; padding: 18px 34px 0; }
.lp-flow .s-salon .h1 { font-size: 54px; line-height: 1; margin: 6px 0 22px; }
.lp-flow .s-salon .h1 em { color: #c4577a; }
.lp-flow .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-flow .chips span { border: 1.5px solid #3a2230; border-radius: 999px; font: 600 15px 'DM Sans', sans-serif; padding: 7px 15px; }
.lp-flow .arches { align-items: flex-end; display: flex; gap: 14px; height: 330px; }
.lp-flow .arches div { border-radius: 70px 70px 10px 10px; flex: 1; }
.lp-flow .arches div:nth-child(1) { background: linear-gradient(160deg, #eeb0b5, #c4577a); height: 72%; }
.lp-flow .arches div:nth-child(2) { background: linear-gradient(160deg, #e6d2c2, #a07c62); height: 100%; }
.lp-flow .arches div:nth-child(3) { background: linear-gradient(160deg, #f6d6cc, #e08f87); height: 84%; }
.lp-flow .s-salon .meta { display: flex; font: 500 15px 'DM Sans', sans-serif; gap: 30px; padding: 14px 34px; }

.lp-flow .s-dent { background: #f3f9fa; color: #0f2e44; font-family: 'Outfit', sans-serif; }
.lp-flow .s-dent .f-logo { align-items: center; color: #0f7c84; display: flex; font-size: 24px; font-weight: 700; gap: 10px; }
.lp-flow .s-dent .links { font-weight: 500; }
.lp-flow .s-dent .f-pill { background: #0f7c84; color: #fff; }
.lp-flow .s-dent .f-hero { align-items: start; display: grid; gap: 28px; grid-template-columns: 1.1fr 1fr; padding: 20px 34px 0; }
.lp-flow .tag { background: #d9eff1; border-radius: 999px; color: #0f7c84; display: inline-block; font-size: 14px; font-weight: 700; padding: 6px 14px; }
.lp-flow .s-dent .h1 { font-size: 50px; font-weight: 700; line-height: 1.04; margin: 14px 0 12px; }
.lp-flow .s-dent .lede { color: #3d5a6e; font-size: 18px; line-height: 1.4; margin: 0 0 18px; }
.lp-flow .card { background: #fff; border-radius: 18px; box-shadow: 0 14px 30px rgba(15,46,68,0.12); display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.lp-flow .card .h3 { font-size: 22px; font-weight: 700; }
.lp-flow .field { border: 1.5px solid #dbe6ea; border-radius: 10px; display: flex; font-size: 16px; justify-content: space-between; padding: 9px 13px; }
.lp-flow .field small { color: #7b93a3; font-size: 14px; }
.lp-flow .card .f-pill { text-align: center; }
.lp-flow .badges { display: flex; gap: 14px; padding: 24px 34px 0; }
.lp-flow .badges span { background: #fff; border-radius: 12px; box-shadow: 0 4px 12px rgba(15,46,68,0.07); font-size: 16px; font-weight: 700; padding: 10px 16px; }

.lp-flow .s-erp { background: #eef1f5; color: #17202c; font-family: 'DM Sans', sans-serif; }
.lp-flow .site.s-erp.active { display: grid; grid-template-columns: 180px 1fr; }
.lp-flow .side { background: #15202e; color: #9fb0c4; display: flex; flex-direction: column; font-size: 16px; gap: 6px; padding: 20px 16px; }
.lp-flow .side strong { color: #fff; font-size: 21px; margin-bottom: 14px; }
.lp-flow .side span { border-radius: 8px; padding: 8px 10px; }
.lp-flow .side .on { background: #24364d; color: #fff; }
.lp-flow .f-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 18px 22px; }
.lp-flow .top { align-items: center; display: flex; justify-content: space-between; }
.lp-flow .top .h2 { font-size: 24px; font-weight: 600; }
.lp-flow .top span { background: #fff; border-radius: 8px; font: 500 14px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 6px 12px; }
.lp-flow .kpis { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.lp-flow .kpi { background: #fff; border-radius: 12px; padding: 12px 16px; }
.lp-flow .kpi small { color: #66768a; display: block; font-size: 14px; }
.lp-flow .kpi b { font-size: 28px; font-variant-numeric: tabular-nums; }
.lp-flow .kpi em { color: #1f9d6a; font-size: 14px; font-style: normal; margin-left: 6px; }
.lp-flow .chart { align-items: flex-end; background: #fff; border-radius: 12px; display: flex; gap: 10px; height: 130px; padding: 14px 16px; }
.lp-flow .chart i { background: #3d7bd9; border-radius: 4px 4px 0 0; flex: 1; opacity: 0.85; }
.lp-flow .chart i:last-child { background: #ee8a3f; opacity: 1; }
.lp-flow .rows { background: #fff; border-radius: 12px; font-size: 15px; padding: 6px 16px; }
.lp-flow .rows div { border-bottom: 1px solid #edf0f4; display: grid; font-variant-numeric: tabular-nums; grid-template-columns: 90px 1fr 110px 90px; padding: 9px 0; }
.lp-flow .rows div:last-child { border: 0; }
.lp-flow .st { border-radius: 999px; font-size: 13px; font-weight: 600; justify-self: start; padding: 2px 10px; }
.lp-flow .ok { background: #dcf3e8; color: #1f7d55; }
.lp-flow .due { background: #fde9d6; color: #b25a12; }

.lp-flow .s-shop { background: #fff8ef; color: #1e1b18; font-family: 'Outfit', sans-serif; }
.lp-flow .s-shop .f-logo { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.lp-flow .s-shop .f-logo span { color: #ff6a3d; }
.lp-flow .search { align-items: center; background: #f1e8db; border-radius: 18px; color: #8a8073; display: flex; font-size: 15px; height: 36px; padding: 0 16px; width: 300px; }
.lp-flow .cart { font-size: 16px; font-weight: 700; position: relative; }
.lp-flow .cart sup { background: #ff6a3d; border-radius: 50%; color: #fff; font-size: 12px; height: 20px; line-height: 20px; position: absolute; right: -16px; text-align: center; top: -10px; width: 20px; }
.lp-flow .banner { align-items: center; background: #1e1b18; border-radius: 16px; color: #fff8ef; display: flex; font-size: 26px; font-weight: 700; height: 86px; justify-content: space-between; margin: 6px 34px 0; padding: 0 26px; }
.lp-flow .banner span { background: #ff6a3d; border-radius: 999px; font-size: 18px; padding: 6px 16px; }
.lp-flow .f-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); padding: 18px 34px 0; }
.lp-flow .prod .img { border-radius: 14px; height: 170px; }
.lp-flow .prod p { font-size: 16px; font-weight: 500; margin: 10px 0 2px; }
.lp-flow .prod div:last-child { align-items: center; display: flex; font-size: 18px; font-weight: 700; justify-content: space-between; }
.lp-flow .prod .add { background: #1e1b18; border-radius: 50%; color: #fff; font-size: 20px; height: 28px; line-height: 28px; text-align: center; width: 28px; }

@media (prefers-reduced-motion: reduce) {
    .lp-flow.typing .hand, .lp-flow.typing .f, .lp-flow.typing .head, .lp-flow .url i, #lp-flow-owner .steam, #lp-flow-owner.thumb .fist, #lp-flow-owner.got .ping { animation: none; }
    .lp-flow .build .b { animation: none; opacity: 1; }
    .lp-flow .build .bar { transition: none; }
}
