:root {
  color-scheme: light;
  --bg: #f7f7f5;
  --card: #ffffff;
  --text: #171717;
  --muted: #686868;
  --line: #e7e7e4;
  --button: #171717;
  --button-text: #ffffff;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main {
  width: min(100%, 430px);
  text-align: center;
}
.card {
  padding: 32px 24px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(0,0,0,.05);
}
.avatar {
  width: 88px;
  height: 88px;
  display: block;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
}
h1 {
  margin: 0;
  font-size: clamp(28px, 7vw, 36px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.role {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}
.status {
  margin: 24px 0 14px;
  font-size: 15px;
  color: var(--muted);
}
.button {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--button);
  color: var(--button-text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 650;
  transition: transform .12s ease, opacity .12s ease;
}
.button:active { transform: scale(.985); }
.button:focus-visible { outline: 3px solid #a8a8a8; outline-offset: 3px; }
.note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.loader {
  width: 18px;
  height: 18px;
  margin: 18px auto 0;
  border: 2px solid var(--line);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .loader { animation: none; }
  .button { transition: none; }
}
