/* ==========================================================================
   StockPulse microsite styles (cphinsight.com/stockpulse/ and friends)
   --------------------------------------------------------------------------
   Rebuilt from the original Divi/WordPress pages so that the static pages
   look and behave the same. Measurements (paddings, column widths, type
   sizes and breakpoints) are taken directly from the Divi output:

     desktop   >= 981px
     tablet    768px - 980px
     phone     <= 767px

   Section layout: .section > .row > .cols > .col
   Most StockPulse rows are "width 100%, max-width 1240px" (page CSS
   override); the Divi default of 80% / 1080px only applies where noted.
   ========================================================================== */

/* ---------- Fonts (icon fonts for the footer, hamburger and play icon) ---------- */
@font-face {
  font-family: "ETmodules";
  src: url("../fonts/modules.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "FontAwesome";
  src: url("../fonts/fa-solid-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: block;
}

/* ---------- Tokens ---------- */
:root {
  --font: "Poppins", Helvetica, Arial, Lucida, sans-serif;
  --teal: #07b4b7;
  --teal-dark: #07787e;
  --teal-pale: #effefd;
  --yellow: #ffc000;
  --yellow-dark: #e29400;
  --yellow-pale: #ffffea;
  --black: #000000;
  --ink: #2f2f2f;
  --ink-75: rgba(47, 47, 47, 0.75);
  --white: #ffffff;
  --white-75: rgba(255, 255, 255, 0.75);
  --grey-line: #e7e7e8;
  --grey-soft: rgba(243, 244, 245, 0.5);
  --grey-tint: #f3f4f5;
  --bg-dark: #2f2e2e;
  --text-light: #d6d6d6;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.4em;
  color: #666;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
p {
  margin: 0;
  padding-bottom: 1em;
}
p:last-of-type {
  padding-bottom: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.1em;
  color: #333;
}
a {
  color: var(--teal);
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
}
strong,
b {
  font-weight: 700;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
}
/* Divi text modules in these sections are forced to weight 400 (.bn-text) */
.text {
  font-weight: 400;
}

/* ---------- Layout ---------- */
.section {
  position: relative;
  padding: 54px 0;
  background-color: #fff;
}
.row {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}
.cols {
  display: flex;
  align-items: flex-start;
}
.cols--center {
  align-items: center;
}
.col {
  position: relative;
  min-width: 0;
  margin-right: 5.5%;
}
.col:last-child {
  margin-right: 0;
}
/* Divi "gutters 3" (default) column widths */
.c-1-2 { width: 47.25%; }
.c-1-3 { width: 29.6667%; }
.c-2-3 { width: 64.833%; }
.c-1-4 { width: 20.875%; }
.c-1-5 { width: 15.6%; }
.c-1-6 { width: 12.9167%; }
.c-full { width: 100%; }
/* Divi "gutters 2" widths */
.cols--g2 > .col { margin-right: 3%; }
.cols--g2 > .col:last-child { margin-right: 0; }
.cols--g2 > .c-2-5 { width: 38.2%; }
.cols--g2 > .c-3-5 { width: 58.8%; }
/* Divi modules sit 30px apart inside a column unless the page CSS says otherwise */
.module + .module {
  margin-top: 30px;
}

.bg-dark { background-color: var(--bg-dark); }

/* Responsive visibility helpers (Divi's desktop / tablet / phone switches) */
@media (min-width: 981px) {
  .hide-desktop { display: none !important; }
}
@media (min-width: 768px) and (max-width: 980px) {
  .hide-tablet { display: none !important; }
}
@media (max-width: 767px) {
  .hide-phone { display: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 11.5px 20px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7em;
  color: var(--white);
  background-color: var(--black);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 300ms ease 0ms;
}
.btn:hover {
  color: var(--black);
  background-color: var(--white);
}
.btn--cta {
  padding: 13px 20px;
}
.btn--teal {
  background-color: var(--teal);
}
.btn--teal:hover {
  color: var(--white);
  background-color: var(--teal);
}
/* "Watch Video" (.menu-video-button on the live site) */
.btn--video {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 10px 50px 10px 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: #111;
  background: var(--white);
  border: 1px solid #111;
  border-radius: 12px;
  transition: all 0.25s ease;
}
.btn--video::after {
  content: "\25B6";
  position: absolute;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding-left: 1px;
  font-size: 10px;
  line-height: 1;
  color: var(--white);
  background: var(--black);
  border-radius: 50%;
}
.btn--video:hover {
  color: var(--black);
  background: #f2f2f2;
}
.btn-group {
  margin-top: 15px;
  line-height: 0;
}
.btn-group .btn {
  margin-right: 5px;
}

/* ==========================================================================
   Fixed header (tb-358 / tb-3647 "header-outer"): full-width bar at the top of the window
   ========================================================================== */
.sp-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  padding: 0 35px;
  background: var(--white);
}

/* UK / North America site bar at the top of the header (shown by site.js) */
.sp-region {
  display: none;
  position: relative;
  margin: 0 -35px;
  padding: 12px 50px;
  background: var(--yellow);
  color: var(--black);
  font-size: 16px;
  font-weight: 500;
  line-height: 22px; /* whole pixels, so the logo below never sits on a half pixel */
  text-align: center;
}
.sp-region.is-visible {
  display: block;
}
.sp-region__text {
  margin: 0;
  padding: 0;
}
.sp-region__link {
  margin-left: 6px;
  color: var(--black);
  font-weight: 600;
  text-decoration: underline;
}
.sp-region__link:hover {
  text-decoration: none;
}
.sp-region__close {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--black);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}
.sp-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;
  padding: 5px 15px;
  background-color: var(--white);
}
.sp-header__logo {
  width: 29.6667%;
  margin-right: 5.5%;
  line-height: 0;
}
.sp-header__logo img {
  display: block;
  width: 174px;
  height: 24px;
}
.sp-nav {
  display: flex;
  justify-content: flex-end;
  flex: 1 1 auto;
  padding: 10px 0 10px 10px;
}
.sp-nav__menu {
  display: flex;
  align-items: center;
  gap: 45px;
}
.sp-nav__menu a {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 14px;
  color: var(--black);
  transition: opacity 0.4s ease-in-out;
}
.sp-nav__menu a:hover {
  opacity: 0.7;
}
.sp-nav__menu li:last-child a {
  padding: 15px 20px;
  font-weight: 600;
  color: var(--white);
  background-color: var(--black);
  border-radius: 10px;
}
.sp-nav__menu li:last-child a:hover {
  background-color: var(--teal);
  opacity: 1;
}
.sp-nav__toggle {
  display: none;
  position: relative;
  width: 32px;
  height: 32px;
  margin-right: 13px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--black);
  line-height: 0;
  cursor: pointer;
}
.sp-nav__toggle::before {
  content: "a";
  font-family: "ETmodules";
  font-size: 32px;
  line-height: 1;
}
.sp-nav__toggle.is-open::before,
.sp-nav__toggle.is-open::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 15px;
  width: 2px;
  height: 20px;
  background: var(--black);
  border-radius: 5px;
  transform: rotate(45deg);
}
.sp-nav__toggle.is-open::after {
  transform: rotate(-45deg);
}
.sp-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  width: 100%;
  padding: 5%;
  background: var(--white);
  border-top: 1px solid var(--ink);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: left;
}
.sp-mobile-menu.is-open {
  display: block;
}
.sp-mobile-menu a {
  display: block;
  padding: 10px 5%;
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  transition: opacity 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
.sp-mobile-menu a:hover {
  background-color: rgba(0, 0, 0, 0.03);
  opacity: 0.7;
}
.sp-mobile-menu li:last-child a {
  display: inline-block;
  margin: 15px 0;
  padding: 8.5px 20px;
  font-weight: 600;
  color: var(--white);
  background-color: var(--black);
  border-radius: 10px;
  border-bottom: 0;
}
.sp-mobile-menu li:last-child a:hover {
  background-color: var(--teal);
  opacity: 1;
}

/* ==========================================================================
   Shared section pieces
   ========================================================================== */
/* Centred section intro (heading + optional sub text) */
.intro {
  text-align: center;
}
.intro__title {
  font-size: 40px;
  line-height: 50px;
  letter-spacing: -0.16px;
  color: var(--black);
  margin: 0 auto;
  text-align: center;
}
.intro__text {
  margin: 20px auto 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--ink);
}
.intro--light .intro__title {
  color: var(--white);
}
.intro--light .intro__text {
  color: var(--white-75);
}

/* Small pill label above a heading */
.label {
  position: relative;
  display: block;
  width: 100%;
  padding: 2px 8px 2px 20px;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  color: var(--teal-dark);
  background-color: var(--teal-pale);
  border-radius: 16px;
  overflow: hidden;
}
.label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 7px;
  width: 6px;
  height: 6px;
  background-color: var(--teal);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Lists with a square tick / cross icon */
.tick-list li {
  position: relative;
  margin: 15px 0 0;
  padding-left: 31px;
  font-size: 16px;
  line-height: 26px;
  color: var(--black);
}
.tick-list li::before {
  content: "";
  position: absolute;
  top: 1.5px;
  left: 0;
  width: 22px;
  height: 22px;
  background: url("../img/icons/tick-teal.svg") no-repeat center / contain;
}
.tick-list--yellow li::before {
  background-image: url("../img/icons/tick-yellow.svg");
}
.tick-list--black li::before {
  top: 0;
  width: 23px;
  background-image: url("../img/icons/tick-black.svg");
}

