:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #160b12;
  color: #fff9f7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #160b12;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgb(229 72 98 / 24%), transparent 46%),
    linear-gradient(150deg, #11080e 0%, #1f0d18 58%, #160b12 100%);
}

.page-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.page-shell::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 2.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2.5%) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  content: "";
}

.glow {
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(88px);
  opacity: 0.28;
}

.glow-one {
  top: 5%;
  left: -150px;
  background: #e54862;
}

.glow-two {
  right: -180px;
  bottom: 5%;
  background: #812f67;
}

.hero {
  display: flex;
  width: min(920px, calc(100% - 40px));
  margin: auto;
  padding: clamp(48px, 8vh, 104px) 0 40px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  display: inline-flex;
  margin-bottom: clamp(56px, 9vh, 96px);
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 16px 28px rgb(229 72 98 / 32%));
}

.brand-word {
  color: #fff9f7;
  font-size: 2rem;
  font-weight: 720;
  letter-spacing: -0.055em;
}

.brand-word strong {
  color: #ff7893;
}

h1 {
  max-width: 860px;
  margin: 0;
  color: #fff9f7;
  font-size: clamp(3.3rem, 9vw, 7.7rem);
  font-weight: 780;
  letter-spacing: -0.072em;
  line-height: 0.9;
}

h1 span {
  background: linear-gradient(100deg, #ff9bad 0%, #e54862 52%, #ffbbca 100%);
  background-clip: text;
  color: transparent;
}

.intro {
  max-width: 650px;
  margin: 30px auto 0;
  color: #ddcbd4;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.status {
  display: inline-flex;
  margin-top: 34px;
  padding: 12px 18px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgb(255 155 173 / 20%);
  border-radius: 999px;
  background: rgb(255 255 255 / 4.5%);
  box-shadow: inset 0 1px rgb(255 255 255 / 6%);
  color: #f3dfe5;
  font-size: 0.9rem;
  font-weight: 620;
  backdrop-filter: blur(12px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff7893;
  box-shadow: 0 0 0 6px rgb(255 120 147 / 12%);
}

.progress-card {
  width: min(100%, 520px);
  margin-top: 22px;
  padding: 18px 20px 20px;
  border: 1px solid rgb(255 155 173 / 15%);
  border-radius: 20px;
  background: linear-gradient(145deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 2.5%));
  box-shadow: 0 22px 55px rgb(4 0 3 / 24%);
  text-align: left;
  backdrop-filter: blur(14px);
}

.progress-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  color: #cbb4be;
  font-size: 0.82rem;
  font-weight: 650;
}

.progress-copy strong {
  min-width: 3.3ch;
  color: #fff9f7;
  font-size: 1.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.055em;
  text-align: right;
}

.progress-track {
  height: 8px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(255 255 255 / 8%);
  box-shadow: inset 0 1px 3px rgb(0 0 0 / 28%);
}

.progress-fill {
  display: block;
  width: 96%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff9bad, #e54862 62%, #ffbbca);
  box-shadow: 0 0 20px rgb(229 72 98 / 52%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.english-copy {
  margin: 24px 0 0;
  color: #9d8792;
  font-size: 0.92rem;
  letter-spacing: 0.015em;
}

footer {
  display: flex;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 30px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-top: 1px solid rgb(255 255 255 / 7%);
  color: #88747e;
  font-size: 0.78rem;
}

footer p {
  margin: 0;
}

footer a {
  color: #c9adb9;
  text-underline-offset: 4px;
}

footer a:hover,
footer a:focus-visible {
  color: #fff9f7;
}

footer a:focus-visible {
  border-radius: 4px;
  outline: 3px solid #ff7893;
  outline-offset: 4px;
}

@media (max-width: 680px) {
  .hero {
    width: min(100% - 32px, 560px);
    padding-top: 34px;
  }

  .brand {
    margin-bottom: 64px;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  h1 {
    font-size: clamp(3.15rem, 17vw, 5rem);
  }

  .intro {
    margin-top: 25px;
    font-size: 1rem;
  }

  footer {
    width: calc(100% - 32px);
    padding-bottom: 22px;
    flex-direction: column;
    gap: 9px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-mark {
    animation: settle 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .hero > :not(.brand) {
    animation: rise 750ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .hero > :nth-child(4) {
    animation-delay: 70ms;
  }

  .hero > :nth-child(5) {
    animation-delay: 130ms;
  }

  .hero > :nth-child(6) {
    animation-delay: 190ms;
  }

  .progress-fill {
    animation: fill-progress 6.2s linear infinite;
    transform-origin: left;
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: scale(0.82) rotate(-6deg);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes fill-progress {
  0% {
    transform: scaleX(0);
  }

  80.65%,
  100% {
    transform: scaleX(1);
  }
}
