:root {
  --bg: #000;
  --text: #f5f5f7;
  --muted: #86868b;
  --fill: rgba(255, 255, 255, 0.08);
  --fill-hover: rgba(255, 255, 255, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 100%/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
}

.avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 1.5rem;
}

.avatar {
  position: relative;
  display: block;
  border-radius: 50%;
}

/* Blurred copy of the avatar = glow in the avatar's own colors */
.glow {
  position: absolute;
  inset: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  border-radius: 50%;
  filter: blur(32px) saturate(1.8);
  opacity: 0.75;
  pointer-events: none;
  will-change: transform;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

p {
  margin: 0.75rem 0 2rem;
  font-size: 1.25rem;
  color: var(--muted);
  letter-spacing: -0.01em;
}

nav {
  display: flex;
  gap: 0.75rem;
}

nav a {
  padding: 0.7rem 1.4rem;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  background: var(--fill);
  text-decoration: none;
  transition: background 150ms ease-out, transform 100ms ease-out;
}

nav a:hover { background: var(--fill-hover); }
nav a:active { transform: scale(0.97); }

nav a.primary { background: var(--text); color: var(--bg); }
nav a.primary:hover { background: #fff; }

footer {
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.875rem;
}

footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  nav a { transition: none; }
  nav a:active { transform: none; }
}
