/* Temporary public front page. */
.gcx-under-construction {
  --uc-ink: #e9f0ec;
  --uc-muted: #a6b7b0;
  --uc-accent: #d6ef8d;
  --uc-line: rgba(233, 240, 236, 0.16);
  min-height: 100vh;
  color: var(--uc-ink);
  background: #101b1c;
}

.gcx-under-construction__page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem;
  background:
    radial-gradient(circle at 50% 38%, rgba(58, 101, 83, 0.32), transparent 34rem),
    linear-gradient(135deg, #101b1c 0%, #142423 55%, #0d1516 100%);
}

.gcx-under-construction__texture,
.gcx-under-construction__texture::before,
.gcx-under-construction__texture::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gcx-under-construction__texture {
  z-index: -1;
  opacity: 0.36;
  background-image: linear-gradient(var(--uc-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--uc-line) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(to bottom, transparent, black 24%, black 76%, transparent);
}

.gcx-under-construction__texture::before,
.gcx-under-construction__texture::after {
  content: '';
  border: 1px solid rgba(214, 239, 141, 0.18);
  transform: rotate(45deg);
}

.gcx-under-construction__texture::before {
  inset: 22% 35%;
}

.gcx-under-construction__texture::after {
  inset: 32% 42%;
}

.gcx-under-construction__content {
  width: min(100%, 42rem);
  text-align: center;
  animation: uc-enter 0.8s ease-out both;
}

.gcx-under-construction__signal {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 0.4rem;
  height: 3.5rem;
  margin-bottom: 2rem;
}

.gcx-under-construction__signal span {
  width: 0.45rem;
  height: 1.25rem;
  background: var(--uc-accent);
  transform-origin: bottom;
  animation: uc-signal 1.8s ease-in-out infinite;
}

.gcx-under-construction__signal span:nth-child(2) {
  height: 2.1rem;
  animation-delay: 0.15s;
}

.gcx-under-construction__signal span:nth-child(3) {
  height: 3.5rem;
  animation-delay: 0.3s;
}

.gcx-under-construction__signal span:nth-child(4) {
  height: 2.1rem;
  animation-delay: 0.45s;
}

.gcx-under-construction__eyebrow,
.gcx-under-construction__footer {
  color: var(--uc-muted);
  font-family: var(--gcx-font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.gcx-under-construction__eyebrow {
  margin-bottom: 1.25rem;
}

.gcx-under-construction h1 {
  color: var(--uc-ink);
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

.gcx-under-construction__message {
  max-width: 30rem;
  margin: 1.75rem auto 0;
  color: var(--uc-muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.gcx-under-construction__rule {
  width: min(100%, 10rem);
  height: 1px;
  margin: 2.5rem auto 1.25rem;
  background: linear-gradient(90deg, transparent, var(--uc-accent), transparent);
}

.gcx-under-construction__note {
  color: var(--uc-ink);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.gcx-under-construction__footer {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
}

@keyframes uc-enter {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes uc-signal {
  0%, 100% { opacity: 0.45; transform: scaleY(0.82); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 480px) {
  .gcx-under-construction__page {
    padding-bottom: 6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gcx-under-construction__content,
  .gcx-under-construction__signal span {
    animation: none;
  }
}
