:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0b0b0b;
  color: #f5f5f5;
}

* {
  box-sizing: border-box;
}

body {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 32px 24px;
  place-items: center;
}

main {
  width: 100%;
  max-width: 420px;
  min-width: 0;
}

.profile-icon {
  display: block;
  width: 128px;
  height: 128px;
  margin: 0 auto 24px;
  padding: 8px;
  border: 1px solid #3d3d3d;
  border-radius: 50%;
  background: #000;
  overflow: hidden;
}

.profile-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Balance the D's outer corners against the B's rounded shape. */
  transform: translateX(2px);
}

nav {
  display: grid;
  gap: 16px;
}

a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  padding: 18px 24px;
  border: 1px solid #3d3d3d;
  border-radius: 12px;
  background: #181818;
  color: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.link-icon {
  flex-shrink: 0;
}

@media (hover: hover) {
  a:hover {
    border-color: #f88400;
    color: #f88400;
  }
}

a:focus-visible {
  border-color: #f88400;
  outline: 3px solid #f88400;
  outline-offset: 4px;
  color: #f88400;
}

a:active {
  border-color: #f88400;
  background: #242424;
  color: #f88400;
}

.not-found {
  text-align: center;
}

.not-found h1 {
  margin: 0;
  color: #f88400;
  font-size: 4rem;
  line-height: 1;
}

.not-found p {
  margin: 16px 0 32px;
  color: #bdbdbd;
  line-height: 1.5;
}
