/* Визитка: первый экран без прокрутки. Значения — с артборда
   «Визитка · мобильный» (390×844). Цветов здесь нет, только токены. */

body {
  background-color: var(--color-night-900);
}

.card {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background-color: var(--color-night-900);
}

/* Фон — та же аватарка, размытая. Вылет за края прячет мягкую кромку блюра. */
.card__bg {
  position: absolute;
  inset: -80px;
  max-width: none;
  width: calc(100% + 160px);
  height: calc(100% + 160px);
  object-fit: cover;
  filter: blur(64px);
}

.card__veil {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    180deg,
    var(--color-scrim-strong) 0%,
    var(--color-scrim) 40%,
    var(--color-scrim-strong) 100%
  );
}

.card__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 438px;
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding: 128px var(--space-6) 44px;
  padding-top: clamp(var(--space-8), 16svh, 128px);
}

/* Свободная высота делится поровну над группой и под ней; на низком экране
   обе доли схлопываются, а не выталкивают кнопку за край. */
.card__group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  margin-top: auto;
  margin-bottom: auto;
}

.card__avatar {
  width: 128px;
  height: 128px;
  border-radius: var(--radius-full);
  object-fit: cover;
  box-shadow:
    0 0 0 2px var(--color-gold-ring),
    0 0 0 8px var(--color-gold-tint),
    0 22px 48px var(--color-scrim);
}

.card__texts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.card__headline {
  max-width: 300px;
  color: var(--color-bone);
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 42px;
  text-align: center;
  text-wrap: balance;
}

.card__subline {
  max-width: 300px;
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
  line-height: 27px;
  text-align: center;
  text-wrap: balance;
}

.card__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
}

.card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  border-radius: var(--radius-xl);
  background-image: var(--grad-gold);
  box-shadow:
    inset 0 1px 0 var(--color-sheen),
    var(--shadow-gold);
  color: var(--color-night-900);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 26px;
  text-decoration: none;
}

.card__handle {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  overflow-wrap: anywhere;
}
