:root {
  color-scheme: dark;
  --brand-bg: #0a1f16;
  --brand-line: #2d6b47;
  --brand-mint: #e8f5ef;
  --brand-muted: #8fb7a3;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--brand-bg);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-width: 320px;
  background: var(--brand-bg);
  color: var(--brand-mint);
}

.coming-soon {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 1.5rem;
  background-color: var(--brand-bg);
}

.coming-soon::before {
  position: absolute;
  z-index: -2;
  top: 50%;
  left: 50%;
  width: 145vmax;
  height: 145vmax;
  content: "";
  pointer-events: none;
  background-image: url("/branding/bg-hero.png");
  background-position: center;
  background-size: cover;
  transform: translate(-50%, -50%) rotate(0deg) scale(1.02);
  transform-origin: center;
  animation: spiral-turn 120s linear infinite;
  will-change: transform;
}

.vignette {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    120% 90% at 50% 45%,
    transparent 45%,
    rgb(6 18 12 / 60%) 100%
  );
}

@keyframes spiral-turn {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1.02);
  }

  50% {
    transform: translate(-50%, -50%) rotate(180deg) scale(1.07);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg) scale(1.02);
  }
}

.content {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 36rem;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  position: relative;
  display: inline-block;
  width: 8rem;
  height: 8rem;
  overflow: hidden;
  border-radius: 2.08rem;
}

.logo img,
.logo > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.logo img {
  object-fit: cover;
}

h1 {
  margin: 2.5rem 0 0;
  color: var(--brand-mint);
  font-size: clamp(3rem, 8vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.tagline {
  margin: 1.25rem 0 0;
  color: var(--brand-muted);
  font-size: clamp(1.125rem, 3vw, 1.25rem);
  line-height: 1.625;
}

.status {
  margin: 2.25rem 0 0;
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  color: var(--brand-bg);
  background: var(--brand-mint);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  line-height: 1.25rem;
}

footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3.5rem;
  color: var(--brand-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
}

footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  transition: opacity 160ms ease;
}

footer a:hover,
footer a:focus-visible {
  opacity: 0.8;
}

footer a:focus-visible {
  outline: 2px solid var(--brand-mint);
  outline-offset: 4px;
  border-radius: 3px;
}

footer svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.divider {
  color: var(--brand-line);
}

.domain {
  color: var(--brand-mint);
}

@media (max-width: 520px) {
  .coming-soon {
    padding-inline: 1rem;
  }

  .logo {
    width: 7rem;
    height: 7rem;
    border-radius: 1.82rem;
  }

  footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coming-soon::before {
    animation: none;
  }
}
