/* ============================================================
   BitStat — перший екран, спліт
   Текст ліворуч, продукт праворуч. Обидва потрапляють у видиму
   частину екрана без зменшення заголовка.
   ============================================================ */

[data-site-refresh-content] .hero.hero--split2 {
  position: relative;
  min-height: 0;
  display: block;
  padding: calc(var(--nav-height) + var(--sp-16)) 0 var(--sp-8);
  overflow: hidden;
}

[data-site-refresh-content] .hero--split2 .hero-glow {
  position: absolute;
  top: -140px; left: 62%;
  transform: translateX(-50%);
  width: 720px; height: 460px;
  background: radial-gradient(ellipse, var(--green-bg), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

[data-site-refresh-content] .hero--split2 .hero-split-inner {
  position: relative;
  z-index: 1;
  /* Зі старих стилів сюди приходив min-height у висоту екрана —
     через нього блок роздувався до 1657px при 421px контенту. */
  min-height: 0;
  /* На широких моніторах 1120px губиться, тому герой ширший за решту сторінки */
  max-width: min(1360px, 92vw);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
  gap: var(--sp-14);
  align-items: center;
}

/* Зі старих стилів .hero-left приходить як flex-колонка з
   align-items:flex-start — через це дочірні блоки стискаються
   до вмісту, і кнопки перескакували у стовпчик. */
[data-site-refresh-content] .hero--split2 .hero-left {
  display: block;
  padding: 0;      /* зі старих стилів приходило 60px 40px 60px 64px */
}

/* --- ліва колонка --- */
[data-site-refresh-content] .hero--split2 .hero-left h1 {
  margin: 0;
  font-size: clamp(40px, 3.4vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--text-primary);
}

[data-site-refresh-content] .hero--split2 .hero-description {
  margin: var(--sp-4) 0 0;
  max-width: 520px;
  font-size: var(--fs-17);
  line-height: 1.6;
  color: var(--text-secondary);
}

[data-site-refresh-content] .hero--split2 .hero-buttons {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-7);
  flex-wrap: wrap;
  width: 100%;
  max-width: none;
}

/* --- права колонка --- */
[data-site-refresh-content] .hero--split2 .hero-right { position: relative; }

[data-site-refresh-content] .hero--split2 .hero-screenshot-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-16);
  overflow: hidden;
  background: var(--surface-raised);
  box-shadow: 0 1px 0 0 rgba(255,255,255,.05) inset,
              0 30px 70px rgba(0,0,0,.6);
}

[data-site-refresh-content] .hero--split2 .hero-screenshot-frame picture,
[data-site-refresh-content] .hero--split2 .hero-screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;            /* у розмітці стоїть height="2680" */
}

@media (max-width: 1100px) {
  [data-site-refresh-content] .hero--split2 .hero-split-inner { gap: var(--sp-8); }
  [data-site-refresh-content] .hero--split2 .hero-left h1 { font-size: var(--fs-40); }
}

@media (max-width: 900px) {
  [data-site-refresh-content] .hero.hero--split2 { padding-top: calc(var(--nav-height) + var(--sp-10)); }
  [data-site-refresh-content] .hero--split2 .hero-split-inner { grid-template-columns: 1fr; gap: var(--sp-10); }
  [data-site-refresh-content] .hero--split2 .hero-left h1 { font-size: var(--fs-40); }
  [data-site-refresh-content] .hero--split2 .hero-description { max-width: none; }
  [data-site-refresh-content] .hero--split2 .hero-glow { left: 50%; width: 100%; }
}

@media (max-width: 600px) {
  [data-site-refresh-content] .hero--split2 .hero-left h1 { font-size: var(--fs-32); }
}
