/* Homepage pre-footer trust strip. Real markup is injected by the root worker. */
#landing .site-footer{
  margin-top:0!important;
  padding-top:52px!important;
  background:#0f1d20!important;
  box-shadow:none!important;
  position:relative;
}
#landing .site-footer .footer-grid::before,
#landing .site-footer .footer-grid::after,
#landing .site-footer .footer-grid>div:first-child::before,
#landing .site-footer .footer-grid>div:first-child::after,
#landing .site-footer .footer-grid>div:nth-child(2)::before,
#landing .site-footer .footer-grid>div:nth-child(2)::after{
  content:none!important;
  display:none!important;
}

#landing .prefooter-trust{
  width:100%;
  background:linear-gradient(135deg,#d7ece4 0%,#e4f2ed 100%);
  border-top:1px solid #c5ddd4;
  border-bottom:1px solid #bed8cf;
  padding:34px 0 36px;
  color:#102b2d;
}
#landing .prefooter-trust-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
}
#landing .prefooter-trust article{
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  gap:16px;
  align-items:center;
  padding:4px 34px;
  min-height:88px;
}
#landing .prefooter-trust article:first-child{padding-left:0}
#landing .prefooter-trust article:last-child{padding-right:0}
#landing .prefooter-trust article+article{border-left:1px solid #b8d4ca}
#landing .prefooter-trust-icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:#c2e2d7;
  box-shadow:0 9px 24px rgba(25,83,70,.09);
  font-size:31px;
  line-height:1;
}
#landing .prefooter-trust h3{
  margin:0 0 5px;
  color:#0e292b;
  font-size:17px;
  line-height:1.2;
  font-weight:850;
  letter-spacing:-.015em;
}
#landing .prefooter-trust p{
  margin:0;
  color:#506a6b;
  font-size:14px;
  line-height:1.5;
  font-weight:500;
  max-width:310px;
}

/* Keep the language control with the footer brand instead of creating a separate bottom row. */
#landing .site-footer .footer-brand .footer-intelligence-note{
  margin:14px 0 0!important;
  max-width:445px;
  color:#80979a!important;
  font-size:12.5px!important;
  line-height:1.58!important;
  font-style:italic;
  font-weight:450!important;
  letter-spacing:-.003em;
}

#landing .site-footer>.language-footer{
  position:absolute!important;
  top:255px;
  left:max(20px,calc((100vw - 1180px)/2));
  width:auto!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center;
  justify-content:flex-start!important;
  gap:0!important;
  z-index:12;
}
#landing .site-footer>.language-footer .language-footer-label{display:none!important}
#landing .site-footer>.language-footer .footer-language-switch{color:#a9bec1!important}
#landing .site-footer>.language-footer .footer-language-switch summary{
  min-height:36px;
  padding:6px 11px;
  border:1px solid #294044!important;
  border-radius:9px;
  background:#16292c!important;
  color:#d9e6e7!important;
  box-shadow:none!important;
}
#landing .site-footer>.language-footer .footer-language-switch summary:hover{
  background:#1b3336!important;
  border-color:#3a5559!important;
}
#landing .site-footer>.language-footer .footer-language-switch .language-menu{
  left:0!important;
  right:auto!important;
  bottom:calc(100% + 7px)!important;
  top:auto!important;
  background:#16292c!important;
  border-color:#294044!important;
  color:#d9e6e7!important;
}
#landing .site-footer>.language-footer .footer-language-switch .language-menu a{color:#d9e6e7!important}
#landing .site-footer>.language-footer .footer-language-switch .language-menu a span{color:#8da5a8!important}
#landing .site-footer>.language-footer .footer-language-switch .language-menu a:hover,
#landing .site-footer>.language-footer .footer-language-switch .language-menu a.active{
  background:#203b38!important;
  color:#7ee0bd!important;
}

/* Dark photo treatment for the Miten se toimii band. */
#landing #how.mv126-how-photo{
  background-color:#0b1719!important;
  background-image:linear-gradient(rgba(11,23,25,.78),rgba(11,23,25,.78)),url('/media/miten-se-toimii.webp')!important;
}
#landing #how.mv126-how-photo .section-head h2{color:#fff}
#landing #how.mv126-how-photo .section-head p{color:#bfd0cd}
#landing #how.mv126-how-photo .section-head .eyebrow{color:#7ee0bd}

@media(max-width:900px){
  #landing .prefooter-trust article{padding-left:20px;padding-right:20px;grid-template-columns:50px minmax(0,1fr);gap:13px}
  #landing .prefooter-trust-icon{width:50px;height:50px;border-radius:14px;font-size:27px}
  #landing .site-footer>.language-footer{top:285px}
}
@media(max-width:720px){
  #landing .prefooter-trust{padding:18px 0 20px}
  #landing .prefooter-trust-grid{grid-template-columns:1fr}
  #landing .prefooter-trust article,
  #landing .prefooter-trust article:first-child,
  #landing .prefooter-trust article:last-child{padding:18px 0;min-height:0}
  #landing .prefooter-trust article+article{border-left:0;border-top:1px solid #b8d4ca}
  #landing .prefooter-trust p{max-width:none}
  #landing .site-footer{padding-top:42px!important}
  #landing .site-footer .footer-brand .footer-intelligence-note{max-width:560px;font-size:12px!important;margin-top:12px!important}
  #landing .site-footer>.language-footer{
    position:static!important;
    width:min(100% - 28px,1180px)!important;
    margin:18px auto 0!important;
    padding:0!important;
    justify-content:flex-start!important;
  }
  #landing .site-footer>.language-footer .footer-language-switch .language-menu{bottom:calc(100% + 7px)!important;left:0!important;right:auto!important}
}
