.platform-topic-main {
  padding: 120px 0 40px;
}

.platform-topic-stack {
  display: grid;
  width: min(calc(100vw - 40px), 1240px);
  gap: 0;
  margin-inline: auto;
}

.platform-topic-main [data-float-reveal] {
  opacity: 0;
  transform: translate3d(0, var(--hover-lift, 0px), 0) translateY(56px);
  will-change: opacity, transform;
}

.platform-topic-main [data-float-reveal].is-visible {
  animation: platformTopicFloatRevealUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--float-delay, 0ms);
}

@keyframes platformTopicFloatRevealUp {
  from {
    opacity: 0;
    transform: translate3d(0, var(--hover-lift, 0px), 0) translateY(56px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, var(--hover-lift, 0px), 0) translateY(0);
  }
}

.platform-topic-hero,
.platform-topic-section {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.platform-topic-hero {
  margin-bottom: 56px;
}

.platform-topic-section:not(:last-child) {
  margin-bottom: 120px;
}

.platform-topic-hero__crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 56px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.platform-topic-hero__crumbs a {
  color: var(--primary);
}

.platform-topic-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 18px;
  align-items: center;
}

.platform-topic-hero__copy h1 {
  margin: 16px 0 14px;
  font-size: clamp(40px, 4vw, 62px);
  line-height: 0.98;
}

.platform-topic-hero__copy p {
  max-width: 580px;
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.8;
}

.platform-topic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.platform-topic-brand {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  height: 280px;
  padding: 28px 24px;
  border-radius: 28px;
  border: 1px solid rgba(12, 24, 44, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.84), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.94));
  box-shadow: 0 18px 36px rgba(12, 31, 59, 0.06);
}

.platform-topic-brand__scene-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  box-shadow: 0 12px 22px rgba(12, 31, 59, 0.06);
}

.platform-topic-brand__scene-icon svg {
  width: 30px;
  height: 30px;
}

.platform-topic-brand__platform {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.platform-topic-brand__platform strong {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.platform-topic-brand__platform span:last-child {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
}

.platform-topic-brand__platform-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.84), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 18px 30px rgba(12, 31, 59, 0.08);
  overflow: hidden;
}

.platform-topic-brand__platform-icon img {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.platform-topic-brand__platform-icon.is-fallback .platform-topic-brand__platform-mono {
  opacity: 0.92;
}

.platform-topic-brand__platform-mono {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  opacity: 0;
}

.platform-topic-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.platform-topic-kpi {
  display: grid;
  gap: 8px;
  min-height: 148px;
  padding: 20px 18px;
  border-radius: 24px;
  border: 1px solid rgba(12, 24, 44, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 24px rgba(12, 31, 59, 0.05);
}

.platform-topic-kpi span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-topic-kpi strong {
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.platform-topic-kpi p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.platform-topic-section__head {
  display: grid;
  justify-items: start;
  gap: 16px;
  margin-bottom: 22px;
}

.platform-topic-section__head h2 {
  margin: 0;
  /* max-width: 18ch; */
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.platform-topic-section__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.platform-topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.platform-topic-tag {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(12, 24, 44, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.platform-topic-article-panel {
  display: grid;
  gap: 18px;
}

.platform-topic-article-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.platform-topic-article-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  min-height: 188px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(12, 24, 44, 0.09);
  background:
    radial-gradient(circle at 12% 0%, rgba(10, 99, 230, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 255, 0.96));
  box-shadow: 0 16px 28px rgba(12, 31, 59, 0.06);
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.platform-topic-article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 99, 230, 0.14);
  box-shadow: 0 18px 30px rgba(12, 31, 59, 0.08);
}

.platform-topic-article-card__tag {
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(10, 99, 230, 0.08);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  line-height: 30px;
}

.platform-topic-article-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  font-size: 20px;
  line-height: 1.32;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.platform-topic-article-card time {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding-top: 12px;
  border-top: 1px solid rgba(12, 24, 44, 0.08);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.platform-topic-article-more {
  justify-self: end;
}

.platform-topic-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.platform-topic-related-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 136px;
  padding: 18px 14px 16px;
  border-radius: 24px;
  border: 1px solid rgba(12, 24, 44, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.94));
  box-shadow: 0 16px 28px rgba(12, 31, 59, 0.05);
  color: inherit;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.platform-topic-related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 99, 230, 0.14);
  box-shadow: 0 18px 30px rgba(12, 31, 59, 0.08);
}

.platform-topic-related-card__icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.84), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74), 0 12px 20px rgba(12, 31, 59, 0.06);
}

.platform-topic-related-card__icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.platform-topic-related-card strong {
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

@media (max-width: 1080px) {
  .platform-topic-hero__grid,
  .platform-topic-kpi-grid,
  .platform-topic-related-grid {
    grid-template-columns: 1fr;
  }

  .platform-topic-section__head {
    display: grid;
  }

  .platform-topic-section__head h2 {
    max-width: none;
  }

  .platform-topic-section__title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .platform-topic-article-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .platform-topic-main {
    padding-top: 18px;
  }

  .platform-topic-actions {
    flex-direction: column;
  }

  .platform-topic-brand,
  .platform-topic-kpi,
  .platform-topic-related-card {
    border-radius: 22px;
  }

  .platform-topic-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-topic-article-more {
    justify-self: stretch;
  }
}
