.legal-hero {
  position: relative;
  display: grid;
  min-height: 230px;
  place-items: center;
  overflow: hidden;
  padding: 54px 24px;
  text-align: center;
  background: #fbfaf9;
  border-bottom: 1px solid rgba(77,76,79,0.1);
  isolation: isolate;
}

.legal-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("./assets/medicalicious-workshop-background.jpg");
  background-position: 52% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(8px) saturate(0.65) brightness(1.04);
  opacity: 0.42;
}

.legal-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 47%, rgba(251,250,249,0.72) 82%, #fbfaf9 100%),
    linear-gradient(180deg, rgba(251,250,249,0.4) 0%, rgba(247,245,243,0.15) 35%, rgba(251,250,249,0.35) 65%, #fbfaf9 100%);
}

.legal-hero-inner { position: relative; z-index: 1; }

.legal-hero h1 {
  margin: 0;
  font-family: "Philosopher", Georgia, serif;
  font-size: clamp(48px, 5.6vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.legal-content {
  padding: clamp(72px, 9vw, 130px) 24px;
  background: #fff;
}

.legal-article {
  width: min(100%, 820px);
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.legal-article h2 {
  margin: 58px 0 18px;
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(22px, 2.5vw, 29px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.legal-article h2:first-child { margin-top: 0; }

.legal-article h3 {
  margin: 36px 0 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-article p { margin: 0 0 16px; }
.legal-article ul { margin: 10px 0 22px; padding-left: 20px; }
.legal-article li { margin: 7px 0; }
.legal-article a { color: var(--copper); text-underline-offset: 3px; }
.legal-article strong { color: var(--ink); font-weight: 600; }
.legal-article address { margin: 0 0 18px; font-style: normal; }

.legal-note {
  margin: 34px 0;
  padding: 20px 24px;
  color: var(--ink);
  background: var(--paper);
  border-left: 2px solid var(--copper);
}

.legal-footer { margin-top: 0; }

@media (max-width: 680px) {
  .legal-hero { min-height: 180px; padding-block: 42px; }
  .legal-hero h1 { font-size: clamp(44px, 13vw, 58px); }
  .legal-content { padding-block: 64px; }
  .legal-article { font-size: 14px; line-height: 1.75; }
  .legal-article h2 { margin-top: 46px; }
}