/* Square icon box (feature grids and step boxes) */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  line-height: 0;
}
.icon-box img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* ==========================================================================
   Hero (StockPulse landing)
   ========================================================================== */
.hero {
  margin: 15px;
  padding: 150px 20px 10px;
  background-color: var(--teal);
  border-radius: 15px;
  overflow: hidden;
}
.hero__content .btn-group {
  margin-top: 15px;
}
.hero__label {
  max-width: 270px;
}
.hero__title {
  margin-top: 20px;
  font-size: 55px;
  line-height: 60px;
  letter-spacing: -0.32px;
  color: var(--black);
}
.hero__text {
  max-width: 505px;
  margin: 20px 0 63px;
  font-size: 18px;
  line-height: 28px;
  color: var(--ink);
}
.col--shift {
  left: 8%;
}
.hero__image {
  display: flex;
  justify-content: flex-end;
  line-height: 0;
}
.hero__image img {
  border-radius: 16px;
}

/* ==========================================================================
   Logo row ("Trusted by leading UK dealer groups")
   ========================================================================== */
.logos {
  padding: 85px 20px 100px;
}
.logos__title {
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.16px;
  color: var(--black);
  text-align: center;
}
.logo-grid {
  display: flex;
  max-width: 1033px;
  margin: 40px auto 0;
  background-color: var(--white);
  border: 1px solid var(--grey-line);
  border-bottom-width: 0;
}
.logo-grid + .logo-grid {
  margin-top: 0;
  border-bottom-width: 1px;
}
.logo-grid--single {
  border-bottom-width: 1px;
}
.logo-grid__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20%;
  min-height: 101px;
  padding: 23px;
  border-right: 1px solid var(--grey-line);
  line-height: 0;
}
.logo-grid--six .logo-grid__cell {
  width: 16.6667%;
}
.logo-grid__cell:last-child {
  border-right: 0;
}
.logo-grid__cell img {
  width: auto;
}
.logos__note {
  margin: 35px 0 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--ink);
  text-align: center;
}
.logos--grey {
  padding: 100px 20px;
  background-color: var(--grey-soft);
}
.logos--grey .logos__title {
  font-size: 20px;
  letter-spacing: -0.2px;
}
.logos--grey .logo-grid {
  margin-top: 45px;
}

/* ---------- Inline explainer video ---------- */
.page-video {
  position: relative;
  margin: 50px 0 34px;
  line-height: 0;
}
.page-video video {
  display: block;
  width: 100%;
  height: auto;
}
.page-video__overlay {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50%;
  cursor: pointer;
}
.page-video__overlay.is-hidden {
  display: none;
}
.page-video__hover {
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
  transition: all 0.5s ease-in-out;
}
.page-video__hover:hover {
  background: rgba(0, 0, 0, 0.6);
}
.page-video__play {
  position: absolute;
  z-index: 100;
  top: 50%;
  left: 50%;
  margin: -3rem 0 0 -3rem;
  font-family: "ETmodules";
  font-size: 6rem;
  line-height: 6rem;
  color: var(--white);
}
.page-video__play::before {
  content: "I";
}
.page-video__cta {
  display: none;
  position: absolute;
  z-index: 20;
  top: 57%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
}
.page-video__cta.is-visible {
  display: inline-block;
}

/* ==========================================================================
   Dark feature grid ("Everything finance directors need ...")
   ========================================================================== */
.finance {
  padding: 100px 20px;
  background-color: var(--black);
}
.finance .intro {
  max-width: 650px;
  margin: 0 auto 50px;
}
.feature-grid {
  display: flex;
}
.feature {
  width: 25%;
  padding: 20px 20px 83px;
  border: 0 solid var(--ink);
}
.feature-grid--top .feature:nth-child(1),
.feature-grid--top .feature:nth-child(2) { border-width: 1px 0 1px 1px; }
.feature-grid--top .feature:nth-child(3) { border-width: 1px; }
.feature-grid--top .feature:nth-child(4) { border-width: 1px 1px 1px 0; }
.feature-grid--bottom .feature {
  padding-bottom: 31px;
}
.feature-grid--bottom .feature:nth-child(1),
.feature-grid--bottom .feature:nth-child(2) { border-width: 0 0 1px 1px; }
.feature-grid--bottom .feature:nth-child(3) { border-width: 0 1px 1px 1px; }
.feature-grid--bottom .feature:nth-child(4) { border-width: 0 1px 1px 0; }
.feature__title {
  margin-top: 20px;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.08px;
  color: var(--white);
}
.feature__text {
  max-width: 250px;
  margin-top: 5px;
  font-size: 16px;
  line-height: 26px;
  color: var(--white-75);
}
.feature__text--narrow {
  max-width: 240px;
}
.feature__text--wide {
  max-width: none;
}

/* ==========================================================================
   Before / after StockPulse
   ========================================================================== */
.compare {
  padding: 100px 20px;
  background-color: var(--white);
}
.compare .intro {
  margin-bottom: 50px;
}
.compare .intro__title {
  max-width: 780px;
}
.compare .intro__text {
  max-width: 505px;
}
.compare__row {
  display: flex;
  max-width: 1030px;
  margin: 0 auto;
}
.compare__card {
  position: relative;
  width: 48%;
  margin: 0 1%;
  padding: 15px 15px 31px;
  background-color: var(--white);
  border: 1px solid var(--ink);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 4px 4px var(--black);
}
.compare__label {
  position: absolute;
  z-index: 1;
  top: 35px;
  left: 35px;
  width: 100%;
  max-width: 180px;
  padding: 10.5px;
  font-size: 14px;
  line-height: 14px;
  color: var(--black);
  background-color: var(--white);
  border-radius: 5px;
  text-align: center;
}
.compare__image {
  line-height: 0;
}
.compare__image img {
  width: 100%;
  height: 275px;
  object-fit: cover;
  border-radius: 5px;
}
.compare__list {
  margin-top: 31px;
  font-size: 14px;
  line-height: 24px;
  color: var(--black);
}
.compare__list li {
  position: relative;
  min-height: 138px;
  padding: 17px 17px 17px 47px;
  line-height: 26px;
  background-color: var(--white);
}
.compare__list li:nth-child(even) {
  background-color: var(--grey-soft);
}
.compare__list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 17px;
  width: 22px;
  height: 22px;
  background: url("../img/icons/cross-black.svg") no-repeat center / contain;
}
.compare__list--after li::before {
  background-image: url("../img/icons/tick-teal.svg");
}

/* ==========================================================================
   Dealer groups ("The complete end-to-end stock reconciliation solution")
   ========================================================================== */
.dealer {
  padding: 100px 20px 0;
  background-color: var(--black);
  overflow: hidden;
}
.dealer .intro {
  margin-bottom: 55px;
}
.dealer .intro__title {
  max-width: 820px;
}
.dealer .intro__text {
  max-width: 610px;
  color: var(--white);
}
.dealer-boxes {
  display: flex;
}
.dealer-box {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
  width: 32%;
  margin: 20px 1% 0;
  padding: 25px;
  background-color: var(--teal);
  border-radius: 15px;
  overflow: hidden;
}
.dealer-box--yellow {
  background-color: var(--yellow);
}
.dealer-boxes--two .dealer-box {
  width: 49%;
}
/* Divi drops the right margin of the last column in a row */
.dealer-box:last-child,
.team-card:last-child,
.quote-card:last-child {
  margin-right: 0;
}
.dealer-box__text {
  width: 100%;
  font-size: 18px;
  line-height: 28px;
  color: var(--ink);
}
.dealer-box__text h6 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -0.16px;
  color: var(--black);
}
.dealer-box__text--w540 { max-width: 540px; align-self: flex-start; }
.dealer-box__text--w517 { max-width: 517px; align-self: flex-start; }
.dealer-box__img {
  margin: 25px 0 -25px;
  line-height: 0;
  text-align: center;
}
.dealer-box__img--phone {
  max-width: 245px;
}
.dealer-box__img--left {
  align-self: flex-start;
  margin-right: -15px;
}
.dealer-box__img--left-wide {
  align-self: flex-start;
  margin-right: -25px;
}
.dealer .intro.dealer__steps-title {
  max-width: 740px;
  margin: 100px auto 75px;
}
.steps {
  display: flex;
}
.step {
  position: relative;
  width: 33.33%;
  padding: 30px 20px 34px;
  border: 0 solid var(--ink);
}
.steps--top .step:nth-child(1) { border-width: 1px 0 1px 1px; }
.steps--top .step:nth-child(2) { border-width: 1px; }
.steps--top .step:nth-child(3) { border-width: 1px 1px 1px 0; }
.steps--bottom .step:nth-child(1) { border-width: 0 0 1px 1px; }
.steps--bottom .step:nth-child(2) { border-width: 0 1px 1px 1px; }
.step__num {
  font-size: 30px;
  font-weight: 300;
  line-height: 40px;
  letter-spacing: -0.08px;
  color: var(--yellow);
}
.step__icon {
  position: absolute;
  top: 25px;
  right: 25px;
}
.step__title {
  margin-top: 25px;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.08px;
  color: var(--white);
}
.step__text {
  margin-top: 10px;
  font-size: 16px;
  line-height: 26px;
  color: var(--white-75);
}
.dealer__summary {
  margin-top: 75px;
}
.dealer__summary .col {
  margin-right: 0;
}
.dealer__summary-img {
  display: flex;
  justify-content: flex-end;
  margin-right: -10%;
  line-height: 0;
}
.dealer__summary-img img {
  width: 100%;
  border-top-left-radius: 16px;
}

