:root {
  --tum-blue: #0065bd;
  --tum-dark: #003359;
  --bg: #f4f6f8;
  --panel: #ffffff;
  --text: #1c2833;
  --muted: #5b6b78;
  --line: #dbe1e6;
  --on-blue: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --tum-blue: #64a0c8;
    --bg: #0f1820;
    --panel: #17232e;
    --text: #e8eef3;
    --muted: #9fb0be;
    --line: #2a3a47;
    --on-blue: #0f1820;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

.card {
  width: 100%;
  max-width: 560px;
  padding: 40px 32px 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
}

.avatar {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
}

h1 { margin: 0; font-size: 28px; }

.role { margin: 4px 0 16px; color: var(--muted); font-size: 15px; }

.bio { margin: 0 0 28px; font-size: 15px; }

.group { margin: 0 0 20px; text-align: left; }

.group h2 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.chips a:hover,
.chips a:focus-visible {
  border-color: var(--tum-blue);
  background: color-mix(in srgb, var(--tum-blue) 8%, transparent);
  outline: none;
}

.icon {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

span.icon {
  background: var(--tum-blue);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

footer { margin-top: 24px; font-size: 13px; }
footer a, .back a, .legal a { color: var(--muted); }

.legal { text-align: left; }
.legal h1 { font-size: 24px; }
.legal h2 { margin: 24px 0 4px; font-size: 16px; }
.legal p { margin: 0 0 12px; font-size: 14px; }
.legal .muted { color: var(--muted); }
.back { margin: 0 0 16px; font-size: 14px; }


.split { display: inline-flex; }

.split a {
  border-right: 0;
  border-radius: 999px 0 0 999px;
}

.copy {
  display: inline-flex;
  align-items: center;
  padding: 0 11px 0 9px;
  border: 1px solid var(--tum-blue);
  border-radius: 0 999px 999px 0;
  background: var(--tum-blue);
  cursor: pointer;
  transition: filter 0.15s;
}

.copy:hover,
.copy:focus-visible { filter: brightness(1.12); outline: none; }

.copy .icon {
  width: 16px;
  height: 16px;
  background: var(--on-blue);
}
