
/* VOUDY_HERO_MOTION_V2 */
#main .hero {
  --hm-surface:#fbfbff;
  --hm-text:#202039;
  --hm-muted:#606478;
  --hm-line:rgba(127,94,220,.20);
  --hm-violet:rgba(151,98,247,.20);
  --hm-cyan:rgba(36,208,223,.13);
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(230px,.65fr);
  gap:12px 28px;
  align-items:center;
  min-height:270px;
  padding:36px 38px 66px;
  border:1px solid var(--hm-line);
  border-radius:28px;
  background:var(--hm-surface);
  color:var(--hm-text);
}
#main .hero > small,
#main .hero > h1,
#main .hero > p {
  position:relative;
  z-index:1;
  grid-column:1;
  min-width:0;
}
#main .hero > small {
  align-self:end;
  color:#7350c8;
  letter-spacing:.18em;
}
#main .hero > h1 {
  margin:0;
  font-size:clamp(30px,3.5vw,50px);
  line-height:1.12;
  letter-spacing:-.045em;
  color:var(--hm-text);
}
#main .hero > p {
  margin:10px 0 0;
  color:var(--hm-muted);
}
#main .hero::before {
  content:"";
  position:absolute;
  inset:-30%;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(ellipse at 78% 26%,var(--hm-violet),transparent 48%),
    radial-gradient(ellipse at 48% 78%,var(--hm-cyan),transparent 48%);
  animation:hm-aurora 18s ease-in-out infinite alternate;
}
#main .hero .aurora-sculpture {
  position:relative;
  inset:auto;
  grid-column:2;
  grid-row:1 / 4;
  justify-self:center;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(4px,.5vw,7px);
  width:min(100%,360px);
  height:210px;
  margin:0;
  opacity:1;
  transform:rotate(-10deg);
  pointer-events:none;
}
#main .hero .aurora-sculpture > i {
  display:block;
  flex:0 0 clamp(4px,.45vw,6px);
  width:auto;
  max-height:155px;
  border-radius:999px;
  background:linear-gradient(180deg,#b78aff,#7d79ed 43%,#30c9d6);
  transform-origin:center;
  animation:hm-bar 2.8s ease-in-out infinite;
}
#main .hero .aurora-sculpture > i:nth-child(6n+1){animation-delay:-2.3s}
#main .hero .aurora-sculpture > i:nth-child(6n+2){animation-delay:-1.85s}
#main .hero .aurora-sculpture > i:nth-child(6n+3){animation-delay:-1.4s}
#main .hero .aurora-sculpture > i:nth-child(6n+4){animation-delay:-.95s}
#main .hero .aurora-sculpture > i:nth-child(6n+5){animation-delay:-.5s}
#main .hero .aurora-sculpture > i:nth-child(6n){animation-delay:-.05s}
#main .hero .aurora-sculpture::before {
  content:"";
  position:absolute;
  inset:20px 55px;
  width:auto;
  height:auto;
  border:1px solid var(--hm-line);
  border-radius:50%;
  box-shadow:0 0 35px rgba(124,88,226,.10);
  animation:hm-orbit 32s linear infinite;
}
#main .hero .hm-toggle {
  position:absolute;
  right:16px;
  bottom:12px;
  z-index:2;
  min-height:44px;
  padding:8px 12px;
  border:1px solid var(--hm-line);
  border-radius:999px;
  background:var(--hm-surface);
  color:var(--hm-muted);
  font:inherit;
  font-size:12px;
  cursor:pointer;
}
#main .hero .hm-toggle:focus-visible {
  outline:3px solid #8257e6;
  outline-offset:3px;
}
html[data-theme="dark"] #main .hero {
  --hm-surface:#111425;
  --hm-text:#f2f1ff;
  --hm-muted:#b8bdd2;
  --hm-line:rgba(160,134,255,.25);
  --hm-violet:rgba(135,77,230,.24);
  --hm-cyan:rgba(29,195,210,.13);
}
html[data-theme="dark"] #main .hero > small {color:#bd9cff}
html[data-theme="dark"] #main .hero .aurora-sculpture > i {
  box-shadow:0 0 12px rgba(88,174,239,.15);
}
#main .hero.hm-paused::before,
#main .hero.hm-paused .aurora-sculpture::before,
#main .hero.hm-paused .aurora-sculpture > i {
  animation-play-state:paused;
}
@keyframes hm-bar {
  0%,100% {transform:scaleY(.68);opacity:.76}
  45% {transform:scaleY(1.08);opacity:1}
  75% {transform:scaleY(.85);opacity:.9}
}
@keyframes hm-aurora {
  from {transform:translate3d(-2%,-1%,0) scale(1)}
  to {transform:translate3d(3%,2%,0) scale(1.06)}
}
@keyframes hm-orbit {
  from {transform:rotate(0deg) scaleX(.88)}
  to {transform:rotate(360deg) scaleX(.88)}
}
@media(max-width:800px) {
  #main .hero {
    grid-template-columns:minmax(0,1fr);
    gap:12px;
    padding:26px 22px 66px;
    border-radius:22px;
  }
  #main .hero > h1 {font-size:clamp(29px,7.5vw,40px)}
  #main .hero .aurora-sculpture {
    grid-column:1;
    grid-row:4;
    width:min(100%,300px);
    height:155px;
    gap:4px;
  }
  #main .hero .aurora-sculpture > i {
    flex-basis:4px;
    max-height:120px;
  }
  #main .hero .aurora-sculpture::before {inset:12px 55px}
}
@media(prefers-reduced-motion:reduce) {
  #main .hero::before,
  #main .hero .aurora-sculpture::before,
  #main .hero .aurora-sculpture > i {animation:none!important}
  #main .hero .hm-toggle {display:none}
}
