:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5d6978;
  --line: #d9dee6;
  --paper: #f5f7fb;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-soft: #d9f0ec;
  --link: #2459a6;
  --button: #19202a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), transparent 32%),
    linear-gradient(315deg, rgba(117, 89, 43, 0.1), transparent 34%),
    var(--paper);
}

a {
  color: var(--link);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.profile {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.avatar {
  width: 132px;
  height: 132px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--accent-soft);
  border: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 1rem;
  letter-spacing: 0;
}

.role {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.5;
}

.summary {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: 1.04rem;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.action-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  gap: 9px;
  padding: 0 14px 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(25, 32, 42, 0.16);
  color: var(--panel);
  background: var(--button);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 140ms ease,
    background-color 140ms ease,
    border-color 140ms ease;
}

.action-link:hover {
  transform: translateY(-1px);
  background: #0f766e;
  border-color: rgba(15, 118, 110, 0.35);
}

.action-link.is-disabled {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.icon-chip {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  color: var(--button);
  background: var(--panel);
  font-size: 0.72rem;
  font-weight: 800;
}

.is-disabled .icon-chip {
  color: var(--muted);
  background: rgba(93, 105, 120, 0.12);
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 30px;
}

article {
  min-width: 0;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 28px, 920px);
    padding: 38px 0;
  }

  .profile {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .avatar {
    width: 104px;
    height: 104px;
  }

  .details {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}
