/* Official Stripe Slate wordmark — see public/assets/stripe/SOURCE.md */
.stripe-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
  padding: 0;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
}

.stripe-trust__copy {
  margin: 0;
}

.stripe-trust__mark {
  display: block;
  width: 60px;
  height: auto;
  max-width: 70px;
}

.stripe-trust--start {
  margin: 1.25rem auto 0;
}

/* Diskret Stripe-markering på företagssidans hero. */
.stripe-trust--chip {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1;
  margin: 0;
  width: fit-content;
  opacity: 0.72;
}

.stripe-trust--chip .stripe-trust__mark {
  width: 68px;
  max-width: 68px;
}

.company-start-glass__inner {
  position: relative;
}

.company-start-glass__eyebrow,
.company-start-glass__inner > h2 {
  padding-right: 86px;
}

@media (max-width: 767px) {
  .stripe-trust--chip {
    top: 18px;
    right: 18px;
  }

  .stripe-trust--chip .stripe-trust__mark {
    width: 58px;
    max-width: 58px;
  }

  .company-start-glass__eyebrow,
  .company-start-glass__inner > h2 {
    padding-right: 72px;
  }
}

.team-seats + .stripe-trust,
.team-toolbar .stripe-trust {
  flex: 1 1 100%;
  align-items: flex-start;
  text-align: left;
  margin-top: 0.15rem;
}

.dash-stripe-trust {
  align-items: flex-start;
  text-align: left;
  margin: 0.65rem 0 0;
}

/* Dark company theme: keep official slate mark on a light chip, never recolor it. */
html.dark-mode .stripe-trust:not(.stripe-trust--chip),
body.dark-mode .stripe-trust:not(.stripe-trust--chip) {
  padding: 0.7rem 1.05rem 0.8rem;
  width: fit-content;
  max-width: calc(100% - 1.5rem);
  background: #f8fafc;
  border-radius: 12px;
  color: #475569;
}
