*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { color-scheme: light; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fff;
  color: #1f2328;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 24px 80px;
}

.profile {
  width: 100%;
  max-width: 520px;
}

/* ── Name block ── */
.name-block {
  margin-bottom: 24px;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  margin-bottom: 14px;
  border: 2px solid #eaeef2;
  display: block;
}

.greeting {
  font-size: 1rem;
  font-weight: 500;
  color: #57606a;
  margin-bottom: 4px;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #1f2328;
  margin-bottom: 4px;
}

.handle {
  font-size: 0.85rem;
  font-weight: 500;
  color: #0969da;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.bio {
  font-size: 0.95rem;
  color: #57606a;
  font-weight: 400;
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: #eaeef2;
  margin: 20px 0;
}

/* ── Meta ── */
.meta {
  display: grid;
  gap: 10px;
}

.meta-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: baseline;
  gap: 16px;
  font-size: 0.9rem;
}

dt {
  font-weight: 600;
  color: #57606a;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

dd {
  color: #1f2328;
  font-weight: 400;
  line-height: 1.5;
}

dd a {
  color: #0969da;
  text-decoration: none;
}
dd a:hover { text-decoration: underline; }

/* ── Socials ── */
.socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.icon-link {
  color: #57606a;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.icon-link:hover { color: #1f2328; }

/* ── Tools ── */
.tools {
  display: flex;
  gap: 10px;
  align-items: center;
}

.tools a {
  display: flex;
  opacity: 0.9;
  transition: opacity 0.15s, transform 0.15s;
}
.tools a:hover { opacity: 1; transform: translateY(-1px); }

.tools img { border-radius: 8px; }

@media (max-width: 480px) {
  body { padding: 40px 20px 60px; }
  .meta-row { grid-template-columns: 60px 1fr; gap: 12px; }
}