/* ==========================================================================
   Finance teams ("Built specifically for automotive finance teams")
   ========================================================================== */
.teams {
  padding: 100px 20px 110px;
  background-color: var(--white);
  /* zig-zag rows slide in from off-screen; stop the page scrolling sideways */
  overflow-x: clip;
}
.teams .intro {
  margin-bottom: 30px;
}
.teams .intro__title {
  max-width: 620px;
}
.teams .intro__text {
  max-width: 410px;
}
.team-cards {
  display: flex;
  padding-bottom: 50px;
}
.team-card {
  width: 32%;
  margin: 20px 1% 0;
  padding: 30px 20px 20px;
  border: 1px solid var(--grey-line);
  border-radius: 15px;
  overflow: hidden;
}
.team-card__label {
  display: block;
  width: 100%;
  max-width: 125px;
  margin-bottom: 20px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  color: var(--teal);
  background-color: var(--teal-pale);
  border-radius: 4px;
  text-align: center;
}
.team-card__label--yellow {
  max-width: 155px;
  color: var(--yellow-dark);
  background-color: var(--yellow-pale);
}
.team-card__label--grey {
  max-width: 155px;
  color: var(--ink);
  background-color: #f6f6f6;
}
.team-card__icon {
  background-color: var(--ink);
}
.team-card__title {
  margin-top: -53px;
  padding-left: 60px;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.16px;
  color: var(--black);
}
.team-card__list {
  margin-top: 20px;
  padding-top: 5px;
  border-top: 1px solid var(--grey-tint);
  font-size: 14px;
  line-height: 24px;
  color: var(--black);
}
.team-card__list li {
  position: relative;
  padding: 16px 20px 16px 47px;
  line-height: 26px;
}
.team-card__list li:nth-child(even) {
  background-color: var(--grey-soft);
}
.team-card__list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 17px;
  width: 22px;
  height: 22px;
  background: url("../img/icons/tick-teal.svg") no-repeat center / contain;
}

/* Zig-zag feature rows */
.zigzag {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  margin-top: 100px;
}
.zigzag--reverse {
  flex-direction: row-reverse;
}
.zigzag__img {
  width: 49%;
  margin-left: 1%;
  padding: 60px;
  background-color: var(--teal);
  border-radius: 20px;
  overflow: hidden;
  line-height: 0;
}
.zigzag__img img {
  border-radius: 20px;
}
.zigzag--reverse .zigzag__img {
  background-color: var(--yellow);
}
.zigzag__content {
  width: 49%;
  margin-right: 1%;
  padding: 0 10px;
}
.zigzag__inner {
  max-width: 400px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 28px;
  color: var(--ink);
}
.zigzag__inner h2 {
  max-width: 313px;
  margin: 0 0 15px;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -0.16px;
  color: var(--black);
}
.zigzag__content--short .zigzag__inner h2 { max-width: 300px; }
.zigzag__content--full .zigzag__inner h2 { max-width: none; }
.zigzag__inner ul {
  margin: 32px 0 0;
}

/* ==========================================================================
   Customers ("Trusted by leading UK dealer groups" testimonials)
   ========================================================================== */
.customers {
  padding: 100px 20px;
  background-color: var(--grey-soft);
}
.customers .intro {
  margin-bottom: 30px;
}
.customers .intro__title {
  max-width: 420px;
}
.customers .intro__text {
  max-width: 510px;
}
.quote-cards {
  display: flex;
}
.quote-card {
  width: 32%;
  margin: 20px 1% 0;
  padding: 35px;
  border: 1px solid var(--ink);
  border-radius: 15px;
  overflow: hidden;
}
.quote-card__text {
  margin-bottom: 35px;
  font-size: 18px;
  line-height: 28px;
  color: var(--ink);
}
.quote-card__text em {
  font-style: normal;
  color: var(--teal);
}
.quote-card__photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  line-height: 0;
}
.quote-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quote-card__author {
  margin-top: -52px;
  padding-left: 60px;
  font-size: 16px;
  line-height: 16px;
  color: var(--ink-75);
}
.quote-card__author h6 {
  margin: 0 0 5px;
  font-size: 18px;
  line-height: 28px;
  color: var(--black);
}

/* ==========================================================================
   Book a demo (teal section with HubSpot form)
   ========================================================================== */
.demo {
  margin: 0 15px 15px;
  padding: 50px 20px 125px;
  background-color: var(--teal);
  border-radius: 15px;
  overflow: hidden;
}
.demo__row {
  padding-top: 50px;
}
.demo__title {
  max-width: 460px;
  padding-top: 20px;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: -0.16px;
  color: var(--black);
}
.demo__text {
  max-width: 414px;
  padding-top: 30px;
  font-size: 18px;
  line-height: 28px;
  color: var(--ink);
}
.demo__text ul {
  margin: 36px 0 0;
}
/* "Request your demo" form card (native form styled like the old HubSpot embed) */
.demo-form {
  padding: 40px;
  background-color: var(--white);
  border: 1px solid var(--ink);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 5px 5px 0 0 var(--black);
}
.demo-form__title {
  margin-bottom: 70px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--black);
}
.demo-form .contact-form__row {
  display: flex;
  gap: 30px;
  margin-bottom: 32px;
}
.demo-form .contact-form__field {
  flex: 1 1 0;
  margin: 0;
  padding: 0;
}
.demo-form .contact-form__field label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.demo-form .contact-form__field--labelled label {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 15px;
  color: #33475b;
  clip: auto;
}
.demo-form input,
.demo-form textarea {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 10px 12px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4em;
  color: #33475b;
  background-color: #f5f8fa;
  border: 1px solid #cbd6e2;
  border-radius: 0;
  outline: 0;
}
.demo-form textarea {
  height: 76px;
  resize: vertical;
}
.demo-form input::placeholder,
.demo-form textarea::placeholder {
  color: #7c98b6;
  opacity: 1;
}
.demo-form input:focus,
.demo-form textarea:focus {
  border-color: var(--teal);
}
.demo-form input.is-invalid,
.demo-form textarea.is-invalid {
  border-color: #e06666;
}
.demo-form__consent {
  margin-top: 42px;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  color: #33475b;
}
.demo-form__consent a {
  color: var(--teal);
  text-decoration: underline;
}
.demo-form .contact-form__actions {
  margin-top: 85px;
  text-align: center;
}
.demo-form .contact-message {
  padding-bottom: 1em;
  font-size: 14px;
  color: var(--ink);
}
.demo-form .contact-message.is-error {
  color: #c0392b;
}
.demo-form .et-pb-contact-message {
  font-size: 18px;
  color: var(--black);
}
.contact-form__honey {
  display: none !important;
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq {
  padding: 85px 20px 100px;
  background-color: var(--white);
}
.faq .intro {
  padding-bottom: 35px;
}
.faq__item {
  max-width: 825px;
  margin: 15px auto 0;
  padding: 33px 30px;
  border: 1px solid var(--ink);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 3px 3px var(--black);
}
.faq__q {
  position: relative;
  padding-right: 60px;
  font-size: 18px;
  line-height: 26px;
  color: var(--black);
  cursor: pointer;
}
.faq__q::before,
.faq__q::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 3px;
  height: 15px;
  background-color: var(--black);
  border-radius: 5px;
  transform: translateY(-50%);
  transition: ease all 0.5s;
}
.faq__q::after {
  transform: translateY(-50%) rotate(90deg);
}
.faq__q.is-active::before {
  opacity: 0;
}
.faq__a {
  display: none;
  max-width: 705px;
  margin-top: 15px;
  font-size: 16px;
  line-height: 26px;
  color: var(--ink);
  overflow: hidden;
}

/* ==========================================================================
   Video lightbox (Watch Video button)
   ========================================================================== */
.video-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  width: 100vw;
  height: 100vh;
  padding: 30px;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}
.video-lightbox.is-active {
  display: flex;
}
.video-lightbox__inner {
  position: relative;
  width: 90%;
  max-width: 1100px;
}
.video-lightbox video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 85vh;
}
.video-lightbox__close {
  position: absolute;
  top: -45px;
  right: 0;
  font-size: 35px;
  line-height: 35px;
  color: var(--white);
  cursor: pointer;
}
/* "Book a Demo" shown over a finished video (lightbox and inline) */
.video-cta {
  display: none;
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  padding: 14px 32px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
  color: #111;
  background: var(--white);
  border: 1px solid var(--white);
  border-radius: 8px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: all 0.25s ease;
}
.video-cta.is-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.video-cta:hover {
  color: #111;
  background: #f2f2f2;
}

/* ==========================================================================
   Footer ("Our Details") - same markup/CSS as the CPHI home page
   ========================================================================== */
