@font-face {
  font-family: "JetBrains Mono";
  src: url("/static/fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/static/fonts/JetBrainsMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/static/fonts/JetBrainsMono-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/static/fonts/JetBrainsMono-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: "JetBrains Mono", monospace;
  line-height: 1.75;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: #00A3FF; text-decoration: none; transition: color 0.2s; }
a:hover { color: #06B5D4; text-decoration: underline; }

.container {
  max-width: 1344px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(23, 23, 23, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-link:hover { text-decoration: none; }
.logo-link svg { width: 94px; height: auto; }
.header-nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.login-btn {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  padding: 6px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: all 0.2s;
}
.login-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.25); text-decoration: none; color: #fff; }

/* Main content */
main { flex: 1; }
.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 0 80px;
}
@media (max-width: 767px) {
  .content { padding: 32px 0 60px; }
}

.company-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.company-name { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.company-details { font-size: 13px; color: #737373; line-height: 2; }
.version-date { font-size: 13px; color: #737373; margin-top: 12px; font-style: italic; }
.doc-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.3;
}
@media (max-width: 767px) {
  .doc-title { font-size: 22px; }
}

.intro-text { color: #a0a0a0; margin-bottom: 16px; }
h2 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 40px 0 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
h2:first-of-type { border-top: none; padding-top: 0; }
p { color: #a0a0a0; margin-bottom: 12px; }
strong { color: #e0e0e0; font-weight: 600; }
ul, ol { padding-left: 24px; margin-bottom: 12px; }
li { color: #a0a0a0; margin-bottom: 8px; }
li ul { margin-top: 8px; }
.definition-term { color: #e0e0e0; font-weight: 500; }
.requisites {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 24px;
  margin-top: 32px;
}
.requisites h2 { border-top: none; padding-top: 0; margin-top: 0; }

/* Footer */
footer {
  background: #171717;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 48px 0 20px;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 40px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  .footer-top { flex-direction: row; gap: 64px; }
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  flex: 1;
}
@media (min-width: 768px) {
  .footer-links { gap: 64px; }
}
.footer-col h3 { font-size: 18px; font-weight: 500; color: #fff; margin-bottom: 16px; }
.footer-col a {
  display: block;
  font-size: 14px;
  line-height: 1.75;
  color: #737373;
  text-decoration: none;
  transition: color 0.2s;
  margin-bottom: 8px;
}
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #737373;
}
.footer-bottom-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: #737373; text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
.dot-separator {
  width: 3px;
  height: 3px;
  background: #737373;
  border-radius: 50%;
  display: inline-block;
}
