:root {
  --color-ink: #16142B;
  --color-heading: #140F3D;
  --color-body: #514C72;
  --color-brand: #EC205B;
  --color-brand-alt: #FF3E73;
  --color-brand-light: #FF7398;
  --color-purple: #3C308A;
  --color-border: #E5E1F5;
  --color-surface: #F3F1FA;
  --color-white: #fff;
  --font-base: 'Poppins', sans-serif;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  color: var(--color-ink);
  font-family: var(--font-base);
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-base);
  font-weight: 600;
  color: var(--color-heading);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p {
  color: var(--color-body);
  line-height: 1.65;
  font-family: var(--font-base);
}

.font-mono {
  font-family: var(--font-base);
}

.eyebrow {
  font-family: var(--font-base);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-brand);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(236, 32, 91, .06);
  border: 1px solid rgba(236, 32, 91, .14);
  padding: .4rem .8rem .4rem .6rem;
  border-radius: 50rem;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(236, 32, 91, .18);
}

.eyebrow-invert {
  color: var(--color-brand-light);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
}

.eyebrow-invert::before {
  background: var(--color-brand-light);
  box-shadow: 0 0 0 3px rgba(255, 115, 152, .2);
}

/* buttons */
.btn-brand {
  background: linear-gradient(95deg, var(--color-brand), var(--color-brand-alt));
  color: var(--color-white);
  border: none;
  border-radius: 50rem;
  padding: .8rem 1.75rem;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 16px 36px -12px rgba(236, 32, 91, .35);
  transition: .28s cubic-bezier(.22, 1, .36, 1);
  font-family: var(--font-base);
}

.btn-brand:hover {
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -14px rgba(236, 32, 91, .5);
}

.btn-brand:active {
  transform: translateY(-1px);
}

.btn-brand-outline {
  border: 1px solid var(--color-border);
  border-radius: 50rem;
  padding: .8rem 1.75rem;
  font-weight: 600;
  color: var(--color-heading);
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(6px);
  transition: .28s cubic-bezier(.22, 1, .36, 1);
  font-family: var(--font-base);
}

.btn-brand-outline:hover {
  border-color: var(--color-purple);
  background: var(--color-white);
  color: var(--color-heading);
  box-shadow: 0 12px 32px -12px rgba(20, 15, 61, .14);
  transform: translateY(-3px);
}

.btn-invert {
  background: var(--color-white);
  color: var(--color-heading);
  border-radius: 50rem;
  font-weight: 600;
  padding: .8rem 1.75rem;
  box-shadow: 0 24px 60px -20px rgba(20, 15, 61, .22);
  transition: .28s cubic-bezier(.22, 1, .36, 1);
  font-family: var(--font-base);
}

.btn-invert:hover {
  color: var(--color-heading);
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -16px rgba(0, 0, 0, .4);
}

.btn-outline-invert {
  border: 1px solid rgba(255, 255, 255, .5);
  color: var(--color-white);
  border-radius: 50rem;
  font-weight: 600;
  padding: .8rem 1.75rem;
  transition: .28s cubic-bezier(.22, 1, .36, 1);
  font-family: var(--font-base);
}

.btn-outline-invert:hover {
  color: var(--color-white);
  border-color: var(--color-white);
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .08);
}

/* nav */
.navbar {
  background: rgba(251, 250, 254, .78) !important;
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: .3s cubic-bezier(.22, 1, .36, 1);
  z-index: 1030;
}

.navbar.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 2px 8px -2px rgba(20, 15, 61, .06);
}

.navbar-nav .nav-link {
  color: var(--color-ink) !important;
  font-weight: 500;
  font-family: var(--font-base);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--color-brand) !important;
}

.navbar-nav .dropdown-menu {
  border: 1px solid var(--color-border);
  border-radius: .9rem;
  box-shadow: 0 18px 40px -18px rgba(20, 15, 61, .25);
  padding: .6rem;
  margin-top: .5rem;
  font-family: var(--font-base);
}

.navbar-nav .dropdown-item {
  border-radius: .6rem;
  padding: .55rem .8rem;
  font-weight: 500;
  font-size: .92rem;
  color: var(--color-ink);
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  background: var(--color-surface);
  color: var(--color-brand);
}

.navbar-nav .dropdown-item.disabled {
  color: #b3aecb !important;
}

