/* Course page base
   Course hero, orbit, scroll progress, reveal animations and batch cards. Used by every course page.
   Edit this file to change these styles on every page that uses it. */

.sp {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  z-index: 90;
  pointer-events: none;
  background: linear-gradient(90deg,var(--sf),var(--sf2),#fff);
  transform-origin: left;
  transform: scaleX(var(--p,0));
  box-shadow: 0 0 12px rgba(255,187,46,.8);
}

.uh {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 60px 0 64px;
  background: #07182a;
  border-bottom: 4px solid var(--sf);
}

.uh::before {
  content: "";
  position: absolute;
  inset: -30%;
  pointer-events: none;
  background: radial-gradient(circle at 18% 30%,rgba(240,165,0,.30),transparent 34%),radial-gradient(circle at 82% 68%,rgba(70,130,200,.5),transparent 40%),radial-gradient(circle at 60% 8%,rgba(255,187,46,.16),transparent 30%);
  animation: aur 16s ease-in-out infinite alternate;
}

@keyframes aur {
  to {
    transform: translate(6%,-4%) rotate(8deg) scale(1.1);
  }
}

.uh::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 72% 50%,#000,transparent 68%);
  mask-image: radial-gradient(circle at 72% 50%,#000,transparent 68%);
  animation: gridm 24s linear infinite;
}

@keyframes gridm {
  to {
    background-position: 46px 46px;
  }
}

.uh-cols {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}

.uh h1 {
  color: #fff;
  font-size: clamp(2rem,4.6vw,3.2rem);
  margin-bottom: .35em;
}

.uh-copy>* {
  animation: up .9s cubic-bezier(.2,.7,.2,1) both;
}

.uh-copy>:nth-child(2) {
  animation-delay: .1s;
}

.uh-copy>:nth-child(3) {
  animation-delay: .2s;
}

.uh-copy>:nth-child(4) {
  animation-delay: .3s;
}

.uh-copy>:nth-child(5) {
  animation-delay: .4s;
}

.uh-copy>:nth-child(6) {
  animation-delay: .5s;
}

.uh-copy>:nth-child(7) {
  animation-delay: .6s;
}

@keyframes up {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.uh .lede {
  color: #d7e1ea;
  font-size: 1.1rem;
}

.wd {
  position: relative;
  display: block;
  height: 1.55em;
  overflow: hidden;
  margin: 0 0 .7em;
  font: 700 clamp(1.15rem,2.4vw,1.55rem)/1.55 Lora,Georgia,serif;
  color: var(--sf2);
}

.wd span {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(70%);
  animation: wd 9s ease-in-out infinite;
}

.wd span:nth-child(2) {
  animation-delay: 3s;
}

.wd span:nth-child(3) {
  animation-delay: 6s;
}

@keyframes wd {
  0% {
    opacity: 0;
    transform: translateY(70%);
  }
  5%,
  29% {
    opacity: 1;
    transform: none;
  }
  34%,
  100% {
    opacity: 0;
    transform: translateY(-70%);
  }
}

.uh .facts {
  margin-top: 30px;
}

.uh .facts>* {
  backdrop-filter: blur(4px);
  animation: up .9s cubic-bezier(.2,.7,.2,1) both;
}

.uh .facts>:nth-child(1) {
  animation-delay: .7s;
}

.uh .facts>:nth-child(2) {
  animation-delay: .8s;
}

.uh .facts>:nth-child(3) {
  animation-delay: .9s;
}

.uh .facts>:nth-child(4) {
  animation-delay: 1s;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.jump a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: .85rem;
  background: rgba(255,255,255,.06);
  transition: .25s;
}

.orbit {
  position: relative;
  width: min(440px,100%);
  aspect-ratio: 1;
  margin: 0 auto;
}

.orbit .core {
  position: absolute;
  inset: 35%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%,#ffd978,#f0a500 60%,#b87400);
  box-shadow: 0 0 0 9px rgba(255,187,46,.16),0 0 70px 12px rgba(240,165,0,.55);
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  to {
    box-shadow: 0 0 0 18px rgba(255,187,46,.07),0 0 100px 26px rgba(240,165,0,.7);
  }
}

.orbit .core svg {
  width: 74%;
  height: 74%;
  color: var(--ink);
  animation: spin 30s linear infinite;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,.3);
  animation: spin var(--t) linear infinite;
  animation-delay: var(--dl);
}

.r1 {
  inset: 21%;
  --t: 16s;
  --dl: -3s;
  --r0: 40deg;
}

.r2 {
  inset: 9%;
  --t: 26s;
  --dl: -9s;
  --r0: 150deg;
}

.r3 {
  inset: 0;
  --t: 38s;
  --dl: -8s;
  --r0: 250deg;
}

.r4 {
  inset: 0;
  --t: 38s;
  --dl: -27s;
  --r0: 70deg;
  border-color: transparent;
}

.pl {
  position: absolute;
  left: 50%;
  top: 0;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,.8),0 0 0 5px rgba(255,187,46,.35);
  animation: spin var(--t) linear infinite reverse;
  animation-delay: var(--dl);
}

.pl .ic {
  width: 22px;
  height: 22px;
  color: #a86f00;
}

.pl b {
  position: absolute;
  top: 100%;
  margin-top: 7px;
  white-space: nowrap;
  font: 800 .76rem Mulish,sans-serif;
  color: #fff;
  background: rgba(7,24,42,.8);
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,187,46,.55);
}

