/* Scale Automotive composition adapted to the current CNW Terminal content. */
body.terminal-product-page {
  --terminal-shell: 1216px;
}

body.terminal-product-page .hero-video-wrap .hero-video {
  background: #071016;
}

body.terminal-product-page .signal-provenance {
  padding: clamp(112px, 10vw, 168px) 0 clamp(118px, 10vw, 170px);
  overflow: hidden;
  background: #f5f5f3;
  color: #111;
}

body.terminal-product-page .provenance-shell {
  width: min(100%, 1660px);
  margin-inline: auto;
  padding-inline: clamp(18px, 3vw, 48px);
}

body.terminal-product-page .provenance-heading {
  width: min(100%, 1120px);
  margin: 0 auto clamp(78px, 7vw, 116px);
  text-align: center;
}

body.terminal-product-page .provenance-heading .kicker {
  margin: 0 0 24px;
  color: #6d7479;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.terminal-product-page .provenance-heading .section-title {
  max-width: 18ch !important;
  margin: 0 auto !important;
  font-size: clamp(46px, 4.5vw, 72px) !important;
  font-weight: 540 !important;
  line-height: .96 !important;
  letter-spacing: -.055em !important;
  text-align: center !important;
}

body.terminal-product-page .provenance-heading .body-lg {
  max-width: 560px;
  margin: 26px auto 0;
  color: #525a60;
  font: 400 17px/1.5 "Inter Tight", Arial, sans-serif !important;
  text-align: center !important;
  text-align-last: center !important;
}

body.terminal-product-page .provenance-tree {
  position: relative;
}

body.terminal-product-page .provenance-root {
  position: relative;
  z-index: 2;
  width: min(100%, 380px);
  min-height: 150px;
  margin: 0 auto 72px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #d4d8da;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(24, 31, 35, .06);
  text-align: center;
}

body.terminal-product-page .provenance-root::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 36px;
  background: #cbd1d4;
}

body.terminal-product-page :is(.provenance-root-icon, .provenance-icon) {
  display: grid;
  place-items: center;
  color: #839098;
}

body.terminal-product-page .provenance-root-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
}

body.terminal-product-page :is(.provenance-root-icon, .provenance-icon) svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.terminal-product-page .provenance-root h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -.035em;
}

body.terminal-product-page .provenance-root p {
  margin: 8px 0 0;
  color: #59636a;
  font-size: 14px;
}

body.terminal-product-page .provenance-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

body.terminal-product-page .provenance-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -36px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: #cbd1d4;
}

body.terminal-product-page .provenance-card {
  position: relative;
  z-index: 1;
  min-height: 282px;
  padding: 22px 38px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #d4d8da;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

body.terminal-product-page .provenance-card::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 36px;
  background: #cbd1d4;
}

body.terminal-product-page .provenance-number {
  align-self: flex-start;
  color: #75818a;
  font-size: 11px;
}

body.terminal-product-page .provenance-icon {
  width: 50px;
  height: 50px;
  margin: 12px 0 34px;
  padding: 13px;
  border: 1px solid #dde0e1;
  border-radius: 50%;
  background: #f7f7f5;
}

body.terminal-product-page .provenance-card h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -.04em;
}

body.terminal-product-page .provenance-card p {
  max-width: 30ch;
  margin: 34px auto 0;
  color: #4f5960;
  font-size: 14px;
  line-height: 1.5;
  text-align: center !important;
  text-align-last: center !important;
}

/* The FAQ deliberately uses the page width instead of the standard centered shell. */
body.terminal-product-page #faq {
  padding: clamp(110px, 10vw, 170px) 0 !important;
}

body.terminal-product-page #faq .faq-layout {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 clamp(22px, 1.7vw, 34px) !important;
  display: grid;
  grid-template-columns: minmax(270px, .58fr) minmax(0, 1.42fr);
  gap: clamp(52px, 9vw, 178px);
}

body.terminal-product-page #faq .faq-sticky {
  padding: 0 !important;
}

body.terminal-product-page #faq .faq-list {
  width: 100%;
}

body.terminal-product-page #faq .faq-question {
  padding: 29px 0;
}

@media (max-width: 1050px) {
  body.terminal-product-page .provenance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.terminal-product-page .provenance-grid::before,
  body.terminal-product-page .provenance-root::after,
  body.terminal-product-page .provenance-card::before {
    display: none;
  }

  body.terminal-product-page .provenance-root {
    margin-bottom: 20px;
  }
}

@media (max-width: 800px) {
  body.terminal-product-page #faq .faq-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  body.terminal-product-page #faq .faq-sticky {
    position: static;
  }
}

@media (max-width: 620px) {
  body.terminal-product-page .provenance-heading {
    margin-bottom: 56px;
  }

  body.terminal-product-page .provenance-heading .section-title {
    font-size: clamp(39px, 11.2vw, 50px) !important;
  }

  body.terminal-product-page .provenance-grid {
    grid-template-columns: 1fr;
  }

  body.terminal-product-page .provenance-card {
    min-height: 260px;
    padding-inline: 28px;
  }
}
