@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-cyrillic-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0400-052F,U+1C80-1C8F,U+2DE0-2DFF,U+A640-A69F;
}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-latin-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-024F,U+1E00-1EFF,U+20A0-20CF;
}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-cyrillic-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0400-052F,U+1C80-1C8F,U+2DE0-2DFF,U+A640-A69F;
}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-latin-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-024F,U+1E00-1EFF,U+20A0-20CF;
}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-cyrillic-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0400-052F,U+1C80-1C8F,U+2DE0-2DFF,U+A640-A69F;
}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-latin-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-024F,U+1E00-1EFF,U+20A0-20CF;
}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-cyrillic-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0400-052F,U+1C80-1C8F,U+2DE0-2DFF,U+A640-A69F;
}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-latin-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-024F,U+1E00-1EFF,U+20A0-20CF;
}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-cyrillic-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0400-052F,U+1C80-1C8F,U+2DE0-2DFF,U+A640-A69F;
}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-latin-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0000-024F,U+1E00-1EFF,U+20A0-20CF;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-cyrillic-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0400-052F,U+1C80-1C8F,U+2DE0-2DFF,U+A640-A69F;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-latin-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-024F,U+1E00-1EFF,U+20A0-20CF;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-cyrillic-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0400-052F,U+1C80-1C8F,U+2DE0-2DFF,U+A640-A69F;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-latin-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-024F,U+1E00-1EFF,U+20A0-20CF;
}

:root {
  --color-navy-950: #08101f;
  --color-navy-900: #0d1729;
  --color-navy-800: #17243a;
  --color-signal-blue: #3978f6;
  --color-signal-blue-soft: #79a7ff;
  --color-verified: #58d692;
  --color-paper: #f6f8fb;
  --color-ink: #142033;
  --color-muted: #a8b8cc;
  --color-border: #dbe2ec;
  --color-focus: #79a7ff;
  --font-sans: "Onest", "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, "Liberation Mono", monospace;
  --focus-ring: 0 0 0 3px color-mix(in srgb, var(--color-focus) 38%, transparent);
}

html[data-theme="light"] {
  --color-muted: #637289;
  --color-focus: #245dcc;
}

:root {
  --product-header-bg: #08101f;
  --product-header-text: #f6f8fb;
  --product-header-muted: #a8b8cc;
  --product-header-line: #263754;
  --product-header-active: #79a7ff;
}
html[data-theme="light"] {
  --product-header-bg: #ffffff;
  --product-header-text: #142033;
  --product-header-muted: #637289;
  --product-header-line: #dbe2ec;
  --product-header-active: #245dcc;
}

.product-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  min-height: 68px;
  background: color-mix(in srgb, var(--product-header-bg) 96%, transparent);
  color: var(--product-header-text);
  border-bottom: 1px solid var(--product-header-line);
  backdrop-filter: blur(14px);
}
.product-header-inner {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.product-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--product-header-text);
  text-decoration: none;
  flex: 0 0 auto;
}
.product-brand img { width: 34px; height: 34px; flex: 0 0 auto; }
.product-brand b { display: block; font-size: 15px; line-height: 1.25; }
.product-brand small { display: block; margin-top: 2px; color: var(--product-header-muted); font-size: 11px; line-height: 1.25; }
.product-brand > span { min-width: 0; overflow-wrap: anywhere; }
.product-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  min-width: 0;
}
.product-nav a,
.product-nav button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--product-header-muted);
  font: 500 14px/1.35 var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
}
.product-nav a:hover,
.product-nav button:hover { color: var(--product-header-text); background: color-mix(in srgb, var(--product-header-text) 7%, transparent); }
.product-nav [aria-current="page"] { color: var(--product-header-text); background: color-mix(in srgb, var(--product-header-active) 15%, transparent); }
.product-header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.product-header .theme-toggle,
.product-header [data-theme-toggle] {
  box-sizing: border-box;
  width: auto;
  height: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 12px;
  font: 500 14px/1.35 var(--font-sans);
  border: 1px solid var(--product-header-line);
  border-radius: 12px;
  background: var(--product-header-bg);
  color: var(--product-header-text);
  cursor: pointer;
}
.product-home-link { font-weight: 600 !important; color: var(--product-header-text) !important; }

@media (max-width: 760px) {
  .product-header { position: sticky; }
  .product-header-inner { width: 100%; min-height: 0; padding: 10px 12px 0; flex-wrap: wrap; gap: 8px 10px; }
  .product-brand { flex: 1 1 120px; }
  .product-brand img { width: 30px; height: 30px; }
  .product-header-actions { margin-left: auto; }
  .product-nav {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    order: 3;
    flex: 1 0 100%;
    margin-left: 0;
    gap: 2px;
    overflow: visible;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .product-nav::-webkit-scrollbar { display: none; }
  .product-nav a,
  .product-nav button { min-width: 0; min-height: 44px; padding-inline: 8px; font-size: 13px; white-space: normal; text-align: center; overflow-wrap: anywhere; }
  .product-header ~ main :is(section,[id]) { scroll-margin-top:230px; }
}

.ui-shell {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.ui-status {
  min-height: 22px;
  color: var(--color-muted);
}

.ui-icon-button {
  display: inline-grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
}

.ui-mobile-only {
  display: none;
}

.ui-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  box-shadow: var(--focus-ring);
}

@media (max-width: 760px) {
  .ui-mobile-only {
    display: initial;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
.launch-footer { width: min(1120px, calc(100% - 32px)); margin: 2rem auto; padding-top: 1rem; border-top: 1px solid var(--color-muted); }
.launch-footer .reading-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.launch-footer a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; }
