:root {
  color: #0f1b33;
  background: #eef3fb;
  font-family: "Segoe UI", Inter, system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

body {
  display: grid;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding: 24px;
  place-items: center;
}

.card {
  display: flex;
  width: min(100%, 440px);
  padding: 44px 40px 36px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  border: 1px solid #dbe4f3;
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 1px 2px rgb(15 27 51 / 4%),
    0 28px 60px -28px rgb(30 60 100 / 30%);
  text-align: center;
}

.status {
  position: relative;
  width: 72px;
  height: 72px;
}

.badge,
.ring {
  border-radius: 50%;
}

.badge {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  background: #2563eb;
  color: #fff;
}

.ring {
  position: absolute;
  inset: 0;
  background: #2563eb;
  animation: pulse 2s ease-out infinite;
}

.status.is-error .badge {
  background: #b42318;
}

.status.is-error .ring {
  display: none;
}

@keyframes pulse {
  from {
    opacity: 0.5;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(1.6);
  }
}

.copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.15;
}

p {
  margin: 0;
  color: #43536f;
  font-size: 16px;
  line-height: 1.6;
}

.primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2563eb;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.primary:hover {
  text-decoration: underline;
}

.primary:focus-visible {
  border-radius: 4px;
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
}

.hint {
  color: #55647f;
  font-size: 13px;
  line-height: 1.55;
}

.brand {
  display: flex;
  width: 100%;
  padding-top: 20px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid #e3eaf5;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.brand-mark {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
}

.brand-accent {
  color: #2563eb;
}

[hidden] {
  display: none !important;
}

@media (max-width: 520px) {
  .card {
    padding: 36px 24px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ring {
    display: none;
  }
}
