@font-face {
  font-family: "Zurich";
  src: url("../assets/fonts/Zurich-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zurich";
  src: url("../assets/fonts/Zurich-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background-color: #231f20;
  color: #ffffff;
  font-family: "Zurich", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}

.logo {
  width: min(100%, 18rem);
  height: auto;
  margin-bottom: clamp(3rem, 10vh, 6rem);
}

.message {
  max-width: 34rem;
  margin: 0 0 clamp(4rem, 14vh, 8rem);
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
  opacity: 0.75;
}

.cta:focus-visible {
  outline: 1px solid #ffffff;
  outline-offset: 0.35rem;
}

.cta__arrow {
  height: 1em;
  width: auto;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.cta:hover .cta__arrow,
.cta:focus-visible .cta__arrow {
  transform: translateX(0.35rem);
}

@media (max-width: 40rem) {
  .page {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  .cta {
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }

  .cta__arrow {
    height: 0.9em;
  }
}