.footer {
  padding: 90px 0;
  color: var(--text-light);
}
.footer__row {
  width: 70%;
  max-width: 70%;
}
.blurb {
  font-weight: 300;
}
.bg-dark .blurb__header {
  color: var(--text-light);
}
.blurb--icon {
  display: table;
}
.blurb--icon .blurb__icon {
  display: table-cell;
  width: 32px;
  line-height: 0;
  vertical-align: top;
}
.blurb--icon .blurb__body {
  display: table-cell;
  padding-left: 15px;
  vertical-align: top;
}
.icon {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
}
.icon--fa {
  font-family: "FontAwesome" !important;
  font-weight: 900 !important;
}
.icon--et {
  font-family: "ETmodules" !important;
  font-weight: 400 !important;
}
.footer__intro {
  font-weight: 300;
}
.footer__intro .blurb__header {
  padding-bottom: 10px;
  font-size: 20px;
  line-height: 1.1em;
  color: var(--text-light);
}
.contact-line {
  margin-top: 20px;
  font-weight: 300;
  color: var(--text-light);
}
.contact-line .icon {
  font-size: 17px;
  color: var(--text-light);
}
.contact-line a {
  color: var(--text-light);
}
.footer__form-title {
  padding-bottom: 10px;
  font-size: 20px;
  line-height: 1.1em;
  letter-spacing: 1px;
  color: var(--text-light);
}
.footer__legal {
  padding-top: 27px;
  padding-bottom: 0;
  font-weight: 300;
  text-align: center;
}
.footer__legal p {
  padding-bottom: 0;
}
.footer__legal p + p {
  margin-top: 27px;
}

/* Footer contact form (identical to the CPHI home page) */
.contact-form-wrap {
  position: relative;
}
.footer .contact-form {
  margin-left: -3%;
}
.footer .contact-form::after {
  content: "";
  display: table;
  clear: both;
}
.footer .contact-form__field {
  float: left;
  width: 100%;
  padding: 0 0 3% 3%;
  margin: 0;
}
.footer .contact-form__field--half {
  width: 50%;
}
.footer .contact-form__field label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.footer .contact-form input,
.footer .contact-form textarea {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  padding: 16px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.4em;
  color: var(--text-light);
  background-color: transparent;
  border: 1px solid var(--text-light);
  border-radius: 0;
  outline: 0;
}
.footer .contact-form input::placeholder,
.footer .contact-form textarea::placeholder {
  color: var(--text-light);
  opacity: 1;
}
.footer .contact-form input.is-invalid,
.footer .contact-form textarea.is-invalid {
  border-color: #e06666;
}
.footer .contact-form textarea {
  min-height: 150px;
  resize: vertical;
}
.footer .contact-form__actions {
  float: right;
  margin-top: -1.5%;
  text-align: right;
}
.footer .contact-form__actions .btn-pill {
  margin: 10px 0 0 18px;
}
.btn-pill {
  position: relative;
  display: inline-block;
  padding: 10px 30px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7em;
  color: var(--text-light);
  background: transparent;
  border: 1px solid var(--text-light);
  border-radius: 100px;
  cursor: pointer;
  transition: all 300ms ease 0ms;
  white-space: nowrap;
}
.btn-pill:hover {
  padding-right: 2em;
  padding-left: 0.7em;
}
.btn-pill[disabled] {
  opacity: 0.6;
  cursor: wait;
}
.contact-message,
.et-pb-contact-message {
  padding-bottom: 1em;
  color: var(--white);
}
.contact-message.is-error {
  color: #ffb3b3;
}

/* ==========================================================================
   Book a demo page
   ========================================================================== */
.book-hero {
  margin: 15px 15px 0;
  padding: 200px 20px 145px;
  background-color: var(--teal);
  border-radius: 15px;
  overflow: hidden;
}
.book-hero__title {
  max-width: 505px;
  font-size: 40px;
  line-height: 45px;
  letter-spacing: -0.8px;
  color: var(--black);
}
.book-hero__title span {
  color: var(--white);
}
.book-hero__text {
  max-width: 505px;
  margin-top: 20px;
  font-size: 18px;
  line-height: 28px;
  color: var(--ink);
}
.book-hero__text ul {
  margin-top: 30px;
  padding-bottom: 1em;
}
.book-hero__text li::before {
  top: 2px;
  width: 22px;
}
.book-hero__form {
  max-width: 505px;
  margin-left: auto;
  padding: 15px;
  background-color: var(--white);
  border: 1px solid var(--ink);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 5px 5px 0 0 var(--black);
}

.stats {
  padding: 100px 20px;
}
.stats__row {
  display: flex;
  padding-top: 55px;
}
.stat {
  text-align: center;
}
.stat__num {
  font-size: 70px;
  line-height: 1.1em;
  color: #333;
}
.stat__label {
  margin-top: 12px;
  font-size: 16px;
  line-height: 26px;
  color: var(--black);
}

.saying {
  padding: 100px 20px;
}
.saying__title {
  font-size: 40px;
  line-height: 36px;
  letter-spacing: -0.4px;
  text-align: center;
}
.testimonials {
  display: flex;
  padding-top: 75px;
}
.testimonial-col {
  display: flex;
  flex-direction: column;
  width: calc(33.33% - 10px);
  margin-right: 15px;
}
.testimonial-col:last-child {
  margin-right: 0;
}
.testimonial {
  position: relative;
  height: 100%;
  margin-right: 5px;
  padding: 30px 25px 25px;
  background-color: var(--white);
  border: 1px solid var(--ink);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 5px 5px 0 0 var(--black);
  line-height: 1.5;
}
.testimonial__body {
  min-height: 178px;
  margin-bottom: 33px;
}
.testimonial__quote {
  position: relative;
  padding-top: 34px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgba(47, 47, 47, 0.9);
}
.testimonial__quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 14px;
  background: url("../img/quote.svg") no-repeat center / contain;
}
.testimonial__author {
  display: block;
  width: calc(100% - 80px);
  font-size: 16px;
  font-weight: 700;
  line-height: 1em;
  color: var(--ink);
}
.testimonial__position {
  display: block;
  width: calc(100% - 80px);
  max-width: 240px;
  margin-top: 5px;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: rgba(47, 47, 47, 0.9);
}
.testimonial-col:nth-child(2) .testimonial__position {
  max-width: 170px;
}
.testimonial__photo {
  position: absolute;
  right: 25px;
  bottom: 25px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}

/* "Find out how much time you can save" call to action */
.cta {
  padding: 195px 0 0 20px;
  background-color: var(--black);
  overflow: hidden;
}
.cta--yellow {
  background-color: var(--yellow);
}
.cta__title {
  max-width: 820px;
  padding-top: 48px;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: -0.4px;
  color: var(--white);
}
.cta--yellow .cta__title {
  color: var(--black);
}
.cta__text {
  max-width: 400px;
  padding-top: 20px;
  font-size: 18px;
  line-height: 28px;
  color: var(--white);
}
.cta--yellow .cta__text {
  color: var(--ink-75);
}
.cta__btn {
  margin-top: 25px;
}
.cta--yellow .cta__btn {
  margin-top: 35px;
}
.cta__image {
  display: flex;
  justify-content: flex-end;
  width: 111.3%;
  margin-left: auto;
  line-height: 0;
}
.cta__image img {
  border-radius: 16px;
}

/* ==========================================================================
   Resources page
   ========================================================================== */
.res-hero {
  margin: 15px 15px 0;
  padding: 200px 20px 90px;
  background-color: var(--teal);
  border-radius: 15px;
  overflow: hidden;
}
.res-hero__title {
  padding-bottom: 10px;
  font-size: 52px;
  line-height: 52px;
  letter-spacing: -1.04px;
  color: var(--white);
  text-align: center;
}
.res-hero__text {
  max-width: 609px;
  margin: 10px auto 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--ink);
  text-align: center;
}
.res-hero__featured {
  padding-top: 50px;
}
.featured-card {
  padding: 15px;
  background-color: var(--white);
  border: 1px solid var(--ink);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 5px 5px 0 0 var(--black);
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.post-card--featured {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}
.post-card__image {
  display: block;
  line-height: 0;
}
.post-card--featured .post-card__image {
  width: 50%;
  line-height: 1.4em;
}
.post-card--featured .post-card__image img {
  width: 100%;
  aspect-ratio: 76 / 51;
  object-fit: cover;
  border-radius: 10px;
}
.post-card--featured .post-card__content {
  width: 50%;
  padding: 20px 79px 20px 125px;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.post-meta__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: calc(100% - 80px);
}
.post-tag {
  position: relative;
  display: block;
  padding: 2px 8px 2px 20px;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  color: var(--teal-dark);
  background: var(--teal-pale);
  border-radius: 16px;
  text-align: center;
}
.post-tag::before,
.post-min::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 6px;
  width: 6px;
  height: 6px;
  background-color: var(--teal-dark);
  border-radius: 50%;
  transform: translateY(-50%);
}
.cat-webinars .post-tag {
  color: #985108;
  background: var(--yellow-pale);
}
.cat-webinars .post-tag::before {
  background: var(--yellow);
}
.post-min {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.12px;
  color: var(--ink);
}
.post-min::before {
  left: 0;
  background: var(--ink);
}
.post-date {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.12px;
  color: var(--ink);
  text-align: right;
}
.post-card__title {
  padding: 15px 0;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -0.3px;
  color: var(--black);
}
.post-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.08px;
  color: var(--ink);
}
.post-btn {
  display: inline-block;
  margin-top: 35px;
  font-size: 18px;
  font-weight: 600;
  line-height: 21px;
  color: var(--teal);
  transition: all 0.4s ease-in-out;
}
.post-btn::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-left: 8px;
  vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='11' viewBox='0 0 16 11' fill='none'%3E%3Cpath d='M9.12012 0.5C9.51064 0.109476 10.1446 0.109476 10.5352 0.5L14.7783 4.74316L14.8467 4.81934C14.8894 4.87174 14.9265 4.92725 14.957 4.98535C15.0638 5.18856 15.0955 5.42097 15.0527 5.6416C15.0405 5.70468 15.0225 5.76692 14.998 5.82715C14.9492 5.94747 14.8759 6.06061 14.7783 6.1582L10.5361 10.3994C10.1456 10.7899 9.51259 10.7899 9.12207 10.3994C8.73166 10.0089 8.73159 9.37584 9.12207 8.98535L11.7275 6.37988H1C0.447809 6.37988 0.000152271 5.93204 0 5.37988C0 4.8276 0.447715 4.37988 1 4.37988H11.5869L9.12012 1.91406C8.72996 1.52358 8.72988 0.890439 9.12012 0.5Z' fill='%2307B4B7'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: all 0.4s ease-in-out;
}
.post-btn:hover {
  color: var(--black);
}
.post-btn:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='11' viewBox='0 0 16 11' fill='none'%3E%3Cpath d='M9.12012 0.5C9.51064 0.109476 10.1446 0.109476 10.5352 0.5L14.7783 4.74316L14.8467 4.81934C14.8894 4.87174 14.9265 4.92725 14.957 4.98535C15.0638 5.18856 15.0955 5.42097 15.0527 5.6416C15.0405 5.70468 15.0225 5.76692 14.998 5.82715C14.9492 5.94747 14.8759 6.06061 14.7783 6.1582L10.5361 10.3994C10.1456 10.7899 9.51259 10.7899 9.12207 10.3994C8.73166 10.0089 8.73159 9.37584 9.12207 8.98535L11.7275 6.37988H1C0.447809 6.37988 0.000152271 5.93204 0 5.37988C0 4.8276 0.447715 4.37988 1 4.37988H11.5869L9.12012 1.91406C8.72996 1.52358 8.72988 0.890439 9.12012 0.5Z' fill='%23000000'/%3E%3C/svg%3E");
}

