/* ===== Question streams carousel ===== */

#qs-section {
  position: relative;
  overflow: hidden;
  overflow-x: hidden;
  background: #fff url("/higher-education/assets/backgrounds/skilly-bg-hiw-teardrop-glow.png") center / cover no-repeat;
  padding: 112px 80px 80px;
  border-bottom: 1px solid #e9e9ea;
}

#qs-section > * {
  position: relative;
  z-index: 1;
}

.qs-inner {
  max-width: 1350px;
  margin: 0 auto;
}

.qs-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1f1c26;
  line-height: 1.12;
  margin: 0 0 16px;
  max-width: 860px;
}

.qs-byline {
  font-size: 20px;
  line-height: 1.65;
  color: #4c4951;
  margin: 0;
  max-width: 860px;
}

.qs-head-swap {
  position: relative;
  min-height: 118px;
  margin-bottom: 48px;
}

.qs-head-panel {
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.qs-head-panel:not(.is-active) {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  transform: translateY(8px);
}

.qs-head-panel.is-active {
  opacity: 1;
  position: relative;
  transform: none;
}

.qs-carousel {
  position: relative;
  display: grid;
}

.qs-panel {
  grid-area: 1 / 1;
  transition:
    opacity 0.45s ease,
    transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.qs-panel:not(.is-active) {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  z-index: 1;
}

.qs-panel.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.qs-panel[data-qs-panel="0"]:not(.is-active) {
  transform: translateX(-28px);
}

.qs-panel[data-qs-panel="1"]:not(.is-active) {
  transform: translateX(28px);
}

.qs-viz {
  width: 100%;
  max-width: 100%;
}

.qs-card-wrap {
  max-width: 1040px;
  margin: 0 auto;
  overflow: visible;
}

.qs-card {
  background: #fff;
  border: 1px solid #e9e9ea;
  border-radius: 16px;
  padding: 20px 22px;
  overflow: hidden;
}

.hero-chat-tilt .qs-card,
.hero-chat-tilt .qs-outcomes-analytics,
.hero-chat-tilt .hc-card--qs {
  box-shadow:
    0 1px 13px rgba(0, 0, 0, 0.08),
    0 26px 52px -22px rgba(31, 28, 38, 0.2);
}

.qs-stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 510px;
  margin: 0 auto;
  --qs-x: 28px;
}

.qs-pie-wrap {
  position: absolute;
  left: calc(50% + var(--qs-x));
  top: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  z-index: 1;
}

.qs-pie-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 18px rgba(88, 72, 247, 0.16));
}

.qs-pie-hole {
  position: absolute;
  inset: 59px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px #efedfe;
  pointer-events: none;
  opacity: 1;
}

.qs-mascot-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -54%);
  width: 64px;
  z-index: 2;
  opacity: 1;
}

.qs-mascot-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 42px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(31, 28, 38, 0.24);
  transform: translateX(-50%);
  animation: qs-mascot-shadow 2.6s ease-in-out infinite;
}

.qs-mascot {
  display: block;
  width: 64px;
  height: auto;
  animation: qs-mascot-float 2.6s ease-in-out infinite;
}

@keyframes qs-mascot-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes qs-mascot-shadow {
  0%,
  100% {
    opacity: 0.24;
    transform: translateX(-50%) scaleX(1);
  }
  50% {
    opacity: 0.18;
    transform: translateX(-50%) scaleX(0.88);
  }
}

.qs-group {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
  opacity: 0;
}

.qs-pie-play .qs-group[data-g="0"],
.qs-pie-play .qs-group[data-g="1"],
.qs-pie-play .qs-group[data-g="2"],
.qs-pie-play .qs-group[data-g="3"],
.qs-pie-play .qs-group[data-g="4"],
.qs-pie-play .qs-group[data-g="5"] {
  animation: qs-group-in 0.45s ease forwards;
}

@keyframes qs-group-in {
  to {
    opacity: 1;
  }
}

.qs-pie-done .qs-pie-hole,
.qs-pie-done .qs-mascot-wrap,
.qs-pie-done .qs-group {
  animation: none;
  opacity: 1;
}

.qs-g-pay {
  left: calc(50% + var(--qs-x) + 146px);
  top: calc(50% - 118px);
  transform: translateY(-50%);
  align-items: flex-start;
}

.qs-g-certs {
  left: calc(50% + var(--qs-x) + 142px);
  top: calc(50% + 140px);
  transform: translateY(-50%);
  align-items: flex-start;
}

.qs-g-app {
  left: calc(50% + var(--qs-x) + 36px);
  top: calc(50% + 178px);
  transform: translate(-100%, -50%);
  align-items: flex-end;
}

