:root { color-scheme: light; --bg: #0196fa; --white: #fff; }
* { box-sizing: border-box; margin: 0; }
body {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: var(--bg) url("/bg.svg") center / cover no-repeat;
  color: var(--white);
  font: 600 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { display: grid; justify-items: center; gap: 28px; text-align: center; }
h1 { line-height: 0; }
.avatar {
  display: block;
  width: min(62vw, 240px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(2, 40, 82, 0.35);
}
.avatar.small { width: min(44vw, 160px); }
nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
nav a:hover, nav a:focus-visible { background: var(--white); color: var(--bg); outline: none; }
nav svg { width: 20px; height: 20px; fill: currentColor; }
a.text { color: var(--white); }
@media (prefers-reduced-motion: reduce) { nav a { transition: none; } }
