:root {
  color-scheme: dark;
  --bg: #010409;
  --panel: #0d1117;
  --panel-alt: #161b22;
  --text: #f0f6fc;
  --muted: #8b949e;
  --line: #30363d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #0b1320 0%, var(--bg) 30%);
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.profile {
  width: min(860px, 100%);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.intro {
  margin-top: 18px;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 10px 0 10px;
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  font-weight: 800;
}

.tagline {
  margin: 0;
  color: #c9d1d9;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.55;
}

.avatar-wrap {
  display: flex;
  justify-content: center;
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 14px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: var(--panel-alt);
}

.bio {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 66ch;
}

.socials {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.socials a {
  text-decoration: none;
  color: #c9d1d9;
  background: var(--panel-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: .92rem;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.socials a:hover,
.socials a:focus-visible {
  background: #1f2937;
  border-color: #8b949e;
  color: #fff;
  outline: none;
}

@media (max-width: 700px) {
  .hero {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}
