/* Hero motion: quiet loops that keep the content readable. */
.hero-v2 .hero-light {
  animation: heroGridDrift 24s ease-in-out infinite alternate;
  will-change: background-position;
}
.hero-v2 h1 em {
  position: relative;
  isolation: isolate;
  box-shadow: none;
  white-space: nowrap;
}
.hero-v2 h1 em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: .035em;
  height: .105em;
  z-index: -1;
  background: linear-gradient(100deg,#9bc7ff 0%,#bfdfff 20%,#317bf1 38%,#b3d7ff 55%,#8bbdff 75%,#9bc7ff 100%);
  background-size: 260% 100%;
  animation: heroInkFlow 5.5s linear infinite;
}
.hero-v2 .hero-visual-clean::before {
  animation: heroBlueShape 9s ease-in-out infinite;
  transform-origin: center;
}
.hero-seal {
  position: absolute;
  z-index: 4;
  left: -55px;
  top: 91px;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  color: #175cdb;
  background: #f6faff;
  border: 1px solid #bad4f7;
  border-radius: 50%;
  box-shadow: 0 12px 34px #14468d26;
  pointer-events: none;
}
.hero-seal svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: heroSealSpin 22s linear infinite;
}
.hero-seal text {
  fill: currentColor;
  font: 700 9.3px 'DM Sans', sans-serif;
  letter-spacing: 1.9px;
}
.hero-seal-mark {
  position: absolute;
  font: 400 33px/1 'DM Sans', sans-serif;
  transform: rotate(-12deg);
}
@keyframes heroGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 42px 20px, 42px 20px; }
}
@keyframes heroInkFlow {
  to { background-position: 260% 0; }
}
@keyframes heroBlueShape {
  0%,100% { transform: rotate(-2deg) translate(0,0); }
  50% { transform: rotate(-.5deg) translate(6px,-8px); }
}
@keyframes heroSealSpin { to { transform: rotate(360deg); } }
@media (max-width: 1100px) {
  .hero-seal { left: -26px; top: 94px; width: 94px; height: 94px; }
}
@media (max-width: 760px) {
  .hero-seal { left: -3px; top: -23px; width: 88px; height: 88px; }
  .hero-seal text { font-size: 9.6px; }
  .hero-seal-mark { font-size: 27px; }
  .hero-v2 .hero-visual-clean::before { animation-name: heroBlueShapeMobile; }
  @keyframes heroBlueShapeMobile {
    0%,100% { transform: rotate(2deg) translate(0,0); }
    50% { transform: rotate(3deg) translate(3px,-5px); }
  }
}
@media (max-width: 520px) {
  .hero-seal { top: -19px; left: -8px; width: 78px; height: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-v2 .hero-light,
  .hero-v2 h1 em::after,
  .hero-v2 .hero-visual-clean::before,
  .hero-seal svg { animation: none; }
}