.navbar-nav .dropdown-item.active {
  background: var(--color-surface);
  color: var(--color-brand);
}

.dropdown-item small {
  display: block;
  color: var(--color-body);
  font-weight: 400;
  font-size: .78rem;
}

.logo-mark {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 1.35rem;
}

.logo-mark .l1 {
  color: var(--color-brand);
}

.logo-mark .l2 {
  color: var(--color-purple);
}

.logo-mark .lx {
  background: linear-gradient(120deg, var(--color-brand), var(--color-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.badge-soon {
  font-family: var(--font-base);
  font-size: .6rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--color-surface);
  color: var(--color-body);
  border-radius: .4rem;
  padding: .15rem .4rem;
  margin-left: .4rem;
}

/* hover-triggered dropdowns (desktop only — mobile keeps click/tap) */
@media (min-width:992px) {
  .navbar-nav .nav-item.dropdown:hover>.dropdown-menu {
    display: block;
    animation: dropFade .18s ease;
  }

  /* Invisible bridge over the margin-top gap so the cursor never fully
     leaves the dropdown's hover area while moving from the nav-link
     down into the menu — without this, the menu closes mid-transit. */
  .navbar-nav .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -.5rem;
    height: .5rem;
  }

  @keyframes dropFade {
    from {
      opacity: 0;
      transform: translateY(6px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

section {
  padding: 6rem 0;
  position: relative;
}

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

.hairline {
  border-top: 1px solid var(--color-border);
}

.hairline-b {
  border-bottom: 1px solid var(--color-border);
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -220px;
  right: -160px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(236, 32, 91, .14), rgba(60, 48, 138, .08) 55%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-art-frame {
  border-radius: 1.75rem;
  box-shadow: 0 24px 60px -20px rgba(20, 15, 61, .22);
  overflow: hidden;
}

/* kpi */
.kpi-num {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--color-heading);
}

.kpi-col {
  border-left: 1px solid var(--color-border);
}

.kpi-col:first-child {
  border-left: none;
}

/* challenges */
.challenge-tag {
  font-family: var(--font-base);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-body);
  font-weight: 600;
}

.challenge-solution {
  font-weight: 600;
  color: var(--color-heading);
}

.arrow-icon {
  color: var(--color-brand);
}

/* products */
.product-visual {
  aspect-ratio: 4/3.1;
  border-radius: 1.25rem;
  background: linear-gradient(155deg, var(--color-heading), var(--color-purple));
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(20, 15, 61, .22);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s cubic-bezier(.22, 1, .36, 1);
}

.product-visual:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 64px -20px rgba(20, 15, 61, .32);
}

.benefit-item {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .96rem;
  color: var(--color-body);
  margin-bottom: .75rem;
  font-family: var(--font-base);
}

.chk-dot {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-brand);
  color: var(--color-white);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  box-shadow: 0 4px 10px -2px rgba(236, 32, 91, .5);
}

.learn-more {
  color: var(--color-brand);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  font-family: var(--font-base);
}

.learn-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--color-brand);
  transition: width .3s cubic-bezier(.22, 1, .36, 1);
}

.learn-more:hover {
  color: var(--color-brand);
}

.learn-more:hover::after {
  width: 100%;
}

/* industries */
.industry-chip {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: .85rem;
  padding: .9rem 1rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-heading);
  transition: .25s cubic-bezier(.22, 1, .36, 1);
  box-shadow: 0 2px 8px -2px rgba(20, 15, 61, .06);
  font-family: var(--font-base);
}

.industry-chip.clickable {
  cursor: pointer;
}

.industry-chip.clickable:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -12px rgba(20, 15, 61, .14);
}

.nav-pills .nav-link {
  font-family: var(--font-base);
  font-size: .78rem;
  border-radius: 50rem;
  color: var(--color-body);
  border: 1px solid var(--color-border);
  margin-right: .5rem;
  margin-bottom: .5rem;
  transition: .25s cubic-bezier(.22, 1, .36, 1);
}

.nav-pills .nav-link:hover {
  border-color: var(--color-purple);
  color: var(--color-heading);
}

.nav-pills .nav-link.active {
  background: var(--color-heading) !important;
  color: var(--color-white) !important;
  border-color: var(--color-heading);
  box-shadow: 0 12px 32px -12px rgba(20, 15, 61, .14);
}

