@font-face{font-family:Roboto;src:url('../font/roboto-regular.2c395bcb.woff2') format('woff2');font-display:swap;font-weight:400}
@font-face{font-family:Shabnam;src:url('../font/Shabnam.ff80c11a.woff2') format('woff2');font-display:swap;font-weight:400}
@font-face{font-family:Shabnam;src:url('../font/Shabnam-Medium.2e8a4ebb.woff2') format('woff2');font-display:swap;font-weight:500}
@font-face{font-family:Shabnam;src:url('../font/Shabnam-Bold.7cc36aac.woff2') format('woff2');font-display:swap;font-weight:700}

:root{--landing-blue:#229ed9;--landing-blue-deep:#168acd;--landing-text:#222;--landing-muted:#6b747c;--landing-border:#e7e9eb;--landing-soft:#eef7fd;--landing-soft-2:#f6fbfe;--landing-white:#fff;--landing-shadow:0 12px 36px rgba(35,66,90,.10)}
*{box-sizing:border-box}
html{min-height:100%;background:#fff;scroll-behavior:smooth}
body.dchat-landing-page{min-height:100%;margin:0;color:var(--landing-text);background:#fff;font-family:Roboto,Arial,sans-serif;font-size:14px;line-height:1.45;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
html[lang="fa"] body.dchat-landing-page{font-family:Shabnam,Tahoma,Arial,sans-serif}
a{color:#168acd;text-decoration:none}
a:hover{text-decoration:none}
button{font:inherit}
.container{width:100%;max-width:1170px;margin:0 auto;padding:0 15px}
.clearfix::before,.clearfix::after{content:"";display:table}.clearfix::after{clear:both}
.landing-copy-fa{display:none!important}
html[lang="fa"] .landing-copy-en{display:none!important}
html[lang="fa"] .landing-copy-fa{display:inline!important}

.tl_page_wrap{min-height:100vh;background:#fff}
.tl_page_head{height:51px;border-bottom:1px solid #e5e5e5;background:#fff}
.navbar-inner{height:100%}
.dchat-landing-nav{height:51px;display:flex;align-items:center;gap:24px}
.dchat-landing-nav-brand{display:flex;align-items:center;gap:8px;min-width:max-content;color:#2b2b2b;font-size:18px;font-weight:500;letter-spacing:-.2px}
.dchat-landing-nav-brand img{width:31px;height:31px;display:block}
.dchat-landing-nav-links{display:flex;align-items:stretch;height:51px;gap:2px;margin-inline-end:auto}
.dchat-landing-nav-links a{position:relative;display:flex;align-items:center;padding:0 14px;color:#0088cc;font-size:14px;white-space:nowrap}
.dchat-landing-nav-links a:hover{background:#f5f9fc}
.dchat-landing-nav-links a.is-active{color:#222}
.dchat-landing-nav-links a.is-active::after{content:"";position:absolute;inset-inline:10px;bottom:-1px;height:2px;background:#179cde;border-radius:2px 2px 0 0}
.dchat-landing-language{display:flex;align-items:center;gap:4px;padding:3px;border:1px solid #dce4e9;border-radius:9px;background:#f8fafb}
.dchat-landing-language button{height:29px;min-width:35px;padding:0 9px;border:0;border-radius:6px;background:transparent;color:#74808a;font-size:11px;font-weight:700;cursor:pointer;transition:background .16s ease,color .16s ease,box-shadow .16s ease}
.dchat-landing-language button[aria-pressed="true"]{background:#fff;color:#168acd;box-shadow:0 1px 4px rgba(30,70,100,.14)}
.dchat-landing-language button:focus-visible{outline:2px solid rgba(34,158,217,.3);outline-offset:1px}

.tl_main_page_container{padding-top:0}
.tl_main_wrap{margin-top:17px}
.dchat-landing-hero{text-align:center;padding:36px 15px 39px}
.tl_main_logo_wrap{display:flex;flex-direction:column;align-items:center}
.dchat-landing-logo-link{display:block;width:132px;height:132px;border-radius:50%;transition:transform .2s ease}
.dchat-landing-logo-link:hover{transform:translateY(-2px)}
.dchat-landing-logo{display:block;width:132px;height:132px}
.dchat-landing-title{margin:12px 0 0;color:#3d3d3d;font-size:44px;font-weight:400;line-height:1.1;letter-spacing:-1.8px}
html[lang="fa"] .dchat-landing-title{font-family:Roboto,Arial,sans-serif;letter-spacing:-1px}
.tl_main_logo_lead{margin:7px 0 0;color:#7a7a7a;font-size:20px;font-weight:400;line-height:1.45}
.dchat-landing-actions{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin-top:27px}
.dchat-landing-primary,.dchat-landing-secondary{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 20px;border-radius:7px;font-size:14px;font-weight:500;transition:background .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease}
.dchat-landing-primary{color:#fff;background:var(--landing-blue);box-shadow:0 4px 14px rgba(34,158,217,.18)}
.dchat-landing-primary svg{width:18px;height:18px;fill:currentColor;transform:translateY(-.5px)}
html[dir="rtl"] .dchat-landing-primary svg{transform:scaleX(-1) translateY(-.5px)}
.dchat-landing-primary:hover{color:#fff;background:var(--landing-blue-deep);transform:translateY(-1px);box-shadow:0 7px 18px rgba(34,158,217,.22)}
.dchat-landing-secondary{border:1px solid #cbdce6;color:#168acd;background:#fff}
.dchat-landing-secondary:hover{border-color:#9bc7df;background:#f8fcff;transform:translateY(-1px)}
.dchat-landing-session-note{color:#7d8790;font-size:13px}

.tl_main_body{margin-top:25px;padding-top:10px}
.tl_main_body_header{margin:0;color:#222;text-align:center;font-size:23px;font-weight:500;line-height:1.25}
.tl_main_cards_animated_wrap{padding-bottom:20px}
.tl_main_cards_animated_wrap .tl_main_body_header{padding:0 10px}
.dchat-landing-section-anchor{display:block;position:relative;top:-70px;visibility:hidden}
.tl_main_cards{max-width:950px;margin:18px auto 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center}
.tl_main_card_cell{position:relative;min-height:1px;width:33.33333%;padding:0 15px}
.tl_main_card_wrap{max-width:260px;margin:0 auto;padding:20px 0 9px}
.tl_main_card_animated{width:160px;height:160px;margin:0 auto;display:block}
.tl_main_card_animated svg{display:block;width:160px;height:160px;overflow:visible}
.tl_main_card_header{margin:15px 0 6px;color:#0088cc;text-align:center;font-size:26px;font-weight:400;line-height:1.2;letter-spacing:-1px}
html[lang="fa"] .tl_main_card_header{letter-spacing:0;font-weight:500}
.tl_main_card_lead{min-height:72px;color:#5e6469;font-size:15px;line-height:158%;text-align:center}
.tl_main_card_lead b{color:#404448;font-weight:500}

/* Telegram-style TGS feature animations, rendered lazily with lottie-web. */
.dchat-tgs-animation{
  position:relative;
  width:160px;
  height:160px;
  display:grid;
  place-items:center;
  overflow:hidden;
  contain:layout paint size;
  transform:translateZ(0);
}
.dchat-tgs-animation canvas,
.dchat-tgs-animation svg{
  display:block!important;
  width:160px!important;
  height:160px!important;
  max-width:100%;
  max-height:100%;
}
.dchat-tgs-animation::after{
  content:"";
  position:absolute;
  inset:35%;
  border:2px solid rgba(34,158,217,.14);
  border-top-color:rgba(34,158,217,.68);
  border-radius:50%;
  opacity:0;
  pointer-events:none;
}
.dchat-tgs-animation.is-loading::after{opacity:1;animation:dchatLandingTgsSpin .75s linear infinite}
.dchat-tgs-animation.is-rendered::after,.dchat-tgs-animation.is-tgs-error::after{display:none}
.dchat-tgs-animation.is-tgs-error{background:radial-gradient(circle,rgba(34,158,217,.05),transparent 62%);border-radius:50%}
@keyframes dchatLandingTgsSpin{to{transform:rotate(360deg)}}

.dchat-landing-footer{margin-top:32px;border-top:1px solid #e8ebed;background:#fafbfc}
.dchat-landing-footer-inner{min-height:142px;display:flex;align-items:flex-start;justify-content:space-between;gap:28px;padding-top:30px;padding-bottom:30px}
.dchat-landing-footer strong{display:block;color:#333;font-size:15px;font-weight:500}
.dchat-landing-footer p{max-width:430px;margin:7px 0 0;color:#7a8288;font-size:13px;line-height:1.65}
.dchat-landing-footer-links{display:flex;gap:20px;flex-wrap:wrap;padding-top:2px}
.dchat-landing-footer-links a{color:#168acd;font-size:13px}

@media (max-width:991px){.container{max-width:760px}.tl_main_card_cell{width:50%}.dchat-landing-nav{gap:14px}.dchat-landing-nav-links a{padding:0 10px}}
@media (max-width:700px){
  .tl_page_head{height:55px}.dchat-landing-nav{height:55px;padding-inline:12px;gap:10px}.dchat-landing-nav-brand span{display:none}.dchat-landing-nav-links{height:55px;gap:0}.dchat-landing-nav-links a{padding:0 9px;font-size:12.5px}.dchat-landing-nav-login{display:none!important}.dchat-landing-language{margin-inline-start:auto}.dchat-landing-hero{padding:29px 8px 28px}.dchat-landing-logo-link,.dchat-landing-logo{width:108px;height:108px}.dchat-landing-title{font-size:36px}.tl_main_logo_lead{font-size:17px}.tl_main_body{margin-top:20px;padding-top:5px}.tl_main_body_header{font-size:20px}.tl_main_cards{margin-top:10px}.tl_main_card_cell{width:100%;padding-inline:10px}.tl_main_card_wrap{padding-top:16px;padding-bottom:16px}.tl_main_card_header{margin:9px 0 6px;font-size:22px}.tl_main_card_lead{min-height:0}.dchat-landing-footer-inner{flex-direction:column;min-height:0;gap:18px}.dchat-landing-footer-links{padding-top:0}}
@media (max-width:430px){.dchat-landing-nav-links a:nth-child(1){display:none}.dchat-landing-nav-links a{padding:0 7px}.dchat-landing-language button{min-width:32px;padding-inline:7px}.dchat-landing-actions{gap:9px}.dchat-landing-primary,.dchat-landing-secondary{width:min(260px,100%)}.tl_main_card_animated,.dchat-tgs-animation canvas,.dchat-tgs-animation svg{width:150px!important;height:150px!important}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.dchat-tgs-animation.is-loading::after{animation:none}.dchat-landing-logo-link,.dchat-landing-primary,.dchat-landing-secondary{transition:none}}

/* ===== v5.53 — landing dark mode + multi-device web preview ===== */
.dchat-icon{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}
.dchat-landing-theme-toggle{
  width:36px;height:36px;display:grid;place-items:center;flex:0 0 36px;
  padding:0;border:1px solid #dce4e9;border-radius:9px;background:#f8fafb;color:#5e6b75;
  cursor:pointer;transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease;
}
.dchat-landing-theme-toggle:hover{background:#fff;color:#168acd;border-color:#bfd5e3;transform:translateY(-1px)}
.dchat-landing-theme-toggle:focus-visible{outline:2px solid rgba(34,158,217,.3);outline-offset:2px}
.dchat-landing-theme-toggle .dchat-icon{width:18px;height:18px}

.dchat-device-showcase{
  max-width:950px;margin:13px auto 38px;padding:28px 20px 24px;text-align:center;
}
.dchat-device-copy{max-width:650px;margin:0 auto 18px}
.dchat-device-copy h2{margin:0;color:#222;font-size:23px;font-weight:500;line-height:1.25}
.dchat-device-copy p{margin:8px 0 0;color:#6e777f;font-size:14px;line-height:1.65}
.dchat-device-stage{
  --device-blue:#229ed9;
  position:relative;display:block;width:min(760px,100%);height:360px;margin:0 auto;
  color:inherit;border-radius:24px;outline:none;isolation:isolate;
}
.dchat-device-stage:focus-visible{outline:2px solid rgba(34,158,217,.38);outline-offset:5px}
.dchat-device-laptop,.dchat-device-tablet,.dchat-device-phone{
  position:absolute;filter:drop-shadow(0 18px 28px rgba(35,66,90,.16));
  transition:transform .34s cubic-bezier(.16,1,.3,1),filter .34s ease;
}
.dchat-device-laptop{width:430px;height:273px;left:50%;top:38px;transform:translateX(-50%);z-index:1}
.dchat-device-laptop-screen{position:relative;width:392px;height:232px;margin:0 auto;padding:8px;border:4px solid #2e3439;border-bottom-width:10px;border-radius:15px 15px 8px 8px;background:#15191c;overflow:hidden}
.dchat-device-laptop-screen::before{content:"";position:absolute;z-index:5;top:3px;left:50%;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:#586168}
.dchat-device-laptop-base{position:absolute;left:0;right:0;bottom:0;height:20px;border-radius:3px 3px 14px 14px;background:linear-gradient(#cfd5d9,#9da7ad);box-shadow:inset 0 2px 0 rgba(255,255,255,.75)}
.dchat-device-laptop-base::after{content:"";position:absolute;left:50%;top:0;width:62px;height:4px;transform:translateX(-50%);border-radius:0 0 7px 7px;background:#858f95}
.dchat-device-tablet{width:168px;height:230px;left:12.5%;top:85px;padding:8px;border:4px solid #30363a;border-radius:18px;background:#161a1d;z-index:3}
.dchat-device-tablet-camera{position:absolute;top:4px;left:50%;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:#69737a;z-index:5}
.dchat-device-phone{width:104px;height:205px;padding:6px;border:4px solid #2e3439;border-radius:22px;background:#15191c;z-index:4}
.dchat-device-phone.is-android{right:13%;top:120px;transform:rotate(2deg)}
.dchat-device-phone.is-ios{right:26%;top:112px;transform:rotate(-2.3deg)}
.dchat-device-phone-camera{position:absolute;left:50%;top:6px;width:24px;height:4px;transform:translateX(-50%);border-radius:5px;background:#3d464c;z-index:7}
.dchat-device-phone-notch{position:absolute;left:50%;top:0;width:42px;height:10px;transform:translateX(-50%);border-radius:0 0 9px 9px;background:#15191c;z-index:7}
.dchat-device-tablet-screen,.dchat-device-phone-screen{position:relative;width:100%;height:100%;border-radius:12px;overflow:hidden;background:#eaf6fd}
.dchat-device-phone-screen{border-radius:15px}
.dchat-device-screen-default,.dchat-device-screen-web{position:absolute;inset:0;transition:opacity .28s ease,transform .34s cubic-bezier(.16,1,.3,1)}
.dchat-device-screen-default{display:grid;place-items:center;align-content:center;gap:8px;background:linear-gradient(155deg,#f4fbff,#dff2fc);opacity:1;transform:scale(1)}
.dchat-device-platform{font-size:12px;font-weight:600;color:#168acd;letter-spacing:.01em}
.dchat-device-orb{width:48px;height:48px;border-radius:50%;background:radial-gradient(circle at 34% 30%,#6cc6ef 0 17%,#229ed9 18% 62%,#168acd 63% 100%);box-shadow:0 8px 20px rgba(34,158,217,.24)}
.dchat-device-phone .dchat-device-orb{width:34px;height:34px}.dchat-device-phone .dchat-device-platform{font-size:9px}.dchat-device-tablet .dchat-device-platform{font-size:10px}
.dchat-device-screen-web{background:#202427;opacity:0;transform:scale(.96)}
.dchat-web-preview{display:flex;overflow:hidden}
.dchat-web-sidebar{width:34%;padding:12px 7px;display:flex;flex-direction:column;gap:8px;background:#252a2e;border-inline-end:1px solid rgba(255,255,255,.06)}
.dchat-web-sidebar i{display:block;height:23px;border-radius:7px;background:linear-gradient(90deg,rgba(34,158,217,.34),rgba(255,255,255,.055))}
.dchat-web-chat{position:relative;flex:1;padding:12px 8px;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;background:radial-gradient(circle at 70% 15%,rgba(34,158,217,.08),transparent 42%),#1e2225}
.dchat-web-chat b{position:absolute;left:0;right:0;top:0;height:24px;background:#252a2e;border-bottom:1px solid rgba(255,255,255,.055)}
.dchat-web-chat i{display:block;width:72%;height:18px;border-radius:9px 9px 9px 3px;background:#2d3338}.dchat-web-chat i:nth-of-type(2){width:62%;margin-inline-start:auto;border-radius:9px 9px 3px 9px;background:rgba(34,158,217,.52)}.dchat-web-chat i:nth-of-type(3){width:48%}
.dchat-web-preview.is-mobile{display:block;padding:0 6px 8px;background:radial-gradient(circle at 75% 10%,rgba(34,158,217,.12),transparent 48%),#1f2326}
.dchat-web-mobile-head{display:block;height:25px;margin:0 -6px 14px;background:#282d31;border-bottom:1px solid rgba(255,255,255,.06)}
.dchat-web-bubble{display:block;height:15px;margin:7px 0;border-radius:8px 8px 8px 3px;background:#30363a}.dchat-web-bubble.one{width:72%}.dchat-web-bubble.two{width:67%;margin-inline-start:auto;border-radius:8px 8px 3px 8px;background:rgba(34,158,217,.58)}.dchat-web-bubble.three{width:52%}
.dchat-web-mobile-input{position:absolute;left:6px;right:6px;bottom:7px;height:16px;border-radius:9px;background:#2d3338}
.dchat-device-hover-label{position:absolute;left:50%;bottom:1px;z-index:8;transform:translate(-50%,8px);padding:7px 13px;border-radius:999px;background:#fff;color:#168acd;font-size:12px;font-weight:500;box-shadow:0 6px 20px rgba(35,66,90,.12);opacity:.78;transition:opacity .2s ease,transform .25s ease}
.dchat-device-stage:hover .dchat-device-screen-default,.dchat-device-stage:focus .dchat-device-screen-default,.dchat-device-stage.is-previewing .dchat-device-screen-default{opacity:0;transform:scale(1.035)}
.dchat-device-stage:hover .dchat-device-screen-web,.dchat-device-stage:focus .dchat-device-screen-web,.dchat-device-stage.is-previewing .dchat-device-screen-web{opacity:1;transform:scale(1)}
.dchat-device-stage:hover .dchat-device-laptop,.dchat-device-stage:focus .dchat-device-laptop,.dchat-device-stage.is-previewing .dchat-device-laptop{transform:translateX(-50%) translateY(-3px)}
.dchat-device-stage:hover .dchat-device-tablet,.dchat-device-stage:focus .dchat-device-tablet,.dchat-device-stage.is-previewing .dchat-device-tablet{transform:translate(-4px,-3px)}
.dchat-device-stage:hover .dchat-device-phone.is-android,.dchat-device-stage:focus .dchat-device-phone.is-android,.dchat-device-stage.is-previewing .dchat-device-phone.is-android{transform:rotate(2deg) translate(4px,-5px)}
.dchat-device-stage:hover .dchat-device-phone.is-ios,.dchat-device-stage:focus .dchat-device-phone.is-ios,.dchat-device-stage.is-previewing .dchat-device-phone.is-ios{transform:rotate(-2.3deg) translate(-2px,-5px)}
.dchat-device-stage:hover .dchat-device-hover-label,.dchat-device-stage:focus .dchat-device-hover-label,.dchat-device-stage.is-previewing .dchat-device-hover-label{opacity:1;transform:translate(-50%,0)}

/* Dark palette mirrors the messenger and uses the same saved theme preference. */
html[data-theme="dark"]{color-scheme:dark;background:#181a1c}
html[data-theme="dark"] body.dchat-landing-page,html[data-theme="dark"] .tl_page_wrap{color:#f1f3f4;background:#181a1c}
html[data-theme="dark"] .tl_page_head{background:#202224;border-color:#2d3134}
html[data-theme="dark"] .dchat-landing-nav-brand{color:#f3f4f5}
html[data-theme="dark"] .dchat-landing-nav-links a{color:#70c4ef}
html[data-theme="dark"] .dchat-landing-nav-links a:hover{background:#292d30}
html[data-theme="dark"] .dchat-landing-nav-links a.is-active{color:#fff}
html[data-theme="dark"] .dchat-landing-language,html[data-theme="dark"] .dchat-landing-theme-toggle{background:#292d30;border-color:#373c40;color:#aeb7be}
html[data-theme="dark"] .dchat-landing-language button{color:#9ca8b0}
html[data-theme="dark"] .dchat-landing-language button[aria-pressed="true"]{background:#383d41;color:#78caf1;box-shadow:0 1px 4px rgba(0,0,0,.25)}
html[data-theme="dark"] .dchat-landing-theme-toggle:hover{background:#34393d;color:#78caf1;border-color:#465059}
html[data-theme="dark"] .dchat-landing-title,html[data-theme="dark"] .tl_main_body_header,html[data-theme="dark"] .dchat-device-copy h2{color:#f1f3f4}
html[data-theme="dark"] .tl_main_logo_lead,html[data-theme="dark"] .dchat-landing-session-note,html[data-theme="dark"] .dchat-device-copy p{color:#9da6ad}
html[data-theme="dark"] .dchat-landing-secondary{background:#202427;border-color:#39464e;color:#70c4ef}
html[data-theme="dark"] .dchat-landing-secondary:hover{background:#282e32;border-color:#4a6676}
html[data-theme="dark"] .tl_main_card_lead{color:#aab1b6}
html[data-theme="dark"] .tl_main_card_lead b{color:#eef1f3}
html[data-theme="dark"] .dchat-tgs-animation.is-tgs-error{background:radial-gradient(circle,rgba(34,158,217,.09),transparent 62%)}
html[data-theme="dark"] .dchat-landing-footer{background:#1d2022;border-color:#2c3033}
html[data-theme="dark"] .dchat-landing-footer strong{color:#f0f2f3}
html[data-theme="dark"] .dchat-landing-footer p{color:#98a2a9}
html[data-theme="dark"] .dchat-device-hover-label{background:#2b3034;color:#78caf1;box-shadow:0 7px 24px rgba(0,0,0,.3)}
html[data-theme="dark"] .dchat-device-laptop,html[data-theme="dark"] .dchat-device-tablet,html[data-theme="dark"] .dchat-device-phone{filter:drop-shadow(0 20px 30px rgba(0,0,0,.28))}

@media (max-width:760px){
  .dchat-device-showcase{padding-inline:4px;margin-bottom:24px}.dchat-device-stage{height:315px;transform:scale(.9);transform-origin:top center;margin-bottom:-28px}.dchat-device-copy{padding-inline:12px}
}
@media (max-width:560px){
  .dchat-device-stage{width:520px;max-width:none;left:50%;transform:translateX(-50%) scale(.68);transform-origin:top center;margin-bottom:-103px}.dchat-device-showcase{overflow:hidden}.dchat-device-copy h2{font-size:20px}.dchat-device-copy p{font-size:13px}
  .dchat-landing-theme-toggle{width:34px;height:34px;flex-basis:34px}
}
@media (prefers-reduced-motion:reduce){.dchat-device-laptop,.dchat-device-tablet,.dchat-device-phone,.dchat-device-screen-default,.dchat-device-screen-web,.dchat-device-hover-label,.dchat-landing-theme-toggle{transition:none}}
.dchat-device-web-image{
  position:absolute;inset:6px 2% 4px;z-index:7;display:block;opacity:0;transform:translateY(8px) scale(.985);
  pointer-events:none;transition:opacity .28s ease,transform .34s cubic-bezier(.16,1,.3,1);filter:drop-shadow(0 18px 28px rgba(35,66,90,.12));
}
.dchat-device-web-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;display:block}
.dchat-device-web-image .is-dark{display:none}
html[data-theme="dark"] .dchat-device-web-image .is-light{display:none}
html[data-theme="dark"] .dchat-device-web-image .is-dark{display:block}
.dchat-device-stage:hover .dchat-device-web-image,.dchat-device-stage:focus .dchat-device-web-image,.dchat-device-stage.is-previewing .dchat-device-web-image{opacity:1;transform:translateY(0) scale(1)}
.dchat-device-stage:hover>.dchat-device-laptop,.dchat-device-stage:hover>.dchat-device-tablet,.dchat-device-stage:hover>.dchat-device-phone,.dchat-device-stage:focus>.dchat-device-laptop,.dchat-device-stage:focus>.dchat-device-tablet,.dchat-device-stage:focus>.dchat-device-phone,.dchat-device-stage.is-previewing>.dchat-device-laptop,.dchat-device-stage.is-previewing>.dchat-device-tablet,.dchat-device-stage.is-previewing>.dchat-device-phone{opacity:.08;filter:blur(2px)}
html[data-theme="dark"] .dchat-device-web-image{filter:drop-shadow(0 20px 34px rgba(0,0,0,.28))}
@media (prefers-reduced-motion:reduce){.dchat-device-web-image{transition:none}}


/* v5.54 simplified device showcase */
.dchat-device-stage--hero{
  position:relative;
  display:block;
  width:min(1120px,100%);
  margin:0 auto;
  height:auto;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}
.dchat-device-stage--hero:hover{transform:translateY(-2px)}
.dchat-device-stage--hero .dchat-device-web-image{
  position:relative;
  inset:auto;
  width:100%;
  aspect-ratio:3/1;
  display:block;
  opacity:1;
  transform:none;
  overflow:hidden;
  border-radius:28px;
  filter:none;
}
.dchat-device-stage--hero .dchat-device-web-image img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
.dchat-device-stage--hero .dchat-device-web-image.is-static .is-dark{display:none}
html[data-theme="dark"] .dchat-device-stage--hero .dchat-device-web-image.is-static .is-light{display:none}
html[data-theme="dark"] .dchat-device-stage--hero .dchat-device-web-image.is-static .is-dark{display:block}
html[data-theme="light"] .dchat-device-stage--hero .dchat-device-web-image.is-static .is-dark{display:none}
html[data-theme="dark"] .dchat-device-stage--hero .dchat-device-web-image{filter:drop-shadow(0 20px 34px rgba(0,0,0,.28))}
@media (max-width:767px){
  .dchat-device-stage--hero{width:min(100%,760px)}
  .dchat-device-stage--hero .dchat-device-web-image{border-radius:18px}
}




/* v5.58 unified hoverable web/PWA link under device showcase */
.dchat-device-stage--hero{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:inherit;
}
.dchat-device-stage--hero .dchat-web-platform-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  max-width:calc(100% - 20px);
  padding:0 2px 6px;
  color:#168acd;
  font-size:15px;
  line-height:1.35;
  transition:color .16s ease;
}
.dchat-device-stage--hero .dchat-web-platform-link::after{
  content:"";
  position:absolute;
  inset-inline:0;
  bottom:0;
  height:2px;
  border-radius:2px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .18s ease;
  opacity:.95;
}
.dchat-device-stage--hero .dchat-web-platform-link .dchat-icon{
  width:18px;
  height:18px;
  flex:0 0 auto;
}
.dchat-device-stage--hero .dchat-web-platform-link-label{
  display:inline-flex;
  align-items:center;
}
.dchat-device-stage--hero .dchat-web-platform-link b{font-weight:600;}
.dchat-device-stage--hero:hover .dchat-web-platform-link,
.dchat-device-stage--hero:focus-visible .dchat-web-platform-link{color:#0f7ab7;}
.dchat-device-stage--hero:hover .dchat-web-platform-link::after,
.dchat-device-stage--hero:focus-visible .dchat-web-platform-link::after{transform:scaleX(1);}
.dchat-device-stage--hero:focus-visible{
  outline:2px solid rgba(34,158,217,.28);
  outline-offset:10px;
  border-radius:20px;
}
html[data-theme="dark"] .dchat-device-stage--hero .dchat-web-platform-link{color:#78caf1;}
html[data-theme="dark"] .dchat-device-stage--hero:hover .dchat-web-platform-link,
html[data-theme="dark"] .dchat-device-stage--hero:focus-visible .dchat-web-platform-link{color:#9bd9f7;}
@media (max-width:560px){
  .dchat-device-stage--hero{gap:7px;}
  .dchat-device-stage--hero .dchat-web-platform-link{font-size:14px;padding-bottom:5px;}
  .dchat-device-stage--hero .dchat-web-platform-link .dchat-icon{width:17px;height:17px;}
}


/* v5.59 — Telegram-reference download link + fixed theme toggle */
.navbar-tg .navbar-inner > .dchat-landing-nav{padding-right:60px;}
.dchat-landing-theme-toggle.theme-toggle{
  align-items:center;
  background:transparent;
  border:0;
  border-radius:0;
  color:#8a939d;
  cursor:pointer;
  display:flex;
  height:51px;
  justify-content:center;
  opacity:.7;
  padding:0 16px;
  position:fixed;
  right:0;
  top:0;
  width:auto;
  min-width:54px;
  z-index:1001;
  transition:opacity .15s ease;
  transform:none;
  view-transition-name:theme-toggle;
}
.dchat-landing-theme-toggle.theme-toggle:hover{
  background:transparent;
  border-color:transparent;
  color:#8a939d;
  opacity:1;
  transform:none;
}
.dchat-landing-theme-toggle.theme-toggle:focus-visible{
  outline:2px solid rgba(34,158,217,.34);
  outline-offset:-8px;
}
.dchat-landing-theme-toggle.theme-toggle .dchat-icon{width:22px;height:22px;}
html[data-theme="dark"] .dchat-landing-theme-toggle.theme-toggle{color:#c2cbd4;}
html[data-theme="dark"] .dchat-landing-theme-toggle.theme-toggle:hover{color:#c2cbd4;}

.dchat-device-showcase.tl_main_download_mobile{
  text-align:center;
  max-width:1028px;
  margin:0 auto;
  padding:0 15px;
}
.dchat-device-showcase .dchat-device-download-link.tl_main_download_link{
  text-align:center;
  display:inline-block;
  width:min(820px,100%);
  max-width:100%;
  height:auto;
  padding:0 0 20px;
  margin:34px 0 38px;
  font-size:15px;
  line-height:1.35;
  position:relative;
  color:#168acd;
  text-decoration:none;
  background:none;
  overflow:visible;
}
.dchat-device-showcase .dchat-device-download-link.tl_main_download_link:hover{
  text-decoration:none;
  color:#168acd;
}
.dchat-device-showcase .dchat-device-download-link.tl_main_download_link:after{
  display:block;
  height:3px;
  background:#179cde;
  position:absolute;
  border-radius:2px;
  content:"";
  left:4px;
  right:4px;
  opacity:0;
  bottom:-1px;
  transition:opacity .2s ease-in-out,transform .2s ease-in-out;
  transform-origin:bottom;
  transform:scaleX(.3) scaleY(0);
}
.dchat-device-showcase .dchat-device-download-link.tl_main_download_link:hover:after,
.dchat-device-showcase .dchat-device-download-link.tl_main_download_link:focus-visible:after{
  opacity:1;
  transform:scaleX(1) scaleY(1);
}
.dchat-device-download-image{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:3/1;
  margin:0 auto 8px;
  pointer-events:none;
}
.dchat-device-download-image img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
}
.dchat-device-download-image .is-dark{display:none;}
html[data-theme="dark"] .dchat-device-download-image .is-light{display:none;}
html[data-theme="dark"] .dchat-device-download-image .is-dark{display:block;}
.dchat-device-download-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:24px;
}
.dchat-device-download-label .dchat-icon{width:18px;height:18px;flex:0 0 auto;}
.dchat-device-download-label b{font-weight:600;}
html[data-theme="dark"] .dchat-device-showcase .dchat-device-download-link.tl_main_download_link,
html[data-theme="dark"] .dchat-device-showcase .dchat-device-download-link.tl_main_download_link b{color:#78caf1;}
html[data-theme="dark"] .dchat-device-showcase .dchat-device-download-link.tl_main_download_link:after{background:#78caf1;}
.dchat-device-showcase .dchat-device-download-link.tl_main_download_link:focus-visible{
  outline:none;
}

::view-transition-group(root),::view-transition-image-pair(root){isolation:isolate;overflow:hidden;}
::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal;backface-visibility:hidden;contain:paint;}
::view-transition-old(root){z-index:9999;will-change:clip-path;transform:translateZ(0);}
::view-transition-new(root){z-index:1;}
@keyframes dchat-theme-icon-out{to{opacity:0;transform:rotate(-90deg) scale(.5)}}
@keyframes dchat-theme-icon-in{from{opacity:0;transform:rotate(90deg) scale(.5)}}
::view-transition-old(theme-toggle){animation:500ms cubic-bezier(.16,1,.3,1) both dchat-theme-icon-out;}
::view-transition-new(theme-toggle){animation:500ms cubic-bezier(.16,1,.3,1) both dchat-theme-icon-in;}

@media(max-width:700px){
  .navbar-tg .navbar-inner > .dchat-landing-nav{padding-right:54px;}
  .dchat-landing-theme-toggle.theme-toggle{height:55px;padding:0 15px;min-width:52px;}
  .dchat-device-showcase.tl_main_download_mobile{padding-inline:5px;}
  .dchat-device-showcase .dchat-device-download-link.tl_main_download_link{width:100%;margin:24px 0 28px;padding-bottom:17px;font-size:14px;}
  .dchat-device-download-image{margin-bottom:5px;}
}
@media(prefers-reduced-motion:reduce){
  .dchat-device-showcase .dchat-device-download-link.tl_main_download_link:after{transition:none;}
  .dchat-landing-theme-toggle.theme-toggle{transition:none;}
}
