* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #020617, #000);
  color: #e5e7eb;
  transition: background .3s, color .3s;
}

body.light {
  background: #f8fafc;
  color: #020617;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1.25rem;
}

.nav-links a {
  margin-right: .9rem;
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}

.nav-controls {
  display: flex;
  gap: .5rem;
}

.toggle {
  min-width: 44px;
  padding: .4rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  display: grid;
  gap: 2.8rem;
}

.glass {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.15);
}

.hero { text-align: center; }

.hero img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.focus { padding-left: 1.2rem; }

.actions {
  margin-top: 1rem;
  display: flex;
  gap: .75rem;
}

.btn {
  padding: .45rem .9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
}

.btn.primary {
  background: #38bdf8;
  color: #020617;
}

.btn.secondary {
  border: 1px solid rgba(255,255,255,.4);
  color: inherit;
}

footer {
  text-align: center;
  opacity: .7;
  font-size: .9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}