.articles {
  padding: 100px 20px;
}
.articles__title {
  margin-bottom: 15px;
  padding-bottom: 10px;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: -0.4px;
  color: var(--black);
  text-align: center;
}
.filters {
  text-align: center;
}
.filters__group {
  display: inline-block;
  padding: 5px;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 15px;
  text-align: center;
}
.filters__group button {
  min-width: 119px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
  border: 0;
  border-radius: 10px;
  opacity: 0.25;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filters__group button.is-active,
.filters__group button:hover {
  color: var(--white);
  background: var(--black);
  opacity: 1;
}
.post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 34px;
  padding-top: 75px;
}
.post-grid .post-card {
  width: calc(33.33% - 13.33px);
  border: 1px solid var(--ink);
  border-radius: 15px;
}
.post-grid .post-card__image {
  position: relative;
  margin: 10px;
  padding-top: 73%;
}
.post-grid .post-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}
.post-grid .post-card__content {
  position: relative;
  flex-grow: 1;
  padding: 10px 30px 62px;
}
.post-grid .post-card__excerpt {
  -webkit-line-clamp: 3;
  margin-bottom: 35px;
}
.post-grid .post-btn {
  position: absolute;
  bottom: 40px;
}
.post-grid .post-card.is-hidden {
  display: none;
}

/* US landing page tweaks */
.page-stockpulse-us .compare .intro__title {
  max-width: 700px;
}
.page-stockpulse-us .feature-grid--top .feature {
  padding-bottom: 31px;
}
.page-stockpulse-us .hero__label {
  max-width: 300px;
}

/* ==========================================================================
   Wide screens (>= 1441px) - Divi rules for the hero image
   ========================================================================== */
@media (min-width: 1441px) {
  .hero__image {
    min-width: 807px;
  }
  .hero__image img {
    width: 100%;
  }
}
@media (min-width: 1640px) {
  .dealer__summary-img { min-width: 126%; margin-right: 0; }
}
@media (min-width: 1710px) {
  .dealer__summary-img { min-width: 138%; }
}
@media (max-width: 1370px) {
  .dealer__summary-img { margin-right: -5%; }
}
@media (max-width: 1300px) {
  .dealer__summary-img { margin-right: 0; }
}
@media (min-width: 981px) and (max-width: 1150px) {
  .sp-nav__menu { gap: 22px; }
}
@media (min-width: 980px) and (max-width: 1160px) {
  .hero__title { font-size: 40px; line-height: 50px; }
}

/* ==========================================================================
   Tablet and below (<= 980px)
   ========================================================================== */
