:root {
  color-scheme: dark;
  --bg: #0b0b0e;
  --surface: #17171d;
  --surface-hover: #202028;
  --border: #2a2a33;
  --text: #f2f2f5;
  --text-muted: #9a9aa6;
  --accent: #7dd3fc;
  --radius: 14px;
  --max-width: 420px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  display: flex;
  justify-content: center;
  padding: 2.5rem 1rem 3rem;
}

.hub {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.avatar {
  border-radius: 50%;
  border: 2px solid var(--border);
}

.name {
  margin: 0.25rem 0 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.bio {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 32ch;
}

.socials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.link-btn:hover,
.link-btn:focus-visible {
  background: var(--surface-hover);
}

.link-btn:active {
  transform: scale(0.98);
}

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

.link-btn svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.link-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.projects h2 {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: center;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer p {
  margin: 0;
}
