/* V172 — final copy + mobile header/kicker/trust polish */

/* Mobile header: remove the detached grey/rounded tile feeling. */
@media (max-width:699px){
  html body[data-v170="true"] .site-header-v51{
    background:#fbf7ef!important;
    box-shadow:0 1px 0 rgba(17,36,64,.06)!important;
  }
  html body[data-v170="true"] .site-header-v51 .header51-shell{
    padding:0 12px!important;
    background:transparent!important;
  }
  html body[data-v170="true"] .site-header-v51 .header51-top{
    min-height:76px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  html body[data-v170="true"] .site-header-v51 .menu-toggle{
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    min-height:46px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  html body[data-v170="true"] .site-header-v51 .menu-toggle i{
    background:#17345f!important;
  }

  /* One-line federal-law pill on all common phones. */
  html body[data-v170="true"] .mobile-hero-v170__kicker{
    width:max-content!important;
    max-width:calc(100vw - 32px)!important;
    min-height:38px!important;
    padding:8px 13px!important;
    white-space:nowrap!important;
    font-size:12.8px!important;
    line-height:1!important;
  }

  /* The trust strip begins after the hero; Russia should read as a separate dark proof. */
  html body[data-v170="true"] .trust-grid-v74 .trust-remote-v84>strong{
    color:#152341!important;
  }
  html body[data-v170="true"] .trust-grid-v74 .trust-remote-v84>span{
    color:#66758a!important;
  }
}

/* New hero copy is longer: keep it legible without crowding the portrait. */
@media (max-width:699px){
  html body[data-v170="true"] .mobile-hero-v170__lead{
    width:61%!important;
    max-width:244px!important;
    font-size:15.6px!important;
    line-height:1.31!important;
  }
}
@media (max-width:390px){
  html body[data-v170="true"] .mobile-hero-v170__lead{
    width:62%!important;
    max-width:232px!important;
    font-size:15px!important;
  }
}
@media (max-width:360px){
  html body[data-v170="true"] .mobile-hero-v170__kicker{font-size:12.1px!important;padding:8px 10px!important}
  html body[data-v170="true"] .mobile-hero-v170__lead{width:63%!important;font-size:14.4px!important;line-height:1.28!important}
}

/* Desktop/tablet hero: stronger pain/result copy, keep proof and actions airy. */
@media (min-width:700px){
  html body[data-v170="true"] #top .hero-lead-v89{
    max-width:680px!important;
  }
  html body[data-v170="true"] #top .hero-lead-v89 strong{
    font-size:19px!important;
    line-height:1.38!important;
  }
}
@media (min-width:1101px){
  html body[data-v170="true"] #top .hero-actions{margin-top:30px!important}
}

/* Remote process: longer step 4 needs natural wrapping. */
html body[data-v170="true"] #remote-work .remote-steps-v130 h3{
  text-wrap:balance!important;
}

/* Founder block: readable manifesto rather than a dense wall. */
html body[data-v170="true"] #contacts .founder-quote-text-v138{
  line-height:1.55!important;
}
@media (min-width:1101px){
  html body[data-v170="true"] #contacts .founder-quote-text-v138{
    font-size:16px!important;
  }
}

/* Mobile header: remove legacy rounded shell itself, not only the menu button. */
@media (max-width:699px){
  html body[data-v170="true"] .site-header-v51 .header51-shell{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0 16px!important;
    border:0!important;
    border-radius:0!important;
    background:#fbf7ef!important;
    box-shadow:none!important;
  }
  html body[data-v170="true"] .site-header-v51 .header51-top{
    width:100%!important;
  }
  html body[data-v170="true"] .site-header-v51 .menu-toggle{
    border-radius:0!important;
  }
}
@media (max-width:699px){
  html body[data-v170="true"] section.trust-strip-v74 .trust-grid-v74 article.trust-remote-v84 > strong{
    color:#152341!important;
  }
}
