:root {
  color-scheme: dark;
  --bg: #030716;
  --surface: #0c1729;
  --surface-hover: #102b40;
  --text: #ffffff;
  --muted: #bed4e3;
  --accent: #27d5f2;
  --border: #30465b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100svh;
  background: radial-gradient(ellipse at top, #0c192d, var(--bg) 30rem);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

main {
  width: min(100% - 32px, 760px);
  margin-inline: auto;
  padding: clamp(16px, 3vw, 32px) 0 32px;
}

.site-header {
  margin-bottom: 20px;
}

.cover {
  aspect-ratio: 4 / 1;
  max-height: 192px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.identity {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 16px);
  margin-top: 14px;
}

.profile-photo {
  flex: none;
  width: clamp(48px, 12vw, 64px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
}

h1 {
  margin: 0;
  font-size: clamp(1.6rem, 4.4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

nav {
  padding: clamp(8px, 2vw, 14px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

nav > section + section {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.network h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 8px 4px;
  color: var(--accent);
  font-size: 1.125rem;
  line-height: 1.3;
}

.social-icon {
  display: block;
  width: 1.2em;
  height: 1.2em;
  flex: none;
  color: var(--accent);
  fill: currentColor;
}

.network-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  min-height: 48px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.network-links li + li {
  border-top: 1px solid var(--border);
}

.network-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 8px;
  padding: 8px;
}

.network-link-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.link-type-badge {
  width: fit-content;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  font-size: 0.75rem;
  line-height: 1.4;
}

.link-arrow {
  flex: none;
  color: var(--accent);
}

nav a:hover, nav a:focus-visible {
  background: var(--surface-hover);
}

nav a:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
