:root {
  color-scheme: light; --ink:#182032; --muted:#737b8d; --purple:#6755e8; --purple-dark:#5140cd;
  --line:#e8eaf1; --surface:#fff; --canvas:#f6f7fb; --shadow:0 18px 50px rgba(43,49,80,.07);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;color:var(--ink);background:var(--canvas)}
a{color:inherit;text-decoration:none} button,input{font:inherit}
.topbar{height:76px;max-width:1240px;padding:0 28px;margin:0 auto;display:flex;align-items:center;justify-content:space-between}
.brand{display:inline-flex;align-items:center;gap:10px;color:#252b3c;font-size:20px;font-weight:780;letter-spacing:-.8px}
.brand-mark{width:30px;height:30px;display:block;border-radius:9px;transform:rotate(-5deg);box-shadow:0 3px 9px rgba(91,67,214,.22)}
.topnav{display:flex;gap:34px;align-items:center}.nav-link{color:#777e8d;font-size:13px;font-weight:600;transition:color .2s}
.nav-link:hover,.nav-link.active{color:var(--ink)}
.top-button,.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;border-radius:11px;font-weight:700;transition:transform .2s,background .2s}
.top-button{padding:12px 16px;background:#fff;border:1px solid var(--line);font-size:12px;box-shadow:0 2px 6px rgba(30,35,60,.03)}
.top-button:hover,.secondary-button:hover{transform:translateY(-2px)}
main{max-width:1240px;padding:0 28px;margin:0 auto}
.hero{min-height:435px;display:grid;grid-template-columns:1.05fr .95fr;gap:24px;align-items:center;overflow:hidden;border-radius:28px;padding:58px 74px 48px;background:linear-gradient(115deg,#eeedff 0%,#f2f3ff 48%,#e8ebff 100%);position:relative}
.hero:before{content:"";position:absolute;width:480px;height:480px;right:-90px;top:-190px;border-radius:50%;background:rgba(255,255,255,.28)}
.hero-copy{position:relative;z-index:2;max-width:545px}.eyebrow{display:flex;align-items:center;gap:8px;color:#7064d2;font-weight:800;font-size:10px;letter-spacing:1.35px}
.eyebrow-dot{width:7px;height:7px;background:#7561ef;border-radius:50%;box-shadow:0 0 0 4px rgba(117,97,239,.13)}
h1,h2,h3,p{margin-top:0} h1{margin:19px 0 15px;color:#1b2034;font-size:clamp(39px,5vw,57px);line-height:1.03;letter-spacing:-2.7px} h1 span{color:var(--purple)}
.hero-lead{max-width:470px;margin-bottom:25px;color:#6b7284;line-height:1.65;font-size:14px}
.primary-button{padding:14px 18px;color:white;background:var(--purple);box-shadow:0 8px 20px rgba(103,85,232,.2);font-size:12px}
.primary-button:hover{background:var(--purple-dark);transform:translateY(-2px)}
.hero-meta{display:flex;align-items:center;gap:10px;margin-top:27px;color:#7d8292;font-size:11px}.hero-meta strong{color:#34394b}
.avatar-stack{display:flex;margin-right:1px}.avatar-stack i{width:21px;height:21px;border:2px solid #efefff;border-radius:50%;margin-right:-5px;display:grid;place-items:center;color:#fff;background:#567eea;font-size:8px;font-weight:800;font-style:normal}
.avatar-stack i:nth-child(2){background:#8866de}.avatar-stack i:nth-child(3){background:#40a785}.meta-divider{width:1px;height:13px;margin:0 2px;background:#c9cadd}
.hero-art{height:340px;position:relative;display:flex;justify-content:center;align-items:center}.orbit{position:absolute;width:380px;height:380px;border:1px solid rgba(113,99,221,.12);border-radius:50%}.orbit-two{width:300px;height:300px;border-color:rgba(113,99,221,.13)}
.phone{z-index:1;position:relative;width:222px;height:312px;padding:14px 13px;border:7px solid #303348;border-radius:31px;background:#fbfbff;box-shadow:0 26px 55px rgba(50,52,104,.24);transform:rotate(5deg)}
.phone-island{position:absolute;top:7px;left:50%;width:61px;height:14px;transform:translateX(-50%);border-radius:10px;background:#303348}
.phone-top{display:flex;justify-content:space-between;padding:4px 4px 0;color:#363b50;font-size:7px;font-weight:800}
.phone-title{display:flex;justify-content:space-between;align-items:center;margin:22px 2px 12px;font-size:14px;font-weight:800}.phone-title span{color:#9698a8;letter-spacing:2px}
.phone-search{height:29px;display:flex;align-items:center;gap:6px;padding:0 9px;border-radius:8px;background:#f0f1f7;color:#969aaa;font-size:8px}.phone-search span{font-size:15px}
.phone-apps{margin-top:12px;display:grid;gap:7px}.phone-app{min-height:50px;display:flex;align-items:center;gap:8px;padding:6px;background:white;border:1px solid #f0f0f5;border-radius:10px;box-shadow:0 3px 8px rgba(35,39,74,.035)}
.phone-app>span:nth-child(2){display:grid;gap:3px;flex:1}.phone-app b{font-size:8px}.phone-app small{color:#9a9ead;font-size:6px}.phone-app>i{color:#a7a9b6;font-size:16px;font-style:normal}
.mini-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;color:#fff;font-size:8px;font-weight:800}.mini-icon.vk{background:#5185ec}.mini-icon.max{background:linear-gradient(135deg,#8165f2,#b152db)}.mini-icon.bank{background:#37a67a;font-size:13px}
.phone-tab{position:absolute;left:12px;right:12px;bottom:9px;height:34px;border-top:1px solid #f0f0f4;display:flex;justify-content:space-around;align-items:center;color:#9b9dad;font-size:12px}
.phone-tab span{display:grid;justify-items:center;gap:1px}.phone-tab small{font-size:5px}.phone-tab .selected{color:var(--purple)}
.floating-chip{position:absolute;z-index:2;right:-3px;bottom:42px;display:flex;align-items:center;gap:9px;padding:11px 14px 11px 10px;background:rgba(255,255,255,.92);border:1px solid rgba(255,255,255,.7);border-radius:13px;box-shadow:0 12px 35px rgba(53,54,102,.14);transform:rotate(-3deg)}
.chip-check{display:grid;place-items:center;width:26px;height:26px;border-radius:9px;color:#fff;background:#42b487;font-size:13px;font-weight:800}.floating-chip span:last-child{display:grid;gap:3px}.floating-chip b{font-size:10px}.floating-chip small{color:#818696;font-size:9px}
.notice{display:flex;gap:14px;align-items:flex-start;margin:22px 0 76px;padding:17px 20px;border:1px solid #ebe8ff;border-radius:14px;background:#fff;box-shadow:0 6px 22px rgba(63,58,112,.035)}
.notice-icon{flex:0 0 26px;height:26px;display:grid;place-items:center;border-radius:8px;color:#6958db;background:#f0edff;font-weight:800;font-size:14px}
.notice strong{display:block;margin:1px 0 4px;font-size:12px}.notice p{margin:0;color:#747b8d;font-size:11px;line-height:1.6}.notice>a{margin-left:auto;color:#9185e6;font-size:15px}
.catalog-section{padding:0 10px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px}
.section-heading h2,.how-heading h2{margin:10px 0 7px;font-size:30px;letter-spacing:-1.1px}.section-lead,.how-heading>p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}
.search-box{width:267px;height:42px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #e5e7ef;border-radius:10px;background:#fff;color:#9298a7}
.search-box>span{font-size:18px}.search-box input{min-width:0;flex:1;border:0;outline:none;background:transparent;color:var(--ink);font-size:11px}.search-box input::placeholder{color:#9ca1af}
.search-box kbd{padding:4px 5px;border:1px solid #eceef3;border-radius:5px;color:#a2a6b2;font-size:8px;white-space:nowrap}
.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:27px 0 16px}
.filter-list{display:flex;gap:7px;flex-wrap:wrap}.filter-button{padding:9px 13px;border:1px solid transparent;border-radius:8px;background:transparent;color:#808697;cursor:pointer;font-size:10px;font-weight:650;transition:.2s}
.filter-button:hover{background:#fff;color:var(--ink)}.filter-button.active{color:#fff;background:var(--ink);box-shadow:0 4px 10px rgba(24,32,50,.12)}
.result-count{color:#969baa;font-size:10px;white-space:nowrap}
.app-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.app-card{min-width:0;padding:16px;border:1px solid #eceef4;border-radius:14px;background:var(--surface);box-shadow:0 4px 13px rgba(40,46,75,.025);transition:transform .2s,box-shadow .2s,border-color .2s}
.app-card:hover{transform:translateY(-3px);border-color:#dedbf9;box-shadow:var(--shadow)}.card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.app-icon{width:49px;height:49px;flex:0 0 49px;display:grid;place-items:center;border-radius:14px;color:#fff;font-weight:800;font-size:13px;box-shadow:inset 0 1px 0 rgba(255,255,255,.24)}
.app-icon.vk{background:linear-gradient(140deg,#70a0ff,#3970e8)}.app-icon.vkvideo{background:linear-gradient(140deg,#ff6b73,#e33862)}.app-icon.max{background:linear-gradient(140deg,#9e75ff,#753bd1)}.app-icon.mail{background:linear-gradient(140deg,#f17672,#dc4057)}.app-icon.rshb{background:linear-gradient(140deg,#68bd70,#329346)}.app-icon.sbpay{background:linear-gradient(140deg,#4cb8a3,#218a7a)}.app-icon.sovcom{background:linear-gradient(140deg,#f3787c,#db4351)}.app-icon.yapay{background:linear-gradient(140deg,#ffcc50,#e79319);color:#553a13}.app-icon.happ{background:linear-gradient(140deg,#637df0,#4354bd)}.app-icon.online{background:linear-gradient(140deg,#64b7e7,#307dcc)}.app-icon.ozon{background:linear-gradient(140deg,#5e83f3,#3e5ad3)}.app-icon.tstart{background:linear-gradient(140deg,#343741,#111522)}.app-icon.avito{background:linear-gradient(140deg,#55a8ff,#4389e2)}
.category-tag{padding:5px 7px;border-radius:6px;background:#f4f5f9;color:#8b91a0;font-size:8px;font-weight:700;white-space:nowrap}
.app-card h3{overflow:hidden;margin:13px 0 4px;font-size:14px;letter-spacing:-.25px;text-overflow:ellipsis;white-space:nowrap}.app-version{margin:0;color:#9298a7;font-size:10px}
.card-rule{height:1px;margin:14px 0 12px;background:#f0f1f5}.app-status{display:flex;align-items:center;gap:6px;margin:0 0 12px;color:#888e9e;font-size:9px}
.status-dot{width:6px;height:6px;border-radius:50%;background:#efb14a;box-shadow:0 0 0 3px #fff5e4}
.install-button{width:100%;min-height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e6e8ef;border-radius:8px;background:#fafbfc;color:#9a9fad;font-size:10px;font-weight:700;cursor:not-allowed}
.install-button.ready{border-color:var(--purple);color:#fff;background:var(--purple);cursor:pointer}.install-button.ready:hover{background:var(--purple-dark)}
.empty-state{padding:58px 16px;text-align:center}.empty-state>span{color:#9690e8;font-size:30px}.empty-state h3{margin:8px 0 5px;font-size:17px}.empty-state p{color:var(--muted);font-size:12px}
.how-section{margin:90px 10px 0;padding:34px 0 0;border-top:1px solid #e8eaf0}.how-heading{max-width:570px}.how-heading h2{margin-top:10px}.how-heading>p{max-width:515px}
.steps{margin-top:28px;display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.step-card{position:relative;min-height:181px;padding:19px;border:1px solid #eaecf2;border-radius:13px;background:rgba(255,255,255,.68)}
.step-number{position:absolute;top:18px;right:18px;color:#b0b4c0;font-size:9px;font-weight:800;letter-spacing:.5px}.step-icon{width:33px;height:33px;display:grid;place-items:center;margin-bottom:18px;border-radius:10px;color:#6d5ee0;background:#f0edff;font-weight:700}
.step-card h3{margin:0 0 7px;font-size:12px}.step-card p{max-width:285px;margin:0;color:#808696;font-size:10px;line-height:1.55}
.bottom-callout{display:flex;align-items:center;gap:16px;margin:62px 10px 45px;padding:22px 24px;border-radius:16px;background:#20253a;color:#fff}
.callout-symbol{width:39px;height:39px;flex:0 0 39px;display:grid;place-items:center;border-radius:12px;background:#393458;color:#a99bff;font-size:20px}
.bottom-callout>div:nth-child(2){flex:1}.bottom-callout h2{margin:0 0 5px;font-size:14px}.bottom-callout p{margin:0;color:#a9adbd;font-size:10px;line-height:1.5}
.secondary-button{padding:11px 13px;border:1px solid #4a5065;color:#f1f1f8;font-size:10px;white-space:nowrap}
.footer{min-height:75px;max-width:1240px;margin:0 auto;padding:0 28px;border-top:1px solid #e6e8ef;display:flex;align-items:center;justify-content:space-between;color:#969baa;font-size:9px}
.footer-brand{color:#363b4b;font-size:15px}.footer-brand .brand-mark{width:22px;height:22px;border-radius:7px}.footer-note{color:#737b8d}
@media(max-width:980px){.hero{padding:48px 46px;grid-template-columns:1.1fr .9fr}.app-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.floating-chip{right:-18px}}
@media(max-width:720px){
 .topbar{height:64px;padding:0 18px}.topnav{gap:15px}.nav-link{font-size:11px}.top-button{padding:10px 11px;font-size:10px}
 main{padding:0 16px}.hero{min-height:0;grid-template-columns:1fr;padding:39px 29px 22px;gap:0}.hero-copy{max-width:none}.hero-art{height:300px;margin-top:12px}
 .phone{transform:scale(.9) rotate(5deg)}.orbit{transform:scale(.85)}.floating-chip{right:max(0px,calc(50% - 155px));bottom:28px}
 .notice{margin:16px 0 58px}.section-heading{align-items:flex-start;flex-direction:column}.search-box{width:100%}.catalog-section{padding:0 2px}
 .catalog-toolbar{align-items:flex-start;flex-direction:column;margin-top:20px}.filter-list{gap:3px}.filter-button{padding:8px 10px}
 .app-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.app-card{padding:13px}.app-icon{width:43px;height:43px;flex-basis:43px;border-radius:12px}
 .how-section{margin:65px 2px 0}.steps{grid-template-columns:1fr}.step-card{min-height:0;padding:17px}.step-icon{margin-bottom:12px}
 .bottom-callout{margin:48px 2px 32px;padding:18px;align-items:flex-start;flex-wrap:wrap}.callout-symbol{width:34px;height:34px;flex-basis:34px}.bottom-callout>div:nth-child(2){min-width:calc(100% - 58px)}.secondary-button{margin-left:50px}
 .footer{padding:16px 18px;flex-wrap:wrap;gap:10px}.footer-note{width:100%}
}
@media(max-width:430px){.topnav{display:none}.top-button{padding:10px 12px}h1{font-size:41px}.hero{padding:34px 22px 20px}.hero-meta{flex-wrap:wrap;font-size:10px}.hero-art{height:280px}.app-card h3{font-size:12px}.category-tag{font-size:7px}.app-status{font-size:8px}.result-count{align-self:flex-end}}
/* Medoyv.App: home-screen PWA and full-size phone preview */
.brand{font-size:18px;letter-spacing:-.45px}
.top-button{cursor:pointer;color:var(--ink)}
.hero{min-height:650px}
.hero-art{height:580px}
.orbit{width:470px;height:470px}.orbit-two{width:370px;height:370px}
.phone{width:300px;height:570px;padding:25px 18px;border:9px solid #303348;border-radius:44px;box-shadow:0 30px 65px rgba(50,52,104,.27)}
.phone-island{top:8px;width:88px;height:18px;border-radius:12px}
.phone-top{padding:9px 6px 0;font-size:9px}
.phone-title{margin:28px 3px 16px;font-size:18px}
.phone-search{height:37px;padding:0 11px;border-radius:10px;font-size:10px}
.phone-apps{margin-top:15px;gap:10px}
.phone-app{min-height:62px;gap:10px;padding:8px;border-radius:12px}
.phone-app b{font-size:10px}.phone-app small{font-size:8px}
.mini-icon{width:38px;height:38px;flex:0 0 38px;border-radius:11px;overflow:hidden;background:#fff}
.mini-icon img{display:block;width:100%;height:100%;object-fit:cover}
.phone-tab{left:17px;right:17px;bottom:13px;height:43px;font-size:15px}
.phone-tab small{font-size:7px}
.floating-chip{bottom:66px}
.app-icon{overflow:hidden;background:#fff}
.app-icon img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.offline-pill{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:8px 11px;border:1px solid rgba(111,94,220,.16);border-radius:999px;background:rgba(255,255,255,.58);color:#696f80;font-size:10px;font-weight:650}
.status-dot.ready-dot{background:#35aa7e;box-shadow:0 0 0 3px #e4f7ef}
.status-dot.offline-dot{background:#d58653;box-shadow:0 0 0 3px #fff0e6}
.install-dialog{width:min(440px,calc(100% - 28px));padding:28px;border:1px solid #e8e9f2;border-radius:22px;color:var(--ink);background:#fff;box-shadow:0 25px 80px rgba(22,25,47,.22)}
.install-dialog::backdrop{background:rgba(19,22,39,.48);backdrop-filter:blur(3px)}
.install-dialog form{position:absolute;top:12px;right:13px}
.dialog-close{width:34px;height:34px;border:0;border-radius:50%;background:#f2f3f8;color:#656b7c;font-size:24px;line-height:1;cursor:pointer}
.dialog-icon{width:62px;height:62px;display:block;margin:5px 0 18px;border-radius:16px}
.install-dialog h2{margin:9px 0 16px;font-size:24px;letter-spacing:-.8px}
.install-dialog ol{padding-left:20px;color:#555d70;font-size:13px;line-height:1.65}
.install-dialog li{padding:4px 0}
.install-dialog p{margin:18px 0 0;padding-top:15px;border-top:1px solid #eceef3;color:#737b8d;font-size:11px;line-height:1.6}
@media(max-width:980px){.hero{min-height:620px;padding-left:42px;padding-right:42px}.hero-art{height:550px}.floating-chip{right:-10px}}
@media(max-width:720px){.hero{min-height:0;padding:39px 29px 22px}.hero-art{height:500px;margin-top:15px}.phone{transform:scale(.82) rotate(2deg)}.orbit{transform:scale(.9)}.floating-chip{right:max(0px,calc(50% - 185px));bottom:42px}}
@media(max-width:430px){.brand{font-size:16px}.top-button{padding:10px 11px;font-size:10px}.hero{padding:34px 22px 20px}.hero-art{height:470px}.phone{transform:scale(.78) rotate(2deg)}.floating-chip{right:max(0px,calc(50% - 170px));bottom:34px}.install-dialog{padding:24px}.install-dialog h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
