* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  background: #fff;
}

body {
  color: #0f172a;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.page {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  background: #fff;
}

.oriens-logo {
  position: relative;
  display: inline-flex;
  flex-direction: column;
}

.hero-logo {
  cursor: default;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 72px;
  line-height: 1;
  white-space: nowrap;
}

.oriens {
  font-weight: 900;
  letter-spacing: 0.12em;
}

.labs-wrap {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  margin-left: 0.06em;
}

.tagline {
  display: block;
  align-self: center;
  margin-top: 12px;
  padding-left: 0;
  color: #475569;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  text-align: center;
  user-select: none;
}

.ol-flow {
  display: inline-block;
  background: linear-gradient(-45deg, #0ea5e9, #4f46e5, #6d28d9);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.labs {
  font-weight: 300;
  letter-spacing: 0.12em;
}

.ol-dot-wrap {
  position: absolute;
  top: -0.26em;
  right: -0.19em;
  width: 0.19em;
  height: 0.19em;
  pointer-events: none;
}

.ol-dot-wrap.star-egg-enabled {
  cursor: default;
  pointer-events: auto;
}

.ol-dot-wrap.star-egg-enabled::after {
  position: absolute;
  inset: -0.18em;
  border: 1px solid rgb(245 158 11 / 0%);
  border-radius: 50%;
  content: "";
  opacity: 0;
  transform: scale(0.86);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.ol-dot-wrap[data-charge="1"]::after {
  border-color: rgb(245 158 11 / 18%);
  opacity: 0.26;
  transform: scale(0.94);
}

.ol-dot-wrap[data-charge="2"]::after {
  border-color: rgb(245 158 11 / 26%);
  opacity: 0.38;
  transform: scale(1.02);
}

.ol-dot-wrap[data-charge="3"]::after {
  border-color: rgb(245 158 11 / 34%);
  box-shadow: 0 0 12px rgb(245 158 11 / 12%);
  opacity: 0.5;
  transform: scale(1.1);
}

.ol-dot-wrap[data-charge="4"]::after {
  border-color: rgb(245 158 11 / 42%);
  box-shadow:
    0 0 14px rgb(245 158 11 / 18%),
    0 0 22px rgb(34 211 238 / 10%);
  opacity: 0.62;
  transform: scale(1.18);
}

.ol-dot-wrap.star-egg-release::after {
  border-color: rgb(253 230 138 / 76%);
  box-shadow:
    0 0 18px rgb(245 158 11 / 38%),
    0 0 34px rgb(34 211 238 / 16%);
  opacity: 0.88;
  transform: scale(1.34);
}

.ol-dot,
.ol-thud,
.ol-ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.ol-dot {
  background: #f97316;
}

.ol-dot.star-egg-pulse {
  animation: star-egg-pulse 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tagline.star-egg-tagline {
  transition: opacity 350ms ease;
}

.tagline.star-egg-hidden {
  opacity: 0;
}

.star-egg-canvas {
  position: fixed;
  z-index: 9998;
  inset: 0;
  pointer-events: none;
}

.ol-thud {
  box-sizing: border-box;
  border: 0.5px solid #f97316;
  background: transparent;
  opacity: 0;
  animation: ol-bell 4s ease-out 0.4s forwards;
}

.ol-ripple {
  box-sizing: border-box;
  border: 1.5px solid #f97316;
  background: transparent;
  opacity: 0;
}

.hero-logo:hover .ol-ripple,
.hero-logo:focus-within .ol-ripple {
  animation: ol-ripple 2s ease-out infinite;
  will-change: transform, opacity;
}

main {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 64px 32px;
  text-align: center;
}

@keyframes ol-bell {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  12% {
    opacity: 0.6;
    transform: scale(4.8);
  }
  45% {
    opacity: 0.3;
    transform: scale(5.8);
  }
  100% {
    opacity: 0;
    transform: scale(6.5);
  }
}

@keyframes ol-ripple {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(2);
  }
}

@keyframes star-egg-pulse {
  0% {
    box-shadow: 0 0 0 rgb(245 158 11 / 0%);
    filter: brightness(1);
  }
  45% {
    box-shadow:
      0 0 9px rgb(245 158 11 / 42%),
      0 0 18px rgb(34 211 238 / 12%);
    filter: brightness(1.16);
  }
  100% {
    box-shadow: 0 0 0 rgb(245 158 11 / 0%);
    filter: brightness(1);
  }
}

@media (max-width: 720px) {
  .wordmark {
    font-size: 44px;
  }

  main {
    padding: 48px 20px;
  }
}

@media (max-width: 430px) {
  .wordmark {
    font-size: 34px;
  }

  .tagline {
    font-size: 9px;
    letter-spacing: 0.34em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ol-flow {
    animation: none;
  }

  .ol-thud,
  .ol-dot.star-egg-pulse,
  .hero-logo:hover .ol-ripple,
  .hero-logo:focus-within .ol-ripple {
    animation: none;
  }
}
