:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  color: #f5f8fd;
  background: #0d1b30;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 34px 24px;
  background: radial-gradient(ellipse at 50% 40%, #1b3655 0%, #132840 34%, #0d1b30 72%);
}
.landing { width: 100%; max-width: 430px; }
.profile { display: flex; align-items: center; gap: 25px; margin: 0 0 32px; }
.avatar {
  display: block;
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #758ba6;
  box-shadow: 0 7px 26px #040b153d;
}
.profile-copy { min-width: 0; }
h1 { font-size: 31px; line-height: 1.15; letter-spacing: -.025em; font-weight: 700; margin: 0 0 12px; }
.subtitle { color: #bdccdd; font-size: 18px; line-height: 1.4; margin: 0; }
.join-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  min-height: 61px;
  padding: 17px 21px;
  border: 1px solid #7099cb66;
  border-radius: 10px;
  background: #2f70bd;
  box-shadow: 0 6px 22px #040b152b;
  color: #fff;
  font: 600 16px/1.4 Arial, Helvetica, sans-serif;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 140ms ease, transform 140ms ease;
}
.join-button svg { width: 22px; height: 22px; flex: 0 0 22px; }
.join-button .button-arrow { width: 20px; height: 20px; flex-basis: 20px; margin-left: auto; }
.join-button:hover:not(:disabled) { background: #3478c7; }
.join-button:active:not(:disabled) { transform: translateY(1px); }
.join-button:focus-visible { outline: 3px solid #b9d8ff; outline-offset: 5px; }
.join-button:disabled { opacity: .72; cursor: progress; }
.join-status { min-height: 2.9em; margin: 15px 0 0; font-size: 12px; line-height: 1.45; text-align: center; color: #bdccdd; overflow-wrap: anywhere; }
.join-status[data-state="error"] { color: #ffbcaf; }
.noscript-note { color: #ffbcaf; font-size: 13px; line-height: 1.5; text-align: center; }
.pixel-fallback { position: absolute; width: 1px; height: 1px; }
@media (max-width: 480px) {
  .landing { max-width: 380px; }
  .profile { gap: 20px; margin-bottom: 29px; }
  .avatar { width: 96px; height: 96px; flex-basis: 96px; }
  h1 { font-size: clamp(22px, 6.3vw, 29px); margin-bottom: 9px; }
  .subtitle { font-size: 16px; }
  .join-button { min-height: 60px; padding: 17px 19px; font-size: 15px; }
}
@media (max-width: 350px) {
  body { padding: 28px 20px; }
  .profile { gap: 16px; }
  .avatar { width: 84px; height: 84px; flex-basis: 84px; }
  h1 { font-size: 22px; }
  .subtitle { font-size: 14px; }
  .join-button { gap: 12px; padding: 16px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
