/* Typography for the legal pages (privacy, terms, cookies).
   Scoped to .ax-legal so nothing here can affect the homepage.

   NOTE: this theme sets html { font-size: 10px }, so 1rem = 10px, not 16px.
   Sizes below are written against that scale -- 1.8rem here is 18px, not
   28.8px. Body copy inherits the theme's 16px paragraph size deliberately,
   so only the elements that need to differ are given an explicit size. */

.ax-legal {
  padding: 140px 0 96px;
}

.ax-legal .ax-legal-inner {
  max-width: 820px;
  margin: 0 auto;
}

.ax-legal h1 {
  font-size: clamp(3.2rem, 4vw, 4.4rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.ax-legal .ax-legal-meta {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.4rem;
  margin-bottom: 40px;
}

.ax-legal .ax-legal-lede {
  font-size: 1.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 44px;
}

.ax-legal h2 {
  font-size: 2.2rem;
  margin: 48px 0 14px;
  scroll-margin-top: 110px;
}

.ax-legal h3 {
  font-size: 1.75rem;
  margin: 30px 0 10px;
}

.ax-legal p,
.ax-legal li {
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.ax-legal p {
  margin-bottom: 16px;
}

.ax-legal ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.ax-legal li {
  margin-bottom: 8px;
}

.ax-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ax-legal a:hover {
  color: #fff;
}

/* Callout for the statements a reader is most likely to be checking for. */
.ax-legal .ax-legal-note {
  border-left: 2px solid rgba(255, 255, 255, 0.28);
  padding: 4px 0 4px 20px;
  margin: 28px 0 32px;
}

.ax-legal .ax-legal-note p:last-child {
  margin-bottom: 0;
}

.ax-legal .ax-legal-toc {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 48px;
}

.ax-legal .ax-legal-toc h2 {
  font-size: 1.2rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.6);
}

.ax-legal .ax-legal-toc ol {
  margin: 0;
  padding-left: 20px;
}

.ax-legal .ax-legal-toc li {
  margin-bottom: 6px;
}

@media (max-width: 767px) {
  .ax-legal {
    padding: 110px 0 72px;
  }

  .ax-legal .ax-legal-lede {
    font-size: 1.7rem;
  }
}
