@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/onest-latin.woff2') format('woff2');
  unicode-range: U+0000-024F;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/onest-cyrillic.woff2') format('woff2');
  unicode-range: U+0400-052F;
}
:root {
  font-family: Onest, system-ui, sans-serif;
  color-scheme: light dark;
  --bg: light-dark(#faf9f6, #101213);
  --surface: light-dark(#fff, #1b1e20);
  --ink: light-dark(#20221f, #ecebe8);
  --muted: light-dark(#5c605a, #b4b2ac);
  --line: light-dark(#e1e2dc, #34383b);
  --accent: light-dark(#285d47, #8bc5a7);
  --wash: light-dark(#f0f3ef, #222629);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
input:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 5px;
}
[hidden] {
  display: none !important;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
  margin-bottom: 20px;
}
h2 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
}
li {
  padding-left: 4px;
  margin-bottom: 12px;
}
ul,
ol {
  padding-left: 24px;
}
article p,
article li {
  max-width: 76ch;
  overflow-wrap: anywhere;
}
.help-skip {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 10;
  background: var(--surface);
  padding: 12px;
}
.help-skip:focus {
  top: 12px;
}
.help-bar {
  max-width: 1280px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 40px;
  border-bottom: 1px solid var(--line);
}
.help-brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.help-brand span:first-child {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.06em;
}
.help-brand span:last-child {
  font-size: 16px;
}
.help-bar nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 20px;
}
.help-bar nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 14px;
}
.help-bar .help-app {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  text-decoration: none;
}
.help-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 40px 80px;
}
.help-index-header {
  max-width: 760px;
  margin-bottom: 32px;
}
.help-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 65ch;
}
.help-search {
  max-width: 760px;
  margin: 0 0 40px;
}
.help-search label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}
.help-search-row {
  display: flex;
  gap: 8px;
}
.help-search input {
  min-width: 0;
  flex: 1;
  width: 100%;
  min-height: 52px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
}
.help-search button {
  flex-shrink: 0;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 8px 12px;
}
.help-search [role='status'] {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 0;
}
.help-topics {
  max-width: 1000px;
}
.help-topic-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
.help-topic-list li {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.help-topic-list a {
  display: block;
  position: relative;
  padding: 24px 34px 24px 0;
  text-decoration: none;
  color: var(--ink);
  min-height: 140px;
}
.help-topic-list a:hover h3 {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.help-topic-list p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.help-arrow {
  position: absolute;
  top: 22px;
  right: 2px;
  font-size: 22px;
  color: var(--muted);
}
.help-article-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.help-toc {
  position: sticky;
  top: 28px;
}
.help-toc p {
  font-size: 14px;
  font-weight: 500;
}
.help-toc nav {
  display: flex;
  flex-direction: column;
}
.help-toc a {
  min-height: 44px;
  padding: 8px 0;
  line-height: 1.5;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.help-toc a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.help-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 20px;
  font-size: 14px;
}
.help-purpose {
  margin: 20px 0 24px;
  border-block: 1px solid var(--line);
}
.help-purpose summary {
  min-height: 44px;
  padding: 10px 0;
  font-size: 14px;
  cursor: pointer;
}
.help-purpose dl {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 8px 0 20px;
}
.help-purpose dt {
  font-size: 14px;
  color: var(--muted);
}
.help-purpose dd {
  margin: 4px 0 0;
  font-size: 16px;
}
.help-article-layout article {
  min-width: 0;
  max-width: 80ch;
  width: 100%;
}
.help-article-layout section {
  margin-bottom: 40px;
  scroll-margin-top: 28px;
}
.help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.help-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.help-related {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 24px;
}
.help-related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 8px 0;
}
.help-text-link {
  font-size: 14px;
  margin: 24px 0;
}
.help-text-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.help-footer {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 24px 40px 40px;
  border-top: 1px solid var(--line);
}
.help-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--muted);
}
.help-word {
  width: 90px;
  height: auto;
}
.help-word .dot {
  fill: var(--accent);
}
.help-mobile-toc {
  display: none;
}
.help-mobile-toc summary {
  min-height: 44px;
  cursor: pointer;
  padding: 8px 0;
  font-size: 14px;
}
.help-mobile-toc nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.help-mobile-toc a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 14px;
}
.help-mobile-toc {
  margin-bottom: 28px;
  border-block: 1px solid var(--line);
}
@media (max-width: 800px) {
  .help-bar {
    padding: 16px 24px;
    align-items: flex-start;
  }
  .help-main {
    padding: 36px 24px 56px;
  }
  .help-article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .help-toc {
    display: none;
  }
  .help-mobile-toc {
    display: block;
  }
  .help-footer {
    padding: 24px;
  }
  .help-topic-list {
    gap: 0 24px;
  }
}
@media (max-width: 540px) {
  .help-bar {
    padding: 14px 20px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .help-bar nav {
    width: 100%;
    justify-content: flex-start;
    gap: 6px 16px;
  }
  .help-brand span:first-child {
    font-size: 30px;
  }
  .help-main {
    padding: 32px 20px 48px;
  }
  .help-topic-list {
    grid-template-columns: 1fr;
  }
  .help-topic-list a {
    min-height: 0;
    padding-block: 20px;
  }
  .help-lead {
    font-size: 16px;
  }
  .help-toc nav {
    grid-template-columns: 1fr;
  }
  .help-search-row {
    flex-wrap: wrap;
  }
  .help-search input {
    flex-basis: 100%;
  }
  .help-purpose {
    margin-bottom: 20px;
  }
  .help-footer {
    padding: 20px;
  }
  .help-article-layout {
    gap: 20px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  a,
  button {
    transition:
      color 120ms ease,
      background-color 120ms ease;
  }
  html {
    scroll-behavior: smooth;
  }
}
