.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 9.5rem 0 4.5rem;
  color: #ffffff;
  background:
    linear-gradient(115deg, rgba(6, 22, 43, 0.96) 0%, rgba(15, 52, 96, 0.94) 50%, rgba(26, 115, 232, 0.82) 100%),
    #0f3460;
  isolation: isolate;
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 82%);
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -42% 45%;
  z-index: -1;
  height: 70%;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.32), rgba(255, 255, 255, 0));
  transform: skewY(-9deg);
}

.legal-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  color: rgba(226, 239, 255, 0.82);
  font-size: 0.92rem;
}

.legal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: #9fd2ff;
  font-weight: 700;
}

.legal-kicker::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: #ff7a55;
}

.legal-title {
  max-width: 680px;
  margin-bottom: 1.4rem;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.legal-lead {
  max-width: 680px;
  color: rgba(226, 239, 255, 0.88);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.9;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.legal-action-primary,
.legal-action-secondary {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  padding: 0 1.2rem;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.legal-action-primary {
  color: #ffffff;
  background: #dd5f41;
}

.legal-action-secondary {
  color: #eaf5ff;
  border: 1px solid rgba(234, 245, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.legal-action-primary:hover,
.legal-action-secondary:hover {
  transform: translateY(-2px);
}

.legal-action-primary:hover {
  background: #c84f33;
}

.legal-action-secondary:hover {
  border-color: rgba(234, 245, 255, 0.62);
  background: rgba(255, 255, 255, 0.13);
}

.legal-hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  padding: 1.5rem;
  background: rgba(4, 18, 35, 0.58);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.legal-hero-panel h2 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.legal-hero-list {
  display: grid;
  gap: 0.85rem;
}

.legal-hero-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  border-radius: 0.85rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
}

.legal-hero-item i {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  color: #ffb29c;
  background: rgba(255, 122, 85, 0.14);
}

.legal-hero-item strong {
  display: block;
  color: #ffffff;
  line-height: 1.25;
}

.legal-hero-item span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(226, 239, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .legal-hero {
    padding: 7.5rem 0 3.5rem;
  }

  .legal-actions {
    flex-direction: column;
  }

  .legal-action-primary,
  .legal-action-secondary {
    width: 100%;
  }
}