@media (max-width: 980px) {
  .cols {
    flex-direction: column;
  }
  .col,
  .cols--g2 > .col {
    width: 100% !important;
    margin-right: 0;
    margin-bottom: 30px;
  }
  .col:last-child {
    margin-bottom: 0;
  }

  /* header */
  .sp-header {
    padding: 0;
  }
  .sp-region {
    margin: 0;
  }
  .sp-header__bar {
    padding: 0;
  }
  .sp-header__logo {
    width: auto;
    margin: 0;
    padding: 23px 10px 23px 20px; /* 23 + 24px logo + 23 keeps the bar 70px tall */
  }
  .sp-nav {
    display: none;
  }
  .sp-nav__toggle {
    display: block;
    margin-left: auto;
  }

  /* hero */
  .hero__title {
    font-size: 55px;
    line-height: 60px;
  }
  .hero__text {
    max-width: 100%;
    margin-bottom: 30px;
  }

  /* logos */
  .logos,
  .faq {
    padding-top: 45px;
    padding-bottom: 60px;
  }
  .logos--grey {
    padding: 60px 20px;
  }
  .logo-grid {
    flex-wrap: wrap;
    border-bottom-width: 0;
  }
  .logo-grid + .logo-grid {
    border-bottom-width: 1px;
  }
  .logo-grid__cell,
  .logo-grid--six .logo-grid__cell {
    width: 33.33%;
    padding: 20px 10px;
    border-right-width: 0;
    border-bottom: 1px solid var(--grey-line);
  }
  .logo-grid__cell:nth-child(2n) {
    border-right-width: 1px;
  }
  .logo-grid__cell:nth-child(3n),
  .logo-grid__cell:nth-child(4n),
  .logo-grid__cell:nth-child(5n),
  .logo-grid__cell:nth-child(6n) {
    border-bottom: 0;
  }
  .logo-grid--five .logo-grid__cell:nth-child(4),
  .logo-grid--five .logo-grid__cell:nth-child(5) {
    width: 50%;
  }
  .logo-grid--five .logo-grid__cell:nth-child(3) {
    border-right-width: 0;
  }
  .logo-grid--five .logo-grid__cell:nth-child(4) {
    border-right-width: 1px;
  }
  .logo-grid--six .logo-grid__cell:nth-child(1),
  .logo-grid--six .logo-grid__cell:nth-child(2) {
    border-bottom: 1px solid var(--grey-line);
  }
  .logo-grid--six .logo-grid__cell:nth-child(3) {
    border-bottom: 1px solid var(--grey-line);
    border-right-width: 0;
  }
  .logo-grid--six .logo-grid__cell:nth-child(4),
  .logo-grid--six .logo-grid__cell:nth-child(5) {
    border-right-width: 1px;
  }
  .page-video__play {
    font-size: 3rem;
    line-height: 3rem;
    margin: -1.5rem 0 0 -1.5rem;
  }

  /* dark feature grid */
  .finance,
  .compare,
  .teams,
  .customers {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .finance .intro,
  .compare .intro,
  .dealer .intro {
    margin-bottom: 35px;
  }
  .finance .intro__title {
    font-size: 30px;
    line-height: 40px;
  }
  .intro__title {
    font-size: 30px;
    line-height: 40px;
  }
  .feature-grid {
    flex-wrap: wrap;
  }
  .feature {
    width: 50%;
    padding: 20px 20px 31px;
  }
  .feature__text,
  .feature__text--narrow {
    max-width: 100%;
  }
  .feature-grid--top .feature:nth-child(1) { border-width: 1px 0 0 1px; }
  .feature-grid--top .feature:nth-child(2) { border-width: 1px 1px 0 1px; }
  .feature-grid--top .feature:nth-child(3) { border-width: 1px 0 1px 1px; }
  .feature-grid--top .feature:nth-child(4) { border-width: 1px 1px 1px 1px; }
  .feature-grid--bottom .feature:nth-child(1) { border-width: 0 0 1px 1px; }
  .feature-grid--bottom .feature:nth-child(2) { border-width: 0 1px 1px 1px; }
  .feature-grid--bottom .feature:nth-child(3) { border-width: 0 0 1px 1px; }
  .feature-grid--bottom .feature:nth-child(4) { border-width: 0 1px 1px 1px; }

  /* before / after */
  .compare__row {
    flex-direction: column;
  }
  .compare__card {
    width: 100%;
    margin: 0 0 30px;
  }
  .compare__card:last-child {
    margin-bottom: 0;
  }
  .compare__image img {
    width: 100%;
  }
  .compare__list li {
    min-height: auto;
    padding-top: 0;
    padding-bottom: 0;
  }
  .compare__list li span {
    display: block;
    padding: 17px 0;
  }

  /* dealer groups */
  .dealer {
    padding-top: 60px;
  }
  .dealer-boxes {
    flex-direction: column;
  }
  .dealer-box,
  .dealer-boxes--two .dealer-box {
    width: 100%;
    margin: 0 0 30px;
  }
  .dealer-boxes--two {
    margin-top: 0;
  }
  .dealer-box:last-child {
    margin-bottom: 0;
  }
  .dealer-boxes + .dealer-boxes {
    margin-top: 30px;
  }
  .dealer-box__img--left {
    margin-right: -7px;
  }
  .dealer-box__text--w540,
  .dealer-box__text--w517 {
    max-width: 100%;
  }
  .dealer .intro.dealer__steps-title {
    margin: 60px auto 35px;
  }
  .steps {
    flex-flow: row wrap;
  }
  .step__num {
    font-size: 24px;
  }
  .dealer__summary {
    margin-top: 40px;
  }
  .dealer__summary-img {
    min-width: 0;
    margin-right: 0;
  }

  /* finance teams */
  .teams .intro__title {
    max-width: 420px;
  }
  .team-cards {
    flex-direction: column;
    padding-bottom: 0;
  }
  .team-card {
    width: 100%;
    margin: 0 0 30px;
  }
  .team-card:last-child {
    margin-bottom: 0;
  }
  .zigzag {
    flex-direction: column;
    margin-top: 60px;
  }
  .zigzag__img,
  .zigzag__content {
    width: 100%;
    margin: 0;
  }
  .zigzag__img {
    margin-bottom: 30px;
    padding: 40px;
  }
  .zigzag__content {
    padding: 0;
  }
  .zigzag__inner {
    max-width: 100%;
  }
  .zigzag__inner h2,
  .zigzag__content--short .zigzag__inner h2 {
    max-width: none;
    font-size: 26px;
    line-height: 32px;
  }

  /* customers */
  .customers .intro__title {
    max-width: 300px;
  }
  .quote-cards {
    flex-direction: column;
  }
  .quote-card {
    width: 100%;
    margin: 0 0 30px;
    padding: 35px 20px;
  }
  .quote-card:last-child {
    margin-bottom: 0;
  }

  /* book a demo section */
  .demo {
    margin-top: 60px;
    padding: 60px 20px;
  }
  .demo__title {
    max-width: 100%;
  }
  .demo__text {
    max-width: 100%;
  }

  /* faq */
  .faq__item {
    padding-left: 20px;
  }

  /* footer */
  .footer__row {
    width: 80%;
    max-width: 80%;
  }
  .footer__intro,
  .footer__legal {
    font-size: 17px;
  }
  .footer__row .col:empty {
    display: none;
  }

  /* book-demo page */
  .book-hero {
    padding: 150px 20px 100px;
    margin-bottom: 15px;
  }
  .book-hero__text {
    max-width: 100%;
    margin-bottom: 30px;
  }
  .stats {
    padding: 75px 20px;
  }
  .stat__num {
    font-size: 55px;
  }
  .stats__row {
    flex-direction: column;
    padding-top: 50px;
  }
  .stats__row .stat {
    margin-bottom: 30px;
  }
  .stats__row .stat:last-child {
    margin-bottom: 0;
  }
  .saying {
    padding: 75px 20px;
  }
  .testimonials {
    flex-direction: column;
    padding-top: 50px;
  }
  .testimonial-col {
    width: 100%;
    margin: 0 0 30px;
  }
  .testimonial-col:last-child {
    margin-bottom: 0;
  }
  .cta {
    padding: 80px 20px 0;
  }
  .cta__title {
    padding-top: 0;
    font-size: 30px;
    line-height: 40px;
  }
  .cta__image {
    margin-right: -10%;
  }
  .cta__image img {
    width: auto;
  }

  /* resources page */
  .res-hero {
    padding: 150px 20px 100px;
  }
  .articles {
    padding: 75px 20px 60px;
  }
  .articles__title {
    font-size: 30px;
    line-height: 40px;
  }
  .page-book-demo .faq {
    padding-top: 75px;
  }
  .post-card--featured .post-card__content {
    padding: 20px 10px 20px 25px;
  }
  .post-grid .post-card {
    width: calc(50% - 10px);
  }
}

/* ==========================================================================
   Phone (<= 767px)
   ========================================================================== */
@media (max-width: 767px) {
  .hero__label {
    font-size: 11px;
  }
  .hero__title {
    font-size: 29px;
    line-height: 40px;
  }
  .btn-group .btn,
  .btn-group .btn:hover {
    font-size: 14px;
  }
  .logo-grid__cell {
    min-height: 80px;
  }
  .video-lightbox {
    padding: 15px;
  }
  .video-lightbox__inner {
    width: 100%;
  }
  .video-lightbox__close {
    top: -40px;
    font-size: 30px;
  }
  .video-cta {
    padding: 7px 12px;
    font-size: 16px;
  }

  .finance .intro__title,
  .compare .intro__title {
    font-size: 26px;
    line-height: 36px;
  }
  .feature-grid {
    flex-direction: column;
  }
  .feature {
    width: 100%;
  }
  .feature-grid--top .feature:nth-child(1),
  .feature-grid--top .feature:nth-child(2),
  .feature-grid--top .feature:nth-child(3) { border-width: 1px 1px 0 1px; }
  .feature-grid--top .feature:nth-child(4) { border-width: 1px; }
  .feature-grid--bottom .feature { border-width: 0 1px 1px 1px; }

  .dealer .intro__title {
    font-size: 24px;
    line-height: 34px;
  }
  .steps {
    flex-direction: column;
  }
  .step {
    width: 100%;
  }
  .steps--top .step:nth-child(1),
  .steps--top .step:nth-child(2) { border-width: 1px 1px 0 1px; }
  .steps--top .step:nth-child(3) { border-width: 1px; }
  .steps--bottom .step { border-width: 0 1px 1px 1px; }

  .intro__title,
  .demo__title {
    font-size: 30px;
    line-height: 40px;
  }
  .demo__title {
    max-width: 100%;
  }

  .footer__row,
  .footer__legal {
    width: 80%;
    max-width: 80%;
  }
  .footer .contact-form__field--half {
    width: 100%;
  }
  .demo-form {
    padding: 30px 20px;
  }
  .demo-form .contact-form__row {
    flex-direction: column;
    gap: 32px;
  }

  .book-hero {
    padding: 150px 20px 60px;
  }
  .book-hero__title {
    font-size: 25px;
    line-height: 30px;
  }
  .book-hero__text {
    margin-bottom: 0;
  }
  .stats {
    padding: 60px 20px;
  }
  .stats__title {
    font-size: 26px;
    line-height: 50px;
  }
  .page-book-demo .faq {
    padding-top: 60px;
  }
  .stats__row {
    padding-top: 25px;
  }
  .stat__num {
    font-size: 35px;
  }
  .saying {
    padding: 60px 20px;
  }
  .saying__title {
    font-size: 26px;
  }
  .testimonials {
    padding-top: 25px;
  }
  .cta {
    padding-top: 60px;
  }
  .cta__title {
    font-size: 24px;
    line-height: 34px;
  }
  .cta--yellow .cta__title {
    font-size: 30px;
    line-height: 34px;
  }

  .res-hero {
    padding: 130px 20px 60px;
  }
  .res-hero__title {
    font-size: 36px;
    line-height: 40px;
  }
  .res-hero__featured {
    padding-top: 30px;
  }
  .post-card--featured .post-card__image,
  .post-card--featured .post-card__content {
    width: 100%;
  }
  .post-card--featured .post-card__content {
    padding: 10px 5px;
  }
  .post-card__title {
    font-size: 18px;
    line-height: 1.2;
  }
  .post-btn {
    margin-top: 20px;
    font-size: 16px;
  }
  .post-grid {
    padding-top: 50px;
  }
  .post-grid .post-card__content {
    padding: 10px 15px 45px;
  }
  .post-grid .post-card__excerpt {
    margin-bottom: 20px;
  }
  .post-grid .post-btn {
    bottom: 25px;
  }
  .articles {
    padding: 60px 20px;
  }
  .articles__title {
    font-size: 28px;
    line-height: 32px;
  }
}
@media (max-width: 600px) {
  .post-grid .post-card {
    width: 100%;
  }
  .filters__group button {
    min-width: 70px;
    padding: 8px 15px;
  }
}
@media (max-width: 370px) {
  .demo__title {
    font-size: 28px;
    line-height: 38px;
  }
  .hero__title {
    font-size: 27.5px;
    line-height: 37px;
  }
}
@media (max-width: 359px) {
  .btn-group .btn,
  .btn-group .btn:hover {
    font-size: 12px;
  }
  .compare .intro__title {
    font-size: 23px;
    line-height: 33px;
  }
  .dealer .intro__title,
  .demo__title {
    font-size: 20px;
    line-height: 28px;
  }
  .hero__title {
    font-size: 23.5px;
    line-height: 33.5px;
  }
}

/* ==========================================================================
   October 2026 design (body.sp-2026)
   Matches cphinsight.com/stockpulse-2026-october/: light grey hero, grey
   cards on grey and white sections, yellow "Watch Video" button and yellow
   demo section. Only the UK landing page has the class; add sp-2026 to
   another page's <body> to move it to the new design.
   ========================================================================== */
.sp-2026 .hero {
  background-color: #f4f4f4;
}
.sp-2026 .hero__label {
  isolation: isolate;
  max-width: 287px;
  color: var(--black);
  /* the cards' light grey wash and a softer film grain, as on the Spark label */
  background-color: #dadada;
  background-image:
    radial-gradient(ellipse 45% 80% at 22% 30%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 100%),
    radial-gradient(ellipse 40% 90% at 82% 70%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 100%),
    linear-gradient(125deg, #cbcbcb 0%, #d6d6d6 30%, #d0d0d0 55%, #dbdbdb 75%, #cecece 100%);
}
.sp-2026 .hero__label::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.4 -0.45'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.12;
  pointer-events: none;
}
.sp-2026 .hero__label::before {
  background-color: var(--black);
}
/* Book a Demo buttons (nav, phone menu, hero and demo form): 80% grey rather
   than black, keeping their usual hover colours */
.sp-2026 .sp-nav__menu li:last-child a:not(:hover),
.sp-2026 .sp-mobile-menu li:last-child a:not(:hover),
.sp-2026 .hero .btn:not(.btn--video):not(:hover),
.sp-2026 .contact-form__actions .btn:not(:hover) {
  background-color: #333333;
}
.sp-2026 .btn--video {
  height: auto;
  padding: 11.5px 20px;
  line-height: 1.7em;
  color: var(--black);
  background: var(--yellow);
  border: 0;
  border-radius: 10px;
}
.sp-2026 .btn--video::after {
  content: none;
}
.sp-2026 .btn--video:hover {
  color: var(--black);
  background: var(--white);
}

/* Finance directors: eight grey cards, 3 + 3 + 2 */
.sp-2026 .finance {
  padding: 100px 20px 20px;
  background-color: #f4f4f4;
}
.sp-2026 .feature-grid--cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.sp-2026 .feature-grid--cards .feature {
  grid-column: span 2;
  width: auto;
  padding: 20px;
  background-color: var(--teal);
  border: 0;
  border-radius: 15px;
}
.sp-2026 .feature-grid--cards .feature:nth-child(n+7) {
  grid-column: span 3;
}
/* The 2026 icons are complete 50px tiles, so the box adds no background */
.sp-2026 .feature .icon-box,
.sp-2026 .step__icon {
  background-color: transparent;
  border-radius: 0;
}
.sp-2026 .feature .icon-box img,
.sp-2026 .step__icon img {
  width: 50px;
  height: 50px;
}
.sp-2026 .feature__title,
.sp-2026 .step__title {
  margin-top: 20px;
  padding-bottom: 10px;
  font-size: 20px;
  line-height: 30px;
  color: var(--black);
  border-bottom: 1px solid var(--black);
}
.sp-2026 .feature__text,
.sp-2026 .step__text {
  max-width: none;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--black);
}

