.signin-layout {
  display: grid;
  grid-template-columns: minmax(0, 595px) minmax(300px, 390px);
  gap: clamp(40px, 6vw, 96px);
  max-width: 1250px;
  margin: auto;
  padding-inline: clamp(24px, 5vw, 68px);
}
.signin-layout .auth { width: 100%; }
.sales-funnel { margin: 0; min-width: 0; }
.sales-funnel h2 {
  margin: 0 0 clamp(19px, 2.7vw, 34px);
  font: 400 clamp(34px, 4.2vw, 61px)/1.05 Baskerville, Baskervville, Georgia, serif;
  letter-spacing: -.04em;
}

.funnel-apps {
  --funnel-label-width: clamp(98px, 12vw, 135px);
  display: grid;
  max-width: 480px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.funnel-apps li {
  position: relative;
  z-index: var(--layer);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--funnel-label-width);
  align-items: center;
  min-height: clamp(32px, 3.5vw, 44px);
}
.funnel-apps li:nth-child(1) { --layer: 8; --start: 0%; --end: 5.5%; --tone: #ed5559; }
.funnel-apps li:nth-child(2) { --layer: 7; --start: 5.5%; --end: 11%; --tone: #f48949; }
.funnel-apps li:nth-child(3) { --layer: 6; --start: 11%; --end: 16.5%; --tone: #edbc49; }
.funnel-apps li:nth-child(4) { --layer: 5; --start: 16.5%; --end: 22%; --tone: #a0c04a; }
.funnel-apps li:nth-child(5) { --layer: 4; --start: 22%; --end: 27.5%; --tone: #4db78b; }
.funnel-apps li:nth-child(6) { --layer: 3; --start: 27.5%; --end: 33%; --tone: #37b8cc; }
.funnel-apps li:nth-child(7) { --layer: 2; --start: 33%; --end: 38.5%; --tone: #577de3; }
.funnel-apps li:nth-child(8) { --layer: 1; --start: 38.5%; --end: 44%; --tone: #ba65dc; }

.funnel-band {
  --rim-height: clamp(8px, 1.05vw, 14px);
  --seam-depth: 5px;
  position: relative;
  align-self: stretch;
  background: linear-gradient(#c6ddce59, #c6ddce59) right center /
    calc((var(--start) + var(--end)) * .5) 1px no-repeat;
}
.funnel-band::before {
  position: absolute;
  inset: 0 0 calc(-1 * var(--seam-depth));
  background: var(--tone);
  background:
    linear-gradient(180deg, #0e072535, transparent 30%, #fff8eb08 79%, #0f081e65 100%),
    linear-gradient(90deg, #120b2945, transparent 24%, #fff8ed35 30%, transparent 42%, transparent 70%, #fff9e83b 82%, #120b2980),
    var(--tone);
  /* Each curved edge overlaps the face below to cover the seam. */
  clip-path: polygon(
    var(--start) 0,
    calc(100% - var(--start)) 0,
    calc(100% - var(--end)) calc(100% - var(--seam-depth)),
    calc(50% + (50% - var(--end)) * .72) calc(100% - var(--seam-depth) * .45),
    50% 100%,
    calc(50% - (50% - var(--end)) * .72) calc(100% - var(--seam-depth) * .45),
    var(--end) calc(100% - var(--seam-depth))
  );
  content: "";
}
.funnel-apps li:first-child .funnel-band::before {
  top: calc(var(--rim-height) * .47);
}
.funnel-apps li:first-child .funnel-band::after {
  position: absolute;
  inset: 0 var(--start) auto;
  height: var(--rim-height);
  border: 1px solid #fff3da49;
  border-radius: 50%;
  background: var(--tone);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--tone), #1d101c 68%),
    color-mix(in srgb, var(--tone), #271b35 25%) 76%,
    color-mix(in srgb, var(--tone), #fff1dc 40%)
  );
  content: "";
}
.funnel-apps::after {
  width: calc((100% - var(--funnel-label-width)) * .9);
  height: clamp(23px, 3.2vw, 42px);
  margin: -3px 0 0 calc((100% - var(--funnel-label-width)) * .05);
  border-radius: 50%;
  border: 1px solid #e1eee368;
  background: radial-gradient(
    ellipse at center,
    #c686e7 0 5%, #ca78e142 7% 15%,
    #e1eee370 16% 17%, transparent 18% 32%,
    #e1eee353 33% 35%, #e1eee31c 36% 52%,
    #e1eee35c 53% 55%, transparent 56% 70%
  );
  content: "";
}
.funnel-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e5f0e8;
  font-size: clamp(13px, 1.35vw, 17px);
  font-weight: 500;
}
.funnel-label::before {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tone);
  content: "";
}

@media (max-width: 960px) {
  .signin-layout { grid-template-columns: minmax(0, 440px); gap: 40px; }
  .signin-layout .auth { grid-row: 1; max-width: 390px; justify-self: center; }
  .sales-funnel { padding-top: 26px; border-top: 1px solid var(--line); }
  .funnel-apps li { min-height: clamp(32px, 6vw, 42px); }
}
