@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --bg: #1a182a;
  --card: #23213a;
  --line: #34314f;
  --text: #edeeff;
  --muted: #a9a8c8;
  --primary: #6270f1;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 48px 16px;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
}

a { color: inherit; }

.card {
  width: 100%;
  max-width: 540px;
  padding: 48px;
  border-radius: 28px;
  background: var(--card);
  text-align: center;
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
}

.role {
  margin: 24px 0 8px;
  color: #9aa4ff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 32px;
  font-size: 48px;
  line-height: 1.1;
}

.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  border-radius: 14px;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
}

.button + .button { margin-top: 14px; }

.button-primary {
  background: var(--primary);
  color: #fff;
}

.button-secondary {
  border: 1px solid var(--line);
}

.button:hover { filter: brightness(1.1); }

.hint {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--card);
  color: var(--muted);
}

.socials a:hover { color: var(--text); }

.imprint {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

.imprint:hover { color: var(--text); }

@media (max-width: 480px) {
  .card { padding: 32px 20px; }
  h1 { font-size: 38px; }
}

/* imprint */

.legal { text-align: left; }

.legal h1 {
  margin: 0 0 24px;
  font-size: 36px;
}

address {
  font-style: normal;
  font-size: 17px;
  line-height: 1.7;
}

.mail {
  display: inline-block;
  margin-top: 16px;
  color: #9aa4ff;
  font-size: 17px;
}

.note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.back {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

.back:hover { color: var(--text); }