.qs-g-onboard {
  left: calc(50% + var(--qs-x) - 176px);
  top: calc(50% + 56px);
  transform: translate(-100%, -50%);
  align-items: flex-end;
}

.qs-g-compliance {
  left: calc(50% + var(--qs-x) - 162px);
  top: calc(50% - 98px);
  transform: translate(-100%, -50%);
  align-items: flex-end;
}

.qs-g-assign {
  left: calc(50% + var(--qs-x) + 118px);
  top: calc(50% - 186px);
  transform: translate(-100%, -50%);
  align-items: flex-end;
}

.qs-cat-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 6px;
  color: #2f1fc1;
}

.qs-q {
  width: fit-content;
  background: #fff;
  border: 1px solid #e9e9ea;
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 12.5px;
  line-height: 1;
  font-weight: 500;
  color: #36333c;
  box-shadow: 0 1px 6px rgba(31, 28, 38, 0.06);
  white-space: nowrap;
}

.qs-q.is-fly-source {
  transition: opacity 0.35s ease;
}

#qs-fly-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 500;
  overflow: visible;
}

.qs-fly-clone {
  pointer-events: none;
  margin: 0;
  box-sizing: border-box;
  white-space: nowrap;
  font-family: "Manrope", sans-serif;
  transform-origin: top left;
  will-change: transform, width, background-color, color, box-shadow;
}

.hc-user-row.is-fly-anchored.hc-show {
  transition: none !important;
}

#qs-section .hc-card--qs .hc-input-hints {
  display: flex;
}

#qs-section .hero-chat-tilt,
#qs-section .hero-chat-tilt-y,
#qs-section .hero-chat-pulse {
  transform: none !important;
  animation: none !important;
}

#qs-section .qs-card-wrap,
#qs-section .qs-card-wrap.hero-chat-wrap,
#qs-section .qs-card-wrap .hero-chat-pulse,
#qs-section .qs-card-wrap .hero-chat-tilt,
#qs-section .qs-card-wrap .hero-chat-tilt-y {
  overflow: visible;
}

.qs-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.qs-dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: #d9d5e4;
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.qs-dot.is-active {
  width: 26px;
  background: #5848f7;
}

.qs-outcomes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
  --qs-outcomes-h: 592px;
}

.qs-outcomes-grid > .qs-outcomes-chat,
.qs-outcomes-grid > .qs-outcomes-analytics-motion {
  height: var(--qs-outcomes-h);
  min-height: var(--qs-outcomes-h);
}

.qs-outcomes-chat {
  display: flex;
  min-height: 0;
}

.qs-outcomes-chat .hero-chat-wrap,
.qs-outcomes-chat .hero-chat-pulse,
.qs-outcomes-chat .hero-chat-tilt,
.qs-outcomes-analytics-motion .hero-chat-wrap,
.qs-outcomes-analytics-motion .hero-chat-pulse,
.qs-outcomes-analytics-motion .hero-chat-tilt {
  width: 100%;
  height: 100%;
  min-height: 0;
}

#qs-section .qs-outcomes-grid .hero-chat-wrap {
  perspective: 2200px;
}

#qs-section .qs-outcomes-grid .hero-chat-tilt {
  transform: rotateX(2.5deg);
}

#qs-section .qs-outcomes-chat .hero-chat-tilt-y {
  animation: qs-card-3d-idle 28s ease-in-out infinite;
}

#qs-section .qs-outcomes-analytics-motion .hero-chat-tilt-y {
  animation: qs-card-3d-idle 28s ease-in-out infinite;
  animation-delay: -14s;
}

@keyframes qs-card-3d-idle {
  0%,
  100% {
    transform: rotateX(2.5deg) rotateY(-2.5deg) translateY(0) scale(1);
  }
  25% {
    transform: rotateX(3.125deg) rotateY(-2.5deg) translateY(-3.5px) scale(1.0015);
  }
  50% {
    transform: rotateX(2.5deg) rotateY(2.5deg) translateY(0) scale(1);
  }
  75% {
    transform: rotateX(3.125deg) rotateY(2.5deg) translateY(-3.5px) scale(1.0015);
  }
}

.qs-outcomes-analytics-motion {
  min-height: 0;
}

.qs-outcomes-chat .hc-card--qs {
  height: 100%;
  min-height: 0;
  width: 100%;
  --hc-header: #1f1c26;
  --hc-accent: #5848f7;
  --hc-accent-text: #3827d9;
  --hc-accent-soft: #d4cfff;
  transform: none;
}

.qs-outcomes-chat .hc-card--qs .hc-body,
.qs-outcomes-chat .hc-card--qs.hc-expanded .hc-body {
  border-radius: 16px;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) !important;
}

