.courses-nav .is-active {
  color: var(--blue);
}

.courses-nav .is-active::after {
  transform: scaleX(1);
}

.courses-hero {
  position: relative;
  overflow: hidden;
  padding: 12px 0 0;
  background:
    radial-gradient(circle at 85% 25%, rgba(19, 45, 92, 0.04), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7f6f4 100%);
}

.courses-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(19, 45, 92, 0.08), transparent);
}

.courses-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  gap: 24px;
  align-items: center;
  min-height: 360px;
  margin-top: 0;
}

.courses-hero-copy {
  position: relative;
  z-index: 1;
  padding: 12px 0 12px;
}

.courses-hero-copy h1,
.feature-title,
.courses-cta-copy h2,
.level-head h2 {
  font-family: "CMU Serif", "Times New Roman", serif;
}

.courses-hero-copy h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(42px, 4.7vw, 68px);
  max-width: 620px;
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.courses-hero-text {
  max-width: 500px;
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: #3b4b6a;
}

.courses-hero-text .no-wrap {
  white-space: nowrap;
}

.courses-hero-art {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 100%;
  padding-right: 4%;
  margin-top: 0;
  pointer-events: none;
}

.courses-hero-art img {
  width: min(100%, 640px);
  object-fit: contain;
  opacity: 0.22;
  filter: grayscale(0.2) brightness(0.95);
  transform: translateX(6px);
}

.levels-section {
  position: relative;
  padding: 20px 0 16px;
}

.levels-kicker {
  margin: 0;
  text-align: center;
  color: var(--blue);
  font-size: clamp(28px, 3vw, 40px);
  font-family: "CMU Serif", "Times New Roman", serif;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
}

.levels-section .title-line.centered {
  margin: 6px auto 0;
}

.levels-intro {
  display: block;
  max-width: 760px;
  margin: 14px auto 6px;
  text-align: center;
  color: #5f6d87;
  font-size: 16px;
  line-height: 1.55;
  width: 100%;
}

.levels-grid {
  margin-top: 2px;
}

.levels-figure {
  margin: 0;
  display: flex;
  justify-content: center;
}

.levels-figure img,
.levels-figure video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Video livelli: non deve invadere la parte testuale */
.levels-video {
  width: min(100%, 860px);
}

.course-features {
  padding: 0 0 46px;
  margin-top: 28px;
}

.feature-block + .feature-block {
  margin-top: 26px;
}

.feature-title {
  margin: 0;
  text-align: center;
  color: var(--blue);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
  font-weight: 500;
}

.feature-grid {
  margin-top: 16px;
}

.feature-grid-five {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-item {
  position: relative;
  min-height: 100%;
  padding: 24px 18px 20px;
  text-align: center;
  border: 1px solid rgba(200, 154, 71, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  box-shadow: 0 14px 30px rgba(19, 45, 92, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(19, 45, 92, 0.1);
  border-color: rgba(200, 154, 71, 0.4);
}

.feature-number {
  margin-bottom: 10px;
  color: rgba(19, 45, 92, 0.24);
  font-size: clamp(21px, 2.2vw, 31px);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 700;
  line-height: 1;
}

.feature-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 12px;
  color: var(--gold);
}

.feature-item h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 17px;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

.feature-item p {
  margin: 0;
  color: #314567;
  font-size: 14px;
  line-height: 1.6;
}

.feature-item.compact {
  padding-top: 24px;
}

.courses-cta {
  padding: 14px 0 18px;
}

.courses-cta-box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  min-height: 96px;
  padding: 18px 24px 14px 170px;
  border-radius: 0;
  background:
    linear-gradient(180deg, #173768 0%, #0f2b5a 100%);
  box-shadow: none;
}

.courses-cta-box::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 50%;
  width: 150px;
  height: 88px;
  transform: translateY(-50%);
  background: url("solo_logo_banner_finale.png") left center / contain no-repeat;
  opacity: 0.42;
  pointer-events: none;
}

.courses-cta-copy {
  position: relative;
  z-index: 1;
  padding-left: 0;
}

.courses-cta-copy h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(18px, 1.8vw, 28px);
  line-height: 1.1;
  font-weight: 500;
  font-family: "CMU Serif", "Times New Roman", serif;
}

