* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #050505;
  color: #fafafa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 5vw, 3rem);
}

.card {
  width: 100%;
  max-width: 28rem;
  text-align: center;
  padding: clamp(2rem, 6vw, 3rem) clamp(1.5rem, 5vw, 2.5rem);
}

.code {
  font-size: clamp(0.68rem, 2vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #525252;
  margin-bottom: 1.5rem;
}

.rule {
  width: 2.5rem;
  height: 1px;
  margin: 0 auto 1.75rem;
  background: linear-gradient(90deg, transparent, #404040 20%, #404040 80%, transparent);
}

h1 {
  font-size: clamp(1.65rem, 5.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1rem;
}

.message {
  font-size: clamp(0.9rem, 2.8vw, 1.02rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: #a3a3a3;
  max-width: 20rem;
  margin: 0 auto;
}

@media (max-width: 380px) {
  .code {
    letter-spacing: 0.22em;
  }

  h1 {
    letter-spacing: -0.03em;
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 2.5rem;
  }

  .message {
    font-size: 1.0625rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    animation: fadeIn 0.5s ease-out;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