.industry-panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 1.25rem;
  padding: 2.75rem;
  box-shadow: 0 24px 60px -20px rgba(20, 15, 61, .22);
}

.col-label {
  font-family: var(--font-base);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-brand);
  font-weight: 600;
}

.industry-panel ul li {
  padding: .45rem 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: .92rem;
  color: var(--color-body);
  font-family: var(--font-base);
}

.industry-panel ul li:last-child {
  border-bottom: none;
}

/* why us */
.why-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.3rem 1.5rem;
  font-weight: 500;
  color: var(--color-heading);
  font-size: .95rem;
  box-shadow: 0 2px 8px -2px rgba(20, 15, 61, .06);
  transition: .25s cubic-bezier(.22, 1, .36, 1);
  font-family: var(--font-base);
}

.why-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -12px rgba(20, 15, 61, .14);
  border-color: rgba(236, 32, 91, .25);
}

.why-item .chk-sq {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--color-surface);
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  margin-right: .65rem;
}

.cant-find {
  border-radius: 1.5rem;
  padding: 3.25rem;
  background: linear-gradient(120deg, var(--color-heading), var(--color-purple));
  color: var(--color-white);
  box-shadow: 0 24px 60px -20px rgba(20, 15, 61, .22);
  position: relative;
  overflow: hidden;
}

.cant-find::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(236, 32, 91, .25), transparent 55%);
  pointer-events: none;
}

.cant-find h3,
.cant-find p {
  color: var(--color-white);
  position: relative;
}

.cant-find p {
  color: rgba(255, 255, 255, .78);
  position: relative;
}

.cant-find .col-lg-4 {
  position: relative;
}

/* security */
.bg-navy {
  background: var(--color-heading);
  position: relative;
  overflow: hidden;
}

.bg-navy::before {
  content: "";
  position: absolute;
  top: -140px;
  left: -100px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 115, 152, .1), transparent 65%);
  pointer-events: none;
}

.bg-navy .container {
  position: relative;
  z-index: 1;
}

.bg-navy h2,
.bg-navy h3,
.bg-navy h4 {
  color: var(--color-white);
}

.bg-navy p {
  color: rgba(255, 255, 255, .72);
}

.sec-card {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 1rem;
  padding: 1.6rem;
  background: rgba(255, 255, 255, .04);
  transition: .25s cubic-bezier(.22, 1, .36, 1);
}

.sec-card:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 115, 152, .35);
  transform: translateY(-3px);
}

.sec-card .num {
  font-family: var(--font-base);
  color: var(--color-brand-light);
  font-size: .85rem;
  font-weight: 600;
}

/* faq */
.accordion-item {
  border-color: var(--color-border);
  border-radius: 1rem !important;
  overflow: hidden;
  margin-bottom: .75rem;
  box-shadow: 0 2px 8px -2px rgba(20, 15, 61, .06);
}

.accordion-button {
  font-weight: 600;
  color: var(--color-heading);
  font-family: var(--font-base);
  padding: 1.3rem 1.5rem;
}

.accordion-button:not(.collapsed) {
  background: var(--color-surface);
  color: var(--color-brand);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--color-border);
}

.accordion-body {
  padding: 0 1.5rem 1.4rem;
  font-family: var(--font-base);
  color: var(--color-body);
}

/* final cta */
.final-cta {
  border-radius: 2rem;
  background: linear-gradient(120deg, var(--color-brand), var(--color-purple));
  padding: 4.75rem 3rem;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(20, 15, 61, .22);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 85%, rgba(255, 255, 255, .14), transparent 55%);
  pointer-events: none;
}

.final-cta h2,
.final-cta p {
  color: var(--color-white);
  position: relative;
}

.final-cta p {
  color: rgba(255, 255, 255, .85);
  position: relative;
}

.final-cta-ctas {
  position: relative;
}

/* footer */
footer {
  background: var(--color-heading);
  color: rgba(255, 255, 255, .7);
  padding: 4.5rem 0 1.8rem;
  font-family: var(--font-base);
}

footer h5 {
  color: var(--color-white);
  font-family: var(--font-base);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
}

footer a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
}

footer a:hover {
  color: var(--color-white);
}

footer li {
  margin-bottom: .5rem;
  font-size: .9rem;
}

.foot-logo {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-white);
}

