/* ==========================================================================
   LEGAL TEXTS — the typography of the documents (Privacy Policy, Terms of Use, Third-party notices).
   They are shown inside the Profile drop-down (style.css, section 12b) and on the web pages privacy.html and terms.html.
   The colour of the links arrives as --legal-accent.
   ========================================================================== */

.app-legal-doc h2 {
  margin: 16px 0 4px;
  color: #111827;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
}
.app-legal-stamp {
  margin: 0 0 8px;
  color: #4B5563;
  font-size: 14px;
}
.app-legal-doc h3 {
  margin: 28px 0 8px;
  color: var(--legal-accent);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.app-legal-doc p {
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.app-legal-doc ul {
  margin: 0 0 12px;
  padding-inline-start: 22px;
}
.app-legal-doc li {
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.app-legal-doc a {
  color: var(--legal-accent);
  text-decoration: underline;
}
/* Digits use the same span system as the Quiz drop-down: lining, fixed-width figures that sit on the same line as the words. */
.app-legal-doc .sq-digits {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-flex;
  align-items: baseline;
  font-family: "Times New Roman", Times, serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
.app-legal-doc .sq-digit {
  display: inline-block;
  width: 0.56em;
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
.app-legal-doc .sq-digit-sep {
  display: inline-block;
  text-align: center;
  padding: 0 0.06em;
  font-family: "Times New Roman", Times, serif;
}

/* -- The web pages privacy.html and terms.html -- */
.app-legal-page {
  --legal-accent: #EA580C;
  margin: 0;
  background: #FFFFFF;
  color: #111827;
  font-family: Georgia, "Times New Roman", serif;
}
.app-legal-page-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 24px 24px;
  font-size: 17px;
  line-height: 1.7;
}
.app-legal-page-brand {
  margin: 0;
  color: var(--legal-accent);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1px;
}
.app-legal-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px 48px;
  font-size: 15px;
  font-weight: 600;
}
.app-legal-page-nav a {
  color: var(--legal-accent);
}