:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #16181d;
  --muted: #5f6673;
  --line: #e4e7ec;
  --accent: #2f5bea;
  --radius: 20px;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px 16px;
  background:
    radial-gradient(60rem 30rem at 15% -10%, #e6ecff 0%, transparent 60%),
    radial-gradient(50rem 30rem at 110% 110%, #eaf6f1 0%, transparent 60%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 420px;
  padding: 40px 32px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -12px rgba(16, 24, 40, .12);
  text-align: center;
  animation: rise .5s ease-out both;
}

.avatar {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--card), 0 0 0 5px var(--line);
}

h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 650;
  letter-spacing: -.02em;
}

.role {
  margin: 6px 0 28px;
  color: var(--muted);
  font-size: 1rem;
}

.role .sep { opacity: .6; }

.links {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .15s, background .15s, transform .15s;
}

.btn svg { width: 18px; height: 18px; }

.btn:hover { border-color: #c9ced8; background: #fafbfc; transform: translateY(-1px); }

.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: #2549c9; border-color: #2549c9; }

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

footer {
  color: var(--muted);
  font-size: .8125rem;
}

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

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

@media (max-width: 420px) {
  .card { padding: 32px 20px 24px; }
}
