/* Defensor v14 — inlined at build + served as /assets/main.css */
:root {
  --bg: #0a0e16;
  --surface: #121a28;
  --surface2: #1a2438;
  --border: #2a3a55;
  --text: #f1f5f9;
  --muted: #9fb0c8;
  --accent: #3b82f6;
  --accent2: #6366f1;
  --glow: rgba(59, 130, 246, 0.45);
  --glow-soft: rgba(59, 130, 246, 0.12);
  --radius: 16px;
  --max: 1100px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: Consolas, "Cascadia Code", monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}

body::after {
  content: "";
  position: fixed;
  width: 720px;
  height: 720px;
  top: -280px;
  right: -180px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.14), transparent 68%);
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}

body > * { position: relative; z-index: 1; }

a { color: #7cb4ff; text-decoration: none; }
a:hover { color: #a8d0ff; }

img { max-width: 100%; height: auto; display: block; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 22, 0.88);
  border-bottom: 1px solid rgba(59, 130, 246, 0.18);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 28px rgba(59, 130, 246, 0.1), 0 1px 0 rgba(147, 197, 253, 0.06);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.55);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(59, 130, 246, 0.18);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.12);
}

.nav-links .btn-nav {
  margin-left: 8px;
  padding: 9px 18px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff !important;
  border-radius: 9px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45), 0 0 32px rgba(59, 130, 246, 0.15);
}

.nav-links .btn-nav:hover { filter: brightness(1.1); color: #fff !important; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  position: relative;
  z-index: 110;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  line-height: 1.2;
}

.lang-btn:hover { border-color: #4a6080; }

.lang-flag { font-size: 18px; line-height: 1; }

.lang-labels {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  text-align: left;
}

.lang-native { font-weight: 600; font-size: 13px; }

.lang-en {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}

.lang-caret {
  font-size: 10px;
  color: var(--muted);
  margin-left: 2px;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 280px;
  max-width: min(320px, 92vw);
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #121824;
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 32px rgba(59, 130, 246, 0.1);
}

.lang-search {
  width: 100%;
  padding: 8px 12px;
  margin-bottom: 6px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  outline: none;
}

.lang-search:focus {
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.lang-search-empty {
  font-size: 12px;
  color: var(--muted);
  padding: 8px 10px;
  margin: 0;
}

.lang-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
}

.lang-menu-list li { margin: 0; }

.lang-menu-list li[hidden] { display: none; }

.lang-menu li { margin: 0; }

.lang-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: none;
  border-radius: 7px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.lang-menu button:hover,
.lang-menu li.active button {
  background: rgba(59, 130, 246, 0.15);
}

.cmd-ref-note {
  color: var(--muted);
  font-size: 14px;
  margin: -8px 0 20px;
  line-height: 1.5;
}

.burger {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 20px;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.5), 0 0 40px rgba(59, 130, 246, 0.12);
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.08);
  box-shadow: 0 6px 32px rgba(37, 99, 235, 0.6), 0 0 52px rgba(59, 130, 246, 0.22);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover { color: var(--text); border-color: #4a6080; }

.btn-lg { padding: 14px 28px; font-size: 16px; }

/* HERO */
.hero {
  position: relative;
  padding: 72px 0 80px;
  background:
    radial-gradient(ellipse 80% 60% at 15% -10%, rgba(59, 130, 246, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(99, 102, 241, 0.14), transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.08) 1px, transparent 0);
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-visual {
  position: relative;
}

.hero-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 20px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: #93c5fd;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #93c5fd, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-pills span {
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 13px;
  color: var(--muted);
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hero-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #93c5fd, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat span {
  font-size: 13px;
  color: var(--muted);
}

.hero-card {
  position: relative;
  background: linear-gradient(160deg, rgba(20, 27, 40, 0.95), rgba(28, 37, 54, 0.85));
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.hero-card .ico-hero {
  margin: 0 auto 16px;
  filter: drop-shadow(0 12px 32px rgba(59, 130, 246, 0.4));
}

.hero-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-card p {
  color: var(--muted);
  font-size: 14px;
}

/* SECTIONS */
.section {
  padding: 64px 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(14, 20, 32, 0.85) 100%);
  border-top: 1px solid rgba(59, 130, 246, 0.12);
  border-bottom: 1px solid rgba(59, 130, 246, 0.12);
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-label {
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 12px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

.section-foot {
  text-align: center;
  margin-top: 36px;
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.step-card:hover {
  border-color: rgba(96, 165, 250, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.18), 0 0 0 1px rgba(96, 165, 250, 0.15);
}

.section-alt .step-card {
  background: var(--surface2);
}

.step-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #6366f1);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.feature:hover {
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.15), 0 0 24px rgba(59, 130, 246, 0.08);
}

.section-alt .feature {
  background: var(--bg);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

/* SVG ICONS */
.ico-svg {
  display: block;
  flex-shrink: 0;
}

.ico-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid transparent;
}

.ico-wrap.ico-sm {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  margin-bottom: 0;
}

.ico-blue  { background: rgba(59, 130, 246, 0.14); border-color: rgba(59, 130, 246, 0.32); box-shadow: 0 0 20px rgba(59, 130, 246, 0.1); }
.ico-violet { background: rgba(99, 102, 241, 0.14); border-color: rgba(99, 102, 241, 0.32); box-shadow: 0 0 20px rgba(99, 102, 241, 0.1); }
.ico-cyan  { background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.22); }
.ico-green { background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.22); }
.ico-red   { background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.22); }
.ico-gold  { background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.22); }
.ico-pink  { background: rgba(244, 114, 182, 0.1); border-color: rgba(244, 114, 182, 0.22); }

