:root {
  color-scheme: dark;
  font-family: Vazirmatn, Vazir, ui-sans-serif, system-ui, sans-serif;
  background: #09090b;
  color: #fafafa;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, .09), transparent 36rem),
    #09090b;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

main {
  position: relative;
  width: min(92vw, 34rem);
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid #27272a;
  border-radius: 1rem;
  background: rgba(9, 9, 11, .78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
  backdrop-filter: blur(16px);
}

.icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  border: 1px solid #3f3f46;
  border-radius: .75rem;
  background: #18181b;
  color: #a1a1aa;
}

.icon svg { width: 1.4rem; height: 1.4rem; }

.code {
  margin: 0 0 .75rem;
  color: #a1a1aa;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
}

h1 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  line-height: 1.4;
  letter-spacing: -.025em;
}

p {
  max-width: 25rem;
  margin: 1rem auto 0;
  color: #a1a1aa;
  font-size: .95rem;
  line-height: 1.9;
}

.rule {
  width: 3rem;
  height: 1px;
  margin: 1.75rem auto 0;
  background: #3f3f46;
}

footer {
  margin-top: 1.25rem;
  color: #71717a;
  font-size: .75rem;
  direction: ltr;
}

@media (prefers-reduced-motion: no-preference) {
  main { animation: enter .55s ease-out both; }

  @keyframes enter {
    from { opacity: 0; transform: translateY(10px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}
