/* The legal pages: /privacy/, /terms/, /refund/, /source-0.8/ - one plain column, light and dark.
   The site's face, Onest (fonts/OFL.txt) - the same files and ranges as site.css. */
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-cyrillic-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root { color-scheme: light dark; --bg: #fafafa; --card: #ffffff; --fg: #1f2328; --muted: #667085; --accent: #2f6fe0; --soft: #eef3fd; }
@media (prefers-color-scheme: dark) { :root { --bg: #111113; --card: #1a1a1d; --fg: #f5f5f7; --muted: #a1a1a6; --accent: #6b9cff; --soft: #1f2633; } }
body { font: 16px/1.6 "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--fg); background: var(--bg); margin: 0; }
main { max-width: 760px; margin: 0 auto; padding: 32px 20px 40px; background: var(--card); }
h1 { font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 6px; }
h2 { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; margin: 28px 0 8px; }
.muted { color: var(--muted); font-size: 14px; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
a { color: var(--accent); }
.top { display: flex; justify-content: space-between; align-items: center; margin: 0 0 12px; }
.top .home { color: var(--fg); font-weight: 600; text-decoration: none; }
.langs { position: relative; display: inline-flex; align-items: center; color: var(--muted); }
.langs svg { position: absolute; left: 9px; width: 15px; height: 15px; pointer-events: none; }
.langs select { font: inherit; font-size: 14px; color: var(--fg); background: var(--bg); border: 1px solid var(--muted); border-radius: 10px;
                padding: 6px 10px 6px 29px; max-width: 12em; }
.short { background: var(--soft); border-radius: 12px; padding: 14px 18px; margin: 18px 0 8px; }
.short h2 { margin: 0 0 6px; }
.short p { margin: 0; }
.rule { font-weight: 600; }
footer.legal { max-width: 760px; margin: 0 auto; padding: 16px 20px 48px; color: var(--muted); font-size: 14px; }
footer.legal nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 6px; }
