:root {
  --bg: #ff4fa3;
  --ink: #141414;
  --ink-soft: rgba(20, 20, 20, .68);
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
}

body {
  height: 100dvh;
  overflow: hidden;
  color: var(--ink);
  background: var(--bg);
}

.stage {
  height: 100%;
  display: flex;
  align-items: safe center;
  justify-content: center;
  padding: 20px 20px max(28px, env(safe-area-inset-bottom));
  overflow-y: auto;
  scrollbar-width: none;
}

.stage::-webkit-scrollbar { display: none; }

.card {
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  animation: card-in .5s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card { animation: none; }
}

.photo {
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 24px 48px -20px rgba(110, 0, 60, .55);
}

.photo img,
.photo svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
}

.name {
  margin: 22px 0 0;
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: clamp(30px, 8.5vw, 44px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
}

.subs {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.bio {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.45;
  white-space: pre-line;
}

.join {
  margin-top: 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s ease, transform .12s ease;
}

.join:hover { background: #2e2e2e; }
.join:active { transform: scale(.985); }
.join:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .join { transition: none; }
  .join:active { transform: none; }
}

@media (min-width: 860px) {
  .card {
    width: min(920px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
  }

  .name { margin-top: 0; font-size: 52px; }
  .bio { font-size: 18px; }
  .join { max-width: 320px; }
}
