/* Site Level Ladder — Skills2Earn "Find your level" section */
.sll {
  background: #ffffff;
  padding: 84px 0 88px;
  font-family: inherit;
  color: #0F2031;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.sll * { box-sizing: border-box; }
.sll-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.sll-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; margin-bottom: 30px;
}
.sll-eyebrow {
  margin: 0 0 10px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; color: #0A99B0;
}
.sll-title {
  margin: 0; font-size: 40px; line-height: 1.16; font-weight: 800;
  letter-spacing: -0.01em; color: #0F2031; max-width: 640px;
  font-family: "Fraunces", Georgia, serif; font-weight: 600;
}
.sll-all {
  font-size: 15.5px; font-weight: 600; color: #0F2031;
  text-decoration: none; white-space: nowrap; padding-bottom: 6px;
}
.sll-all:hover { color: #8774E8; }

/* dashed path + moving cap marker */
.sll-track { position: relative; height: 92px; margin: 6px 0 -8px; }
.sll-path { position: absolute; inset: 0; width: 100%; height: 100%; }
.sll-marker {
  position: absolute; left: 12.5%; top: 84.8%;
  width: 34px; height: 34px; border-radius: 50%;
  background: #8774E8; border: 3px solid #ffffff;
  box-shadow: 0 4px 14px rgba(15, 32, 49, 0.25);
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -50%);
  transition: left 0.65s cubic-bezier(0.5, 0, 0.15, 1), top 0.65s cubic-bezier(0.5, 0, 0.15, 1);
  z-index: 2;
}

/* staircase cards */
.sll-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; align-items: start;
}
.sll-col { margin-top: var(--sll-offset, 0px); }
.sll .sll-card {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: #F8F7FE !important; border: 1.5px solid #E6E1F7 !important; border-radius: 12px;
  padding: 20px 22px 18px; min-height: 196px;
  font-family: inherit; color: #0F2031 !important; text-decoration: none !important;
  -webkit-appearance: none; appearance: none;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.sll .sll-card:hover { border-color: #8774E8 !important; transform: translateY(-3px); }
.sll-card:focus-visible { outline: 3px solid rgba(10, 153, 176, 0.55); outline-offset: 2px; }
.sll-chip {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: #EAE5FB; color: #490663; border-radius: 999px;
  padding: 4px 11px; margin-bottom: 14px;
}
.sll-card-title { display: block; font-size: 20.5px; font-weight: 700; line-height: 1.25; color: #0F2031; }
.sll-card-dur { display: block; margin-top: 5px; font-size: 14px; color: #68788E; }
.sll-card-num {
  display: block; margin-top: 20px; font-size: 36px; font-weight: 800;
  line-height: 1; color: #CFC6F2;
}
.sll .sll-card.is-active { background: #0F2031 !important; border-color: #0F2031 !important; }
.sll-card.is-active .sll-chip { background: #8774E8; color: #ffffff; }
.sll .sll-card.is-active .sll-card-title { color: #ffffff !important; }
.sll-card.is-active .sll-card-dur { color: #A9BCD2; }
.sll-card.is-active .sll-card-num { color: #8774E8; }
.sll-under {
  margin: 10px 0 0 4px; font-size: 13.5px; color: #68788E;
}

/* detail panel */
.sll-panel {
  margin-top: 30px; background: #F8F7FE; border: 1px solid #E6E1F7;
  border-radius: 12px; padding: 30px 34px;
  display: flex; justify-content: space-between; align-items: center; gap: 40px;
}
.sll-panel-meta {
  margin: 0 0 6px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: #8774E8;
}
.sll-panel-title { margin: 0 0 8px; font-size: 26px; font-weight: 600; color: #0F2031; font-family: "Fraunces", Georgia, serif; }
.sll-panel-desc { margin: 0; font-size: 16.5px; line-height: 1.6; color: #43536A; max-width: 640px; }
.sll-panel-next { margin: 16px 0 0; font-size: 14px; color: #68788E; }
.sll-panel-next strong { color: #0F2031; font-weight: 600; }
.sll-panel-side { text-align: right; flex-shrink: 0; }
.sll-panel-btn {
  display: inline-block; background: #8774E8; color: #ffffff;
  font-size: 15.5px; font-weight: 700; text-decoration: none;
  padding: 13px 26px; border-radius: 12px; transition: background 0.25s ease;
  background: #8774E8;
}
.sll-panel-btn:hover { background: #0F2031; color: #ffffff; }
.sll-panel-count { margin: 10px 0 0; font-size: 13.5px; color: #68788E; }
.sll-panel.swap .sll-panel-main, .sll-panel.swap .sll-panel-side {
  animation: sllSwap 0.45s ease;
}
@keyframes sllSwap {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .sll { padding: 64px 0 68px; }
  .sll-title { font-size: 32px; }
  .sll-track { display: none; }
  .sll-grid { grid-template-columns: 1fr 1fr; }
  .sll-col { margin-top: 0; }
  .sll-panel { flex-direction: column; align-items: flex-start; }
  .sll-panel-side { text-align: left; }
}
@media (max-width: 560px) {
  .sll-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sll-grid { grid-template-columns: 1fr; }
  .sll-card { min-height: 0; }
  .sll-panel { padding: 24px 22px; }
}
