:root {
  color: #111111;
  background: #ffffff;
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #ffffff;
}

.site-header,
.site-footer {
  position: absolute;
  z-index: 1;
  font-size: clamp(0.9rem, 1.35vw, 1.05rem);
  font-weight: 700;
  line-height: 1;
}

.site-header {
  top: clamp(1.75rem, 4vw, 2.25rem);
  right: clamp(1.75rem, 4vw, 2.25rem);
  left: clamp(1.75rem, 4vw, 2.25rem);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark,
.message,
.site-footer {
  margin: 0;
}

.wordmark {
  transition: opacity 160ms ease;
}

.wordmark:hover,
.wordmark:focus-visible {
  opacity: 0.55;
}

.wordmark:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.35rem;
}

.message {
  text-align: right;
}

.stage {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 7rem 1.5rem;
}

.rabbit {
  margin: 0;
  color: #111111;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.58rem, 1.55vw, 1.15rem);
  font-weight: 700;
  line-height: 1.45;
  white-space: pre;
}

.char {
  display: inline-block;
  animation: dance 2s ease-in-out calc(var(--i) * 0.1s) infinite;
}

.site-footer {
  right: clamp(1.75rem, 4vw, 2.25rem);
  bottom: clamp(1.75rem, 4vw, 2.25rem);
  left: clamp(1.75rem, 4vw, 2.25rem);
}

@keyframes dance {
  0%,
  100% {
    transform: translateY(-10px);
  }

  50% {
    transform: translateY(10px);
  }
}

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

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
  }

  .message {
    max-width: 8rem;
  }

  .rabbit {
    font-size: clamp(0.44rem, 2.8vw, 0.72rem);
  }
}
