:root {
  --background: #ffffff;
  --sky: #6ec6ff;
  --sky-muted: #8ab9d8;
  --focus: rgba(110, 198, 255, 0.28);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--sky);
  font-family: "Cormorant Garamond", serif;
}

.page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 72px;
}

.phrase {
  margin: 0;
  color: var(--sky);
  font-size: clamp(3.3rem, 9vw, 8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-align: center;
  transition: opacity 450ms ease;
}

.phrase.is-fading {
  opacity: 0;
}

.social-links {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 18px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--sky-muted);
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 160ms ease, transform 160ms ease, color 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--sky);
  opacity: 1;
  transform: translateY(-2px);
}

.social-links a:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 5px;
  border-radius: 999px;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 720px) {
  .page {
    padding: 24px 20px 68px;
  }

  .phrase {
    font-size: clamp(2.8rem, 15vw, 5rem);
  }

  .social-links {
    bottom: 20px;
  }
}