.orbit:hover .ring,
.orbit:hover .pl,
.orbit:hover .core svg {
  animation-play-state: paused;
}

.spk {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sf2);
  box-shadow: 0 0 10px 2px rgba(255,187,46,.8);
  animation: tw 3s ease-in-out infinite alternate;
}

@keyframes tw {
  from {
    opacity: .1;
    transform: scale(.6);
  }
  to {
    opacity: 1;
    transform: scale(1.4);
  }
}

@media(max-width:980px) {
  .uh-cols {
    grid-template-columns: 1fr;
  }
  .orbit {
    width: min(360px,100%);
    margin-top: 14px;
  }
}

.js .rv {
  opacity: 0;
  transform: translateY(28px);
}

.js .rv.in {
  opacity: 1;
  transform: none;
  transition: opacity .75s ease var(--d,0s),transform .75s cubic-bezier(.2,.7,.2,1) var(--d,0s);
}

.js .rv.tilt.in,
.js .rv.card.in {
  transition-property: opacity,transform;
}

section:not(.cta):not(.uh) h2::after {
  content: "";
  flex: 1;
  max-width: 150px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg,var(--sf),transparent);
  transform-origin: left;
  transition: transform 1s ease .35s;
}

.js section:not(.cta):not(.uh) h2:not(.seen)::after {
  transform: scaleX(0);
}

@property --a {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.batch {
  isolation: isolate;
}

.batch::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  padding: 2px;
  pointer-events: none;
  background: conic-gradient(from var(--a),transparent 0 62%,var(--sf2) 82%,var(--sf) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rot 5s linear infinite;
}

@keyframes rot {
  to {
    --a: 360deg;
  }
}

.batch:nth-child(2)::before {
  animation-delay: -1.6s;
}

.batch:nth-child(3)::before {
  animation-delay: -3.2s;
}

.price {
  background: linear-gradient(100deg,var(--ink) 30%,#c98400 50%,var(--ink) 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 4s linear infinite;
  display: inline-block;
}

tbody tr.rv {
  transform: translateX(-24px);
}

#exam .steps .card::before,
#how .steps .card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 0;
  background: linear-gradient(90deg,var(--sf),var(--sf2));
  transition: width 1.2s ease .4s;
}

#exam .steps .card.seen::before,
#how .steps .card.seen::before {
  width: 100%;
}

#how .steps .card h3 .ib {
  animation: hop 3s ease-in-out infinite;
}

#how .steps .card:nth-child(2) h3 .ib {
  animation-delay: .5s;
}

#how .steps .card:nth-child(3) h3 .ib {
  animation-delay: 1s;
}

@keyframes hop {
  0%,
  70%,
  100% {
    transform: none;
  }
  80% {
    transform: translateY(-7px) scale(1.1);
  }
  90% {
    transform: translateY(0);
  }
}

.js #syllabus ul.tick li {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity .6s ease,transform .6s ease;
}

.js #syllabus .card.seen ul.tick li {
  opacity: 1;
  transform: none;
}

#syllabus .card.seen ul.tick li:nth-child(1) {
  transition-delay: .25s;
}

#syllabus .card.seen ul.tick li:nth-child(2) {
  transition-delay: .4s;
}

#syllabus .card.seen ul.tick li:nth-child(3) {
  transition-delay: .55s;
}

#syllabus .card.seen ul.tick li:nth-child(4) {
  transition-delay: .7s;
}

#syllabus .card.seen ul.tick li:nth-child(5) {
  transition-delay: .85s;
}

.tilt {
  overflow: hidden;
  transform-style: preserve-3d;
}

.tilt:hover {
  transform: perspective(800px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-8px);
  transition: transform .12s ease-out,border-color .3s,box-shadow .3s;
}

.tilt::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx,50%) var(--my,50%),rgba(255,187,46,.3),transparent 60%);
}

.tilt:hover::before {
  opacity: 1;
}

.pills .pill {
  animation: bob 4s ease-in-out infinite alternate;
}

.pills .pill:nth-child(2) {
  animation-delay: .7s;
}

.pills .pill:nth-child(3) {
  animation-delay: 1.4s;
}

@keyframes bob {
  to {
    transform: translateY(-7px);
  }
}

details[open]>p {
  animation: fdown .45s ease both;
}

@keyframes fdown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cta {
  position: relative;
  overflow: hidden;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border: 2px solid rgba(255,187,46,.4);
  border-radius: 50%;
  pointer-events: none;
  animation: ripple 7s ease-out infinite;
}

.cta::after {
  animation-delay: 3.5s;
}

.cta .wrap {
  position: relative;
  z-index: 1;
}

@media(prefers-reduced-motion:reduce) {
  .js .rv,
  .js .rv.in {
    opacity: 1!important;
    transform: none!important;
  }
  .js section:not(.cta):not(.uh) h2::after {
    transform: none!important;
  }
  #exam .steps .card::before,
  #how .steps .card::before {
    width: 100%;
  }
  .js #syllabus ul.tick li {
    opacity: 1;
    transform: none;
  }
  .wd span:first-child {
    opacity: 1;
    transform: none;
  }
  .ring {
    transform: rotate(var(--r0,0deg));
  }
  .pl {
    transform: rotate(calc(-1*var(--r0,0deg)));
  }
  .uh-copy>*,
  .uh .facts>* {
    animation: none!important;
    opacity: 1!important;
  }
  .batch::before {
    display: none;
  }
  .price {
    color: var(--ink);
    background: none;
  }
}
