/* The Terms and Privacy pages: the language pickers (/terms, /privacy), and the documents in each
   language (/terms/en, /privacy/sq, ...). Loaded after style.css, and after privacy.css on the
   documents. The buttons themselves are style.css's .bubble. */

/* The pickers' title and words need every ASCII letter; style.css's fonts are cut to the home page. */
@font-face {
  font-family: "Archivo"; font-weight: 900; font-stretch: 125%; font-display: swap;
  src: url("/fonts/archivo-900-expanded-ascii.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans"; font-weight: 400 600; font-display: swap;
  src: url("/fonts/instrument-sans-ascii.woff2") format("woff2");
}

/* The languages: all the same size whatever the name, side by side, in as many rows as it takes. */
.langs {
  display: grid; grid-template-columns: repeat(auto-fit, 8.6em); justify-content: center;
  gap: .6em; margin: 1.1em auto 0; max-width: 27em;
  font-size: clamp(14px, calc(var(--u) * .13), 19px);
}
.langs .bubble { width: 8.6em; height: 3.4em; }
.langs small { display: block; margin-top: .15em; font-size: .78em; font-weight: 400; color: #8FA3BC; }
.picker .lede .fine { margin-top: 1.4em; }
/* A window too short for Kip, the title and the languages scrolls above the taskbar, never cuts off. */
.picker main { overflow-y: auto; }

/* The documents in a language other than English: the app's font for every letter, rather than a
   mix of the site's fonts and fallbacks inside a word. */
html:not([lang="en"]) .reading article,
html:not([lang="en"]) .reading h1,
html:not([lang="en"]) .reading h2 {
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif; font-stretch: normal;
}
html:not([lang="en"]) .reading h1, html:not([lang="en"]) .reading h2 { font-weight: 700; }
.reading ol { padding-left: 1.4em; }
[dir="rtl"] .reading main { text-align: right; }
[dir="rtl"] .reading ul, [dir="rtl"] .reading ol { padding-left: 0; padding-right: 1.4em; }
