:root {
  --bg: #ffffff;
  --text: #222222;
  --muted: #666666;
  --line: #e5e5e5;
  --accent: #2f5cff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(900px, 90%);
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: white;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav nav a {
  margin-left: 18px;
  text-decoration: none;
  color: var(--muted);
}

.nav nav a:hover {
  color: var(--accent);
}

.brand {
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 30px;
  align-items: center;
  padding: 50px 0;
}

.avatar {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

h1 {
  margin: 0 0 8px;
  font-size: 32px;
}

.subtitle {
  margin: 0 0 20px;
  color: var(--muted);
}

.buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
}

.button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.button.primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 12px;
  font-size: 20px;
}

.item {
  margin-bottom: 20px;
}

.links a {
  color: var(--accent);
  text-decoration: none;
}

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

footer {
  text-align: center;
  padding: 40px 0;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

/* mobile */
@media (max-width: 700px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .avatar {
    margin: 0 auto;
  }

  .nav {
    flex-direction: column;
    gap: 10px;
  }

  .nav nav a {
    margin-left: 10px;
  }
}