.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.hero-text {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-kicker {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.hero-mark {
  display: inline-flex;
  width: clamp(44px, 6vw, 52px);
  height: clamp(44px, 6vw, 52px);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(38px, 6.4vw, 68px);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.04;
  margin-bottom: 16px;
  font-synthesis: none;
}

.hero-text > h1 + .hero-demo {
  margin-top: 0;
}

.hero h1 .accent {
  color: var(--text-dim);
  display: block;
  font-weight: 500;
}

:root:lang(ru) .hero h1 {
  letter-spacing: -0.02em;
}

.hero-subhead {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
.hero-meta .pill { background: transparent; border-color: var(--border); }

:root:lang(ru) .hero-meta .pill {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-meta .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.hero-demo {
  width: 100%;
  max-width: 100%;
  margin: 0 0 clamp(28px, 4vw, 40px);
  align-self: stretch;
}

.hero-demo-frame {
  position: relative;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-elev-1) 0%, var(--bg-elev-2) 100%);
  overflow: hidden;
  min-height: 360px;
}

.hero-demo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

@media (max-width: 640px) {
  .hero {
    padding-top: 28px;
  }
  .hero-demo-frame { min-height: 320px; }
}
