/* Shared legal-page layout: a title, date pill and readable document panel. */
.legal-page .legal-layout {
  width: min(860px, calc(100% - 36px));
  max-width: 860px;
  margin-inline: auto;
  padding-inline: 0;
}
.legal-page .legal-layout h1 {
  font-family: "Quantico", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
  margin-bottom: 0;
  margin-inline: 0;
  max-width: none;
  text-align: left;
}
.legal-page .legal-layout .updated {
  display: inline-block;
  position: relative;
  isolation: isolate;
  max-width: 100%;
  margin: 18px 0 0;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 10, 17, .72);
  font-family: "Quantico", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: normal;
  color: #fff;
}
.legal-page .legal-panel {
  position: relative;
  isolation: isolate;
  max-width: none;
  margin: 30px 0 0;
  padding: clamp(24px, 4vw, 48px);
  border: 0;
  border-radius: 30px;
  background: rgba(7, 10, 17, .82);
}
.legal-page .legal-panel::before,
.legal-page .legal-layout .updated::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(214,228,248,.9), rgba(214,228,248,.36) 30%, rgba(214,228,248,.2) 55%, rgba(214,228,248,.32) 80%, rgba(214,228,248,.62));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.legal-page .legal-layout .legal-panel h2 {
  margin: 40px 0 12px;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  line-height: 1.25;
  text-wrap: balance;
  scroll-margin-top: 100px;
}
.legal-page .legal-layout .legal-panel h3 { margin-top: 28px; font-size: 17px; }
.legal-page .legal-layout .legal-panel p,
.legal-page .legal-layout .legal-panel ul,
.legal-page .legal-layout .legal-panel ol {
  font-size: 16px;
  line-height: 1.7;
  color: #d2dae5;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.legal-page .legal-layout .legal-panel p { margin: 14px 0 0; }
.legal-page .legal-layout .legal-panel ul,
.legal-page .legal-layout .legal-panel ol { margin: 14px 0 0; padding-left: 22px; }
.legal-page .legal-layout .legal-panel li + li { margin-top: 8px; }
.legal-page .legal-layout .legal-panel > :first-child { margin-top: 0; }
.legal-page .legal-layout .doc-hero--legal { display: block; padding-bottom: 0; }
.legal-page .legal-layout .doc-hero--legal > div { max-width: none; }
.legal-page .legal-layout .doc-hero--legal > div > p:last-child:not(.updated) { font-size: 16px; line-height: 1.7; color: #d2dae5; }
.legal-page .legal-layout .policy-summary { margin-top: 30px; grid-template-columns: 1fr; }
.legal-page .legal-layout .policy-summary article { padding: 24px; }
@media (max-width: 480px) {
  .legal-page .legal-panel { border-radius: 24px; }
}
