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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #18181b;
  color: #ffffff;
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Layout ── */

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10vh 20px 40px;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 640px;
}

/* ── Nav ── */

.nav {
  display: flex;
  gap: 4px;
  margin-bottom: 56px;
}

.nav-link {
  font-size: 13px;
  color: #a1a1aa;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link--active {
  color: #5eead4;
}

/* ── Nav dropdown ── */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
}

.nav-chevron {
  font-size: 10px;
  display: inline-block;
  transition: transform 0.2s;
  margin-top: 1px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #27272a;
  border: 1px solid #52525b;
  border-radius: 12px;
  padding: 6px;
  min-width: 180px;
  z-index: 10;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s, visibility 0s linear 0.4s;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.15s, visibility 0s;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron,
.nav-dropdown.open .nav-chevron {
  transform: rotate(180deg);
}

.dropdown-item {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: #a1a1aa;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.dropdown-item:hover {
  color: #5eead4;
  background: #5eead415;
}

/* ── Hero ── */

.hero {
  margin-bottom: 48px;
}

.hero-nameplate {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-avatar {
  height: clamp(28px, 5vw, 48px);
  width: auto;
}

.hero-name {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
}

.hero-bio {
  font-size: clamp(15px, 2.5vw, 19px);
  color: #a1a1aa;
  line-height: 1.6;
  max-width: 520px;
}

/* ── Social links ── */

.social-section {
  margin-bottom: 64px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a1a1aa;
  margin-bottom: 12px;
}

.social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #27272a;
  border: 1px solid #5eead455;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  color: #a1a1aa;
  transition: color 0.15s, border-color 0.15s;
}

.social-link:hover {
  color: #5eead4;
  border-color: #5eead4;
}

.social-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── Footer ── */

.footer {
  font-size: 12px;
  color: #3f3f46;
}
