/* Shared mobile layout; desktop pricing and calculations remain authoritative. */
@media (max-width:1024px){
  .nav{padding-inline:20px;height:72px}
  .nav .mobile-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;flex:none}
  .nav nav{display:none;position:absolute;inset:72px 0 auto;background:#fff;padding:16px 20px;border-bottom:1px solid #e1e7f1;flex-direction:column;align-items:stretch;gap:8px;max-height:calc(100dvh - 72px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 12px 24px #25355212}
  .nav nav.open{display:flex}
  .nav nav a{min-height:44px;padding:12px;border-radius:8px;display:flex;align-items:center}
  .nav nav .login{margin:0}
  .nav nav .language{width:100%;min-height:44px;font-size:16px}
  .hero.section{grid-template-columns:minmax(0,1fr);gap:32px}
  .hero-product-visual{padding:0;min-height:0}
  .tracking-overlay{position:relative;inset:auto;width:100%;margin-top:16px}
  .hero .telegram-layout{grid-template-columns:minmax(0,1fr)}
  .hero .telegram-sidebar{display:none}
  .hero .telegram-window{min-height:0;aspect-ratio:auto}
  .hero .telegram-chat{height:400px;min-height:0}
}
@media (min-width:761px) and (max-width:1024px){
  .plans{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
}
@media (max-width:760px){
  html{scroll-padding-top:88px}
  body{min-width:0}
  .section{padding:56px 20px}
  .section>*{min-width:0}
  h1,h2,h3,p,a,td,th{overflow-wrap:break-word}
  .hero h1{font-size:clamp(32px,8.6vw,44px);line-height:1.13;letter-spacing:-.04em;text-wrap:balance}
  h2{font-size:clamp(28px,7vw,36px);line-height:1.2;text-wrap:balance}
  .hero .lead{font-size:17px;line-height:1.65}
  .hero .actions,.cta .actions{display:flex;flex-direction:column;align-items:stretch;gap:12px}
  .hero .actions a,.cta .actions a{justify-content:center;text-align:center;min-height:48px}
  .button,.outline-btn,.tracking-link,.attachment-link{min-height:44px;justify-content:center}
  .checks{gap:12px}
  .feature-grid,.dashboard-grid,.plans,.how-flow,.security-grid,.qa-proof,.calculator,.demo{grid-template-columns:minmax(0,1fr)}
  .plans{gap:24px;margin-top:32px}
  .plan{min-width:0}
  .plan .popular,.plan .badge{white-space:normal}
  .toggle{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:440px;gap:6px;border-radius:14px}
  .toggle button{min-height:48px;font-size:14px;padding:12px;white-space:normal;line-height:1.45}
  .toggle button em{display:inline-block;margin-inline-start:8px}
  .billing-summary{padding:20px;min-width:0}
  .billing-summary p{font-size:15px}
  .billing-table,.compare{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .billing-table table{min-width:640px}
  .billing-table th,.billing-table td{font-size:13px;line-height:1.5;padding:12px;vertical-align:top}
  .billing-table th:first-child,.billing-table td:first-child{position:sticky;left:0;background:#f4faf6;z-index:1;min-width:130px;max-width:150px;box-shadow:1px 0 #dae4df}
  .compare-row{min-width:620px}
  .calculator{gap:28px;align-items:start}
  .calculator h2{font-size:32px}
  .calculator label{font-size:16px;margin:24px 0}
  .calculator input[type=range]{min-height:44px;margin-top:6px;touch-action:pan-y}
  .billing-choice{width:100%;display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin:24px 0}
  .billing-choice button{min-height:44px;font-size:14px;white-space:normal;padding:12px}
  .calc-controls>.outline-btn{display:flex;width:100%;min-height:48px;align-items:center}
  .estimate{padding:24px;min-width:0}
  .estimate>strong{font-size:clamp(26px,6.8vw,35px);line-height:1.25;overflow-wrap:anywhere}
  .estimate>div.estimate-comparison{display:block}
  .estimate-comparison>div{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;font-size:14px;padding:12px 0}
  .estimate>div.why-business{display:grid;gap:8px;font-size:14px;line-height:1.6}
  .estimate .setup-line{display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap;font-size:14px}
  .flow{flex-direction:column;gap:20px;align-items:stretch}
  .flow-step{width:100%;min-width:0}
  .flow>svg{transform:rotate(90deg);align-self:center}
  .demo{gap:20px}
  .demo-col{min-width:0}
  .realistic-chat{height:440px;max-height:440px;overscroll-behavior-y:contain}
  .faq-item button{min-height:52px;gap:16px;text-align:start;line-height:1.5}
  .faq-item button svg{flex:none}
  .demo-form{grid-template-columns:minmax(0,1fr);padding:20px;gap:18px;min-width:0}
  .demo-form label{min-width:0;font-size:14px}
  .demo-form input,.demo-form select,.demo-form textarea{width:100%;min-width:0;min-height:48px;font-size:16px}
  .demo-form button,.form-note{grid-column:1/-1}
  .demo-form button{min-height:48px;white-space:normal}
  .form-note{font-size:13px!important;line-height:1.6!important}
  .footer-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
  .footer-top a{min-height:44px;display:flex;align-items:center;overflow-wrap:anywhere}
  .footer-top .logo{grid-column:1/-1}
  .footer-top>div:last-child{grid-column:auto}
  .report-table{max-width:100%;overflow-x:auto}
  /* Public guides and notices use the same readable mobile spacing. */
  body>header:not(.nav) nav{gap:8px;padding:16px}
  body>header:not(.nav) nav a{min-height:44px;display:inline-flex;align-items:center}
  body>main{margin-block:32px;padding-inline:20px}
  body>main .grid{grid-template-columns:minmax(0,1fr)}
  body>main .card,body>main .closing{padding:20px}
  .language-switch{gap:8px}
  .language-switch a{padding:8px;min-height:44px;display:inline-flex;align-items:center}
  :focus-visible{outline:3px solid #6658e8;outline-offset:3px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
