:root {
  --bg: #0b1220;
  --bg-accent: #13203a;
  --card: rgba(255, 255, 255, 0.04);
  --card-stroke: rgba(255, 255, 255, 0.1);
  --text: #eaf0fb;
  --muted: #9aa8c2;
  --accent: #2f6fed;
  --accent-soft: #16a394;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f7fb;
    --bg-accent: #e8eefb;
    --card: rgba(255, 255, 255, 0.85);
    --card-stroke: rgba(16, 32, 64, 0.1);
    --text: #131a2a;
    --muted: #5b6880;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 32px 20px;
  background:
    radial-gradient(1100px 520px at 50% -12%, var(--bg-accent), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.stage {
  width: 100%;
  max-width: 520px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 44px 32px 38px;
  border: 1px solid var(--card-stroke);
  border-radius: 22px;
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -32px rgba(6, 14, 32, 0.65);
  animation: rise 520ms cubic-bezier(0.22, 0.7, 0.3, 1) both;
}

.mark {
  line-height: 0;
  margin-bottom: 4px;
  filter: drop-shadow(0 10px 22px rgba(47, 111, 237, 0.35));
}

h1 {
  margin: 0;
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  font-size: clamp(15px, 2.4vw, 17px);
  font-weight: 500;
  color: var(--text);
  opacity: 0.9;
}

.note {
  margin: 0;
  max-width: 38ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 6px 14px;
  border: 1px solid var(--card-stroke);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 0 0 rgba(22, 163, 148, 0.55);
  animation: pulse 2.4s ease-out infinite;
}

.footer {
  font-size: 12.5px;
  color: var(--muted);
  opacity: 0.85;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 148, 0.5);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(22, 163, 148, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 148, 0);
  }
}

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

@media (max-width: 420px) {
  .card {
    padding: 34px 22px 30px;
    border-radius: 18px;
  }
}
