:root {
  --bg: #f7f8fa;
  --bg-accent: #eef2f7;
  --card: #ffffff;
  --text: #1f2430;
  --muted: #6b7280;
  --line: #e7ebf0;
  --accent: #5b8def;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px 20px;
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(60% 60% at 15% 10%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(50% 50% at 90% 85%, var(--bg-accent) 0%, rgba(238, 242, 247, 0) 65%);
}

.card {
  width: 100%;
  max-width: 520px;
  padding: 48px 40px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 50px -30px rgba(31, 36, 48, 0.25);
  animation: rise 0.6s ease both;
}

.logo {
  display: inline-block;
  margin-bottom: 28px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: #f1f5ff;
  border-radius: 999px;
}

h1 {
  margin: 0 0 14px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
}

.lead {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.dots::after {
  content: "";
  animation: dots 1.8s steps(1, end) infinite;
}

.progress {
  height: 4px;
  margin: 0 auto 32px;
  overflow: hidden;
  background: var(--line);
  border-radius: 999px;
}

.progress span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  animation: slide 2.2s ease-in-out infinite;
}

.mail {
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.mail:hover { border-bottom-color: var(--accent); }

.footer {
  font-size: 13px;
  color: #9aa1ad;
}

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

@keyframes dots {
  0%   { content: ""; }
  25%  { content: "."; }
  50%  { content: ".."; }
  75%  { content: "..."; }
}

@keyframes slide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

@media (max-width: 480px) {
  .card { padding: 36px 24px; }
  h1 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .progress span { width: 100%; }
}
