/* Public pages (support, privacy): readable without signing in, one column, az / en / ru switch */
:root {
  --bg: #F6F8FC; --surface: #fff; --ink: #1A1D23; --ink-2: #3D4450; --muted: #6B7280; --line: #E3E7EE;
  --brand: #377EF6; --brand-ink: #1E4FA8; --soft: #EAF2FE;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111418; --surface: #1A1E24; --ink: #EEF1F5; --ink-2: #C9CFD8; --muted: #9AA3AF; --line: #2B313A; --brand: #6FA3FA; --brand-ink: #9CC0FC; --soft: #1D2A3D; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Onest, system-ui, -apple-system, "Segoe UI", sans-serif; }
.pub { max-width: 820px; margin: 0 auto; padding: 24px 16px 56px; }
.pub-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.pub-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; }
.pub-brand svg { width: 28px; height: 28px; }
.pub-langs { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.pub-langs button {
  border: 0; background: none; color: var(--ink-2); font: 600 13px/1 inherit; padding: 8px 14px; border-radius: 999px; cursor: pointer;
}
.pub-langs button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.pub-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.pub h1 { font-size: 28px; line-height: 1.25; margin: 0 0 6px; }
.pub h2 { font-size: 19px; margin: 28px 0 8px; }
.pub h3 { font-size: 16px; margin: 18px 0 4px; }
.pub p, .pub li { color: var(--ink-2); }
.pub ul { padding-left: 22px; margin: 6px 0; }
.pub li + li { margin-top: 4px; }
.pub a { color: var(--brand-ink); }
.pub .lede { color: var(--muted); margin: 0 0 8px; }
.pub .updated { font-size: 13.5px; color: var(--muted); }
.pub-contact { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 4px; }
.pub-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px;
  background: var(--brand); color: #fff !important; font-weight: 600; text-decoration: none;
}
.pub-btn.alt { background: var(--soft); color: var(--brand-ink) !important; }
.pub-btn svg { width: 18px; height: 18px; flex: none; }
.pub details { border-top: 1px solid var(--line); padding: 12px 0; }
.pub details:last-of-type { border-bottom: 1px solid var(--line); }
.pub summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.pub details p, .pub details ul { margin: 8px 0 0; }
.pub-foot { margin-top: 20px; font-size: 14px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.pub-foot a { color: var(--muted); }
[data-lang-section][hidden] { display: none; }
@media (max-width: 560px) { .pub-card { padding: 20px 16px; border-radius: 14px; } .pub h1 { font-size: 24px; } }
