.hero {
  z-index: 0;
  position: relative;
  height: 115vh;
}

.hero__sticky {
  width: 100%;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
}

.hero__frame {
  --frame-inset: 12px;
  --frame-radius: 12px;
  position: absolute;
  inset: var(--frame-inset);
  border-radius: var(--frame-radius);
  overflow: hidden;
  background: var(--bg);
  will-change: inset, border-radius;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding: 24px var(--container-pad);
  text-align: center;
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: var(--lh-tight);
}

.hero__caret {
  color: var(--accent);
  font-weight: 400;
  animation: caret-blink 1.1s steps(2, end) infinite;
  margin-right: 0.06em;
}

@keyframes caret-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero__subtitle {
  max-width: 620px;
  margin: 26px auto 0;
  font-size: var(--fs-lg);
  color: var(--text-2);
  line-height: var(--lh-relaxed);
  min-height: 2.2em;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: clamp(30px, 7vw, 76px);
  margin-top: 68px;
}

.hero__stat {
  text-align: center;
  position: relative;
}

.hero__stat + .hero__stat::before {
  content: '';
  position: absolute;
  left: calc(-1 * clamp(15px, 3.5vw, 38px));
  top: 50%;
  width: 1px;
  height: 34px;
  background: var(--border);
  transform: translateY(-50%);
}

.hero__stat dt {
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 1.3rem + 2vw, 2.6rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}

.hero__stat dd {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
