*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

.page {
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  background: #141312;
  color: #f4efe6;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 340px);
  text-align: center;
}

.avatar {
  width: 148px;
  height: 148px;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid #c4b07a;
  border-radius: 50%;
}

.avatar img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 50%;
  transform: scale(2.05);
  transform-origin: 50% 40%;
}

h1 {
  margin: 12px 0 0;
  font: 500 32px/1.15 system-ui, "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
  color: #f4efe6;
}

.role {
  margin: 8px 0 0;
  font: 500 16px/1.3 system-ui, "Segoe UI", sans-serif;
  color: #c4b07a;
}

.company {
  margin: 4px 0 0;
  font: 400 15px/1.3 system-ui, "Segoe UI", sans-serif;
  color: #cfc6b8;
}

.bio {
  margin: 10px 0 0;
  font: 400 16px/1.45 system-ui, "Segoe UI", sans-serif;
  color: #e4ddd2;
}

.links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
}

.links .btn:last-child {
  grid-column: 1 / -1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  padding: 12px 10px;
  border: 1px solid rgba(244, 239, 230, 0.45);
  border-radius: 12px;
  background: rgba(20, 19, 18, 0.35);
  color: #f4efe6;
  font: 500 15px/1.2 system-ui, "Segoe UI", sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  overflow: visible;
}

.btn .icon-play {
  width: 18px;
  height: 20px;
}

.btn:focus-visible {
  outline: 2px solid #f4efe6;
  outline-offset: 3px;
}

@media (max-width: 359px) {
  .btn {
    gap: 6px;
    padding: 12px 8px;
    font-size: 14px;
  }
}

@media (hover: hover) {
  .btn:hover {
    border-color: #f4efe6;
  }
}

@media (min-width: 640px) {
  .card {
    width: min(100%, 400px);
  }

  h1 {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
