:root {
  --brand-orange: #ff6a00;
  --brand-white: #ffffff;
  --black: #111111;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100svh;
  background: var(--brand-orange);
  color: var(--brand-white);
  font-family: Arial, Helvetica, sans-serif;
}

.testing-site {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 32px 20px;
  text-align: center;
}

.logo {
  width: min(62vw, 360px);
  aspect-ratio: 1;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  transform-origin: center;
  animation: rotate-logo 7.5s linear infinite;
  will-change: transform;
}

.message {
  max-width: 640px;
  margin: 0 0 18px;
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 800;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--brand-white);
  color: var(--brand-orange);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 16px 34px rgba(255, 106, 0, 0.28);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.home-button:hover,
.home-button:focus-visible {
  background: #fff4eb;
  transform: translateY(-2px);
}

.home-button:focus-visible {
  outline: 3px solid var(--brand-white);
  outline-offset: 5px;
}

@keyframes rotate-logo {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-button {
    transition: none;
  }
}

@media (max-width: 520px) {
  .testing-site {
    min-height: 100dvh;
    gap: 22px;
    padding: 28px 18px;
  }

  .logo {
    width: min(76vw, 300px);
  }

  .home-button {
    width: min(100%, 260px);
  }

  .message {
    max-width: 320px;
    margin-bottom: 10px;
    font-size: clamp(22px, 7vw, 28px);
    line-height: 1.05;
  }
}

@media (min-width: 521px) and (max-width: 900px) {
  .testing-site {
    gap: 24px;
    padding: 36px 24px;
  }

  .logo {
    width: min(48vw, 320px);
  }

  .message {
    max-width: 520px;
    font-size: clamp(24px, 4vw, 32px);
    line-height: 1.05;
  }
}
