/* Original app screens, composed as a product gallery. */
.desktop-scene-only{display:none}
.benefit-card{transition:box-shadow .35s ease,border-color .35s ease}
.benefit-card:hover{border-color:#cddbf8;box-shadow:0 28px 60px -36px #25477a5c,0 0 0 1px #dce7fd55}
.benefit-card.dark:hover{border-color:#6d83b1}
.benefit-card .stage{border-radius:30px}
.benefit-card .stage::after{content:"";position:absolute;left:16%;right:10%;height:16px;bottom:8px;background:#233b6a26;border-radius:50%;filter:blur(12px);z-index:-1;pointer-events:none}
.benefit-card.dark .stage::after{background:#0007}

/* Quiet, spacious system cards. Brand names stay plain text. */
.sync-panel{background:radial-gradient(ellipse at 50% 0,#e0eaff88,transparent 65%),linear-gradient(150deg,#fff,#f1f5ff);padding:58px}
.sync-copy{display:block}
.sync-copy h2{max-width:940px;margin:auto;text-align:center}
.sync-systems{gap:18px;margin-top:40px}
.sync-systems>.sync-system{position:relative;min-width:0;min-height:132px;padding:30px 28px;display:flex;align-items:center;justify-content:center;border:1px solid #dae3f1;border-radius:24px;box-shadow:0 15px 30px -24px #314f8055,inset 0 1px 0 #fff;background:linear-gradient(145deg,#fff,#f7f9fd);font-size:29px;line-height:1.3;transition:box-shadow .25s ease,translate .25s ease,border-color .25s ease;overflow-wrap:anywhere}
.sync-system span{min-width:0}
.sync-systems>.sync-1c{color:#be2637;background:linear-gradient(145deg,#fff,#fff3ef);font-size:44px;font-weight:750}
.sync-systems>.sync-moysklad{color:#205eb7;background:linear-gradient(145deg,#fff,#eff6ff)}
.sync-systems>.sync-sbis{color:#26387d;background:linear-gradient(145deg,#fff,#f0f2ff);font-weight:750;letter-spacing:.015em}
.sync-systems>.sync-kontur{color:#182a45;background:linear-gradient(145deg,#fff,#f0f5fb)}
.sync-systems>.sync-own{color:#174cc5;background:linear-gradient(145deg,#eff5ff,#e3edff);border-color:#d0dffc}
.sync-systems>.sync-excel{color:#1d6d47;background:linear-gradient(145deg,#fff,#eff8f3)}
.sync-bottom>p{max-width:750px;font-size:20px;line-height:1.6;color:#35465e}

/* The presentation request is a distinct conversion section. */
.benefits-version .presentation{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 105% 15%,#2357b980,transparent 58%),linear-gradient(140deg,#262b36,#141821);border-color:#333d50;color:#fff;box-shadow:0 30px 60px -38px #12264c80}
.benefits-version .presentation::before{content:"";position:absolute;z-index:-1;width:620px;height:620px;right:-250px;top:-300px;border:1px solid #8aaeff22;border-radius:50%;box-shadow:0 0 0 80px #80a5ff06,0 0 0 160px #80a5ff05;pointer-events:none}
.benefits-version .presentation h2{font-size:48px;line-height:1.08;max-width:600px;text-wrap:initial}
.benefits-version .presentation h2 em{color:#a5bcff}
.benefits-version .presentation .copy>p{color:#dbe3f3;font-size:21px;line-height:1.65;max-width:510px;margin-top:26px}
.benefits-version .presentation-form{background:linear-gradient(135deg,#fff,#f2f5fc);border:1px solid #fff;box-shadow:0 35px 60px -25px #050c2490;padding:32px;border-radius:28px;color:#1c2940;max-width:500px;justify-self:end}
.benefits-version .presentation-form .messenger-field legend{color:#35465e;font-size:16px}
.benefits-version .presentation-form .messenger-options span{font-size:14px;min-height:46px}
.benefits-version .presentation-form .consent{color:#3c4b63;font-size:14px}
.benefits-version .presentation-form .field label{color:#34435b}

/* A dedicated, native dialog for the contextual lead buttons. */
.lead-dialog{position:fixed;inset:0;margin:auto;width:min(570px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:30px 36px 32px;border:1px solid #fff;border-radius:30px;background:linear-gradient(140deg,#fff,#f4f7fd);color:#142139;box-shadow:0 40px 130px #07132f70;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.lead-dialog::backdrop{background:#0d193bc2;backdrop-filter:blur(12px)}
.lead-dialog[open]{animation:lead-dialog-in .22s ease-out}
.lead-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.lead-dialog-top img{width:82px;height:32px;filter:brightness(0)}
.lead-dialog-close{display:flex;align-items:center;gap:9px;min-height:44px;border:1px solid #dce5f4;border-radius:12px;padding:10px 13px;background:#eef3fc;color:#2e456c;font-size:13px;flex-shrink:0}
.lead-dialog-close span{font-size:23px;line-height:1}
.lead-dialog h2{font-size:36px;line-height:1.1;letter-spacing:-.04em;text-wrap:initial}
.lead-dialog>p{font-size:18px;line-height:1.55;color:#44546c;margin-top:18px}
.lead-dialog .popup-lead-form{margin-top:26px;padding:0;max-width:none;width:100%;border:0;background:none;box-shadow:none;border-radius:0}
.lead-dialog .field{margin-bottom:16px}
.lead-dialog .field label{font-size:15px;color:#35455d}
.lead-dialog .field input{font-size:17px;background:#fff;border:1px solid #cbd7e9;color:#172841;min-height:53px;box-shadow:0 2px 6px #243d6105}
.lead-dialog .field input::placeholder{color:#738097}
.lead-dialog .consent{font-size:14px;color:#44536b}
.lead-dialog .privacy-note{font-size:14px!important;color:#465976}
.lead-dialog .consent a:hover,.lead-dialog .privacy-note a:hover{color:#0049f2}
.lead-dialog .messenger-field legend{color:#35455d;font-size:15px}
.lead-dialog .messenger-options span{font-size:14px;min-height:46px}
.lead-dialog form>.button{font-size:16px;min-height:54px}
.lead-dialog .form-status{color:#253c61;background:#e8f0fc;border-color:#c7d6ec;font-size:16px;line-height:1.5}
.lead-dialog .form-status[data-state="error"]{color:#8a242b;background:#fff0f0;border-color:#edc7ca}
@keyframes lead-dialog-in{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}

@media(min-width:1000px){
 .desktop-scene-only{display:block}
 .benefit-grid{gap:30px}
 .benefit-card.wide{padding:48px;gap:35px;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);min-height:0}
 .benefit-card .stage{background:radial-gradient(ellipse at 70% 20%,#dce7fc8c,transparent 65%),linear-gradient(150deg,#f3f6fc88,#e9effb88);box-shadow:inset 0 1px 0 #fff,inset 0 0 0 1px #ffffff90}
 .benefit-card .stage::before{inset:5% -5% -5%!important;filter:blur(20px)}
 .benefit-copy h3{font-size:clamp(32px,2.8vw,42px);line-height:1.1}
 .benefit-copy>p{font-size:20px;line-height:1.55;padding:21px 22px}
 .catalog-card .stage{height:590px}
 .phone-back{width:250px;left:1%;top:10px;transform:rotate(-9deg)}
 .phone-front{width:270px;right:-1%;top:30px;transform:rotate(7deg)}
 #advance .stage{height:555px}
 .single-phone{width:258px;left:7%;top:-5px;transform:rotate(-8deg)}
 .advance-note{right:-2%;top:auto;bottom:60px;max-width:265px}
 .benefit-card.half{padding:40px 40px 0;min-height:0;display:flex;flex-direction:column}
 .half .benefit-copy h3{font-size:34px}
 .half .benefit-copy>p{font-size:19px;line-height:1.55}
 .half .stage{height:440px;min-height:440px;flex:1;margin-top:30px;background:radial-gradient(ellipse at 70% 30%,#d9e6ff90,transparent 65%),linear-gradient(150deg,#f4f7fc,#e9effb);border-radius:28px 28px 0 0}
 .status-phone{width:218px;right:1%;left:auto;bottom:-90px;top:auto;transform:rotate(9deg)}
 .detail-sheet{width:94%;left:-2%;top:auto;bottom:145px;transform:rotate(-5deg);padding:13px;z-index:3}
 .status-note{top:auto;right:-2%;bottom:28px;max-width:270px}
 .history-phone{width:242px;left:2%;top:auto;bottom:-95px;transform:rotate(-8deg)}
 .history-detail{width:315px;right:-2%;top:auto;bottom:93px;transform:rotate(5deg)}
 .payments-card .stage{height:525px}
 .balance-sheet{width:98%;left:0;top:25px;transform:rotate(-5deg)}
 .payment-order{width:83%;right:-2%;top:285px;transform:rotate(6deg)}
 .returns-card .stage{height:380px;background:radial-gradient(ellipse at 50% 50%,#dfebff66,transparent 70%);box-shadow:none}
 .return-workflow{padding:10px 36px 10px 4px;gap:17px}
 .return-workflow::before{content:"";position:absolute;left:32px;top:50px;bottom:50px;width:80%;border-left:2px solid #cadbfa;border-bottom:2px solid #cadbfa;border-radius:0 0 0 28px;z-index:-1}
 .return-workflow>div{padding:25px 28px;border-color:#edf2fc;box-shadow:0 22px 35px -25px #263e6970}
 .return-workflow>div:nth-child(2){transform:translateX(23px)}
 .return-workflow>div:nth-child(3){transform:translateX(46px)}
 .return-workflow b{font-size:23px}
 .return-workflow p{font-size:18px}
 .drawing-card .stage{height:570px;background:radial-gradient(ellipse at 50% 60%,#8daef522,transparent 65%);box-shadow:none}
 .drawing-main{width:258px;right:-1%;top:-2px;transform:rotate(7deg)}
 .drawing-secondary{width:235px;left:-1%;top:35px;transform:rotate(-9deg)}
 .calculation-card.half,.estimate-card.half{min-height:0}
 .calculation-card .stage,.estimate-card .stage{height:510px;min-height:510px}
 .calc-phone{width:235px;left:auto;right:9%;top:auto;bottom:-52px;transform:rotate(7deg);z-index:1}
 .calculation-sheet{width:95%;left:-2%;top:auto;bottom:80px;padding:17px;transform:rotate(-5deg);z-index:2}
 .estimate-phone{width:253px;left:5%;top:auto;bottom:-30px;transform:rotate(-7deg)}
 .estimate-note{top:auto;right:-2%;bottom:100px;max-width:245px}
 .pdf-card .stage{height:570px;background:radial-gradient(ellipse at 50% 70%,#d6e3f98f,transparent 70%),linear-gradient(135deg,#edf3fd,#f6f8fd)}
 .pdf-sheet{width:88%;max-width:445px;left:5%;top:13px;padding:13px;transform:rotate(-5deg);box-shadow:0 30px 40px -28px #1d355d88,0 5px 10px #26385312}
 
 .checkout-card .stage{height:465px}
 .checkout-sheet{width:66%;left:0;top:12px;transform:rotate(-5deg)}
 .accounting-sheet{width:96%;right:-2%;bottom:22px;transform:rotate(5deg)}
 .prices-card .stage{height:565px}
 .prices-phone{width:259px;left:8%;top:0;transform:rotate(-8deg)}
 .prices-note{right:-3%;top:105px;max-width:255px}
 .wholesale-note{right:-1%;top:auto;bottom:60px;max-width:265px}
 .promotion-card .stage{height:575px}
 .promo-real{width:274px;left:15%;top:-4px;transform:rotate(7deg)}
 .promo-note{left:-3%;bottom:22px;max-width:295px}
 .bonus-phone{width:223px;right:3%;left:auto;top:auto;bottom:-62px;transform:rotate(8deg)}
 .bonus-sheet{width:290px;left:-2%;top:auto;bottom:222px;padding:23px 18px;transform:rotate(-6deg);z-index:3}
 .bonus-note{right:-2%;top:auto;bottom:55px;max-width:270px}
 .assortment-phone{width:242px;left:3%;top:auto;bottom:-74px;transform:rotate(-7deg)}
 .assortment-note{right:-3%;top:auto;bottom:95px;max-width:255px}
}
@media(min-width:1000px) and (max-width:1199px){
 .benefit-card.wide{padding:38px;gap:26px;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}
 .benefit-card.half{padding:34px 30px 0}
 .half .benefit-copy h3{font-size:31px}
 .benefit-copy>p,.half .benefit-copy>p{font-size:19px;padding:18px}
 .phone-back{width:215px;left:-1%;top:35px}.phone-front{width:235px;right:-3%;top:55px}
 .catalog-card .stage{height:565px}
 .single-phone{width:235px;left:2%;top:5px}
 .drawing-main{width:222px;right:-2%;top:20px}.drawing-secondary{width:207px;left:-3%;top:65px}
 .drawing-card .stage{height:540px}
 .scene-note{max-width:240px;padding:18px 20px}
 .scene-note span{font-size:14px}
 .history-detail{width:275px}.detail-sheet{bottom:160px}
 .prices-phone{width:235px;left:1%}.prices-note,.wholesale-note{max-width:220px}
 .promo-real{width:249px;left:10%}
 .estimate-phone{width:230px;left:2%}.estimate-note{max-width:220px}
 .bonus-sheet{width:250px}.bonus-phone{width:210px;right:0}
 .assortment-note{max-width:220px}
}
@media(min-width:761px) and (max-width:999px){
 .benefit-card.half{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;padding:34px;min-height:0}
 .half .stage{height:430px;min-height:430px;margin:0;background:radial-gradient(ellipse,#dbe7fc99,transparent 70%)}
 .half .benefit-copy h3{font-size:30px}
 .calculation-card.half,.estimate-card.half{min-height:0}
 .calculation-card .stage{height:330px;min-height:330px}
 .calculation-sheet{top:40px}
 .bonus-sheet{width:100%;left:0;top:100px;padding:25px}
 .bonus-note{top:270px;right:-3%}
 .estimate-phone{width:210px;left:2%;top:0}
 .estimate-note{right:-5%;top:290px;max-width:220px}
 .history-phone{width:205px;left:0;top:0}
 .history-detail{width:235px;right:-5%;top:230px}
 .status-note{right:-4%;top:240px}
 .sync-panel{padding:38px 32px}
 .sync-systems>.sync-system{font-size:22px;min-height:110px;padding:24px 18px}
 .sync-systems>.sync-1c{font-size:34px}
 .benefits-version .presentation{gap:28px;padding:40px 32px}
 .benefits-version .presentation h2{font-size:36px}
 .benefits-version .presentation .copy>p{font-size:19px}
 .benefits-version .presentation-form{padding:26px}
}
@media(max-width:760px){
 .benefit-card:hover{box-shadow:0 25px 45px -36px #273f6e55;border-color:#fff}
 .benefit-card .stage::after{height:10px;bottom:10px;filter:blur(10px)}
 .bonus-sheet{width:82%;left:0;padding:22px 18px;top:35px}
 .bonus-note{top:165px}
 .sync-panel{padding:34px 24px}
 .sync-copy h2{font-size:32px;line-height:1.1;text-align:left}
 .sync-systems{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:28px}
 .sync-systems>.sync-system{min-height:110px;padding:24px 20px;font-size:22px;border-radius:19px;line-height:1.4;letter-spacing:-.025em}
 .sync-systems>.sync-1c{font-size:34px}
 .sync-bottom>p{font-size:18px;line-height:1.6}
 .benefits-version .presentation{padding:36px 25px 26px}
 .benefits-version .presentation h2{font-size:34px}
 .benefits-version .presentation .copy>p{font-size:19px;line-height:1.6;margin-top:22px}
 .benefits-version .presentation-form{padding:25px 20px;border-radius:23px;margin-top:28px}
 .benefits-version .presentation-form .messenger-options span{font-size:13px}
 .lead-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:22px 24px 26px;border-radius:25px}
 .lead-dialog-top{margin-bottom:22px}
 .lead-dialog h2{font-size:29px}
 .lead-dialog>p{font-size:17px;line-height:1.6}
 .lead-dialog .popup-lead-form{margin-top:23px}
 .lead-dialog .field label{font-size:14px}
 .lead-dialog .field input{font-size:16px}
 .lead-dialog .messenger-options span{font-size:13px}
 .lead-dialog .consent,.lead-dialog .privacy-note{font-size:13px!important}
}
@media(max-width:479px){
 .sync-systems{grid-template-columns:minmax(0,1fr);gap:12px}
 .sync-systems>.sync-system{min-height:93px;padding:24px 26px;font-size:25px}
 .sync-systems>.sync-1c{font-size:36px}
}
@media(max-width:359px){
 .sync-panel{padding:30px 20px}.sync-copy h2{font-size:29px}
 .sync-systems>.sync-system{font-size:23px;padding:22px;min-height:89px}
 .benefits-version .presentation{padding-inline:22px}
 .benefits-version .presentation h2{font-size:30px}
 .benefits-version .presentation-form{padding:22px 16px;width:100%;margin-inline:0}
 .lead-dialog{padding:20px}
 .lead-dialog h2{font-size:26px}
 .lead-dialog-close{padding-inline:10px;font-size:12px}
}
@media(hover:hover) and (pointer:fine){
 .sync-system:hover{translate:0 -4px;border-color:#b9cdef;box-shadow:0 20px 35px -25px #204a8a66}
 .lead-dialog-close:hover{background:#e2ebfb;border-color:#b4c7e8}
}
@media(prefers-reduced-motion:reduce){
 .benefit-card,.sync-system,.lead-dialog-close{transition:none}
 .sync-system:hover{translate:none}
 .lead-dialog[open]{animation:none}
}

@media(min-width:1000px){.history-summary{position:absolute;width:67%;right:-2%;top:72px;transform:rotate(5deg);border:1px solid #e5ebf5;border-radius:21px;box-shadow:0 25px 40px -25px #243d6766;z-index:3}}

@media(min-width:1000px){
 .calc-phone{left:3%;right:auto;bottom:-25px;width:249px;transform:rotate(-7deg)}
 .calculation-sheet{width:70%;left:auto;right:-2%;bottom:auto;top:82px;transform:rotate(6deg);padding:14px}
 .estimate-detail{position:absolute;width:57%;right:-2%;top:65px;border:1px solid #e1e8f4;border-radius:22px;transform:rotate(6deg);box-shadow:0 25px 40px -25px #243d6766;z-index:3}
}
@media(min-width:1000px) and (max-width:1199px){.calc-phone{width:225px;left:0}.calculation-sheet{width:74%}.estimate-detail{width:60%}}

/* Keep the close control available when a short viewport needs form scrolling. */
.lead-dialog-top{position:sticky;top:-30px;z-index:5;background:#f8fafff5;padding:5px 0 10px;margin-top:-5px;backdrop-filter:blur(10px);border-radius:14px}
@media(max-width:760px){.lead-dialog-top{top:-22px}}
@media(max-width:359px){.lead-dialog-top{top:-20px}}

.lead-dialog-top{background:#f8faff;border-radius:0;box-shadow:0 -28px 0 #f8faff,0 6px 12px -12px #233a6655}

/* V5: quiet, brand-inspired surfaces; decorative, never interactive. */
.sync-systems>.sync-system{isolation:isolate;overflow:hidden}
.sync-system span{position:relative;z-index:2}
.sync-system::before,.sync-system::after{content:"";position:absolute;pointer-events:none;z-index:-1}
.sync-system::before{inset:0;background:linear-gradient(105deg,#ffffffc9 12%,#ffffff70 55%,transparent)}
.sync-system::after{width:180px;height:180px;right:-38px;bottom:-80px;opacity:.75}
.sync-systems>.sync-1c{background:linear-gradient(130deg,#fffdf7,#fff1bc)}
.sync-1c::after{border:13px solid #d8453820;border-radius:50%;box-shadow:0 0 0 15px #d8453812,0 0 0 31px #d8453809;right:-58px;bottom:-130px}
.sync-systems>.sync-moysklad{background:linear-gradient(130deg,#fff,#e3f0ff)}
.sync-moysklad::after{width:210px;height:160px;right:-52px;bottom:-77px;transform:rotate(-27deg);border:1px solid #4c91d52b;border-radius:22px;background:repeating-linear-gradient(90deg,transparent 0 39px,#3d8ed51a 40px 41px),repeating-linear-gradient(0deg,transparent 0 39px,#3d8ed51a 40px 41px);box-shadow:-17px -17px 0 #4c91d50a}
.sync-systems>.sync-sbis{background:linear-gradient(130deg,#fff,#eaf0ff)}
.sync-sbis::after{right:-58px;bottom:-105px;border:1px solid #506ec22e;border-radius:50%;background:radial-gradient(circle at 50% 30%,#597bdf1a,transparent 65%);box-shadow:-26px -24px 0 -1px #fff,-26px -24px 0 0 #6584ca1a,-51px -47px 0 -1px #fff,-51px -47px 0 0 #6584ca12}
.sync-systems>.sync-kontur{background:linear-gradient(130deg,#fff,#eaf3fb)}
.sync-kontur::after{width:180px;height:122px;right:-51px;bottom:-34px;border:13px solid #2582bb14;border-radius:32px;transform:rotate(-26deg);box-shadow:-25px -27px 0 -12px #f0823920}
.sync-systems>.sync-own{background:linear-gradient(130deg,#f7faff,#e3edff)}
.sync-own::after{width:170px;height:110px;right:-35px;bottom:-39px;border:1px solid #426cc52b;border-radius:17px;transform:rotate(-22deg);box-shadow:-16px -16px 0 -1px #edf3ff,-16px -16px 0 0 #426cc51b,-32px -32px 0 -1px #f3f7ff,-32px -32px 0 0 #426cc513}
.sync-systems>.sync-excel{background:linear-gradient(130deg,#fff,#e7f4ec)}
.sync-excel::after{width:177px;height:132px;right:-34px;bottom:-60px;border:1px solid #207c4729;border-radius:12px;transform:rotate(-19deg);background:repeating-linear-gradient(90deg,transparent 0 35px,#207c471b 36px 37px),repeating-linear-gradient(0deg,transparent 0 25px,#207c471b 26px 27px);box-shadow:0 -12px 0 -1px #39875a12}
