.home-dark-preview {
  --preview-bg: #07111f;
  --preview-bg-soft: #0d1729;
  --preview-surface: rgba(13, 23, 41, 0.82);
  --preview-surface-strong: rgba(18, 31, 53, 0.96);
  --preview-border: rgba(135, 183, 255, 0.18);
  --preview-text: #edf3ff;
  --preview-text-soft: #a7b5d1;
  --preview-accent: #5de0a2;
  --preview-accent-strong: #34c5ff;
  --preview-shadow: 0 24px 60px rgba(2, 8, 18, 0.42);
  --preview-card-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(52, 197, 255, 0.18), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(93, 224, 162, 0.16), transparent 28%),
    linear-gradient(180deg, #08111d 0%, #0a1322 38%, #07111f 100%);
  color: var(--preview-text);
  font-family: "Inter", sans-serif;
}

/* Final At a glance override */
.home-dark-preview .answer-snapshot {
  padding: clamp(52px, 6vw, 76px) 0 !important;
  background: #000000 !important;
  color: #ffffff !important;
  border-bottom: 0 !important;
}

.home-dark-preview .answer-snapshot::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(103, 196, 106, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(11, 14, 20, 0.96), #000000 72%) !important;
}

.home-dark-preview .answer-snapshot__intro {
  max-width: 820px !important;
  margin: 0 auto clamp(24px, 3vw, 34px) !important;
  padding: 0 !important;
  text-align: center !important;
}

.home-dark-preview .answer-snapshot .eyebrow {
  color: #67c46a !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.22em !important;
}

.home-dark-preview .answer-snapshot h2,
.home-dark-preview .answer-snapshot__intro h2 {
  max-width: none !important;
  margin: 0 auto 0.8rem !important;
  color: #ffffff !important;
  font-size: clamp(1.9rem, 3.4vw, 3rem) !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  text-wrap: normal !important;
}

.home-dark-preview .answer-snapshot p,
.home-dark-preview .answer-snapshot__intro p {
  max-width: 62ch !important;
  margin: 0 auto !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 1rem !important;
  line-height: 1.58 !important;
}

.home-dark-preview .answer-snapshot__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.home-dark-preview .answer-snapshot__grid > div {
  min-height: 210px !important;
  padding: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    #101316 !important;
  box-shadow: none !important;
}

.home-dark-preview .answer-snapshot dt {
  color: #67c46a !important;
  font-size: 0.76rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}

.home-dark-preview .answer-snapshot dd {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: clamp(0.98rem, 1.1vw, 1.12rem) !important;
  line-height: 1.42 !important;
}

