:root {
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: canvas;
  color: canvastext;
  position: relative;
  overflow: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: -20vmax;
  pointer-events: none;
  z-index: -1;
  opacity: 0.2;
  background:
    radial-gradient(circle at 16% 22%, #a78bfa 0, transparent 40%),
    radial-gradient(circle at 84% 28%, #8b5cf6 0, transparent 38%),
    radial-gradient(circle at 48% 84%, #c4b5fd 0, transparent 36%);
  filter: blur(52px) saturate(120%);
  animation:
    drift 28s ease-in-out infinite alternate,
    pulse 10s ease-in-out infinite;
}

@keyframes drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }

  to {
    transform: translate3d(2%, 1%, 0) scale(1.04);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.16;
  }

  50% {
    opacity: 0.28;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
  }
}

.page {
  width: min(100%, 38rem);
}

.avatar {
  width: 7rem;
  height: 7rem;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin-bottom: 1rem;
}

h1,
p,
ul {
  margin: 0;
}

h1 {
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  line-height: 1.1;
}

.role {
  margin-top: 0.35rem;
  font-weight: 600;
}

.bio {
  margin-top: 0.75rem;
  max-width: 56ch;
  line-height: 1.6;
}

.links {
  list-style: none;
  padding: 0;
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a[aria-disabled='true'] {
  opacity: 0.7;
}
