@media (prefers-color-scheme: light) {
  :root { --hover-bg: #f3f4f6; }
}

@media (prefers-color-scheme: dark) {
  :root { --hover-bg: #161b22; }
}

body {
  background-color: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

main {
  width: 100%;
  max-width: 420px;
}

.profile-photo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 1.5rem;
}

h1 {
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.role {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.role a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.role a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

ul li a {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}

ul li a:hover {
  color: var(--accent);
  background-color: var(--hover-bg);
  border-color: var(--accent);
}

ul li a svg {
  flex-shrink: 0;
  opacity: 0.6;
}

ul li a:hover svg {
  opacity: 1;
}

.link-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.link-label {
  font-size: 0.875rem;
  font-weight: 600;
}

.link-desc {
  font-size: 0.775rem;
  color: var(--muted);
}
