/* Sizes are frozen to the first landing's existing two text roles.
   Type families, weight, alignment, text, layout and the logo stay independent. */
html body {
  --site-landing-title-size: min(calc(.4 * 1.2vw + 1rem), max(calc(.4 * .012 * 1800px + 1rem), 1.4rem));
  --site-landing-body-size: 1rem;
}
@media screen and (max-width:767px) and (orientation:portrait) {
  html body { --site-landing-title-size: calc(.4 * (.012 * min(100vh, 900px)) + 1rem); }
}
html body :is(#page, main) [data-site-text-size="title"] {
  font-size: var(--site-landing-title-size) !important;
}
html body :is(#page, main) [data-site-text-size="body"] {
  font-size: var(--site-landing-body-size) !important;
}
html body :is(#page, main) [data-site-text-size] :is(a, span, strong, em, b, i, small):not(:is(math, .katex, .MathJax, mjx-container, pre, code) *) {
  font-size: inherit !important;
}