/* Before / after */
.sp-2026 .compare {
  padding: 54px 20px 100px;
  background-color: #f4f4f4;
}
.sp-2026 .compare__label {
  font-weight: 600;
  color: var(--white);
  background-color: var(--black);
}
.sp-2026 .compare__label--after {
  background-color: var(--teal);
}
/* No drop shadow on the before/after cards or the FAQ boxes (the thin outline stays) */
.sp-2026 .compare__card,
.sp-2026 .faq__item {
  box-shadow: none;
}

/* Dealer groups: white section, all-grey cards and step cards */
.sp-2026 .dealer {
  padding: 100px 20px;
  background-color: var(--white);
}
.sp-2026 .dealer .intro__text {
  color: var(--ink);
}
.sp-2026 .dealer-box__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--black);
}
.sp-2026 .dealer-box__text h6 {
  padding-bottom: 10px;
  color: var(--black);
  border-bottom: 1px solid var(--black);
}
.sp-2026 .steps {
  gap: 20px;
}
.sp-2026 .steps + .steps {
  margin-top: 20px;
}
.sp-2026 .step {
  flex: 1 1 0;
  width: auto;
  padding: 20px;
  background-color: var(--teal);
  border: 0;
  border-radius: 15px;
}
.sp-2026 .step__num {
  color: var(--black);
}
.sp-2026 .step__icon {
  top: 16px;
  right: 25px;
}

/* The finance cards, dealer boxes and step cards: light grey with a subtle wash
   and film grain, as on the Spark page. site.js stretches each group's gradient
   across all its cards so they look cut from one sheet. */
.sp-2026 .feature-grid--cards .feature,
.sp-2026 .dealer-box,
.sp-2026 .step {
  position: relative;
  isolation: isolate;
  background-color: #dadada;
  background-image:
    radial-gradient(ellipse 45% 40% at 22% 18%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 100%),
    radial-gradient(ellipse 40% 45% at 82% 62%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 100%),
    radial-gradient(ellipse 35% 30% at 40% 92%, rgba(248, 248, 248, 0.35), rgba(248, 248, 248, 0) 100%),
    linear-gradient(125deg, #cbcbcb 0%, #d6d6d6 30%, #d0d0d0 55%, #dbdbdb 75%, #cecece 100%);
  background-repeat: no-repeat;
}
.sp-2026 .feature-grid--cards .feature::before,
.sp-2026 .dealer-box::before,
.sp-2026 .step::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.4 -0.45'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.22;
  pointer-events: none;
}

/* Finance teams and zig-zag rows on grey */
.sp-2026 .teams {
  background-color: #f4f4f4;
}
.sp-2026 .team-card {
  background-color: var(--white);
}

/* Book a demo: yellow, with the form straight on the background */
.sp-2026 .demo {
  background-color: var(--yellow);
}
.sp-2026 .demo-form {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.sp-2026 .demo-form__title {
  font-weight: 700;
}
.sp-2026 .demo-form__consent {
  color: var(--black);
}
.sp-2026 .demo-form__consent a {
  color: var(--white);
}

@media (min-width: 981px) {
  /* The text sets the hero's height; the image starts level with the label,
     ends level with the bottom of the buttons and bleeds off to the right */
  .sp-2026 .hero {
    padding-bottom: 63px;
  }
  .sp-2026 .hero .cols--center {
    align-items: stretch;
  }
  .sp-2026 .hero__title {
    margin-top: 30px;
  }
  .sp-2026 .hero__text {
    margin: 30px 0 63px;
    line-height: 31px;
  }
  .sp-2026 .hero__content .btn-group {
    margin-top: 0;
  }
  .sp-2026 .hero .col--shift {
    left: 0;
  }
  .sp-2026 .hero__image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    min-width: 0;
  }
  /* hero-app-uk.webp has 8px of transparent space above and 9px below its
     1215px of artwork: 1232/1215 = 101.4% puts the artwork's bottom on the
     buttons, then lift it by 8/1232 so its top is level with the label */
  .sp-2026 .hero__image img {
    width: auto;
    max-width: none;
    height: 101.4%;
    transform: translateY(-0.649%);
  }
  /* The image is 20% taller than the text, overhanging it by 10% above and
     below so the text stays level with its centre. The extra 50px of padding
     top and bottom makes room for the overhang */
  .sp-2026 .hero {
    padding-top: 200px;
    padding-bottom: 113px;
  }
  .sp-2026 .hero__image {
    top: -10%;
    bottom: -10%;
  }
}
@media (max-width: 980px) {
  .sp-2026 .finance {
    padding: 60px 20px 20px;
  }
  .sp-2026 .feature-grid--cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-2026 .feature-grid--cards .feature,
  .sp-2026 .feature-grid--cards .feature:nth-child(n+7) {
    grid-column: span 1;
  }
  .sp-2026 .compare {
    padding: 30px 20px 60px;
  }
  .sp-2026 .dealer {
    padding: 60px 20px;
  }
  .sp-2026 .step {
    flex: 1 1 calc(50% - 10px);
  }
}
@media (max-width: 767px) {
  .sp-2026 .feature-grid--cards {
    grid-template-columns: 1fr;
  }
  .sp-2026 .demo-form {
    padding: 30px 0;
  }
  .sp-2026 .step {
    flex: none;
    width: 100%;
  }
}

/* ==========================================================================
   Spark-style footer (.site-footer), copied from assets/spark/css/site.css
   so the UK landing page matches the Spark microsite. The US and book-demo
   pages keep the dark .footer above.
   ========================================================================== */
.site-footer {
  padding: 100px 20px 50px;
  background-color: #f4f4f4;
}
.site-footer__top {
  padding-bottom: 120px;
}
.site-footer__top > .site-footer__brand {
  width: 30%;
}
.site-footer__top > .site-footer__col {
  width: 15.22%;
  margin-right: 2%;
}
.site-footer__top > .site-footer__col:last-child {
  margin-right: 0;
}
.site-footer__brand img {
  /* Vector logo at a fixed whole-pixel size so it stays sharp on Retina screens */
  width: 100px;
  height: 100px;
}
.site-footer__heading {
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--bg-dark);
}
.site-footer__links {
  margin-top: 20px;
  font-size: 16px;
  line-height: 24px;
  color: var(--bg-dark);
}
.site-footer__links a {
  color: inherit;
  font-weight: 400;
  transition: all 0.4s ease-in-out;
}
.site-footer__links a:hover {
  opacity: 0.75;
}
.site-footer__bottom {
  padding-top: 50px;
  border-top: 1px solid var(--bg-dark);
}
.site-footer__bottom > .site-footer__copy {
  width: 30%;
}
.site-footer__bottom > .site-footer__legal {
  width: 67%;
}
.site-footer__copy {
  font-size: 14px;
  line-height: 14px;
  color: var(--bg-dark);
}
.site-footer__legal {
  font-size: 14px;
  line-height: 1.2em;
  color: var(--bg-dark);
}
/* The StockPulse tablet rules stack every .cols; the Spark footer does not */
@media (max-width: 980px) {
  .site-footer {
    padding-top: 60px;
  }
  .site-footer__top {
    flex-direction: row;
    flex-wrap: wrap;
    padding-bottom: 20px;
  }
  .site-footer__top > .site-footer__brand {
    width: 100% !important;
    margin: 0 0 30px;
    padding-bottom: 20px;
  }
  .site-footer__top > .site-footer__col {
    width: 47.22% !important;
    margin: 0 0 30px;
  }
  .site-footer__top > .site-footer__col:last-child {
    margin-bottom: 0;
  }
  .site-footer__bottom > .site-footer__copy {
    margin-bottom: 30px;
  }
}
@media (max-width: 767px) {
  .site-footer__bottom {
    flex-direction: column;
    padding-top: 30px;
  }
  .site-footer__bottom > .site-footer__copy,
  .site-footer__bottom > .site-footer__legal {
    width: 100% !important;
    text-align: center;
  }
  .site-footer__bottom > .site-footer__copy {
    margin: 0 0 30px;
  }
}

