/* v0.12 motion — UI без пружинного отскока; сюжетные сцены как были */
.hero{position:relative}
.hero-atmosphere{position:absolute;inset:-6% -4% auto;height:115%;z-index:0;pointer-events:none;overflow:hidden}
.hero-atmosphere__glow{
  position:absolute;inset:-8%;
  background:
    radial-gradient(ellipse 50% 46% at 30% 38%, rgba(16,132,254,.09), transparent 68%),
    radial-gradient(ellipse 42% 40% at 70% 58%, rgba(10,10,10,.04), transparent 70%);
  animation:hero-breathe 14s ease-in-out infinite alternate;
}
.hero-atmosphere__grid{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:.55}
.hero__content,.hero-visual{position:relative;z-index:1}
@keyframes hero-breathe{
  from{transform:scale(1);opacity:.75}
  to{transform:scale(1.04);opacity:1}
}

[data-count-up],.stat__num{font-variant-numeric:tabular-nums}

/* case cards: short lift, thin blue edge, arrow — once on hover, no spinning beam */
.card-case{
  position:relative;overflow:visible;
  transition:transform .22s var(--ease-enter, cubic-bezier(.2,0,0,1)), box-shadow .22s var(--ease-enter, cubic-bezier(.2,0,0,1));
}
.card-case:hover{
  transform:translateY(-3px);
  box-shadow:0 0 0 1.75px var(--site-ink), 0 10px 24px rgba(10,10,10,.06);
}
.card-case__arrow{
  position:absolute;top:12px;right:12px;z-index:3;width:24px;height:24px;
  display:flex;align-items:center;justify-content:center;
  color:var(--site-ink);opacity:0;transform:translate(-3px,3px);
  transition:opacity .22s var(--ease-enter, cubic-bezier(.2,0,0,1)), transform .22s var(--ease-enter, cubic-bezier(.2,0,0,1));
  pointer-events:none;
}
.card-case__arrow svg{stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.card-case:hover .card-case__arrow{opacity:1;transform:translate(0,0)}

/* group bots: stay 56×56, soft rise, no tilt */
.card-group .card-group__bot .bot-static,
.card-group .card-group__bot .bot-live,
.card-group .card-group__bot .grok-bot,
.card-group .card-group__bot svg{
  transform-origin:center center;
  transition:transform .22s var(--ease-enter, cubic-bezier(.2,0,0,1));
}
.card-group:hover .card-group__bot .bot-static,
.card-group:hover .card-group__bot .bot-live,
.card-group:hover .card-group__bot .grok-bot,
.card-group:hover .card-group__bot svg{
  transform:translateY(-2px);
}

/* buttons: quiet glow, press without overshoot */
.btn{transition:transform .3s var(--ease-press, cubic-bezier(.5,0,.25,1)), box-shadow .3s var(--ease-press, cubic-bezier(.5,0,.25,1)), background-color .2s ease, color .2s ease}
.btn:hover{box-shadow:0 0 0 1px rgba(16,132,254,.22), 0 0 12px rgba(16,132,254,.16)}
.btn:active{transform:scale(.98);transition-duration:.1s}
.btn-icon:active{transform:scale(.90)}

/* reading progress — thin, quiet, track always visible */
.read-progress{position:fixed;top:0;left:0;right:0;height:2px;z-index:80;pointer-events:none}
.read-progress svg{display:block;width:100%;height:2px}
.read-progress__track{fill:rgba(16,132,254,.12)}
.read-progress__bar{fill:rgba(16,132,254,.75)}

.empty-copy{margin:0;color:var(--site-muted);font:400 var(--fs-lead,18px)/1.55 var(--font-text);max-width:36em}
.lead-magnet__note{margin:12px 0 0;color:var(--site-muted);font:400 14px/1.45 var(--font-text)}

/* scenes: 24-high icons, stroke 1.75, default = completed */
.scene{display:inline-flex;align-items:center;flex:none;pointer-events:auto;line-height:0;color:var(--site-ink)}
.scene svg{display:block}
.section-head__row .scene{margin-inline-start:10px}
.on-dark .scene,.site-cta .scene,.site-footer .scene{color:var(--site-on-dark, #F5F5F5)}

.scene-plane{margin:0 8px 0 0}
.scene-plane__craft{stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;fill:none}
.scene-plane.is-playing .scene-plane__craft{animation:plane-in .5s var(--motion-out, cubic-bezier(.16,1,.3,1)) both}
@keyframes plane-in{from{transform:translateX(-10px);opacity:0}to{transform:none;opacity:1}}

.scene-gears__g{stroke:currentColor;stroke-width:1.75;fill:none;stroke-linecap:round;stroke-linejoin:round}
.scene-gears__hub{stroke:currentColor;fill:none}
.scene-gears__spin{transform-origin:0 0}
.scene-gears.is-playing .scene-gears__spin--a{animation:gear-once .6s cubic-bezier(.16,1,.3,1) both}
.scene-gears.is-playing .scene-gears__spin--b{animation:gear-once-ccw .6s cubic-bezier(.16,1,.3,1) both}
.scene-gears__spark{fill:none;stroke:var(--site-blue);stroke-width:1.75;stroke-linecap:round}
.scene-gears.is-playing .scene-gears__spark{animation:spark-once .6s ease-out both}
@keyframes gear-once{from{transform:rotate(0)}to{transform:rotate(70deg)}}
@keyframes gear-once-ccw{from{transform:rotate(0)}to{transform:rotate(-80deg)}}
@keyframes spark-once{0%{opacity:0}40%{opacity:1}100%{opacity:.85}}

.scene-check__box,.scene-check__line,.scene-check__pencil{stroke:currentColor;stroke-width:1.75;fill:none;stroke-linecap:round;stroke-linejoin:round}
.scene-check__mark{stroke:var(--site-blue);stroke-width:1.75;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:0}
.scene-check__line{stroke-dasharray:1;stroke-dashoffset:0}
.scene-check.is-playing .scene-check__mark{animation:draw-on .45s ease-out both}
.scene-check.is-playing .scene-check__line{animation:draw-on .4s ease-out .25s both}
.scene-check.is-playing .scene-check__pencil{animation:pencil-once .55s var(--motion-spring) both}
@keyframes draw-on{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes pencil-once{
  0%{transform:translate(4px,-4px)}
  100%{transform:translate(0,0)}
}

.scene-type__page{stroke:currentColor;stroke-width:1.75;fill:none}
.scene-type__line{stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:0}
.scene-type__cursor{stroke:none;fill:var(--site-blue)}
.scene-type.is-playing .scene-type__line{animation:draw-on .5s ease-out both}
.scene-type.is-playing .scene-type__line--2{animation-delay:.12s}
.scene-type.is-playing .scene-type__line--3{animation-delay:.24s}
.scene-type.is-playing .scene-type__cursor{animation:caret-twice 1.2s steps(1) both}
@keyframes caret-twice{0%,20%,50%,70%{opacity:1}20.01%,49.99%,70.01%,100%{opacity:0}}

.scene-sign__path{stroke:var(--site-blue);stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;fill:none;stroke-dasharray:1;stroke-dashoffset:0}
.scene-sign.is-playing .scene-sign__path{animation:draw-on .6s ease-out both}

.scene-time{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-top:20px;line-height:1.3}
.scene-time__glass,.scene-time__rims{stroke:currentColor;stroke-width:1.75;fill:none;stroke-linecap:round;stroke-linejoin:round}
.scene-time__sand{stroke:var(--site-blue);stroke-width:1.75;stroke-linecap:round;fill:none}
.scene-time.is-playing .scene-time__sand{animation:sand-once 1.2s ease-in-out both}
@keyframes sand-once{
  0%{stroke-dasharray:2 20;stroke-dashoffset:8}
  100%{stroke-dasharray:6 4;stroke-dashoffset:0}
}
.scene-time__caption{margin:0;font:600 13px/1.3 var(--font-text);color:var(--site-muted)}
.scene-time__value{margin:0;font:700 16px/1.3 var(--font-display);color:inherit}

@media (prefers-reduced-motion:reduce){
  .hero-atmosphere__glow,
  .scene-plane__craft,
  .scene-gears__spin--a,
  .scene-gears__spin--b,
  .scene-gears__spark,
  .scene-check__mark,
  .scene-check__line,
  .scene-check__pencil,
  .scene-type__line,
  .scene-type__cursor,
  .scene-sign__path,
  .scene-time__sand,
  .card-case,
  .card-case__arrow,
  .btn,
  .card-group .card-group__bot .bot-static,
  .card-group .card-group__bot .bot-live,
  .card-group .card-group__bot .grok-bot,
  .card-group .card-group__bot svg{
    animation:none !important;transition:none !important;
  }
  .hero-atmosphere__glow{opacity:1;transform:none}
  .scene-check__mark,.scene-check__line,.scene-sign__path,.scene-type__line{stroke-dashoffset:0}
  .card-case:hover{transform:none}
  .card-group:hover .card-group__bot .bot-static,
  .card-group:hover .card-group__bot .bot-live,
  .card-group:hover .card-group__bot .grok-bot,
  .card-group:hover .card-group__bot svg{transform:none}
  .btn:active{transform:none}
  .card-case__arrow{opacity:1;transform:none}
}

/* v0.16: эффекты палитры Пина (пятна, наклон, искры) сняты */
