html {
  font-size: min(calc(100vw / 34.134), calc(100vh / 19.2));
}

.page {
  background-color: #0a0a0a;
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.group_5 {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(80, 80, 90, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(50, 50, 55, 0.2) 0%, transparent 50%),
    linear-gradient(160deg, #0c0c0e 0%, #1a1a1f 42%, #252528 100%);
  isolation: isolate;
}

/* ── Background layers ── */

.bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg-glow {
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: glow-drift 14s ease-in-out infinite alternate;
}

.bg-glow--1 {
  width: 55vw;
  height: 55vw;
  max-width: 680px;
  max-height: 680px;
  top: -18%;
  left: -12%;
  background: radial-gradient(circle, rgba(120, 120, 130, 0.18) 0%, transparent 70%);
}

.bg-glow--2 {
  width: 45vw;
  height: 45vw;
  max-width: 560px;
  max-height: 560px;
  bottom: -10%;
  right: -8%;
  background: radial-gradient(circle, rgba(90, 90, 100, 0.14) 0%, transparent 70%);
  animation-delay: -7s;
  animation-duration: 18s;
}

.bg-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 3.2rem 3.2rem;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 20%, transparent 75%);
}

.bg-vignette {
  background: radial-gradient(
    ellipse 85% 75% at 50% 50%,
    transparent 35%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

@keyframes glow-drift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.45;
  }
  100% {
    transform: translate(3%, 2%) scale(1.06);
    opacity: 0.65;
  }
}

/* ── Header ── */

.site-header {
  position: relative;
  z-index: 2;
  height: 1.6rem;
  width: 100%;
  flex-shrink: 0;
  align-items: flex-start;
  background: rgba(20, 20, 22, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.image_14,
.image_15,
.image_3 {
  object-fit: contain;
  flex-shrink: 0;
}

.site-brand {
  display: block;
  text-decoration: none;
  margin: 0.534rem 0 0 1.627rem;
  animation: fade-down 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.image_14 {
  height: 0.64rem;
  width: auto;
  max-width: none;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

/* ── Hero ── */

.group_5 > .hero {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1 1 auto;
  flex-shrink: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.group_5 > .hero::-webkit-scrollbar {
  display: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 12rem;
  text-align: center;
}

.hero-title {
  margin: 0 0 0.24rem;
  font-size: 0.48rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.3;
}

.hero-tagline {
  margin: 0 0 0.5rem;
  font-size: 0.28rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.5;
}

.hero-desc {
  margin: 0 0 0.8rem;
  max-width: 8.8rem;
  font-size: 0.26rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.32);
}

.image_15 {
  width: 9.067rem;
  height: auto;
  max-height: none;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.4));
}

.image_3 {
  width: 8.694rem;
  height: auto;
  max-height: none;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.35));
  opacity: 0.92;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  width: 5.6rem;
  margin: 0.8rem 0;
}

.hero-divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18) 50%,
    transparent
  );
}

.hero-divider__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
  animation: dot-pulse 3s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Staggered entrance */

.hero-item {
  animation: fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-item--0 {
  animation-delay: 0.05s;
}

.hero-item--0b {
  animation-delay: 0.1s;
}

.hero-item--1 {
  animation-delay: 0.2s;
}

.hero-item--2 {
  animation-delay: 0.38s;
}

.hero-item--2b {
  animation-delay: 0.45s;
}

.hero-item--3 {
  animation-delay: 0.6s;
  animation-name: fade-up, subtle-float;
  animation-duration: 1s, 6s;
  animation-delay: 0.6s, 1.65s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: both, none;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(1.2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-0.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subtle-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.12rem);
  }
}

/* ── Footer ── */

.site-footer {
  position: relative;
  z-index: 3;
  width: 100%;
  flex: 0 0 auto;
  background: rgba(20, 20, 22, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.03) inset;
  text-align: center;
  padding: 0.427rem 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.75s both;
}

.site-footer p {
  margin: 0;
}

.footer-icp {
  margin-bottom: 0.053rem;
  color: rgba(255, 255, 255, 0.48);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.16rem 0.24rem;
}

.footer-company-sep {
  color: rgba(255, 255, 255, 0.22);
}

@media (max-height: 720px) {
  .group_5 > .hero {
    padding: 0.4rem 1rem;
  }

  .hero-title {
    font-size: 0.4rem;
    margin-bottom: 0.16rem;
  }

  .hero-tagline {
    font-size: 0.24rem;
    margin-bottom: 0.35rem;
  }

  .hero-desc {
    font-size: 0.22rem;
    margin-bottom: 0.5rem;
  }

  .hero-divider {
    margin: 0.45rem 0;
  }

  .image_15 {
    width: 7.5rem;
  }

  .image_3 {
    width: 7.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