@media (max-width: 1100px) {
  .home-dark-preview .answer-snapshot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .home-dark-preview .answer-snapshot {
    padding: 44px 0 !important;
  }

  .home-dark-preview .answer-snapshot__intro {
    text-align: left !important;
  }

  .home-dark-preview .answer-snapshot h2,
  .home-dark-preview .answer-snapshot__intro h2,
  .home-dark-preview .answer-snapshot p,
  .home-dark-preview .answer-snapshot__intro p {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .home-dark-preview .answer-snapshot__grid {
    grid-template-columns: 1fr !important;
  }

  .home-dark-preview .answer-snapshot__grid > div {
    min-height: 0 !important;
    padding: 18px !important;
  }
}

@media (max-width: 1100px) {
  .home-dark-preview .tapapay-cinematic-hero .hero-inner,
  .home-dark-preview .tapapay-cinematic-hero .hero-inner.container {
    display: block !important;
    min-height: inherit !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-content {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    z-index: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 980px !important;
    margin: 0 !important;
    padding: 100px 56px 0 !important;
    text-align: left !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .tapapay-hero-badge,
  .home-dark-preview .tapapay-cinematic-hero .hero-content h1,
  .home-dark-preview .tapapay-cinematic-hero .tapapay-hero-lede,
  .home-dark-preview .tapapay-cinematic-hero .tapapay-home-hero__actions {
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 700px) {
  .home-dark-preview .tapapay-cinematic-hero,
  .home-dark-preview .tapapay-cinematic-hero .hero-overlay {
    min-height: 720px !important;
    padding: 0 !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-content {
    max-width: none !important;
    padding: 100px 20px 0 !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .tapapay-hero-badge {
    display: inline-flex !important;
    align-self: flex-start !important;
    justify-content: flex-start !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 0 1.5rem 0 !important;
    transform: none !important;
    text-align: left !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .tapapay-hero-badge span:last-child {
    display: inline-block !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-content h1,
  .home-dark-preview .tapapay-cinematic-hero .tapapay-hero-lede,
  .home-dark-preview .tapapay-cinematic-hero .tapapay-home-hero__actions {
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .tapapay-home-hero__actions {
    width: auto !important;
    max-width: none !important;
    align-items: flex-start !important;
  }
}

@media (max-width: 900px) {
  .home-dark-preview .hero.index-hero:not(.tapapay-cinematic-hero) .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .home-dark-preview .hero.index-hero:not(.tapapay-cinematic-hero) .hero-media {
    order: 1 !important;
    width: 100% !important;
    margin: 0 0 0.75rem !important;
  }

  .home-dark-preview .hero.index-hero:not(.tapapay-cinematic-hero) .hero-content {
    order: 2 !important;
    width: 100% !important;
  }
}

@media (max-width: 900px) {
  .home-dark-preview .answer-snapshot h2,
  .home-dark-preview .answer-snapshot__intro h2 {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-wrap: balance !important;
  }
}

/* Final layered hero overrides keep the separate POS device image visible on tablet and mobile. */
.home-dark-preview .tapapay-cinematic-hero .hero-media {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  z-index: 0 !important;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media__background,
.home-dark-preview .tapapay-cinematic-hero .hero-media__background img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center bottom !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media__foreground {
  position: absolute !important;
  right: clamp(32px, 8vw, 150px) !important;
  bottom: clamp(38px, 7vh, 96px) !important;
  z-index: 2 !important;
  display: block !important;
  width: min(48vw, 760px) !important;
  max-width: 760px !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  transform: none !important;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media__foreground img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

@media (max-width: 1100px) {
  .home-dark-preview .tapapay-cinematic-hero .hero-media__foreground {
    right: clamp(24px, 5vw, 64px) !important;
    bottom: clamp(34px, 6vh, 78px) !important;
    width: min(52vw, 620px) !important;
  }
}

@media (max-width: 700px) {
  .home-dark-preview .tapapay-cinematic-hero,
  .home-dark-preview .tapapay-cinematic-hero .hero-overlay {
    min-height: 760px !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .tapapay-home-hero__actions {
    display: none !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-media__foreground {
    right: 50% !important;
    bottom: 28px !important;
    width: min(88vw, 460px) !important;
    transform: translateX(50%) !important;
  }
}

@media (max-width: 700px) {
  .home-dark-preview .pos-story__visual,
  .home-dark-preview .pos-story.is-final-step-active .pos-story__visual,
  .home-dark-preview .pos-story.is-final-step-over-image .pos-story__visual {
    position: sticky !important;
    top: calc(var(--header-offset) + 12px) !important;
    z-index: 20 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .home-dark-preview .pos-story__steps {
    position: relative !important;
    z-index: 1 !important;
    margin-top: -0.35rem !important;
  }

  .home-dark-preview .pos-story__step {
    top: calc(var(--header-offset) + 212px) !important;
    margin-bottom: 30vh !important;
  }

  .home-dark-preview .pos-story__step:nth-child(1) { z-index: 1 !important; }
  .home-dark-preview .pos-story__step:nth-child(2) { z-index: 2 !important; }
  .home-dark-preview .pos-story__step:nth-child(3) { z-index: 3 !important; }
  .home-dark-preview .pos-story__step:nth-child(4) { z-index: 4 !important; }
  .home-dark-preview .pos-story__step:nth-child(5) { z-index: 5 !important; }
  .home-dark-preview .pos-story__step:nth-child(6) { z-index: 6 !important; }
}

/* Final layered hero overrides keep the separate POS device image visible on tablet and mobile. */
.home-dark-preview .tapapay-cinematic-hero .hero-media {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  z-index: 0 !important;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media__background,
.home-dark-preview .tapapay-cinematic-hero .hero-media__background img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center bottom !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media__foreground {
  position: absolute !important;
  right: clamp(32px, 8vw, 150px) !important;
  bottom: clamp(38px, 7vh, 96px) !important;
  z-index: 2 !important;
  display: block !important;
  width: min(48vw, 760px) !important;
  max-width: 760px !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  transform: none !important;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media__foreground img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

@media (max-width: 1100px) {
  .home-dark-preview .tapapay-cinematic-hero .hero-media__foreground {
    right: clamp(24px, 5vw, 64px) !important;
    bottom: clamp(34px, 6vh, 78px) !important;
    width: min(52vw, 620px) !important;
  }
}

@media (max-width: 700px) {
  .home-dark-preview .tapapay-cinematic-hero,
  .home-dark-preview .tapapay-cinematic-hero .hero-overlay {
    min-height: 760px !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-media__foreground {
    right: 50% !important;
    bottom: 28px !important;
    width: min(88vw, 460px) !important;
    transform: translateX(50%) !important;
  }
}

/* Final layered index hero image treatment */
.home-dark-preview .tapapay-cinematic-hero .hero-media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media__background,
.home-dark-preview .tapapay-cinematic-hero .hero-media__background img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center bottom !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media__foreground {
  position: absolute !important;
  inset: auto clamp(32px, 8vw, 150px) clamp(38px, 7vh, 96px) auto !important;
  z-index: 2 !important;
  display: block !important;
  width: min(48vw, 760px) !important;
  max-width: 760px !important;
  height: auto !important;
  margin: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media__foreground img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: contain !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 34px 60px rgba(8, 16, 28, 0.2)) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 1100px) {
  .home-dark-preview .tapapay-cinematic-hero .hero-media__foreground {
    right: clamp(24px, 5vw, 64px) !important;
    bottom: clamp(34px, 6vh, 78px) !important;
    width: min(52vw, 620px) !important;
  }
}

@media (max-width: 700px) {
  .home-dark-preview .tapapay-cinematic-hero,
  .home-dark-preview .tapapay-cinematic-hero .hero-overlay {
    min-height: 760px !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-media__foreground {
    right: 50% !important;
    bottom: 28px !important;
    width: min(88vw, 460px) !important;
    transform: translateX(50%) !important;
  }
}

/* Final site-wide heading scale */
h1,
.home-dark-preview h1,
h1:not(#tapapay-heading-scale),
.home-dark-preview h1:not(#tapapay-heading-scale) {
  font-size: 55px !important;
  font-weight: 700 !important;
  line-height: 1.08;
}

h2,
.home-dark-preview h2,
h2:not(#tapapay-heading-scale),
.home-dark-preview h2:not(#tapapay-heading-scale) {
  font-size: 48px !important;
  font-weight: 600 !important;
  line-height: 1.12;
}

/* Final layered index hero image treatment */
.home-dark-preview .tapapay-cinematic-hero .hero-media__background,
.home-dark-preview .tapapay-cinematic-hero .hero-media__background img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center bottom !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media__foreground {
  position: absolute !important;
  inset: auto clamp(32px, 8vw, 150px) clamp(38px, 7vh, 96px) auto !important;
  z-index: 2 !important;
  display: block !important;
  width: min(48vw, 760px) !important;
  max-width: 760px !important;
  height: auto !important;
  margin: 0 !important;
  pointer-events: none !important;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media__foreground img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: contain !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 34px 60px rgba(8, 16, 28, 0.2)) !important;
}

@media (max-width: 900px) {
  .home-dark-preview .tapapay-cinematic-hero .hero-media__foreground {
    right: 50% !important;
    bottom: 28px !important;
    width: min(86vw, 560px) !important;
    transform: translateX(50%) !important;
  }
}


.home-dark-preview .eyebrow,
.home-dark-preview .testi__kicker,
.home-dark-preview .tapapay-platform-feature__eyebrow,
.home-dark-preview .tapapay-team-card__eyebrow,
.home-dark-preview .industries__body .eyebrow {
  color: #67c46a !important;
}

.home-dark-preview .eyebrow,
.home-dark-preview .testi__kicker,
.home-dark-preview .tapapay-platform-feature__eyebrow,
.home-dark-preview .tapapay-team-card__eyebrow,
.home-dark-preview .industries__body .eyebrow {
  color: #67c46a !important;
}

.home-dark-preview .eyebrow,
.home-dark-preview .testi__kicker,
.home-dark-preview .tapapay-platform-feature__eyebrow,
.home-dark-preview .tapapay-team-card__eyebrow,
.home-dark-preview .industries__body .eyebrow {
  color: #67c46a !important;
}

/* Final eyebrow colour standardisation. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.home-dark-preview .eyebrow,
.home-dark-preview .testi__kicker,
.home-dark-preview .tapapay-platform-feature__eyebrow,
.home-dark-preview .tapapay-team-card__eyebrow,
.home-dark-preview .industries__body .eyebrow {
  color: #67c46a !important;
}

/* Final homepage section rhythm: align the next section label from the section top. */
.home-dark-preview .pos-story,
.home-dark-preview .tapapay-teams,
.home-dark-preview .onboarding-journey,
.home-dark-preview .tapapay-customise,
.home-dark-preview .testi,
.home-dark-preview .tapapay-platform-grid,
.home-dark-preview .faqs {
  padding-top: 5.5rem !important;
}

@media (max-width: 900px) {
  .home-dark-preview .pos-story,
  .home-dark-preview .tapapay-teams,
  .home-dark-preview .onboarding-journey,
  .home-dark-preview .tapapay-customise,
  .home-dark-preview .testi,
  .home-dark-preview .tapapay-platform-grid,
  .home-dark-preview .faqs {
    padding-top: 4rem !important;
  }
}

/* Final industry-card treatment */
.home-dark-preview .industries,
.home-dark-preview .industries::before {
  background: #f8f8f6 !important;
}

.home-dark-preview .industries {
  padding: clamp(64px, 7vw, 96px) 0 !important;
}

.home-dark-preview .industries__header {
  max-width: 1060px !important;
  margin: 0 auto clamp(34px, 4vw, 52px) !important;
  text-align: center !important;
}

.home-dark-preview .industries .container,
.home-dark-preview .industries__header h2,
.home-dark-preview .industries__intro,
.home-dark-preview .industries__body,
.home-dark-preview .industries__body h3,
.home-dark-preview .industries__body p {
  color: #1f1f1f !important;
}

.home-dark-preview .industries__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(22px, 3vw, 40px) !important;
}

.home-dark-preview .industries__card {
  gap: 1.45rem !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
}

.home-dark-preview .industries__media {
  height: auto !important;
  aspect-ratio: 4 / 5.8 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
}

.home-dark-preview .industries__body {
  gap: 1rem !important;
  padding: 0 !important;
  background: transparent !important;
}

.home-dark-preview .industries__body .btn,
.home-dark-preview .industries__body .btn-neutral,
.home-dark-preview .industries__body .btn-primary {
  align-self: flex-start !important;
  min-height: 54px !important;
  margin-top: auto !important;
  padding: 0.85rem 1.7rem !important;
  border: 1px solid #d3d0c8 !important;
  border-radius: 15px !important;
  background: transparent !important;
  color: #1f1f1f !important;
  box-shadow: none !important;
}

@media (max-width: 980px) {
  .home-dark-preview .industries__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .home-dark-preview .industries__header {
    text-align: left !important;
  }

  .home-dark-preview .industries__grid {
    grid-template-columns: 1fr !important;
  }

  .home-dark-preview .industries__media {
    aspect-ratio: 4 / 3.4 !important;
  }
}

/* Final image-led industry cards */
.home-dark-preview .industries,
.home-dark-preview .industries::before {
  background: #f8f8f6 !important;
}

.home-dark-preview .industries {
  padding: clamp(64px, 7vw, 96px) 0 !important;
}

.home-dark-preview .industries .container,
.home-dark-preview .industries__header h2,
.home-dark-preview .industries__intro,
.home-dark-preview .industries__body,
.home-dark-preview .industries__body h3,
.home-dark-preview .industries__body p {
  color: #1f1f1f !important;
}

.home-dark-preview .industries__header {
  max-width: 1060px !important;
  margin: 0 auto clamp(34px, 4vw, 52px) !important;
  text-align: center !important;
}

.home-dark-preview .industries__header h2 {
  margin: 0 0 0.85rem !important;
  font-size: clamp(2rem, 4vw, 3.35rem) !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
}

.home-dark-preview .industries__intro {
  max-width: 78ch !important;
  margin: 0 auto !important;
  color: #2f3133 !important;
  font-size: clamp(1.05rem, 1.4vw, 1.32rem) !important;
  line-height: 1.48 !important;
}

.home-dark-preview .industries__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(22px, 3vw, 40px) !important;
}

.home-dark-preview .industries__card {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.45rem !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.home-dark-preview .industries__card:hover {
  border-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.home-dark-preview .industries__media {
  height: auto !important;
  aspect-ratio: 4 / 5.8 !important;
  border-radius: 20px !important;
  background: #e8e4dc !important;
  overflow: hidden !important;
}

.home-dark-preview .industries__media img:not(.industries__img--overlay),
.home-dark-preview .industries__img--blur {
  filter: none !important;
  transform: none !important;
}

.home-dark-preview .industries__media::after {
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.24) 100%) !important;
}

.home-dark-preview .industries__body {
  display: flex !important;
  flex: 1 !important;
  flex-direction: column !important;
  gap: 1rem !important;
  padding: 0 !important;
  background: transparent !important;
}

.home-dark-preview .industries__body h3 {
  margin: 0 !important;
  font-size: clamp(1.45rem, 2.1vw, 2.15rem) !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

.home-dark-preview .industries__body p {
  margin: 0 !important;
  color: #2f3133 !important;
  font-size: clamp(1rem, 1.2vw, 1.16rem) !important;
  line-height: 1.42 !important;
}

.home-dark-preview .industries__body .btn,
.home-dark-preview .industries__body .btn-neutral,
.home-dark-preview .industries__body .btn-primary {
  align-self: flex-start !important;
  min-height: 54px !important;
  margin-top: auto !important;
  padding: 0.85rem 1.7rem !important;
  border: 1px solid #d3d0c8 !important;
  border-radius: 15px !important;
  background: transparent !important;
  color: #1f1f1f !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}

.home-dark-preview .industries__body .btn:hover,
.home-dark-preview .industries__body .btn-neutral:hover,
.home-dark-preview .industries__body .btn-primary:hover {
  border-color: #1f1f1f !important;
  background: #ffffff !important;
  color: #1f1f1f !important;
}

@media (max-width: 980px) {
  .home-dark-preview .industries__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .home-dark-preview .industries__header {
    text-align: left !important;
  }

  .home-dark-preview .industries__grid {
    grid-template-columns: 1fr !important;
  }

  .home-dark-preview .industries__media {
    aspect-ratio: 4 / 3.4 !important;
  }
}

/* Final mobile hero order: image above text on product-style heroes. */
@media (max-width: 900px) {
  .home-dark-preview .hero.index-hero:not(.tapapay-cinematic-hero) .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .home-dark-preview .hero.index-hero:not(.tapapay-cinematic-hero) .hero-media {
    order: 1 !important;
    width: 100% !important;
    margin: 0 0 0.75rem !important;
  }

  .home-dark-preview .hero.index-hero:not(.tapapay-cinematic-hero) .hero-content {
    order: 2 !important;
    width: 100% !important;
  }
}

@media (max-width: 900px) {
  .home-dark-preview .hero.index-hero:not(.tapapay-cinematic-hero) .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .home-dark-preview .hero.index-hero:not(.tapapay-cinematic-hero) .hero-media {
    order: 1 !important;
    width: 100% !important;
    margin: 0 0 0.75rem !important;
  }

  .home-dark-preview .hero.index-hero:not(.tapapay-cinematic-hero) .hero-content {
    order: 2 !important;
    width: 100% !important;
  }
}

.home-dark-preview .answer-snapshot h2,
.home-dark-preview .answer-snapshot__intro h2 {
  max-width: none !important;
  white-space: nowrap !important;
  text-wrap: normal !important;
}

@media (max-width: 900px) {
  .home-dark-preview .answer-snapshot h2,
  .home-dark-preview .answer-snapshot__intro h2 {
    white-space: normal !important;
    text-wrap: balance !important;
  }
}

/* True final At a glance override */
.home-dark-preview .answer-snapshot {
  padding: clamp(52px, 6vw, 76px) 0 !important;
  background: #000000 !important;
  color: #ffffff !important;
  border-bottom: 0 !important;
}

.home-dark-preview .answer-snapshot::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(103, 196, 106, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(11, 14, 20, 0.96), #000000 72%) !important;
}

.home-dark-preview .answer-snapshot__intro {
  max-width: 820px !important;
  margin: 0 auto clamp(24px, 3vw, 34px) !important;
  padding: 0 !important;
  text-align: center !important;
}

.home-dark-preview .answer-snapshot .eyebrow {
  color: #67c46a !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.22em !important;
}

.home-dark-preview .answer-snapshot h2,
.home-dark-preview .answer-snapshot__intro h2 {
  max-width: 13ch !important;
  margin: 0 auto 0.8rem !important;
  color: #ffffff !important;
  font-size: clamp(1.9rem, 3.4vw, 3rem) !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
}

.home-dark-preview .answer-snapshot p,
.home-dark-preview .answer-snapshot__intro p {
  max-width: 62ch !important;
  margin: 0 auto !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 1rem !important;
  line-height: 1.58 !important;
}

.home-dark-preview .answer-snapshot__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.home-dark-preview .answer-snapshot__grid > div {
  min-height: 210px !important;
  padding: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    #101316 !important;
  box-shadow: none !important;
}

.home-dark-preview .answer-snapshot dt {
  color: #67c46a !important;
  font-size: 0.76rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}

.home-dark-preview .answer-snapshot dd {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: clamp(0.98rem, 1.1vw, 1.12rem) !important;
  line-height: 1.42 !important;
}

@media (max-width: 1100px) {
  .home-dark-preview .answer-snapshot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .home-dark-preview .answer-snapshot {
    padding: 44px 0 !important;
  }

  .home-dark-preview .answer-snapshot__intro {
    text-align: left !important;
  }

  .home-dark-preview .answer-snapshot h2,
  .home-dark-preview .answer-snapshot__intro h2,
  .home-dark-preview .answer-snapshot p,
  .home-dark-preview .answer-snapshot__intro p {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .home-dark-preview .answer-snapshot__grid {
    grid-template-columns: 1fr !important;
  }

  .home-dark-preview .answer-snapshot__grid > div {
    min-height: 0 !important;
    padding: 18px !important;
  }
}

/* Keep the global At a glance treatment above later homepage preview overrides. */
.home-dark-preview .answer-snapshot {
  padding: clamp(52px, 6vw, 76px) 0 !important;
  background: #000000 !important;
  color: #ffffff !important;
  border-bottom: 0 !important;
}

.home-dark-preview .answer-snapshot::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(103, 196, 106, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(11, 14, 20, 0.96), #000000 72%) !important;
}

.home-dark-preview .answer-snapshot__intro {
  max-width: 820px !important;
  margin: 0 auto clamp(24px, 3vw, 34px) !important;
  padding: 0 !important;
  text-align: center !important;
}

.home-dark-preview .answer-snapshot .eyebrow {
  color: #67c46a !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.22em !important;
}

.home-dark-preview .answer-snapshot h2,
.home-dark-preview .answer-snapshot__intro h2 {
  max-width: 13ch !important;
  margin: 0 auto 0.8rem !important;
  color: #ffffff !important;
  font-size: clamp(1.9rem, 3.4vw, 3rem) !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
}

.home-dark-preview .answer-snapshot p,
.home-dark-preview .answer-snapshot__intro p {
  max-width: 62ch !important;
  margin: 0 auto !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 1rem !important;
  line-height: 1.58 !important;
}

.home-dark-preview .answer-snapshot__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.home-dark-preview .answer-snapshot__grid > div {
  min-height: 210px !important;
  padding: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    #101316 !important;
  box-shadow: none !important;
}

.home-dark-preview .answer-snapshot dt {
  color: #67c46a !important;
  font-size: 0.76rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}

.home-dark-preview .answer-snapshot dd {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: clamp(0.98rem, 1.1vw, 1.12rem) !important;
  line-height: 1.42 !important;
}

@media (max-width: 1100px) {
  .home-dark-preview .answer-snapshot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .home-dark-preview .answer-snapshot {
    padding: 44px 0 !important;
  }

  .home-dark-preview .answer-snapshot__intro {
    text-align: left !important;
  }

  .home-dark-preview .answer-snapshot h2,
  .home-dark-preview .answer-snapshot__intro h2,
  .home-dark-preview .answer-snapshot p,
  .home-dark-preview .answer-snapshot__intro p {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .home-dark-preview .answer-snapshot__grid {
    grid-template-columns: 1fr !important;
  }

  .home-dark-preview .answer-snapshot__grid > div {
    min-height: 0 !important;
    padding: 18px !important;
  }
}

/* Final compact dark "At a glance" treatment across preview pages */
.home-dark-preview .answer-snapshot {
  position: relative;
  padding: clamp(52px, 6vw, 76px) 0 !important;
  background: #000000 !important;
  color: #ffffff !important;
  border-bottom: 0 !important;
  overflow: hidden;
}

.home-dark-preview .answer-snapshot::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(103, 196, 106, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(11, 14, 20, 0.96), #000000 72%) !important;
  pointer-events: none;
}

.home-dark-preview .answer-snapshot > .container {
  position: relative;
  z-index: 1;
}

.home-dark-preview .answer-snapshot__intro {
  max-width: 820px !important;
  margin: 0 auto clamp(24px, 3vw, 34px) !important;
  padding: 0 !important;
  text-align: center !important;
}

.home-dark-preview .answer-snapshot .eyebrow {
  display: inline-block !important;
  min-height: 0 !important;
  margin: 0 0 0.9rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #67c46a !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

.home-dark-preview .answer-snapshot h2,
.home-dark-preview .answer-snapshot__intro h2 {
  max-width: 13ch !important;
  margin: 0 auto 0.8rem !important;
  color: #ffffff !important;
  font-size: clamp(1.9rem, 3.4vw, 3rem) !important;
  font-weight: 700 !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  text-wrap: balance;
}

.home-dark-preview .answer-snapshot p,
.home-dark-preview .answer-snapshot__intro p {
  max-width: 62ch !important;
  margin: 0 auto !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 1rem !important;
  line-height: 1.58 !important;
}

.home-dark-preview .answer-snapshot__grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.home-dark-preview .answer-snapshot__grid > div {
  position: relative;
  min-height: 210px !important;
  padding: 20px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    #101316 !important;
  box-shadow: none !important;
}

.home-dark-preview .answer-snapshot__grid > div::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%) !important;
  pointer-events: none;
}

.home-dark-preview .answer-snapshot dt {
  position: relative;
  margin: 0 0 1.4rem !important;
  color: #67c46a !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
}

.home-dark-preview .answer-snapshot dd {
  position: relative;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: clamp(0.98rem, 1.1vw, 1.12rem) !important;
  line-height: 1.42 !important;
  max-width: none !important;
}

@media (max-width: 1100px) {
  .home-dark-preview .answer-snapshot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .home-dark-preview .answer-snapshot {
    padding: 44px 0 !important;
  }

  .home-dark-preview .answer-snapshot__intro {
    text-align: left !important;
  }

  .home-dark-preview .answer-snapshot h2,
  .home-dark-preview .answer-snapshot__intro h2,
  .home-dark-preview .answer-snapshot p,
  .home-dark-preview .answer-snapshot__intro p {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .home-dark-preview .answer-snapshot__grid {
    grid-template-columns: 1fr !important;
  }

  .home-dark-preview .answer-snapshot__grid > div {
    min-height: 0 !important;
    padding: 18px !important;
  }
}

.home-dark-preview .site-header .cta.primary a,
.home-dark-preview .site-header .header-demo-cta,
.home-dark-preview .subnav__ctas .btn,
.home-dark-preview .subnav__ctas .btn-neutral,
.home-dark-preview .subnav__ctas .btn-primary,
.home-dark-preview .hero-cta,
.home-dark-preview .hero-content .hero-cta,
.home-dark-preview .tapapay-cinematic-hero .hero-cta,
.home-dark-preview .tapapay-cinematic-hero .hero-content .hero-cta,
.home-dark-preview .btn,
.home-dark-preview .btn-primary,
.home-dark-preview .btn-neutral,
.home-dark-preview .onboarding-journey__cta,
.home-dark-preview .testi__arrow,
.home-dark-preview .testi-card__link,
.home-dark-preview .video-modal__close {
  border-radius: 20px !important;
}

.home-dark-preview .hero-cta::after,
.home-dark-preview .hero-content .hero-cta::after {
  border-radius: 20px !important;
}

.home-dark-preview .pos-story,
.home-dark-preview .pos-story::before {
  background: linear-gradient(180deg, #f4f5f2 0%, #eef1ed 100%) !important;
}

.home-dark-preview .pos-story {
  position: relative;
  padding: 5.5rem 0 2.5rem;
}

.home-dark-preview .pos-story .container {
  max-width: 1280px;
  padding-left: 72px;
  padding-right: 72px;
  color: #111111;
}

.home-dark-preview .pos-story__intro {
  position: sticky;
  top: calc(var(--header-offset) + var(--subnav-height));
  z-index: 8;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 2.5rem;
  padding: 0 max(38px, calc((100vw - 1280px) / 2 + 72px)) 1.35rem;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(244, 245, 242, 0.98) 0%, rgba(244, 245, 242, 0.98) 78%, rgba(244, 245, 242, 0) 100%);
  transform: translateY(var(--pos-story-intro-shift, 0px));
}

.home-dark-preview .pos-story.is-ending .pos-story__intro {
  pointer-events: none;
}

.home-dark-preview .pos-story__intro h2 {
  margin: 0 0 0.85rem;
  max-width: 22ch;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  color: #111111;
}

.home-dark-preview .pos-story__intro p:last-child {
  margin: 0;
  max-width: 54ch;
  color: #596171;
  font-size: 1rem;
  line-height: 1.65;
}

.home-dark-preview .pos-story__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: clamp(5rem, 8vw, 9rem);
  align-items: start;
  margin-top: 1rem;
}

.home-dark-preview .pos-story__visual {
  position: sticky;
  top: 450px;
  z-index: 2;
  transform: translateY(var(--pos-story-visual-shift, 0px));
}

.home-dark-preview .pos-story__terminal {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.home-dark-preview .pos-story__device {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 320ms ease;
  filter: drop-shadow(0 34px 52px rgba(9, 17, 31, 0.14));
}

.home-dark-preview .pos-story__device.is-active {
  opacity: 1;
}

.home-dark-preview picture.pos-story__device img {
  display: block;
  width: 100%;
  height: auto;
}

.home-dark-preview .pos-story__device--frame {
  position: relative;
  z-index: 2;
}

.home-dark-preview .pos-story__device--alt {
  position: absolute;
  inset: 0;
  z-index: 2;
  object-fit: contain;
  object-position: center center;
}

.home-dark-preview .pos-story__screen-stack {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.home-dark-preview .pos-story__screen-stack.is-hidden {
  opacity: 0;
}

.home-dark-preview .pos-story__screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 320ms ease, transform 320ms ease;
}

.home-dark-preview .pos-story__screen.is-active {
  opacity: 1;
  transform: scale(1);
}

.home-dark-preview .pos-story__screen--ui {
  object-fit: contain;
  object-position: center center;
}

.home-dark-preview .pos-story__screen--mobile {
  object-fit: contain;
  object-position: center center;
}

.home-dark-preview picture.pos-story__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.home-dark-preview .pos-story__steps {
  display: grid;
  gap: 1rem;
  justify-self: end;
  width: min(100%, 560px);
  padding-top: 180px;
}

.home-dark-preview .pos-story__step {
  min-height: 56vh;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(18, 32, 51, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.home-dark-preview .pos-story__step.is-active,
.home-dark-preview .pos-story__step.is-active.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(4px);
}

.home-dark-preview .pos-story__index {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: #67c46a;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.home-dark-preview .pos-story__step h3 {
  margin: 0 0 0.75rem;
  max-width: 12ch;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #111111;
}

.home-dark-preview .pos-story__step p {
  margin: 0;
  max-width: 34ch;
  color: #5c6777;
  font-size: 1rem;
  line-height: 1.65;
}

@media (min-width: 1200px) {
  .home-dark-preview .pos-story {
    padding-bottom: 1rem !important;
  }

  .home-dark-preview .pos-story__layout {
    gap: clamp(4rem, 6vw, 7rem);
  }

  .home-dark-preview .pos-story__steps {
    padding-top: clamp(86px, 8vh, 128px);
  }

  .home-dark-preview .pos-story__step {
    min-height: clamp(360px, 30vh, 500px);
    padding-top: 1.05rem;
    padding-bottom: 1.15rem;
    opacity: 0.28;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .home-dark-preview .pos-story__step.is-active,
  .home-dark-preview .pos-story__step.is-active.is-visible {
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .home-dark-preview .pos-story {
    padding: 4.6rem 0 4.8rem;
  }

  .home-dark-preview .pos-story__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 0;
  }

  .home-dark-preview .pos-story__intro {
    position: relative;
    top: auto;
    width: auto;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    background: none;
  }

  .home-dark-preview .pos-story__visual {
    position: relative;
    top: auto;
    z-index: auto;
  }

  .home-dark-preview .pos-story__terminal {
    max-width: 620px;
  }

  .home-dark-preview .pos-story__steps {
    gap: 0.55rem;
    justify-self: stretch;
    width: 100%;
    padding-top: 0;
  }

  .home-dark-preview .pos-story__step {
    min-height: auto;
    padding: 1rem 0 1.2rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none !important;
  }

  .home-dark-preview .pos-story__step h3 {
    max-width: none;
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .home-dark-preview .pos-story__step p {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .home-dark-preview .pos-story__layout {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-dark-preview .pos-story__visual {
    position: sticky;
    top: calc(var(--header-offset) + 12px);
    z-index: 7;
    margin-bottom: 1rem;
    background:
      linear-gradient(180deg, rgba(244, 245, 242, 0.98), rgba(238, 241, 237, 0.92)),
      #eef1ed;
  }

  .home-dark-preview .pos-story.is-final-step-active .pos-story__visual {
    position: sticky;
    top: calc(var(--header-offset) + 12px);
    z-index: 7;
    transform: none;
  }

  .home-dark-preview .pos-story.is-final-step-over-image .pos-story__visual {
    opacity: 0;
    visibility: hidden;
  }

  .home-dark-preview .pos-story__terminal {
    max-width: min(100%, 420px);
  }

  .home-dark-preview .pos-story__steps {
    display: block;
    padding-top: 0;
    padding-bottom: 18vh;
  }

  .home-dark-preview .pos-story__step {
    position: sticky;
    top: calc(var(--header-offset) + 250px);
    min-height: 42vh;
    margin: 0 0 36vh;
    padding: 1.15rem 1rem 1.25rem;
    border: 1px solid rgba(18, 32, 51, 0.08);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(244, 245, 242, 0.98), rgba(238, 241, 237, 0.98)),
      #eef1ed;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .home-dark-preview .pos-story__step:nth-child(1) { z-index: 1; }
  .home-dark-preview .pos-story__step:nth-child(2) { z-index: 2; }
  .home-dark-preview .pos-story__step:nth-child(3) { z-index: 3; }
  .home-dark-preview .pos-story__step:nth-child(4) { z-index: 4; }
  .home-dark-preview .pos-story__step:nth-child(5) { z-index: 5; }
  .home-dark-preview .pos-story__step:nth-child(6) { z-index: 8; }

  .home-dark-preview .pos-story__step:nth-child(6) {
    top: calc(var(--header-offset) + 250px);
  }

  .home-dark-preview .pos-story__step:last-child {
    margin-bottom: 8vh;
  }
}

@media (max-width: 1100px) {
  .home-dark-preview .tapapay-cinematic-hero .hero-inner,
  .home-dark-preview .tapapay-cinematic-hero .hero-inner.container {
    display: block !important;
    min-height: inherit !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-content {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    z-index: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 980px !important;
    margin: 0 !important;
    padding: 100px 56px 0 !important;
    text-align: left !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .tapapay-hero-badge,
  .home-dark-preview .tapapay-cinematic-hero .hero-content h1,
  .home-dark-preview .tapapay-cinematic-hero .tapapay-hero-lede,
  .home-dark-preview .tapapay-cinematic-hero .tapapay-home-hero__actions {
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 700px) {
  .home-dark-preview .tapapay-cinematic-hero,
  .home-dark-preview .tapapay-cinematic-hero .hero-overlay {
    min-height: 720px !important;
    padding: 0 !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-content {
    max-width: none !important;
    padding: 100px 20px 0 !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .tapapay-hero-badge {
    display: inline-flex !important;
    align-self: flex-start !important;
    justify-content: flex-start !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 0 1.5rem 0 !important;
    transform: none !important;
    text-align: left !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .tapapay-hero-badge span:last-child {
    display: inline-block !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-content h1,
  .home-dark-preview .tapapay-cinematic-hero .tapapay-hero-lede,
  .home-dark-preview .tapapay-cinematic-hero .tapapay-home-hero__actions {
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .tapapay-home-hero__actions {
    width: auto !important;
    max-width: none !important;
    align-items: flex-start !important;
  }
}

.home-dark-preview .tapapay-cinematic-hero {
  position: relative;
  min-height: min(920px, 100vh);
  padding: 0 !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #565353 0%, #4d4a4a 36%, #3f3d3d 100%);
}

.home-dark-preview .tapapay-cinematic-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.18), rgba(8, 10, 14, 0.36)),
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.14), transparent 26%);
  pointer-events: none;
  z-index: 1;
}

.home-dark-preview .tapapay-cinematic-hero .hero-overlay {
  position: relative;
  min-height: inherit;
  padding: 0 !important;
  z-index: 2;
}

.home-dark-preview .tapapay-cinematic-hero .hero-inner {
  position: relative;
  display: flex;
  min-height: inherit;
  max-width: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}

.home-dark-preview .tapapay-cinematic-hero .hero-inner.container {
  max-width: none;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media {
  position: absolute;
  inset: 0;
  transform: none;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media::before {
  display: none;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media__background,
.home-dark-preview .tapapay-cinematic-hero .hero-media__background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
  opacity: 1;
  filter: none;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media__foreground {
  position: absolute;
  right: clamp(32px, 8vw, 150px);
  bottom: clamp(38px, 7vh, 96px);
  z-index: 2;
  width: min(48vw, 760px);
  max-width: 760px;
  pointer-events: none;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media__foreground img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  filter: drop-shadow(0 34px 60px rgba(8, 16, 28, 0.2));
}

.home-dark-preview .tapapay-cinematic-hero .hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 1280px !important;
  margin: 0 auto;
  padding: 100px 72px 4rem;
  text-align: left;
}

.home-dark-preview .tapapay-cinematic-hero .hero-content > * {
  transform: none;
}

.home-dark-preview .tapapay-hero-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.98rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home-dark-preview .tapapay-hero-badge__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #d8e7ff);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
}

.home-dark-preview .tapapay-cinematic-hero .hero-content h1 {
  max-width: 12ch;
  margin: 0 0 1.1rem;
  color: #ffffff;
  font-size: clamp(2.35rem, 4.5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  text-wrap: balance;
  text-align: left;
}

.home-dark-preview .tapapay-hero-lede {
  max-width: 26ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem) !important;
  line-height: 1.42 !important;
  text-wrap: balance;
  text-align: left;
}

.home-dark-preview .tapapay-cinematic-hero .tapapay-home-hero__actions {
  margin-top: 2rem;
  display: flex;
  width: 100%;
  justify-content: flex-start;
}

.home-dark-preview .tapapay-cinematic-hero .hero-cta,
.home-dark-preview .tapapay-cinematic-hero .hero-content .hero-cta {
  min-height: 68px;
  padding: 0.95rem 1.75rem 0.95rem 2rem;
  border-radius: 999px;
  background: #67c46a !important;
  color: #ffffff !important;
  border: 1px solid #67c46a !important;
  box-shadow: 0 24px 50px rgba(20, 24, 34, 0.28) !important;
  font-size: 1.05rem;
  font-weight: 600;
}

.home-dark-preview .tapapay-cinematic-hero .hero-cta::after,
.home-dark-preview .tapapay-cinematic-hero .hero-content .hero-cta::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 1rem;
  border-radius: 999px;
  background: #ffffff !important;
  color: #67c46a !important;
  font-size: 1.2rem;
  line-height: 1;
}

.home-dark-preview .tapapay-cinematic-hero .hero-cta:hover,
.home-dark-preview .tapapay-cinematic-hero .hero-content .hero-cta:hover {
  background: rgba(255, 255, 255, 0.96) !important;
  color: #67c46a !important;
  border-color: rgba(255, 255, 255, 0.92) !important;
  transform: translateY(-2px);
}

.home-dark-preview .tapapay-cinematic-hero .hero-cta:hover::after,
.home-dark-preview .tapapay-cinematic-hero .hero-content .hero-cta:hover::after {
  background: #67c46a !important;
  color: #ffffff !important;
}

.home-dark-preview .tapapay-platform,
.home-dark-preview .tapapay-customise,
.home-dark-preview .tapapay-teams,
.home-dark-preview .tapapay-deployment {
  position: relative;
  padding: 5.5rem 0;
}

.home-dark-preview .tapapay-platform::before,
.home-dark-preview .tapapay-customise::before,
.home-dark-preview .tapapay-teams::before,
.home-dark-preview .tapapay-deployment::before,
.home-dark-preview .industries::before,
.home-dark-preview .hero_offer::before,
.home-dark-preview .apps::before,
.home-dark-preview .testi::before,
.home-dark-preview .integration-logos::before,
.home-dark-preview .cta-section::before,
.home-dark-preview .faqs::before {
  content: none !important;
}

.home-dark-preview .tapapay-platform,
.home-dark-preview .tapapay-teams {
  background:
    radial-gradient(circle at top right, rgba(52, 197, 255, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.home-dark-preview .tapapay-customise,
.home-dark-preview .tapapay-deployment {
  background:
    radial-gradient(circle at top left, rgba(93, 224, 162, 0.08), transparent 26%),
    rgba(255, 255, 255, 0.02);
}

.home-dark-preview .tapapay-platform {
  background:
    radial-gradient(circle at 15% 12%, rgba(52, 197, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #0a1424 0%, #0d182b 100%);
}

.home-dark-preview .tapapay-customise {
  background:
    radial-gradient(circle at 85% 18%, rgba(93, 224, 162, 0.12), transparent 24%),
    linear-gradient(180deg, #f6f8fb 0%, #edf2f7 100%);
}

.home-dark-preview .tapapay-customise,
.home-dark-preview .tapapay-customise h2,
.home-dark-preview .tapapay-customise h3,
.home-dark-preview .tapapay-customise p {
  color: #122033;
}

.home-dark-preview .tapapay-customise .eyebrow {
  color: #67c46a !important;
}

.home-dark-preview .tapapay-customise__steps article {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(18, 32, 51, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.home-dark-preview .tapapay-customise__media img {
  border-color: rgba(18, 32, 51, 0.08);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.home-dark-preview .tapapay-teams {
  background:
    radial-gradient(circle at 10% 10%, rgba(93, 224, 162, 0.08), transparent 24%),
    linear-gradient(180deg, #101621 0%, #0a111b 100%);
}

.home-dark-preview .tapapay-deployment {
  background:
    radial-gradient(circle at 90% 8%, rgba(52, 197, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #f3f6fa 0%, #e9eef5 100%);
}

.home-dark-preview .tapapay-deployment,
.home-dark-preview .tapapay-deployment h2,
.home-dark-preview .tapapay-deployment h3,
.home-dark-preview .tapapay-deployment p {
  color: #122033;
}

.home-dark-preview .tapapay-deployment .eyebrow {
  color: #67c46a !important;
}

.home-dark-preview .tapapay-deployment__list article {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(18, 32, 51, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.home-dark-preview .tapapay-deployment__media img {
  border-color: rgba(18, 32, 51, 0.08);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.home-dark-preview .tapapay-section-heading {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.home-dark-preview .tapapay-section-heading h2,
.home-dark-preview .tapapay-customise__copy h2,
.home-dark-preview .tapapay-deployment__copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.home-dark-preview .tapapay-section-heading p,
.home-dark-preview .tapapay-customise__copy > p,
.home-dark-preview .tapapay-deployment__copy > p {
  max-width: 64ch;
}

.home-dark-preview .tapapay-platform__grid,
.home-dark-preview .tapapay-teams__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.home-dark-preview .tapapay-platform-card,
.home-dark-preview .tapapay-team-card,
.home-dark-preview .tapapay-customise__steps article,
.home-dark-preview .tapapay-deployment__list article {
  background: rgba(10, 19, 34, 0.72);
  border: 1px solid rgba(135, 183, 255, 0.14);
  border-radius: 24px;
  box-shadow: var(--preview-shadow);
}

.home-dark-preview .tapapay-platform-card,
.home-dark-preview .tapapay-team-card {
  padding: 1.75rem;
  min-height: 100%;
}

.home-dark-preview .tapapay-platform-card__kicker {
  margin: 0 0 0.75rem;
  color: var(--preview-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
}

.home-dark-preview .tapapay-platform-card h3,
.home-dark-preview .tapapay-team-card h3,
.home-dark-preview .tapapay-customise__steps h3,
.home-dark-preview .tapapay-deployment__list h3 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
}

.home-dark-preview .tapapay-platform-card a {
  display: inline-flex;
  margin-top: 1rem;
  color: #ffffff;
  font-weight: 700;
}

.home-dark-preview .tapapay-platform {
  background:
    radial-gradient(circle at 14% 12%, rgba(78, 127, 255, 0.08), transparent 22%),
    linear-gradient(180deg, #f7f7f5 0%, #f1f1ee 100%);
}

.home-dark-preview .tapapay-platform,
.home-dark-preview .tapapay-platform h2,
.home-dark-preview .tapapay-platform h3,
.home-dark-preview .tapapay-platform p,
.home-dark-preview .tapapay-platform a {
  color: #111318;
}

.home-dark-preview .tapapay-platform::before {
  background: linear-gradient(90deg, transparent, rgba(18, 32, 51, 0.12), transparent);
}

.home-dark-preview .tapapay-platform__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.home-dark-preview .tapapay-platform__title-wrap .eyebrow {
  margin-bottom: 1rem;
  color: #67c46a;
}

.home-dark-preview .tapapay-platform__title-wrap h2 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2.35rem, 4.4vw, 4.1rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.home-dark-preview .tapapay-platform__strong,
.home-dark-preview .tapapay-platform__muted {
  display: block;
}

.home-dark-preview .tapapay-platform__strong {
  color: #111318;
}

.home-dark-preview .tapapay-platform__muted {
  color: #8f949d;
  font-size: 0.76em;
  line-height: 1.02;
  margin-top: 0.14em;
}

.home-dark-preview .tapapay-platform__lede {
  max-width: 54ch;
  margin: 1.6rem 0 0;
  color: #737983;
  font-size: 1.05rem;
  line-height: 1.62;
}

.home-dark-preview .tapapay-platform__cta {
  display: flex;
  justify-content: flex-end;
  align-self: center;
}

.home-dark-preview .tapapay-platform__cta .hero-cta {
  background: #67c46a;
  color: #0d1b10 !important;
  border-color: #67c46a;
  box-shadow: 0 14px 30px rgba(103, 196, 106, 0.24);
}

.home-dark-preview .tapapay-platform__cta .hero-cta::after {
  background: #ffffff;
  color: #1f5a28;
}

.home-dark-preview .tapapay-platform__cta .hero-cta:hover,
.home-dark-preview .tapapay-platform__cta .hero-cta:focus-visible {
  background: #67c46a;
  color: #0d1b10 !important;
  border-color: #67c46a;
}

.home-dark-preview .tapapay-platform__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.home-dark-preview .tapapay-platform-feature {
  overflow: hidden;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(18, 32, 51, 0.06);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.07);
}

.home-dark-preview .tapapay-platform-feature__media {
  padding: 2rem 2rem 0;
  background:
    linear-gradient(135deg, rgba(248, 238, 236, 0.9), rgba(223, 226, 253, 0.92));
}

.home-dark-preview .tapapay-platform-feature__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 14px 28px rgba(80, 89, 120, 0.08);
}

.home-dark-preview .tapapay-platform-feature__body {
  padding: 1.5rem 1.9rem 2rem;
}

.home-dark-preview .tapapay-platform-feature__eyebrow {
  margin: 0 0 0.75rem;
  color: #67c46a !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem !important;
  font-weight: 700;
}

.home-dark-preview .tapapay-platform-feature__body h3 {
  margin: 0 0 0.8rem;
  color: #111318;
  font-size: clamp(1.85rem, 2.6vw, 2.55rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.home-dark-preview .tapapay-platform-feature__body p {
  margin: 0;
  color: #7b828c;
  font-size: 1rem;
  line-height: 1.6;
}

.home-dark-preview .tapapay-platform-feature__body a {
  display: inline-flex;
  margin-top: 1.1rem;
  color: #111318;
  font-weight: 700;
}

.home-dark-preview .tapapay-customise__layout,
.home-dark-preview .tapapay-deployment__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.home-dark-preview .tapapay-customise__steps,
.home-dark-preview .tapapay-deployment__list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.home-dark-preview .tapapay-customise__steps article,
.home-dark-preview .tapapay-deployment__list article {
  padding: 1.35rem 1.4rem;
}

.home-dark-preview .tapapay-customise__copy,
.home-dark-preview .tapapay-deployment__copy {
  position: relative;
  z-index: 1;
}

.home-dark-preview .tapapay-customise__copy h2,
.home-dark-preview .tapapay-deployment__copy h2 {
  max-width: 11ch;
  font-size: clamp(1.95rem, 4vw, 3.45rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.home-dark-preview .tapapay-customise__lede {
  max-width: 52ch;
  font-size: 1.02rem;
  line-height: 1.7;
}

.home-dark-preview .tapapay-customise__intro-card {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 1.35rem 1.4rem;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.84));
  border: 1px solid rgba(18, 32, 51, 0.08);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.08);
}

.home-dark-preview .tapapay-customise__intro-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #122033;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.home-dark-preview .tapapay-customise__intro-card p {
  margin: 0;
  color: #435166;
}

.home-dark-preview .tapapay-customise__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-dark-preview .tapapay-customise__signals li {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(18, 32, 51, 0.06);
  color: #122033;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.home-dark-preview .tapapay-customise__steps {
  position: relative;
  gap: 0.9rem;
  padding-left: 0.85rem;
}

.home-dark-preview .tapapay-customise__steps::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(15, 125, 184, 0.12), rgba(21, 127, 102, 0.26), rgba(15, 125, 184, 0.12));
}

.home-dark-preview .tapapay-customise__steps article {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  transition: transform 180ms ease;
}

.home-dark-preview .tapapay-customise__steps span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1fd4c6, #34c5ff);
  color: #072036;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 0 0 6px rgba(246, 248, 251, 1);
}

.home-dark-preview .tapapay-customise__step-body {
  padding: 1.15rem 1.25rem 1.1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(18, 32, 51, 0.08);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.home-dark-preview .tapapay-customise__steps article:hover,
.home-dark-preview .tapapay-deployment__list article:hover,
.home-dark-preview .tapapay-team-card:hover {
  transform: translateY(-4px);
}

.home-dark-preview .tapapay-customise__step-body h3 {
  margin: 0 0 0.35rem;
  color: #122033;
  font-size: 1.05rem;
  line-height: 1.25;
}

.home-dark-preview .tapapay-customise__step-body p {
  margin: 0;
  color: #59687b;
  font-size: 0.95rem;
  line-height: 1.6;
}

.home-dark-preview .tapapay-customise__media-frame,
.home-dark-preview .tapapay-deployment__media-frame {
  position: relative;
  padding: 1.15rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76));
  border: 1px solid rgba(18, 32, 51, 0.08);
  box-shadow: 0 28px 54px rgba(15, 23, 42, 0.14);
}

.home-dark-preview .tapapay-customise__media-frame::before,
.home-dark-preview .tapapay-deployment__media-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(52, 197, 255, 0.08), rgba(93, 224, 162, 0.06));
  pointer-events: none;
}

.home-dark-preview .tapapay-customise__media img,
.home-dark-preview .tapapay-deployment__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 24px;
  border: 0;
  box-shadow: none;
}

.home-dark-preview .tapapay-customise__media-note {
  position: absolute;
  z-index: 2;
}

.home-dark-preview .tapapay-customise__media-note {
  left: -18px;
  bottom: 24px;
  max-width: 240px;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(10, 19, 34, 0.88);
  border: 1px solid rgba(135, 183, 255, 0.14);
  color: #edf3ff;
  box-shadow: 0 18px 36px rgba(2, 8, 18, 0.24);
}

.home-dark-preview .tapapay-customise__media-note strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.home-dark-preview .tapapay-customise__media-note p {
  margin: 0;
  color: #b9c8dc;
  font-size: 0.9rem;
  line-height: 1.5;
}

.home-dark-preview .tapapay-customise {
  background:
    radial-gradient(circle at 18% 18%, rgba(31, 87, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #050608 0%, #050608 100%);
}

.home-dark-preview #enquiry,
.home-dark-preview #enquiry .cta-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(31, 87, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #050608 0%, #050608 100%);
}

.home-dark-preview .tapapay-customise,
.home-dark-preview .tapapay-customise h2,
.home-dark-preview .tapapay-customise h3,
.home-dark-preview .tapapay-customise p,
.home-dark-preview .tapapay-customise div,
.home-dark-preview .tapapay-customise span {
  color: #ffffff;
}

.home-dark-preview .tapapay-customise .eyebrow {
  margin-bottom: 1rem;
  color: #67c46a;
}

.home-dark-preview .tapapay-customise__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

.home-dark-preview .tapapay-customise__title-wrap h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.home-dark-preview .tapapay-customise__muted,
.home-dark-preview .tapapay-customise__strong {
  display: block;
}

.home-dark-preview .tapapay-customise__muted {
  color: rgba(255, 255, 255, 0.34);
}

.home-dark-preview .tapapay-customise__strong {
  color: #ffffff;
}

.home-dark-preview .tapapay-customise__cta {
  display: flex;
  justify-content: flex-end;
  padding-top: 2.15rem;
}

.home-dark-preview .tapapay-customise__showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

.home-dark-preview .tapapay-customise__mosaic-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 170px;
  gap: 1.15rem;
}

.home-dark-preview .tapapay-customise__mosaic-grid::before,
.home-dark-preview .tapapay-customise__mosaic-grid::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
}

.home-dark-preview .tapapay-customise__mosaic-grid::before {
  top: calc(170px * 0.5);
  bottom: calc(170px * 0.5);
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(87, 136, 255, 0.08), rgba(87, 136, 255, 0.72), rgba(87, 136, 255, 0.08));
}

.home-dark-preview .tapapay-customise__mosaic-grid::after {
  left: calc(33.333% + 0.6rem);
  right: calc(33.333% + 0.6rem);
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(87, 136, 255, 0.08), rgba(87, 136, 255, 0.72), rgba(87, 136, 255, 0.08));
}

.home-dark-preview .tapapay-customise__mosaic-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 0.8rem;
  padding: 1.25rem 1.35rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #070809;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.98rem;
  font-weight: 500;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
  animation: tapapay-mosaic-pulse 11s ease-in-out infinite;
  will-change: transform, border-color, box-shadow, background-color;
}

.home-dark-preview a.tapapay-customise__mosaic-card {
  text-decoration: none;
}

.home-dark-preview a.tapapay-customise__mosaic-card:hover,
.home-dark-preview a.tapapay-customise__mosaic-card:focus-visible {
  border-color: rgba(103, 196, 106, 0.72);
  color: #ffffff;
  outline: none;
  transform: translateY(-2px);
}

.home-dark-preview a.tapapay-customise__mosaic-card:focus-visible {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 0 3px rgba(103, 196, 106, 0.28);
}

.home-dark-preview .tapapay-customise__mosaic-card img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
  opacity: 0.94;
  filter: brightness(0) invert(1);
}

.home-dark-preview .tapapay-customise__mosaic-card span {
  display: block;
  min-width: 0;
  text-align: center;
}

.home-dark-preview .tapapay-customise__mosaic-card::before,
.home-dark-preview .tapapay-customise__mosaic-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
}

.home-dark-preview .tapapay-customise__mosaic-card--pos {
  grid-column: 1;
  grid-row: 1;
  animation-delay: 0s;
}

.home-dark-preview .tapapay-customise__mosaic-card--payments {
  grid-column: 2;
  grid-row: 1;
  animation-delay: 1.1s;
}

.home-dark-preview .tapapay-customise__mosaic-card--reservations {
  grid-column: 3;
  grid-row: 1;
  animation-delay: 2.2s;
}

.home-dark-preview .tapapay-customise__mosaic-card--voice {
  grid-column: 1;
  grid-row: 2;
  animation-delay: 3.3s;
}

.home-dark-preview .tapapay-customise__mosaic-card--voice::after {
  top: 50%;
  right: -1.15rem;
  width: 1.15rem;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(97, 145, 255, 0), rgba(97, 145, 255, 0.95));
  animation: tapapay-connector-pulse 11s ease-in-out infinite;
  animation-delay: 3.3s;
}

.home-dark-preview .tapapay-customise__mosaic-card--core {
  justify-content: center;
  grid-column: 2;
  grid-row: 2;
  border-color: rgba(47, 102, 255, 0.24);
  background:
    radial-gradient(circle at center, rgba(23, 78, 214, 0.36), rgba(5, 13, 34, 0.96) 72%),
    #081025;
  box-shadow:
    inset 0 0 0 1px rgba(87, 136, 255, 0.1),
    0 18px 40px rgba(8, 18, 48, 0.28);
  animation-name: tapapay-mosaic-core-pulse;
  animation-delay: 8.8s;
}

.home-dark-preview .tapapay-customise__mosaic-card--insights {
  grid-column: 3;
  grid-row: 2;
  animation-delay: 4.4s;
}

.home-dark-preview .tapapay-customise__mosaic-card--insights::before {
  top: 50%;
  left: -1.15rem;
  width: 1.15rem;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(97, 145, 255, 0.95), rgba(97, 145, 255, 0));
  animation: tapapay-connector-pulse 11s ease-in-out infinite;
  animation-delay: 4.4s;
}

.home-dark-preview .tapapay-customise__mosaic-card--connectivity {
  grid-column: 1;
  grid-row: 3;
  animation-delay: 5.5s;
}

.home-dark-preview .tapapay-customise__mosaic-card--connectivity::after {
  top: -1.15rem;
  left: 50%;
  width: 1px;
  height: 1.15rem;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(97, 145, 255, 0.95), rgba(97, 145, 255, 0));
  animation: tapapay-connector-pulse 11s ease-in-out infinite;
  animation-delay: 5.5s;
}

.home-dark-preview .tapapay-customise__mosaic-card--inventory {
  grid-column: 2;
  grid-row: 3;
  animation-delay: 6.6s;
}

.home-dark-preview .tapapay-customise__mosaic-card--inventory::after {
  top: -1.15rem;
  left: 50%;
  width: 1px;
  height: 1.15rem;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(97, 145, 255, 0.95), rgba(97, 145, 255, 0));
  animation: tapapay-connector-pulse 11s ease-in-out infinite;
  animation-delay: 6.6s;
}

.home-dark-preview .tapapay-customise__mosaic-card--integrations {
  grid-column: 3;
  grid-row: 3;
  animation-delay: 7.7s;
}

.home-dark-preview .tapapay-customise__mosaic-card--integrations::after {
  top: -1.15rem;
  left: 50%;
  width: 1px;
  height: 1.15rem;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(97, 145, 255, 0.95), rgba(97, 145, 255, 0));
  animation: tapapay-connector-pulse 11s ease-in-out infinite;
  animation-delay: 7.7s;
}

.home-dark-preview .tapapay-customise__mosaic-card--payments::after {
  bottom: -1.15rem;
  left: 50%;
  width: 1px;
  height: 1.15rem;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(97, 145, 255, 0), rgba(97, 145, 255, 0.95));
  animation: tapapay-connector-pulse 11s ease-in-out infinite;
  animation-delay: 1.1s;
}

.home-dark-preview .tapapay-customise__mosaic-card--reservations::after {
  bottom: -1.15rem;
  left: 50%;
  width: 1px;
  height: 1.15rem;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(97, 145, 255, 0), rgba(97, 145, 255, 0.95));
  animation: tapapay-connector-pulse 11s ease-in-out infinite;
  animation-delay: 2.2s;
}

.home-dark-preview .tapapay-customise__mosaic-card--pos::after {
  top: 50%;
  right: -1.15rem;
  width: 1.15rem;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(97, 145, 255, 0), rgba(97, 145, 255, 0.95));
  animation: tapapay-connector-pulse 11s ease-in-out infinite;
  animation-delay: 0s;
}

.home-dark-preview .tapapay-customise__mosaic-card--core img {
  display: block;
  width: min(72%, 260px);
  height: auto;
  flex: 0 1 auto;
  filter: brightness(0) invert(1);
}

@keyframes tapapay-mosaic-pulse {
  0%, 8%, 100% {
    transform: translateY(0);
    border-color: rgba(255, 255, 255, 0.1);
    background: #070809;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.66);
  }

  3%, 5% {
    transform: translateY(-2px);
    border-color: rgba(87, 136, 255, 0.28);
    background: linear-gradient(180deg, rgba(12, 18, 32, 0.98), rgba(9, 14, 24, 0.98));
    box-shadow:
      inset 0 0 0 1px rgba(87, 136, 255, 0.08),
      0 0 0 1px rgba(32, 92, 255, 0.14),
      0 18px 36px rgba(16, 34, 84, 0.18);
    color: rgba(255, 255, 255, 0.96);
  }
}

@keyframes tapapay-mosaic-core-pulse {
  0%, 10%, 100% {
    transform: translateY(0);
    border-color: rgba(47, 102, 255, 0.24);
    background:
      radial-gradient(circle at center, rgba(23, 78, 214, 0.36), rgba(5, 13, 34, 0.96) 72%),
      #081025;
    box-shadow:
      inset 0 0 0 1px rgba(87, 136, 255, 0.1),
      0 18px 40px rgba(8, 18, 48, 0.28);
  }

  4%, 7% {
    transform: translateY(-3px);
    border-color: rgba(112, 154, 255, 0.42);
    background:
      radial-gradient(circle at center, rgba(36, 104, 255, 0.54), rgba(7, 17, 48, 0.98) 72%),
      #0a1535;
    box-shadow:
      inset 0 0 0 1px rgba(143, 177, 255, 0.14),
      0 0 0 1px rgba(61, 117, 255, 0.18),
      0 22px 46px rgba(10, 24, 70, 0.34);
  }
}

@keyframes tapapay-connector-pulse {
  0%, 8%, 100% {
    opacity: 0;
    box-shadow: none;
  }

  3%, 5% {
    opacity: 1;
    box-shadow:
      0 0 18px rgba(86, 134, 255, 0.7),
      0 0 28px rgba(86, 134, 255, 0.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-dark-preview .tapapay-customise__mosaic-card {
    animation: none !important;
  }

  .home-dark-preview .tapapay-customise__mosaic-card::before,
  .home-dark-preview .tapapay-customise__mosaic-card::after {
    animation: none !important;
  }
}

.home-dark-preview .tapapay-customise__benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-dark-preview .tapapay-customise__benefit-card {
  min-height: 100%;
  padding: 2.35rem 1.65rem 1.85rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-dark-preview .tapapay-customise__benefit-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  margin-top: 0;
  margin-bottom: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(78, 127, 255, 0.42);
  color: #4e7fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.home-dark-preview .tapapay-customise__benefit-card h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.home-dark-preview .tapapay-customise__benefit-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.58;
}

.home-dark-preview .tapapay-team-card {
  text-align: left;
  padding: 1.8rem;
  background: linear-gradient(180deg, rgba(9, 17, 29, 0.92), rgba(12, 22, 36, 0.84));
  border: 1px solid rgba(52, 197, 255, 0.16);
  box-shadow: 0 20px 40px rgba(2, 8, 18, 0.24);
}

.home-dark-preview .tapapay-teams {
  background:
    radial-gradient(circle at 10% 10%, rgba(93, 224, 162, 0.08), transparent 24%),
    linear-gradient(180deg, #08090b 0%, #0a0c10 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-dark-preview .tapapay-teams__header {
  max-width: 980px;
  margin: 0 auto 2.7rem;
  text-align: center;
}

.home-dark-preview .tapapay-teams .container {
  max-width: 1320px;
}

.home-dark-preview .tapapay-teams__header .eyebrow {
  margin-bottom: 1rem;
  color: #67c46a;
}

.home-dark-preview .tapapay-teams__header h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.home-dark-preview .tapapay-teams__strong,
.home-dark-preview .tapapay-teams__muted {
  display: block;
}

.home-dark-preview .tapapay-teams__strong {
  color: #ffffff;
}

.home-dark-preview .tapapay-teams__muted {
  color: rgba(255, 255, 255, 0.32);
}

.home-dark-preview .tapapay-teams__lede {
  max-width: 56ch;
  margin: 1.4rem auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.02rem;
  line-height: 1.62;
}

.home-dark-preview .tapapay-team-card__eyebrow {
  margin: 0 0 1rem;
  color: var(--preview-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
}

.home-dark-preview .tapapay-team-card p:last-child {
  margin: 0;
  color: #c1cede;
}

.home-dark-preview .tapapay-teams__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}

.home-dark-preview .tapapay-team-card--feature {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(30, 29, 29, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  min-height: 315px;
}

.home-dark-preview .tapapay-team-card__media {
  position: absolute;
  inset: 0;
  padding: 0;
  pointer-events: none;
}

.home-dark-preview .tapapay-team-card__media-picture {
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 88%;
  margin: 0;
  z-index: 1;
}

.home-dark-preview .tapapay-team-card__media-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
}

.home-dark-preview .tapapay-team-card__placeholder {
  position: absolute;
  inset: 0;
  min-height: 0;
  border-radius: 0;
  background: none;
  z-index: 0;
}

.home-dark-preview .tapapay-team-card__placeholder::before,
.home-dark-preview .tapapay-team-card__placeholder::after {
  content: "";
  position: absolute;
}

.home-dark-preview .tapapay-team-card__placeholder--methods::before {
  right: 4%;
  bottom: -14%;
  width: 54%;
  height: 92%;
  border-radius: 34px;
  background:
    linear-gradient(145deg, #2e2d2d 0%, #101215 36%, #0a0b0e 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 36px rgba(0, 0, 0, 0.28);
  transform: rotate(28deg);
}

.home-dark-preview .tapapay-team-card__placeholder--methods::after {
  left: auto;
  right: 15%;
  top: 10%;
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.18), transparent 66%),
    rgba(255,255,255,0.08);
  box-shadow:
    -220px 120px 0 -12px rgba(255,255,255,0.08),
    -130px 290px 0 -12px rgba(255,255,255,0.08),
    60px 250px 0 -12px rgba(255,255,255,0.08);
}

.home-dark-preview .tapapay-team-card__placeholder--tips::before {
  right: 8%;
  bottom: 0;
  width: 33%;
  height: 82%;
  border-radius: 26px 26px 0 0;
  background:
    linear-gradient(180deg, #353433 0%, #111318 44%, #0d1014 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 18px 30px rgba(0, 0, 0, 0.26);
}

.home-dark-preview .tapapay-team-card__placeholder--tips::after {
  right: 14%;
  bottom: 18%;
  width: 18%;
  height: 20%;
  border-radius: 18px;
  background: rgba(255,255,255,0.07);
  box-shadow: 0 -140px 0 0 rgba(255,255,255,0.04);
}

.home-dark-preview .tapapay-team-card__placeholder--pricing::before {
  right: 8%;
  bottom: -10%;
  width: 29%;
  height: 96%;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(45, 43, 44, 0.84) 0%, rgba(17, 19, 24, 0.66) 44%, rgba(12, 14, 18, 0.2) 100%);
  transform: rotate(11deg);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 18px 32px rgba(0, 0, 0, 0.28);
}

.home-dark-preview .tapapay-team-card__placeholder--pricing::after {
  right: 11%;
  bottom: 10%;
  width: 132px;
  height: 38px;
  border-radius: 999px;
  background: rgba(44, 44, 44, 0.92);
  box-shadow:
    -118px -184px 0 -6px rgba(255,255,255,0.05);
}

.home-dark-preview .tapapay-team-card__placeholder--recon::before {
  right: 7%;
  bottom: -10%;
  width: 30%;
  height: 92%;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(37, 42, 49, 0.86) 0%, rgba(17, 21, 28, 0.72) 38%, rgba(10, 13, 18, 0.16) 100%);
  transform: rotate(12deg);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 18px 32px rgba(0, 0, 0, 0.28);
}

.home-dark-preview .tapapay-team-card__placeholder--recon::after {
  right: 16%;
  bottom: 24%;
  width: 138px;
  height: 42px;
  border-radius: 999px;
  background: rgba(44, 44, 44, 0.9);
  transform: rotate(-10deg);
  box-shadow:
    -82px -168px 0 -10px rgba(255,255,255,0.05);
}

.home-dark-preview .tapapay-team-card__body {
  position: relative;
  z-index: 2;
  max-width: 44%;
  padding: 1.8rem 1.8rem 1.8rem;
}

.home-dark-preview .tapapay-team-card__body h3 {
  margin: 0 0 0.75rem;
  color: #ffffff;
  font-size: clamp(1.35rem, 1.95vw, 1.95rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.home-dark-preview .tapapay-team-card__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.97rem;
  line-height: 1.5;
}

.home-dark-preview .tapapay-team-card--methods .tapapay-team-card__body,
.home-dark-preview .tapapay-team-card--pricing .tapapay-team-card__body,
.home-dark-preview .tapapay-team-card--recon .tapapay-team-card__body {
  max-width: 42%;
}

.home-dark-preview .tapapay-team-card--methods .tapapay-team-card__body {
  max-width: 40%;
}

.home-dark-preview .tapapay-team-card--methods .tapapay-team-card__media-picture {
  right: -7%;
  bottom: -10%;
  width: 72%;
  height: 112%;
}

.home-dark-preview .tapapay-team-card--methods .tapapay-team-card__media-picture img {
  object-fit: contain;
  object-position: right bottom;
  transform: scale(1.08);
  transform-origin: right bottom;
}

.home-dark-preview .tapapay-team-card--tips .tapapay-team-card__body {
  max-width: 40%;
}

.home-dark-preview .tapapay-team-card--recon .tapapay-team-card__body {
  max-width: 40%;
}

.home-dark-preview .tapapay-team-card--tips .tapapay-team-card__media-picture,
.home-dark-preview .tapapay-team-card--tips .tapapay-team-card__media-picture {
  right: -4%;
  bottom: -8%;
  width: 46%;
  height: 112%;
}

.home-dark-preview .tapapay-team-card--tips .tapapay-team-card__media-picture img {
  object-fit: contain;
  object-position: right bottom;
  transform: scale(1.75);
  transform-origin: right bottom;
}

.home-dark-preview .tapapay-team-card--tips .tapapay-team-card__placeholder--tips::before {
  right: 6%;
  bottom: -6%;
  width: 34%;
  height: 92%;
  border-radius: 28px 28px 0 0;
  background:
    linear-gradient(180deg, rgba(48, 47, 47, 0.88) 0%, rgba(17, 19, 24, 0.72) 44%, rgba(12, 15, 20, 0.24) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 22px 36px rgba(0, 0, 0, 0.26);
}

.home-dark-preview .tapapay-team-card--tips .tapapay-team-card__placeholder--tips::after {
  right: 15%;
  bottom: 22%;
  width: 16%;
  height: 18%;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  box-shadow: 0 -136px 0 0 rgba(255,255,255,0.04);
}

.home-dark-preview .tapapay-team-card--pricing .tapapay-team-card__media-picture {
  right: -3%;
  bottom: -18%;
  width: 50%;
  height: 132%;
}

.home-dark-preview .tapapay-team-card--pricing .tapapay-team-card__media-picture img {
  object-fit: contain;
  object-position: right bottom;
  transform: scale(1.42) rotate(7deg);
  transform-origin: right bottom;
}

.home-dark-preview .tapapay-team-card--recon .tapapay-team-card__media-picture {
  right: -4%;
  bottom: -20%;
  width: 52%;
  height: 134%;
}

.home-dark-preview .tapapay-team-card--recon .tapapay-team-card__media-picture img {
  object-fit: contain;
  object-position: right bottom;
  transform: scale(1.46) rotate(10deg);
  transform-origin: right bottom;
}

.home-dark-preview .tapapay-team-card--pricing .tapapay-team-card__placeholder--pricing::before {
  right: 3%;
  bottom: -20%;
  width: 38%;
  height: 126%;
}

.home-dark-preview .tapapay-team-card--pricing .tapapay-team-card__placeholder--pricing::after {
  right: 7%;
  bottom: 6%;
}

.home-dark-preview .tapapay-team-card--recon .tapapay-team-card__placeholder--recon::before {
  right: 0;
  bottom: -20%;
  width: 44%;
  height: 120%;
}

.home-dark-preview .tapapay-team-card--recon .tapapay-team-card__placeholder--recon::after {
  right: 12%;
  bottom: 16%;
}

.home-dark-preview .tapapay-deployment__layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2.5rem;
  align-items: center;
}

.home-dark-preview .tapapay-deployment__copy h2 {
  max-width: 9ch;
}

.home-dark-preview .tapapay-deployment__lede {
  max-width: 48ch;
  margin: 0 0 1.35rem;
  color: #526174;
  font-size: 1rem;
  line-height: 1.72;
}

.home-dark-preview .tapapay-deployment__list {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.home-dark-preview .tapapay-deployment__list article {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
  padding: 0.95rem 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(18, 32, 51, 0.09);
  box-shadow: none;
}

.home-dark-preview .tapapay-deployment__index {
  display: inline-flex;
  width: 10px;
  height: 10px;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #18b8cc, #34c5ff);
  box-shadow: 0 0 0 4px rgba(52, 197, 255, 0.1);
}

.home-dark-preview .tapapay-deployment__item-copy {
  min-width: 0;
}

.home-dark-preview .tapapay-deployment__list h3 {
  margin: 0 0 0.35rem;
  color: #122033;
  font-size: 1.08rem;
  line-height: 1.28;
  text-wrap: balance;
}

.home-dark-preview .tapapay-deployment__list p {
  margin: 0;
  color: #5d6b7d;
  line-height: 1.62;
  max-width: 48ch;
}

.home-dark-preview .tapapay-deployment__copy .hero-cta {
  margin-top: 1.4rem;
}

.home-dark-preview .tapapay-deployment__media-frame {
  padding: 0.9rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 32, 51, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.home-dark-preview .tapapay-deployment__media-frame::before {
  inset: 10px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(52, 197, 255, 0.05), rgba(93, 224, 162, 0.04));
}

@media (max-width: 1100px) {
  .home-dark-preview .tapapay-platform__grid,
  .home-dark-preview .tapapay-teams__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-dark-preview .tapapay-platform__header,
  .home-dark-preview .tapapay-platform__cards {
    grid-template-columns: 1fr;
  }

  .home-dark-preview .tapapay-platform__cta {
    justify-content: flex-start;
  }

  .home-dark-preview .tapapay-teams__grid {
    grid-template-columns: 1fr;
  }

  .home-dark-preview .tapapay-customise__header,
  .home-dark-preview .tapapay-customise__showcase {
    grid-template-columns: 1fr;
  }

  .home-dark-preview .tapapay-customise__cta {
    justify-content: flex-start;
    padding-top: 0;
  }

  .home-dark-preview .tapapay-customise__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-dark-preview .tapapay-customise__layout,
  .home-dark-preview .tapapay-deployment__layout {
    grid-template-columns: 1fr;
  }

  .home-dark-preview .tapapay-customise__copy h2,
  .home-dark-preview .tapapay-deployment__copy h2 {
    max-width: 12ch;
  }

  .home-dark-preview .tapapay-cinematic-hero {
    min-height: 820px;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-inner {
    display: block !important;
    min-height: inherit !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-content {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    z-index: 3 !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 980px !important;
    margin: 0 !important;
    padding: 100px 56px 0 !important;
    text-align: left !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-content h1,
  .home-dark-preview .tapapay-cinematic-hero .tapapay-hero-lede {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .tapapay-home-hero__actions {
    width: 100% !important;
    max-width: 64ch;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-content > * {
    transform: none;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-media {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    z-index: 0 !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-media img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center bottom !important;
    display: block !important;
    margin: 0 !important;
  }

  .home-dark-preview .tapapay-cinematic-hero::before {
    background:
      linear-gradient(180deg, rgba(5, 8, 12, 0.14) 0%, rgba(5, 8, 12, 0.36) 40%, rgba(5, 8, 12, 0.74) 100%),
      radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.08), transparent 24%);
  }
}

@media (max-width: 700px) {
  .home-dark-preview .tapapay-platform__grid,
  .home-dark-preview .tapapay-teams__grid {
    grid-template-columns: 1fr;
  }

  .home-dark-preview .tapapay-platform,
  .home-dark-preview .tapapay-customise,
  .home-dark-preview .tapapay-teams,
  .home-dark-preview .tapapay-deployment {
    padding: 4rem 0;
  }

  .home-dark-preview .tapapay-platform__header {
    gap: 1.25rem;
    margin-bottom: 1.8rem;
  }

  .home-dark-preview .tapapay-platform__title-wrap h2 {
    max-width: none;
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .home-dark-preview .tapapay-platform__lede {
    margin-top: 1rem;
    font-size: 0.98rem;
  }

  .home-dark-preview .tapapay-platform__cards {
    gap: 1.1rem;
  }

  .home-dark-preview .tapapay-teams__header {
    margin-bottom: 1.8rem;
  }

  .home-dark-preview .tapapay-teams__header h2 {
    font-size: clamp(2.05rem, 9vw, 3rem);
  }

  .home-dark-preview .tapapay-teams__lede {
    font-size: 0.98rem;
  }

  .home-dark-preview .tapapay-team-card--feature {
    border-radius: 28px;
    min-height: 360px;
  }

  .home-dark-preview .tapapay-team-card__media {
    inset: 0;
  }

  .home-dark-preview .tapapay-team-card__placeholder {
    min-height: 0;
  }

  .home-dark-preview .tapapay-team-card__body {
    max-width: 52%;
    padding: 1.15rem 1.1rem 1.25rem;
  }

  .home-dark-preview .tapapay-platform-feature {
    border-radius: 28px;
  }

  .home-dark-preview .tapapay-platform-feature__media {
    padding: 1.1rem 1.1rem 0;
  }

  .home-dark-preview .tapapay-platform-feature__media img {
    border-radius: 22px;
  }

  .home-dark-preview .tapapay-platform-feature__body {
    padding: 1.2rem 1.15rem 1.35rem;
  }

  .home-dark-preview .tapapay-customise__header {
    gap: 1.25rem;
    margin-bottom: 2rem;
  }

  .home-dark-preview .tapapay-customise__title-wrap h2 {
    max-width: none;
    font-size: clamp(2.05rem, 9vw, 3rem);
  }

  .home-dark-preview .tapapay-customise__showcase {
    gap: 1.5rem;
  }

  .home-dark-preview .tapapay-customise__mosaic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 0.85rem;
  }

  .home-dark-preview .tapapay-customise__mosaic-card {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: 92px;
    border-radius: 22px;
    padding: 1rem;
    font-size: 0.95rem;
  }

  .home-dark-preview .tapapay-customise__mosaic-card::before,
  .home-dark-preview .tapapay-customise__mosaic-card::after {
    display: none;
  }

  .home-dark-preview .tapapay-customise__mosaic-card--core {
    min-height: 120px;
  }

  .home-dark-preview .tapapay-customise__benefits {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .home-dark-preview .tapapay-customise__benefit-card {
    padding: 1.3rem 1.15rem 1.35rem;
    border-radius: 22px;
  }

  .home-dark-preview .tapapay-customise__benefit-mark {
    margin-bottom: 2rem;
  }

  .home-dark-preview .tapapay-cinematic-hero {
    min-height: 720px;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-inner {
    display: block !important;
    min-height: inherit;
    padding: 0 !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-content {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    z-index: 3 !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    margin: 0 !important;
    padding: 100px 20px 0 !important;
    text-align: left !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-content h1 {
    max-width: 9.5ch;
    font-size: clamp(1.95rem, 10vw, 2.85rem);
    line-height: 0.98;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  .home-dark-preview .tapapay-hero-lede {
    max-width: 24ch;
    font-size: 1rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  .home-dark-preview .tapapay-hero-badge {
    display: inline-flex !important;
    align-self: flex-start !important;
    justify-content: flex-start !important;
    font-size: 0.86rem;
    padding: 0.48rem 0.8rem;
    margin: 0 0 1.5rem 0 !important;
    margin-right: auto !important;
    margin-left: 0 !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
    text-align: left !important;
  }

  .home-dark-preview .tapapay-hero-badge span:last-child {
    display: inline !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-media {
    position: absolute !important;
    inset: 0 !important;
    width: 100%;
    height: 100%;
    overflow: hidden !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-cta,
  .home-dark-preview .tapapay-cinematic-hero .hero-content .hero-cta {
    width: auto;
    min-width: 280px;
    min-height: 58px;
    padding: 0.9rem 1.25rem 0.9rem 1.45rem;
    font-size: 0.98rem;
  }

  .home-dark-preview .tapapay-cinematic-hero .tapapay-home-hero__actions {
    width: auto !important;
    max-width: none !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    align-self: flex-start !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-content > * {
    transform: none;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-cta::after {
    width: 34px;
    height: 34px;
    margin-left: 0.8rem;
    font-size: 1rem;
  }

  .home-dark-preview .tapapay-customise__copy h2,
  .home-dark-preview .tapapay-deployment__copy h2 {
    max-width: none;
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }

  .home-dark-preview .tapapay-teams__grid article:nth-child(1),
  .home-dark-preview .tapapay-teams__grid article:nth-child(4) {
    transform: none;
  }

  .home-dark-preview .tapapay-customise__steps {
    padding-left: 0;
  }

  .home-dark-preview .tapapay-customise__steps::before {
    display: none;
  }

  .home-dark-preview .tapapay-customise__steps article {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 0.8rem;
  }

  .home-dark-preview .tapapay-customise__steps span {
    margin-top: 1rem;
    box-shadow: 0 0 0 4px rgba(246, 248, 251, 1);
  }

  .home-dark-preview .tapapay-customise__step-body {
    padding: 1rem 1rem 0.95rem;
  }

  .home-dark-preview .tapapay-customise__media-note {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }

}

.home-dark-preview.leadform-page {
  background: #eef1f4;
}

.home-dark-preview.hardware-page {
  background: #eef1f4;
  color: #1b2430;
}

.home-dark-preview.hardware-page main,
.home-dark-preview.hardware-page .answer-snapshot,
.home-dark-preview.hardware-page .why-us,
.home-dark-preview.hardware-page .hw-section {
  background: #eef1f4;
}

.home-dark-preview.hardware-page .answer-snapshot,
.home-dark-preview.hardware-page .why-us,
.home-dark-preview.hardware-page .why-us h2,
.home-dark-preview.hardware-page .why-us p,
.home-dark-preview.hardware-page .why-card__body h3,
.home-dark-preview.hardware-page .why-card__body p {
  color: #1b2430 !important;
}

.home-dark-preview.hardware-page .why-us {
  background: #08111d !important;
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.home-dark-preview.hardware-page .why-us h2,
.home-dark-preview.hardware-page .why-us p,
.home-dark-preview.hardware-page .why-us .why-us__intro,
.home-dark-preview.hardware-page .why-us .why-card__body h3,
.home-dark-preview.hardware-page .why-us .why-card__body p {
  color: #ffffff !important;
}

.home-dark-preview.hardware-page .why-us .why-us__header {
  max-width: 980px;
  margin: 0 auto 2rem;
  text-align: center;
}

.home-dark-preview.hardware-page .why-us .why-us__intro {
  color: #d3d7df !important;
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}

.home-dark-preview.hardware-page .why-us .why-us__grid {
  gap: 1.4rem;
}

.home-dark-preview.hardware-page .why-us .why-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #ffffff !important;
  border: 1px solid rgba(17, 17, 17, 0.08) !important;
  border-radius: var(--preview-card-radius) !important;
  box-shadow: none !important;
  padding: 1.6rem 1.55rem !important;
}

.home-dark-preview.hardware-page .why-us .why-card:hover,
.home-dark-preview.hardware-page .why-us .why-card:focus-within {
  transform: translateY(-2px);
  box-shadow: none !important;
  border-color: rgba(17, 17, 17, 0.14) !important;
}

.home-dark-preview.hardware-page .why-us .why-card__img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
  margin-top: 0.15rem;
}

.home-dark-preview.hardware-page .why-us .why-card__body h3 {
  margin: 0 0 0.45rem !important;
  color: #121a2f !important;
  font-family: "Poppins", sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.18;
}

.home-dark-preview.hardware-page .why-us .why-card__body p {
  margin: 0 !important;
  color: #4a4f59 !important;
  font-size: 1rem;
  line-height: 1.55;
}

.home-dark-preview .hw-section {
  background: #eef1f4;
}

.home-dark-preview .hw-topnav {
  background: #eef1f4;
  border-bottom-color: rgba(27, 36, 48, 0.12);
}

.home-dark-preview .hw-topnav__item {
  color: #1b2430;
}

.home-dark-preview.hardware-page .hw-hero,
.home-dark-preview.hardware-page section.hw-hero,
.home-dark-preview.hardware-page .hw-hero.full-width {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 0, rgba(52, 197, 255, 0.22), transparent 28%),
    radial-gradient(circle at 100% 0, rgba(93, 224, 162, 0.18), transparent 30%),
    linear-gradient(180deg, #1b1b1b 0%, #141414 58%, #101010 100%) !important;
  color: #ffffff !important;
}

.home-dark-preview.hardware-page .hw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 60%);
  pointer-events: none;
}

.home-dark-preview.hardware-page .hw-hero .eyebrow,
.home-dark-preview.hardware-page .hw-hero h1,
.home-dark-preview.hardware-page .hw-hero .lede,
.home-dark-preview.hardware-page .hw-hero p,
.home-dark-preview.hardware-page .hw-hero li {
  color: #ffffff !important;
}

.home-dark-preview.hardware-page .hw-hero .eyebrow {
  color: rgba(255, 255, 255, 0.72) !important;
}

.home-dark-preview.hardware-page .hw-hero .btn-neutral {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-dark-preview.hardware-page .hw-hero .btn-neutral:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.home-dark-preview .hw-section,
.home-dark-preview .hw-section h2,
.home-dark-preview .hw-section h3,
.home-dark-preview .hw-section p,
.home-dark-preview .hw-section li,
.home-dark-preview .hw-section .hw-card__title,
.home-dark-preview .hw-section .hw-card__blurb,
.home-dark-preview .hw-section .hw-feature__title,
.home-dark-preview .hw-section .hw-feature__intro {
  color: #1b2430 !important;
}

.home-dark-preview body,
.home-dark-preview main,
.home-dark-preview section,
.home-dark-preview footer {
  color: var(--preview-text);
  font-family: "Inter", sans-serif;
}

.home-dark-preview a {
  color: inherit;
}

.home-dark-preview p,
.home-dark-preview li,
.home-dark-preview dd,
.home-dark-preview .why-us__intro,
.home-dark-preview .answer-snapshot__intro p,
.home-dark-preview .industries__intro,
.home-dark-preview .apps-header p,
.home-dark-preview .cta-content p,
.home-dark-preview .faq__a,
.home-dark-preview figcaption {
  color: var(--preview-text-soft);
}

.home-dark-preview h1,
.home-dark-preview h2,
.home-dark-preview h3,
.home-dark-preview dt,
.home-dark-preview summary,
.home-dark-preview .logos-title,
.home-dark-preview .eyebrow {
  color: var(--preview-text);
  font-family: "Poppins", sans-serif;
}

.home-dark-preview #header {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0;
}

.home-dark-preview .site-header {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.home-dark-preview {
  --subnav-height: 62px;
}

.home-dark-preview .header-inner {
  max-width: 1680px;
  margin: 0 auto;
  min-height: 92px;
  padding-left: 32px;
  padding-right: 32px;
}

.home-dark-preview .logo {
  display: inline-flex;
  align-items: center;
}

.home-dark-preview .site-header .site-logo {
  content: url("/assets/logos/tapapay_logo_white.png");
  width: auto;
  height: 55px !important;
  filter: brightness(1.05) saturate(1.02);
}

.home-dark-preview .site-nav {
  background: transparent;
}

.home-dark-preview .nav-link,
.home-dark-preview .logo {
  color: #ffffff;
}

.home-dark-preview .nav-link:hover,
.home-dark-preview .mega-links a:hover,
.home-dark-preview .integration-link:hover + * {
  color: #67c46a;
}

.home-dark-preview .nav-list {
  gap: 1.7rem;
}

.home-dark-preview .nav-link,
.home-dark-preview .nav-link.has-caret {
  color: #ffffff;
  font-weight: 500;
  font-size: 0.86rem;
  font-family: "Inter", sans-serif;
  letter-spacing: 0;
}

.home-dark-preview .site-nav a,
.home-dark-preview .site-nav button,
.home-dark-preview .site-nav .nav-link,
.home-dark-preview .site-nav .has-caret {
  color: #ffffff !important;
}

.home-dark-preview .site-nav .nav-link:hover,
.home-dark-preview .site-nav .has-caret:hover,
.home-dark-preview .site-nav a:hover,
.home-dark-preview .site-nav button:hover {
  color: #67c46a !important;
}

.home-dark-preview .nav-link.has-caret::after,
.home-dark-preview .has-caret::after {
  border-top-color: rgba(255, 255, 255, 0.82);
}

.home-dark-preview .nav-link.has-caret:hover::after,
.home-dark-preview .has-caret:hover::after {
  border-top-color: #67c46a !important;
}

.home-dark-preview .site-header .cta.primary a,
.home-dark-preview .site-header .cta.primary .btn,
.home-dark-preview .site-header .header-demo-cta,
.home-dark-preview .site-header .btn-primary,
.home-dark-preview .site-header .btn-neutral {
  background: #ffffff;
  color: #67c46a;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.72rem 1rem;
}

.home-dark-preview .site-header .cta.primary a:hover,
.home-dark-preview .site-header .header-demo-cta:hover,
.home-dark-preview .site-header .header-demo-cta:focus,
.home-dark-preview .site-header .btn-primary:hover,
.home-dark-preview .site-header .btn-neutral:hover {
  background: #f5f7fb;
  color: #2f7f45;
  transform: none;
  box-shadow: none;
}

.home-dark-preview .subnav {
  background: rgba(8, 17, 29, 0.08);
  backdrop-filter: blur(14px) saturate(130%) brightness(0.7);
  -webkit-backdrop-filter: blur(14px) saturate(130%) brightness(0.7);
  border-top: 0;
  border-bottom: 0;
}

.home-dark-preview.tapapay-subnav-page .subnav {
  background: rgba(10, 19, 34, 0.96);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-dark-preview.hardware-page .subnav {
  background: rgba(10, 19, 34, 0.96);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-dark-preview .subnav__link {
  color: #ffffff;
}

.home-dark-preview .subnav__link:hover {
  color: #2f7f45;
}

.home-dark-preview .subnav__link.is-active,
.home-dark-preview .subnav__link[aria-current="page"] {
  color: #2f7f45;
  border-color: #2f7f45;
}

.home-dark-preview .subnav__wrap {
  min-height: 62px;
}

.home-dark-preview .subnav__ctas .btn,
.home-dark-preview .subnav__ctas .btn-neutral,
.home-dark-preview .subnav__ctas .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 168px;
  min-height: 46px;
  padding: 0.65rem 1.25rem;
  background: #ffffff !important;
  color: #67c46a !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-weight: 600;
}

.home-dark-preview .subnav__ctas .btn:hover,
.home-dark-preview .subnav__ctas .btn-neutral:hover,
.home-dark-preview .subnav__ctas .btn-primary:hover {
  background: #67c46a !important;
  color: #ffffff !important;
  border-color: #67c46a !important;
  box-shadow: none !important;
  transform: none;
}

.home-dark-preview .nav-toggle__bar {
  background: var(--preview-text);
}

.home-dark-preview .mega,
.home-dark-preview .subnav__panel {
  background: rgba(10, 19, 34, 0.96);
  border: 1px solid var(--preview-border);
  box-shadow: var(--preview-shadow);
}

.home-dark-preview .mega {
  max-height: calc(100dvh - 110px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 901px) {
  .home-dark-preview #header .has-mega {
    position: static !important;
  }

  .home-dark-preview #header .mega {
    position: fixed !important;
    top: 92px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: min(1240px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    min-width: 0 !important;
  }
}

.home-dark-preview .mega h4,
.home-dark-preview .menu-text .title {
  color: var(--preview-text);
}

.home-dark-preview .menu-text .desc,
.home-dark-preview .mega-links a.no-icon {
  color: var(--preview-text-soft);
}

.home-dark-preview .mega-links a.no-icon {
  color: #67c46a !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.home-dark-preview .mega-links a.no-icon:hover {
  color: #67c46a !important;
}

.home-dark-preview .hero {
  position: relative;
  overflow: hidden;
  padding-top: 2.5rem;
  background:
    radial-gradient(circle at 0 0, rgba(52, 197, 255, 0.22), transparent 28%),
    radial-gradient(circle at 100% 0, rgba(93, 224, 162, 0.18), transparent 30%),
    linear-gradient(180deg, #020202 0%, #050505 58%, #0b0b0b 100%);
}

.home-dark-preview .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 60%);
  pointer-events: none;
}

.home-dark-preview .hero-overlay {
  background: transparent;
}

.home-dark-preview .hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 0;
}

.home-dark-preview .hero-media {
  position: relative;
  order: 2;
  width: min(100%, 1080px);
  margin-top: -0.4rem;
}

.home-dark-preview .hero-media::before {
  content: "";
  position: absolute;
  inset: auto 10% -4% 10%;
  height: 22%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(76, 45, 16, 0.58), rgba(76, 45, 16, 0));
  filter: blur(28px);
  opacity: 0.95;
}

.home-dark-preview .hero-media img {
  position: relative;
  display: block;
  width: min(100%, 980px);
  margin: 0 auto;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.home-dark-preview .hero-content {
  order: 1;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.home-dark-preview .hero-content h1 {
  font-size: clamp(3.1rem, 4.2vw, 55px);
  line-height: 1.12;
  letter-spacing: 0;
  max-width: 16ch;
  margin: 0 0 1rem;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #ffffff;
}

.home-dark-preview .hero-content p {
  font-size: 17px;
  line-height: 1.45;
  max-width: 54ch;
  margin-left: 0;
  margin-right: 0;
  font-family: "Inter", sans-serif;
}

.home-dark-preview .hero .hero-content h1,
.home-dark-preview .hero .hero-content p {
  color: #ffffff !important;
}

.home-dark-preview .hero-content p:first-of-type {
  color: rgba(255, 255, 255, 0.5);
  font-size: 17px;
  margin-bottom: 1.45rem;
}

.home-dark-preview .hero-content p:nth-of-type(2) {
  display: none;
}

.home-dark-preview .hero-cta,
.home-dark-preview .hero-content .hero-cta,
.home-dark-preview .btn-primary,
.home-dark-preview .offer__btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 168px;
  min-height: 52px;
  background: #ffffff !important;
  color: #67c46a !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-weight: 600;
  padding: 0.85rem 1.3rem;
  text-decoration: none;
}

.home-dark-preview .hero-cta::after {
  content: "\2192";
  display: inline-block;
  background: transparent;
  color: inherit;
  width: auto;
  height: auto;
  border-radius: 0;
  font-size: 0.95rem;
  line-height: 1;
  transform: translateY(1px);
}

.home-dark-preview .hero-cta:hover,
.home-dark-preview .hero-content .hero-cta:hover,
.home-dark-preview .btn-primary:hover,
.home-dark-preview .offer__btn--primary:hover {
  background: #67c46a !important;
  color: #ffffff !important;
  border-color: #67c46a !important;
  transform: none;
  box-shadow: none !important;
}

.home-dark-preview.signup-page .btn-primary,
.home-dark-preview.signup-page .btn.btn-primary {
  background: #5ab562 !important;
  color: #ffffff !important;
  border: 1px solid #5ab562 !important;
  border-radius: 16px !important;
}

.home-dark-preview.signup-page .btn-primary .btn-icon,
.home-dark-preview.signup-page .btn.btn-primary .btn-icon,
.home-dark-preview.signup-page .btn-secondary .btn-icon,
.home-dark-preview.signup-page .btn.btn-secondary .btn-icon,
.home-dark-preview.signup-page .btn-quiet .btn-icon,
.home-dark-preview.signup-page .btn.btn-quiet .btn-icon {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
}

.home-dark-preview.signup-page .btn-primary .btn-icon svg,
.home-dark-preview.signup-page .btn.btn-primary .btn-icon svg,
.home-dark-preview.signup-page .btn-secondary .btn-icon svg,
.home-dark-preview.signup-page .btn.btn-secondary .btn-icon svg,
.home-dark-preview.signup-page .btn-quiet .btn-icon svg,
.home-dark-preview.signup-page .btn.btn-quiet .btn-icon svg {
  stroke: #ffffff !important;
}

.home-dark-preview.signup-page .btn-primary:hover,
.home-dark-preview.signup-page .btn-primary:focus,
.home-dark-preview.signup-page .btn.btn-primary:hover,
.home-dark-preview.signup-page .btn.btn-primary:focus {
  background: #4ea956 !important;
  color: #ffffff !important;
  border-color: #4ea956 !important;
}

.home-dark-preview.signup-page .btn-secondary,
.home-dark-preview.signup-page .btn.btn-secondary {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #000000 !important;
  border-radius: 16px !important;
}

.home-dark-preview.signup-page .btn-secondary:hover,
.home-dark-preview.signup-page .btn-secondary:focus,
.home-dark-preview.signup-page .btn.btn-secondary:hover,
.home-dark-preview.signup-page .btn.btn-secondary:focus {
  background: #111111 !important;
  color: #ffffff !important;
  border-color: #111111 !important;
}

.home-dark-preview.signup-page .btn-quiet,
.home-dark-preview.signup-page .btn.btn-quiet {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #000000 !important;
  border-radius: 16px !important;
}

.home-dark-preview.signup-page .btn-quiet:hover,
.home-dark-preview.signup-page .btn-quiet:focus,
.home-dark-preview.signup-page .btn.btn-quiet:hover,
.home-dark-preview.signup-page .btn.btn-quiet:focus {
  background: #111111 !important;
  color: #ffffff !important;
  border-color: #111111 !important;
}

.home-dark-preview.signup-page .btn:disabled,
.home-dark-preview.signup-page .btn.btn-primary:disabled,
.home-dark-preview.signup-page .btn.btn-secondary:disabled,
.home-dark-preview.signup-page .btn.btn-quiet:disabled,
.home-dark-preview.signup-page .ai-step-btn:disabled {
  background: #d7dde7 !important;
  color: #7b8798 !important;
  border-color: #d7dde7 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}

.home-dark-preview.signup-page .btn:disabled .btn-icon,
.home-dark-preview.signup-page .btn.btn-primary:disabled .btn-icon,
.home-dark-preview.signup-page .btn.btn-secondary:disabled .btn-icon,
.home-dark-preview.signup-page .btn.btn-quiet:disabled .btn-icon,
.home-dark-preview.signup-page .ai-step-btn:disabled .btn-icon {
  color: #7b8798 !important;
  border-color: rgba(123, 135, 152, 0.45) !important;
}

.home-dark-preview.signup-page .btn:disabled .btn-icon svg,
.home-dark-preview.signup-page .btn.btn-primary:disabled .btn-icon svg,
.home-dark-preview.signup-page .btn.btn-secondary:disabled .btn-icon svg,
.home-dark-preview.signup-page .btn.btn-quiet:disabled .btn-icon svg,
.home-dark-preview.signup-page .ai-step-btn:disabled .btn-icon svg {
  stroke: #7b8798 !important;
  opacity: 1 !important;
}

.home-dark-preview .btn-neutral,
.home-dark-preview .offer__btn--link {
  background: rgba(255, 255, 255, 0.04);
  color: var(--preview-text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-dark-preview .btn-neutral:hover,
.home-dark-preview .offer__btn--link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.home-dark-preview .answer-snapshot,
.home-dark-preview .why-us,
.home-dark-preview .industries,
.home-dark-preview .apps,
.home-dark-preview .testi,
.home-dark-preview .faqs,
.home-dark-preview .cta-section,
.home-dark-preview .hero_offer,
.home-dark-preview .integration-logos,
.home-dark-preview .logos {
  background: transparent;
}

.home-dark-preview .stack {
  background: #f3f4f6 !important;
}

.home-dark-preview .stack[aria-label]::before {
  content: attr(aria-label);
  display: block;
  height: auto;
  max-width: 1100px;
  margin: 0 auto 1rem;
  padding: 1rem 20px 0;
  color: #67c46a;
  font-family: "Poppins", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.home-dark-preview .stack[aria-label]::after {
  height: 0;
}

.home-dark-preview .why-us {
  background: #08111d;
  margin-top: 0;
  border-top: 0;
}

.home-dark-preview .why-us .container {
  color: #ffffff;
}

.home-dark-preview .why-us__header h2,
.home-dark-preview .why-us__header h3,
.home-dark-preview .why-card h3 {
  color: #ffffff;
}

.home-dark-preview .why-us #why-us-heading {
  color: #ffffff !important;
}

.home-dark-preview .why-us__intro,
.home-dark-preview .why-card p {
  color: #d3d7df;
}

.home-dark-preview .why-card {
  background: #2a2a2c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.home-dark-preview .feature-cards {
  background: #08111d !important;
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.home-dark-preview .feature-cards .container {
  color: #ffffff;
}

.home-dark-preview .feature-cards__header {
  max-width: 980px;
  margin: 0 auto 2rem;
  text-align: center;
}

.home-dark-preview .feature-cards__header h2 {
  color: #ffffff !important;
}

.home-dark-preview .feature-cards__intro {
  color: #d3d7df !important;
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}

.home-dark-preview .feature-cards__grid {
  gap: 1.4rem;
}

.home-dark-preview .feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #ffffff !important;
  border: 1px solid rgba(17, 17, 17, 0.08) !important;
  border-radius: var(--preview-card-radius) !important;
  box-shadow: none !important;
  padding: 1.6rem 1.55rem !important;
}

.home-dark-preview .feature-card:hover,
.home-dark-preview .feature-card:focus-within {
  transform: translateY(-2px);
  box-shadow: none !important;
  border-color: rgba(17, 17, 17, 0.14) !important;
}

.home-dark-preview .feature-card__img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
  margin-top: 0.15rem;
}

.home-dark-preview .feature-card__body h3 {
  margin: 0 0 0.45rem !important;
  color: #121a2f !important;
  font-family: "Poppins", sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.18;
}

.home-dark-preview .feature-card__body p {
  margin: 0 !important;
  color: #4a4f59 !important;
  font-size: 1rem;
  line-height: 1.55;
}

.home-dark-preview .industries {
  background: #000000;
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.home-dark-preview .industries .container {
  color: #ffffff;
}

.home-dark-preview .industries__header h2 {
  color: #ffffff;
}

.home-dark-preview .industries__intro {
  color: #b8bfd0;
}

.home-dark-preview .industries__grid {
  gap: 1.4rem;
}

.home-dark-preview .industries__card {
  background: #2d2d2d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: none;
}

.home-dark-preview .industries__card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  transform: translateY(-2px);
}

.home-dark-preview .industries__media::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.38) 100%);
}

.home-dark-preview .industries__body {
  background: #2d2d2d;
  color: #000000;
}

.home-dark-preview .industries__body h3,
.home-dark-preview .industries__body p {
  color: #ffffff;
}

.home-dark-preview .industries__body p {
  color: #e7e7e7;
}

.home-dark-preview .industries__body .btn,
.home-dark-preview .industries__body .btn-neutral,
.home-dark-preview .industries__body .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.82rem 1.25rem;
  border-radius: 999px !important;
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #000000 !important;
  box-shadow: none !important;
  font-weight: 600;
}

.home-dark-preview .hero-content .hero-cta,
.home-dark-preview .hero-cta {
  align-self: flex-start;
  margin-left: 0;
  margin-right: auto;
}

.home-dark-preview .industries__body .btn:hover,
.home-dark-preview .industries__body .btn-neutral:hover,
.home-dark-preview .industries__body .btn-primary:hover {
  background: #111111 !important;
  color: #ffffff !important;
  border-color: #111111 !important;
  transform: none;
  box-shadow: none !important;
}

.home-dark-preview .apps {
  background:
    radial-gradient(circle at 0 0, rgba(52, 197, 255, 0.22), transparent 28%),
    radial-gradient(circle at 100% 0, rgba(93, 224, 162, 0.18), transparent 30%),
    linear-gradient(180deg, #020202 0%, #050505 58%, #0b0b0b 100%);
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.home-dark-preview .apps::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 60%);
}

.home-dark-preview .apps-header h2,
.home-dark-preview .apps-header h3 {
  color: #ffffff;
}

.home-dark-preview .apps-header p {
  color: #c0c7d6;
}

.home-dark-preview .app-card {
  background: #1f1f20;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.home-dark-preview .app-card span {
  color: #ffffff;
}

.home-dark-preview .app-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.home-dark-preview .apps .btn,
.home-dark-preview .apps .btn-neutral,
.home-dark-preview .apps .btn-primary {
  background: #ffffff !important;
  color: #67c46a !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

.home-dark-preview .apps .btn:hover,
.home-dark-preview .apps .btn-neutral:hover,
.home-dark-preview .apps .btn-primary:hover {
  background: #67c46a !important;
  color: #ffffff !important;
  border-color: #67c46a !important;
  box-shadow: none !important;
  transform: none;
}

.home-dark-preview .answer-snapshot {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 1.25rem;
  background:
    radial-gradient(circle at 8% 10%, rgba(103, 196, 106, 0.07), transparent 24%),
    linear-gradient(180deg, #f7f8f9 0%, #f2f4f6 100%);
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: 0;
}

.home-dark-preview .answer-snapshot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.home-dark-preview .answer-snapshot > .container {
  position: relative;
  z-index: 1;
}

.home-dark-preview .answer-snapshot .container,
.home-dark-preview .why-us .container,
.home-dark-preview .industries .container,
.home-dark-preview .logos .container,
.home-dark-preview .apps__inner,
.home-dark-preview .testi .container,
.home-dark-preview .faqs .container,
.home-dark-preview .integration-logos,
.home-dark-preview .cta-section .container,
.home-dark-preview .hero_offer__container {
  color: var(--preview-text);
}

.home-dark-preview .logos,
.home-dark-preview .apps,
.home-dark-preview .testi,
.home-dark-preview .faqs,
.home-dark-preview .cta-section {
  position: relative;
}

.home-dark-preview .logos::before,
.home-dark-preview .apps::before,
.home-dark-preview .testi::before,
.home-dark-preview .faqs::before,
.home-dark-preview .cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 17, 31, 0.92), rgba(9, 17, 31, 0.92));
  pointer-events: none;
}

.home-dark-preview .logos > *,
.home-dark-preview .apps > *,
.home-dark-preview .testi > *,
.home-dark-preview .faqs > *,
.home-dark-preview .cta-section > * {
  position: relative;
  z-index: 1;
}

.home-dark-preview .logos {
  background: #ffffff;
}

.home-dark-preview .logos::before {
  background: #ffffff;
}

.home-dark-preview .answer-snapshot__grid > div,
.home-dark-preview .why-card,
.home-dark-preview .industries__card,
.home-dark-preview .app-card,
.home-dark-preview .testi-item,
.home-dark-preview .faq,
.home-dark-preview .help-topic,
.home-dark-preview .support-card,
.home-dark-preview .hero_offer__grid,
.home-dark-preview .cta-grid {
  background: #e5e7eb;
  border: 1px solid var(--preview-border);
  box-shadow: var(--preview-shadow);
}

.home-dark-preview .answer-snapshot__grid > div,
.home-dark-preview .why-card,
.home-dark-preview .testi-item,
.home-dark-preview .faq,
.home-dark-preview .app-card {
  border-radius: var(--preview-card-radius);
}

.home-dark-preview .answer-snapshot__intro {
  max-width: 980px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.home-dark-preview .answer-snapshot__intro p {
  color: #39424e;
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.home-dark-preview .answer-snapshot .container,
.home-dark-preview .answer-snapshot__intro h2 {
  color: #111111 !important;
}

.home-dark-preview .answer-snapshot__intro h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: none;
  white-space: nowrap;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.7rem;
  font-family: "Poppins", sans-serif;
}

.home-dark-preview .answer-snapshot__grid {
  gap: 0.8rem;
}

.home-dark-preview .answer-snapshot__grid > div {
  min-height: 150px;
  padding: 0.95rem 1rem 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #ffffff);
  border: 1px solid rgba(103, 196, 106, 0.42);
  border-radius: var(--preview-card-radius);
  box-shadow:
    0 8px 20px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.home-dark-preview .answer-snapshot .eyebrow,
.home-dark-preview .eyebrow {
  display: inline-block;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #67c46a !important;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  box-shadow: none !important;
}

.home-dark-preview .answer-snapshot dt {
  color: #67c46a;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  font-family: "Poppins", sans-serif;
}

.home-dark-preview .answer-snapshot dd {
  color: #2f3133;
  font-size: 1.05rem;
  line-height: 1.48;
  max-width: none;
}

.home-dark-preview .onboarding-journey {
  padding-top: 1rem;
  padding-bottom: 2.6rem;
  background:
    radial-gradient(circle at 12% 10%, rgba(103, 196, 106, 0.1), transparent 22%),
    linear-gradient(180deg, #f7f8f9 0%, #f2f4f6 100%);
}

.home-dark-preview .onboarding-journey .container {
  color: #111111;
}

.home-dark-preview .onboarding-journey__header {
  margin-bottom: 1rem;
}

.home-dark-preview .onboarding-journey__copy .eyebrow {
  color: #67c46a !important;
  letter-spacing: 0.18em;
  margin-bottom: 0.55rem;
}

.home-dark-preview .onboarding-journey__copy h2 {
  max-width: none;
  font-size: clamp(1.9rem, 4vw, 3.95rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
  color: #101114;
}

.home-dark-preview .onboarding-journey__copy h2 span {
  color: #727782;
}

.home-dark-preview .onboarding-journey__cta {
  box-shadow: 0 16px 28px rgba(90, 181, 98, 0.24);
}

.home-dark-preview .onboarding-step {
  background: linear-gradient(180deg, rgba(248, 248, 249, 0.98), #f1f2f4 100%);
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.home-dark-preview .onboarding-step h3 {
  color: #15171b;
}

.home-dark-preview .onboarding-step p {
  color: #6a7079;
}

.home-dark-preview .onboarding-step__media,
.home-dark-preview .migration-checklist {
  height: clamp(248px, 21vw, 430px);
}

.home-dark-preview .onboarding-step__media img {
  min-height: 100%;
}

.home-dark-preview .migration-checklist {
  align-content: center;
  background: linear-gradient(180deg, #eceff3 0%, #e6eaf0 100%);
}

.home-dark-preview .migration-checklist__item {
  color: #50545b;
}

.home-dark-preview .why-card__img,
.home-dark-preview .app-card img {
  filter:
    brightness(0)
    saturate(100%)
    invert(66%)
    sepia(28%)
    saturate(785%)
    hue-rotate(74deg)
    brightness(92%)
    contrast(90%)
    drop-shadow(0 12px 18px rgba(0, 0, 0, 0.2));
}

.home-dark-preview .industries__card,
.home-dark-preview .app-card {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-dark-preview .industries__card:hover,
.home-dark-preview .app-card:hover,
.home-dark-preview .why-card:hover,
.home-dark-preview .testi-item:hover {
  transform: translateY(-4px);
  border-color: rgba(93, 224, 162, 0.35);
  box-shadow: 0 28px 56px rgba(2, 8, 18, 0.46);
}

.home-dark-preview .industries__body,
.home-dark-preview .app-card span {
  color: var(--preview-text);
}

.home-dark-preview .apps-header h2,
.home-dark-preview .apps-header h3,
.home-dark-preview .testi__header h2,
.home-dark-preview .faqs h2,
.home-dark-preview .cta-content h2,
.home-dark-preview .industries__header h2,
.home-dark-preview .why-us__header h2,
.home-dark-preview .answer-snapshot__intro h2 {
  color: var(--preview-text);
}

.home-dark-preview .apps-header p,
.home-dark-preview .testi__header p,
.home-dark-preview .faqs p,
.home-dark-preview .cta-content p,
.home-dark-preview .logos-title {
  color: var(--preview-text-soft);
}

.home-dark-preview .industries__body p {
  color: rgba(237, 243, 255, 0.76);
}

.home-dark-preview .industries__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 22, 0.08) 0%, rgba(6, 11, 22, 0.74) 100%);
}

.home-dark-preview .industries__img--blur {
  filter: none;
  transform: scale(1.03);
}

.home-dark-preview .logos-title {
  color: #54627c;
}

.home-dark-preview .logos-track img,
.home-dark-preview .integration-logos img {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.home-dark-preview .integration-logos {
  background: #ffffff !important;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.home-dark-preview .integration-logos .logos-marquee,
.home-dark-preview .integration-logos .logos-track,
.home-dark-preview .integration-logos .integration-link {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.home-dark-preview .rotator,
.home-dark-preview .rotator__header,
.home-dark-preview .rotator__container {
  background: #f8f8f9 !important;
}

.home-dark-preview .panel,
.home-dark-preview .wrap {
  background: #f3f4f6 !important;
}

.home-dark-preview .feature,
.home-dark-preview .feature--split,
.home-dark-preview .feature--invert,
.home-dark-preview .feature__copy,
.home-dark-preview .feature__media {
  background: #ffffff !important;
}

.home-dark-preview .feature,
.home-dark-preview .feature--split,
.home-dark-preview .feature--invert {
  border: 1px solid rgba(17, 17, 17, 0.08) !important;
  border-radius: var(--preview-card-radius) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05) !important;
  overflow: hidden !important;
}

.home-dark-preview .panel .feature__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.85rem;
  color: #111111 !important;
}

.home-dark-preview .panel .feature__copy h2,
.home-dark-preview .panel .feature__copy h3 {
  display: block !important;
  margin: 0 !important;
  color: #111111 !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-family: "Poppins", sans-serif !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
  text-wrap: balance;
}

.home-dark-preview .panel .feature__copy p,
.home-dark-preview .panel .ticks,
.home-dark-preview .panel .link-arrow {
  margin-top: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.home-dark-preview .feature__copy h2,
.home-dark-preview .feature__copy h3,
.home-dark-preview .feature__copy p,
.home-dark-preview .ticks li,
.home-dark-preview .link-arrow {
  color: #111111 !important;
}

.home-dark-preview .link-arrow,
.home-dark-preview .grid__link,
.home-dark-preview .text-link,
.home-dark-preview .feature-card a:not(.btn):not(.btn-primary):not(.btn-neutral),
.home-dark-preview .panel a.link-arrow,
.home-dark-preview .panel a:not(.btn):not(.hero-cta):not(.btn-primary):not(.btn-neutral) {
  color: #67c46a !important;
  font-weight: 600;
  transition: color 180ms ease;
}

.home-dark-preview .link-arrow:hover,
.home-dark-preview .grid__link:hover,
.home-dark-preview .text-link:hover,
.home-dark-preview .feature-card a:not(.btn):not(.btn-primary):not(.btn-neutral):hover,
.home-dark-preview .panel a.link-arrow:hover,
.home-dark-preview .panel a:not(.btn):not(.hero-cta):not(.btn-primary):not(.btn-neutral):hover {
  color: #111111 !important;
}

.home-dark-preview .ticks li::before {
  color: #67c46a !important;
}

.home-dark-preview .cta-section,
.home-dark-preview .cta-section::before {
  background: #000000 !important;
}

.home-dark-preview .cta-grid,
.home-dark-preview .cta-form,
.home-dark-preview .cta-form form {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.home-dark-preview .cta-grid {
  background: #1e2022 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 28px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
  overflow: hidden !important;
  padding: clamp(28px, 4vw, 42px) !important;
}

.home-dark-preview .hero_offer {
  padding: 4.5rem 0 5rem;
  --hero-offer-bg: none;
  background: #08111d;
}

.home-dark-preview .hero_offer::before {
  display: none;
  background: none;
}

.home-dark-preview .hero_offer__container,
.home-dark-preview .cta-section .container {
  background: transparent;
}

.home-dark-preview .hero_offer__grid,
.home-dark-preview .cta-grid {
  border-radius: 28px;
  overflow: hidden;
}

.home-dark-preview .hero_offer__grid {
  background: transparent;
  border: 0;
  box-shadow: none;
  gap: clamp(32px, 4vw, 72px);
}

.home-dark-preview .hero_offer__copy,
.home-dark-preview .cta-content {
  background: transparent;
}

.home-dark-preview .hero_offer__media {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-dark-preview .calc-cta {
  background: #1e2022 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: none !important;
}

.home-dark-preview .hero_offer__media img {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-dark-preview .hero_offer__title,
.home-dark-preview .cta-content h2 {
  color: var(--preview-text);
}

.home-dark-preview .hero_offer__lead,
.home-dark-preview .hero_offer__blurb,
.home-dark-preview .cta-content p {
  color: var(--preview-text-soft);
}

.home-dark-preview .highlight-underline {
  color: var(--preview-accent);
}

.home-dark-preview .testi__bg {
  background:
    radial-gradient(circle at top, rgba(52, 197, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(8, 16, 29, 0.4), rgba(8, 16, 29, 0));
}

.home-dark-preview .testi-item__quote blockquote {
  color: var(--preview-text);
}

.home-dark-preview .testi-item__shot {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-dark-preview .testi-item__play {
  background: rgba(4, 17, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.home-dark-preview .faq {
  background: #ffffff !important;
  border: 1px solid rgba(17, 17, 17, 0.08) !important;
  box-shadow: none !important;
  border-radius: 12px;
  overflow: hidden;
}

.home-dark-preview .faq > summary {
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  position: relative;
  user-select: none;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111 !important;
  font-family: "Poppins", sans-serif;
}

.home-dark-preview .faq > summary::-webkit-details-marker {
  display: none;
}

.home-dark-preview .faq > summary::after {
  content: "＋";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  line-height: 1;
  color: #111111;
}

.home-dark-preview .faq[open] > summary::after {
  content: "–";
}

.home-dark-preview .faq > summary h3 {
  margin: 0;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111 !important;
}

.home-dark-preview .faq > summary h3::after {
  content: none !important;
}

.home-dark-preview .faq__a,
.home-dark-preview .faq__a p {
  color: #2f3133 !important;
  font-size: 0.98rem;
  line-height: 1.6;
}

.home-dark-preview .faq__a {
  background: transparent;
  padding: 0 20px 16px 20px;
}

.home-dark-preview .logos a,
.home-dark-preview .apps a,
.home-dark-preview .testi a,
.home-dark-preview .faqs a,
.home-dark-preview .cta-section a,
.home-dark-preview .hero_offer a {
  color: inherit;
}

.home-dark-preview .video-modal__dialog {
  background: #091221;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-dark-preview .video-modal__close {
  background: rgba(255, 255, 255, 0.08);
  color: var(--preview-text);
}

.home-dark-preview .testi,
.home-dark-preview .testi::before {
  background: #f8f8f9 !important;
}

.home-dark-preview .testi__bg {
  background: transparent !important;
}

.home-dark-preview .testi {
  padding: 5.5rem 0 6rem;
  overflow: hidden;
}

.home-dark-preview .testi .container,
.home-dark-preview .testi__header h2,
.home-dark-preview .testi__header p {
  color: #111111 !important;
}

.home-dark-preview .testi .container {
  max-width: 1280px;
  padding-left: 72px;
  padding-right: 72px;
}

.home-dark-preview .testi__header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem 3.5rem;
  align-items: start;
  margin-bottom: 1.55rem;
}

.home-dark-preview .testi__header-copy,
.home-dark-preview .testi__header-side {
  min-width: 0;
}

.home-dark-preview .testi__header h2 {
  margin: 0;
  max-width: 8ch;
  font-size: clamp(2.35rem, 4.8vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.08em;
}

.home-dark-preview .testi__kicker {
  margin: 0 0 0.85rem;
  color: #67c46a !important;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-dark-preview .testi__header .testi__kicker {
  color: #67c46a !important;
}

.home-dark-preview .testi__intro {
  margin: 0;
  max-width: 34ch;
  color: #3f4650 !important;
  font-size: 1.05rem;
  line-height: 1.55;
}

.home-dark-preview .testi__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  margin-top: -24px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.home-dark-preview .testi__arrow span {
  display: block;
  line-height: 1;
  transform: translateY(-1px);
}

.home-dark-preview .testi__arrow:hover,
.home-dark-preview .testi__arrow:focus-visible {
  background: #67c46a;
  border-color: #67c46a;
  color: #ffffff;
  transform: translateY(-1px);
}

.home-dark-preview .testi__arrow--prev {
  left: 14px;
}

.home-dark-preview .testi__arrow--next {
  right: 14px;
}

.home-dark-preview .testi__rail-wrap {
  position: relative;
  overflow: hidden;
  padding: 0 64px;
}

.home-dark-preview .testi__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 26vw);
  gap: 0.95rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 0.6rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 17, 17, 0.24) transparent;
}

.home-dark-preview .testi__rail::-webkit-scrollbar {
  height: 10px;
}

.home-dark-preview .testi__rail::-webkit-scrollbar-track {
  background: transparent;
}

.home-dark-preview .testi__rail::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.18);
  border-radius: 999px;
}

.home-dark-preview .testi-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 312px;
  padding: 1.4rem;
  border-radius: 24px;
  scroll-snap-align: start;
  overflow: hidden;
}

.home-dark-preview .testi-card--quote,
.home-dark-preview .testi-card--stats {
  background: #67c46a;
  color: #ffffff;
}

.home-dark-preview .testi-card--quote-alt {
  background: #111315;
}

.home-dark-preview .testi-card--image {
  padding: 0;
  background: #000000;
}

.home-dark-preview .testi-card--image .testi-item__shot {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 312px;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  padding: 0;
  background: #000;
}

.home-dark-preview .testi-card--image .testi-item__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-dark-preview .testi-card__overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.82);
  color: #ffffff;
  text-align: left;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-dark-preview .testi-card__overlay strong {
  font-size: 1.4rem;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.home-dark-preview .testi-card__overlay span {
  font-size: 0.9rem;
  line-height: 1.35;
}

.home-dark-preview .testi-card__cta {
  margin-top: 0.4rem;
  font-weight: 700;
}

.home-dark-preview .testi-item__quote {
  margin: 0;
  background: transparent !important;
}

.home-dark-preview .testi-item__quote blockquote {
  margin: 0;
  color: inherit !important;
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
  line-height: 1.03;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.home-dark-preview .testi-item__quote figcaption {
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.84rem;
  line-height: 1.45;
}

.home-dark-preview .testi-card__link {
  align-self: flex-start;
  margin-top: 1.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.home-dark-preview .testi-card__stat-brand {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.home-dark-preview .testi-card__stat-block + .testi-card__stat-block {
  margin-top: 1.35rem;
}

.home-dark-preview .testi-card__stat-block strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.home-dark-preview .testi-card__stat-block p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  line-height: 1.42;
}

.home-dark-preview .testi-card .testi-item__play {
  display: none;
}

.home-dark-preview .tapapay-platform-grid {
  position: relative;
  padding: 5.5rem 0 6rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(42, 94, 255, 0.24), transparent 28%),
    linear-gradient(180deg, #050608 0%, #000000 100%);
  color: #ffffff;
}

.home-dark-preview .tapapay-platform-grid .container {
  max-width: 1280px;
  padding-left: 72px;
  padding-right: 72px;
}

.home-dark-preview .tapapay-platform-grid__header {
  max-width: 930px;
  margin: 0 0 clamp(3rem, 6vw, 5.5rem);
}

.home-dark-preview .tapapay-platform-grid .eyebrow {
  color: #67c46a !important;
  letter-spacing: 0.34em;
  margin: 0 0 1.25rem;
}

.home-dark-preview .tapapay-platform-grid__header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: 0;
}

.home-dark-preview .tapapay-platform-grid__header h2 span {
  display: block;
}

.home-dark-preview .tapapay-platform-grid__header h2 span + span {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.42);
}

.home-dark-preview .tapapay-platform-grid__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.home-dark-preview .tapapay-platform-grid__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1.35fr);
  gap: 1rem;
  align-items: center;
  min-height: 160px;
  padding: 0.7rem 4.25rem 0.7rem 0.7rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    #171717;
  color: #ffffff !important;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 180ms ease, background 180ms ease;
}

.home-dark-preview .tapapay-platform-grid__card:hover,
.home-dark-preview .tapapay-platform-grid__card:focus-visible {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.055)),
    #1d1d1d;
  transform: translateY(-2px);
}

.home-dark-preview .tapapay-platform-grid__media {
  display: block;
  height: 140px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(95, 140, 255, 0.2), transparent 36%),
    #242424;
}

.home-dark-preview .tapapay-platform-grid__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  filter: saturate(0.92) contrast(1.02);
  transform: scale(1.02);
}

.home-dark-preview .tapapay-platform-grid__body {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.home-dark-preview .tapapay-platform-grid__title {
  color: #ffffff;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.home-dark-preview .tapapay-platform-grid__text {
  max-width: 27ch;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.98rem, 1.15vw, 1.14rem);
  font-weight: 600;
  line-height: 1.36;
}

.home-dark-preview .tapapay-platform-grid__arrow {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #2f7dff;
  font-size: 1.2rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .home-dark-preview .testi {
    padding: 4.4rem 0 4.8rem;
  }

  .home-dark-preview .testi .container {
    padding-left: 56px;
    padding-right: 56px;
  }

  .home-dark-preview .testi__header {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.6rem;
  }

  .home-dark-preview .testi__header h2 {
    max-width: 9ch;
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .home-dark-preview .testi__intro {
    max-width: 32ch;
    font-size: 0.98rem;
  }

  .home-dark-preview .testi__rail {
    grid-auto-columns: minmax(252px, 82vw);
    gap: 1rem;
  }

  .home-dark-preview .testi-card,
  .home-dark-preview .testi-card--image .testi-item__shot {
    min-height: 360px;
    border-radius: 22px;
  }

  .home-dark-preview .testi-item__quote blockquote {
    font-size: clamp(1.55rem, 7vw, 2.3rem);
  }

  .home-dark-preview .testi-card__overlay {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1.15rem 1.2rem;
  }

  .home-dark-preview .testi-card__overlay strong {
    font-size: 1.25rem;
  }

  .home-dark-preview .testi-card__stat-brand {
    font-size: 1.1rem;
  }

  .home-dark-preview .testi-card__stat-block strong {
    font-size: 1.25rem;
  }

  .home-dark-preview .testi__rail-wrap {
    padding: 0 18px;
  }

  .home-dark-preview .testi__arrow {
    width: 42px;
    height: 42px;
    margin-top: -21px;
    display: grid;
    place-items: center;
    padding: 0;
    line-height: 1;
  }

  .home-dark-preview .testi__arrow span {
    line-height: 1;
    transform: translateY(-1px);
  }

  .home-dark-preview .testi__arrow--prev {
    left: 6px;
  }

  .home-dark-preview .testi__arrow--next {
    right: 6px;
  }

  .home-dark-preview .tapapay-platform-grid {
    padding: 4.4rem 0 4.8rem;
  }

  .home-dark-preview .tapapay-platform-grid .container {
    padding-left: 56px;
    padding-right: 56px;
  }

  .home-dark-preview .tapapay-platform-grid__cards {
    grid-template-columns: 1fr;
  }

  .home-dark-preview .tapapay-platform-grid__card {
    grid-template-columns: minmax(120px, 0.78fr) minmax(0, 1.3fr);
    min-height: 142px;
  }

  .home-dark-preview .tapapay-platform-grid__media {
    height: 122px;
  }
}

@media (max-width: 1100px) {
  .home-dark-preview .pos-story .container {
    padding-left: 56px;
    padding-right: 56px;
  }
}

@media (max-width: 700px) {
  .home-dark-preview .pos-story .container,
  .home-dark-preview .testi .container,
  .home-dark-preview .tapapay-platform-grid .container {
    padding-left: 72px;
    padding-right: 20px;
  }

  .home-dark-preview .tapapay-platform-grid__header {
    margin-bottom: 2.25rem;
  }

  .home-dark-preview .tapapay-platform-grid__header h2 {
    font-size: clamp(2.15rem, 12vw, 3.35rem);
  }

  .home-dark-preview .tapapay-platform-grid__card {
    grid-template-columns: 1fr;
    padding: 0.75rem 3.8rem 1.15rem 0.75rem;
  }

  .home-dark-preview .tapapay-platform-grid__media {
    height: 156px;
  }
}

.home-dark-preview .industries,
.home-dark-preview .industries::before {
  background: #f8f8f9 !important;
}

.home-dark-preview .industries .container,
.home-dark-preview .industries__header h2,
.home-dark-preview .industries__header p,
.home-dark-preview .industries__intro {
  color: #111111 !important;
}

.home-dark-preview .industries__card {
  background: #ffffff !important;
  border: 1px solid rgba(17, 17, 17, 0.08) !important;
  box-shadow: none !important;
}

.home-dark-preview .industries__media,
.home-dark-preview .industries__body {
  background: #ffffff !important;
}

/* Homepage section rhythm */
.home-dark-preview .industries {
  position: relative;
  background:
    radial-gradient(circle at 12% 14%, rgba(52, 197, 255, 0.08), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%) !important;
}

.home-dark-preview .industries::before {
  background: linear-gradient(90deg, transparent, rgba(18, 32, 51, 0.12), transparent) !important;
  top: 0;
  left: 50%;
  width: min(1100px, calc(100% - 32px));
  height: 1px;
  transform: translateX(-50%);
  inset: auto;
}

.home-dark-preview .hero_offer {
  position: relative;
  background:
    radial-gradient(circle at 82% 14%, rgba(52, 197, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #0e1829 0%, #08111d 100%) !important;
}

.home-dark-preview .hero_offer::before {
  display: block;
  background: linear-gradient(90deg, transparent, rgba(135, 183, 255, 0.28), transparent);
  top: 0;
  left: 50%;
  width: min(1100px, calc(100% - 32px));
  height: 1px;
  transform: translateX(-50%);
  inset: auto;
}

.home-dark-preview .apps {
  background:
    radial-gradient(circle at 12% 16%, rgba(93, 224, 162, 0.12), transparent 22%),
    linear-gradient(180deg, #121212 0%, #090909 100%) !important;
}

.home-dark-preview .apps::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent) !important;
  top: 0;
  left: 50%;
  width: min(1100px, calc(100% - 32px));
  height: 1px;
  transform: translateX(-50%);
  inset: auto;
}

.home-dark-preview .testi,
.home-dark-preview .testi::before {
  background: linear-gradient(180deg, #fcfdff 0%, #eef3f8 100%) !important;
}

.home-dark-preview .testi::before {
  content: none !important;
}

.home-dark-preview .integration-logos {
  position: relative;
  background:
    radial-gradient(circle at 88% 18%, rgba(93, 224, 162, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%) !important;
}

.home-dark-preview .integration-logos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1100px, calc(100% - 32px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(18, 32, 51, 0.12), transparent) !important;
  pointer-events: none;
}

.home-dark-preview .cta-section,
.home-dark-preview .cta-section::before {
  background: linear-gradient(180deg, #0f1726 0%, #07101b 100%) !important;
}

.home-dark-preview .cta-section::before {
  background: linear-gradient(90deg, transparent, rgba(135, 183, 255, 0.24), transparent) !important;
  top: 0;
  left: 50%;
  width: min(1100px, calc(100% - 32px));
  height: 1px;
  transform: translateX(-50%);
  inset: auto;
}

.home-dark-preview .faqs,
.home-dark-preview .faqs::before {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%) !important;
}

.home-dark-preview .faqs::before {
  background: linear-gradient(90deg, transparent, rgba(18, 32, 51, 0.12), transparent) !important;
  top: 0;
  left: 50%;
  width: min(1100px, calc(100% - 32px));
  height: 1px;
  transform: translateX(-50%);
  inset: auto;
}

.home-dark-preview .industries__body,
.home-dark-preview .industries__body p,
.home-dark-preview .industries__body h3,
.home-dark-preview .industries__body a,
.home-dark-preview .industries__body .eyebrow {
  color: #2f3133 !important;
}

.home-dark-preview #footer {
  background: transparent;
}

.home-dark-preview .footer,
.home-dark-preview footer {
  background: #08111d !important;
}

.home-dark-preview .footer-socials img {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
}

.home-dark-preview .skip-link:focus {
  background: #f8fbff;
  color: #07111f;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.home-dark-preview .subnav__panel {
  background: #0c1624;
  border-bottom-color: rgba(138, 162, 191, 0.16);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.home-dark-preview .subnav__panel a {
  color: #e5edf7;
}

.home-dark-preview .subnav__panel a:hover {
  color: #7bd88f;
}

.home-dark-preview .subnav__backdrop {
  background: rgba(2, 7, 14, 0.48);
}

/* Case studies */
.home-dark-preview.case-studies-page main {
  padding-top: 0;
}

.home-dark-preview.case-studies-page .testi_plain {
  background: #eef2f5;
  color: #111827;
  padding: 112px 0 72px;
}

.home-dark-preview.case-studies-page .testi_plain__header h2 {
  color: #111827;
}

.home-dark-preview.case-studies-page .videos__intro {
  max-width: 760px;
  margin: 1rem auto 0;
  color: #475569;
}

.home-dark-preview.case-studies-page .testi_plain__item {
  background: #eef2f5;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.home-dark-preview.case-studies-page .testi_plain__item:hover {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}

.home-dark-preview.case-studies-page .testi_plain__quote {
  padding: 24px 18px 0;
}

.home-dark-preview.case-studies-page .testi_plain__logo {
  filter: grayscale(55%);
  opacity: 0.92;
}

.home-dark-preview.case-studies-page .testi_plain__quote figcaption {
  color: #111827;
}

.home-dark-preview.case-studies-page .testi_plain__quote blockquote {
  color: #1f2937;
}

.home-dark-preview.case-studies-page .testi_plain__shot img {
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.home-dark-preview.case-studies-page .testi_plain__play {
  background: rgba(5, 12, 23, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.home-dark-preview.case-studies-page .testi_plain__shot:hover .testi_plain__play {
  background: rgba(28, 117, 188, 0.9);
}

.home-dark-preview.case-studies-page .img-modal__dialog {
  background: #02060c;
  border: 1px solid rgba(138, 162, 191, 0.18);
}

.home-dark-preview.case-studies-page #header .nav-list a.is-active,
.home-dark-preview.resources-page #header .nav-list a.is-active {
  background: transparent !important;
  color: #ffffff !important;
}

/* Resources */
.home-dark-preview.resources-page .archive-hero,
.home-dark-preview.resources-page .archive-main {
  background: #eef2f5;
  color: #111827;
}

.home-dark-preview.resources-page .subnav {
  background: rgba(10, 19, 34, 0.96);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-dark-preview.resources-page .subnav__link {
  color: #ffffff;
}

.home-dark-preview.resources-page .subnav__link:hover,
.home-dark-preview.resources-page .subnav__link.is-active,
.home-dark-preview.resources-page .subnav__link[aria-current="page"] {
  color: #2f7f45;
}

.home-dark-preview.resources-page .subnav__ctas .btn,
.home-dark-preview.resources-page .subnav__ctas .btn-neutral,
.home-dark-preview.resources-page .subnav__ctas .btn-primary {
  background: #ffffff !important;
  color: #67c46a !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

.home-dark-preview.resources-page .subnav__ctas .btn:hover,
.home-dark-preview.resources-page .subnav__ctas .btn-neutral:hover,
.home-dark-preview.resources-page .subnav__ctas .btn-primary:hover {
  background: #67c46a !important;
  color: #ffffff !important;
  border-color: #67c46a !important;
}

.home-dark-preview.resources-page .subnav__panel {
  background: #0c1624;
  border: 1px solid var(--preview-border);
  box-shadow: var(--preview-shadow);
}

.home-dark-preview.resources-page .subnav__panel a {
  color: #e5edf7;
}

.home-dark-preview.resources-page .subnav__panel a:hover {
  color: #7bd88f;
}

.home-dark-preview.resources-page .subnav__backdrop {
  background: rgba(2, 7, 14, 0.48);
}

.home-dark-preview.resources-page .archive-hero h1,
.home-dark-preview.resources-page .archive-hero .lede,
.home-dark-preview.resources-page .archive-main,
.home-dark-preview.resources-page .archive-main p,
.home-dark-preview.resources-page .archive-main li {
  color: #111827;
}

.home-dark-preview.resources-page .archive-hero .lede,
.home-dark-preview.resources-page .card__excerpt {
  color: #475569;
}

.home-dark-preview.resources-page .chip {
  background: #ffffff;
  border-color: rgba(17, 24, 39, 0.1);
  color: #374151;
  box-shadow: 0 2px 8px rgba(2, 8, 23, 0.06);
}

.home-dark-preview.resources-page .chip--active,
.home-dark-preview.resources-page .chip:hover {
  border-color: rgba(17, 24, 39, 0.18);
  box-shadow: 0 6px 18px rgba(2, 8, 23, 0.08);
}

.home-dark-preview.resources-page .cards {
  margin-top: 0;
}

.home-dark-preview.resources-page .card {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  border-radius: 14px;
}

.home-dark-preview.resources-page .card:hover {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}

.home-dark-preview.resources-page h2.card__title,
.home-dark-preview.resources-page h2.card__title:not(#tapapay-heading-scale) {
  font-size: clamp(1.15rem, 0.95rem + 0.55vw, 1.45rem) !important;
  line-height: 1.22 !important;
  font-weight: 600 !important;
  letter-spacing: 0;
}

.home-dark-preview.resources-page h2.card__title a,
.home-dark-preview.resources-page h2.card__title:not(#tapapay-heading-scale) a {
  color: #111827;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}

.home-dark-preview.resources-page .pill {
  background: #ffffff;
  border-color: rgba(17, 24, 39, 0.1);
  color: #374151;
}

/* Contact */
.home-dark-preview.contact-us-page .contact-page,
.home-dark-preview.contact-us-page .cta-section,
.home-dark-preview.contact-us-page .faqs {
  background: #eef2f5;
  color: #111827;
}

.home-dark-preview.contact-us-page .contact-hero,
.home-dark-preview.support-page .contact-hero {
  background: #f8f9fb;
  border-color: rgba(15, 23, 42, 0.08);
}

.home-dark-preview.contact-us-page .contact-hero h2,
.home-dark-preview.contact-us-page .cta-content h2,
.home-dark-preview.contact-us-page .faqs h2,
.home-dark-preview.contact-us-page .office h3,
.home-dark-preview.support-page .contact-hero h1,
.home-dark-preview.support-page .contact-hero h2 {
  color: #111827;
}

.home-dark-preview.contact-us-page .contact-hero p,
.home-dark-preview.contact-us-page .office address,
.home-dark-preview.contact-us-page .faq__a,
.home-dark-preview.contact-us-page .faq__a p,
.home-dark-preview.support-page .contact-hero p {
  color: #475569;
}

.home-dark-preview.contact-us-page .cta-content,
.home-dark-preview.contact-us-page .cta-content p,
.home-dark-preview.contact-us-page .cta-content li,
.home-dark-preview.contact-us-page .cta-content strong,
.home-dark-preview.contact-us-page .cta-content h2 {
  color: #ffffff;
}

/* Support */
.home-dark-preview.support-page .faqs,
.home-dark-preview.support-page .faqs::before,
.home-dark-preview.support-page .contact-page {
  background: #f8f8f9 !important;
  color: #111827;
}

.home-dark-preview.support-page .faqs,
.home-dark-preview.support-page .faqs .faq-group-title,
.home-dark-preview.support-page .faqs .faq summary,
.home-dark-preview.support-page .faqs .faq summary h3,
.home-dark-preview.support-page .faqs .faq__a,
.home-dark-preview.support-page .faqs .faq__a p,
.home-dark-preview.support-page .faqs .faq__a li,
.home-dark-preview.support-page .faqs .faq__a strong,
.home-dark-preview.support-page .faqs .faq__a a,
.home-dark-preview.support-page .faqs .pill {
  color: #111827 !important;
}

.home-dark-preview.support-page .faqs .faq__a a,
.home-dark-preview.support-page .contact-page a,
.home-dark-preview.support-page .contact-page .view-map-btn,
.home-dark-preview.support-page .support__grid .support-card a:not(.btn) {
  text-decoration-color: currentColor;
}

.home-dark-preview.support-page .support__grid .support-card,
.home-dark-preview.support-page .support__grid .support-note {
  background: #e5e7eb !important;
}

.home-dark-preview.support-page .support__grid .support-card,
.home-dark-preview.support-page .support__grid .support-card h3,
.home-dark-preview.support-page .support__grid .support-card p,
.home-dark-preview.support-page .support__grid .support-card li,
.home-dark-preview.support-page .support__grid .support-card strong,
.home-dark-preview.support-page .support__grid .support-card a,
.home-dark-preview.support-page .support__grid .support-card svg,
.home-dark-preview.support-page .support__grid .support-card .support-intro,
.home-dark-preview.support-page .support__grid .support-card .support-hours-time,
.home-dark-preview.support-page .support__grid .support-card .support-note,
.home-dark-preview.support-page .support__grid .support-card .support-note p,
.home-dark-preview.support-page .contact-page,
.home-dark-preview.support-page .contact-page h2,
.home-dark-preview.support-page .contact-page h3,
.home-dark-preview.support-page .contact-page p,
.home-dark-preview.support-page .contact-page address,
.home-dark-preview.support-page .contact-page address div,
.home-dark-preview.support-page .contact-page a,
.home-dark-preview.support-page .contact-page .office__title,
.home-dark-preview.support-page .contact-page .office__addr,
.home-dark-preview.support-page .contact-page .office__tel,
.home-dark-preview.support-page .contact-page .view-map-btn,
.home-dark-preview.support-page #contact-heading,
.home-dark-preview.support-page .subnav__actions .btn.btn-neutral {
  color: #111827 !important;
}

.home-dark-preview.contact-us-page .office {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.home-dark-preview.contact-us-page .office__map {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.home-dark-preview.contact-us-page .view-map-btn {
  background: #ffffff;
  border-color: rgba(123, 216, 143, 0.7);
  color: #2f7f45;
}

.home-dark-preview.contact-us-page .view-map-btn:hover {
  background: #7bd88f;
  color: #07111f;
}

.home-dark-preview.contact-us-page .office strong,
.home-dark-preview.contact-us-page .faq > summary h3 {
  color: #111827;
}

.home-dark-preview.contact-us-page .cta-form {
  background: rgba(10, 20, 34, 0.08);
  border: 1px solid rgba(17, 24, 39, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-dark-preview.contact-us-page .faq {
  border-color: rgba(17, 24, 39, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.home-dark-preview.contact-us-page .faq__a a,
.home-dark-preview.contact-us-page .cta-privacy a,
.home-dark-preview.contact-us-page .office a {
  color: #2f7f45;
}

/* Legal / policy pages */
.home-dark-preview:has(main.privacy-page),
.home-dark-preview:has(main.cookie-page),
.home-dark-preview:has(main.pci-page),
.home-dark-preview:has(main.legal-page),
.home-dark-preview:has(main.terms-page) {
  background: #ffffff;
  color: #111827;
}

.home-dark-preview main.privacy-page,
.home-dark-preview main.cookie-page,
.home-dark-preview main.pci-page,
.home-dark-preview main.legal-page,
.home-dark-preview main.terms-page {
  background: #ffffff;
  color: #111827;
}

.home-dark-preview main.privacy-page p,
.home-dark-preview main.cookie-page p,
.home-dark-preview main.pci-page p,
.home-dark-preview main.legal-page p,
.home-dark-preview main.terms-page p,
.home-dark-preview main.privacy-page li,
.home-dark-preview main.cookie-page li,
.home-dark-preview main.pci-page li,
.home-dark-preview main.legal-page li,
.home-dark-preview main.terms-page li,
.home-dark-preview main.privacy-page td,
.home-dark-preview main.cookie-page td,
.home-dark-preview main.privacy-page address,
.home-dark-preview main.cookie-page address,
.home-dark-preview main.pci-page address,
.home-dark-preview main.legal-page address,
.home-dark-preview main.terms-page address,
.home-dark-preview main.privacy-page .small,
.home-dark-preview main.cookie-page .small,
.home-dark-preview main.pci-page .small,
.home-dark-preview main.legal-page .small,
.home-dark-preview main.terms-page .small {
  color: #475569;
}

.home-dark-preview main.privacy-page h1,
.home-dark-preview main.cookie-page h1,
.home-dark-preview main.pci-page h1,
.home-dark-preview main.legal-page h1,
.home-dark-preview main.terms-page h1,
.home-dark-preview main.privacy-page h2,
.home-dark-preview main.cookie-page h2,
.home-dark-preview main.pci-page h2,
.home-dark-preview main.legal-page h2,
.home-dark-preview main.terms-page h2,
.home-dark-preview main.privacy-page h3,
.home-dark-preview main.cookie-page h3,
.home-dark-preview main.pci-page h3,
.home-dark-preview main.legal-page h3,
.home-dark-preview main.terms-page h3,
.home-dark-preview main.privacy-page strong,
.home-dark-preview main.cookie-page strong,
.home-dark-preview main.pci-page strong,
.home-dark-preview main.legal-page strong,
.home-dark-preview main.terms-page strong,
.home-dark-preview main.privacy-page th,
.home-dark-preview main.cookie-page th {
  color: #111827;
}

.home-dark-preview main.privacy-page a,
.home-dark-preview main.cookie-page a,
.home-dark-preview main.pci-page a,
.home-dark-preview main.legal-page a,
.home-dark-preview main.terms-page a {
  color: #2f7f45;
}

.home-dark-preview main.privacy-page .notice,
.home-dark-preview main.cookie-page .notice,
.home-dark-preview main.pci-page .notice,
.home-dark-preview main.legal-page .notice,
.home-dark-preview main.terms-page .notice {
  background: #f8f9fb;
  border-color: #e5e7eb;
  color: #111827;
}

.home-dark-preview main.privacy-page .btn,
.home-dark-preview main.cookie-page .btn,
.home-dark-preview main.pci-page .btn,
.home-dark-preview main.legal-page .btn,
.home-dark-preview main.terms-page .btn {
  background: #ffffff;
  color: #111827;
  border-color: #e5e7eb;
}

.home-dark-preview main.privacy-page .btn--primary,
.home-dark-preview main.cookie-page .btn--primary,
.home-dark-preview main.pci-page .btn--primary,
.home-dark-preview main.legal-page .btn--primary,
.home-dark-preview main.terms-page .btn--primary {
  background: #0b0e3f;
  color: #ffffff;
  border-color: #0b0e3f;
}

.home-dark-preview main.cookie-page .cookie-table th,
.home-dark-preview main.privacy-page .data th,
.home-dark-preview main.cookie-page .cookie-table td,
.home-dark-preview main.privacy-page .data td {
  border-color: #e5e7eb;
}

.home-dark-preview main.cookie-page .cookie-table th,
.home-dark-preview main.privacy-page .data th {
  background: #f8f9fb;
}

.home-dark-preview .footer-overlay__inner {
  background: #ffffff;
  color: #111827;
}

.home-dark-preview .footer-overlay__inner h3 {
  color: #111827;
}

.home-dark-preview .footer-overlay__inner p {
  color: #475569;
}

.home-dark-preview .footer-overlay__close {
  color: #333333;
}

/* Blog articles */
.home-dark-preview:has(main.post) {
  background: #ffffff;
  color: #111827;
}

.home-dark-preview:has(main.post) .post-hero,
.home-dark-preview:has(main.post) main.post {
  background: #ffffff;
  color: #111827;
}

.home-dark-preview:has(main.post) .breadcrumb,
.home-dark-preview:has(main.post) .breadcrumb li,
.home-dark-preview:has(main.post) .post-meta,
.home-dark-preview:has(main.post) main.post p,
.home-dark-preview:has(main.post) main.post li,
.home-dark-preview:has(main.post) main.post blockquote {
  color: #475569;
}

.home-dark-preview:has(main.post) .post-hero h1,
.home-dark-preview:has(main.post) main.post h1,
.home-dark-preview:has(main.post) main.post h2,
.home-dark-preview:has(main.post) main.post h3,
.home-dark-preview:has(main.post) main.post strong,
.home-dark-preview:has(main.post) .toc h2,
.home-dark-preview:has(main.post) .cta-box h2 {
  color: #111827;
}

.home-dark-preview:has(main.post) .breadcrumb a,
.home-dark-preview:has(main.post) main.post a,
.home-dark-preview:has(main.post) .toc a {
  color: #2f7f45;
}

.home-dark-preview:has(main.post) .post-hero__media {
  box-shadow: 0 10px 30px rgba(2, 8, 23, 0.08);
}

.home-dark-preview:has(main.post) .toc {
  background: #f9fafb;
  border-color: #e5e7eb;
}

.home-dark-preview:has(main.post) .cta-box {
  background: #eeeeee;
  color: #111827;
}

.home-dark-preview:has(main.post) .cta-box p {
  color: #475569;
}

.home-dark-preview:has(main.post) .cta-box a.btn {
  background: #5ab562;
  color: #ffffff;
}

.home-dark-preview:has(main.post) .tag,
.home-dark-preview:has(main.post) .pill {
  background: #ffffff;
  border-color: #e5e7eb;
  color: #374151;
}

/* Menu import */
.home-dark-preview.signup-page {
  background: #eef2f5;
}

/* Lead form */
.home-dark-preview:has(#lead-capture) {
  background: #eef2f5;
}

/* TapaPay signup */
.home-dark-preview.tapapay-signup-page {
  background: #eef2f5;
}

/* Calculator */
.home-dark-preview.calculator-page {
  background: #eef2f5;
}

/* Quotation */
.home-dark-preview.quotation-page {
  background: #eef2f5;
}

.home-dark-preview.signup-page,
.home-dark-preview:has(#lead-capture),
.home-dark-preview.tapapay-signup-page,
.home-dark-preview.calculator-page,
.home-dark-preview.quotation-page {
  color: #111827;
}

.home-dark-preview.signup-page main,
.home-dark-preview:has(#lead-capture) main,
.home-dark-preview.tapapay-signup-page main,
.home-dark-preview.calculator-page #quotation-content,
.home-dark-preview.quotation-page #quotation-content {
  color: #111827;
}

.home-dark-preview.signup-page h1,
.home-dark-preview.signup-page h2,
.home-dark-preview.signup-page h3,
.home-dark-preview.signup-page h4,
.home-dark-preview.signup-page label,
.home-dark-preview.signup-page strong,
.home-dark-preview:has(#lead-capture) h1,
.home-dark-preview:has(#lead-capture) h2,
.home-dark-preview:has(#lead-capture) h3,
.home-dark-preview:has(#lead-capture) h4,
.home-dark-preview:has(#lead-capture) label,
.home-dark-preview:has(#lead-capture) strong,
.home-dark-preview.tapapay-signup-page h1,
.home-dark-preview.tapapay-signup-page h2,
.home-dark-preview.tapapay-signup-page h3,
.home-dark-preview.tapapay-signup-page h4,
.home-dark-preview.tapapay-signup-page label,
.home-dark-preview.tapapay-signup-page strong,
.home-dark-preview.calculator-page #quotation-content h1,
.home-dark-preview.calculator-page #quotation-content h2,
.home-dark-preview.calculator-page #quotation-content h3,
.home-dark-preview.calculator-page #quotation-content h4,
.home-dark-preview.calculator-page #quotation-content label,
.home-dark-preview.calculator-page #quotation-content strong,
.home-dark-preview.quotation-page #quotation-content h1,
.home-dark-preview.quotation-page #quotation-content h2,
.home-dark-preview.quotation-page #quotation-content h3,
.home-dark-preview.quotation-page #quotation-content h4,
.home-dark-preview.quotation-page #quotation-content label,
.home-dark-preview.quotation-page #quotation-content strong {
  color: #111827;
}

.home-dark-preview.signup-page main h1,
.home-dark-preview.signup-page main h2,
.home-dark-preview.signup-page main h3,
.home-dark-preview:has(#lead-capture) main h1,
.home-dark-preview:has(#lead-capture) main h2,
.home-dark-preview:has(#lead-capture) main h3,
.home-dark-preview.tapapay-signup-page main h1,
.home-dark-preview.tapapay-signup-page main h2,
.home-dark-preview.tapapay-signup-page main h3,
.home-dark-preview.calculator-page #quotation-content h1,
.home-dark-preview.calculator-page #quotation-content h2,
.home-dark-preview.calculator-page #quotation-content h3,
.home-dark-preview.quotation-page #quotation-content h1,
.home-dark-preview.quotation-page #quotation-content h2,
.home-dark-preview.quotation-page #quotation-content h3 {
  color: #0b0e3f;
}

.home-dark-preview.signup-page p,
.home-dark-preview.signup-page li,
.home-dark-preview.signup-page dd,
.home-dark-preview.signup-page figcaption,
.home-dark-preview.signup-page input,
.home-dark-preview.signup-page select,
.home-dark-preview.signup-page textarea,
.home-dark-preview:has(#lead-capture) p,
.home-dark-preview:has(#lead-capture) li,
.home-dark-preview:has(#lead-capture) dd,
.home-dark-preview:has(#lead-capture) figcaption,
.home-dark-preview:has(#lead-capture) input,
.home-dark-preview:has(#lead-capture) select,
.home-dark-preview:has(#lead-capture) textarea,
.home-dark-preview.tapapay-signup-page p,
.home-dark-preview.tapapay-signup-page li,
.home-dark-preview.tapapay-signup-page dd,
.home-dark-preview.tapapay-signup-page figcaption,
.home-dark-preview.tapapay-signup-page input,
.home-dark-preview.tapapay-signup-page select,
.home-dark-preview.tapapay-signup-page textarea,
.home-dark-preview.calculator-page #quotation-content p,
.home-dark-preview.calculator-page #quotation-content li,
.home-dark-preview.calculator-page #quotation-content dd,
.home-dark-preview.calculator-page #quotation-content figcaption,
.home-dark-preview.calculator-page #quotation-content input,
.home-dark-preview.calculator-page #quotation-content select,
.home-dark-preview.calculator-page #quotation-content textarea,
.home-dark-preview.quotation-page #quotation-content p,
.home-dark-preview.quotation-page #quotation-content li,
.home-dark-preview.quotation-page #quotation-content dd,
.home-dark-preview.quotation-page #quotation-content figcaption,
.home-dark-preview.quotation-page #quotation-content input,
.home-dark-preview.quotation-page #quotation-content select,
.home-dark-preview.quotation-page #quotation-content textarea {
  color: #475569;
}

.home-dark-preview.signup-page input::placeholder,
.home-dark-preview.signup-page textarea::placeholder,
.home-dark-preview:has(#lead-capture) input::placeholder,
.home-dark-preview:has(#lead-capture) textarea::placeholder,
.home-dark-preview.tapapay-signup-page input::placeholder,
.home-dark-preview.tapapay-signup-page textarea::placeholder,
.home-dark-preview.calculator-page #quotation-content input::placeholder,
.home-dark-preview.calculator-page #quotation-content textarea::placeholder,
.home-dark-preview.quotation-page #quotation-content input::placeholder,
.home-dark-preview.quotation-page #quotation-content textarea::placeholder {
  color: #64748b;
}

.home-dark-preview.quotation-page #quotation-content .ms-card.why-card-block {
  background: #ffffff;
}

.home-dark-preview.quotation-page #quotation-content #why-tapapay {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.home-dark-preview.quotation-page #quotation-content #competitor-comparison {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.home-dark-preview.quotation-page #quotation-content #quote-output {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.home-dark-preview.quotation-page #quotation-content .quote-output-card {
  background: #ffffff;
}

.home-dark-preview.quotation-page #quotation-content #why-tapapay .why-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.home-dark-preview.quotation-page #quotation-content #why-tapapay .why-card h4,
.home-dark-preview.quotation-page #quotation-content #why-tapapay .why-card p {
  color: #111827;
}

.home-dark-preview.quotation-page #quotation-content .slider-left,
.home-dark-preview.quotation-page #quotation-content .slider-right,
.home-dark-preview.quotation-page #quotation-content .slider-mid label,
.home-dark-preview.quotation-page #quotation-content #visaPercentage,
.home-dark-preview.quotation-page #quotation-content #mastercardPercentage,
.home-dark-preview.quotation-page #quotation-content #debitPercentage,
.home-dark-preview.quotation-page #quotation-content #creditPercentage,
.home-dark-preview.quotation-page #quotation-content #consumerPercentage,
.home-dark-preview.quotation-page #quotation-content #businessPercentage {
  color: #111827;
}

.home-dark-preview.calculator-page #quotation-content .hero.hero--green.full-width.index-hero {
  --hero-bg-img: none;
  --hero-bg-color: #eef2f5;
  background: #eef2f5 !important;
}

.home-dark-preview .answer-snapshot__grid > div,
.home-dark-preview .why-card,
.home-dark-preview .industries__card,
.home-dark-preview .app-card,
.home-dark-preview .testi-item,
.home-dark-preview .faq,
.home-dark-preview .help-topic,
.home-dark-preview .support-card,
.home-dark-preview .hero_offer__grid,
.home-dark-preview .cta-grid {
  border-radius: var(--preview-card-radius) !important;
}

.home-dark-preview .faqs,
.home-dark-preview .faqs::before {
  background: #f8f8f9 !important;
}

.home-dark-preview .faqs .container,
.home-dark-preview .faqs h2,
.home-dark-preview .faqs p,
.home-dark-preview .faq summary {
  color: #111111 !important;
}

/* Final homepage preview override for the apps rail */
.home-dark-preview .apps,
.home-dark-preview .apps::before,
.home-dark-preview .apps__inner,
.home-dark-preview .apps-rail,
.home-dark-preview .apps-container,
.home-dark-preview .apps-track {
  background: #000000 !important;
}

.home-dark-preview .apps {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.home-dark-preview .apps::before {
  background: #000000 !important;
}

.home-dark-preview .apps__inner {
  gap: 1.25rem;
}

.home-dark-preview .apps-header h2,
.home-dark-preview .apps-header h3,
.home-dark-preview .apps-header p {
  color: #ffffff !important;
}

.home-dark-preview .app-card {
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 24px !important;
  box-shadow: none !important;
}

.home-dark-preview .app-card,
.home-dark-preview .app-card span {
  color: #111111 !important;
}

.home-dark-preview .app-card img {
  filter: none !important;
  background: transparent !important;
}

.home-dark-preview .app-card--kiosk img {
  filter: brightness(0) !important;
}

.home-dark-preview .app-card:hover {
  background: #67c46a !important;
  border-color: #67c46a !important;
  box-shadow: none !important;
}

.home-dark-preview .app-card:hover,
.home-dark-preview .app-card:hover span {
  color: #ffffff !important;
}

.home-dark-preview .app-card:hover img {
  filter: brightness(0) invert(1) !important;
}

/* Global compact dark At a glance cards */
.home-dark-preview .answer-snapshot {
  padding: clamp(52px, 6vw, 76px) 0 !important;
  background: #000000 !important;
  color: #ffffff !important;
  border-bottom: 0 !important;
}

.home-dark-preview .answer-snapshot::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(103, 196, 106, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(11, 14, 20, 0.96), #000000 72%) !important;
}

.home-dark-preview .answer-snapshot__intro {
  max-width: 820px !important;
  margin: 0 auto clamp(24px, 3vw, 34px) !important;
  padding: 0 !important;
  text-align: center !important;
}

.home-dark-preview .answer-snapshot h2,
.home-dark-preview .answer-snapshot__intro h2 {
  max-width: none !important;
  margin: 0 auto 0.8rem !important;
  color: #ffffff !important;
  font-size: clamp(1.9rem, 3.4vw, 3rem) !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  text-wrap: normal !important;
}

.home-dark-preview .answer-snapshot p,
.home-dark-preview .answer-snapshot__intro p {
  max-width: 62ch !important;
  margin: 0 auto !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.home-dark-preview .answer-snapshot__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.home-dark-preview .answer-snapshot__grid > div {
  min-height: 210px !important;
  padding: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    #101316 !important;
  box-shadow: none !important;
}

.home-dark-preview .answer-snapshot dt {
  color: #67c46a !important;
  font-size: 0.76rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}

.home-dark-preview .answer-snapshot dd {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: clamp(0.98rem, 1.1vw, 1.12rem) !important;
  line-height: 1.42 !important;
}

@media (max-width: 900px) {
  .home-dark-preview body {
    padding-top: var(--header-offset) !important;
  }

  .home-dark-preview #header,
  .home-dark-preview .site-header {
    position: fixed !important;
    z-index: 30000 !important;
  }

  .home-dark-preview .header-inner {
    min-height: 78px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .home-dark-preview .subnav {
    display: none !important;
  }

  .home-dark-preview .site-nav {
    position: fixed;
    top: 78px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: calc(100dvh - 78px) !important;
    min-height: calc(100vh - 78px) !important;
    display: none !important;
    background: #000000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    padding: 14px 16px 24px !important;
    z-index: 30010 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    isolation: isolate;
  }

  .home-dark-preview .site-nav.nav--open {
    display: block !important;
  }

  .home-dark-preview .hero,
  .home-dark-preview .hero-overlay,
  .home-dark-preview .hero-inner,
  .home-dark-preview .hero-media,
  .home-dark-preview .hero-content {
    position: relative !important;
    z-index: 1 !important;
  }

  .home-dark-preview .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .home-dark-preview .site-nav .nav-link,
  .home-dark-preview .site-nav a,
  .home-dark-preview .site-nav button,
  .home-dark-preview .site-nav .menu-text,
  .home-dark-preview .site-nav .menu-text .title,
  .home-dark-preview .site-nav .menu-text .desc,
  .home-dark-preview .site-nav h4 {
    color: #ffffff !important;
  }

  .home-dark-preview #header .mega {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
  }

  .home-dark-preview .site-header .site-logo {
    height: 38px !important;
  }

  .home-dark-preview .hero-inner {
    align-items: flex-start;
    text-align: left;
    padding-top: 1.25rem;
    gap: 1.15rem;
  }

  .home-dark-preview .hero-content {
    width: 100%;
    max-width: none !important;
    margin: 0;
    text-align: left;
  }

  .home-dark-preview .hero-content h1 {
    font-size: clamp(1.9rem, 6.6vw, 2.55rem);
    width: 100%;
    max-width: none !important;
    margin: 0 0 0.85rem;
    text-align: left;
    text-wrap: balance;
  }

  .home-dark-preview .hero-content p,
  .home-dark-preview .hero-content p:first-of-type {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .home-dark-preview .hero-content .hero-cta,
  .home-dark-preview .hero-cta {
    align-self: flex-start;
  }

  .home-dark-preview .hero-media::before {
    inset: auto 12% -8% 12%;
  }

  .home-dark-preview .hero_offer,
  .home-dark-preview .cta-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .home-dark-preview .hero_offer {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .home-dark-preview .answer-snapshot {
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
  }

  .home-dark-preview .answer-snapshot__intro {
    margin-bottom: 1.15rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .home-dark-preview .answer-snapshot__intro h2 {
    font-size: clamp(1.55rem, 7.4vw, 2.15rem);
    max-width: 100%;
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: anywhere;
    line-height: 1.12;
  }

  .home-dark-preview .answer-snapshot__intro p {
    font-size: 0.94rem;
    line-height: 1.48;
    max-width: 32ch;
  }

  .home-dark-preview .answer-snapshot__grid {
    gap: 0.85rem;
    grid-template-columns: 1fr !important;
  }

  .home-dark-preview .answer-snapshot__grid > div {
    min-height: 0;
    padding: 1rem 1rem 1.05rem;
  }

  .home-dark-preview .answer-snapshot dd {
    max-width: none;
  }

  .home-dark-preview .onboarding-journey {
    padding-top: 0.9rem;
    padding-bottom: 2.25rem;
  }

  .home-dark-preview .onboarding-journey__copy h2 {
    font-size: clamp(1.8rem, 9vw, 2.8rem);
    line-height: 1.07;
    text-wrap: balance;
  }

  .home-dark-preview .logos-track img {
    height: 70px !important;
    width: auto !important;
  }

  .home-dark-preview .integration-logos img {
    height: 90px !important;
    width: auto !important;
  }

}
@media (max-width: 1100px) {
  .home-dark-preview .tapapay-cinematic-hero .hero-inner,
  .home-dark-preview .tapapay-cinematic-hero .hero-inner.container {
    display: block !important;
    min-height: inherit !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-content {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    z-index: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 980px !important;
    margin: 0 !important;
    padding: 100px 56px 0 !important;
    text-align: left !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .tapapay-hero-badge,
  .home-dark-preview .tapapay-cinematic-hero .hero-content h1,
  .home-dark-preview .tapapay-cinematic-hero .tapapay-hero-lede,
  .home-dark-preview .tapapay-cinematic-hero .tapapay-home-hero__actions {
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 700px) {
  .home-dark-preview .tapapay-cinematic-hero,
  .home-dark-preview .tapapay-cinematic-hero .hero-overlay {
    min-height: 720px !important;
    padding: 0 !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-content {
    max-width: none !important;
    padding: 100px 20px 0 !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .tapapay-hero-badge {
    display: inline-flex !important;
    align-self: flex-start !important;
    justify-content: flex-start !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 0 1.5rem 0 !important;
    transform: none !important;
    text-align: left !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .tapapay-hero-badge span:last-child {
    display: inline-block !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-content h1,
  .home-dark-preview .tapapay-cinematic-hero .tapapay-hero-lede,
  .home-dark-preview .tapapay-cinematic-hero .tapapay-home-hero__actions {
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .tapapay-home-hero__actions {
    width: auto !important;
    max-width: none !important;
    align-items: flex-start !important;
  }
}

@media (max-width: 900px) {
  .home-dark-preview .hero.index-hero:not(.tapapay-cinematic-hero) .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .home-dark-preview .hero.index-hero:not(.tapapay-cinematic-hero) .hero-media {
    order: 1 !important;
    width: 100% !important;
    margin: 0 0 0.75rem !important;
  }

  .home-dark-preview .hero.index-hero:not(.tapapay-cinematic-hero) .hero-content {
    order: 2 !important;
    width: 100% !important;
  }
}

@media (max-width: 900px) {
  .home-dark-preview .answer-snapshot h2,
  .home-dark-preview .answer-snapshot__intro h2 {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-wrap: balance !important;
  }
}
 
/* Final layered hero overrides keep the separate POS device image visible on tablet and mobile. */
.home-dark-preview .tapapay-cinematic-hero .hero-media {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  z-index: 0 !important;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media__background,
.home-dark-preview .tapapay-cinematic-hero .hero-media__background img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center bottom !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media__foreground {
  position: absolute !important;
  right: clamp(32px, 8vw, 150px) !important;
  bottom: clamp(38px, 7vh, 96px) !important;
  z-index: 2 !important;
  display: block !important;
  width: min(48vw, 760px) !important;
  max-width: 760px !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  transform: none !important;
}

.home-dark-preview .tapapay-cinematic-hero .hero-media__foreground img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

@media (max-width: 1100px) {
  .home-dark-preview .tapapay-cinematic-hero .hero-media__foreground {
    right: clamp(24px, 5vw, 64px) !important;
    bottom: clamp(34px, 6vh, 78px) !important;
    width: min(52vw, 620px) !important;
  }
}

@media (max-width: 700px) {
  .home-dark-preview .tapapay-cinematic-hero,
  .home-dark-preview .tapapay-cinematic-hero .hero-overlay {
    min-height: 760px !important;
  }

  .home-dark-preview .tapapay-cinematic-hero .hero-media__foreground {
    right: 50% !important;
    bottom: 28px !important;
    width: min(88vw, 460px) !important;
    transform: translateX(50%) !important;
  }
}

@media (max-width: 700px) {
  .home-dark-preview .pos-story__visual,
  .home-dark-preview .pos-story.is-final-step-active .pos-story__visual,
  .home-dark-preview .pos-story.is-final-step-over-image .pos-story__visual {
    position: sticky !important;
    top: calc(var(--header-offset) + 12px) !important;
    z-index: 20 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .home-dark-preview .pos-story__steps {
    position: relative !important;
    z-index: 1 !important;
  }

  .home-dark-preview .pos-story__step:nth-child(1) { z-index: 1 !important; }
  .home-dark-preview .pos-story__step:nth-child(2) { z-index: 2 !important; }
  .home-dark-preview .pos-story__step:nth-child(3) { z-index: 3 !important; }
  .home-dark-preview .pos-story__step:nth-child(4) { z-index: 4 !important; }
  .home-dark-preview .pos-story__step:nth-child(5) { z-index: 5 !important; }
  .home-dark-preview .pos-story__step:nth-child(6) { z-index: 6 !important; }
}

@media (max-width: 700px) {
  .home-dark-preview .pos-story__steps {
    margin-top: -0.35rem !important;
  }

  .home-dark-preview .pos-story__step,
  .home-dark-preview .pos-story__step:nth-child(6) {
    top: calc(var(--header-offset) + 212px) !important;
    margin-bottom: 14vh !important;
  }
}

@media (max-width: 700px) {
  .home-dark-preview .pos-story__visual,
  .home-dark-preview .pos-story.is-final-step-active .pos-story__visual,
  .home-dark-preview .pos-story.is-final-step-over-image .pos-story__visual {
    height: 245px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .home-dark-preview .pos-story__terminal {
    max-width: min(88vw, 360px) !important;
    transform: translateY(-10px) !important;
  }

  .home-dark-preview .pos-story__device,
  .home-dark-preview picture.pos-story__device img {
    max-height: 250px !important;
    object-fit: contain !important;
  }

  .home-dark-preview .pos-story .container {
    width: 100% !important;
    max-width: none !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .home-dark-preview .pos-story__steps {
    width: 100% !important;
    padding-bottom: 8vh !important;
  }

  .home-dark-preview .pos-story__step,
  .home-dark-preview .pos-story__step:nth-child(6) {
    width: 100% !important;
    min-height: 270px !important;
    height: 270px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 1.05rem 1rem 1.1rem !important;
    overflow: hidden !important;
  }

  .home-dark-preview .pos-story__step h3 {
    margin-bottom: 0.55rem !important;
    font-size: clamp(1.95rem, 8vw, 2.35rem) !important;
    line-height: 1.05 !important;
  }

  .home-dark-preview .pos-story__step p {
    margin-bottom: 0 !important;
    font-size: 1.02rem !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 700px) {
  .home-dark-preview #enquiry .cta-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .home-dark-preview #enquiry .cta-section .container,
  .home-dark-preview #enquiry .cta-grid {
    width: 100% !important;
    max-width: none !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .home-dark-preview #enquiry .cta-form {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .home-dark-preview #enquiry .cta-form form,
  .home-dark-preview #enquiry .cta-form .hs-form,
  .home-dark-preview #enquiry .cta-form fieldset,
  .home-dark-preview #enquiry .cta-form .hs-form-field,
  .home-dark-preview #enquiry .cta-form .input {
    width: 100% !important;
    max-width: none !important;
  }

  .home-dark-preview #enquiry .cta-form input,
  .home-dark-preview #enquiry .cta-form select,
  .home-dark-preview #enquiry .cta-form textarea {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 700px) {
  .home-dark-preview .testi .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .home-dark-preview .testi__rail-wrap {
    margin-left: -4px !important;
    margin-right: -4px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .home-dark-preview .testi__rail {
    grid-auto-columns: minmax(260px, calc(100vw - 48px)) !important;
    gap: 0.75rem !important;
  }
}

@media (min-width: 901px) {
  .home-dark-preview .tapapay-cinematic-hero .hero-content h1 {
    max-width: 17ch !important;
  }
}

.home-dark-preview .pos-story--scrolling-cards .pos-story__step {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

.home-dark-preview .pos-story--scrolling-cards .pos-story__step.is-active,
.home-dark-preview .pos-story--scrolling-cards .pos-story__step.is-active.is-visible {
  transform: none !important;
}

@media (min-width: 1025px) {
  .home-dark-preview .pos-story--scrolling-cards {
    padding-bottom: clamp(8rem, 14vw, 15rem) !important;
  }

  .home-dark-preview .pos-story--scrolling-cards + .apps {
    position: relative;
    z-index: 12;
  }
}

.home-dark-preview .hotel-pms-grid {
  position: relative;
  z-index: 12;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(103, 196, 106, 0.13), transparent 28%),
    linear-gradient(180deg, #08090b 0%, #0a0c10 100%);
}

.home-dark-preview .hotel-pms-grid .container {
  max-width: 1320px;
}

.home-dark-preview .hotel-pms-grid__header {
  max-width: 1080px;
}

.home-dark-preview .hotel-pms-grid__cards {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1rem;
}

.home-dark-preview .hotel-pms-card {
  display: flex;
  min-height: 255px;
  padding: 1.5rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 12%, rgba(103, 196, 106, 0.13), transparent 34%),
    rgba(30, 29, 29, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.home-dark-preview .hotel-pms-card:hover,
.home-dark-preview .hotel-pms-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(103, 196, 106, 0.42);
  background:
    radial-gradient(circle at 82% 12%, rgba(103, 196, 106, 0.18), transparent 34%),
    rgba(35, 35, 35, 0.96);
}

.home-dark-preview .hotel-pms-card:focus-visible {
  outline: 3px solid rgba(103, 196, 106, 0.45);
  outline-offset: 4px;
}

.home-dark-preview .hotel-pms-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 132px;
  padding: 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.08), transparent 62%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-dark-preview .hotel-pms-card__logo img {
  display: block;
  width: min(100%, 300px);
  max-height: 130px;
  object-fit: contain;
}

.home-dark-preview .hotel-pms-card__logo--mark {
  background:
    radial-gradient(circle at 50% 45%, rgba(103, 196, 106, 0.2), transparent 54%),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-dark-preview .hotel-pms-card__logo--mark span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  color: #ffffff;
  background: #67c46a;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-dark-preview .hotel-pms-card__body h3 {
  margin: 0 0 0.65rem;
  color: #ffffff;
  font-size: clamp(1.25rem, 1.5vw, 1.65rem);
  line-height: 1.05;
}

.home-dark-preview .hotel-pms-card__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.98rem;
  line-height: 1.5;
}

.home-dark-preview .pos-story--scrolling-cards + .hotel-pms-grid {
  position: relative;
  z-index: 12;
}

@media (max-width: 1100px) {
  .home-dark-preview .hotel-pms-grid__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .home-dark-preview .hotel-pms-grid__cards {
    grid-template-columns: 1fr !important;
  }

  .home-dark-preview .hotel-pms-card {
    min-height: 230px;
    border-radius: 24px;
  }
}

/* Final mobile typography and At a glance density. */
@media (max-width: 700px) {
  h1,
  .home-dark-preview h1,
  h1:not(#tapapay-heading-scale),
  .home-dark-preview h1:not(#tapapay-heading-scale) {
    font-size: clamp(2.25rem, 10vw, 3rem) !important;
    line-height: 1.08 !important;
  }

  h2,
  .home-dark-preview h2,
  h2:not(#tapapay-heading-scale),
  .home-dark-preview h2:not(#tapapay-heading-scale) {
    font-size: clamp(2rem, 8.8vw, 2.55rem) !important;
    line-height: 1.1 !important;
  }

  .home-dark-preview .hero.index-hero:not(.tapapay-cinematic-hero) .hero-content h1 {
    font-size: clamp(2.45rem, 11vw, 3.25rem) !important;
    line-height: 1.06 !important;
  }

  .home-dark-preview .answer-snapshot {
    padding: 30px 0 34px !important;
  }

  .home-dark-preview .answer-snapshot > .container {
    width: min(100% - 32px, 1180px) !important;
  }

  .home-dark-preview .answer-snapshot__intro {
    max-width: 100% !important;
    margin: 0 auto 18px !important;
    text-align: center !important;
  }

  .home-dark-preview .answer-snapshot .eyebrow {
    margin-bottom: 0.45rem !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.18em !important;
  }

  .home-dark-preview .answer-snapshot h2,
  .home-dark-preview .answer-snapshot__intro h2 {
    max-width: 12ch !important;
    margin-bottom: 0.55rem !important;
    font-size: clamp(2.15rem, 10vw, 3rem) !important;
    line-height: 1.08 !important;
  }

  .home-dark-preview .answer-snapshot p,
  .home-dark-preview .answer-snapshot__intro p {
    max-width: 31ch !important;
    font-size: 1rem !important;
    line-height: 1.45 !important;
  }

  .home-dark-preview .answer-snapshot__grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .home-dark-preview .answer-snapshot__grid > div {
    min-height: 0 !important;
    padding: 18px 18px 20px !important;
    border-radius: 18px !important;
  }

  .home-dark-preview .answer-snapshot dt {
    margin-bottom: 0.65rem !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.18em !important;
  }

  .home-dark-preview .answer-snapshot dd {
    font-size: 1.05rem !important;
    line-height: 1.38 !important;
  }
}

/* Self-service kiosk results infographic stays intentionally light. */
.home-dark-preview .kiosk-results {
  background: #f7f8f3 !important;
  color: #17221c !important;
}

.home-dark-preview .kiosk-results__header h2 {
  color: #121b16 !important;
}

.home-dark-preview .kiosk-results__header p {
  color: #4c5b52 !important;
}

.home-dark-preview .kiosk-result-card {
  background: #ffffff !important;
  border-color: #dce5d7 !important;
  color: #17221c !important;
}

.home-dark-preview .kiosk-result-card h3 {
  color: #17221c !important;
}

.home-dark-preview .kiosk-result-card p {
  color: #4c5b52 !important;
}

.home-dark-preview .kiosk-result-card--hero {
  background: #5ab562 !important;
  color: #ffffff !important;
}

.home-dark-preview .kiosk-result-card--hero p {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Keep the self-service kiosk app-rail icon black on white cards. */
.home-dark-preview .app-card--kiosk img {
  filter: brightness(0) !important;
}

.home-dark-preview .app-card--kiosk:hover img {
  filter: brightness(0) invert(1) !important;
}

.home-dark-preview .feature-card__img--tapapay-green {
  filter: brightness(0) saturate(100%) invert(57%) sepia(39%) saturate(712%) hue-rotate(73deg) brightness(93%) contrast(88%) !important;
}

.home-dark-preview .tapapay-team-card__image--straight {
  transform: none !important;
  rotate: 0deg !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.home-dark-preview .kiosk-angle-card .tapapay-team-card__media-picture img {
  object-fit: contain !important;
  transform-origin: center bottom !important;
}

.home-dark-preview .kiosk-angle-card--burgers .tapapay-team-card__media-picture {
  right: 3% !important;
  bottom: -20% !important;
  width: 60% !important;
  height: 134% !important;
}

.home-dark-preview .kiosk-angle-card--burgers .tapapay-team-card__media-picture img {
  transform: scale(1.68) !important;
}

.home-dark-preview .kiosk-angle-card--pizza .tapapay-team-card__media-picture {
  right: 3% !important;
  bottom: -20% !important;
  width: 60% !important;
  height: 134% !important;
}

.home-dark-preview .kiosk-angle-card--pizza .tapapay-team-card__media-picture img {
  transform: scale(1.68) !important;
}

.home-dark-preview .kiosk-angle-card--meal .tapapay-team-card__media-picture {
  right: 3% !important;
  bottom: -20% !important;
  width: 60% !important;
  height: 134% !important;
}

.home-dark-preview .kiosk-angle-card--meal .tapapay-team-card__media-picture img {
  transform: scale(1.68) !important;
}

.home-dark-preview .kiosk-tapapay-card .tapapay-team-card__media-picture {
  bottom: -9% !important;
}

@media (max-width: 700px) {
  .home-dark-preview .kiosk-angle-card--burgers .tapapay-team-card__media-picture,
  .home-dark-preview .kiosk-angle-card--pizza .tapapay-team-card__media-picture,
  .home-dark-preview .kiosk-angle-card--meal .tapapay-team-card__media-picture {
    right: -2% !important;
    bottom: -14% !important;
    width: 74% !important;
    height: 132% !important;
  }

  .home-dark-preview .kiosk-angle-card--burgers .tapapay-team-card__media-picture img,
  .home-dark-preview .kiosk-angle-card--pizza .tapapay-team-card__media-picture img,
  .home-dark-preview .kiosk-angle-card--meal .tapapay-team-card__media-picture img {
    transform: scale(1.72) !important;
  }

  .home-dark-preview .kiosk-tapapay-card .tapapay-team-card__media-picture,
  .home-dark-preview .tapapay-team-card--recon .tapapay-team-card__media-picture,
  .home-dark-preview .kiosk-data-card .tapapay-team-card__media-picture {
    right: -6% !important;
    bottom: -8% !important;
    width: 56% !important;
    height: 108% !important;
  }

  .home-dark-preview .kiosk-tapapay-card .tapapay-team-card__media-picture img,
  .home-dark-preview .tapapay-team-card--recon .tapapay-team-card__media-picture img,
  .home-dark-preview .kiosk-data-card .tapapay-team-card__media-picture img {
    transform: scale(1.18) !important;
  }
}
