/* Home: blocks "Запускаете за минуты" and "Почему MLM OS" */

.mos-bento-text {
  color: var(--color-system--gray-500);
  letter-spacing: .02em;
  margin: 10px 0 0;
  font-size: 1rem;
  line-height: 140%;
}

.mos-bento-text.light {
  color: #ffffffd1;
  margin-top: 0;
}

.bento-03 .center-text {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
}

.bento-03 h4 {
  font-size: 1.5rem;
  line-height: 125%;
}

.button-container.mos-left {
  padding-top: 1.2rem;
}

.secondary-button.chat-btn .link-wrapper {
  white-space: nowrap;
}

.dashboard-01 {
  width: 100%;
}

.mos-cabinet {
  width: 100%;
  height: auto;
  display: block;
}

.mos-cabinet-caption {
  text-align: center;
  flex-flow: column;
  gap: 4px;
  margin-top: -20px;
  display: flex;
}

.mos-cabinet-caption-title {
  color: var(--color-system--gray-800);
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 140%;
}

.mos-cabinet-caption-note {
  color: var(--color-system--gray-500);
  text-align: center;
  margin: -33px 0 0;
  font-size: 11px;
  line-height: 14px;
}

/* Block "Вы получаете работающую платформу": cards grow with their text */

.job-benefits-wrapper {
  gap: 24px;
  height: auto;
  min-height: 250px;
  padding-right: 1.5rem;
}

/* Block "Результаты наших клиентов": light case cards with a platform screenshot
   and two key facts */

.mos-cases {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 3rem;
  display: grid;
}

.mos-case {
  background-color: #fff;
  border: 1px solid #dfe6fa;
  border-radius: 20px;
  flex-flow: column;
  display: flex;
  overflow: hidden;
}

