/* Legal pages — shared by privacy.html & terms.html */
.ac-legal-breadcrumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
.ac-legal-breadcrumb a:hover {
  color: #0d9488;
}

.ac-legal-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f766e;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(204, 251, 241, 0.65);
  border: 1px solid rgba(13, 148, 136, 0.22);
}

.ac-legal-toc {
  max-height: min(75vh, 36rem);
  overflow-y: auto;
}

.ac-legal-toc ul a {
  display: block;
  padding: 0.4375rem 0.75rem;
  margin-left: -0.125rem;
  border-radius: 0.5rem;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.35;
  transition: background 0.15s ease, color 0.15s ease;
}
.ac-legal-toc ul a:hover {
  background: rgba(204, 251, 241, 0.55);
  color: #0f766e;
}
.ac-legal-toc ul a:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 1px;
}

.ac-legal-article .ac-legal-inner h2 {
  margin-top: 2.35rem;
  scroll-margin-top: 7rem;
  font-size: 1.1875rem;
  font-weight: 700;
  color: #111827;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #ebeff4;
}
.ac-legal-article .ac-legal-inner > div:first-child > h2 {
  margin-top: 0;
  padding-top: 0;
}
.ac-legal-article .ac-legal-inner p {
  margin-top: 0.75rem;
}
.ac-legal-article .ac-legal-inner p:first-of-type {
  margin-top: 0;
}
.ac-legal-article .ac-legal-inner ul {
  list-style: disc;
  margin-top: 0.75rem;
  padding-left: 1.35rem;
}
.ac-legal-article .ac-legal-inner li {
  margin-top: 0.4rem;
}
.ac-legal-article .ac-legal-inner strong {
  color: #111827;
  font-weight: 600;
}
.ac-legal-article .ac-legal-inner a:not(.ac-legal-chip) {
  font-weight: 600;
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ac-legal-article .ac-legal-inner a:not(.ac-legal-chip):hover {
  color: #0d9488;
}

.ac-legal-cta-panel {
  border: 1px solid rgba(13, 148, 136, 0.2);
  background: linear-gradient(
    135deg,
    rgba(204, 251, 241, 0.38) 0%,
    #fff 52%,
    #f9fafb 100%
  );
}