.foot-logo span {
  color: var(--color-brand-alt);
}

@media (max-width:991.98px) {
  section {
    padding: 4rem 0;
  }

  .kpi-col {
    border-left: none;
    margin-bottom: 1.2rem;
  }

  .navbar-nav .dropdown-menu {
    box-shadow: none;
    border: none;
    padding-left: .5rem;
  }
}

/* ===== Utility classes (replace one-off inline styles) ===== */

/* max-widths, used to cap paragraph/heading measure */
.max-w-520 {
  max-width: 520px;
}

.max-w-540 {
  max-width: 540px;
}

.max-w-600 {
  max-width: 600px;
}

.max-w-640 {
  max-width: 640px;
}

.max-w-660 {
  max-width: 660px;
}

.max-w-680 {
  max-width: 680px;
}

.max-w-700 {
  max-width: 700px;
}

.max-w-840 {
  max-width: 840px;
}

/* heading/title sizes used across section heads and cards */
.fs-title-xl {
  font-size: 2.1rem;
}

.fs-title-lg {
  font-size: 2rem;
}

.fs-title-md {
  font-size: 1.8rem;
}

.fs-title-sm {
  font-size: 1.6rem;
}

.fs-title-xs {
  font-size: 1.5rem;
}

.fs-title-2xs {
  font-size: 1.4rem;
}

.fs-title-3xs {
  font-size: 1.35rem;
}

.fs-title-num {
  font-size: 1.05rem;
}

.tracking-wide {
  letter-spacing: .08em;
}

/* step card description text (How it works section) */
.step-desc {
  font-weight: 400;
  color: var(--color-body);
  font-size: .9rem;
}

/* footer brand tagline */
.footer-tagline {
  color: rgba(255, 255, 255, .55);
  font-size: .9rem;
  max-width: 260px;
}

.border-soft-b {
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

/* eyebrow on gradient/dark CTA backgrounds where the tinted brand color reads poorly */
.cta-eyebrow-light {
  color: rgba(255, 255, 255, .85);
}

/* 3-column layout used inside industry detail panels */
.panel-grid-3 {
  grid-template-columns: 1.2fr 1fr 1fr;
}

/* ===== Feature icon-cards (PayIn features grid) ===== */
.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 1.1rem;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 2px 8px -2px rgba(20, 15, 61, .06);
  transition: .25s cubic-bezier(.22, 1, .36, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -12px rgba(20, 15, 61, .14);
  border-color: rgba(236, 32, 91, .25);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.feature-title {
  font-weight: 600;
  color: var(--color-heading);
  font-size: 1.05rem;
  margin-bottom: .5rem;
}

.feature-text {
  font-size: .9rem;
  color: var(--color-body);
  margin-bottom: 0;
}

/* ===== Horizontal stepper (How it works — PayIn variant) ===== */
.stepper {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.stepper-item {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 .75rem;
}

.stepper-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-heading);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1.1rem;
  position: relative;
  z-index: 1;
  font-size: .95rem;
}

.stepper-line {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

.stepper-item:last-child .stepper-line {
  display: none;
}

.stepper-title {
  font-weight: 600;
  color: var(--color-heading);
  font-size: .95rem;
  margin-bottom: .4rem;
}

.stepper-text {
  font-size: .82rem;
  color: var(--color-body);
}

/* ===== Compact pill row (benefits / use cases inline list) ===== */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.pill {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50rem;
  padding: .5rem 1.1rem;
  font-size: .86rem;
  font-weight: 500;
  color: var(--color-heading);
  box-shadow: 0 2px 8px -2px rgba(20, 15, 61, .06);
}

@media (max-width:767.98px) {
  .stepper {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stepper-line {
    display: none;
  }

  .industry-panel {
    padding: 1.5rem;
  }

  .panel-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ===== Escrow page: vault pulse rings ===== */
.pulse-ring {
  transform-origin: center;
  animation: pulseRing 2.6s ease-out infinite;
}

.pulse-ring.delay-1 {
  animation-delay: .9s;
}

.pulse-ring.delay-2 {
  animation-delay: 1.8s;
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: .55;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* ===== Escrow flow diagram: animated dashed connectors ===== */
.flow-dash {
  stroke-dasharray: 6 8;
  animation: dashMove 1s linear infinite;
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -28;
  }
}

.flow-node-label {
  font-family: var(--font-base);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  fill: rgba(255, 255, 255, .75);
}

/* ===== Tilt-hover cards (Escrow benefits) ===== */
.tilt-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 1.1rem;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 2px 8px -2px rgba(20, 15, 61, .06);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s cubic-bezier(.22, 1, .36, 1), border-color .35s ease;
}

.tilt-card:hover {
  transform: translateY(-8px) rotate(-0.6deg);
  box-shadow: 0 24px 60px -20px rgba(20, 15, 61, .22);
  border-color: rgba(236, 32, 91, .3);
}

.tilt-card:nth-child(even):hover {
  transform: translateY(-8px) rotate(0.6deg);
}

/* ===== Animated gradient background (used sparingly, one CTA per page) ===== */
.gradient-anim-bg {
  background: linear-gradient(120deg, var(--color-brand), var(--color-purple), var(--color-brand-alt), var(--color-heading));
  background-size: 300% 300%;
  animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ===== Staggered condition timeline (Escrow release example) ===== */
.condition-track {
  position: relative;
  padding-left: 2.5rem;
}

.condition-track::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--color-border);
}

.condition-step {
  position: relative;
  padding-bottom: 2rem;
}

.condition-step:last-child {
  padding-bottom: 0;
}

.condition-dot {
  position: absolute;
  left: -2.5rem;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-brand);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 10px -2px rgba(236, 32, 91, .5);
}

.condition-title {
  font-weight: 600;
  color: var(--color-heading);
  font-size: 1rem;
  margin-bottom: .25rem;
}

.condition-text {
  font-size: .88rem;
  color: var(--color-body);
}

/* Mission / Vision cards: larger glyph icon, gradient tint */
#what-we-do .feature-icon,
section:has(.tilt-card) .feature-icon {
  background: linear-gradient(135deg, rgba(236, 32, 91, .08), rgba(60, 48, 138, .08));
}

.max-w-660 .feature-icon,
.col-lg-6>.feature-card .feature-icon {
  width: 52px;
  height: 52px;
  font-size: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(236, 32, 91, .1), rgba(60, 48, 138, .1));
}