.courses-cta-copy p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.courses-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn-gold {
  color: var(--white);
  background: #d8a116;
  box-shadow: none;
}

.btn-outline-light {
  color: var(--white);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.78);
}

.level-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 28, 51, 0.38);
}

.level-modal-overlay[hidden] {
  display: none;
}

.level-modal {
  position: relative;
  width: min(1100px, 100%);
  padding: 24px 28px 26px;
  border-radius: 12px;
  background: rgba(244, 245, 247, 0.96);
  box-shadow: 0 18px 52px rgba(16, 34, 61, 0.22);
}

.level-modal-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: center;
  background: transparent;
  border-radius: 12px;
}

.level-modal-main {
  padding: 36px 36px 28px;
  background: #f4f4f3;
  border: 1px solid rgba(19, 45, 92, 0.08);
  border-radius: 12px;
  color: var(--blue);
}

.level-modal-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.level-modal-main h2 {
  margin: 0;
  color: var(--blue);
  font-family: "CMU Serif", "Times New Roman", serif;
  font-size: clamp(34px, 3vw, 54px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.level-modal-subtitle {
  margin: 18px 0 0;
  max-width: 560px;
  color: #4f5d7b;
  font-size: 18px;
  line-height: 1.45;
}

.level-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 118px;
  padding: 18px 14px;
  border-radius: 12px;
  background: rgba(19, 45, 92, 0.04);
  border: 1px solid rgba(19, 45, 92, 0.08);
  text-align: center;
}

.metric-number {
  display: block;
  color: var(--blue);
  font-size: clamp(26px, 2vw, 40px);
  font-weight: 700;
  line-height: 1.1;
}

.metric-label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #55657e;
  text-transform: lowercase;
}

.level-modal-list {
  margin-top: 28px;
}

.level-modal-list h3 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
}

.level-modal-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.level-modal-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: #2d3d5d;
  font-size: 18px;
}

.level-modal-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(120, 157, 65, 0.12);
  color: #7ca31d;
  font-size: 14px;
  font-weight: 700;
}

