:root {
  --bg: #0e0f11;
  --surface: #16181b;
  --border: #2a2d32;
  --text: #f2f2f0;
  --muted: #9a9ea6;
  --accent: #d9ff5b;
  --accent-text: #0e0f11;
  --radius: 20px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f3ef;
    --surface: #ffffff;
    --border: #e2e0da;
    --text: #141518;
    --muted: #5f636b;
    --accent: #141518;
    --accent-text: #f4f3ef;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
}

html,
body {
  height: 100%;
}

body {
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 420px;
  padding: 40px 32px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.identity {
  margin-bottom: 32px;
}

.monogram {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.role {
  margin-top: 8px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
}

.links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

button {
  font: inherit;
  cursor: pointer;
}

button.link {
  width: 100%;
  background: none;
  border-width: 0 0 1px;
  text-align: left;
}

.save {
  width: 100%;
  border: 0;
}

.link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
}

.link-label {
  color: var(--muted);
  font-size: 15px;
}

.link-value {
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link:hover .link-value,
.link:focus-visible .link-value {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.save {
  display: block;
  margin-top: 28px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
}

.save:hover,
.save:focus-visible {
  filter: brightness(1.08);
}

a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
  border-radius: 4px;
}

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