.mos-case-media {
  background: linear-gradient(160deg, #eef4ff, #e3ecfd);
  padding: 20px 20px 0;
}

.mos-case-media img {
  border-radius: 12px 12px 0 0;
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 -6px 24px -12px #1c64eb33;
}

.mos-case-body {
  flex: 1;
  flex-flow: column;
  padding: 24px 28px 28px;
  display: flex;
}

.mos-case-tag {
  color: var(--color-system--primary-blue);
  margin: 0;
  font-size: .85rem;
  font-weight: 500;
  line-height: 140%;
}

.mos-case-title {
  color: var(--color-system--gray-900);
  margin: 8px 0 0;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 125%;
}

.mos-case-text {
  color: var(--color-system--gray-500);
  margin: 10px 0 24px;
  font-size: 1rem;
  line-height: 150%;
}

/* facts sit at the bottom so they line up across the row */
.mos-case-facts {
  border-top: 1px solid #dfe6fa;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  display: grid;
}

.mos-case-fact-value {
  color: var(--color-system--primary-blue);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 120%;
}

.mos-case-fact-label {
  color: var(--color-system--gray-500);
  margin: 4px 0 0;
  font-size: .85rem;
  line-height: 135%;
}

.mos-cases-note {
  color: var(--color-system--gray-500);
  margin: 16px 0 0;
  font-size: 11px;
  line-height: 14px;
}

@media screen and (min-width: 992px) {
  /* labels take two lines in most cards; keep the rest level with them */
  .mos-case-fact-label {
    min-height: 2.7em;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .mos-case-body {
    padding: 22px 20px 24px;
  }

  /* "Великобритания · Товарный бизнес" does not fit here, so every tag
     puts the country and the niche on their own lines */
  .mos-case-tag span {
    display: block;
  }

  .mos-case-tag .mos-case-tag-sep {
    display: none;
  }

  .mos-case-title, .mos-case-fact-value {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 991px) {
  .mos-cases {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 2rem;
  }
}

@media screen and (min-width: 640px) and (max-width: 991px) {
  .mos-case {
    flex-flow: row;
  }

  .mos-case-media {
    flex: 0 0 44%;
    align-items: center;
    padding: 20px 0 20px 20px;
    display: flex;
  }

  .mos-case-media img {
    border-radius: 12px 0 0 12px;
  }
}

@media screen and (max-width: 479px) {
  .mos-case-media {
    padding: 14px 14px 0;
  }

  .mos-case-body {
    padding: 20px 20px 22px;
  }

  .mos-case-title, .mos-case-fact-value {
    font-size: 1.3rem;
  }
}

/* Block "Для тех, кто хочет запустить быстро": no tag, heading takes the full row */

.features-intro-section .left-content {
  display: none;
}

.features-intro-section .cta-fullwidth-container {
  grid-template-columns: 1fr;
}

.features-intro-section .cta-heading {
  max-width: 900px;
}

/* Block "Три AI-сервиса": AI Workspace highlighted in the middle and a bit taller,
   side cards share one height with the button pinned to the bottom */

.pricing-box {
  align-items: stretch;
}

.pricing-box > .pricing {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.pricing-box > .pricing .pricing-container {
  flex: 1;
}

.pricing-box > .pricing .plan-list {
  flex: 1;
}

.pricing-box > .pricing .tertiary-button.side {
  margin-top: auto;
}

.popular-tier {
  justify-content: center;
}

/* Block "Как запустить": button instead of the footnote */

.button-container.mos-steps-cta {
  padding-top: 0;
  display: flex;
}

/* Footer: compact — divider under the final CTA, logo and caption in one row,
   e-mail written out next to the icons */

.cta-block-section .cta-wrapper {
  margin-bottom: 2.5rem;
}

.footer-section-2 {
  padding-bottom: 1.25rem;
}

.footer-wrapper-2 {
  border-top: 1px solid #dfe6fa;
  margin-bottom: 0;
  padding-top: 1.5rem;
}

.subscribe-form-wrapper-2 {
  align-items: center;
}

.subcribe-title-2 {
  flex-flow: row;
  align-items: center;
  gap: 20px;
  width: auto;
}

.footer-logo-wrapper {
  flex: none;
}

.footer-logo {
  width: auto;
  height: 36px;
}

/* The "MLM OS" wordmark sits below the middle of the logo (the icon is taller),
   so the caption moves down to share its baseline */
.subcribe-title-2 .heading-style-h6-2 {
  margin: 0;
  position: relative;
  top: 4px;
}

.template-info {
  padding-top: 0;
}

.copyright {
  padding-top: 1rem;
}

.social-row {
  align-items: center;
}

.mos-footer-email {
  color: var(--color-system--gray-700);
  font-size: .95rem;
  line-height: 24px;
  text-decoration: none;
}

.mos-footer-email:hover {
  color: var(--color-system--primary-blue);
}

/* Block "MLM OS — операционная система" */

.mos-task-note {
  color: var(--color-system--gray-600);
  margin-top: 4px;
  font-size: .8rem;
  line-height: 135%;
  display: block;
}

/* Page rhythm: about 120px of air between blocks on desktop, 72px on mobile */

@media screen and (min-width: 992px) {
  .about-section {
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .about-container {
    margin-top: -190px;
  }

  .benefits-block {
    margin-top: 4.5rem;
  }

  .product-section {
    padding-top: 0;
    padding-bottom: 0;
  }

  .outline-shade {
    margin-top: 88px;
  }

  .product-wrapper {
    padding-top: 64px;
  }

  .tab-content._01 {
    padding-bottom: 3.5rem;
  }

  .benefit-section .vertical-padding {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .career-benefits-section {
    padding-top: 64px;
    padding-bottom: 32px;
  }

  .blog-section {
    padding-top: 0;
    padding-bottom: 32px;
  }

  .blog-section .horizontal-heading-light {
    padding-top: 24px;
  }

  .features-intro-section {
    padding-bottom: 0;
  }

  .features-intro-section .cta-fullwidth-container {
    padding-top: 72px;
    padding-bottom: 0;
  }

  .features-intro-section .bottom-grid {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .pricing-section {
    padding-top: 0;
    padding-bottom: 0;
  }

  .pricing-section .vertical-padding {
    padding-top: 64px;
    padding-bottom: 32px;
  }

  .faq-section.padding-bottom {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .faq-heading, .faq-accordion {
    padding-top: 0;
  }

  .cta-block-section .cta-wrapper {
    margin-top: 56px;
  }
}

@media screen and (max-width: 991px) {
  .about-section {
    padding-bottom: 24px;
  }

  .about-container {
    margin-top: -190px;
  }

  .product-section {
    padding-top: 0;
  }

  .outline-shade {
    margin-top: 56px;
  }

  .career-benefits-section {
    padding-bottom: 32px;
  }

  .blog-section {
    padding-bottom: 16px;
  }

  .blog-section .horizontal-heading-light {
    padding-top: 24px;
  }

  .features-intro-section .cta-fullwidth-container {
    padding-top: 64px;
    padding-bottom: 40px;
  }

  .features-intro-section .bottom-grid {
    padding-top: 16px;
  }

  .pricing-section {
    padding-bottom: 0;
  }

  .pricing-section .vertical-padding {
    padding-bottom: 16px;
  }

  .faq-section.padding-bottom {
    padding-top: 24px;
    padding-bottom: 16px;
  }

  .faq-heading {
    padding-top: 0;
  }

  .cta-block-section .cta-wrapper {
    margin-top: 56px;
  }
}

@media screen and (max-width: 479px) {
  .about-container {
    margin-top: -163px;
  }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
  .about-container {
    margin-top: -264px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1439px) {
  .about-container {
    margin-top: -215px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .about-container {
    margin-top: -260px;
  }

  .career-benefits-section {
    padding-bottom: 0;
  }
}

@media screen and (min-width: 992px) {
  .benefits-block {
    grid-template-rows: 860px;
  }

  .bento-long-h {
    grid-template-columns: 1.25fr 1fr;
    height: 46%;
  }

  .bento-right-grid {
    height: 54%;
  }

  .bento-text-small {
    padding-top: 40px;
    padding-right: 30px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .benefits-block {
    grid-template-rows: 940px;
  }
}

@media screen and (max-width: 767px) {
  .bento-02 {
    height: 470px;
  }

  .footer-wrapper-2 {
    padding-top: 1.5rem;
  }

  .subscribe-form-wrapper-2 {
    gap: 16px;
  }

  .subcribe-title-2 {
    flex-flow: column;
    align-items: flex-start;
    gap: 10px;
  }

  .subcribe-title-2 .heading-style-h6-2 {
    top: 0;
  }

  .middle-grid {
    height: auto;
  }

  .image-wrapper._03 {
    min-height: 400px;
  }
}

@media screen and (max-width: 991px) {
  .bento-long-h {
    height: auto;
    padding-bottom: 30px;
  }

  .bento-03 {
    height: auto;
  }

  .button-container.mos-left {
    justify-content: center;
    display: flex;
  }
}

@media screen and (max-width: 479px) {
  .bento-02 {
    height: 480px;
  }

  .bento-long-h .sub-heading {
    display: block;
  }

  .bento-long-h .price-tab.gray-500.left {
    text-align: center;
  }
}
