.registration-intro {
  margin: -.25rem 0 .4rem;
  color: #4c5f7e;
  line-height: 1.55;
}

.form-card .signup-choice-select {
  color: #172644;
  font-weight: 600;
}

.form-card .signup-choice-select:required:invalid {
  color: #7b879b;
  font-weight: 400;
}

.form-card .signup-choice-select option {
  color: #172644;
  font-weight: 500;
}

.registration-overview > p:not(.eyebrow) {
  max-width: 560px;
}

.signup-profile-preview {
  overflow: hidden;
  margin-top: 1.8rem;
  border: 1px solid #d7e3f4;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16, 45, 101, .12);
}

.signup-profile-preview-heading {
  padding: 1.3rem 1.25rem 1rem;
  text-align: center;
}

.signup-profile-preview-heading > span {
  color: #1767e8;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.signup-profile-preview-heading h2 {
  margin: .35rem 0 .3rem;
  color: #071b45;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.15;
}

.signup-profile-preview-heading p {
  margin: 0;
  color: #536783;
  font-size: .88rem;
  line-height: 1.45;
}

.signup-profile-carousel {
  position: relative;
  min-height: 415px;
  overflow: hidden;
  padding: 1rem 1rem 4.2rem;
  background: radial-gradient(circle at 50% 40%, rgba(23, 103, 232, .13), transparent 45%), linear-gradient(180deg, #edf4ff, #fafcff);
}

.signup-profile-card {
  position: absolute;
  top: 1rem;
  left: 50%;
  width: min(306px, calc(100% - 40px));
  overflow: hidden;
  border: 1px solid #d7e3f4;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(7, 27, 69, .2);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(.82);
  transition: transform .7s ease, opacity .7s ease, filter .7s ease;
}

.signup-profile-card.is-active {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

.signup-profile-card.is-prev {
  z-index: 2;
  opacity: .5;
  filter: saturate(.7);
  transform: translateX(calc(-50% - 195px)) scale(.76) rotate(-3deg);
}

.signup-profile-card.is-next {
  z-index: 2;
  opacity: .5;
  filter: saturate(.7);
  transform: translateX(calc(-50% + 195px)) scale(.76) rotate(3deg);
}

.signup-profile-card-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: .65rem;
  align-items: center;
  padding: .75rem .8rem;
}

.signup-profile-card-head > div {
  min-width: 0;
}

.signup-profile-card-head strong,
.signup-profile-card-head > div span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signup-profile-card-head strong {
  color: #071b45;
  font-size: .88rem;
}

.signup-profile-card-head > div span {
  color: #536783;
  font-size: .72rem;
}

.signup-profile-logo {
  position: relative;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .8);
  border-radius: 13px;
  color: #fff;
  font-family: "Arial Black", Inter, sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .28);
  box-shadow: 0 5px 12px rgba(7, 27, 69, .22), inset 0 0 0 1px rgba(255, 255, 255, .22);
}

.signup-profile-logo::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 8px;
}

