.kpi {
  margin-top: 0;
}

.kpi__hero-image img {
  transform: none;
  transform-origin: center;
}

.kpi__hero h2 {
  color: #fff;
}

.kpi__hero h2::before,
.kpi__hero h2::after {
  display: none !important;
  content: none !important;
}

.kpi__next-target {
  display: block;
  scroll-margin-top: 24px;
}

.kpi__terminal-composite {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
}

.kpi__hero-image .kpi__terminal-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.kpi__terminal-screen {
  position: absolute;
  top: 15.2%;
  left: 42.8%;
  width: 19.4%;
  height: 27.2%;
  overflow: hidden;
  clip-path: polygon(9% 0,100% 2%,84% 100%,0 98%);
  transform: rotate(.5deg);
}

.kpi__hero-image .kpi__terminal-screen img {
  position: absolute;
  top: -27%;
  left: -35%;
  width: 170%;
  height: 160%;
  max-height: none;
  object-fit: cover;
  filter: none;
}

.kpi__hero {
  background: var(--navy);
  color: #fff;
  border-radius: 18px 18px 0 0;
}

.kpi__hero .kpi__kicker {
  color: #b7c2d2;
}

.kpi__hero .kpi__kicker i {
  background: #55bf35;
}

.kpi__hero-copy > p:not(.kpi__kicker) {
  color: #d5e0ec;
}

.kpi__payment-methods {
  margin: 0;
  padding: 10px 34px 24px;
  background: var(--navy);
}

.kpi__payment-methods-frame {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: stretch;
  overflow: visible;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
}

.kpi__payment-methods-frame .kpi__payment-logo {
  display: grid;
  min-width: 0;
  min-height: 82px;
  padding: 14px 18px;
  place-items: center;
  border-right: 1px solid #b9ccaF;
  border-radius: 8px;
  background: #fff;
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.kpi__payment-methods-frame .kpi__payment-logo:last-child {
  border-right-color: transparent;
}

.kpi__payment-methods-frame .kpi__payment-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 46px;
  max-height: 46px;
  border-radius: 0;
  object-fit: contain;
  transform: none;
  transition: transform .25s ease, filter .25s ease;
}

.kpi__payment-methods-frame .kpi__payment-logo:first-child img {
  height: 64px;
  max-height: 64px;
  max-width: 118%;
}

.kpi__payment-methods-frame .kpi__payment-logo:hover,
.kpi__payment-methods-frame .kpi__payment-logo:focus-within {
  z-index: 1;
  background: #f4faef;
  box-shadow: 0 12px 24px rgba(16, 32, 57, .16);
  transform: translateY(-5px);
}

.kpi__payment-methods-frame .kpi__payment-logo:hover img,
.kpi__payment-methods-frame .kpi__payment-logo:focus-within img {
  filter: saturate(1.12);
  transform: scale(1.09);
}

@media (max-width: 850px) {
  .kpi__payment-methods-frame { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kpi__payment-methods-frame .kpi__payment-logo { border-right: 0; border-bottom: 1px solid #d6e0d3; }
}

@media (max-width: 520px) {
  .kpi__payment-methods { padding-inline: 16px; }
  .kpi__payment-methods-frame { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .kpi__payment-methods-frame .kpi__payment-logo,
  .kpi__payment-methods-frame .kpi__payment-logo img { transition: none; }
  .kpi__payment-methods-frame .kpi__payment-logo:hover,
  .kpi__payment-methods-frame .kpi__payment-logo:hover img { transform: none; }
}

.kpi__terminal .kpi__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b7c2d2;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.kpi__terminal .kpi__eyebrow i {
  display: inline-block;
  flex: 0 0 28px;
  width: 28px;
  height: 3px;
  background: #55bf35;
}

.kpi__modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 48px;
  padding: 0 34px 38px;
  background: var(--navy);
  border-radius: 0 0 18px 18px;
}

.kpi__modes article {
  position: relative;
  min-height: 185px;
  padding: 26px 30px;
  overflow: hidden;
  border: 1px solid #41516a;
  border-radius: 16px;
  background: #142741;
  color: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease, color .25s ease;
}

.kpi__modes article::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.kpi__modes span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
}

.kpi__modes h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 24px;
  line-height: 1.12;
}

.kpi__seo h2::before,
.kpi__seo h2::after {
  display: none !important;
  content: none !important;
}

.kpi__modes p {
  margin: 0;
  color: #d5e0ec;
  font-size: 15px;
  line-height: 1.6;
  transition: color .25s ease;
}

.kpi__modes article:hover {
  border-color: #55bf35;
  background: #1b3150;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .28);
  color: #fff;
  transform: translateY(-5px);
}

.kpi__modes article:hover::before {
  transform: scaleX(1);
}

.kpi__modes article:hover p {
  color: #d5e0ec;
}

.kpi__benefits article {
  background: #f4faef;
}

