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

:root {
  --orange: #ff943d;
  --black: #020608;
  --text: #101010;
  --muted: #333333;
  --background: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--background);
}

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

.card {
  width: min(760px, 100%);
  text-align: center;
  animation: fadeIn 0.8s ease both;
}

.status {
  margin: 0 0 18px;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--black);
}

.logo {
  display: block;
  width: min(560px, 92vw);
  height: auto;
  margin: 0 auto 22px;
}

.message {
  margin: 0 auto;
  max-width: 720px;
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--text);
}

.contacts {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
  text-decoration: none;
  font-size: clamp(0.95rem, 1.8vw, 1rem);
  font-weight: 500;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-link:hover {
  transform: translateY(-1px);
  opacity: 0.78;
}

.icon {
  color: var(--orange);
  font-size: 1.1em;
  line-height: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  .page {
    align-items: center;
    padding: 28px 18px;
  }

  .logo {
    width: min(360px, 92vw);
    margin-bottom: 18px;
  }

  .message br {
    display: none;
  }

  .contacts {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }
}
