:root {
  --bg: #f3f2ef;
  --card: #ffffff;
  --text: #1d2226;
  --muted: #5e6975;
  --border: #d9dde3;
  --primary: #0a66c2;
  --primary-dark: #004182;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.top-nav {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  z-index: 10;
}

.top-nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.top-nav a:hover { text-decoration: underline; }

.page {
  max-width: 920px;
  margin: 24px auto;
  padding: 0 14px 30px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  margin-bottom: 14px;
  overflow: hidden;
}

.cover {
  height: 160px;
  background: linear-gradient(120deg, #0a66c2 0%, #7bb8ff 100%);
}

.profile-main {
  padding: 0 22px 22px;
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #eef3f8;
  border: 4px solid #fff;
  margin-top: -56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a66c2;
  font-size: 34px;
  font-weight: 700;
}

h1 {
  margin: 12px 0 4px;
  font-size: 28px;
}

.headline {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.meta {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn {
  border-radius: 999px;
  padding: 9px 16px;
  border: 1px solid var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary {
  color: var(--primary);
  background: #fff;
}

.section {
  padding: 18px 22px 20px;
}

.section h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.section p,
.section li {
  line-height: 1.55;
}

.exp-item {
  padding: 8px 0;
  border-bottom: 1px solid #eef0f2;
}

.exp-item:last-child { border-bottom: none; }

.exp-role {
  font-weight: 700;
}

.exp-meta {
  color: var(--muted);
  font-size: 14px;
}

.skill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill {
  border: 1px solid #c9d4e0;
  background: #f8fbff;
  color: #0a3a73;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
}

@media (max-width: 640px) {
  .actions { flex-wrap: wrap; }
  h1 { font-size: 24px; }
  .headline { font-size: 16px; }
}