.kpi__benefits article:hover {
  background: #edf7e8;
}

.kpi__terminal .kpi__eyebrow {
  position: relative;
  top: -10px;
}

.kpi__terminal h3 {
  margin-top: 4px;
  font-size: 34px;
}

.kpi__terminal h3 em {
  color: var(--green);
  font-style: normal;
}

.kpi__terminal a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 245px;
  padding: 14px 20px;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
}

.kpi__terminal a:hover,
.kpi__terminal a:focus-visible {
  background: #246d1f;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(49, 139, 42, .28);
}

.kpi__terminal {
  grid-template-columns: 1fr minmax(320px, 410px);
  gap: 20px;
  border: 2px solid var(--navy);
  background: #f4faef;
  color: var(--navy);
}

.kpi__terminal img {
  width: 100%;
  max-height: none;
  transition: transform .28s ease, filter .28s ease;
}

.kpi__terminal img:hover {
  transform: translateY(-5px) scale(1.025);
  filter: drop-shadow(0 18px 24px rgba(16, 32, 57, .24)) saturate(1.06);
}

.kpi__hero-image img {
  width: min(100%, 540px);
  max-height: 360px;
  border-radius: 12px;
  filter: drop-shadow(0 16px 22px rgba(16, 32, 57, .20)) saturate(1.18);
  object-fit: contain;
  transition: transform .28s ease, filter .28s ease;
}

.kpi__hero-image:hover img {
  transform: translateY(-8px) scale(1.045) rotate(-1deg);
  filter: drop-shadow(0 25px 28px rgba(16, 32, 57, .30)) saturate(1.3);
}

.kpi__terminal .kpi__eyebrow {
  color: #287f20;
}

.kpi__terminal h3 {
  color: var(--navy);
}

.kpi__terminal p {
  color: var(--muted);
}

.kpi__terminal a {
  background: var(--navy);
}

.kpi__terminal a:hover,
.kpi__terminal a:focus-visible {
  background: var(--green);
  box-shadow: 0 12px 24px rgba(16, 32, 57, .18);
}

.kpi__seo {
  margin-top: 28px;
  padding: 48px 54px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
}

.kpi__seo .kpi__kicker {
  color: #b7c2d2;
}

.kpi__seo .kpi__kicker i {
  background: #55bf35;
}

.kpi__seo h2,
.kpi__seo aside h3 {
  color: #fff;
}

.kpi__seo > div > p:not(.kpi__kicker),
.kpi__seo li {
  color: #d5e0ec;
}

.kpi__seo aside {
  border-radius: 10px;
  background: #1b3150;
}

.kpi__seo aside a {
  background: #318b2a !important;
  color: #fff !important;
}

.kpi__seo aside a:hover,
.kpi__seo aside a:focus-visible {
  background: #246d1f !important;
}

.kpi__faq {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 60px;
  padding: 42px;
  border-top: 0;
  border-radius: 14px;
  background: #f4f7f1;
}

.kpi__faq-head .kpi__kicker {
  margin-bottom: 18px;
}

.kpi__faq-head h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.08;
}

.kpi__faq-list summary {
  padding: 18px 4px;
  border-radius: 8px;
  transition: background-color .2s ease, color .2s ease, padding .2s ease;
}

.kpi__faq-list summary::after {
  transition: color .2s ease, transform .2s ease;
}

.kpi__faq-list details:not([open]) summary:hover {
  padding-right: 14px;
  padding-left: 14px;
  background: #f4faef;
}

.kpi__faq-list details[open] summary {
  padding-right: 16px;
  padding-left: 16px;
  background: var(--navy);
  color: #fff;
}

.kpi__faq-list details[open] summary::after {
  content: '+';
  color: #fff;
  transform: rotate(45deg);
}

.kpi__faq-list details[open] p {
  padding: 2px 16px 4px;
  animation: kpi-faq-reveal .28s ease both;
}

@keyframes kpi-faq-reveal {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}

.kpi__seo aside a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 210px;
  margin-top: 6px;
  padding: 14px 18px;
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
}

.kpi__seo aside a b {
  color: #fff;
}

.kpi__seo aside a:hover,
.kpi__seo aside a:focus-visible {
  background: var(--green);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(49, 139, 42, .24);
}

@media (max-width: 850px) {
  .kpi__hero-image img { transform: none; }
  .kpi__modes { grid-template-columns: 1fr; }
  .kpi__modes article { min-height: 0; }
  .kpi__seo { padding: 42px 30px; }
  .kpi__faq { grid-template-columns: 1fr; gap: 28px; padding: 34px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .kpi__hero-image img { transform: none; }
  .kpi__terminal img { transition: none; }
  .kpi__terminal img:hover { transform: none; }
  .kpi__faq details[open] p { animation: none; }
  .kpi__modes article,
  .kpi__modes article::before,
  .kpi__modes p { transition: none; }
  .kpi__modes article:hover { transform: none; }
}
