* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  --bg-dark: #131f24;
  --panel-bg: #18272e;
  --background-color: #7b93ff;
  --dark-main-color: #6877fe;
  --main-color: #a1b2ff;
  --light-main-color: #b3d0ff;
  --title-color: #e7ecff;
  --alt-main-color: #7385fa;
  --spring-ease: cubic-bezier(0.34, 1.22, 0.64, 1);
}

@keyframes cerolingoLoadIn {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(18px) scale(0.97);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0) scale(1);
  }
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background-color: var(--bg-dark);
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 1.75rem;
  padding: 2rem 1rem 2.75rem;
  overflow-x: clip;
}

body:has(#hero) {
  padding-top: 0;
}

#hero {
  width: 100%;
  max-width: 48rem;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0 1.6rem;
}

.hero-main {
  width: 100%;
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 1.5rem;
  margin: auto 0;
}

h1,
h2,
p,
a,
li,
footer {
  font-family: "Nunito", sans-serif;
  color: var(--title-color);
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

h1,
h2 {
  text-wrap: balance;
}

h1,
h2,
a {
  font-weight: 800;
}

p,
li {
  color: var(--light-main-color);
  font-weight: 700;
  line-height: 1.55;
  text-wrap: pretty;
}

strong {
  color: var(--title-color);
  font-weight: 800;
}

i {
  color: var(--main-color);
  font-style: normal;
  font-weight: 800;
}

a {
  color: var(--title-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  background-color: var(--background-color);
  border: 2px solid var(--dark-main-color);
  border-radius: 14px;
  box-shadow: 0 0.42rem 0 0 var(--dark-main-color);
  padding: 0.7rem 1.6rem;
  margin: 0.25rem;
  transition:
    transform 0.3s var(--spring-ease),
    box-shadow 0.3s var(--spring-ease),
    background-color 0.3s ease,
    color 0.3s ease;
}

#scroll-cue-wrap {
  display: flex;
  justify-content: center;
  will-change: translate, transform, opacity;
  animation: scrollCueFloat 2.2s ease-in-out infinite;
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s var(--spring-ease);
}

#scroll-cue-wrap.is-hidden {
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
}

#scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background-color: var(--panel-bg);
  border: 2px solid var(--dark-main-color);
  border-radius: 999px;
  box-shadow: 0 0.34rem 0 0 var(--dark-main-color);
  padding: 0.5rem 1.25rem;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--main-color);
  opacity: 0;
  animation: cerolingoLoadIn 0.45s var(--spring-ease) 0.22s forwards;
  transition:
    translate 0.3s var(--spring-ease),
    box-shadow 0.3s var(--spring-ease),
    background-color 0.3s ease,
    color 0.3s ease;
}

.scroll-cue-arrow {
  display: block;
  animation: scrollCueBob 2.2s ease-in-out infinite;
}

@keyframes scrollCueFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -6px;
  }
}

@keyframes scrollCueBob {
  0%,
  100% {
    transform: translateY(-1px);
  }
  50% {
    transform: translateY(2.5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #scroll-cue-wrap,
  .scroll-cue-arrow {
    animation: none;
  }
}

img {
  width: 80%;
  -webkit-user-drag: none;
}

#credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--dark-main-color);
  opacity: 0;
  animation: cerolingoLoadIn 0.45s var(--spring-ease) 0.52s forwards;
}

#credit a {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  color: var(--main-color);
  font-size: inherit;
}

#credit a.report-link {
  color: var(--dark-main-color);
  opacity: 0.78;
}

.credit-sep {
  opacity: 0.6;
}