.qs-outcomes-chat .hc-explore {
  display: none !important;
}

.qs-outcomes-chat .hc-stream {
  padding: 16px 18px;
  gap: 12px;
  overflow-y: auto;
  scrollbar-width: none;
}

.qs-outcomes-chat .hc-user-row {
  margin-bottom: 10px;
}

.qs-outcomes-chat .hc-answer .hc-audio {
  margin-top: 18px;
}

.qs-outcomes-chat .qs-hc-media {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.qs-outcomes-chat .qs-hc-media .hiw-srcchip {
  font-size: 11px;
}

.qs-outcomes-chat .hc-stream::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.qs-outcomes-chat .hc-personas {
  margin-left: 40px;
  gap: 10px;
}

.qs-outcomes-chat .hc-pcard {
  padding: 12px;
}

.qs-outcomes-chat .hc-pvideo {
  height: 72px;
}

.qs-outcomes-analytics-motion .qs-outcomes-analytics {
  height: 100%;
  box-sizing: border-box;
}

.qs-outcomes-analytics {
  background: #fff;
  border: 1px solid #e9e9ea;
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 1px 13px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  box-sizing: border-box;
  justify-content: flex-start;
}

.qs-outcomes-analytics-headrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.qs-outcomes-guide-av {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  overflow: hidden;
  flex: none;
  border: 1px solid #e9e9ea;
  background: #f7f6fb;
}

.qs-outcomes-guide-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qs-outcomes-analytics-title {
  font-size: 17px;
  font-weight: 800;
  color: #1f1c26;
  letter-spacing: -0.01em;
  margin: 0;
}

.qs-outcomes-viz {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: none;
}

.qs-outcomes-pie-col {
  width: 100%;
  display: flex;
  justify-content: center;
}

.qs-outcomes-stage {
  position: relative;
  width: 210px;
  height: 210px;
  min-height: 0;
  flex: none;
}

.qs-pie-wrap--outcomes {
  width: 210px;
  height: 210px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.qs-pie-svg--outcomes {
  filter: drop-shadow(0 2px 14px rgba(31, 28, 38, 0.1));
}

.qs-outcomes-reveal {
  stroke-dasharray: 615.75;
  stroke-dashoffset: 615.75;
  transition: none;
}

.qs-outcomes-pie-play .qs-outcomes-reveal {
  animation: qs-outcomes-reveal-draw var(--qs-outcomes-draw-ms, 1.1s) linear forwards;
}

@keyframes qs-outcomes-reveal-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.qs-outcomes-pie-done .qs-outcomes-reveal {
  stroke-dashoffset: 0;
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .qs-outcomes-reveal {
    stroke-dashoffset: 0;
    animation: none !important;
  }
}

.qs-pie-hole--outcomes {
  inset: 44px;
  box-shadow: inset 0 0 0 1px #e9e9ea;
}

.qs-outcomes-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 96px;
}

.qs-outcomes-center-num {
  font-size: 24px;
  font-weight: 800;
  color: #15803d;
  line-height: 1;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
}

.qs-roll-col {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  vertical-align: top;
}

.qs-roll-strip {
  display: block;
  transform: translateY(-7em);
  will-change: transform;
}

.qs-roll-strip span {
  display: block;
  height: 1em;
  line-height: 1;
  text-align: center;
}

.qs-outcomes-center-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #636168;
  margin-top: 4px;
  line-height: 1.3;
}

.qs-outcomes-legend {
  width: 100%;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.qs-outcome-legend-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #4c4951;
}

.qs-outcome-swatch {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  flex: none;
  margin-top: 5px;
}

.qs-outcome-legend-text strong {
  font-weight: 700;
  color: #1f1c26;
}

.qs-outcomes-stats {
  margin-top: 16px;
  padding: 14px 0 2px;
  border-top: 1px solid #f3f3f4;
  flex: none;
}

.qs-outcome-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid #f3f3f4;
  font-size: 13px;
}

.qs-outcomes-stats .qs-outcome-stat:first-of-type {
  border-top: none;
  padding-top: 0;
}

.qs-outcome-stat-val {
  font-weight: 800;
  color: #5848f7;
}

.qs-mobile-stream {
  display: none;
}

.qs-section-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.qs-section-cta-lead {
  display: none;
  margin: 0;
}

.qs-section-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #5848f7;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  padding: 20px 44px;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(88, 72, 247, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.qs-section-cta-btn:hover {
  background: #3827d9;
  transform: translateY(-1px);
}

.qs-section-cta-btn--mobile {
  display: none;
}