.level-modal-side {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: min(100%, 430px);
  max-width: 430px;
  aspect-ratio: 1 / 1;
  margin: 32px auto 0;
  padding: 34px 28px 30px;
  border-radius: 12px;
  background: linear-gradient(180deg, #062d54 0%, #0e335b 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  color: var(--white);
  text-align: center;
}

.level-modal-side > * {
  width: 100%;
}

.level-modal-side-kicker {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.level-modal-side h3 {
  margin: 0;
  color: white;
  font-family: "CMU Serif", "Times New Roman", serif;
  font-size: clamp(28px, 2vw, 42px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.level-modal-side-text {
  margin: 18px 0 0;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.45;
}

.level-modal-action {
  margin-top: 28px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #d8a116;
  color: #0f2d52;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 18px 20px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(216, 161, 22, 0.18);
}

.level-modal-action:hover,
.level-modal-action:focus-visible {
  transform: translateY(-1px);
}

.quiz-result-modal {
  width: min(620px, 100%);
  padding: 0;
  overflow: hidden;
  background: #f4f4f3;
}

.quiz-result-content {
  padding: 44px 48px 42px;
  text-align: center;
}

.quiz-result-content h2 {
  margin: 0;
  color: var(--blue);
  font-family: "CMU Serif", "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  line-height: 1;
}

.quiz-result-level {
  margin-top: 20px;
  color: var(--gold);
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 800;
  line-height: 1;
}

.quiz-result-label {
  margin: 8px 0 0;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.quiz-result-copy {
  margin: 20px auto 0;
  max-width: 480px;
  color: #42516a;
  font-size: 16px;
  line-height: 1.55;
}

.quiz-result-course {
  display: grid;
  gap: 6px;
  margin: 22px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(200, 154, 71, 0.42);
  background: rgba(255, 255, 255, 0.64);
  color: #42516a;
}

.quiz-result-course span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiz-result-course strong {
  color: var(--blue);
  font-size: 17px;
}

.quiz-result-email {
  margin: 18px 0 0;
  color: #53627a;
  font-size: 14px;
  line-height: 1.45;
}

.quiz-result-button {
  display: inline-block;
  width: auto;
  margin-top: 24px;
  text-decoration: none;
  font-size: 14px;
}

.flow-modal {
  max-width: 1180px;
}

.level-flow-inner {
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.75fr);
  align-items: center;
}

.flow-main {
  padding: 4px 4px 4px 0;
}

.flow-step-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.flow-main h2 {
  margin: 0;
  color: var(--blue);
  font-family: "CMU Serif", "Times New Roman", serif;
  font-size: clamp(40px, 3vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.flow-step-subtitle {
  margin: 18px 0 0;
  color: #42516a;
  font-size: 17px;
  line-height: 1.5;
}

.flow-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 28px;
  color: var(--blue);
}

.flow-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7a879d;
  font-size: 14px;
  font-weight: 600;
}

.flow-step-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(19, 45, 92, 0.08);
  color: var(--blue);
  font-size: 14px;
}

.flow-step-item.is-current {
  color: var(--blue);
}

.flow-step-item.is-current span {
  background: var(--gold);
  color: var(--blue);
}

.flow-step-line {
  width: 45px;
  height: 2px;
  background: rgba(19, 45, 92, 0.16);
}

.flow-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.flow-form-field {
  margin-bottom: 18px;
}

.flow-form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
}

.required-asterisk {
  color: #d12d2d;
  font-weight: 800;
}

.required-legend {
  margin: 18px 0 0;
  color: #5c6881;
  font-size: 13px;
  font-weight: 600;
}

.flow-form-field input {
  width: 100%;
  height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(19, 45, 92, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.25);
  color: var(--blue);
  font-size: 18px;
  outline: none;
  box-sizing: border-box;
}

.flow-form-field input::placeholder {
  color: #72809a;
}

.flow-form-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(216, 161, 22, 0.16);
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  color: #2d3d5d;
  font-size: 15px;
  line-height: 1.45;
}

.consent-check input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.flow-result {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 430px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding: 30px 28px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #062d54 0%, #0e335b 100%);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.quiz-modal {
  max-width: 1180px;
  width: min(1180px, calc(100vw - 32px));
  padding: 24px 28px 26px;
  border-radius: 12px;
  background: rgba(244, 245, 247, 0.96);
  box-shadow: 0 18px 52px rgba(16, 34, 61, 0.22);
}

.quiz-modal-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 18px;
  min-height: 620px;
}

.quiz-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px 18px 22px;
  border-radius: 12px 0 0 12px;
  background: linear-gradient(180deg, #062d54 0%, #0e335b 100%);
  color: var(--white);
}

.quiz-sidebar-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.quiz-question-index {
  margin-top: 12px;
  color: var(--white);
  font-size: clamp(28px, 2.1vw, 40px);
  font-weight: 800;
  line-height: 1;
}

.quiz-progress-bar {
  position: relative;
  width: 100%;
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.quiz-progress-bar span {
  display: block;
  width: 5%;
  height: 100%;
  border-radius: 999px;
  background: var(--gold);
}

.quiz-progress-text {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.quiz-time-label {
  margin-top: 38px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.82);
}

.quiz-time-value {
  margin-top: 10px;
  color: var(--white);
  font-size: clamp(28px, 2vw, 38px);
  font-weight: 800;
  line-height: 1;
}

.quiz-skip-hint {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.5;
}

.quiz-main-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 26px 18px;
  border: 1px solid rgba(19, 45, 92, 0.08);
  border-radius: 12px;
  background: #f4f4f3;
}

.quiz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.quiz-type {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.quiz-phase-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 32px;
  border-radius: 999px;
  background: #0a2f60;
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 0 12px;
}

.quiz-main-panel h2 {
  margin: 0;
  color: var(--blue);
  font-family: "CMU Serif", "Times New Roman", serif;
  font-size: clamp(34px, 2.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.quiz-audio-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 18px 16px 18px 20px;
  border-radius: 14px;
  background: rgba(19, 45, 92, 0.06);
  border: 1px solid rgba(19, 45, 92, 0.08);
}

.quiz-audio-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
}

.quiz-audio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  color: var(--blue);
  font-size: 18px;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 16px 18px;
  border: 1px solid rgba(19, 45, 92, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--blue);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.quiz-option:hover,