/* Security card number pill on dark background */
.bg-navy .sec-card .num {
  display: inline-block;
  letter-spacing: .06em;
}

/* Slightly tighter KPI numbers on small screens for long labels like "API-First" */
.kpi-num {
  font-size: 1.7rem;
}

@media (min-width: 768px) {
  .kpi-num {
    font-size: 2.1rem;
  }
}

/* Pill row centering feel on the industries section */
#industries .pill-row {
  gap: .7rem;
}

#industries .pill {
  padding: .6rem 1.3rem;
  font-size: .9rem;
}

/* Condition track breathing room within the innovation section */
#innovation .condition-track {
  max-width: 560px;
}

/* ===== Contact page refinements — layered on top of style.css ===== */

/* ---- Info cards (office / hours / email / phone) ---- */
.info-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 1.1rem;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 2px 8px -2px rgba(20, 15, 61, .06);
  transition: .25s cubic-bezier(.22, 1, .36, 1);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -12px rgba(20, 15, 61, .14);
  border-color: rgba(236, 32, 91, .25);
}

.info-card .feature-icon {
  margin-bottom: 1rem;
}

.info-card .info-line {
  font-size: .92rem;
  color: var(--color-body);
  margin-bottom: .15rem;
}

.info-card a.info-link {
  color: var(--color-heading);
  font-weight: 600;
  text-decoration: none;
  font-size: .92rem;
  display: block;
  margin-bottom: .15rem;
  transition: color .2s ease;
}

.info-card a.info-link:hover {
  color: var(--color-brand);
}

/* ---- Form panel ---- */
.form-panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  padding: 2.75rem;
  box-shadow: 0 24px 60px -20px rgba(20, 15, 61, .18);
}

@media (max-width: 767.98px) {
  .form-panel {
    padding: 1.75rem;
  }
}

.form-panel .form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: .4rem;
  font-family: var(--font-base);
}

.form-panel .form-control,
.form-panel .form-select {
  border: 1px solid var(--color-border);
  border-radius: .75rem;
  padding: .75rem 1rem;
  font-size: .92rem;
  font-family: var(--font-base);
  color: var(--color-ink);
  background: var(--color-surface);
  transition: .2s ease;
}