.signup-profile-logo-gg { background: linear-gradient(145deg, #ef8cc5, #7d43d7); }
.signup-profile-logo-st { background: linear-gradient(145deg, #e0a34b, #8c3a19); }
.signup-profile-logo-ac { background: linear-gradient(145deg, #2daec2, #245fc0); }
.signup-profile-logo-bbr {
  border-radius: 50%;
  background: linear-gradient(145deg, #216ed0, #0c234f);
  font-size: 12px;
}
.signup-profile-logo-bbr::after { border-radius: 50%; }

.signup-profile-scene {
  position: relative;
  display: grid;
  min-height: 218px;
  align-content: end;
  overflow: hidden;
  padding: 1rem;
  color: #fff;
  isolation: isolate;
}

.signup-profile-scene::before,
.signup-profile-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.signup-profile-scene::after {
  z-index: -1;
  background: linear-gradient(180deg, transparent 15%, rgba(3, 17, 49, .85) 100%);
}

.signup-profile-scene-store::before { background: linear-gradient(135deg, #ec8fc5, #7d4ede); }
.signup-profile-scene-restaurant::before {
  background: url('images/signup-restaurant-profile.webp') center / cover no-repeat;
}

.signup-profile-scene-professional::before {
  background: url('images/signup-professional-profile.webp') 64% center / cover no-repeat;
}
.signup-profile-scene-contractor::before { background: linear-gradient(135deg, #16386f, #1e83c7); }

.signup-profile-scene-icon {
  position: absolute;
  top: 2rem;
  right: 1.4rem;
  font-size: 4.25rem;
  filter: drop-shadow(0 10px 12px rgba(3, 17, 49, .22));
}

.signup-profile-category {
  align-self: start;
  justify-self: start;
  margin-bottom: auto;
  border-radius: 999px;
  background: rgba(10, 42, 100, .82);
  padding: .4rem .65rem;
  font-size: .73rem;
  font-weight: 850;
}

.signup-profile-scene strong {
  max-width: 245px;
  font-size: 1.15rem;
  line-height: 1.14;
}

.signup-profile-scene small {
  margin-top: .35rem;
  color: rgba(255, 255, 255, .88);
}

.signup-profile-actions {
  display: grid;
  grid-template-columns: .8fr .9fr 1.25fr;
  gap: .4rem;
  padding: .55rem;
}

.signup-profile-actions span {
  border: 1px solid #d7e3f4;
  border-radius: 9px;
  padding: .55rem .35rem;
  color: #071b45;
  text-align: center;
  font-size: .7rem;
  font-weight: 850;
}

.signup-profile-actions span:last-child {
  border-color: transparent;
  background: linear-gradient(90deg, #1767e8, #4338e8);
  color: #fff;
}

.signup-profile-controls {
  position: absolute;
  right: 0;
  bottom: 1rem;
  left: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
}

.signup-profile-controls button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #d7e3f4;
  border-radius: 50%;
  background: #fff;
  color: #071b45;
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
}

.signup-profile-dots {
  display: flex;
  gap: .35rem;
}

.signup-profile-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(83, 103, 131, .35);
  transition: width .2s ease, background-color .2s ease;
}

.signup-profile-dots span.is-active {
  width: 20px;
  border-radius: 999px;
  background: #ff8b13;
}

.signup-welcome-note {
  display: grid;
  gap: .2rem;
  margin: .2rem 0;
  border: 1px solid #cfe0fb;
  border-radius: 14px;
  background: #f2f7ff;
  color: #173c78;
  padding: .85rem 1rem;
  line-height: 1.45;
}

.signup-welcome-note span {
  color: #71809a;
  font-size: .78rem;
  font-weight: 400;
}

.referral-entry {
  border: 1px solid #d8e2f2;
  border-radius: 14px;
  background: #f8fbff;
  padding: .8rem 1rem;
}

.referral-entry summary {
  color: #12366f;
  cursor: pointer;
  font-weight: 800;
}

.referral-entry[open] summary {
  margin-bottom: .7rem;
}

.setup-checklist {
  margin: 1.25rem 0;
  border: 1px solid #dbe6f8;
  border-radius: 24px;
  background: linear-gradient(145deg, #fff 0%, #f6f9ff 100%);
  box-shadow: 0 18px 48px rgba(13, 48, 111, .09);
  padding: clamp(1.15rem, 3vw, 1.8rem);
}

.setup-checklist-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.setup-checklist-heading h2,
.setup-checklist-heading p {
  margin: .2rem 0;
}

.setup-checklist-heading > strong {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #e9f1ff;
  color: #1553ba;
  padding: .55rem .85rem;
  font-size: .85rem;
}

.setup-progress {
  height: 10px;
  margin: 1.15rem 0;
  overflow: hidden;
  border-radius: 999px;
  background: #e6edf8;
}

.setup-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1166e8, #5c46f4);
}

.setup-task-list {
  display: grid;
  gap: .7rem;
}

.setup-task {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: .8rem;
  border: 1px solid #dce5f2;
  border-radius: 16px;
  background: #fff;
  color: #10234a;
  padding: .85rem 1rem;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.setup-task:hover {
  border-color: #2875ec;
  box-shadow: 0 10px 22px rgba(18, 80, 183, .1);
  transform: translateY(-1px);
}

.setup-task > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #e9f1ff;
  color: #1553ba;
  font-weight: 900;
}

.setup-task.complete > span {
  background: #dff7e8;
  color: #0c7a3c;
}

.setup-task div {
  display: grid;
  gap: .15rem;
}

.setup-task small {
  color: #62708a;
  line-height: 1.4;
}

.setup-task em {
  color: #1553ba;
  font-size: .82rem;
  font-style: normal;
  font-weight: 800;
}

.setup-task.complete em {
  color: #0c7a3c;
}

@media (max-width: 660px) {
  .signup-profile-preview {
    margin-top: 1.25rem;
  }

  .signup-profile-carousel {
    min-height: 410px;
    padding-inline: .5rem;
  }

  .signup-profile-card.is-prev,
  .signup-profile-card.is-next {
    opacity: 0;
  }

  .setup-checklist-heading {
    display: grid;
  }

  .setup-checklist-heading > strong {
    justify-self: start;
  }

  .setup-task {
    grid-template-columns: 38px 1fr;
  }

  .setup-task em {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signup-profile-card,
  .signup-profile-dots span {
    transition: none;
  }
}