.feature h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* USE CASES */
.use-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.use-item {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color 0.2s;
}

.use-item:hover {
  border-color: rgba(96, 165, 250, 0.3);
}

.use-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.use-head h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 0;
}

.use-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.use-item p {
  color: var(--muted);
  font-size: 14px;
}

/* FAQ */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-item p {
  padding: 16px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* CTA */
.cta {
  padding: 56px 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(99, 102, 241, 0.1));
  border-top: 1px solid var(--border);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(20, 27, 40, 0.95), rgba(28, 37, 54, 0.9));
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 48px rgba(59, 130, 246, 0.1);
}

.cta-text {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-box h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.cta-box p {
  color: var(--muted);
  font-size: 15px;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

/* BETA PRICING */
.beta-section {
  padding-top: 0;
}

.beta-box {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 0 48px rgba(251, 191, 36, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.beta-label {
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.35);
  color: #fcd34d;
}

.beta-head h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 12px 0 10px;
  letter-spacing: -0.02em;
}

.beta-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 640px;
  line-height: 1.6;
}

.beta-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  margin-top: 28px;
  align-items: start;
}

.beta-price-stars {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fcd34d, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.beta-price-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.beta-price-rub {
  color: #93c5fd;
  font-weight: 600;
}

.beta-price-rate {
  font-size: 13px;
  opacity: 0.85;
}

.beta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.beta-rules h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.beta-rules-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.beta-rules-list li {
  padding: 12px 14px;
  margin-bottom: 8px;
  background: rgba(10, 14, 22, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 10px;
}

.beta-rules-list li strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 4px;
}

.beta-rules-list li span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.beta-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  padding: 12px 14px;
  background: rgba(59, 130, 246, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* INNER PAGES */
.page-hero {
  padding: 48px 0 40px;
  background:
    radial-gradient(ellipse 70% 80% at 15% 0%, rgba(59, 130, 246, 0.2), transparent 55%),
    radial-gradient(ellipse 50% 60% at 95% 30%, rgba(99, 102, 241, 0.12), transparent 50%),
    var(--surface);
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.page-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--muted);
  font-size: 16px;
  max-width: 560px;
}

.page-hero .back {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.page-body {
  padding: 40px 0 64px;
}

.cmd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.cmd-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--text);
  min-height: 140px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.cmd-card:hover {
  color: var(--text);
  border-color: rgba(96, 165, 250, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(37, 99, 235, 0.2), 0 0 32px rgba(59, 130, 246, 0.1);
}

.cmd-card .ico-wrap {
  margin-bottom: 12px;
}

.cmd-card .title {
  font-weight: 700;
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
}

.cmd-card .desc {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}

.tip {
  padding: 14px 18px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.tip b { color: var(--text); }

code, .code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: rgba(26, 36, 56, 0.9);
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: #c5daf0;
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.1);
}

.codeblock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 12px 0;
  font-family: var(--mono);
  font-size: 13px;
  color: #a8bdd4;
  white-space: pre-wrap;
  line-height: 1.55;
}

.prose h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.prose h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.prose h3 { font-size: 15px; font-weight: 600; margin: 18px 0 6px; }
.prose p, .prose li { color: var(--muted); line-height: 1.65; }
.prose li strong, .prose p strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 20px; margin: 8px 0 12px; }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.tabs a {
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 13px;
  color: var(--muted);
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.tabs a:hover {
  color: var(--text);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th { background: var(--surface2); color: var(--text); font-weight: 600; }
td { color: var(--muted); }
tr:last-child td { border-bottom: none; }

.steps-list {
  list-style: none;
  counter-reset: step;
}

.steps-list li {
  counter-increment: step;
  position: relative;
  padding: 18px 18px 18px 56px;
  margin-bottom: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 18px;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #2563eb, #6366f1);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps-list li b { color: var(--text); }

.steps-list li.step-highlight {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(99, 102, 241, 0.08));
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 0 36px rgba(59, 130, 246, 0.14), inset 0 1px 0 rgba(147, 197, 253, 0.08);
}

.steps-list li.step-highlight::before {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.55);
}

.content-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 16px;
}

.content-block h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 0;
}

.block-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

/* ── COMMANDS DOCS ── */
.cmd-search-wrap {
  position: relative;
  margin-bottom: 28px;
}