.form-panel .form-control:focus,
.form-panel .form-select:focus {
  outline: none;
  border-color: var(--color-brand);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(236, 32, 91, .12);
}

.form-panel textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-panel .btn-brand,
.form-panel .btn-brand-outline {
  border: none;
  cursor: pointer;
}

.form-note {
  font-size: .82rem;
  color: var(--color-body);
}

.form-success {
  display: none;
  align-items: center;
  gap: .6rem;
  background: rgba(236, 32, 91, .06);
  border: 1px solid rgba(236, 32, 91, .18);
  border-radius: .9rem;
  padding: .9rem 1.1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-top: 1.25rem;
}

.form-success.is-visible {
  display: flex;
}

/* ---- Support / sales bullet list ---- */
.support-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.support-list li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--color-body);
  padding: .55rem 0;
  border-bottom: 1px dashed var(--color-border);
}

.support-list li:last-child {
  border-bottom: none;
}

.support-list .chk-dot {
  margin-top: 2px;
}

/* ---- Social icons ---- */
.social-row {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-heading);
  transition: .25s cubic-bezier(.22, 1, .36, 1);
  box-shadow: 0 2px 8px -2px rgba(20, 15, 61, .06);
}

.social-icon:hover {
  background: linear-gradient(95deg, var(--color-brand), var(--color-brand-alt));
  border-color: transparent;
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -12px rgba(236, 32, 91, .35);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---- Department pill badge inside demo panel ---- */
.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--color-surface);
  border-radius: 50rem;
  padding: .35rem .85rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-purple);
}

/* ---------- Hero: full-bleed dark search hub ---------- */
.faq-hero {
  position: relative;
  background: linear-gradient(150deg, var(--color-heading) 0%, var(--color-purple) 100%);
  padding: 5rem 0 6.5rem;
  overflow: hidden;
}

.faq-hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 32, 91, .28), transparent 68%);
  pointer-events: none;
}

.faq-hero .container {
  position: relative;
  z-index: 1;
}

.faq-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-base);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-brand-light);
  margin-bottom: 1rem;
}

.faq-hero-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-brand-light);
  box-shadow: 0 0 0 4px rgba(255, 115, 152, .18);
}

.faq-hero h1 {
  color: var(--color-white);
  font-weight: 700;
  max-width: 640px;
  margin: 0 auto .9rem;
}

.faq-hero p {
  color: rgba(255, 255, 255, .72);
  max-width: 560px;
  margin: 0 auto 2.4rem;
}

.faq-search {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.faq-search input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px);
  border-radius: 50rem;
  padding: 1rem 1.5rem 1rem 3.1rem;
  color: var(--color-white);
  font-family: var(--font-base);
  font-size: .96rem;
  transition: .25s ease;
}

.faq-search input::placeholder {
  color: rgba(255, 255, 255, .5);
}

.faq-search input:focus {
  outline: none;
  border-color: var(--color-brand-light);
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 4px rgba(255, 115, 152, .16);
}

.faq-search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .55);
  pointer-events: none;
}

.faq-hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.25rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

.faq-hero-stats span {
  font-family: var(--font-base);
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
}

.faq-hero-stats strong {
  color: var(--color-white);
  font-weight: 700;
}

/* ---------- Layout: sidebar + content ---------- */
.faq-layout {
  padding: 4rem 0 5rem;
}

.faq-sidebar {
  position: sticky;
  top: 92px;
}

.faq-sidebar-label {
  font-family: var(--font-base);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-body);
  margin-bottom: 1rem;
  display: block;
}

.faq-cat-nav {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  border-left: 2px solid var(--color-border);
}

.faq-cat-link {
  font-family: var(--font-base);
  font-size: .88rem;
  font-weight: 500;
  color: var(--color-body);
  text-decoration: none;
  padding: .5rem 0 .5rem 1rem;
  margin-left: -2px;
  border-left: 2px solid transparent;
  transition: .2s ease;
  display: flex;
  justify-content: space-between;
  gap: .5rem;
}

.faq-cat-link:hover {
  color: var(--color-heading);
}

.faq-cat-link.is-active {
  color: var(--color-brand);
  border-left-color: var(--color-brand);
  font-weight: 600;
}

.faq-cat-count {
  font-size: .74rem;
  color: var(--color-body);
  opacity: .6;
}