.quiz-option:focus-visible {
  border-color: rgba(19, 45, 92, 0.4);
  box-shadow: 0 0 0 2px rgba(19, 45, 92, 0.06);
}

.quiz-option.is-selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(216, 161, 22, 0.22);
}

.quiz-option-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(19, 45, 92, 0.4);
  background: rgba(255, 255, 255, 0.25);
  font-weight: 700;
}

.quiz-option-text {
  font-size: 18px;
  font-weight: 500;
}

.quiz-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
}

#quiz-validation-message {
  color: #6a788d;
  font-size: 16px;
  font-style: italic;
}

.quiz-next-button {
  min-width: 260px;
  padding: 18px 22px;
  border: 0;
  border-radius: 12px;
  background: #d8a116;
  color: #0f2d52;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(216, 161, 22, 0.18);
}

@media (max-width: 980px) {
  .quiz-modal-layout {
    grid-template-columns: 1fr;
  }

  .quiz-sidebar {
    border-radius: 18px 18px 0 0;
  }

  .quiz-options {
    grid-template-columns: 1fr;
  }

  .quiz-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .quiz-next-button {
    width: 100%;
  }
}

.flow-result-header {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.flow-result h3 {
  margin: 0;
  color: var(--white);
  font-family: "CMU Serif", "Times New Roman", serif;
  font-size: clamp(30px, 2.2vw, 42px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.flow-result ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.flow-result li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.4;
}

.flow-result li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(216, 161, 22, 0.18);
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.flow-continue {
  margin-top: 22px;
  font-size: 18px;
}

@media (max-width: 860px) {
  .level-flow-inner {
    grid-template-columns: 1fr;
  }

  .flow-form-grid {
    grid-template-columns: 1fr;
  }

  .flow-result {
    min-height: auto;
  }
}

.level-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  background: rgba(19, 45, 92, 0.08);
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

body.is-modal-open {
  overflow: hidden;
}

@media (max-width: 1220px) {
  .levels-figure {
    margin-top: 0;
  }
}

@media (max-width: 860px) {
  .level-modal-inner {
    grid-template-columns: 1fr;
  }

  .level-modal-side {
    padding-top: 42px;
  }
}

@media (max-width: 560px) {
  .level-modal-overlay {
    padding: 14px;
  }

  .quiz-result-content {
    padding: 38px 24px 30px;
  }

  .level-modal {
    padding: 18px 16px 20px;
  }

  .level-modal-main {
    padding: 28px 20px 18px;
  }

  .level-modal-side {
    padding: 40px 18px 20px;
  }

  .level-metrics {
    grid-template-columns: 1fr;
  }

  .level-modal-list li {
    font-size: 16px;
  }
}

@media (max-width: 1220px) {
  .levels-figure {
    margin-top: 0;
  }
}

@media (max-width: 1080px) {
  .courses-hero-grid,
  .courses-cta-box,
  .feature-grid-five,
  .feature-grid-four {
    grid-template-columns: 1fr;
  }

  .courses-hero {
    padding-top: 12px;
  }

  .courses-hero-art {
    min-height: 220px;
    order: -1;
  }

  .courses-hero-art img {
    width: min(100%, 320px);
  }

  .courses-cta-copy {
    padding-left: 0;
  }

  .courses-cta-box {
    padding-left: 120px;
  }

  .courses-cta-box::before {
    left: 24px;
    width: 120px;
    height: 72px;
  }

  .courses-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .levels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .levels-kicker {
    font-size: 28px;
    letter-spacing: 0.03em;
  }

  .levels-intro {
    font-size: 15px;
  }
}

@media (max-width: 760px) {
  .courses-hero-copy h1 {
    font-size: clamp(40px, 10vw, 62px);
  }

  .courses-hero-text {
    font-size: 16px;
  }

  .feature-title {
    font-size: 34px;
  }

  .feature-number {
    font-size: 24px;
  }
}

@media (max-width: 560px) {
  .levels-grid {
    grid-template-columns: 1fr;
  }

  .level-head span {
    font-size: 18px;
    padding-bottom: 4px;
  }

  .courses-cta-box {
    padding-left: 24px;
  }

  .courses-cta-box::before {
    display: none;
  }

  .courses-cta-actions .btn,
  .hero-actions .btn {
    width: 100%;
  }
}