@media (max-width: 980px) {
  .qs-outcomes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #qs-fly-layer {
    display: none !important;
  }

  #qs-section {
    padding: 72px 20px 48px;
  }

  #qs-section::before,
  #qs-section::after {
    display: none;
  }

  #qs-section .qs-inner {
    display: flex;
    flex-direction: column;
  }

  #qs-section .qs-mobile-body {
    display: flex;
    flex-direction: column;
    min-height: var(--qs-mobile-body-min-h, auto);
  }

  #qs-section .qs-mobile-footer {
    flex: none;
    padding-top: 28px;
  }

  #qs-section .qs-nav {
    margin-top: 0;
  }

  #qs-section .qs-section-cta {
    margin-top: 36px;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }

  #qs-section .qs-section-cta-lead {
    display: block;
    max-width: 320px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6b6a6e;
  }

  #qs-section .qs-section-cta-lead-line {
    display: block;
  }

  #qs-section .qs-section-cta-btn--desktop {
    display: none;
  }

  #qs-section .qs-section-cta-btn--mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 28px;
    border-radius: 8px;
    box-shadow: none;
  }

  #qs-section .qs-carousel {
    flex: none;
    align-content: start;
  }

  #qs-section .qs-panel[data-qs-panel="1"]:not(.is-active) {
    display: none;
  }

  #qs-section .qs-panel[data-qs-panel="1"] {
    align-self: start;
    width: 100%;
  }

  #qs-section .qs-outcomes-chat {
    display: none !important;
  }

  #qs-section .qs-outcomes-grid {
    grid-template-columns: 1fr;
    --qs-outcomes-h: auto;
    gap: 0;
  }

  #qs-section .qs-outcomes-grid > .qs-outcomes-analytics-motion {
    height: auto;
    min-height: 0;
  }

  #qs-section .qs-outcomes-analytics-motion .hero-chat-tilt,
  #qs-section .qs-outcomes-analytics-motion .hero-chat-tilt-y {
    transform: none !important;
    animation: none !important;
  }

  #qs-section .qs-outcomes-analytics {
    padding: 20px 18px;
  }

  #qs-section .qs-outcomes-stage,
  #qs-section .qs-pie-wrap--outcomes {
    width: 168px;
    height: 168px;
  }

  #qs-section .qs-pie-hole--outcomes {
    inset: 35px;
  }

  #qs-section .qs-outcomes-center {
    width: 78px;
  }

  #qs-section .qs-outcomes-center-num {
    font-size: 20px;
  }

  .qs-mobile-stream {
    display: none;
  }

  .qs-head-panel[data-qs-head="0"].is-active .qs-mobile-stream {
    display: block;
  }

  .qs-viz--desktop {
    display: none !important;
  }

  #qs-section .qs-panel[data-qs-panel="0"] {
    display: none;
  }

  #qs-section .qs-head-swap {
    min-height: 0;
    margin-bottom: 0;
    flex: none;
  }

  #qs-section .qs-mobile-body:has(.qs-head-panel[data-qs-head="0"].is-active) .qs-head-swap {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: var(--qs-mobile-body-min-h, auto);
  }

  #qs-section .qs-head-panel[data-qs-head="0"].is-active {
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  #qs-section .qs-head-panel[data-qs-head="0"].is-active .qs-mobile-stream {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  #qs-section .qs-head-panel[data-qs-head="0"].is-active .qs-mobile-active-group {
    margin-top: auto;
  }

  #qs-section .qs-head-panel[data-qs-head="1"].is-active {
    margin-bottom: 24px;
  }

  .qs-mobile-pie-stage {
    position: relative;
    width: min(100%, 268px);
    height: 268px;
    margin: 40px auto 0;
  }

  .qs-mobile-pie-rotor {
    position: absolute;
    inset: 0;
    transform-origin: center center;
  }

  .qs-mobile-pie-center {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .qs-pie-svg--mobile {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 2px 18px rgba(88, 72, 247, 0.16));
  }

  .qs-mascot-wrap--mobile {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -54%);
    width: 62px;
    z-index: 2;
  }

  .qs-mascot-wrap--mobile .qs-mascot {
    width: 62px;
    animation: none;
  }

  .qs-mascot-wrap--mobile::after {
    display: none;
  }

  .qs-mobile-active-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 0;
    min-height: 168px;
    justify-content: flex-start;
    animation: qs-mobile-group-in 0.42s ease;
  }

  @keyframes qs-mobile-group-in {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .qs-cat-label--mobile {
    font-size: 10px;
    text-align: center;
    margin-bottom: 2px;
  }

  .qs-q--mobile {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    width: 100%;
    max-width: 340px;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qs-panel,
  .qs-head-panel,
  .qs-dot,
  .qs-mascot {
    transition: none !important;
    animation: none !important;
  }
}
