.dw-page-shell .dw-legal-hero {
  position: relative;
  z-index: 3;
}

.dw-page-shell .dw-legal-hero__panel {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, .88fr);
  align-items: center;
  gap: 34px;
  padding: 42px 44px;
  border-radius: var(--dw-radius-lg);
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(135deg, rgba(15, 13, 25, .94), rgba(7, 7, 12, .92)),
    radial-gradient(circle at 82% 24%, rgba(146,39,142,.24), transparent 16rem),
    radial-gradient(circle at 64% 74%, rgba(50,185,40,.12), transparent 18rem);
  box-shadow: var(--dw-shadow-card), inset 0 1px 0 rgba(255,255,255,.05);
  isolation: isolate;
}

.dw-page-shell .dw-legal-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0, calc(var(--dw-legal-hero-overlay) / 260)) 0%, rgba(0,0,0, calc(var(--dw-legal-hero-overlay) / 180)) 100%),
    linear-gradient(135deg, transparent 0 52%, rgba(146,39,142,.1) 53% 66%, transparent 67%),
    linear-gradient(45deg, transparent 0 55%, rgba(50,185,40,.06) 56% 68%, transparent 69%);
  pointer-events: none;
  z-index: 0;
}

.dw-page-shell .dw-legal-hero__content,
.dw-page-shell .dw-legal-hero__visual {
  position: relative;
  z-index: 1;
}

.dw-page-shell .dw-legal-hero__eyebrow {
  margin: 0 0 10px;
  color: var(--dw-green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.dw-page-shell .dw-legal-hero__headline {
  margin: 0;
  color: #fff;
  font-family: var(--dw-display);
  font-size: clamp(48px, 6vw, 86px);
  line-height: .9;
  letter-spacing: .012em;
  text-transform: uppercase;
  text-shadow: 0 5px 0 rgba(0,0,0,.26), 0 0 18px rgba(255,255,255,.05);
}

.dw-page-shell .dw-legal-hero__headline span {
  color: var(--dw-green);
  text-shadow: 0 0 20px rgba(50,185,40,.18);
}

.dw-page-shell .dw-legal-hero__subtitle {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--dw-text);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.38;
  font-weight: 500;
}

.dw-page-shell .dw-legal-hero__visual {
  display: flex;
  justify-content: flex-end;
}

.dw-page-shell .dw-legal-hero__emote {
  top: -26px;
  left: -24px;
  opacity: .92;
  z-index: 2;
}

.dw-page-shell .dw-legal-hero__visual-card {
  position: relative;
  width: min(100%, 320px);
  min-height: 250px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  border: 1px solid rgba(146,39,142,.22);
  background:
    linear-gradient(155deg, rgba(20, 17, 32, .95), rgba(8, 8, 13, .9)),
    radial-gradient(circle at 50% 40%, rgba(50,185,40,.12), transparent 58%);
  box-shadow: 0 0 30px rgba(146,39,142,.16), inset 0 1px 0 rgba(255,255,255,.05);
}

.dw-page-shell .dw-legal-hero__visual-card::before,
.dw-page-shell .dw-legal-hero__visual-card::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 24px;
  border: 1px dashed rgba(255,255,255,.06);
}

.dw-page-shell .dw-legal-hero__visual-card::after {
  inset: 56px 36px;
  border-radius: 50%;
  border-style: solid;
  border-color: rgba(50,185,40,.12);
  filter: blur(1px);
}

.dw-page-shell .dw-legal-hero__visual-ring {
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(146,39,142,.18), rgba(50,185,40,.08) 52%, transparent 74%);
  filter: blur(18px);
}

.dw-page-shell .dw-legal-hero__visual-card img {
  position: relative;
  z-index: 1;
  width: min(160px, 54%);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(146,39,142,.25));
}

@media (max-width: 920px) {
  .dw-page-shell .dw-legal-hero__emote {
    top: -12px;
    left: 6px;
  }

  .dw-page-shell .dw-legal-hero__panel {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 28px;
  }

  .dw-page-shell .dw-legal-hero__visual {
    justify-content: center;
  }

  .dw-page-shell .dw-legal-hero__visual-card {
    min-height: 214px;
  }
}

@media (max-width: 560px) {
  .dw-page-shell .dw-legal-hero__panel {
    padding: 28px 22px;
  }

  .dw-page-shell .dw-legal-hero__subtitle {
    font-size: 17px;
  }
}