.cmd-search {
  width: 100%;
  padding: 14px 18px 14px 44px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cmd-search:focus {
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.cmd-search-wrap::before {
  content: "⌕";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 18px;
  pointer-events: none;
}

.cmd-search-count {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.cmd-search-empty {
  text-align: center;
  color: var(--muted);
  padding: 24px;
  font-size: 14px;
}

.cmd-search-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.cmd-search-hit {
  display: block;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  transition: border-color 0.2s, transform 0.15s;
}

.cmd-search-hit:hover {
  color: var(--text);
  border-color: rgba(96, 165, 250, 0.35);
  transform: translateX(4px);
}

.cmd-search-hit-cmd {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: #93c5fd;
  margin-bottom: 4px;
}

.cmd-search-hit-desc {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

.cmd-search-hit-meta {
  display: block;
  font-size: 12px;
  color: #64748b;
}

.cmd-docs {
  max-width: 920px;
}

.cmd-intro {
  margin-bottom: 28px;
}

.cmd-section {
  margin-bottom: 36px;
  scroll-margin-top: 80px;
}

.cmd-section-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  letter-spacing: -0.02em;
  color: #e2e8f0;
  text-shadow: 0 0 24px rgba(59, 130, 246, 0.12);
}

.cmd-subtitle {
  font-size: 16px;
  font-weight: 700;
  margin: 16px 0 8px;
  color: var(--text);
}

.cmd-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.cmd-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.cmd-item:hover {
  border-color: rgba(96, 165, 250, 0.38);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.14), 0 0 20px rgba(59, 130, 246, 0.08);
}

.cmd-item.cmd-hidden,
.cmd-section.cmd-hidden {
  display: none;
}

.cmd-item-cmd {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.cmd-item-cmd .code {
  font-size: 13px;
}

.cmd-item-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.cmd-item-aliases {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.cmd-aliases-tag {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-right: 4px;
  vertical-align: middle;
}

.cmd-aliases-ru .cmd-aliases-tag {
  background: rgba(251, 191, 36, 0.15);
  color: #fcd34d;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.cmd-aliases-en .cmd-aliases-tag {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.cmd-codes-ru {
  display: block;
  margin-top: 6px;
}

.cmd-item-cmd .cmd-codes-en + .cmd-codes-ru {
  margin-top: 6px;
}

.cmd-callout {
  padding: 14px 18px;
  margin: 12px 0 16px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.cmd-callout strong,
.cmd-callout b {
  color: var(--text);
}

.cmd-table-wrap {
  overflow-x: auto;
  margin: 12px 0 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.cmd-table {
  margin: 0;
  border: none;
}

.cmd-help {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.cmd-help-title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
}

.cmd-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cmd-help-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}

.cmd-help-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #93c5fd;
}

.cmd-help-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.cmd-label {
  font-weight: 600;
  color: var(--text);
}

/* way badges */
.cmd-way {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cmd-way-panel {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.cmd-way-cmd {
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.cmd-way-ui {
  background: rgba(52, 211, 153, 0.12);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.cmd-item--panel {
  border-color: rgba(99, 102, 241, 0.2);
}

.cmd-item--ui {
  border-color: rgba(52, 211, 153, 0.2);
}

.cmd-banner {
  margin-bottom: 28px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.32);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 0 44px rgba(99, 102, 241, 0.12), inset 0 1px 0 rgba(147, 197, 253, 0.1);
  position: relative;
  overflow: hidden;
}

.cmd-banner::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 25% 50%, rgba(59, 130, 246, 0.12), transparent 45%);
  pointer-events: none;
}

.cmd-banner-inner { position: relative; z-index: 1; }

.cmd-banner-inner h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.cmd-banner-inner > p,
.cmd-banner-text p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.cmd-banner-ways {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cmd-banner-way {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.cmd-help-accent {
  border-color: rgba(99, 102, 241, 0.42);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(59, 130, 246, 0.08));
  box-shadow: 0 0 32px rgba(99, 102, 241, 0.1), inset 0 1px 0 rgba(147, 197, 253, 0.06);
}

.cmd-help-accent h3 {
  color: #a5b4fc;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.footer a { color: var(--muted); }
.footer a:hover { color: #7cb4ff; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; max-width: 380px; margin: 0 auto; }
  .steps, .features, .cmd-grid { grid-template-columns: 1fr 1fr; }
  .cmd-cards, .cmd-help-grid { grid-template-columns: 1fr; }
  .use-grid { grid-template-columns: 1fr; }
  .beta-grid { grid-template-columns: 1fr; }
  .cta-btns { width: 100%; justify-content: center; }
  .cta-text { flex-direction: column; }
  .hero h1 { font-size: 34px; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 600px) {
  .steps, .features, .cmd-grid, .cmd-cards { grid-template-columns: 1fr; }
  .burger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px;
  }
  .nav-links.open { display: flex; }
  .nav .wrap { position: relative; }
  .nav-links .btn-nav { margin-left: 0; width: 100%; text-align: center; }
  .lang-en { display: none; }
  .lang-btn { padding: 6px 8px; }
}
