@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/inter-cyrillic-wght-normal.woff2?v=71d5ee93cc) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-wght-normal.woff2?v=3100e775e8) format("woff2");
  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: #FFFFFF;
  --ink: #14171A;
  --muted: #5C646C;
  --line: rgba(20, 23, 26, 0.12);
  --accent: #0A66D0;
  --btn: #0A66D0;
  --btn-hover: #0858B5;
  --on-btn: #FFFFFF;
  --bar: rgba(255, 255, 255, 0.78);
  --bar-solid: #FFFFFF;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font: -apple-system, BlinkMacSystemFont, "Inter Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  --bar-h: 52px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D1014;
    --ink: #F2F4F6;
    --muted: #9AA3AD;
    --line: rgba(242, 244, 246, 0.12);
    --accent: #5AAAFF;
    --btn: #0A66D0;
    --btn-hover: #1A75DE;
    --bar: rgba(13, 16, 20, 0.72);
    --bar-solid: #0D1014;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: calc(var(--bar-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; touch-action: manipulation; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 10px;
}

.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 30;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 12px 32px -12px rgba(0, 0, 0, 0.35);
  transform: translateY(-200%);
}
.skip:focus-visible { transform: none; }

.doc-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--bar-solid);
  box-shadow: 0 1px 0 var(--line);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .doc-bar {
    background: var(--bar);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
  }
}

.doc-bar-in,
.doc,
.doc-footer {
  width: calc(100% - 2 * max(var(--gutter), env(safe-area-inset-left, 0px)));
  max-width: 720px;
  margin-inline: auto;
}

.doc-bar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--bar-h);
}

.doc-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.doc-mark { flex: none; width: 24px; height: 24px; color: var(--accent); }

.doc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--on-btn);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color 160ms ease, transform 140ms var(--ease-out);
}
.doc-cta:active { transform: scale(0.97); }

.doc { padding: 56px 0 64px; }

.doc h1 {
  margin: 0;
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.doc-meta {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.doc section {
  margin-top: 48px;
  padding-top: 32px;
  box-shadow: inset 0 1px 0 var(--line);
}

.doc h2 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.022em;
}

.doc h3 {
  margin: 28px 0 8px;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.doc p,
.doc ol,
.doc ul {
  margin: 0 0 14px;
  max-width: 68ch;
}

.doc ol,
.doc ul { padding-left: 1.4em; }

.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--muted); }
.doc ol > li::marker { font-variant-numeric: tabular-nums; }

.doc strong { font-weight: 600; }

.doc-footer {
  padding: 24px 0 max(32px, env(safe-area-inset-bottom, 0px));
  box-shadow: inset 0 1px 0 var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

.doc-links { display: flex; flex-wrap: wrap; gap: 0 24px; }

.doc-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .doc-cta:hover { background: var(--btn-hover); }
  .doc-links a:hover { color: var(--ink); }
}

@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .doc { padding: 88px 0 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .doc-cta, .doc-links a { transition-duration: 0ms; }
}

@media print {
  body { background: #FFFFFF; color: #000000; }
  .doc-bar { position: static; box-shadow: none; background: #FFFFFF; }
  .doc-cta { display: none; }
  .doc section { box-shadow: none; border-top: 1px solid #CCCCCC; }
  .doc-links a, a { color: #000000; }
  .skip { display: none; }
}
