:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  background: #090a0d;
  color: #f5f5f7;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 15%, rgba(110, 118, 255, .20), transparent 36%),
    radial-gradient(circle at 78% 82%, rgba(255, 112, 151, .16), transparent 38%),
    #090a0d;
}

.card {
  position: relative;
  width: min(100%, 440px);
  padding: 46px 40px 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 28px;
  background: rgba(21, 22, 28, .82);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, #2a2d3e, #14151b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 12px 32px rgba(0, 0, 0, .30);
}

.mark::before,
.mark::after,
.mark span {
  content: "";
  grid-area: 1 / 1;
  width: 34px;
  height: 34px;
  border: 2px solid transparent;
  border-left-color: #f7f7fa;
  border-radius: 50%;
}

.mark::before { transform: rotate(-8deg) scale(.82); opacity: .48; }
.mark::after { transform: rotate(9deg) scale(1.06); opacity: .22; }

.eyebrow {
  margin: 0 0 8px;
  color: #a4a7b2;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(25px, 6vw, 32px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

#message {
  min-height: 48px;
  margin: 0 auto 26px;
  color: #a7a9b3;
  font-size: 15px;
  line-height: 1.55;
}

#message.error { color: #ff8b8b; }

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(105deg, #6677ff, #d76dda 52%, #ff8d67);
  box-shadow: 0 10px 28px rgba(144, 95, 230, .25);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .16s ease, filter .16s ease;
}

.button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.button:focus-visible { outline: 3px solid rgba(139, 141, 255, .48); outline-offset: 3px; }
.button[hidden] { display: none; }

.hint {
  margin: 18px 0 0;
  color: #6f727d;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 520px) {
  .card { padding: 38px 24px 32px; border-radius: 24px; }
}

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