.layout:has(#login-panel[hidden]) { max-width: 760px; }
.registration:has(#login-panel[hidden]) { display: block; }
.registration:has(#login-panel[hidden]) .poster { display: none; }
#signup-panel { max-width: 660px; margin-inline: auto; }

.signup-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(44px, 17vw, 134px);
  align-items: start;
  gap: 7px clamp(4px, 1.4vw, 14px);
}
#signup-panel #form-title {
  color: #201615;
  font-size: clamp(30px, 8.2vw, 64px);
  letter-spacing: -.042em;
}
#form-title > span { display: block; }
.signup-checkers {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  aspect-ratio: 200 / 185;
  margin-top: .18rem;
}
#signup-panel .form-lead {
  grid-column: 1 / -1;
  margin: 0 0 8px;
  max-width: 31rem;
}

#signup-panel #signup-form { margin-top: 16px; }

#signup-panel .niche-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(7px, 1.65vw, 13px);
}
#signup-panel .niche-option {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  min-height: clamp(174px, 46vw, 292px);
  padding: clamp(9px, 2.45vw, 18px);
  gap: 5px;
  overflow: hidden;
  border: 1px solid var(--brand-line);
  border-radius: clamp(13px, 2.5vw, 21px);
  color: var(--brand-burgundy);
  background: var(--brand-paper);
  cursor: pointer;
}
#signup-panel .niche-option:has(input:checked) {
  border-color: var(--brand-red);
  color: var(--brand-cream);
  background: var(--brand-red);
}
.niche-option::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: auto -12% 18% -13%;
  height: clamp(16px, 4.7vw, 32px);
  color: var(--brand-red);
  transform: skewX(-24deg);
  background: repeating-conic-gradient(currentColor 0% 25%, transparent 0% 50%) 0 0 / auto 100%;
  background-size: clamp(16px, 4.7vw, 32px) 100%;
}
.niche-option:has(input:checked)::before { color: var(--brand-cream); }
.niche-heading {
  display: flex;
  align-items: center;
  gap: clamp(3px, .9vw, 8px);
  padding-right: clamp(16px, 4vw, 28px);
  color: inherit;
}
.niche-heading .icon {
  width: clamp(17px, 4.5vw, 33px);
  height: clamp(17px, 4.5vw, 33px);
}
.niche-heading strong {
  font: italic 900 clamp(18px, 5vw, 36px)/1 "Tuk Display", "Arial Narrow", sans-serif;
  letter-spacing: -.025em;
}
.niche-description {
  max-width: 19ch;
  font-size: clamp(11px, 2.8vw, 17px);
  line-height: 1.3;
}
.niche-photo {
  position: absolute;
  z-index: -1;
  inset: auto -12% -9% auto;
  width: 91%;
  height: auto;
  max-height: 68%;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}
.niche-option[data-niche="retail"] .niche-photo {
  width: 74%;
  bottom: -7%;
  right: -2%;
}
#signup-panel .niche-option .choice-dot {
  position: absolute;
  top: clamp(9px, 2.35vw, 17px);
  right: clamp(9px, 2.35vw, 17px);
  display: grid;
  width: clamp(16px, 4vw, 25px);
  height: auto;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid currentColor;
  background: transparent;
  color: inherit;
}
#signup-panel .niche-option:has(input:checked) .choice-dot::after {
  content: "";
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: currentColor;
}
.niche-option .soon-tag { position: absolute; bottom: 8px; left: 8px; }
.signup-password { position: relative; }
.signup-password input { width: 100%; padding-inline-end: 49px; }
.signup-password-toggle {
  position: absolute;
  right: 3px;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--brand-burgundy);
  cursor: pointer;
}
.password-slash { display: none; }
.signup-password-toggle[data-visible] .password-slash { display: block; }
#signup-panel .submit-button {
  font-family: "Tuk Display", "Arial Narrow", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(21px, 5.2vw, 33px);
  letter-spacing: -.015em;
  min-height: clamp(55px, 10vw, 72px);
}
