.news-card h3 {
  margin-top:
    21px;

  color:
    var(--black);

  font-size:
    calc(clamp(14.3px, 1.155vw, 17.6px) + 5px);

  font-weight:
    900;

  letter-spacing:
    -.1em;

  line-height:
    1.3;

  white-space:
    normal;

  word-break:
    keep-all;

  overflow-wrap:
    anywhere;
}


.news-card-copy {
  display:
    -webkit-box;

  overflow:
    hidden;

  margin-top:
    18px;

  color:
    #6a7890;

  font-size:
    15px;

  letter-spacing:
    -.025em;

  line-height:
    1.65;

  -webkit-box-orient:
    vertical;

  -webkit-line-clamp:
    2;
}


.news-card-footer {
  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    16px;

  width:
    100%;

  margin-top:
    auto;

  padding-top:
    24px;

  color:
    #8490a4;

  font-size:
    13px;
}


.news-card-footer time {
  margin-right:
    auto;

  font-variant-numeric:
    tabular-nums;
}


.news-more {
  display:
    inline-flex;

  align-items:
    center;

  gap:
    8px;

  color:
    var(--blue);

  margin-left:
    auto;

  font-weight:
    800;

  white-space:
    nowrap;
}


.news-more b {
  font-size:
    18px;

  line-height:
    1;

  transition:
    transform .25s ease;
}


@media(hover: hover) {

  .news-all-link:hover {
    color:
      #0f4dc7;
  }


  .news-all-link:hover span,
  .news-card:hover .news-more b {
    transform:
      translateX(5px);
  }


  .news-card:hover {
    border-color:
      #8eb7ff;

    box-shadow:
      0 25px 50px rgba(19, 73, 165, .15);

    transform:
      translateY(-9px);
  }


  .news-card:hover::after {
    transform:
      scaleX(1);
  }


  .news-card:hover .news-card-image::after {
    opacity:
      .75;
  }


  .news-card:hover .news-card-image img {
    filter:
      saturate(1.08) contrast(1.03);

    transform:
      scale(1.065);
  }
}


.news-card:focus-within {
  border-color:
    var(--blue);

  box-shadow:
    0 0 0 4px rgba(28, 104, 250, .15),
    0 25px 50px rgba(19, 73, 165, .12);
}


.news-card-link:focus-visible,
.news-all-link:focus-visible {
  outline:
    3px solid var(--blue);

  outline-offset:
    4px;
}


@media(max-width: 900px) {

  .news-section {
    padding:
      81px 20px 108px;
  }


  .news-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .news-card:first-child {
    grid-column:
      span 2;
  }


  .news-card:first-child .news-card-image {
    aspect-ratio:
      16 / 7;
  }
}


@media(max-width: 640px) {

  .news-section {
    padding:
      67.5px 20px 90px;
  }


  .news-head {
    align-items:
      flex-start;

    flex-direction:
      column;

    gap:
      18px;
  }


  .news-head h2 {
    font-size:
      clamp(42px, 12vw, 58px);
  }


  .news-all-link {
    padding:
      0;
  }


  .news-grid {
    grid-template-columns:
      1fr;

    gap:
      16px;

    margin-top:
      39px;
  }


  .news-card:first-child {
    grid-column:
      auto;
  }


  .news-card:first-child .news-card-image,
  .news-card-image {
    aspect-ratio:
      16 / 10;
  }


  .news-card-body {
    min-height:
      258px;

    padding:
      23px 22px 22px;
  }


  .news-card h3 {
    font-size:
      20.4px;
  }


  .news-card-copy {
    font-size:
      14px;
  }
}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {
  background: var(--bg-soft);
  color: var(--black);
  padding: 76px 7vw 30px;
  border-top: 1px solid var(--line);
}

.site-footer-inner { max-width: 1500px; margin: 0 auto; }
.site-footer-grid { display: grid; grid-template-columns: 1.65fr 1fr 1fr 1.1fr; gap: 48px; }
.site-footer-brand { display: inline-block; }
.site-footer-brand img { display: block; width: 118px; height: auto; }
.site-footer-description { margin-top: 26px; }
.site-footer-company p, .site-footer-company address { max-width: 420px; color: var(--gray); font-size: 14px; line-height: 1.9; word-break: keep-all; }
.site-footer-company address { margin-top: 26px; font-style: normal; }
.site-footer a { color: inherit; text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: #1b68fa; }
.site-footer a:focus-visible { outline: 2px solid #1b68fa; outline-offset: 5px; }
.site-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.7; }
.site-footer-column h3 { font-size: 15px; font-weight: 800; margin: 0 0 8px; letter-spacing: -.02em; }
.site-footer-column > a { padding: 3px 0; }
.site-footer-language { color: var(--gray); }
.site-footer-language h3 { color: var(--black); }
.site-footer-language p + p { margin-top: 6px; }
.site-footer-bottom { margin-top: 58px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--gray); font-size: 13px; }
.site-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 24px; }

