:root {
  --bg: #0e1621;
  --bg-2: #111b26;
  --panel: #17212b;
  --panel-2: #1c2733;
  --line: #242f3d;
  --line-2: #2b3a4a;
  --text: #f5f7fa;
  --muted: #8b9aab;
  --blue: #2aabee;
  --blue-2: #64c2f5;
  --blue-deep: #1e96d1;
  --brand: #2d5bff;
  --max: 1080px;
  --r: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-weight: 750; letter-spacing: -.03em; line-height: 1.12; }
p { color: var(--muted); }

.tgs {
  display: inline-block;
  width: 48px;
  height: 48px;
  vertical-align: middle;
  overflow: hidden;
  flex: 0 0 auto;
}
.tgs svg, .tgs canvas { width: 100% !important; height: 100% !important; display: block; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 18px; min-width: 0; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 10px; object-fit: cover;
  background: transparent; overflow: hidden;
}
.desktop-nav { display: flex; gap: 18px; flex: 1; min-width: 0; }
.desktop-nav a { font-size: 14px; color: var(--muted); white-space: nowrap; }
.desktop-nav a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-telegram, .btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 16px; border-radius: 10px;
  font-size: 14px; font-weight: 650; white-space: nowrap;
}
.nav-telegram, .btn-primary { background: var(--blue); color: #fff; }
.nav-telegram:hover, .btn-primary:hover { background: var(--blue-deep); }
.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-2); }
.lang-switch {
  display: inline-flex; align-items: center;
  height: 38px; padding: 3px; gap: 2px;
  border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--panel);
}
.lang-switch button {
  min-width: 34px; height: 30px; padding: 0 9px;
  border-radius: 8px; font-size: 12px; font-weight: 700;
  color: var(--muted); line-height: 1;
}
.lang-switch button.is-on {
  background: var(--blue); color: #fff;
}
.menu-toggle {
  display: none; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line-2); position: relative;
}
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--text); border-radius: 2px;
}
.menu-toggle span:nth-child(1) { top: 12px; }
.menu-toggle span:nth-child(2) { top: 18px; }
.menu-toggle span:nth-child(3) { top: 24px; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }

main { max-width: var(--max); margin: 0 auto; padding: 0 20px 80px; }

.hero {
  display: block;
  max-width: 640px;
  padding: 48px 0 36px;
}
.kicker {
  font-size: 13px; font-weight: 650; color: var(--blue-2);
  letter-spacing: .02em; margin-bottom: 10px;
}
.hero h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 16px; }
.lead { font-size: 17px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 20px; }
.hero-facts { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hero-facts li { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; }

.pack-sheet {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}
.pack-head, .pack-card-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.pack-head b, .pack-card-head b { display: block; font-size: 14px; }
.pack-head small, .pack-card-head small { color: var(--muted); font-size: 12px; }
.pack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.pack-grid.dense { grid-template-columns: repeat(4, 1fr); }
.pack-cell {
  aspect-ratio: 1;
  display: grid; place-items: center;
  background: var(--bg);
  border-radius: 12px;
}
.pack-cell .tgs { width: 72%; height: 72%; }
.brand-row {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 12px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 8px 0 64px;
}
.facts article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 16px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.facts b { font-size: 22px; letter-spacing: -.03em; }
.facts span:last-child { color: var(--muted); font-size: 13px; }

.block-head { margin-bottom: 28px; max-width: 52ch; }
.block-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 4px 0 10px; }

.how { margin-bottom: 72px; }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.steps li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px 24px;
}
.steps em {
  display: block; margin: 8px 0 10px;
  font-style: normal; font-size: 12px; font-weight: 700;
  color: var(--blue-2); letter-spacing: .08em;
}
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { font-size: 14.5px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 72px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px 28px;
}
.panel-icon { margin-bottom: 8px; }
.panel h2 { font-size: 28px; margin: 4px 0 12px; }
.ticks { list-style: none; margin: 18px 0 20px; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; }
.text-link { color: var(--blue-2); font-weight: 650; font-size: 14.5px; }
.text-link:hover { color: #fff; }

.price {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 72px;
}
.price h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 4px 0 12px; }
.price .btn { margin-top: 18px; }
.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px;
}
.price-card > span { color: var(--muted); font-size: 13px; }
.price-card strong { display: block; font-size: 56px; letter-spacing: -.04em; line-height: 1.05; margin: 4px 0; }
.price-card small { color: var(--muted); }
.price-card ul { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 8px; color: var(--text); font-size: 14.5px; }
.price-card li::before { content: "– "; color: var(--muted); }

.compare { margin-bottom: 72px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { color: var(--muted); font-weight: 650; font-size: 13px; }
tbody th { color: var(--muted); font-weight: 650; width: 18%; }
tbody td:last-child { color: var(--text); font-weight: 650; }
tr:last-child th, tr:last-child td { border-bottom: 0; }

.packs { margin-bottom: 72px; }
.pack-cards { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; }
.pack-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  transition: border-color .15s;
}
.pack-card:hover { border-color: var(--blue); }
.pack-add {
  display: inline-block; margin-top: 12px;
  color: var(--blue-2); font-size: 13.5px; font-weight: 650;
}

.faq { margin-bottom: 72px; max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%; display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 0; text-align: left; font-size: 16px; font-weight: 650;
}
.faq-item i { color: var(--muted); font-style: normal; font-weight: 400; }
.faq-answer { display: none; padding: 0 0 16px; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open i { transform: rotate(45deg); }

.final {
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 24px;
}
.final h2 { font-size: 28px; margin: 8px 0 8px; }
.final p { margin-bottom: 18px; }
.final .btn { min-width: 180px; }

.site-footer {
  max-width: var(--max); margin: 0 auto;
  padding: 28px 20px 40px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-top p { flex: 1; }
.footer-tg { color: var(--blue-2); font-weight: 650; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px;
}
.footer-bottom a { margin-left: 14px; }
.footer-bottom a:hover { color: var(--text); }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .nav-telegram { display: none; }
  .nav-shell { gap: 12px; padding: 10px 16px; }
  .mobile-nav.open {
    display: flex; flex-direction: column; gap: 4px;
    padding: 8px 20px 16px;
    border-top: 1px solid var(--line);
  }
  .mobile-nav a { padding: 10px 0; color: var(--text); }
  .hero, .split, .price, .pack-cards, .facts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 28px 0 24px; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .hero-actions .btn { width: auto; }
  .price-card strong { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
