/* ==========================================================================
   Digital Asset Platform — Webflow Component
   Self-contained: does not need base.css. Tokens are used with fallbacks.
   Four equal-height cards in a flex row. Image is full-bleed and square.
   Content padding is 24px. The CTA is the last child and sits on the
   bottom padding via flex-grow on the body + margin-top:auto on the link.
   ========================================================================== */

.bd-platform,
.bd-platform *,
.bd-platform *::before,
.bd-platform *::after {
  box-sizing: border-box;
}

.bd-platform {
  --bd-platform-pad: var(--bd-space-6, 24px);
  --bd-platform-gap: var(--bd-space-5, 20px);
  --bd-platform-bar-h: var(--bd-space-2, 8px);
  --bd-platform-bar-blue: #00bfee;
  --bd-platform-bar-orange: #f79009;
  --bd-platform-bar-green: #17b26a;
  --bd-platform-bar-violet: #6434d8;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  contain: paint;
  padding: var(--bd-space-8, 32px) 0;
  font-family: var(--bd-font, InterVariable, sans-serif);
  font-feature-settings: "liga" 1, "calt" 1, "cv02", "cv03", "cv04", "cv11";
  font-optical-sizing: auto;
}

.bd-platform .bd-wrap {
  width: 100%;
  max-width: var(--bd-content, 1440px);
  margin-inline: auto;
}

.bd-platform__intro {
  max-width: 40rem;
  margin: 0 0 var(--bd-space-8, 32px);
}

.bd-platform__kicker {
  margin: 0 0 var(--bd-space-2, 8px);
  font-size: var(--bd-text-sm, 14px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--bd-accent, #6434d8);
}

.bd-platform__title {
  margin: 0 0 var(--bd-space-3, 12px);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--bd-text, #000);
}

.bd-platform__lead {
  margin: 0;
  font-size: var(--bd-text-base, 16px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--bd-text, #000);
}

.bd-platform__row {
  display: flex;
  align-items: stretch;
  gap: var(--bd-platform-gap);
  width: 100%;
}

.bd-platform__card {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  align-self: stretch;
  min-width: 0;
  overflow: hidden;
  background: var(--bd-surface, #fff);
  border-radius: var(--bd-radius, 8px);
}

.bd-platform__media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  max-width: none;
}

.bd-platform__bar {
  display: block;
  flex: 0 0 var(--bd-platform-bar-h);
  width: 100%;
  height: var(--bd-platform-bar-h);
  background: var(--bd-platform-bar);
}

.bd-platform__card--blue { --bd-platform-bar: var(--bd-platform-bar-blue); }
.bd-platform__card--orange { --bd-platform-bar: var(--bd-platform-bar-orange); }
.bd-platform__card--green { --bd-platform-bar: var(--bd-platform-bar-green); }
.bd-platform__card--violet { --bd-platform-bar: var(--bd-platform-bar-violet); }

.bd-platform__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: var(--bd-platform-pad);
  min-height: 0;
}

.bd-platform__name {
  margin: 0 0 var(--bd-space-2, 8px);
  font-size: var(--bd-text-lead, 20px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--bd-text, #000);
}

.bd-platform__desc {
  margin: 0;
  font-size: var(--bd-text-base, 16px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--bd-text, #000);
}

.bd-platform__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: var(--bd-space-4, 16px);
  font-size: var(--bd-text-base, 16px);
  font-weight: 500;
  line-height: 1;
  color: var(--bd-accent, #6434d8);
  text-decoration: none;
}

.bd-platform__cta svg {
  width: 8px;
  height: 8px;
  fill: currentColor;
}

@media (max-width: 1023px) {
  .bd-platform__row {
    flex-wrap: wrap;
  }

  .bd-platform__card {
    flex: 1 1 calc(50% - var(--bd-platform-gap) / 2);
  }

  .bd-platform__title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .bd-platform {
    padding: var(--bd-space-6, 24px) 0;
  }

  .bd-platform__card {
    flex: 1 1 100%;
  }

  .bd-platform__title {
    font-size: 24px;
  }
}
