:root {
  color-scheme: dark;
}

.skip_link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-200%);
  border-radius: .75rem;
  background: #fff;
  color: #09070d;
  padding: .75rem 1rem;
  font-weight: 700;
  transition: transform .2s ease;
}

.skip_link:focus {
  transform: translateY(0);
}

.page_glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 59, 48, .14), transparent 30rem),
    radial-gradient(circle at 15% 72%, rgba(109, 40, 217, .11), transparent 34rem);
}

.text-gradient {
  background: linear-gradient(100deg, #ffaaa3 0%, #ff3b30 45%, #ff8a4c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.button_primary,
.button_secondary {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .8rem 1.4rem;
  font-size: .95rem;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.button_primary {
  background: linear-gradient(135deg, #ff3b30, #d71920);
  color: #fff;
  box-shadow: 0 12px 35px rgba(255, 59, 48, .24);
}

.button_secondary {
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .05);
  color: #fff;
}

.button_primary:hover,
.button_secondary:hover {
  transform: translateY(-2px);
}

.button_primary:hover {
  box-shadow: 0 16px 42px rgba(255, 59, 48, .34);
}

.button_secondary:hover {
  border-color: rgba(255, 59, 48, .55);
  background: rgba(255, 59, 48, .09);
}

.button_primary:focus-visible,
.button_secondary:focus-visible {
  outline: 2px solid #ff8a4c;
  outline-offset: 4px;
}

.mascot_stage {
  position: relative;
  width: min(88vw, 30rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.mascot_stage::before {
  content: '';
  position: absolute;
  inset: 9%;
  z-index: -2;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 80px rgba(0, 0, 0, .36);
  transform: rotate(-3deg);
}

.mascot_image {
  position: relative;
  z-index: 3;
  width: 88%;
  height: auto;
  border-radius: 28%;
  object-fit: contain;
  filter: drop-shadow(0 28px 25px rgba(0, 0, 0, .44));
  animation: mascot_float 5s ease-in-out infinite;
}

.mascot_glow {
  position: absolute;
  inset: 22%;
  z-index: -1;
  border-radius: 999px;
  background: rgba(255, 59, 48, .35);
  filter: blur(48px);
  animation: glow_breathe 4s ease-in-out infinite;
}

.orbit {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08);
}

.orbit_one {
  inset: 4%;
  animation: orbit_spin 22s linear infinite;
}

.orbit_two {
  inset: 14%;
  border-style: dashed;
  border-color: rgba(255, 59, 48, .2);
  animation: orbit_spin_reverse 16s linear infinite;
}

.status_chip {
  position: absolute;
  right: 1%;
  bottom: 7%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(9, 7, 13, .82);
  padding: .65rem .85rem;
  color: rgba(255, 255, 255, .78);
  font-size: .7rem;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.status_pulse {
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: #ff3b30;
  box-shadow: 0 0 0 0 rgba(255, 59, 48, .7);
  animation: pulse_ring 2s ease-out infinite;
}

.feature_card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 1.25rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  padding: 1.5rem;
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}

.feature_card::after {
  content: '';
  position: absolute;
  right: -4rem;
  bottom: -4rem;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: rgba(255, 59, 48, .14);
  filter: blur(30px);
  transition: transform .3s ease;
}

.feature_card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 59, 48, .32);
}

.feature_card:hover::after {
  transform: translate(-1rem, -1rem) scale(1.15);
}

.feature_number {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: .8rem;
  background: rgba(255, 59, 48, .12);
  color: #ff756d;
  font-size: .75rem;
  font-weight: 800;
}

.signup_panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 1.5rem;
  background:
    linear-gradient(120deg, rgba(255, 59, 48, .09), transparent 42%),
    rgba(255, 255, 255, .035);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}

.reveal_up {
  animation: reveal_up .7s cubic-bezier(.2, .75, .25, 1) both;
}

.reveal_up:nth-child(2) { animation-delay: .08s; }
.reveal_up:nth-child(3) { animation-delay: .16s; }
.reveal_up:nth-child(4) { animation-delay: .24s; }
.reveal_up:nth-child(5) { animation-delay: .32s; }

@keyframes mascot_float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes glow_breathe {
  0%, 100% { opacity: .45; transform: scale(.92); }
  50% { opacity: .85; transform: scale(1.08); }
}

@keyframes orbit_spin {
  to { transform: rotate(360deg); }
}

@keyframes orbit_spin_reverse {
  to { transform: rotate(-360deg); }
}

@keyframes pulse_ring {
  70% { box-shadow: 0 0 0 .5rem rgba(255, 59, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

@keyframes reveal_up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 640px) {
  .status_chip {
    right: 4%;
    bottom: 9%;
    padding: .75rem 1rem;
    font-size: .78rem;
  }

  .feature_card {
    padding: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
