:root {
  color-scheme: light;
  --background: #FAFAFA;
  --text: #000000;
  --muted: #8A8A8A;
  --card: #FFFFFF;
  --line: #E9E9E9;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue",
    Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}

.page-shell {
  width: min(100% - 40px, 724px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(88px, 14vh, 132px) 0 56px;
}

.profile {
  margin-bottom: 42px;
}

h1,
p {
  margin: 0;
  font-size: 16px;
  line-height: 1.36;
}

h1 {
  color: var(--text);
  font-weight: 500;
}

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

.bio {
  display: grid;
  gap: 24px;
  max-width: 686px;
}

a {
  color: inherit;
  text-decoration-color: currentColor;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.highlights {
  overflow: hidden;
  margin-top: 40px;
  margin-left: -24px;
  width: calc(100% + 24px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}

.muted-label {
  color: var(--muted);
}

ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 22px 24px;
  list-style: none;
}

li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 24px;
  min-height: 24px;
}

li a {
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

li span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  text-align: right;
}

li a .arrow {
  display: inline-block;
  margin-left: 5px;
  color: var(--text);
  text-align: left;
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 32px, 620px);
    padding-top: 84px;
    padding-bottom: 44px;
  }

  .profile {
    margin-bottom: 42px;
  }

  .highlights {
    margin-top: 42px;
    margin-left: -20px;
    width: calc(100% + 20px);
    border-radius: 16px;
  }

  .card-header {
    min-height: 64px;
    padding: 0 20px;
  }

  ul {
    gap: 18px;
    padding: 20px;
  }

  li {
    grid-template-columns: minmax(0, 1fr) minmax(116px, auto);
    gap: 16px;
  }
}