.faq-cat-link.is-active .faq-cat-count {
  color: var(--color-brand);
  opacity: 1;
}

/* Mobile category bar (horizontal scroll) */
.faq-cat-bar {
  display: none;
}

@media (max-width: 991.98px) {
  .faq-sidebar {
    display: none;
  }

  .faq-cat-bar {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding: 0 0 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    -webkit-overflow-scrolling: touch;
  }

  .faq-cat-bar::-webkit-scrollbar {
    display: none;
  }

  .faq-cat-bar a {
    flex: none;
    font-family: var(--font-base);
    font-size: .82rem;
    font-weight: 600;
    color: var(--color-body);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50rem;
    padding: .5rem 1rem;
    text-decoration: none;
    white-space: nowrap;
  }

  .faq-cat-bar a.is-active {
    color: var(--color-white);
    background: var(--color-brand);
    border-color: var(--color-brand);
  }
}

/* ---------- Category sections ---------- */
.faq-section {
  scroll-margin-top: 100px;
  margin-bottom: 3rem;
}

.faq-section:last-child {
  margin-bottom: 0;
}

.faq-section-head {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.faq-section-num {
  font-family: var(--font-base);
  font-size: .78rem;
  font-weight: 700;
  color: var(--color-brand);
}

.faq-section-title {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-heading);
  margin: 0;
}

/* ---------- Custom accordion (distinct from the .accordion used elsewhere) ---------- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem .25rem;
  cursor: pointer;
  font-family: var(--font-base);
}

.faq-q-text {
  font-weight: 600;
  font-size: .98rem;
  color: var(--color-heading);
}

.faq-item.is-open .faq-q-text {
  color: var(--color-brand);
}

.faq-toggle {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), background .2s ease;
}

.faq-item.is-open .faq-toggle {
  background: var(--color-brand);
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.22, 1, .36, 1);
}

.faq-item.is-open .faq-a-wrap {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
}

.faq-a-inner p {
  color: var(--color-body);
  font-size: .93rem;
  line-height: 1.65;
  padding: 0 .25rem .9rem;
  margin: 0;
}

.faq-a-inner ul,
.faq-a-inner ol {
  margin: 0 0 1rem;
  padding: 0 .25rem .1rem 1.4rem;
  color: var(--color-body);
  font-size: .93rem;
  line-height: 1.7;
}

.faq-a-inner ol {
  padding-left: 1.2rem;
}

.faq-a-inner li {
  margin-bottom: .2rem;
}

/* search no-match state */
.faq-item.is-hidden,
.faq-section.is-hidden {
  display: none !important;
}

.faq-no-results {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-body);
}

.faq-no-results.is-visible {
  display: block;
}

/* ---------- Still have questions? contact grid ---------- */
.faq-contact-card {
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 1.1rem;
  padding: 1.75rem;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: .3s cubic-bezier(.22, 1, .36, 1);
}

.faq-contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(236, 32, 91, .3);
  box-shadow: 0 20px 44px -18px rgba(20, 15, 61, .2);
}

.faq-contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto .9rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-brand), var(--color-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
}

.faq-contact-title {
  font-weight: 600;
  color: var(--color-heading);
  font-size: .98rem;
  margin-bottom: .4rem;
}

.faq-contact-text {
  font-size: .84rem;
  color: var(--color-body);
  margin: 0;
}

/* ===== Back-to-top button ===== */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(95deg, var(--color-brand), var(--color-brand-alt));
  color: var(--color-white);
  box-shadow: 0 16px 36px -12px rgba(236, 32, 91, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .28s cubic-bezier(.22, 1, .36, 1);
  cursor: pointer;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -14px rgba(236, 32, 91, .6);
}

@media (max-width: 575.98px) {
  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 44px;
    height: 44px;
  }
}

/* ===== Popup contact-form modal ===== */
.popup-form-modal {
  border: none;
  border-radius: 1.5rem;
  overflow: hidden;
}

.popup-form-modal .modal-header {
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
  padding: 1.75rem 1.75rem 1.25rem;
}

.popup-form-modal .modal-body {
  padding: 1.75rem;
}

@media (max-width: 575.98px) {

  .popup-form-modal .modal-header,
  .popup-form-modal .modal-body {
    padding: 1.25rem;
  }
}

.form-panel-plain {
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
}