/* home-redesign.css: original cascade order. */
/* AppRestore home redesign. Scoped to the homepage; existing order and catalog logic stays intact. */
body:has(.ar-hero){background:radial-gradient(ellipse at 80% 7%,rgba(52,66,166,.21),transparent 43rem),linear-gradient(180deg,#080d16 0%,#081321 58%,#07101c 100%)}
body:has(.ar-hero) .shell{max-width:1440px;padding:20px clamp(16px,4.5vw,64px) 48px}
body:has(.ar-hero) .topbar{position:relative;z-index:5;gap:clamp(12px,2vw,32px);padding:0 0 19px;margin:0;border-bottom:1px solid rgba(145,184,244,.11)}
body:has(.ar-hero) .brand{font-size:clamp(20px,1.7vw,25px);white-space:nowrap}
body:has(.ar-hero) .brand i{width:11px;height:11px;margin-right:5px}
body:has(.ar-hero) .topbar .navbtn:not(.primary){border:0;background:none;color:#b4bed0;font-size:14px;font-weight:650;padding:11px 3px}
body:has(.ar-hero) .topbar .navbtn:not(.primary):hover{color:white}
body:has(.ar-hero) .topbar .navbtn.primary{margin-left:auto;border-radius:15px;padding:12px 19px;font-size:14px}
.ar-hero{position:relative;isolation:isolate;overflow:hidden;min-height:510px;margin:0 -2vw;padding:56px 2vw 62px;border:0;border-radius:0;background:radial-gradient(ellipse at 77% 43%,rgba(37,100,248,.19),transparent 38%),radial-gradient(ellipse at 66% 12%,rgba(97,40,202,.17),transparent 44%),linear-gradient(180deg,#0a0e19,#0a111e 93%,#09192a);box-shadow:none}
.ar-hero::after{content:"";position:absolute;left:-7%;right:-7%;bottom:-70px;height:123px;border-top:1px solid rgba(116,182,255,.74);border-radius:50% 50% 0 0;transform:rotate(-.8deg);box-shadow:0 -13px 34px rgba(33,116,244,.13),0 -2px 12px rgba(33,116,244,.37);pointer-events:none}
.ar-hero .ar-aurora{position:absolute;inset:0;background:radial-gradient(circle at 82% 72%,rgba(9,117,255,.17),transparent 32%),radial-gradient(circle at 72% 28%,rgba(110,63,246,.1),transparent 30%);pointer-events:none}
.ar-hero-inner{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:22px;max-width:1320px;margin:auto}
.ar-hero-copy{max-width:650px}
.ar-eyebrow{display:inline-flex;align-items:center;padding:9px 14px;border:1px solid rgba(166,177,227,.32);background:rgba(155,150,242,.08);border-radius:999px;letter-spacing:.12em;font-weight:800;text-transform:uppercase;color:#cad6ed;font-size:11px}
.ar-heading{font-size:clamp(43px,4.4vw,70px);line-height:1.06;letter-spacing:-.065em;font-weight:900;margin:24px 0 16px}
.ar-heading .ar-gradient{color:#80caff;background:linear-gradient(100deg,#499dff 4%,#86c9ff 55%,#acf6ec);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.ar-heading .ar-white{color:#f8faff}
.ar-lead{max-width:590px;color:#b9c7de;font-size:clamp(15px,1.35vw,19px);line-height:1.6;margin:0 0 26px}
.ar-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px}
.ar-primary,.ar-secondary{min-height:55px;padding:16px 26px;display:inline-flex;align-items:center;justify-content:center;gap:15px;border-radius:999px;font-weight:850;text-decoration:none;font-size:15px;transition:transform .2s,box-shadow .2s}
.ar-primary{background:linear-gradient(105deg,#f5faff,#baf6f0);color:#081321;box-shadow:0 14px 36px rgba(101,199,254,.18)}
.ar-secondary{border:1px solid rgba(166,192,236,.36);background:rgba(20,31,53,.66);color:#f1f6ff}
.ar-primary:hover,.ar-secondary:hover{transform:translateY(-2px)}
.ar-pricing{display:flex;gap:9px;flex-wrap:wrap;color:#bac5d8;font-size:13px}
.ar-pricing span{border:1px solid rgba(153,181,228,.27);padding:9px 14px;border-radius:999px;background:rgba(7,15,28,.34)}
.ar-pricing b{color:#fff}
.ar-benefits{display:flex;flex-wrap:wrap;gap:12px 25px;margin-top:29px}
.ar-benefit{display:flex;align-items:center;gap:10px;color:#f0f6ff;font-size:12px;font-weight:750}
.ar-benefit svg{width:35px;height:35px;flex:none;padding:7px;color:#72baff;border:1px solid rgba(67,143,244,.42);background:rgba(22,139,255,.1);border-radius:50%}
.ar-visual{position:relative;height:435px;min-width:0;pointer-events:none}
.ar-orbit{position:absolute;inset:9% 0 5%;border:1px solid rgba(63,143,255,.36);border-radius:50%;transform:rotate(-17deg);box-shadow:0 0 36px rgba(43,92,248,.09)}
.ar-orbit::after{content:"";position:absolute;inset:13%;border:1px solid rgba(117,91,248,.21);border-radius:50%}
.ar-device{position:absolute;width:220px;height:405px;left:50%;top:4%;transform:translateX(-50%) rotate(11deg);border:7px solid #182033;border-left-color:#7c91b3;border-top-color:#bcc9dc;border-radius:39px;background:linear-gradient(160deg,#080b15 4%,#0c153b 36%,#214bbc 68%,#10163a 90%);box-shadow:18px 22px 36px rgba(0,0,0,.55),0 0 49px rgba(66,75,237,.2);overflow:hidden}
.ar-device::before{content:"";position:absolute;left:50%;top:10px;transform:translateX(-50%);width:80px;height:20px;background:#030610;border-radius:18px;z-index:2}
.ar-device::after{content:"";position:absolute;left:-55%;top:55%;width:210%;height:60%;border-radius:50%;background:linear-gradient(130deg,rgba(50,133,255,.82),rgba(85,46,236,.48),transparent 65%);transform:rotate(-17deg)}
.ar-device-content{position:absolute;z-index:2;inset:38% 17px auto;text-align:center;color:#e9efff;font-size:20px;line-height:1.5;font-weight:700}
.ar-float{position:absolute;display:flex;flex-direction:column;align-items:center;gap:7px;color:#e8f0ff;font-size:12px;font-weight:800;text-shadow:0 2px 8px #020816}
.ar-float:nth-of-type(3){left:5%;top:8%}.ar-float:nth-of-type(4){right:1%;top:5%}.ar-float:nth-of-type(5){left:0;top:49%}.ar-float:nth-of-type(6){right:1%;top:55%}
.ar-float-icon{width:74px;height:74px;display:grid;place-items:center;border:1px solid rgba(203,220,255,.33);border-radius:19px;background:linear-gradient(145deg,#225ca8,#7753f9);box-shadow:0 12px 35px rgba(0,0,0,.4),0 0 24px rgba(65,112,255,.23);overflow:hidden;font-size:32px}
.ar-float-icon img{width:100%;height:100%;object-fit:cover;display:block}
.ar-float:nth-of-type(3) .ar-float-icon{background:linear-gradient(135deg,#18c981,#0b8e51)}
.ar-float:nth-of-type(4) .ar-float-icon{background:linear-gradient(135deg,#6a2bf0,#3c65fc)}
.ar-float:nth-of-type(5) .ar-float-icon{background:linear-gradient(135deg,#2199fa,#1455c9)}
.ar-float:nth-of-type(6) .ar-float-icon{background:linear-gradient(135deg,#ffe672,#edb920);color:#162137}
.ar-catalog-head{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding-top:23px;margin-bottom:11px}
.ar-catalog-head h2{margin:0 0 6px;font-size:clamp(24px,2.6vw,34px);letter-spacing:-.04em;color:#fff}
.ar-catalog-head p{margin:0;color:#adbbd0;font-size:14px;line-height:1.5}
.ar-catalog-head .ar-count{white-space:nowrap;color:#99b9e3;font-size:12px}
body:has(.ar-hero) #catalogControls{top:0;padding:9px 0 12px;background:linear-gradient(180deg,#081321 82%,rgba(8,19,33,0));scroll-margin-top:12px}
body:has(.ar-hero) #catalogControls .search-box{max-width:100%;margin-bottom:4px}
body:has(.ar-hero) #catalogControls .search{border-radius:14px;border:1px solid rgba(100,162,239,.34);background:rgba(22,39,62,.95);box-shadow:0 6px 28px rgba(0,0,0,.12)}
body:has(.ar-hero) #catalogControls .chip{border-radius:999px}
body:has(.ar-hero) #catalogControls .chip.active{background:linear-gradient(110deg,#7dbeff,#4aa4f6);border-color:#80bfff;color:#061321;box-shadow:0 3px 16px rgba(50,141,255,.22)}
body:has(.ar-hero) #apps{scroll-margin-top:130px;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
body:has(.ar-hero) #apps .app{border:1px solid rgba(107,162,222,.25);border-radius:18px;padding:14px;background:linear-gradient(145deg,#132940,#0d1d2d);min-width:0;box-shadow:0 10px 24px rgba(0,0,0,.14)}
body:has(.ar-hero) #apps .app:hover{border-color:#69b4ff;transform:translateY(-2px)}
body:has(.ar-hero) #apps .app.selected{border-color:#4ba9ff;background:linear-gradient(135deg,#1c3a60,#18274d);box-shadow:0 0 0 1px rgba(86,157,255,.25),0 12px 25px rgba(8,77,173,.18)}
body:has(.ar-hero) #apps .icon{width:58px;height:58px;border-radius:15px;margin-bottom:9px}
body:has(.ar-hero) #apps .app-footer{margin-top:auto}
@media(max-width:1150px){body:has(.ar-hero) #apps{grid-template-columns:repeat(4,minmax(0,1fr))}.ar-hero{min-height:490px}.ar-visual{height:380px}.ar-device{height:350px;width:192px}.ar-float-icon{width:62px;height:62px}}
@media(max-width:800px){body:has(.ar-hero) .shell{padding:13px 14px 40px}.ar-hero{margin:0 -14px;padding:26px 14px 50px;min-height:0}.ar-hero-inner{grid-template-columns:1fr;gap:0}.ar-hero-copy{max-width:100%}.ar-heading{font-size:clamp(32px,7vw,48px);max-width:510px}.ar-visual{position:absolute;right:1%;top:77px;width:43%;height:280px;opacity:.72}.ar-device{width:126px;height:239px;border-width:5px;border-radius:25px}.ar-device::before{width:50px;height:11px;top:6px}.ar-device-content{font-size:10px;top:39%}.ar-float-icon{width:41px;height:41px;border-radius:11px}.ar-float{font-size:9px}.ar-orbit{inset:15% -10%}.ar-heading,.ar-lead{position:relative;z-index:2;max-width:64%}.ar-actions,.ar-pricing,.ar-benefits{position:relative;z-index:2}.ar-actions{margin-top:25px}.ar-benefits{justify-content:space-between;gap:10px}.ar-benefit{max-width:32%;font-size:11px}.ar-benefit svg{height:30px;width:30px}.ar-catalog-head{padding-top:16px}body:has(.ar-hero) #apps{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){body:has(.ar-hero) .topbar{padding:5px 0 16px;gap:8px}.ar-hero{padding:24px 15px 45px}.ar-eyebrow{font-size:9px;letter-spacing:.08em;padding:7px 10px}.ar-heading{font-size:clamp(30px,8vw,41px);line-height:1.08;margin:20px 0 12px;max-width:66%}.ar-lead{font-size:13px;line-height:1.45;max-width:64%;margin-bottom:14px}.ar-visual{top:82px;right:-6%;width:47%;height:255px;opacity:.83}.ar-device{width:112px;height:213px}.ar-device-content{font-size:9px}.ar-float{font-size:8px}.ar-float-icon{width:36px;height:36px;border-radius:10px}.ar-float:nth-of-type(3){left:0;top:6%}.ar-float:nth-of-type(4){right:0;top:4%}.ar-float:nth-of-type(5){left:-3%;top:53%}.ar-float:nth-of-type(6){right:0;top:58%}.ar-actions{gap:9px;margin-top:22px;margin-bottom:12px}.ar-primary,.ar-secondary{width:100%;min-height:45px;padding:12px;font-size:13px}.ar-pricing{display:grid;grid-template-columns:1fr 1fr;gap:7px;font-size:11px}.ar-pricing span{padding:8px 6px;text-align:center;white-space:nowrap}.ar-benefits{margin-top:15px;gap:6px}.ar-benefit{display:flex;flex-direction:column;gap:5px;text-align:center;font-size:10px;max-width:33%;width:32%;line-height:1.3}.ar-benefit svg{width:29px;height:29px;padding:6px}.ar-hero::after{bottom:-87px}.ar-catalog-head{padding-top:12px;margin-bottom:8px}.ar-catalog-head h2{font-size:23px}.ar-catalog-head p{font-size:12px}.ar-catalog-head .ar-count{font-size:10px}body:has(.ar-hero) #catalogControls{padding-top:7px}body:has(.ar-hero) #apps{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body:has(.ar-hero) #apps .app{padding:10px;border-radius:14px}body:has(.ar-hero) #apps .icon{width:46px;height:46px;border-radius:12px}body:has(.ar-hero) #apps .name{font-size:12px}body:has(.ar-hero) #apps .meta{font-size:10px}}
@media(max-width:360px){.ar-heading{font-size:29px}.ar-pricing{font-size:10px}.ar-benefit{font-size:9px}.ar-visual{right:-10%}}
@media(prefers-reduced-motion:reduce){.ar-primary,.ar-secondary{transition:none}body:has(.ar-hero) #apps .app{transition:none}}

/* home-review-fixes.css: original cascade order. */
/* Reference-matching refinements; only the main AppRestore landing page uses these rules. */
body:has(.ar-hero) .shell{max-width:1520px;padding:20px clamp(16px,7vw,110px) 48px}
body:has(.ar-hero) .topbar .brand{margin-right:0}
body:has(.ar-hero) .topbar .ar-catalog-link{margin-left:auto}
body:has(.ar-hero) .topbar .navbtn.primary{margin-left:auto}
.ar-hero{text-align:left}
.ar-hero-copy,.ar-heading,.ar-lead{text-align:left}
.ar-hero .ar-actions{justify-content:flex-start}
.ar-hero .ar-benefits{text-align:left}
.ar-catalog-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);align-items:end;gap:22px;position:relative;z-index:3;padding-top:20px;padding-bottom:14px;background:transparent;min-width:0;max-width:100%}
.ar-catalog-toolbar .ar-catalog-head{margin:0;padding:0;align-self:center;min-width:0}
.ar-catalog-toolbar .ar-count{display:none}
body:has(.ar-hero) .ar-catalog-toolbar #catalogControls{position:relative;top:auto;padding:0;background:transparent;z-index:3;min-width:0;max-width:100%;width:100%}
body:has(.ar-hero) .ar-catalog-toolbar .search-box{margin:0;min-width:0}
body:has(.ar-hero) .ar-catalog-toolbar .chips{padding:9px 0 0;min-width:0;max-width:100%;overflow-x:auto}
body:has(.ar-hero) #apps .app{display:grid;grid-template-columns:58px minmax(0,1fr);grid-template-rows:58px 1fr auto;gap:0 10px;min-height:180px;text-align:left}
body:has(.ar-hero) #apps .app-head{position:absolute;top:8px;right:8px;margin:0;padding:0;width:auto;height:auto;z-index:2}
body:has(.ar-hero) #apps .app-platform{display:none}
body:has(.ar-hero) #apps .icon{grid-area:1/1/2/2;align-self:center;margin:0}
body:has(.ar-hero) #apps .app-copy{grid-area:1/2/2/3;min-width:0;align-self:center;padding-right:13px}
body:has(.ar-hero) #apps .app-footer{grid-area:3/1/4/3;margin-top:13px;min-width:0}
body:has(.ar-hero) #apps .name{overflow-wrap:anywhere;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body:has(.ar-hero) #apps .app-action{min-width:0}
.ar-primary:focus-visible,.ar-secondary:focus-visible,.ar-catalog-toolbar button:focus-visible,body:has(.ar-hero) #apps .app:focus-visible{outline:2px solid #b7e7ff;outline-offset:3px}
@media(min-width:1280px){body:has(.ar-hero) #apps.grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1150px){.ar-catalog-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:800px){.ar-catalog-toolbar{grid-template-columns:minmax(0,1fr);gap:12px;padding:17px 0 10px}.ar-hero{margin:0 -14px}.ar-catalog-toolbar .ar-catalog-head{margin:0}.ar-hero .ar-benefits{text-align:center}}
@media(max-width:600px){body:has(.ar-hero) .shell{padding:12px 14px 38px}body:has(.ar-hero) .topbar{padding:4px 0 15px}.ar-hero{margin:0 -14px;min-width:0;padding:24px 15px 42px}.ar-heading{font-size:clamp(29px,7.5vw,38px);max-width:65%;letter-spacing:-.055em}.ar-lead{max-width:65%;font-size:12px}.ar-visual{right:-5%;top:85px;width:44%}.ar-actions{clear:both}.ar-primary,.ar-secondary{min-height:46px}.ar-pricing{width:100%;min-width:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.ar-pricing span{white-space:normal;overflow-wrap:normal;min-width:0;font-size:11px;padding:9px 5px}.ar-benefits{gap:5px;margin-top:15px}.ar-catalog-toolbar{padding-top:13px}.ar-catalog-toolbar .ar-catalog-head h2{font-size:23px}body:has(.ar-hero) #apps .app{grid-template-columns:43px minmax(0,1fr);grid-template-rows:46px 1fr auto;column-gap:7px;min-height:158px}body:has(.ar-hero) #apps .icon{width:43px;height:43px}body:has(.ar-hero) #apps .app-copy{padding-right:7px}body:has(.ar-hero) #apps .name{font-size:12px}body:has(.ar-hero) #apps .meta{font-size:10px}body:has(.ar-hero) #apps .app-footer{margin-top:9px}}
@media(max-width:360px){body:has(.ar-hero) .brand{font-size:19px}.ar-heading{font-size:28px;max-width:65%}.ar-lead{max-width:65%;font-size:11px}.ar-pricing span{font-size:10px}.ar-visual{right:-7%;width:43%}body:has(.ar-hero) #apps .app{grid-template-columns:38px minmax(0,1fr);column-gap:6px}body:has(.ar-hero) #apps .icon{width:38px;height:38px}}
@media(prefers-reduced-motion:no-preference){.ar-float{animation:ar-float 5s ease-in-out infinite alternate}.ar-float:nth-of-type(even){animation-delay:-2s}@keyframes ar-float{to{transform:translateY(-7px)}}}
/* The original left:0 declarations for the third and fourth badges must be cleared when anchoring them on the right. */
body:has(.ar-hero) .ar-visual .ar-float:nth-of-type(3){left:9%;right:auto;top:10%}
body:has(.ar-hero) .ar-visual .ar-float:nth-of-type(4){left:4%;right:auto;top:54%}
body:has(.ar-hero) .ar-visual .ar-float:nth-of-type(5){left:auto;right:2%;top:19%}
body:has(.ar-hero) .ar-visual .ar-float:nth-of-type(6){left:auto;right:3%;top:66%}
@media(max-width:679px){body:has(.ar-hero) .ar-visual .ar-float:nth-of-type(3){left:0;right:auto;top:11%}body:has(.ar-hero) .ar-visual .ar-float:nth-of-type(4){left:0;right:auto;top:55%}body:has(.ar-hero) .ar-visual .ar-float:nth-of-type(5){left:auto;right:0;top:29%}body:has(.ar-hero) .ar-visual .ar-float:nth-of-type(6){left:auto;right:0;top:72%}}

/* home-reference-v2.css: original cascade order. */
/* Reference V2: loaded last, scoped to the landing page. */
body:has(.ar-hero){margin:0;background:#08111e;overflow-x:clip}
body:has(.ar-hero) .shell{max-width:none;width:100%;padding:0 0 90px;overflow:clip}
body:has(.ar-hero) .topbar{box-sizing:border-box;max-width:1560px;width:100%;margin:0 auto;padding:15px clamp(18px,4.5vw,90px);display:flex;align-items:center;gap:clamp(17px,2.3vw,35px);border-bottom:1px solid rgba(129,170,231,.15);background:transparent}
body:has(.ar-hero) .topbar .brand{margin-right:auto;font-size:clamp(20px,1.7vw,25px)}
body:has(.ar-hero) .topbar .ar-catalog-link{margin-left:0}
body:has(.ar-hero) .topbar .navbtn.primary{margin-left:auto;white-space:nowrap}
body:has(.ar-hero) .topbar .navbtn:not(.primary){display:inline-flex;align-items:center;white-space:nowrap;padding:10px 2px;color:#bfd0e8;font-size:14px}
body:has(.ar-hero) .topbar .navbtn:not(.primary):hover{color:#f7fcff}
body:has(.ar-hero) .ar-hero{box-sizing:border-box;max-width:none;width:100%;margin:0;padding:38px clamp(18px,4.5vw,90px) 55px;min-height:545px;overflow:hidden;border-radius:0;background:radial-gradient(ellipse at 69% 36%,rgba(20,84,203,.36),transparent 34%),radial-gradient(ellipse at 64% 20%,rgba(89,48,192,.26),transparent 42%),linear-gradient(180deg,#0a101c 0%,#081423 82%,#081624 100%)}
.ar-hero-inner{max-width:1430px;min-height:440px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(14px,3vw,55px);align-items:center}
.ar-hero-copy{position:relative;z-index:3;max-width:740px}
.ar-heading{margin:22px 0 18px;max-width:720px;font-size:clamp(44px,4.2vw,70px);line-height:1.04;letter-spacing:-.055em;font-weight:900}
.ar-lead{max-width:610px;margin-bottom:22px;font-size:clamp(15px,1.25vw,18px);line-height:1.5}
.ar-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px;margin:0 0 16px}
.ar-primary,.ar-secondary{min-height:52px;padding:14px 22px;box-sizing:border-box}
.ar-pricing{display:flex;gap:10px;justify-content:flex-start}
.ar-pricing span{white-space:nowrap}
.ar-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,2vw,26px);margin-top:25px;max-width:750px}
.ar-benefit{display:flex;align-items:center;gap:9px;min-width:0;text-align:left;line-height:1.2}
.ar-benefit svg{width:39px;height:39px;flex:none;border-radius:12px;padding:8px}
.ar-benefit span{display:flex;flex-direction:column;gap:4px;min-width:0}
.ar-benefit b{font-size:12px;font-weight:800;color:#f3f8ff}
.ar-benefit small{font-size:10px;font-weight:400;color:#b5c8de;line-height:1.32}
.ar-visual{position:relative;z-index:1;min-width:0;height:470px;opacity:1;pointer-events:none}
.ar-orbit{inset:8% 0 7%;border-color:rgba(62,134,247,.31);transform:rotate(-20deg);box-shadow:0 0 45px rgba(43,99,248,.15)}
.ar-orbit::after{border-color:rgba(105,91,250,.15)}
.ar-device{left:50%;top:3%;z-index:2}
.ar-phone-art{display:none}
.ar-device.has-art{width:360px;height:470px;left:50%;top:0;transform:translateX(-50%);border:0;border-radius:0;overflow:visible;background:none;box-shadow:none}
.ar-device.has-art::before,.ar-device.has-art::after,.ar-device.has-art .ar-device-content{display:none}
.ar-device.has-art .ar-phone-art{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 24px rgba(32,83,251,.33))}
.ar-float{z-index:3;gap:6px;text-align:center;font-size:11px;line-height:1.2;animation:none!important}
.ar-float-icon{width:66px;height:66px;border-radius:19px;background:#122645;border:1px solid rgba(142,190,255,.52);box-shadow:0 10px 24px rgba(0,0,0,.28),0 0 19px rgba(52,123,251,.17)}
.ar-float-icon img{width:100%;height:100%;display:block;object-fit:cover;border-radius:18px}
.ar-float:nth-of-type(3){left:9%;top:10%}
.ar-float:nth-of-type(4){left:4%;top:54%}
.ar-float:nth-of-type(5){right:2%;top:19%}
.ar-float:nth-of-type(6){right:3%;top:66%}
.ar-hero::after{bottom:-70px;left:-10%;right:-10%;height:122px;border-top:1px solid rgba(95,166,255,.9);box-shadow:0 -8px 33px rgba(29,112,253,.23),0 -2px 14px rgba(78,125,255,.64)}
body:has(.ar-hero) .ar-catalog-toolbar,body:has(.ar-hero) #apps,body:has(.ar-hero) #empty,body:has(.ar-hero) .info-section{box-sizing:border-box;width:calc(100% - 2 * clamp(18px,4.5vw,90px));max-width:1380px;margin-left:auto;margin-right:auto}
.ar-catalog-toolbar{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(15px,3vw,44px);align-items:center;padding-top:30px;padding-bottom:14px}
.ar-catalog-toolbar .ar-catalog-head{padding:0;margin:0}
.ar-catalog-toolbar .ar-catalog-head h2{font-size:clamp(27px,2.45vw,37px);line-height:1.2}
.ar-catalog-head h2 span{background:linear-gradient(100deg,#66acff,#a7f4f2);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.ar-catalog-toolbar .ar-catalog-head p{max-width:400px}
body:has(.ar-hero) .ar-catalog-toolbar #catalogControls{min-width:0;width:100%;overflow:hidden;padding:0;background:transparent}
body:has(.ar-hero) .ar-catalog-toolbar #catalogControls .chips{display:flex;min-width:0;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-inline:contain}
body:has(.ar-hero) .ar-catalog-toolbar #catalogControls .chips::-webkit-scrollbar{display:none}
body:has(.ar-hero) .ar-catalog-toolbar #catalogControls .chip{flex:0 0 auto}
body:has(.ar-hero) #apps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;scroll-margin-top:110px}
body:has(.ar-hero) #apps .app{box-sizing:border-box;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;min-width:0;min-height:182px;padding:16px 11px 10px;border-radius:17px;text-align:center;background:radial-gradient(circle at 50% 4%,rgba(34,87,148,.21),transparent 60%),linear-gradient(160deg,#11263a,#0b192a)}
body:has(.ar-hero) #apps .app-head{position:absolute;top:9px;right:9px}
body:has(.ar-hero) #apps .icon{grid-area:auto;align-self:center;width:59px;height:59px;margin:1px auto 2px;border-radius:15px}
body:has(.ar-hero) #apps .app-copy{grid-area:auto;align-self:center;display:flex;flex-direction:column;align-items:center;gap:3px;padding:0 3px;min-height:42px;min-width:0;width:100%}
body:has(.ar-hero) #apps .name{font-size:13px;line-height:1.25;text-align:center;font-weight:800;overflow-wrap:anywhere}
body:has(.ar-hero) #apps .meta{font-size:10px;line-height:1.25;text-align:center;color:#a9bfd9}
body:has(.ar-hero) #apps .app-footer{grid-area:auto;display:flex;align-items:center;justify-content:center;margin-top:auto;width:100%;min-height:33px;border:1px solid rgba(72,160,255,.65);border-radius:99px;background:rgba(18,63,117,.22);color:#a8dfff}
body:has(.ar-hero) #apps .app-action{font-size:11px;line-height:1.2;font-weight:800}
body:has(.ar-hero) #apps .app-action-icon{flex:0 0 auto}
@media(max-width:1349px) and (min-width:1110px){body:has(.ar-hero) #apps{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1109px) and (min-width:900px){body:has(.ar-hero) #apps{grid-template-columns:repeat(4,minmax(0,1fr))}.ar-hero-inner{grid-template-columns:minmax(0,1fr) minmax(0,.85fr)}.ar-device.has-art{width:320px;height:420px}.ar-visual{height:430px}.ar-float-icon{width:56px;height:56px}}
@media(max-width:899px) and (min-width:680px){body:has(.ar-hero) #apps{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){body:has(.ar-hero) .topbar{padding:12px 18px}body:has(.ar-hero) .ar-hero{padding:27px 20px 48px;min-height:0}.ar-hero-inner{min-height:410px;grid-template-columns:1fr}.ar-hero-copy{max-width:100%}.ar-heading{max-width:56%;font-size:clamp(29px,4.9vw,43px)}.ar-lead{max-width:56%;font-size:13px}.ar-visual{position:absolute;right:0;top:35px;width:48%;height:345px;opacity:1}.ar-device.has-art{width:252px;height:340px}.ar-orbit{inset:15% -7%}.ar-float-icon{width:45px;height:45px;border-radius:13px}.ar-float-icon img{border-radius:12px}.ar-float{font-size:9px}.ar-actions,.ar-pricing,.ar-benefits{position:relative;z-index:4}.ar-benefits{margin-top:20px}.ar-catalog-toolbar{grid-template-columns:1fr;gap:12px}body:has(.ar-hero) .ar-catalog-toolbar,body:has(.ar-hero) #apps,body:has(.ar-hero) #empty,body:has(.ar-hero) .info-section{width:calc(100% - 36px)}}
@media(max-width:679px){body:has(.ar-hero) .topbar{padding:10px 15px 15px;gap:8px}body:has(.ar-hero) .topbar .navbtn.hide-mobile{display:none}body:has(.ar-hero) .topbar .brand{font-size:21px}body:has(.ar-hero) .topbar .navbtn.primary{font-size:12px;padding:10px 13px;margin-left:auto}body:has(.ar-hero) .ar-hero{padding:21px 15px 39px;background:radial-gradient(ellipse at 72% 30%,rgba(43,76,203,.35),transparent 40%),radial-gradient(ellipse at 76% 3%,rgba(93,45,178,.17),transparent 45%),linear-gradient(180deg,#0c1120,#081624)}.ar-hero-inner{display:block;min-height:0}.ar-hero-copy{position:relative;max-width:100%;z-index:3}.ar-eyebrow{padding:7px 9px;max-width:100%;font-size:9px;letter-spacing:.07em}.ar-heading{position:relative;z-index:3;max-width:57%;margin:17px 0 13px;font-size:clamp(28px,7.95vw,37px);line-height:1.06;letter-spacing:-.057em;overflow-wrap:normal}.ar-lead{position:relative;z-index:3;max-width:55%;margin:0 0 19px;font-size:clamp(11px,2.7vw,13px);line-height:1.35}.ar-visual{position:absolute;z-index:1;right:-1%;top:54px;width:53%;height:300px;opacity:1}.ar-device.has-art{width:100%;height:290px;left:50%;top:6px}.ar-device{top:8px}.ar-orbit{inset:20% -5% 14%;opacity:.85}.ar-float-icon{width:37px;height:37px;border-radius:12px}.ar-float-icon img{border-radius:11px}.ar-float{gap:3px;font-size:8px;line-height:1}.ar-float:nth-of-type(3){left:0;top:11%}.ar-float:nth-of-type(4){left:-2%;top:56%}.ar-float:nth-of-type(5){right:0;top:22%}.ar-float:nth-of-type(6){right:1%;top:65%}.ar-actions{display:grid;grid-template-columns:1fr;gap:9px;position:relative;z-index:4;margin:19px 0 12px}.ar-primary,.ar-secondary{width:100%;min-height:46px;padding:12px 13px;font-size:13px}.ar-pricing{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;width:100%;position:relative;z-index:4}.ar-pricing span{box-sizing:border-box;min-width:0;white-space:normal;overflow-wrap:normal;padding:9px 5px;font-size:11px;text-align:center}.ar-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin-top:17px;gap:5px;position:relative;z-index:4}.ar-benefit{gap:5px;align-items:center;min-width:0;max-width:none;width:auto;text-align:left;flex-direction:row}.ar-benefit svg{width:31px;height:31px;flex:none;padding:6px;border-radius:10px}.ar-benefit b{font-size:9px;line-height:1.15}.ar-benefit small{font-size:8px;line-height:1.18}.ar-hero::after{bottom:-73px;height:99px}.ar-catalog-toolbar{padding-top:20px;padding-bottom:11px}.ar-catalog-head h2{font-size:25px}.ar-catalog-head p{font-size:12px}.ar-catalog-toolbar .ar-catalog-head{display:block}body:has(.ar-hero) .ar-catalog-toolbar,body:has(.ar-hero) #apps,body:has(.ar-hero) #empty,body:has(.ar-hero) .info-section{width:calc(100% - 30px)}body:has(.ar-hero) #apps{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}body:has(.ar-hero) #apps .app{min-height:141px;padding:11px 9px 8px;display:grid;grid-template-columns:49px minmax(0,1fr);grid-template-rows:58px auto;align-items:center;column-gap:8px;row-gap:4px;text-align:left}body:has(.ar-hero) #apps .icon{grid-column:1;grid-row:1;width:47px;height:47px;margin:0;border-radius:12px;justify-self:start}body:has(.ar-hero) #apps .app-copy{grid-column:2;grid-row:1;align-self:center;align-items:flex-start;min-width:0;min-height:0;padding:0;gap:4px}body:has(.ar-hero) #apps .name,body:has(.ar-hero) #apps .meta{text-align:left}body:has(.ar-hero) #apps .name{font-size:12px}body:has(.ar-hero) #apps .app-footer{grid-column:1/-1;grid-row:2;min-height:31px;margin:0}body:has(.ar-hero) #apps .app-action{font-size:11px}}
@media(max-width:360px){.ar-heading{font-size:28px;max-width:58%}.ar-lead{max-width:55%;font-size:10px}.ar-visual{right:-2%;width:52%;top:53px}.ar-float-icon{width:32px;height:32px}.ar-float{font-size:7px}.ar-benefit svg{width:27px;height:27px}.ar-benefit b{font-size:8px}.ar-benefit small{font-size:7px}.ar-pricing span{font-size:10px}body:has(.ar-hero) #apps .app{grid-template-columns:40px minmax(0,1fr);column-gap:6px;padding:8px 6px}body:has(.ar-hero) #apps .icon{width:39px;height:39px}}
@media(prefers-reduced-motion:reduce){.ar-float,.ar-primary,.ar-secondary{animation:none!important;transition:none!important}}

/* home-reference-v3.css: original cascade order. */
/* Refinement of the approved desktop/mobile reference. Loaded after home-reference-v2.css. */
.ar-intro { min-width: 0; }
.ar-visual .ar-float { transform: none; animation: none !important; }
/* Named icons override old nth-of-type anchors from home-review-fixes.css. */
body:has(.ar-hero) .ar-visual .ar-float[data-app-icon="sber"] { left: 10%; right: auto; top: 8%; }
body:has(.ar-hero) .ar-visual .ar-float[data-app-icon="max"] { left: 3%; right: auto; top: 41%; }
body:has(.ar-hero) .ar-visual .ar-float[data-app-icon="vk"] { left: 9%; right: auto; top: 74%; }
body:has(.ar-hero) .ar-visual .ar-float[data-app-icon="tbank"] { right: 6%; left: auto; top: 9%; }
body:has(.ar-hero) .ar-visual .ar-float[data-app-icon="psb"] { right: 1%; left: auto; top: 43%; }
body:has(.ar-hero) .ar-visual .ar-float[data-app-icon="alfa"] { right: 7%; left: auto; top: 76%; }
.ar-visual .ar-float[data-app-icon="alfa"] > span:last-child { max-width: 100px; }
@media (max-width: 1109px) {
  .ar-visual .ar-float-desktop { display: none; }
}
/* Tablet uses a real visual grid column, not absolute art over the links. */
@media (min-width: 680px) and (max-width: 900px) {
  body:has(.ar-hero) .ar-hero { min-height: 0; padding-bottom: 48px; }
  .ar-hero .ar-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, .54fr) minmax(0, .46fr);
    grid-template-areas: "eyebrow eyebrow" "intro visual" "actions actions" "pricing pricing" "benefits benefits";
    gap: 12px 16px;
    align-items: start;
    min-height: 0;
  }
  .ar-hero .ar-hero-copy { display: contents; }
  .ar-hero .ar-eyebrow { grid-area: eyebrow; justify-self: start; }
  .ar-hero .ar-intro { grid-area: intro; min-width: 0; }
  .ar-hero .ar-heading { max-width: none; width: 100%; margin: 7px 0 14px; font-size: clamp(32px, 4.6vw, 42px); }
  .ar-hero .ar-lead { max-width: none; width: 100%; margin: 0; font-size: 14px; }
  .ar-hero .ar-visual { grid-area: visual; position: relative; width: 100%; height: 360px; right: auto; top: auto; opacity: 1; }
  .ar-hero .ar-device.has-art { width: min(245px, 82%); height: 345px; top: 0; }
  .ar-hero .ar-float { font-size: 9px; }
  .ar-hero .ar-float-icon { width: 43px; height: 43px; }
  .ar-hero .ar-actions { grid-area: actions; margin: 0; z-index: 4; }
  .ar-hero .ar-pricing { grid-area: pricing; margin: 0; }
  .ar-hero .ar-benefits { grid-area: benefits; margin-top: 6px; }
}
/* On phones, the visual participates in layout: the CTA cannot float over app icons. */
@media (max-width: 679px) {
  body:has(.ar-hero) .ar-hero { padding: 21px 15px 37px; }
  .ar-hero .ar-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, .51fr) minmax(0, .49fr);
    grid-template-areas: "eyebrow eyebrow" "intro visual" "actions actions" "pricing pricing" "benefits benefits";
    gap: 11px 4px;
    min-height: 0;
    align-items: start;
  }
  .ar-hero .ar-hero-copy { display: contents; }
  .ar-hero .ar-eyebrow { grid-area: eyebrow; justify-self: start; margin: 0 0 1px; }
  .ar-hero .ar-intro { grid-area: intro; align-self: start; min-width: 0; }
  .ar-hero .ar-heading {
    max-width: none;
    width: 100%;
    margin: 8px 0 12px;
    font-size: clamp(25px, 7.2vw, 34px);
    line-height: 1.06;
    letter-spacing: -.052em;
  }
  .ar-hero .ar-lead {
    max-width: none;
    width: 100%;
    font-size: clamp(10.5px, 2.8vw, 12.5px);
    line-height: 1.42;
    margin: 0;
    color: #c5d6ea;
  }
  .ar-hero .ar-visual {
    grid-area: visual;
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    height: 283px;
    min-width: 0;
    align-self: start;
    overflow: visible;
    opacity: 1;
    z-index: 1;
  }
  .ar-hero .ar-orbit { inset: 14% -1% 17%; }
  .ar-hero .ar-device.has-art {
    width: min(160px, 91%);
    height: 272px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .ar-hero .ar-float { gap: 3px; font-size: 8px; line-height: 1.08; max-width: 58px; z-index: 3; }
  .ar-hero .ar-float-icon { width: 37px; height: 37px; border-radius: 11px; }
  .ar-hero .ar-float-icon img { border-radius: 10px; }
  body:has(.ar-hero) .ar-visual .ar-float[data-app-icon="sber"] { left: 0; right: auto; top: 20px; }
  body:has(.ar-hero) .ar-visual .ar-float[data-app-icon="max"] { left: -1px; right: auto; top: 172px; }
  body:has(.ar-hero) .ar-visual .ar-float[data-app-icon="vk"] { right: -2px; left: auto; top: 71px; }
  body:has(.ar-hero) .ar-visual .ar-float[data-app-icon="tbank"] { right: -2px; left: auto; top: 190px; }
  .ar-hero .ar-visual .ar-float-desktop { display: none; }
  .ar-hero .ar-actions {
    grid-area: actions;
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin: 0;
    width: 100%;
    clear: none;
  }
  .ar-hero .ar-primary, .ar-hero .ar-secondary { width: 100%; min-height: 47px; }
  .ar-hero .ar-pricing { grid-area: pricing; margin: 0; }
  .ar-hero .ar-benefits { grid-area: benefits; margin: 3px 0 0; }
}
@media (max-width: 360px) {
  .ar-hero .ar-hero-inner { grid-template-columns: minmax(0, .52fr) minmax(0, .48fr); column-gap: 2px; }
  .ar-hero .ar-heading { font-size: 25px; }
  .ar-hero .ar-lead { font-size: 10.5px; }
  .ar-hero .ar-visual { height: 270px; }
  .ar-hero .ar-device.has-art { width: min(146px, 94%); height: 265px; }
  .ar-hero .ar-float-icon { width: 33px; height: 33px; }
  body:has(.ar-hero) .ar-visual .ar-float[data-app-icon="max"] { top: 160px; }
  body:has(.ar-hero) .ar-visual .ar-float[data-app-icon="tbank"] { top: 180px; }
}

/* home-production-fixes.css: original cascade order. */
/* Final homepage-specific layout guards. This sheet MUST load after the reference styles. */
html body:has(.ar-hero) { margin:0; overflow-x:clip; }
html body:has(.ar-hero) > .shell { box-sizing:border-box; max-width:none !important; width:100% !important; margin:0 !important; padding:0 0 100px !important; overflow:visible; }
html body:has(.ar-hero) .topbar { box-sizing:border-box; width:100%; max-width:1500px; margin:0 auto; padding:16px clamp(18px,4.5vw,78px); display:flex; align-items:center; gap:clamp(12px,2.4vw,36px); }
html body:has(.ar-hero) .topbar .brand { color:#fff; text-decoration:none; }
html body:has(.ar-hero) .topbar .brand { flex:none; margin-right:auto; }
html body:has(.ar-hero) .topbar .navbtn.primary { margin-left:auto; }
html body:has(.ar-hero) .ar-hero { box-sizing:border-box; display:block; position:relative; width:100% !important; max-width:none !important; margin:0 !important; padding:46px clamp(18px,4.5vw,78px) 65px; border-radius:0; overflow:hidden; text-align:left; min-height:580px; }
html body:has(.ar-hero) .ar-hero-inner { box-sizing:border-box; width:100%; max-width:1430px; margin:0 auto; display:grid; grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr); gap:clamp(28px,4vw,70px); align-items:center; min-height:470px; }
html body:has(.ar-hero) .ar-hero-copy { box-sizing:border-box; width:100%; max-width:none; min-width:0; }
html body:has(.ar-hero) .ar-heading { max-width:750px; font-size:clamp(42px,3.65vw,65px); line-height:1.07; overflow-wrap:normal; }
html body:has(.ar-hero) .ar-lead { max-width:630px; font-size:clamp(14px,1.1vw,18px); line-height:1.52; }
html body:has(.ar-hero) .ar-actions { display:flex; align-items:center; justify-content:flex-start; flex-wrap:wrap; gap:12px; margin:20px 0 15px; }
html body:has(.ar-hero) .ar-pricing { display:flex; flex-wrap:wrap; gap:10px; margin:0; }
html body:has(.ar-hero) .ar-benefits { box-sizing:border-box; display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; width:100%; max-width:745px; gap:14px; margin:28px 0 0; align-items:start; }
html body:has(.ar-hero) .ar-benefit { box-sizing:border-box; display:flex !important; align-items:center; min-width:0; gap:10px; text-align:left !important; white-space:normal !important; }
html body:has(.ar-hero) .ar-benefit svg { box-sizing:border-box; width:39px; height:39px; flex:0 0 39px; padding:8px; }
html body:has(.ar-hero) .ar-benefit > span { display:flex !important; flex-direction:column; align-items:flex-start; gap:4px; min-width:0; flex:1; }
html body:has(.ar-hero) .ar-benefit b,html body:has(.ar-hero) .ar-benefit small { display:block; max-width:100%; width:auto; margin:0; line-height:1.32; white-space:normal; overflow-wrap:normal; }
html body:has(.ar-hero) .ar-benefit b { font-size:12px; }
html body:has(.ar-hero) .ar-benefit small { font-size:10px; }
html body:has(.ar-hero) .ar-visual { box-sizing:border-box; position:relative; width:100%; height:480px; min-width:0; overflow:visible; }
html body:has(.ar-hero) .ar-visual .ar-float { box-sizing:border-box; position:absolute; display:flex; flex-direction:column; align-items:center; width:94px; max-width:94px; gap:6px; transform:none !important; animation:none !important; text-align:center; white-space:normal; line-height:1.15; }
html body:has(.ar-hero) .ar-visual .ar-float > span:last-child { display:block; width:100%; max-width:100%; text-align:center; font-size:11px; line-height:1.18; overflow-wrap:normal; white-space:normal; }
html body:has(.ar-hero) .ar-visual .ar-float-icon { flex:none; }
html body:has(.ar-hero) .ar-visual [data-app-icon="sber"] { left:6%; right:auto; top:7%; }
html body:has(.ar-hero) .ar-visual [data-app-icon="max"] { left:0; right:auto; top:40%; }
html body:has(.ar-hero) .ar-visual [data-app-icon="vk"] { left:6%; right:auto; top:73%; }
html body:has(.ar-hero) .ar-visual [data-app-icon="tbank"] { left:auto; right:4%; top:7%; }
html body:has(.ar-hero) .ar-visual [data-app-icon="psb"] { left:auto; right:0; top:40%; }
html body:has(.ar-hero) .ar-visual [data-app-icon="alfa"] { left:auto; right:4%; top:73%; }
html body:has(.ar-hero) .ar-catalog-toolbar,html body:has(.ar-hero) #apps,html body:has(.ar-hero) #empty,html body:has(.ar-hero) .info-section { box-sizing:border-box; width:calc(100% - 2 * clamp(18px,4.5vw,78px)); max-width:1430px; margin-left:auto; margin-right:auto; }
@media (min-width:1350px) { html body:has(.ar-hero) #apps.grid { grid-template-columns:repeat(6,minmax(0,1fr)); } }
/* The empty checkout bar should not obscure the catalog at the first visit. */
html body:has(.ar-hero):has(#checkout:disabled) .cart { visibility:hidden; pointer-events:none; }
@media (max-width:1109px) { html body:has(.ar-hero) .ar-visual .ar-float-desktop { display:none; } }
@media (min-width:680px) and (max-width:1000px) { html body:has(.ar-hero) .ar-hero { padding:28px 20px 45px; min-height:0; } html body:has(.ar-hero) .ar-hero-inner { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.85fr); min-height:0; gap:20px; } html body:has(.ar-hero) .ar-visual { position:relative; inset:auto; height:350px; width:100%; } html body:has(.ar-hero) .ar-heading { max-width:none; font-size:clamp(32px,4.3vw,46px); } html body:has(.ar-hero) .ar-lead { max-width:none; } html body:has(.ar-hero) .ar-benefits { grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:8px; margin-top:15px; } html body:has(.ar-hero) .ar-benefit { gap:5px; } html body:has(.ar-hero) .ar-benefit svg { width:29px;height:29px;flex-basis:29px;padding:5px; } html body:has(.ar-hero) .ar-benefit b { font-size:10px; } html body:has(.ar-hero) .ar-benefit small { font-size:8px; } }
@media (max-width:679px) {
 html body:has(.ar-hero) .topbar { padding:11px 15px 14px; }
 html body:has(.ar-hero) .ar-hero { padding:22px 15px 39px; min-height:0; }
 html body:has(.ar-hero) .ar-hero-inner { display:grid !important; grid-template-columns:minmax(0,.51fr) minmax(0,.49fr) !important; grid-template-areas:"eyebrow eyebrow" "intro visual" "actions actions" "pricing pricing" "benefits benefits"; align-items:start; min-height:0; gap:11px 4px; }
 html body:has(.ar-hero) .ar-hero-copy { display:contents; }
 html body:has(.ar-hero) .ar-eyebrow { grid-area:eyebrow; margin:0 0 2px; justify-self:start; }
 html body:has(.ar-hero) .ar-intro { grid-area:intro; min-width:0; }
 html body:has(.ar-hero) .ar-heading { max-width:100%; width:100%; margin:8px 0 12px; font-size:clamp(25px,7vw,34px); line-height:1.07; overflow-wrap:normal; }
 html body:has(.ar-hero) .ar-lead { max-width:100%; width:100%; margin:0; font-size:clamp(10.5px,2.8vw,12.5px); line-height:1.42; }
 html body:has(.ar-hero) .ar-visual { grid-area:visual; position:relative; inset:auto; height:283px; width:100%; min-width:0; overflow:visible; }
 html body:has(.ar-hero) .ar-device.has-art { width:min(160px,91%); height:272px; left:50%; top:0; transform:translateX(-50%); }
 html body:has(.ar-hero) .ar-visual .ar-float { width:53px; max-width:53px; gap:3px; font-size:8px; }
 html body:has(.ar-hero) .ar-visual .ar-float > span:last-child { font-size:8px; line-height:1.1; }
 html body:has(.ar-hero) .ar-visual .ar-float-icon { width:36px;height:36px; }
 html body:has(.ar-hero) .ar-visual [data-app-icon="sber"] { left:-1px;right:auto;top:20px; }
 html body:has(.ar-hero) .ar-visual [data-app-icon="max"] { left:-1px;right:auto;top:170px; }
 html body:has(.ar-hero) .ar-visual [data-app-icon="vk"] { left:auto;right:-2px;top:70px; }
 html body:has(.ar-hero) .ar-visual [data-app-icon="tbank"] { left:auto;right:-2px;top:190px; }
 html body:has(.ar-hero) .ar-visual .ar-float-desktop { display:none; }
 html body:has(.ar-hero) .ar-actions { grid-area:actions; display:grid !important; grid-template-columns:1fr; width:100%; margin:0; gap:9px; clear:none; position:relative; z-index:4; }
 html body:has(.ar-hero) .ar-primary,html body:has(.ar-hero) .ar-secondary { display:flex; width:100%; min-height:47px; }
 html body:has(.ar-hero) .ar-pricing { grid-area:pricing; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; margin:0; gap:7px; }
 html body:has(.ar-hero) .ar-pricing > span { white-space:normal; padding:9px 5px; font-size:11px; text-align:center; }
 html body:has(.ar-hero) .ar-benefits { grid-area:benefits; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:6px; margin:4px 0 0; }
 html body:has(.ar-hero) .ar-benefit { gap:5px; }
 html body:has(.ar-hero) .ar-benefit svg { width:28px;height:28px;flex-basis:28px;padding:5px; }
 html body:has(.ar-hero) .ar-benefit b { font-size:9px; }
 html body:has(.ar-hero) .ar-benefit small { font-size:8px; }
 html body:has(.ar-hero) .ar-catalog-toolbar,html body:has(.ar-hero) #apps,html body:has(.ar-hero) #empty,html body:has(.ar-hero) .info-section { width:calc(100% - 30px); }
}
@media (max-width:360px) { html body:has(.ar-hero) .ar-visual {height:270px;} html body:has(.ar-hero) .ar-device.has-art {width:min(146px,94%);height:265px;} html body:has(.ar-hero) .ar-visual [data-app-icon="max"] {top:160px;} html body:has(.ar-hero) .ar-visual [data-app-icon="tbank"] {top:180px;} }

/* last-order-return.css: original cascade order. */
html body:has(.ar-hero) .last-order-return[hidden] { display:none !important; }
html body:has(.ar-hero) .last-order-return { box-sizing:border-box; display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:14px; width:calc(100% - 2 * clamp(18px,4.5vw,78px)); max-width:1430px; margin:12px auto 18px; padding:12px 16px; border:1px solid rgba(99,181,255,.34); border-radius:15px; background:#10243b; box-shadow:0 8px 24px rgba(0,0,0,.2); color:#f2f7ff; }
html body:has(.ar-hero) .last-order-return-icon { display:grid; width:40px; height:40px; place-items:center; border-radius:12px; background:rgba(69,157,237,.14); color:#83c8ff; }
html body:has(.ar-hero) .last-order-return-icon svg { display:block; width:23px; height:23px; }
html body:has(.ar-hero) .last-order-return-copy { display:grid; gap:3px; min-width:0; }
html body:has(.ar-hero) .last-order-return-copy strong { color:#f4f8ff; font-size:14px; font-weight:850; line-height:1.3; }
html body:has(.ar-hero) .last-order-return-copy small { color:#b9cce3; font-size:12px; line-height:1.4; }
html body:has(.ar-hero) .last-order-return-action { display:inline-flex; min-height:40px; align-items:center; justify-content:center; gap:9px; padding:0 15px; border:1px solid rgba(113,197,255,.34); border-radius:11px; background:#176ac2; color:#fff; font-size:13px; font-weight:850; text-decoration:none; transition:background-color .16s ease,transform .16s ease; }
html body:has(.ar-hero) .last-order-return-action:hover { background:#2080dc; transform:translateY(-1px); }
html body:has(.ar-hero) .last-order-return-action:focus-visible { outline:3px solid #8fe9d6; outline-offset:3px; }
html body:has(.ar-hero) .last-order-return-action svg { display:block; width:17px; height:17px; }
@media (max-width:679px) { html body:has(.ar-hero) .last-order-return { grid-template-columns:36px minmax(0,1fr); gap:10px; width:calc(100% - 30px); margin:8px auto 12px; padding:11px; } html body:has(.ar-hero) .last-order-return-icon { width:36px; height:36px; } html body:has(.ar-hero) .last-order-return-copy strong { font-size:13px; } html body:has(.ar-hero) .last-order-return-copy small { font-size:11px; } html body:has(.ar-hero) .last-order-return-action { grid-column:1 / -1; width:100%; box-sizing:border-box; } }
@media (prefers-reduced-motion:reduce) { html body:has(.ar-hero) .last-order-return-action { transition:none; } }

/* home-reference-v4.css: original cascade order. */
/* Final hero reference pass. Loaded after home-production-fixes.css. */
html body:has(.ar-hero) .ar-visual { isolation:isolate; }
/* The production screenshot showed the original CSS handset AND the image handset. Never draw the CSS handset. */
html body:has(.ar-hero) .ar-visual .ar-device,
html body:has(.ar-hero) .ar-visual .ar-device.has-art {
  box-sizing:border-box !important;
  position:absolute !important;
  left:50% !important;
  top:-7px !important;
  width:min(410px,76%) !important;
  height:510px !important;
  overflow:visible !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  transform:translateX(-50%) !important;
  filter:none !important;
  z-index:2;
}
html body:has(.ar-hero) .ar-visual .ar-device::before,
html body:has(.ar-hero) .ar-visual .ar-device::after { display:none !important; content:none !important; }
html body:has(.ar-hero) .ar-visual .ar-device .ar-phone-art {
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  filter:drop-shadow(14px 23px 19px rgba(0,0,0,.37)) drop-shadow(0 0 27px rgba(40,85,244,.35));
}
/* The copy sits on the one artwork screen; it must not create a second handset. */
html body:has(.ar-hero) .ar-visual .ar-device .ar-device-content,
html body:has(.ar-hero) .ar-visual .ar-device.has-art .ar-device-content {
  display:block !important;
  position:absolute !important;
  z-index:3;
  inset:34% 25% auto 26% !important;
  padding:0 !important;
  border:0 !important;
  background:none !important;
  box-shadow:none !important;
  color:#f4f8ff;
  text-align:center;
  text-shadow:0 2px 7px rgba(2,9,29,.65);
  font-family:Georgia,serif;
  font-style:italic;
  font-size:clamp(17px,1.28vw,21px);
  font-weight:400;
  line-height:1.36;
  transform:rotate(7deg);
}
html body:has(.ar-hero) .ar-visual .ar-orbit {
  inset:13% -2% 5%;
  border-color:rgba(55,137,255,.51);
  box-shadow:0 0 24px rgba(48,99,255,.23),inset 0 0 16px rgba(58,101,248,.13);
}
html body:has(.ar-hero) .ar-visual .ar-orbit::after { border-color:rgba(112,126,255,.22); }
/* Icons are independent floating objects, not six flat entries in two rigid columns. */
html body:has(.ar-hero) .ar-visual .ar-float { overflow:visible; z-index:4; }
html body:has(.ar-hero) .ar-visual .ar-float-icon { width:75px; height:75px; border-radius:21px; overflow:visible; transform-origin:center; will-change:transform; border:1px solid rgba(152,192,255,.35); box-shadow:0 13px 21px rgba(0,0,0,.35),0 0 23px rgba(49,113,255,.27); }
html body:has(.ar-hero) .ar-visual .ar-float-icon img { overflow:hidden; border-radius:20px; }
html body:has(.ar-hero) .ar-visual .ar-float > span:last-child { font-size:12px; line-height:1.23; text-shadow:0 3px 7px #06101d; }
html body:has(.ar-hero) .ar-visual [data-app-icon="sber"] { left:5%; right:auto; top:5%; }
html body:has(.ar-hero) .ar-visual [data-app-icon="max"] { left:auto; right:2%; top:6%; }
html body:has(.ar-hero) .ar-visual [data-app-icon="vk"] { left:0; right:auto; top:38%; }
html body:has(.ar-hero) .ar-visual [data-app-icon="tbank"] { left:auto; right:0; top:40%; }
html body:has(.ar-hero) .ar-visual [data-app-icon="psb"] { left:auto; right:7%; top:72%; }
html body:has(.ar-hero) .ar-visual [data-app-icon="alfa"] { left:6%; right:auto; top:72%; }
html body:has(.ar-hero) .ar-visual [data-app-icon="sber"] .ar-float-icon { transform:perspective(340px) rotate(-11deg) rotateY(-8deg) !important; box-shadow:0 0 28px rgba(38,221,137,.19),0 13px 22px rgba(0,0,0,.4); }
html body:has(.ar-hero) .ar-visual [data-app-icon="max"] .ar-float-icon { transform:perspective(340px) rotate(10deg) rotateY(9deg) !important; box-shadow:0 0 28px rgba(113,71,255,.3),0 13px 22px rgba(0,0,0,.4); }
html body:has(.ar-hero) .ar-visual [data-app-icon="vk"] .ar-float-icon { transform:perspective(340px) rotate(9deg) rotateY(-10deg) !important; box-shadow:0 0 24px rgba(37,127,255,.26),0 13px 22px rgba(0,0,0,.4); }
html body:has(.ar-hero) .ar-visual [data-app-icon="tbank"] .ar-float-icon { transform:perspective(340px) rotate(-9deg) rotateY(11deg) !important; box-shadow:0 0 24px rgba(255,210,62,.22),0 13px 22px rgba(0,0,0,.4); }
html body:has(.ar-hero) .ar-visual [data-app-icon="psb"] .ar-float-icon { transform:perspective(340px) rotate(7deg) rotateY(9deg) !important; }
html body:has(.ar-hero) .ar-visual [data-app-icon="alfa"] .ar-float-icon { transform:perspective(340px) rotate(-10deg) rotateY(-9deg) !important; }
@media(min-width:1100px) {
  html body:has(.ar-hero) .ar-hero { padding-bottom:48px; }
  html body:has(.ar-hero) .ar-hero-inner { min-height:520px; }
  html body:has(.ar-hero) .ar-visual { height:520px; }
}
@media(max-width:1109px) {
  html body:has(.ar-hero) .ar-visual .ar-float-desktop { display:none !important; }
  html body:has(.ar-hero) .ar-visual .ar-float-icon { width:45px; height:45px; border-radius:14px; }
  html body:has(.ar-hero) .ar-visual .ar-float-icon img { border-radius:13px; }
  html body:has(.ar-hero) .ar-visual .ar-device,
  html body:has(.ar-hero) .ar-visual .ar-device.has-art { top:0 !important; width:min(280px,88%) !important; height:345px !important; }
  html body:has(.ar-hero) .ar-visual .ar-device .ar-device-content { font-size:14px; }
}
@media(max-width:679px) {
  html body:has(.ar-hero) .ar-visual { isolation:isolate; }
  html body:has(.ar-hero) .ar-visual .ar-device,
  html body:has(.ar-hero) .ar-visual .ar-device.has-art { top:0 !important; width:min(160px,91%) !important; height:272px !important; }
  html body:has(.ar-hero) .ar-visual .ar-device .ar-device-content,
  html body:has(.ar-hero) .ar-visual .ar-device.has-art .ar-device-content { font-size:10px; inset:35% 25% auto 26% !important; }
  html body:has(.ar-hero) .ar-visual .ar-float-icon { width:36px; height:36px; border-radius:11px; }
  html body:has(.ar-hero) .ar-visual .ar-float-icon img { border-radius:10px; }
  html body:has(.ar-hero) .ar-visual .ar-float > span:last-child { font-size:8px; }
  html body:has(.ar-hero) .ar-visual [data-app-icon="sber"] { left:-1px; right:auto; top:20px; }
  html body:has(.ar-hero) .ar-visual [data-app-icon="max"] { left:-1px; right:auto; top:169px; }
  html body:has(.ar-hero) .ar-visual [data-app-icon="vk"] { left:auto; right:-2px; top:70px; }
  html body:has(.ar-hero) .ar-visual [data-app-icon="tbank"] { left:auto; right:-2px; top:190px; }
}
@media(max-width:360px) {
  html body:has(.ar-hero) .ar-visual .ar-device,
  html body:has(.ar-hero) .ar-visual .ar-device.has-art { width:min(146px,94%) !important; height:265px !important; }
  html body:has(.ar-hero) .ar-visual [data-app-icon="max"] { top:157px; }
  html body:has(.ar-hero) .ar-visual [data-app-icon="tbank"] { top:180px; }
}

/* catalog-reference.css: original cascade order. */
/* Final catalog reference layer: one selectable button per card. */
html body:has(.ar-hero) #apps.grid {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;align-items:stretch}
html body:has(.ar-hero) #apps .app {
  box-sizing:border-box;display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;
  grid-template-rows:minmax(62px,auto) auto!important;
  grid-template-areas:'icon copy' 'action action';
  column-gap:10px;row-gap:9px;align-content:stretch;align-items:start;
  width:100%;min-width:0;min-height:0;height:100%;padding:15px 13px 14px!important;
  border-radius:16px!important;border:1px solid rgba(114,164,225,.31)!important;
  background:linear-gradient(149deg,rgba(22,43,66,.98),rgba(12,27,44,.98))!important;
  box-shadow:0 9px 25px rgba(0,0,0,.12)!important;
  text-align:left!important;color:#f7faff;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
html body:has(.ar-hero) #apps .app:hover {transform:translateY(-2px);border-color:rgba(118,192,255,.8)!important;box-shadow:0 14px 26px rgba(0,0,0,.24),0 0 20px rgba(56,126,253,.12)!important}
html body:has(.ar-hero) #apps .app.selected {border-color:#70c4ff!important;background:linear-gradient(150deg,#193657,#142b4c)!important;box-shadow:inset 0 0 0 1px rgba(88,181,255,.22),0 0 20px rgba(45,116,246,.17)!important}
html body:has(.ar-hero) #apps .app-head {display:none!important}
html body:has(.ar-hero) #apps .icon {box-sizing:border-box;grid-area:icon!important;position:relative;justify-self:start!important;align-self:start!important;width:52px!important;height:52px!important;margin:0!important;border-radius:13px!important;overflow:hidden;flex:none;box-shadow:0 6px 14px rgba(0,0,0,.24)}
html body:has(.ar-hero) #apps .icon img,html body:has(.ar-hero) #apps .icon .icon-fallback {border-radius:inherit}
html body:has(.ar-hero) #apps .app-copy {box-sizing:border-box;grid-area:copy!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center;align-self:start!important;width:100%;min-width:0;min-height:52px!important;margin:0!important;padding:3px 0 0!important;gap:5px}
html body:has(.ar-hero) #apps .name {display:block;min-width:0;max-width:100%;margin:0;color:#f7faff;text-align:left!important;font-size:13px!important;font-weight:800;line-height:1.23;overflow-wrap:anywhere}
html body:has(.ar-hero) #apps .meta {display:block;width:100%;margin:0;color:#a8bbd5!important;text-align:left!important;font-size:11px!important;line-height:1.3}
html body:has(.ar-hero) #apps .ar-card-description {grid-area:description;display:-webkit-box;width:100%;min-width:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#c0cee2;font-size:12px;line-height:1.35;text-align:left;overflow-wrap:anywhere;align-self:center}
html body:has(.ar-hero) #apps .app-footer {box-sizing:border-box;grid-area:action!important;display:flex!important;justify-content:center!important;align-items:center!important;position:static;width:100%;min-width:0;min-height:35px;margin:0!important;padding:6px 11px!important;border-radius:999px!important;border:1px solid rgba(106,164,255,.48)!important;background:linear-gradient(103deg,#1e4268,#273b77)!important;color:#8fd3ff!important;box-shadow:none!important}
html body:has(.ar-hero) #apps .app.selected .app-footer {background:linear-gradient(103deg,#186b91,#2748a1)!important;color:#fff!important;border-color:#67c6ff!important}
html body:has(.ar-hero) #apps .app-action {font-size:12px!important;font-weight:800;line-height:1.2}
html body:has(.ar-hero) #apps .app-action-icon {display:none!important}
@media (min-width:1151px) and (max-width:1279px) {html body:has(.ar-hero) #apps.grid {grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (min-width:801px) and (max-width:1150px) {html body:has(.ar-hero) #apps.grid {grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:600px) and (max-width:800px) {html body:has(.ar-hero) #apps.grid {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:599px) {
 html body:has(.ar-hero) #apps.grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 html body:has(.ar-hero) #apps .app {grid-template-columns:43px minmax(0,1fr)!important;grid-template-rows:minmax(49px,auto) auto!important;min-height:0;padding:10px!important;column-gap:8px;row-gap:7px;border-radius:14px!important}
 html body:has(.ar-hero) #apps .icon {width:43px!important;height:43px!important;border-radius:11px!important}
 html body:has(.ar-hero) #apps .app-copy {min-height:43px!important;gap:3px;padding:2px 0 0!important}
 html body:has(.ar-hero) #apps .name {font-size:11px!important}
 html body:has(.ar-hero) #apps .meta {font-size:10px!important}
 html body:has(.ar-hero) #apps .ar-card-description {font-size:11px;line-height:1.3}
 html body:has(.ar-hero) #apps .app-footer {min-height:33px;padding:6px 4px!important}
 html body:has(.ar-hero) #apps .app-action {font-size:11px!important}
}
@media (max-width:350px) {html body:has(.ar-hero) #apps .app {grid-template-columns:37px minmax(0,1fr)!important;column-gap:6px;padding:8px!important}html body:has(.ar-hero) #apps .icon {width:37px!important;height:37px!important}html body:has(.ar-hero) #apps .name {font-size:10.5px!important}}
@media (prefers-reduced-motion:reduce) {html body:has(.ar-hero) #apps .app {transition:none}}

/* Public storefront maintenance state */
body[data-storefront-maintenance="true"] #catalogControls,
body[data-storefront-maintenance="true"] #visibleCount,
body[data-storefront-maintenance="true"] #apps,
body[data-storefront-maintenance="true"] #empty,
body[data-storefront-maintenance="true"] #cart,
body[data-storefront-maintenance="true"] .hero-animated,
body[data-storefront-maintenance="true"] .info-section,
body[data-storefront-maintenance="true"] .social-section,
body[data-storefront-maintenance="true"] .final-cta {display:none!important}
.store-maintenance{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:20px;margin:8px 0 22px;padding:25px 26px;border:1px solid rgba(118,164,207,.3);border-radius:18px;background:#102139;box-shadow:0 18px 42px rgba(0,7,20,.22);color:#f4f8ff}
.store-maintenance[hidden]{display:none!important}
.store-maintenance-mark{display:grid;place-items:center;width:58px;height:58px;border:1px solid rgba(255,209,121,.3);border-radius:16px;background:#192d47;color:#ffd179}
.store-maintenance-mark svg{width:38px;height:38px;overflow:visible}
.store-maintenance-copy{min-width:0}
.store-maintenance-copy h2{margin:0;font-size:24px;line-height:1.18;letter-spacing:-.025em}
.store-maintenance-copy p{max-width:68ch;margin:8px 0 0;color:#c2d1e2;font-size:14px;line-height:1.55}
.store-maintenance-copy .store-maintenance-note{margin-top:10px;color:#aabbd0;font-size:12px}
.store-maintenance-guide{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:0 13px;border:1px solid rgba(118,164,207,.34);border-radius:11px;background:#152b45;color:#d8e9fa;font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap;transition:background .16s ease,border-color .16s ease,color .16s ease}
.store-maintenance-guide:hover{border-color:rgba(131,226,219,.52);background:#1b3857;color:#fff}
.store-maintenance-guide:focus-visible{outline:3px solid rgba(131,226,219,.55);outline-offset:3px}
.store-maintenance-guide svg{width:17px;height:17px}
@media(max-width:760px){.store-maintenance{grid-template-columns:48px minmax(0,1fr);gap:14px;padding:19px}.store-maintenance-mark{width:46px;height:46px;border-radius:13px}.store-maintenance-mark svg{width:31px;height:31px}.store-maintenance-copy h2{font-size:20px}.store-maintenance-copy p{font-size:13px}.store-maintenance-guide{grid-column:2;justify-self:start}}
@media(max-width:460px){.store-maintenance{grid-template-columns:1fr;gap:12px;padding:17px;border-radius:15px}.store-maintenance-mark{width:42px;height:42px}.store-maintenance-guide{grid-column:1}.store-maintenance-copy h2{font-size:19px}}
@media(prefers-reduced-motion:reduce){.store-maintenance-guide{transition:none}}

/* catalog-min-ios.css: original cascade order. */
html body:has(.ar-hero) #apps .app-min-ios {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 19px;
  margin: 0;
  padding: 3px 7px;
  border: 1px solid rgba(104, 190, 255, .28);
  border-radius: 6px;
  background: rgba(52, 145, 218, .1);
  color: #b9e1ff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

html body:has(.ar-hero) #apps .app.selected .app-min-ios {
  border-color: rgba(126, 226, 207, .34);
  background: rgba(53, 172, 152, .12);
  color: #c2f5e7;
}

@media (max-width: 599px) {
  html body:has(.ar-hero) #apps .app-min-ios {
    min-height: 17px;
    padding: 2px 5px;
    font-size: 9px;
  }
}

/* hero-polish.css: original cascade order. */
/* Hero effects on the existing one-phone artwork. Loaded after all older homepage styles. */
html body:has(.ar-hero) .ar-actions .ar-cta-icon {
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;
  width:20px;height:20px;margin-left:2px;line-height:0;
}
html body:has(.ar-hero) .ar-actions .ar-cta-icon svg {
  display:block;width:20px;height:20px;fill:none;stroke:currentColor;
  stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;
}
html body:has(.ar-hero) .ar-actions .ar-secondary .ar-cta-icon svg {
  width:21px;height:21px;
}

/* The PNG/AVIF has a transparent background, so drop-shadow hugs the actual
   tilted handset silhouette, rather than drawing a false rectangular border. */
html body:has(.ar-hero) .ar-visual .ar-device .ar-phone-art {
  animation:ar-handset-edge-glow 4.8s ease-in-out infinite;
  transform:translateZ(0);
}
@keyframes ar-handset-edge-glow {
  0%,100% {
    filter:drop-shadow(14px 23px 19px rgba(0,0,0,.37))
      drop-shadow(0 0 6px rgba(76,153,255,.73))
      drop-shadow(0 0 23px rgba(54,99,255,.35));
  }
  50% {
    filter:drop-shadow(14px 23px 19px rgba(0,0,0,.37))
      drop-shadow(0 0 11px rgba(100,184,255,.92))
      drop-shadow(0 0 39px rgba(76,81,255,.49));
  }
}

/* Keep each icon's original perspective/tilt (set by the reference sheet).
   Animating the independent rotate/translate properties works even with its
   legacy transform:... !important; the label and its anchor stay stationary. */
html body:has(.ar-hero) .ar-visual .ar-float-icon {
  animation:ar-icon-rock-a 6.1s ease-in-out infinite;
  transform-origin:50% 55%;
}
html body:has(.ar-hero) .ar-visual [data-app-icon="sber"] .ar-float-icon {animation-name:ar-icon-rock-a;animation-delay:-1.4s;}
html body:has(.ar-hero) .ar-visual [data-app-icon="max"] .ar-float-icon {animation-name:ar-icon-rock-b;animation-duration:5.7s;animation-delay:-3.2s;}
html body:has(.ar-hero) .ar-visual [data-app-icon="vk"] .ar-float-icon {animation-name:ar-icon-rock-c;animation-duration:6.6s;animation-delay:-.7s;}
html body:has(.ar-hero) .ar-visual [data-app-icon="tbank"] .ar-float-icon {animation-name:ar-icon-rock-b;animation-duration:6.3s;animation-delay:-4.1s;}
html body:has(.ar-hero) .ar-visual [data-app-icon="psb"] .ar-float-icon {animation-name:ar-icon-rock-c;animation-duration:5.9s;animation-delay:-2.4s;}
html body:has(.ar-hero) .ar-visual [data-app-icon="alfa"] .ar-float-icon {animation-name:ar-icon-rock-a;animation-duration:7.1s;animation-delay:-5.3s;}
@keyframes ar-icon-rock-a {
  0%,100% {rotate:-3deg;translate:0 0;}
  50% {rotate:4deg;translate:0 -5px;}
}
@keyframes ar-icon-rock-b {
  0%,100% {rotate:4deg;translate:0 -2px;}
  50% {rotate:-4deg;translate:0 4px;}
}
@keyframes ar-icon-rock-c {
  0%,100% {rotate:-4deg;translate:0 2px;}
  50% {rotate:3deg;translate:0 -4px;}
}

/* Position the inscription inside the painted SCREEN, not inside the full
   transparent image box. Its four deliberate lines avoid the overflowing
   single-line "снова с тобой ♡" on compact iPhones. */
html body:has(.ar-hero) .ar-visual .ar-device .ar-device-content,
html body:has(.ar-hero) .ar-visual .ar-device.has-art .ar-device-content {
  box-sizing:border-box !important;
  inset:33.5% 28% auto 28% !important;
  width:44% !important;
  max-width:44% !important;
  margin:0 !important;
  padding:0 !important;
  font-size:clamp(14px,1.16vw,18px) !important;
  line-height:1.2 !important;
  letter-spacing:-.025em;
  transform:rotate(7deg) !important;
  white-space:normal !important;
  overflow:visible;
  pointer-events:none;
}
html body:has(.ar-hero) .ar-device-content .ar-copy-line {
  display:block;white-space:nowrap;max-width:100%;
}
html body:has(.ar-hero) .ar-device-content .ar-copy-heart {
  display:block;font-size:1.05em;line-height:1.05;margin-top:2px;
}
@media(max-width:1109px) {
  html body:has(.ar-hero) .ar-visual .ar-device .ar-device-content,
  html body:has(.ar-hero) .ar-visual .ar-device.has-art .ar-device-content {
    font-size:clamp(10px,1.3vw,12px) !important;
  }
}
@media(max-width:679px) {
  html body:has(.ar-hero) .ar-visual .ar-device .ar-device-content,
  html body:has(.ar-hero) .ar-visual .ar-device.has-art .ar-device-content {
    inset:34.5% 28% auto 28% !important;
    font-size:clamp(8px,2.2vw,9px) !important;
    line-height:1.17 !important;
    letter-spacing:-.045em;
  }
  html body:has(.ar-hero) .ar-visual .ar-float-icon {animation-duration:7.2s;}
}
@media(prefers-reduced-motion:reduce) {
  html body:has(.ar-hero) .ar-visual .ar-device .ar-phone-art,
  html body:has(.ar-hero) .ar-visual .ar-float-icon {animation:none !important;}
}

/* info-reference.css: original cascade order. */
/* AppRestore: the two information sections beneath the catalog. No checkout/catalog styles. */
body:has(.ar-hero) .ar-info-flow,
body:has(.ar-hero) .ar-info-trust {
  --info-bg:#0c1727;
  --info-line:rgba(111,161,226,.29);
  margin-top:clamp(52px,6vw,92px);
  margin-bottom:0;
  isolation:isolate;
}
body:has(.ar-hero) .ar-info-trust {margin-top:clamp(55px,6vw,94px)}
body:has(.ar-hero) .ar-info-flow .info-head,
body:has(.ar-hero) .ar-info-trust .info-head {
  display:block; margin:0 0 39px; padding:0; max-width:880px;
}
body:has(.ar-hero) .ar-info-flow .info-head h2,
body:has(.ar-hero) .ar-info-trust .info-head h2 {
  margin:0 0 9px; font-size:clamp(30px,3vw,43px); line-height:1.09;
  letter-spacing:-.047em; font-weight:850; color:#f9fbff;
}
body:has(.ar-hero) .ar-info-title-accent {color:#62adff}
body:has(.ar-hero) .ar-info-flow .info-head p,
body:has(.ar-hero) .ar-info-trust .info-head p {
  max-width:760px; color:#bac9e0; font-size:clamp(13px,1.1vw,16px); line-height:1.52;
}
/* STEP CARDS: the tip of every connector terminates at the next card's left edge. */
body:has(.ar-hero) .ar-info-flow .process-grid {
  --ar-flow-gap:clamp(43px,4.4vw,81px);
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  gap:var(--ar-flow-gap); overflow:visible; align-items:stretch;
}
body:has(.ar-hero) .ar-info-flow .process-card {
  position:relative; min-width:0; min-height:185px; margin:0;
  display:flex; flex-direction:column; align-items:flex-start;
  padding:38px 18px 20px; border-radius:23px;
  overflow:visible; border:1px solid rgba(69,124,194,.42);
  background:radial-gradient(ellipse at 95% 0%,rgba(37,84,154,.13),transparent 58%),linear-gradient(150deg,#14243a 0%,#101e32 100%);
  box-shadow:inset 0 1px rgba(233,243,255,.04),0 18px 40px rgba(0,5,18,.16);
}
body:has(.ar-hero) .ar-info-flow .process-card:nth-child(2){border-color:rgba(110,91,212,.40);background:radial-gradient(ellipse at 90% 0%,rgba(103,67,188,.16),transparent 55%),linear-gradient(150deg,#19243e,#101d31)}
body:has(.ar-hero) .ar-info-flow .process-card:nth-child(4){border-color:rgba(70,201,182,.31);background:radial-gradient(ellipse at 93% 0%,rgba(43,194,163,.13),transparent 53%),linear-gradient(150deg,#142b35,#101e30)}
body:has(.ar-hero) .ar-info-flow .process-card-top {position:absolute; left:18px; top:-12px; height:auto; display:block; margin:0}
body:has(.ar-hero) .ar-info-flow .process-num {
  display:grid; place-items:center; width:39px; height:39px; border:1px solid rgba(145,207,255,.3);
  border-radius:50%; background:linear-gradient(140deg,#288ffc,#6253f7); color:white;
  font-size:18px; font-weight:850; line-height:1; box-shadow:0 5px 22px rgba(55,112,251,.39);
}
body:has(.ar-hero) .ar-info-flow .process-card h3 {font-size:clamp(15px,1.2vw,18px); line-height:1.2; letter-spacing:-.023em; color:#fff; margin:3px 0 8px; font-weight:820; max-width:calc(100% - 4px)}
body:has(.ar-hero) .ar-info-flow .process-card p {font-size:clamp(12px,1vw,14px); line-height:1.47; color:#bfcde2; margin:0; max-width:310px}
body:has(.ar-hero) .ar-info-flow .ar-process-art {
  position:absolute; z-index:2; right:-4px; top:-16px; display:grid; place-items:center;
  width:70px;height:70px;border:1px solid #308cf7;border-radius:19px;
  background:linear-gradient(145deg,#153b76,#0d2340); color:#77beff;
  transform:rotate(12deg); box-shadow:0 10px 19px rgba(0,4,16,.28),0 0 25px rgba(36,112,241,.11);
  pointer-events:none;
}
body:has(.ar-hero) .ar-info-flow .process-card:nth-child(2) .ar-process-art {border-color:#986efe;background:linear-gradient(150deg,#30234e,#141e38);color:#bf9dff;transform:rotate(13deg)}
body:has(.ar-hero) .ar-info-flow .process-card:nth-child(3) .ar-process-art {transform:rotate(10deg)}
body:has(.ar-hero) .ar-info-flow .process-card:nth-child(4) .ar-process-art {border-color:#51ceb8;background:linear-gradient(150deg,#164a51,#102c36);color:#9bfae0;transform:rotate(-11deg)}
body:has(.ar-hero) .ar-info-flow .ar-process-art svg {width:39px;height:39px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body:has(.ar-hero) .ar-info-flow .process-card:not(:last-child) .process-arrow {
  position:absolute; z-index:3; left:100%; top:52%; width:var(--ar-flow-gap); height:2px;
  display:block; border:0; border-radius:0; padding:0; margin:0;
  background:linear-gradient(90deg,rgba(53,130,255,.53),#338cff 75%,#58d3ff 100%);
  box-shadow:0 0 10px rgba(46,109,255,.7); transform:none; pointer-events:none;
}
body:has(.ar-hero) .ar-info-flow .process-arrow svg {display:none!important}
body:has(.ar-hero) .ar-info-flow .process-card:not(:last-child) .process-arrow::after {
  content:"";position:absolute;right:3px;top:50%;width:10px;height:10px;
  border-top:2px solid #5bd5ff;border-right:2px solid #5bd5ff;
  transform:translateY(-50%) rotate(45deg);
  filter:drop-shadow(0 0 4px rgba(73,153,255,.86));
}
/* SAFETY CARDS */
body:has(.ar-hero) .ar-info-trust .safety-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
body:has(.ar-hero) .ar-info-trust .safety-card {
  position:relative; display:grid; grid-template-columns:65px minmax(0,1fr); align-items:start;
  gap:18px; min-width:0; min-height:226px; margin:0; padding:26px 22px 66px;
  overflow:hidden; border-radius:23px;border:1px solid rgba(61,137,229,.43);
  background:radial-gradient(ellipse at 95% 0%,rgba(44,143,250,.21),transparent 59%),linear-gradient(145deg,#132a46,#101d32);
  box-shadow:inset 0 1px rgba(237,247,255,.04),0 18px 38px rgba(0,5,20,.15);
}
body:has(.ar-hero) .ar-info-trust .safety-card:nth-child(2){border-color:rgba(145,103,236,.38);background:radial-gradient(ellipse at 96% 0%,rgba(121,92,218,.19),transparent 60%),linear-gradient(145deg,#1c2444,#111b31)}
body:has(.ar-hero) .ar-info-trust .safety-card:nth-child(3){border-color:rgba(58,183,180,.40);background:radial-gradient(ellipse at 97% 0%,rgba(41,171,163,.18),transparent 60%),linear-gradient(145deg,#112e40,#101e30)}
body:has(.ar-hero) .ar-info-trust .safety-card::after {content:"";position:absolute;right:-17px;top:8px;width:145px;height:145px;border-radius:50%;border:18px solid rgba(90,173,255,.045);pointer-events:none}
body:has(.ar-hero) .ar-info-trust .safety-card:nth-child(2)::after{border-color:rgba(171,137,255,.045)}
body:has(.ar-hero) .ar-info-trust .safety-card:nth-child(3)::after{border-color:rgba(96,229,202,.05)}
body:has(.ar-hero) .ar-info-trust .safety-icon {
  display:grid;place-items:center; width:62px;height:62px;min-width:62px; margin:0;
  border:1px solid rgba(58,156,255,.75); border-radius:18px;
  background:linear-gradient(145deg,rgba(42,129,227,.31),rgba(24,72,141,.25));color:#92cbff;
  box-shadow:inset 0 1px rgba(255,255,255,.05);
}
body:has(.ar-hero) .ar-info-trust .safety-card:nth-child(2) .safety-icon{border-color:rgba(156,119,255,.77);background:rgba(112,75,198,.20);color:#cbadff}
body:has(.ar-hero) .ar-info-trust .safety-card:nth-child(3) .safety-icon{border-color:rgba(78,221,195,.73);background:rgba(41,174,154,.17);color:#9cf5df}
body:has(.ar-hero) .ar-info-trust .safety-icon svg {width:29px;height:29px}
body:has(.ar-hero) .ar-info-trust .safety-card>div {min-width:0;position:relative;z-index:1}
body:has(.ar-hero) .ar-info-trust .safety-kicker {display:block;margin:2px 0 10px;color:#93c9ff;font-size:11px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
body:has(.ar-hero) .ar-info-trust .safety-card:nth-child(2) .safety-kicker{color:#c1acff}
body:has(.ar-hero) .ar-info-trust .safety-card:nth-child(3) .safety-kicker{color:#84eacb}
body:has(.ar-hero) .ar-info-trust .safety-card b {display:block;margin:0 0 11px;font-size:clamp(15px,1.35vw,19px);line-height:1.22;color:#fff;letter-spacing:-.02em}
body:has(.ar-hero) .ar-info-trust .safety-card div>span:last-child:not(.ar-safety-badge){display:block;color:#bac9df;font-size:clamp(12px,.98vw,14px);line-height:1.5}
body:has(.ar-hero) .ar-info-trust .ar-safety-badge {
  position:absolute;bottom:18px;left:22px;display:inline-flex;align-items:center;gap:7px;
  max-width:calc(100% - 44px);min-height:29px;padding:5px 11px;
  border:1px solid rgba(76,147,255,.44);border-radius:999px;
  background:rgba(26,91,172,.21);color:#a9d6ff;font-size:11px;font-weight:720;line-height:1.15;
}
body:has(.ar-hero) .ar-info-trust .safety-card:nth-child(2) .ar-safety-badge{border-color:rgba(151,111,248,.44);background:rgba(93,63,172,.18);color:#c9b5ff}
body:has(.ar-hero) .ar-info-trust .safety-card:nth-child(3) .ar-safety-badge{border-color:rgba(74,221,194,.39);background:rgba(29,150,134,.15);color:#9ce8d6}
body:has(.ar-hero) .ar-info-trust .ar-safety-badge svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:1150px) and (min-width:791px){
  body:has(.ar-hero) .ar-info-flow .process-grid{--ar-flow-gap:44px}
  body:has(.ar-hero) .ar-info-flow .process-card{padding:37px 13px 17px}
  body:has(.ar-hero) .ar-info-flow .ar-process-art{width:52px;height:52px;right:-4px;top:-12px;border-radius:15px}
  body:has(.ar-hero) .ar-info-flow .ar-process-art svg{width:29px;height:29px}
  body:has(.ar-hero) .ar-info-trust .safety-card{gap:12px;grid-template-columns:48px minmax(0,1fr);padding:20px 13px 65px}
  body:has(.ar-hero) .ar-info-trust .safety-icon{width:46px;height:46px;min-width:46px;border-radius:13px}
}
@media(max-width:790px){
  body:has(.ar-hero) .ar-info-flow,body:has(.ar-hero) .ar-info-trust{margin-top:48px}
  body:has(.ar-hero) .ar-info-flow .info-head,body:has(.ar-hero) .ar-info-trust .info-head{margin-bottom:25px}
  body:has(.ar-hero) .ar-info-flow .process-grid{--ar-flow-gap:37px;grid-template-columns:1fr;gap:var(--ar-flow-gap)}
  body:has(.ar-hero) .ar-info-flow .process-card{min-height:145px;padding:23px 76px 20px 78px;border-radius:21px}
  body:has(.ar-hero) .ar-info-flow .process-card-top{left:18px;top:20px}
  body:has(.ar-hero) .ar-info-flow .process-card .process-num{width:43px;height:43px}
  body:has(.ar-hero) .ar-info-flow .ar-process-art{right:18px;top:17px;width:46px;height:46px;border-radius:13px}
  body:has(.ar-hero) .ar-info-flow .ar-process-art svg{width:28px;height:28px}
  body:has(.ar-hero) .ar-info-flow .process-card h3{font-size:17px;margin:0 0 8px}
  body:has(.ar-hero) .ar-info-flow .process-card p{font-size:13px;line-height:1.48}
  body:has(.ar-hero) .ar-info-flow .process-card:not(:last-child) .process-arrow{left:39px;top:100%;width:2px;height:var(--ar-flow-gap);background:linear-gradient(180deg,#367dff,#53b9ff);transform:none}
  body:has(.ar-hero) .ar-info-flow .process-card:not(:last-child) .process-arrow::after{right:auto;left:50%;top:auto;bottom:3px;transform:translateX(-50%) rotate(135deg)}
  body:has(.ar-hero) .ar-info-trust .safety-grid{grid-template-columns:1fr;gap:12px}
  body:has(.ar-hero) .ar-info-trust .safety-card{min-height:140px;grid-template-columns:62px minmax(0,1fr);gap:16px;padding:21px 20px 22px}
  body:has(.ar-hero) .ar-info-trust .ar-safety-badge{position:static;grid-column:2;justify-self:start;margin-top:5px}
}
@media(max-width:420px){
  body:has(.ar-hero) .ar-info-flow .process-card{padding:22px 62px 18px 72px;min-height:154px}
  body:has(.ar-hero) .ar-info-flow .process-card .process-num{width:38px;height:38px}
  body:has(.ar-hero) .ar-info-flow .process-card:not(:last-child) .process-arrow{left:35px}
  body:has(.ar-hero) .ar-info-flow .ar-process-art{right:12px;top:15px;width:39px;height:39px}
  body:has(.ar-hero) .ar-info-flow .ar-process-art svg{width:24px;height:24px}
  body:has(.ar-hero) .ar-info-flow .process-card h3{font-size:15px}
  body:has(.ar-hero) .ar-info-flow .process-card p{font-size:12px}
  body:has(.ar-hero) .ar-info-trust .safety-card{grid-template-columns:48px minmax(0,1fr);gap:13px;padding:18px 15px}
  body:has(.ar-hero) .ar-info-trust .safety-icon{width:47px;height:47px;min-width:47px;border-radius:14px}
  body:has(.ar-hero) .ar-info-trust .safety-kicker{font-size:10px}
  body:has(.ar-hero) .ar-info-trust .safety-card b{font-size:15px}
  body:has(.ar-hero) .ar-info-trust .ar-safety-badge{font-size:10px}
}

/* info-reference-fixes.css: original cascade order. */
/* Final visual pass: remove the old circular separators and keep only connected arrows. */
html body:has(.ar-hero) .ar-info-flow .process-card,
html body:has(.ar-hero) .ar-info-flow .process-card h3,
html body:has(.ar-hero) .ar-info-flow .process-card p {
  text-align:left !important;
}
/* Old homepage CSS paints dark circular plugs from the cards themselves. */
html body:has(.ar-hero) .ar-info-flow .process-card:not(:last-child)::after,
html body:has(.ar-hero) .ar-info-flow .process-card + .process-card::before {
  content:none !important;
  display:none !important;
  background:none !important;
  box-shadow:none !important;
}
html body:has(.ar-hero) .ar-info-flow .process-card .process-arrow {
  border:0 !important;
  border-radius:0 !important;
  box-shadow:0 0 9px rgba(52,125,255,.47) !important;
  padding:0 !important;
}
html body:has(.ar-hero) .ar-info-flow .process-card .process-arrow::before {
  content:none !important;
  display:none !important;
  border:0 !important;
  box-shadow:none !important;
  background:none !important;
}
html body:has(.ar-hero) .ar-info-flow .process-card .process-arrow svg {display:none !important}

/* The current hero renders proof counters, not the retired benefit cards. */
.ar-hero .ar-proof{display:flex;align-items:center;gap:20px;margin-top:24px;grid-area:benefits;min-width:0}
.ar-hero .ar-proof-card{display:grid;grid-template-columns:24px minmax(0,1fr);gap:3px 9px;align-items:center;min-width:0}
.ar-hero .ar-proof-icon{width:24px;height:24px;grid-row:1/3;color:#9dd8ff;flex:none}
.ar-hero .ar-proof-value{font-size:24px;line-height:1.2;font-variant-numeric:tabular-nums;color:#f3f8ff}
.ar-hero .ar-proof-label{font-size:12px;line-height:1.4;color:#b5c8de}
.ar-hero .ar-proof-divider{width:1px;height:32px;background:#384962;flex:none}
.ar-hero .ar-icloud-note{display:flex;align-items:center;gap:8px;grid-column:1/-1;margin:16px 0 0;font-size:13px;color:#b5c8de}
.ar-hero .ar-icloud-note svg{width:20px;height:20px;flex:none;color:#9dd8ff}
@media(max-width:679px){.ar-hero .ar-proof{gap:12px;margin-top:10px}.ar-hero .ar-proof-card{grid-template-columns:20px minmax(0,1fr);gap:3px 7px}.ar-hero .ar-proof-icon{width:20px;height:20px}.ar-hero .ar-proof-value{font-size:21px}.ar-hero .ar-proof-label{font-size:11px}.ar-hero .ar-icloud-note{margin-top:4px;font-size:12px}}
/* Keep the closing sections aligned with the catalog, including ultrawide screens. */
/* Keep every category visible without requiring a hidden horizontal swipe. */
html body:has(.ar-hero) .ar-catalog-toolbar #catalogControls{overflow:visible}
html body:has(.ar-hero) .ar-catalog-toolbar #catalogControls .chips{flex-wrap:wrap;overflow:visible;gap:8px;box-sizing:border-box}
html body:has(.ar-hero) .ar-catalog-toolbar #catalogControls .chip{flex:0 1 auto;max-width:100%;white-space:normal}
.catalog-search-hint{margin:8px 0 2px;color:#b5c8de;font-size:12px;line-height:1.5}
html body:has(.ar-hero) .shell > .final-cta,html body:has(.ar-hero) .shell > .social-section{box-sizing:border-box;width:calc(100% - 2 * clamp(18px,4.5vw,78px));max-width:1430px;margin-left:auto;margin-right:auto}
@media(max-width:679px){html body:has(.ar-hero) .shell > .final-cta,html body:has(.ar-hero) .shell > .social-section{width:calc(100% - 30px)}}

