/* Mobile-first editorial trim, v6. Desktop source layout stays untouched.
   Hide only redundant promotional demonstrations; core features remain readable. */
.mobile-hero-preview,.mobile-plan-tabs{display:none}
@media (max-width:640px){
 html{scroll-padding-top:72px}
 body{font-size:14px}
 .container{padding-inline:15px}
 .section{padding-block:43px}
 .eyebrow{font-size:9px;line-height:1.4;letter-spacing:.09em;margin-bottom:11px}
 .section-heading{margin-bottom:19px}
 .section-heading h2,.journey-intro h2,.eco-experience-copy h2,
 .faq-layout h2,.telegram-layout h2,.payments-layout h2{
   font-size:clamp(26px,8vw,32px)!important;line-height:1.16;letter-spacing:-.05em;
   margin-bottom:10px;text-wrap:pretty
 }
 .section-heading p,.journey-intro>p,.eco-experience-copy>p,
 .faq-layout>div:first-child>p{font-size:12px!important;line-height:1.6}
 /* The old content-visibility:auto reserved 650px for FAQ/eco while offscreen,
    causing blank full-page captures and large jumps when a section was reached. */
 .ecosystem-section,.faq-section{content-visibility:visible!important;contain-intrinsic-size:none!important}
 .header{position:relative}
 .nav{min-height:64px}
 .brand-logo{max-width:138px!important;height:auto!important}
 .nav-right{gap:6px!important}
 .languages.language-switch{padding:2px!important}
 .languages.language-switch .lang{padding:7px 10px!important;font-size:10px!important}
 .menu-toggle{padding:8px!important}
 .nav-start{display:none!important}

 /* One clear offer and a compact product-state illustration, not two phones
    stacked on top of another calendar before the visitor has read the site. */
 .hero{padding-top:10px}
 .hero-panel{min-height:0!important;padding:29px 15px 18px!important;border-radius:22px!important}
 .hero-panel::before{width:330px!important;height:330px!important;top:32%!important}
 .hero-text{max-width:none;width:100%;text-align:left!important}
 .hero .eyebrow{font-size:9px!important;letter-spacing:.08em!important;margin-bottom:13px!important}
 .hero h1{font-size:clamp(29px,8.5vw,38px)!important;line-height:1.1!important;
   margin:0 0 14px!important;letter-spacing:-.055em!important;text-wrap:pretty}
 .hero-text>p{font-size:12px!important;line-height:1.6!important;margin:0 0 18px!important;max-width:none}
 .hero-buttons{display:block!important}
 .hero-buttons .btn-big{width:100%;min-height:47px;padding:13px 14px!important;font-size:13px!important}
 .hero-buttons .btn-ghost{display:none!important}
 .hero-micro{font-size:10px!important;justify-content:flex-start!important;margin-top:12px!important;gap:7px!important}
 .hero-micro .check{font-size:11px!important}
 .mobile-hero-preview{display:block;width:100%;background:rgba(255,255,255,.94);
   color:#1b4a39;border-radius:15px;padding:14px;margin-top:18px;
   border:1px solid rgba(210,233,219,.95)}
 .mobile-preview-top{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:830;margin-bottom:11px}
 .mobile-preview-dot{display:block;flex:none;width:8px;height:8px;border-radius:50%;background:#56ad7e}
 .mobile-preview-slots{display:grid;grid-template-columns:1fr 1fr;gap:7px}
 .mobile-preview-slots>div{min-width:0;display:flex;gap:5px;flex-direction:column;
   background:#eff6f1;border:1px solid #e4eee7;border-radius:9px;padding:9px 10px}
 .mobile-preview-slots time{font-size:15px;font-weight:840;line-height:1.2;color:#194b37;font-variant-numeric:tabular-nums}
 .mobile-preview-slots span{font-size:10px;line-height:1.4;color:#537a62;font-weight:650}
 .mobile-preview-slots .mobile-preview-confirmed{background:#e3f3e9;border-color:#c8e9d4}
 .mobile-preview-confirmed span{display:flex;align-items:center;gap:3px;color:#287a50}
 .mobile-preview-confirmed svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}
 .mobile-demo-toggle{display:none;border:0;background:none;padding:10px 0 1px;color:#1c684c;
   font-weight:800;font-size:11px;text-decoration:underline;text-underline-offset:4px}
 .site-interactive .mobile-demo-toggle{display:inline-flex;align-items:center;min-height:39px}
 .site-interactive .hero-demo{display:none!important}
 .site-interactive .hero-demo[data-mobile-open="true"]{display:block!important;
   width:100%!important;margin-top:14px!important}
 .site-interactive .hero-demo[data-mobile-open="true"] .story-canvas{max-width:100%}
 .site-interactive .hero-demo[data-mobile-open="true"] .story-desktop{display:none!important}

 /* Benefit summary: three short rows, not another full screen of cards. */
 .journey-section{padding-block:29px!important}
 .journey-layout{display:block!important}
 .journey-intro{margin-bottom:17px}
 .journey-intro .eyebrow{display:none}
 .journey-intro h2{font-size:25px!important;line-height:1.16!important;margin-bottom:0!important}
 .journey-intro>p,.journey-intro .text-link{display:none!important}
 .journey-cards{gap:8px!important}
 .journey-cards article{display:grid!important;grid-template-columns:43px minmax(0,1fr)!important;
   gap:10px!important;align-items:center!important;padding:12px 13px!important;border-radius:13px!important}
 .journey-cards .journey-icon{width:43px!important;height:43px!important}
 .journey-cards .journey-icon img{width:38px!important;height:38px!important;object-fit:contain}
 .journey-cards article h3{font-size:15px!important;line-height:1.3!important;margin:0 0 2px!important}
 .journey-cards article p{font-size:12px!important;line-height:1.45!important;margin:0!important}
 .specialists{display:none!important}

 /* Keep all three capabilities visible and accessible but don't repeat their
    large screenshot mockups already covered by the hero + ecosystem. */
 #product{padding-block:43px!important}
 #product .feature-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
 #product .feature-card{min-height:0!important;display:block!important;
   padding:15px 14px!important;border-radius:14px!important}
 #product .feature-text{display:grid!important;grid-template-columns:43px minmax(0,1fr)!important;
   column-gap:12px!important;align-items:start}
 #product .feature-owner-icon{grid-column:1;grid-row:1 / span 2;
   width:43px!important;height:43px!important;margin:0!important}
 #product .feature-card h3{grid-column:2;grid-row:1;font-size:16px!important;
   line-height:1.28!important;letter-spacing:-.025em!important;margin:0 0 4px!important}
 #product .feature-card p{grid-column:2;grid-row:2;font-size:12px!important;
   line-height:1.5!important;margin:0!important}
 #product .feature-visual{display:none!important}

 /* Three steps should read as three steps, not three additional phone UIs. */
 .workflow{padding-block:42px!important}
 .workflow .section-heading{max-width:none;margin-bottom:18px!important}
 .workflow-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;
   counter-reset:setup-step}
 .workflow-grid article{display:grid!important;grid-template-columns:35px minmax(0,1fr)!important;
   column-gap:12px!important;align-items:start!important;min-height:0!important;
   padding:14px!important;border-radius:13px!important;counter-increment:setup-step}
 .workflow-grid article::before{content:"0" counter(setup-step);grid-column:1;grid-row:1 / span 2;
   display:grid;place-items:center;width:34px;height:34px;border-radius:9px;
   color:#226b4d;background:#e1f1e6;font-size:11px;font-weight:850}
 .workflow-grid article .step-preview{display:none!important}
 .workflow-grid article h3{grid-column:2;grid-row:1;font-size:16px!important;margin:0 0 4px!important;
   line-height:1.3!important}
 .workflow-grid article>p{grid-column:2;grid-row:2;font-size:12px!important;line-height:1.5!important;margin:0!important}

 /* The detailed Telegram and inactive-payments mockups repeat information
    elsewhere. The actual links and conditions remain in hero/pricing/footer. */
 #telegram,#payments{display:none!important}

 /* Keep the genuine interactive ecosystem, only shorten its presentation. */
 .ecosystem-section{padding-block:38px!important}
 .eco-experience{display:flex!important;flex-direction:column!important;gap:13px!important}
 .eco-experience-copy .eyebrow{margin-bottom:8px!important}
 .eco-experience-copy h2{font-size:29px!important;margin:0 0 9px!important}
 .eco-experience-copy>p{font-size:12px!important;line-height:1.55!important;margin:0 0 15px!important}
 .eco-role-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
 .eco-role{min-width:0!important;min-height:76px!important;padding:9px 5px!important;
   border-radius:12px!important;display:flex!important;flex-direction:column!important;gap:5px!important}
 .eco-role img{width:36px!important;height:36px!important}
 .eco-role-copy b{font-size:11px!important;line-height:1.2!important}
 .eco-experience-stage{padding:10px!important;border-radius:16px!important;max-width:none!important}
 /* The Bot panel needs 453px of content; 310px clipped notifications. */
 .eco-stage-frame{height:460px!important;min-height:0!important}
 .eco-stage-overline{height:36px!important;padding:0 12px!important}
 .eco-panel-dashboard{padding:13px 12px!important}
 .eco-pane-dash-head{margin-bottom:10px!important}
 .eco-pane-dash-stats{gap:6px!important;margin-bottom:8px!important}
 .eco-pane-dash-stats>div{padding:9px!important}
 .eco-pane-dash-line{min-height:40px!important}
 .eco-pane-site-body{padding:14px!important}
 .eco-pane-site-body h3{font-size:22px!important}
 .eco-pane-chat-messages{padding:10px!important}

 /* A plan switch is more useful on 320px than two giant plan cards. */
 .pricing-section{padding-block:42px!important}
 .pricing-section .section-heading{margin-bottom:19px!important}
 .pricing-section .section-heading h2{font-size:29px!important}
 .pricing-section .section-heading>p{font-size:11px!important}
 .period-toggle{margin:0 auto 12px!important;padding:3px!important}
 .period-btn{padding:9px 24px!important;font-size:12px!important;min-height:41px}
 .site-interactive .mobile-plan-tabs{display:grid;grid-template-columns:1fr 1fr;
   background:#eef5ef;border:1px solid #dce9de;border-radius:12px;padding:4px;gap:3px;
   margin:0 0 11px}
 .mobile-plan-tab{background:transparent;color:#557666;border:0;border-radius:9px;
   min-height:43px;font-size:13px;font-weight:830}
 .mobile-plan-tab.active{background:#174a42;color:#fff}
 .pricing-grid{display:block!important;max-width:none!important}
 .site-interactive[data-mobile-plan="basic"] .pricing-grid>.premium{display:none!important}
 .site-interactive[data-mobile-plan="premium"] .pricing-grid>.price-card:not(.premium){display:none!important}
 .price-card{min-height:0!important;padding:21px!important;border-radius:17px!important}
 .price-card h3{font-size:20px!important;line-height:1.25!important;margin:7px 0!important}
 .price-amount{min-height:37px!important;margin-bottom:4px!important}
 .price-amount b{font-size:20px!important}
 .price-card>p{font-size:12px!important;min-height:0!important;margin:0!important}
 .price-card ul{padding:2px 0 0!important;margin:9px 0 12px!important}
 .price-card li{font-size:12px!important;line-height:1.4!important;margin:8px 0!important}
 .price-card .btn-wide{min-height:43px!important}
 .premium-badge{right:16px!important;top:19px!important;font-size:7px!important}
 .price-note{font-size:10px!important;line-height:1.5!important;margin-top:12px!important}

 /* Two useful entrances to the library; all six available at /guides/. */
 #guides{padding-block:38px!important}
 .knowledge-heading{margin-bottom:15px!important}
 .knowledge-heading h2{font-size:26px!important;line-height:1.15!important;margin:8px 0!important}
 .knowledge-heading p{font-size:11px!important;line-height:1.5!important}
 .knowledge-more{font-size:12px!important;margin-top:11px!important}
 .knowledge-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
 .knowledge-card{min-height:0!important;padding:13px 14px!important;border-radius:12px!important}
 .knowledge-card:nth-child(n+3){display:none!important}
 .knowledge-mark{display:none!important}
 .knowledge-card h3{font-size:15px!important;line-height:1.3!important;margin:0 0 4px!important}
 .knowledge-card p{font-size:12px!important;line-height:1.45!important}

 /* Compact answers, no oversized empty columns or headings. */
 #faq{padding-block:37px!important}
 .faq-layout{display:block!important}
 .faq-layout h2{font-size:28px!important;margin:0 0 10px!important}
 .faq-layout>div:first-child>p{display:none!important}
 .faqs details{padding:12px 0!important}
 .faqs summary{font-size:13px!important;line-height:1.4!important;padding:6px 31px 6px 0!important}
 .faqs p{font-size:12px!important;line-height:1.6!important}

 .cta-section{padding:0 15px 30px!important}
 .cta-panel{padding:26px 16px!important;border-radius:18px!important}
 .cta-panel .eyebrow{font-size:9px!important;margin-bottom:10px!important}
 .cta-panel h2{font-size:27px!important;line-height:1.13!important;margin:0 0 12px!important}
 .cta-panel>p{font-size:11px!important;line-height:1.5!important;margin:0 0 15px!important}
 .cta-panel .btn-big{width:100%;min-height:44px!important;padding:12px 14px!important;font-size:12px!important}
 .cta-tags{margin-top:15px!important;gap:6px 10px!important;font-size:9px!important}

 .footer{padding:26px 0 20px!important}
 .footer-columns{display:grid!important;grid-template-columns:1fr!important;gap:15px!important}
 .footer-about>p{margin:8px 0!important;font-size:11px!important;max-width:none!important}
 .footer .brand-logo{width:138px!important;height:auto!important}
 .footer-group{gap:6px!important}
 .footer-group h3{font-size:12px!important;margin:0 0 5px!important}
 .footer-group a,.footer-group span{font-size:11px!important}
 .footer-columns .footer-group:nth-child(2){display:none!important}
 .footer-bottom{margin-top:17px!important;padding-top:14px!important;flex-wrap:wrap!important;
   font-size:10px!important;row-gap:7px!important}
}
@media (max-width:359px){
 .hero h1{font-size:29px!important}
 .hero-text>p{font-size:12px!important}
 .eco-role{padding-inline:3px!important}
 .eco-role-copy b{font-size:10px!important}
 .premium-badge{position:static!important;align-self:flex-start!important;margin-bottom:4px!important}
}
/* v6.1: opened story is one centered phone, not desktop's two-column grid.
   The desktop second column min-width:260px was larger than the 320px phone's
   available content space, silently clipping the entire simulated device. */
@media (max-width:640px){
 .hero-demo.story-demo{max-width:100%!important;overflow:visible!important}
 .hero-demo.story-demo .story-canvas{
   display:flex!important;flex-direction:column!important;
   justify-content:center!important;align-items:center!important;
   grid-template-columns:none!important;gap:0!important;
   box-sizing:border-box!important;width:100%!important;
   padding:12px!important;height:412px!important;min-height:0!important;
   overflow:hidden!important;border-radius:15px!important;
 }
 .hero-demo.story-demo .story-desktop{display:none!important}
 .hero-demo.story-demo .story-phone{
   display:flex!important;position:relative!important;inset:auto!important;
   grid-column:auto!important;grid-row:auto!important;
   flex:0 0 auto!important;width:min(270px,100%)!important;
   max-width:100%!important;min-width:0!important;
   height:382px!important;margin:0 auto!important;transform:none!important;
 }
 .hero-demo.story-demo .story-phone-content{
   flex:1 1 auto!important;min-height:0!important;height:auto!important;
 }
 .hero-demo.story-demo .story-guide{
   display:flex!important;flex-direction:column!important;align-items:center!important;
   gap:12px!important;padding:13px 8px 20px!important;
   min-height:0!important;overflow:visible!important;
 }
 .hero-demo.story-demo .story-guide-copy{
   order:0!important;display:flex!important;flex-direction:column!important;
   align-items:center!important;text-align:center!important;gap:6px!important;
   width:100%!important;max-width:100%!important;min-width:0!important;
   margin:0!important;padding:0 4px!important;
 }
 .hero-demo.story-demo .story-guide-copy strong{
   display:block!important;font-size:13px!important;line-height:1.4!important;
   font-weight:800!important;max-width:100%!important;
   overflow-wrap:anywhere!important;margin:0!important;
 }
 .hero-demo.story-demo .story-guide-copy>span{
   display:block!important;font-size:11px!important;line-height:1.55!important;
   max-width:100%!important;overflow-wrap:anywhere!important;
 }
 .hero-demo.story-demo .story-guide-controls{
   order:1!important;display:flex!important;align-items:center!important;
   justify-content:center!important;gap:0!important;width:100%!important;
   min-height:48px!important;margin:0!important;
 }
 .hero-demo.story-demo .story-steps{
   display:flex!important;flex-wrap:nowrap!important;
   align-items:center!important;justify-content:center!important;
   gap:11px!important;min-height:48px!important;max-width:100%!important;
 }
 .hero-demo.story-demo .story-steps button{
   box-sizing:border-box!important;display:grid!important;place-items:center!important;
   width:44px!important;height:44px!important;min-width:44px!important;
   max-width:44px!important;flex:0 0 44px!important;
   padding:5px!important;overflow:hidden!important;
   border-radius:50%!important;line-height:1!important;
 }
 .hero-demo.story-demo .story-steps button img.story-stage-icon{
   display:block!important;box-sizing:border-box!important;
   width:30px!important;height:30px!important;
   max-width:30px!important;max-height:30px!important;
   object-fit:contain!important;transform:none!important;
   margin:0!important;flex:none!important;
 }
 .hero-demo.story-demo .story-guide .story-progress{
   bottom:0!important;height:3px!important;
 }
}

/* Non-commercial first-screen action: explain the service before asking to join. */
.hero-discover{display:inline-flex;align-items:center;gap:7px;margin-top:6px;
  padding:10px 0;color:#f0fff5;font-size:13px;font-weight:800;line-height:1.4;
  text-decoration:underline;text-decoration-color:rgba(240,255,245,.65);
  text-decoration-thickness:1px;text-underline-offset:4px}
.hero-discover svg{width:17px;height:17px;fill:none;stroke:currentColor;
  stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.hero-discover:hover{color:#fff;text-decoration-color:#fff}
.hero-discover:focus-visible{outline:2px solid #fff;outline-offset:5px;border-radius:3px}
@media(max-width:640px){
  .hero-discover{margin-top:0;min-height:44px;font-size:12px}
  /* Keep story height fixed when scene 0 uses two lines of description. Without
     reserved space the whole document grows/shrinks by ~17px at 320px. */
  .hero-demo.story-demo .story-guide-copy{
    min-height:76px!important;justify-content:center!important;
  }
  /* In narrow layouts, crossfade scene content instead of translating the
     entire phone contents horizontally. The device itself is fixed. */
  .hero-demo.story-demo .story-phone{
    transform:none!important;transition:none!important;
  }
  .hero-demo.story-demo .story-phone-scene{
    transform:none!important;transition:opacity .2s ease,visibility 0s .2s!important;
  }
  .hero-demo.story-demo .story-phone-scene[aria-hidden="false"]{
    transform:none!important;transition:opacity .2s ease,visibility 0s!important;
  }
}
