:root{
  --bg: #0b1020;
  --surface: #141b2e;
  --border: #1b2440;
  --text: #ffffff;
  --muted: #a6adbb;
  --accent: #0a59c7;
  --accent-contrast: #ffffff;
  --ok: #2bb765;
  --wrap: 1200px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --shadow: 0 6px 20px rgba(0,0,0,.25);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid color-mix(in oklab, var(--accent), #fff 15%); outline-offset: 2px; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  font-size: 16px;
}

.container { max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.wrap { padding-bottom: 48px; }
.content-grid { display: block; }

.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px){
  .grid.two { grid-template-columns: 1fr; }
}

.header {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(130%) blur(6px);
}
.header__container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px;
}
.logo img { height: 36px; }

.primary_menu_desktop_ver, .primary_menu_mobile_ver, .mobile_menu_button { display: none !important; }

.buttons .btn, .btn {
  display: inline-block;
  padding: .7rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
  user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn.accent {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 2px 12px color-mix(in oklab, var(--accent), #000 70%);
}
.btn.accent:hover { filter: brightness(1.05); }
.btn.outline {
  background: transparent;
  color: var(--text);
  border-color: #33465f;
}
.btn.outline:hover { border-color: #49617f; }

.welcome-section {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: center;
  margin-block: 24px;
}
.welcome-section .title h1 {
  margin: 0 0 8px 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.2;
}
.welcome-section .description { color: var(--muted); }
.welcome-section .image img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.welcome-section__buttons .btn { margin-top: 8px; }

@media (max-width: 900px){
  .welcome-section { grid-template-columns: 1fr; }
}

nav.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin: 24px 0;
}
nav.toc h2 { font-size: 1rem; margin: 0 0 8px 0; }
nav.toc ol { margin: 0; padding-left: 20px; }
nav.toc a { text-decoration: none; }
nav.toc a:hover { text-decoration: underline; }

section.group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 24px 0;
  box-shadow: 0 1px 0 #00000020 inset;
}
section.group h2, section.group h3, section.group h4 { margin-top: 0; }
.note { color: var(--muted); font-size: .96rem; }

table {
  width: 100%; border-collapse: collapse; overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
thead th {
  background: color-mix(in oklab, var(--surface), #ffffff 3%);
  color: #dfe5f3;
}
th, td {
  border: 1px solid var(--border);
  padding: 10px;
  text-align: left;
}

footer {
  margin-top: 32px;
  color: #8a90a3;
  border-top: 1px solid var(--border);
  padding: 16px 0 32px;
}

.hidden { display: none !important; }
.center { text-align: center; }
.m0 { margin: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }

@media print {
  :root { --bg: #fff; --surface: #fff; --text: #000; --accent: #000; --border: #ddd; }
  html, body { background: #fff; color: #000; }
  .header { position: static; backdrop-filter: none; }
  a { color: #000; text-decoration: underline; }
  .btn { border: 1px solid #000; background: transparent; color: #000; box-shadow: none; }
  nav.toc { page-break-inside: avoid; }
  section.group { break-inside: avoid; }
}

.cta-fab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  padding: 0.9rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(10, 89, 199, .35);
  text-align: center;
  white-space: nowrap;
}
.cta-fab:hover{ filter: brightness(1.06); }

@media (max-width: 720px){
  .cta-fab{
    left: 16px;
    right: 16px;
    border-radius: 12px;
  }
  body{ padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce){
  .cta-fab{ transition: none !important; }
}

    .footer-top{padding:24px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
    .footer-columns{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:24px}
    .footer-columns h4{margin:0 0 8px 0}
    .footer-logos,.footer-badges{display:flex;flex-wrap:wrap;gap:16px;align-items:center}
    .footer-hr{border:0;border-top:1px solid var(--border);margin:16px 0}
    .socials a{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#2bb7651a;border:1px solid #2bb76533}
    .lang-switch{display:inline-flex;align-items:center;gap:8px;padding:.5rem .75rem;border:1px solid #33465f;border-radius:12px}
    .minor{font-size:.9rem;color:#8a90a3}
    .is-active{font-weight:700;text-decoration:underline}
    .pay-icons img{height:22px}
    .badge-icons img{height:34px}
    .kws{display:none}

.main_404 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 35vh;
    margin-bottom: 300px;
}

.breadcrumbs.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.breadcrumbs-link {
    color: #666;
    text-decoration: none;
}

.breadcrumbs-link:hover {
    color: #333;
}

.container.page_content {
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.title_404 {
    font-size: 120px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px;
    line-height: 1;
}

.description_404 {
    font-size: 24px;
    color: #666;
    margin: 0 0 40px;
}

.btn_404 {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn_404:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    color: white;
}

.btn--primary_404 {
    background-color: #007bff;
}

.btn--primary_404:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .main_404 {
        min-height: 50vh;
        padding: 30px 0;
        margin: 60px 0;
    }
    
    .title_404 {
        font-size: 80px;
        margin: 0 0 15px;
    }
    
    .description_404 {
        font-size: 20px;
        margin: 0 0 30px;
    }
    
    .btn_404 {
        padding: 12px 25px;
        font-size: 16px;
    }
    
    .breadcrumbs.container,
    .container.page_content {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .main_404 {
        min-height: 40vh;
        padding: 20px 0;
        margin: 40px 0;
    }
    
    .title_404 {
        font-size: 60px;
    }
    
    .description_404 {
        font-size: 18px;
    }
    
    .btn_404 {
        padding: 10px 20px;
        font-size: 14px;
    }
}