.question-slot {
  height: 1px;
  overflow: hidden;
  scroll-margin-top: 80px;
  position: relative;
  background: linear-gradient(
    90deg,
    #fbfafb,
    #f4eff5 35%,
    #f4eff5 65%,
    #fbfafb
  );
  transition: background 0.4s;
}
.question-slot:before,
.question-slot:after {
  content: "";
  position: absolute;
  left: calc((100% - min(1120px, 88%)) / 2);
  width: min(1120px, 88%);
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  color: #d6c4d9;
  pointer-events: none;
  z-index: 1;
}
.question-slot:before {
  top: 0;
}
.question-slot:after {
  bottom: 0;
}
/* Preserve the existing background; pulse only the two existing divider lines. */
.question-slot[data-phase="centering"] .question-panel {
  visibility: hidden;
  animation: none;
}
.question-slot[data-phase="signalling"]:before,
.question-slot[data-phase="signalling"]:after {
  animation: profile-line-pulse 500ms ease-in-out both;
}
@keyframes profile-line-pulse {
  0%, 100% { color: #d6c4d9; }
  50% { color: var(--purple, #4f2854); }
}
html.emp-profile-presenting {
  overflow: hidden !important;
  overscroll-behavior: none;
  scroll-behavior: auto !important;
  overflow-anchor: none;
  touch-action: none;
}
html.emp-profile-presenting body {
  overscroll-behavior: none;
  pointer-events: none;
}
.question-panel {
  max-width: 1060px;
  margin: auto;
  padding: 34px 42px 38px;
  position: relative;
  text-align: center;
  animation: unfold 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.question-close {
  position: absolute;
  right: 16px;
  top: 17px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 27px;
  font-weight: 300;
  color: #777079;
  cursor: pointer;
}
.question-close:hover {
  background: #e9dfea;
}
.question-overline {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.question-steps {
  display: flex;
  gap: 4px;
}
.question-steps i {
  display: block;
  width: 20px;
  height: 3px;
  border-radius: 3px;
  background: #dacedc;
}
.question-steps i.on {
  background: var(--purple);
}
.question-panel h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.13;
  font-weight: 500;
  letter-spacing: -0.045em;
  margin: 0 0 25px;
  color: var(--ink);
}
.question-options {
  width: 100%;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.question-options button,
.linkedin-button {
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #cdbed0;
  color: var(--purple);
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s;
}
.question-options button:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
  transform: translateY(-2px);
}
.question-options button:focus-visible,
.linkedin-button:focus-visible,
.question-close:focus-visible {
  outline: 3px solid #aa78b4;
  outline-offset: 4px;
}
.question-options button:active {
  transform: translateY(0);
}
.question-note {
  font-size: 12px;
  color: #777079;
  margin: 18px 0 0;
  line-height: 1.5;
}
.question-confirm {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.question-confirm h2 {
  font-size: 28px;
  max-width: 540px;
  margin-bottom: 0;
}
.question-check {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e5d9e8;
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 23px;
  margin-bottom: 18px;
}
.linkedin-button {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}
.linkedin-button:hover {
  background: #6a2f70;
}
.linkedin-icon {
  font-weight: 700;
  font-size: 17px;
  border: 1px solid #b5a0b7;
  border-radius: 3px;
  width: 24px;
  height: 24px;
  line-height: 23px;
}
.question-slot:empty {
  height: 1px;
}
.question-panel--linkedin {
  padding-top: 24px;
  padding-bottom: 24px;
}
.question-panel.leaving {
  animation: fold 0.6s ease forwards;
}
@keyframes unfold {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fold {
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 768px) {
  .question-panel {
    padding: 32px 24px;
  }
  .question-panel h2 {
    margin-bottom: 22px;
    padding: 0 4px;
  }
  .question-close {
    right: 3px;
    top: 4px;
  }
  .question-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .question-options button {
    padding: 12px 10px;
    font-size: 14px;
    min-height: 52px;
  }
  .question-options.industry {
    grid-template-columns: minmax(0, 320px);
    justify-content: center;
  }
  .question-overline {
    font-size: 10px;
    gap: 8px;
  }
  .question-confirm {
    min-height: 218px;
  }
  .question-confirm h2 {
    font-size: 26px;
  }
  .question-note {
    font-size: 11px;
  }
}

.question-slot { overflow-anchor: none; }
.question-options button:disabled { cursor: wait; }
.question-intro { max-width: 720px; margin: 0 auto 20px; font-size: clamp(17px,2.2vw,23px); font-weight: 500; line-height: 1.35; padding-inline: 20px; }
.question-panel--cta { padding-block: 32px; }
.presentation-button { max-width: 100%; white-space: normal; }
@media(max-width:768px) {
 .question-panel { padding: 28px 18px; }
 .question-intro { padding-inline: 18px; margin-bottom: 14px; font-size: 17px; }
 .question-panel h2 { font-size: 28px; margin-bottom: 18px; }
 .question-panel--cta { padding-block: 32px; }
}
@media(max-height:500px) {
 .question-panel { padding-block: 18px; }
 .question-intro { margin-bottom: 8px; font-size: 15px; }
 .question-panel h2 { font-size: 24px; margin-bottom: 12px; }
 .question-note { margin-top: 8px; }
 .question-options.industry { display:flex; }
}