/* ==========================================================================
   Scroll-in animations (same as assets/spark/css/site.css)
   Elements start at opacity 0 and slide in once when their top reaches the
   bottom of the viewport: a slide of 100% of their own width/height
   (Divi intensity 50%), 800ms or 1000ms, ease-in-out. site.js adds
   "anim-ready" to <html>, "is-in" to each [data-anim] element and swaps it
   for "anim-done" when the animation ends. Without JS nothing is hidden.
   ========================================================================== */
.anim-ready [data-anim] {
  opacity: 0;
}
.anim-ready [data-anim].is-in {
  animation-duration: 800ms;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
}
.anim-ready [data-anim].anim-done {
  opacity: 1;
}
.anim-ready [data-anim="bottom"].is-in { animation-name: slideBottom; }
.anim-ready [data-anim="left"].is-in { animation-name: slideLeft; }
.anim-ready [data-anim="right"].is-in { animation-name: slideRight; }
.anim-ready [data-anim][data-anim-duration="1000"].is-in { animation-duration: 1000ms; }
@keyframes slideBottom {
  from { opacity: 0; transform: translate3d(0, 100%, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translate3d(-100%, 0, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translate3d(100%, 0, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .anim-ready [data-anim] {
    opacity: 1;
    animation: none !important;
  }
}

/* ==========================================================================
   US landing page in the October 2026 layout (body.page-stockpulse-us.sp-2026)
   Same layout as the UK page, but it keeps its own images and icons.
   ========================================================================== */
.page-stockpulse-us.sp-2026 .hero__label {
  max-width: 330px;
}
/* "Accounting Directors" is longer than the UK "Finance Directors" */
.page-stockpulse-us.sp-2026 .team-card__label {
  max-width: 155px;
}
@media (min-width: 981px) {
  /* hero-app-us.webp has 8px of transparent space above and 13px below its
     1211px of artwork: 1232/1211 = 101.73%, then lift it by 8/1232 */
  .page-stockpulse-us.sp-2026 .hero__image img {
    height: 101.73%;
    transform: translateY(-0.649%);
  }
}

/* ==========================================================================
   Book a Demo pages (UK and US) in the Spark Book a Demo colours
   Same layout and content; only the colours change: light grey hero with an
   all-black title and a yellow call-to-action band with a black button.
   The footer is the Spark-style .site-footer, as on the landing pages
   ========================================================================== */
/* Request your demo box: the Spark Book a Demo form (40px fields, 22px row
   gap, Message box, small centred black button) */
.page-book-demo .book-hero__form {
  padding: 0;
  border-color: #2f2f2f;
}
.book-hero__form-inner {
  padding: 40px;
}
.book-hero__form-inner h2 {
  margin-bottom: 20px;
  font-size: 26px;
  font-weight: 600;
  line-height: 34px;
  color: #333;
}
.book-hero__form .contact-form {
  margin: 8px 8px 0 0;
}
.book-hero__form .contact-form__row {
  margin-bottom: 22px;
}
.book-hero__form .contact-form__row--split {
  display: grid;
  grid-template-columns: 183fr 203fr;
  column-gap: 29px;
}
.book-hero__form .contact-form__field {
  margin: 0;
  padding: 0;
}
.book-hero__form .contact-form__field label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.book-hero__form input,
.book-hero__form textarea {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 15px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: #33475b;
  background: #f5f8fa;
  border: 1px solid #cbd6e2;
  border-radius: 3px;
  box-shadow: none;
  outline: none;
}
.book-hero__form input:focus,
.book-hero__form textarea:focus {
  border-color: rgba(82, 168, 236, 0.8);
  box-shadow: 0 0 3px rgba(82, 168, 236, 0.5);
}
.book-hero__form input::placeholder,
.book-hero__form textarea::placeholder {
  color: #bfbfbf;
  opacity: 1;
}
.book-hero__form textarea {
  height: 66px;
  padding: 10px 15px;
  resize: vertical;
}
.book-hero__form input.is-invalid,
.book-hero__form textarea.is-invalid {
  border-color: #e06666;
}
.book-hero__form .contact-form__consent {
  font-size: 12px;
  line-height: 20px;
  color: #33475b;
}
.book-hero__form .contact-form__consent a {
  color: var(--teal);
  text-decoration: underline;
}
.book-hero__form .contact-form__actions {
  /* the button sits under the Message box, above the privacy text */
  margin: 30px 0 30px;
  padding-bottom: 0;
  text-align: center;
}
.contact-form__submit {
  display: inline-block;
  margin: 0;
  padding: 11px 24px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 14px;
  color: var(--white);
  background: var(--black);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.contact-form__submit:hover {
  background: var(--teal);
}
.contact-form__submit[disabled] {
  opacity: 0.6;
  cursor: wait;
}
.book-hero__form .contact-message,
.book-hero__form .et-pb-contact-message {
  padding-bottom: 1em;
  font-size: 14px;
  line-height: 24px;
  color: #33475b;
}
.book-hero__form .contact-message.is-error {
  color: #d0021b;
}
@media (max-width: 991px) {
  .page-book-demo .book-hero__form {
    max-width: none;
    margin-left: 0;
  }
}
@media (max-width: 767px) {
  .book-hero__form .contact-form__row--split {
    display: block;
  }
  .book-hero__form .contact-form__row--split .contact-form__field:first-child {
    margin-bottom: 20px;
  }
  .book-hero__form .contact-form__row {
    margin-bottom: 20px;
  }
}
.page-book-demo .book-hero {
  background-color: #f4f4f4;
}
.page-book-demo .book-hero__title {
  color: var(--black);
}
.page-book-demo .book-hero__title span {
  color: var(--black);
}
/* No drop shadows on the Request your demo box, testimonials or FAQ boxes
   (the thin outline stays); the testimonials no longer need room for one */
.page-book-demo .book-hero__form,
.page-book-demo .testimonial,
.page-book-demo .faq__item {
  box-shadow: none;
}
.page-book-demo .testimonial {
  margin-right: 0;
}
.page-book-demo .book-hero__text {
  color: var(--ink);
}
.page-book-demo .cta {
  background-color: var(--yellow);
}
.page-book-demo .cta__title {
  color: var(--black);
}
.page-book-demo .cta__text {
  color: var(--ink);
}

/* UK Book a Demo: half the space between each quote and the name under it
   (about 105px down to 52px), so the cards are shorter. The names still line
   up across the three cards */
.page-book-demo-uk .testimonial {
  display: flex;
  flex-direction: column;
}
.page-book-demo-uk .testimonial__body {
  flex: 1 0 auto;
  min-height: 0;
  margin-bottom: 52px;
}
/* Every job title takes the room of Jo Shepherd's longer one, so the three
   names sit on the same line and the cards get a little space under the
   shorter titles */
.page-book-demo-uk .testimonial__meta {
  min-height: 71px;
}
@media (min-width: 981px) and (max-width: 1149px) {
  .page-book-demo-uk .testimonial__meta { min-height: 93px; }
}

/* Book a Demo (UK and US): the yellow call to action uses the matching
   landing page hero image. Its right edge meets the edge of the page, its top
   is shown in full and the yellow section cuts off the bottom. The box keeps
   the old image's shape, so the section stays the same height */
.page-book-demo .cta__image {
  display: block;
  /* the row stops 1240px wide, so add the gap between it and the page edge */
  width: calc(100% + max(0px, (100vw - 1260px) / 2));
  margin-right: 0;
  aspect-ratio: 1280 / 720;
  overflow: hidden;
}
.page-book-demo .cta__image img {
  display: block;
  /* kept against the page edge and sized so the vehicle photo and the line
     under it sit above the bottom of the yellow section (hero-app-uk.webp:
     the box shows its top 720/0.78 = 923px, down to just under the plates) */
  width: 78%;
  height: auto;
  margin-left: auto;
  border-radius: 0;
}
/* US: the old image was 1280 x 807, so the box keeps that shape; hero-app-us.webp
   is sized so the box shows its top 807/0.87 = 928px, down to just under the
   stock number */
.page-book-demo-us .cta__image {
  aspect-ratio: 1280 / 807;
}
.page-book-demo-us .cta__image img {
  width: 87%;
}
/* sit on the bottom of the yellow section even when the text is taller */
.page-book-demo .cta .c-3-5 {
  align-self: flex-end;
}
@media (max-width: 980px) {
  /* stacked under the text; the section has 20px padding on the right */
  .page-book-demo .cta__image {
    width: calc(100% + 20px);
    margin-right: -20px;
  }
}
