.legal-brand-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(8.5rem, 11rem) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 2.6rem);
  align-items: center;
  max-width: 52rem;
  margin: clamp(2.4rem, 5vw, 4rem) 0 0;
  padding: clamp(1.15rem, 3vw, 1.7rem);
  overflow: hidden;
  border: 1px solid rgba(231, 131, 69, 0.24);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(231, 131, 69, 0.08), transparent 46%),
    linear-gradient(180deg, rgba(23, 29, 39, 0.9), rgba(7, 9, 12, 0.92));
  box-shadow: 0 1.8rem 5rem rgba(0, 0, 0, 0.2);
}

.legal-brand-stage::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, #fbbf24, #e78345 54%, transparent);
  content: "";
}

.legal-brand-stage::after {
  position: absolute;
  right: -5rem;
  bottom: -6.5rem;
  width: 15rem;
  height: 15rem;
  border: 1px solid rgba(245, 158, 11, 0.13);
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.legal-brand-stage img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
}

.legal-brand-stage figcaption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.7rem;
}

.legal-brand-stage strong {
  color: #f7f5ef;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.legal-brand-stage span {
  max-width: 34rem;
  color: #99a3b2;
  font-size: 0.88rem;
  line-height: 1.65;
}

.legal-brand-stage small {
  width: fit-content;
  padding: 0.38rem 0.55rem;
  border: 1px solid rgba(231, 131, 69, 0.25);
  border-radius: 999px;
  color: #e78345;
  background: rgba(231, 131, 69, 0.07);
  font: 700 0.65rem/1.2 "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 46rem) {
  .legal-brand-stage {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 1.1rem;
    margin-top: 2rem;
  }
}

@media (max-width: 30rem) {
  .legal-brand-stage {
    grid-template-columns: 1fr;
  }

  .legal-brand-stage img {
    width: 5.5rem;
  }
}
