.legal-hero {
  padding: var(--section-space) 0;
  border-bottom: 1px solid var(--color-border-subtle);
  background: linear-gradient(135deg, var(--color-bg-base), var(--color-bg-soft));
}

.legal-hero__inner {
  max-width: 56.25rem;
}

.legal-hero h1 {
  margin-bottom: 0;
  letter-spacing: -0.025em;
}

.legal-section {
  padding: var(--section-space) 0;
  background: var(--color-bg-surface);
}

.legal-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.legal-sidebar {
  position: static;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  overflow-x: auto;
  padding: var(--space-sm);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-medium);
  background: var(--color-bg-base);
  scrollbar-width: thin;
}

.legal-sidebar__label {
  flex: 0 0 auto;
  margin: 0 var(--space-xs) 0 0;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-sidebar__link {
  display: inline-flex;
  min-height: 2.75rem;
  flex: 0 0 auto;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-small);
  color: var(--color-text-muted);
  font-size: var(--font-size-small);
  white-space: nowrap;
}

.legal-sidebar__link:hover,
.legal-sidebar__link.is-active {
  background: var(--color-bg-surface);
  color: var(--color-brand-primary);
}

.legal-document {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

.legal-document p {
  margin: 0 0 1.35rem;
}

.legal-document__intro {
  margin-bottom: var(--space-md);
}

.legal-contact-block {
  margin: 0 0 var(--space-lg);
  color: var(--color-text-default);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.75;
}

.legal-contact-block__names {
  color: var(--color-text-default);
  font-weight: var(--font-weight-bold);
}

.legal-contact-block a {
  font-weight: var(--font-weight-medium);
}

.legal-responsibility-note {
  margin: 0 0 var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-subtle);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.legal-responsibility-note > strong {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--color-text-default);
  font-size: 0.84rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.legal-document strong {
  color: var(--color-text-default);
  font-weight: var(--font-weight-bold);
}

.legal-document em {
  color: var(--color-text-default);
  font-family: var(--font-heading);
  font-size: 1.12em;
  font-style: normal;
  font-weight: var(--font-weight-medium);
}


.legal-document a {
  color: var(--color-brand-primary);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.legal-professional-list {
  display: grid;
  gap: var(--space-lg);
  margin: var(--space-md) 0 var(--space-lg);
}


@media (min-width: 64rem) {
  .legal-layout {
    grid-template-columns: 13.125rem minmax(0, 51.25rem);
    justify-content: center;
    align-items: start;
    gap: var(--space-3xl);
  }

  .legal-sidebar {
    position: sticky;
    top: 7.375rem;
    display: block;
    overflow: visible;
    padding: var(--space-md);
  }

  .legal-sidebar__label {
    margin: 0 0 var(--space-sm);
  }

  .legal-sidebar__link {
    display: flex;
    width: 100%;
    white-space: normal;
  }
}