/* Shared wordmark, badge and proportions for the login and portal sidebar. */
.academy-brand {
  position: relative;
  color: #fff;
}

/* Reserve space above the wordmark proportionally to its width. */
.academy-brand::before {
  content: "";
  display: block;
  aspect-ratio: 623 / 140;
}

.academy-brand-copy { width: 95.18%; }

.academy-brand h1 { margin: 0; }

.academy-brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 10px #467dff28);
}

.academy-brand p {
  margin: 9px 0 0;
  color: #b8cbea;
  font-size: 12px;
  font-weight: 500;
}

.academy-ai-orb {
  position: absolute;
  inset: 0 -2.5% auto auto;
  width: 20.05%;
  translate: 43% 7%;
  scale: .9;
  isolation: isolate;
  aspect-ratio: 1;
  container-type: inline-size;
}

.academy-orb-halo,
.academy-orb-tracks,
.academy-orb-ring,
.academy-orb-core,
.academy-orb-dot { position: absolute; border-radius: 50%; }

.academy-orb-halo {
  inset: -10%;
  background: conic-gradient(from -55deg, #08b9ff95, transparent 34%, #6432ffad 59%, transparent 88%, #08b9ff95);
  filter: blur(14px);
}

.academy-orb-core {
  inset: 12%;
  display: grid;
  place-items: center;
  border: 1px solid #7ee9ff;
  background: radial-gradient(circle at 26% 18%, #78f2ff 0%, #1eabfd 22%, #1460f4 49%, #2532ec 75%, #4745f5 100%);
  box-shadow: inset 0 0 12px #bbdfff4d, 0 0 10px #00ccffad, 0 0 25px #3770ff82;
  font-size: 40cqi;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -.07em;
  padding-right: .07em;
}

.academy-orb-tracks {
  inset: 0;
  animation: academy-orbit 28s linear infinite;
}

.academy-orb-ring {
  --arc-colors: transparent 0deg, #1a9dfe 28deg, transparent 50deg 101deg,
    #6f43e0 121deg, #8660ff 154deg, #0cbbe5 201deg, transparent 209deg 301deg,
    #17b8df 321deg, #1a9dfe 355deg, transparent 360deg;
  background: conic-gradient(var(--arc-colors));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.academy-orb-ring-outer { inset: 0; padding: 4cqi; }
.academy-orb-ring-inner { inset: 7%; padding: 1.3cqi; opacity: .83; }

.academy-orb-dot-cyan {
  inset: 20% 5% auto auto;
  width: 6%;
  aspect-ratio: 1;
  background: #90faff;
  box-shadow: 0 0 9px #11d6ff;
}

.academy-orb-dot-violet {
  inset: auto auto 3.5% 54%;
  width: 3.5%;
  aspect-ratio: 1;
  background: #c4a2ff;
  box-shadow: 0 0 5px #9369ff;
}

@keyframes academy-orbit { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .academy-orb-tracks { animation: none; } }
