@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  --background: #f3f3f1;
  --text: #2f2f2f;
  --muted: #b8b8b5;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--background);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.logo {
  width: clamp(92px, 11vw, 128px);
  height: auto;
  border-radius: 50%;
  margin-bottom: clamp(48px, 9vh, 88px);
}

.message {
  width: 100%;
  min-height: clamp(74px, 9vw, 112px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

h1 {
  margin: 0;
  max-width: 1000px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 500;
  transition:
    opacity 280ms ease,
    transform 280ms ease;
}

h1.leaving {
  opacity: 0;
  transform: translateY(14px);
}

.language-dots {
  display: flex;
  gap: 7px;
  margin-top: clamp(48px, 8vh, 72px);
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.45;
  transition: opacity 250ms ease, transform 250ms ease;
}

.dot.active {
  opacity: 1;
  transform: scale(1.35);
}

@media (max-width: 600px) {
  .page {
    padding: 32px 20px;
  }

  .logo {
    width: 84px;
    margin-bottom: 52px;
  }

  .message {
    min-height: 112px;
  }

  h1 {
    max-width: 360px;
    font-size: clamp(36px, 11vw, 52px);
    line-height: 1.1;
  }

  .language-dots {
    margin-top: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  h1,
  .dot {
    transition: none;
  }
}