@media (max-width: 1100px) {
  .site-footer-grid { grid-template-columns: 1.5fr 1fr; gap: 38px 48px; }
}

@media (max-width: 640px) {
  .site-footer { padding: 52px 20px 26px; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .site-footer-company, .site-footer-language { grid-column: 1 / -1; }
  .site-footer-company p, .site-footer-company address { max-width: none; }
  .site-footer-bottom { margin-top: 36px; flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* News closing contact banner */
.news-contact {
  padding: 88px 7vw;
  background: #1b68fa;
  color: #fff;
  scroll-margin-top: 90px;
}

.news-contact-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.news-contact h2 {
  color: #fff;
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 800;
  letter-spacing: var(--tracking-title);
  line-height: 1.24;
  word-break: keep-all;
  white-space: nowrap;
}

.news-contact p {
  margin-top: 24px;
  color: #fff;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.7;
  word-break: keep-all;
}

.news-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 0 0 auto;
  min-height: 64px;
  padding: 18px 28px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: var(--black);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease;
}

.news-contact-button span {
  font-size: 23px;
  transition: transform .25s ease;
}

.news-contact-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 6px;
}

@media (hover: hover) {
  .news-contact-button:hover {
    background: #edf4ff;
    transform: translateY(-3px);
  }

  .news-contact-button:hover span {
    transform: translateX(4px);
  }
}

@media (max-width: 1100px) {
  .news-contact-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
}

@media (max-width: 767px) {
  .news-contact { padding: 64px 20px; }
  .news-contact-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
  .news-contact h2 { font-size: clamp(16px, 4.5vw, 34px); letter-spacing: -.04em; }
  .news-contact p { margin-top: 20px; }
  .news-contact-button { min-height: 56px; padding: 14px 24px; }
}

.problem-card:nth-child(n + 2) .problem-description {
  max-width: 520px;
}

/* Mobile-only copy and line-break controls */
.hero-description-narrow,
.problem-title-mobile,
.sales-conclusion-mobile-break,
.customer-title-mobile-break {
  display: none;
}


@media(max-width: 640px) {

  .hero {
    min-height: 0;
    padding-bottom: 68px;
  }

  /* Scale supporting spacing and CTAs on narrow phones. */
  .hero-support .hero-description {
    margin-top: clamp(20px, 6.6667vw, 32px);
  }

  .hero-description-message > span {
    word-break: keep-all;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .hero-support .hero-actions {
    gap: clamp(6px, 2.0833vw, 10px);
    margin-top: clamp(18px, 5.8333vw, 28px);
  }

  .hero-support .hero-button {
    min-height: clamp(36px, 9.5833vw, 46px);
    padding: clamp(9px, 2.5vw, 12px) clamp(12px, 3.75vw, 18px);
    font-size: clamp(11px, 2.7083vw, 13px);
    line-height: 1.65;
  }

  .hero-support .hero-button-arrow {
    margin-left: clamp(4px, 1.25vw, 6px);
  }


  .hero-description-default {
    display: none;
  }


  .hero-description-narrow {
    display: inline;
  }


  .hero-description-tail {
    display: inline;
    white-space: nowrap;
  }

  .problem-title-default {
    display: none;
  }


  .problem-title-mobile,
  .sales-conclusion-mobile-break,
  .customer-title-mobile-break {
    display: block;
  }


  .problem-heading .section-title {
    font-size: min(70px, 10.8vw);
    font-stretch: 100%;
    line-height: var(--line-title);
  }


  .problem-title-mobile {
    transform: none;
  }


  .problem-title-mobile > span {
    display: block;
    white-space: nowrap;
  }

  .problem-card:first-child .problem-description {
    max-width: none;
  }

  .solution-step-copy {
    width: 100%;
    max-width: 506px;
  }


  .sales-flow-conclusion {
    font-size: min(40px, calc((100vw - 40px) / 14.25));
    letter-spacing: -.02em;
  }


  .customer-stories-head h2 {
    font-size: clamp(32px, 9.5vw, 38px);
    line-height: 1.08;
  }
}
