/* A focused first impression: MJX's promise and a living, readable process. */
@media (min-width: 901px) {
  .hero-copy { justify-content: flex-start; padding-top: clamp(5rem, 9vh, 7rem); }
}
.hero-copy { isolation: isolate; }
.hero-copy > * { position: relative; z-index: 1; }
.hero-copy::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: -18%; top: -25%; width: min(85%, 880px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 50%, rgba(105, 212, 203, .18), rgba(105, 212, 203, .07) 26%, transparent 62%);
  opacity: .6; animation: hero-ambient 12s ease-in-out infinite alternate;
}
@keyframes hero-ambient { to { transform: translate(-8%, 7%) scale(1.1); opacity: .95; } }
.hero-copy .eyebrow { width: fit-content; }
.hero-copy .eyebrow::after {
  content: ""; display: block; margin-top: .9rem; width: min(100%, 210px); height: 2px;
  background: linear-gradient(90deg, var(--teal), #abefe6, transparent);
  transform-origin: left; animation: hero-rule-in 1.2s ease-out both;
}
@keyframes hero-rule-in { from { transform: scaleX(.05); opacity: .1; } to { transform: scaleX(1); opacity: 1; } }
.hero h1 em {
  color: var(--teal);
  background: linear-gradient(105deg, var(--teal) 0 38%, #25b3aa 48%, var(--teal) 59% 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero-word-light 6s ease-in-out infinite;
}
@keyframes hero-word-light { 0%,20% { background-position: 100% 0; } 55%,100% { background-position: 0 0; } }
.hero-promise { border-left: 3px solid var(--aqua); padding-left: .85rem; }
.hero-actions .button.primary {
  box-shadow: 0 0 0 0 rgba(36, 180, 169, .25);
  animation: hero-invite 4.8s ease-in-out infinite;
}
@keyframes hero-invite { 0%,100% { box-shadow: 0 0 0 0 rgba(36,180,169,0); } 45% { box-shadow: 0 0 0 8px rgba(36,180,169,.12); } 65% { box-shadow: 0 0 0 15px rgba(36,180,169,0); } }
.hero-panel { position: relative; isolation: isolate; overflow: hidden; }
.hero-panel::before {
  content: ""; position: absolute; inset: -45% -45% auto auto; width: 125%; aspect-ratio: 1;
  border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, transparent 43%, rgba(103,208,203,.08) 44%, transparent 45%, transparent 59%, rgba(103,208,203,.05) 60%, transparent 61%);
  animation: hero-orbit 20s linear infinite;
}
@keyframes hero-orbit { to { transform: rotate(360deg); } }
.hero-panel .signal { position: relative; isolation: isolate; }
.hero-panel .signal::after {
  content: ""; position: absolute; top: -3px; left: 0; width: 5px; height: 5px; border-radius: 50%;
  background: #bafff3; box-shadow: 0 0 7px #70e4d9, 0 0 16px rgba(112,228,217,.9);
  pointer-events: none; animation: hero-progress 7.5s linear infinite;
}
.hero-panel .signal:nth-child(3)::after { animation-delay: -2.5s; }
.hero-panel .signal:nth-child(4)::after { animation-delay: -5s; }
@keyframes hero-progress { 0% { left: 0; opacity: 0; } 7% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 5px); opacity: 0; } }
.hero-panel .signal span { text-shadow: 0 0 9px rgba(102,226,213,.36); }
@media (max-width: 900px) {
  .hero-copy { padding-top: clamp(3.5rem, 7vw, 5rem); }
  .hero-panel { min-height: 0; }
}
@media (max-width: 600px) {
  .hero-copy { padding-top: 3.4rem; }
  .hero-copy::before { right: -50%; top: -12%; width: 105%; }
  .hero-copy .eyebrow::after { margin-top: .7rem; }
  .hero-panel { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy::before,.hero-copy .eyebrow::after,.hero h1 em,.hero-actions .button.primary,.hero-panel::before,.hero-panel .signal::after { animation: none !important; }
  .hero-copy .eyebrow::after { transform: none; opacity: 1; }
  .hero-panel .signal::after { opacity: 0; }
}
.visual-disclosure { grid-column: 1 / -1; justify-self: center; max-width: 72ch; color: #b6c6cb; text-align: center; font-size: .75rem; line-height: 1.5; }
