/* Cadet College public landing — navy / indigo EdTech. Scoped to .bp-cadet-landing */

.bp-cadet-landing {
  --cl-navy: #0f1c3f;
  --cl-navy-2: #162456;
  --cl-indigo: #3730a3;
  --cl-blue: #1d4ed8;
  --cl-purple: #4f46e5;
  --cl-success: #059669;
  --cl-amber: #d97706;
  --cl-weak: #dc2626;
  --cl-bg: #f4f6fb;
  --cl-surface: #ffffff;
  --cl-text: #0f172a;
  --cl-muted: #64748b;
  --cl-border: #e2e8f0;
  --cl-radius: 12px;
  --cl-shadow: 0 8px 24px rgba(15, 28, 63, 0.08);
  background: var(--cl-bg);
  color: var(--cl-text);
  overflow-x: clip;
}

.bp-cadet-landing img {
  max-width: 100%;
  height: auto;
}

.bp-cadet-landing .container {
  max-width: 1140px;
}

.cl-kicker {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cl-indigo);
}

.cl-section {
  padding: 1.5rem 0;
}

.cl-section--compact {
  padding: 0.75rem 0;
}

.cl-section--compact .cl-section__head {
  margin-bottom: 0.75rem;
}

.cl-section--compact .cl-empty {
  padding: 1rem 0.85rem;
}

.cl-section--muted {
  background: var(--cl-surface);
}

.cl-section__head {
  max-width: 40rem;
  margin-bottom: 1.15rem;
}

.cl-section__head h2,
.cl-hero__title,
.cl-cta h2 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cl-section__head p {
  color: var(--cl-muted);
  margin-bottom: 0;
  font-size: 1rem;
}

.cl-hero__lead {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
  font-size: 1rem;
}

.cl-section__head--compact {
  margin-bottom: 1.25rem;
}

.cl-btn {
  border-radius: 8px;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cl-btn--lg {
  padding: 0.75rem 1.4rem;
}

.cl-btn--sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.875rem;
  min-height: 44px;
}

.cl-btn--block {
  width: 100%;
}

.cl-btn--primary {
  background: var(--cl-blue);
  border-color: var(--cl-blue);
  color: #fff;
}

.cl-btn--primary:hover,
.cl-btn--primary:focus {
  background: var(--cl-indigo);
  border-color: var(--cl-indigo);
  color: #fff;
}

.cl-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.cl-btn--ghost:hover,
.cl-btn--ghost:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.cl-btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--cl-navy);
}

.cl-btn--light:hover,
.cl-btn--light:focus {
  background: #eef2ff;
  color: var(--cl-navy);
}

.cl-btn--secondary {
  background: var(--cl-indigo);
  border-color: var(--cl-indigo);
  color: #fff;
}

.cl-btn--secondary:hover,
.cl-btn--secondary:focus {
  background: var(--cl-navy);
  border-color: var(--cl-navy);
  color: #fff;
}

.cl-btn--outline {
  background: var(--cl-surface);
  border: 1px solid var(--cl-indigo);
  color: var(--cl-indigo);
}

.cl-btn--outline:hover,
.cl-btn--outline:focus {
  background: #eef2ff;
  border-color: var(--cl-indigo);
  color: var(--cl-navy);
}

.cl-btn:active {
  transform: translateY(1px);
}

.cl-btn:disabled,
.cl-btn[aria-disabled="true"],
.cl-btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

.cl-nav {
  background: var(--cl-navy);
  padding: 0.65rem 0;
  overflow-x: clip;
}

.cl-nav .container {
  min-width: 0;
}

.cl-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  min-height: 44px;
  flex: 1 1 auto;
  color: #fff;
  text-decoration: none;
}

.cl-nav__brand:hover {
  color: #fff;
}

.cl-nav__logo {
  height: 36px;
  width: auto;
}

.cl-nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.cl-nav__product {
  font-weight: 700;
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cl-nav__label {
  font-size: 0.72rem;
  opacity: 0.78;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cl-nav .navbar-collapse {
  max-width: 100%;
}

.cl-nav__links .nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.cl-nav__links .nav-link:hover,
.cl-nav__links .nav-link:focus {
  color: #fff;
}

.cl-nav__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.cl-nav__toggler {
  border-color: rgba(255, 255, 255, 0.35);
  min-width: 44px;
  min-height: 44px;
}

.cl-hero {
  background: var(--cl-navy);
  color: #fff;
  padding: 1.5rem 0;
}

.cl-hero .cl-kicker {
  color: #c7d2fe;
}

.cl-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
}

.cl-hero__title {
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
}

.cl-hero__title span {
  color: #a5b4fc;
}

.cl-hero__lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.cl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.cl-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.cl-hero__trust strong {
  display: block;
  font-size: 1.25rem;
}

.cl-hero__trust span {
  font-size: 0.8rem;
  opacity: 0.75;
}

.cl-hero__visual {
  position: relative;
  min-height: 0;
}

.cl-hero__image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--cl-radius);
}

.cl-hero__placeholder {
  height: 140px;
  border-radius: var(--cl-radius);
  background: linear-gradient(160deg, var(--cl-navy-2), var(--cl-indigo));
  position: relative;
  overflow: hidden;
}

.cl-hero__shield,
.cl-hero__paper {
  position: absolute;
}

.cl-hero__shield {
  inset: 16% auto auto 10%;
  width: 72px;
  height: 72px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #c7d2fe;
}

.cl-hero__paper {
  right: 10%;
  top: 18%;
  width: 38%;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.55rem;
}

.cl-hero__paper span {
  display: block;
  height: 8px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 99px;
  margin-bottom: 0.5rem;
}

.cl-hero__paper span.is-short {
  width: 55%;
}

.cl-hero__chips {
  position: absolute;
  inset: auto 4% 6% 4%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cl-hero__chips li {
  background: rgba(15, 28, 63, 0.78);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cl-hero__personal {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--cl-radius);
}

.cl-hero__hello {
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.cl-hero__personal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.92rem;
}

.cl-hero__personal-row a {
  color: #c7d2fe;
}

.cl-quicknav {
  background: var(--cl-bg);
  padding: 1rem 0 0.25rem;
}

.cl-quicknav__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cl-quicknav__list > li {
  min-width: 0;
}

.cl-quicknav__list a {
  width: 100%;
}

.cl-cat-grid,
.cl-path-grid,
.cl-subject-grid,
.cl-college-grid,
.cl-quiz-grid,
.cl-level-grid,
.cl-check-grid,
.cl-stats {
  display: grid;
  gap: 1.25rem;
}

.cl-cat-grid > *,
.cl-path-grid > *,
.cl-subject-grid > *,
.cl-college-grid > *,
.cl-quiz-grid > *,
.cl-level-grid > *,
.cl-check-grid > *,
.cl-stats > * {
  min-width: 0;
}

.cl-cat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cl-cat-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cl-cat-card {
  background: var(--cl-surface);
  border-radius: var(--cl-radius);
  box-shadow: var(--cl-shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--cl-border);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cl-cat-card:hover,
.cl-cat-card:focus {
  color: inherit;
  box-shadow: var(--cl-shadow);
}

.cl-cat-card__media {
  position: relative;
  height: 140px;
  background: var(--cl-navy-2);
}

.cl-cat-card__media img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.cl-cat-card__icon {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(15, 28, 63, 0.75);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cl-cat-card__body {
  padding: 1rem 1.1rem 1.15rem;
}

.cl-cat-card__body h3 {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}

.cl-cat-card__body p {
  margin: 0;
  color: var(--cl-muted);
  font-size: 0.9rem;
}

.cl-explorer-toolbar,
.cl-explore-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.cl-search,
.cl-explore-filters .form-select,
.cl-topic-form .form-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
}

.cl-chips,
.cl-chip-scroller {
  display: flex;
  gap: 0.45rem;
}

.cl-chips {
  flex-wrap: wrap;
}

.cl-chip-scroller {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.cl-chip-scroller .cl-chip {
  flex: 0 0 auto;
}

.cl-chip__count {
  margin-left: 0.35rem;
  font-weight: 700;
  opacity: 0.8;
}

.cl-chip {
  border: 1px solid var(--cl-border);
  background: var(--cl-surface);
  color: var(--cl-text);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.cl-chip:hover,
.cl-chip:focus {
  background: #eef2ff;
  border-color: var(--cl-indigo);
  color: var(--cl-navy);
}

.cl-chip.is-active,
.cl-chip[aria-pressed="true"] {
  background: var(--cl-navy);
  border-color: var(--cl-navy);
  color: #fff;
  box-shadow: inset 0 0 0 2px #c7d2fe;
}

.cl-chip:disabled,
.cl-chip[aria-disabled="true"],
.cl-chip.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.cl-college-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cl-college-card {
  background: var(--cl-surface);
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius);
  box-shadow: var(--cl-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}

.cl-college-card.is-hidden,
.cl-college-card.is-paged,
.cl-quiz-grid .bp-quiz-card.is-hidden {
  display: none;
}

.cl-college-card__media {
  height: 72px;
  background: #e8edf7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cl-indigo);
  font-size: 1.25rem;
}

.cl-college-card__media img {
  width: 100%;
  height: 72px;
  object-fit: cover;
}

.cl-college-card__img.cl-img-deferred {
  background: #e8edf7;
}

.cl-college-card__body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.cl-college-card__body h3 {
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.3;
}

.cl-explorer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.cl-college-count {
  margin: 0;
  color: var(--cl-muted);
  font-weight: 600;
}

.cl-college-more {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.cl-college-more [hidden] {
  display: none;
}

.cl-college-card__meta,
.cl-muted {
  color: var(--cl-muted);
  font-size: 0.88rem;
  margin: 0;
}

.cl-college-card__meta span + span::before {
  content: " · ";
}

.cl-college-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.cl-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: #eef2ff;
  color: var(--cl-indigo);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.cl-tag--success {
  background: #ecfdf5;
  color: var(--cl-success);
}

.cl-path-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cl-path-card,
.cl-subject-card,
.cl-level-card {
  background: var(--cl-surface);
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius);
  box-shadow: var(--cl-shadow);
  padding: 1.35rem;
  min-width: 0;
}

a.cl-path-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-top: 3px solid var(--cl-indigo);
}

a.cl-path-card:nth-child(2) {
  border-top-color: var(--cl-blue);
}

a.cl-path-card:nth-child(3) {
  border-top-color: var(--cl-navy);
}

a.cl-path-card p {
  margin: 0;
  color: var(--cl-muted);
  flex: 1;
}

a.cl-path-card .cl-btn {
  margin-top: auto;
  align-self: flex-start;
  pointer-events: none;
}

a.cl-path-card:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

.cl-path-card h3,
.cl-subject-card h3,
.cl-level-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.cl-path-note {
  margin: 1.5rem 0 0;
  font-weight: 600;
  color: var(--cl-navy);
}

.cl-subject-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cl-subject-card {
  background: var(--subject-bg, var(--cl-surface));
}

.cl-subject-card:focus-within,
.cl-college-card:focus-within,
.cl-cat-card:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

.cl-subject-card__emoji {
  font-size: 1.4rem;
}

.cl-progress {
  height: 6px;
  background: rgba(15, 28, 63, 0.12);
  border-radius: 99px;
  overflow: hidden;
}

.cl-progress span {
  display: block;
  height: 100%;
  max-width: 100%;
  background: var(--subject-color, var(--cl-blue));
}

.cl-topic-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.85rem;
  align-items: end;
  background: var(--cl-bg);
  padding: 1.1rem;
  border-radius: var(--cl-radius);
}

.cl-topic-card {
  background: var(--cl-surface);
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius);
  box-shadow: var(--cl-shadow);
  padding: 0.85rem 1rem;
  min-width: 0;
}

.cl-topic-form__row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.cl-weak-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--cl-radius);
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
}

.cl-weak-box h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.cl-weak-box ul,
.cl-level-list,
.cl-journey {
  margin: 0;
  padding-left: 1.1rem;
}

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

.cl-example-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cl-amber);
  margin-bottom: 0.35rem;
}

.cl-level-cta,
.cl-cta__actions,
.cl-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cl-feature-row {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.cl-feature-row li,
.cl-check-grid li {
  background: var(--cl-surface);
  border: 1px solid var(--cl-border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.cl-check-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}

.cl-check-grid li::before {
  content: "✓ ";
  color: var(--cl-success);
}

.cl-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: none;
}

.cl-steps li {
  background: var(--cl-surface);
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius);
  padding: 1.1rem;
}

.cl-steps span {
  display: block;
  font-weight: 800;
  color: var(--cl-indigo);
  margin-bottom: 0.5rem;
}

.cl-steps h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.cl-explore-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.bp-cadet-landing .bp-quiz-card {
  border-radius: var(--cl-radius);
  box-shadow: var(--cl-shadow);
  min-width: 0;
}

.bp-cadet-landing .bp-quiz-card:focus-within {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

.cl-explore-count {
  font-size: 0.9rem;
  color: var(--cl-muted);
  margin-bottom: 1rem;
}

.cl-quiz-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cl-stats {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.cl-stats li,
.cl-stat {
  background: var(--cl-surface);
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius);
  box-shadow: var(--cl-shadow);
  padding: 0.85rem 0.75rem;
}

.cl-stats strong {
  display: block;
  font-size: 1.6rem;
  color: var(--cl-navy);
}

.cl-stats span {
  color: var(--cl-muted);
  font-size: 0.88rem;
}

.cl-cta {
  background: var(--cl-navy);
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}

.cl-cta h2 {
  margin-bottom: 0.75rem;
}

.cl-cta p {
  max-width: 36rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
}

.cl-cta__actions {
  justify-content: center;
}

.cl-empty {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--cl-surface);
  border: 1px dashed var(--cl-border);
  border-radius: var(--cl-radius);
}

.cl-empty--inline {
  padding: 1.25rem;
}

.cl-empty__icon {
  font-size: 1.8rem;
  color: var(--cl-indigo);
  display: block;
  margin-bottom: 0.6rem;
}

.cl-empty h3 {
  font-size: 1.15rem;
}

.cl-loading {
  min-height: 4.5rem;
  border-radius: var(--cl-radius);
  background: linear-gradient(90deg, #e8edf7 25%, #f8fafc 50%, #e8edf7 75%);
  background-size: 200% 100%;
  animation: cl-shimmer 1.2s ease-in-out infinite;
}

@keyframes cl-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.cl-alert {
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius);
  background: var(--cl-surface);
  color: var(--cl-text);
  padding: 0.85rem 1rem;
}

.cl-alert--error {
  border-color: #fecaca;
  background: #fef2f2;
  color: var(--cl-weak);
}

.bp-cadet-landing .cl-btn:focus-visible,
.bp-cadet-landing .cl-chip:focus-visible,
.bp-cadet-landing .nav-link:focus-visible,
.bp-cadet-landing select:focus-visible,
.bp-cadet-landing input:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .cl-cat-grid,
  .cl-cat-grid--4,
  .cl-path-grid,
  .cl-college-grid,
  .cl-quiz-grid,
  .cl-level-grid,
  .cl-steps,
  .cl-subject-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cl-topic-form,
  .cl-check-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .cl-section {
    padding: 2.25rem 0;
  }

  .cl-section--compact {
    padding: 1.25rem 0;
  }

  .cl-section__head {
    margin-bottom: 1.25rem;
  }

  .cl-search {
    max-width: 28rem;
  }

  .cl-explore-filters .form-select {
    width: auto;
    min-width: 10.5rem;
  }

  .cl-hero {
    padding: 2.25rem 0;
  }

  .cl-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2rem;
  }

  .cl-hero__title {
    font-size: 2rem;
  }

  .cl-hero__image,
  .cl-hero__placeholder {
    height: 220px;
  }

  .cl-quicknav__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .cl-cta {
    padding: 2rem 0;
  }

  .cl-hero__visual {
    min-height: 0;
  }

  .cl-hero__chips {
    position: static;
    margin-top: 0.75rem;
  }

  .cl-cat-grid,
  .cl-cat-grid--4,
  .cl-path-grid,
  .cl-college-grid,
  .cl-quiz-grid,
  .cl-level-grid,
  .cl-steps,
  .cl-subject-grid,
  .cl-topic-form,
  .cl-check-grid {
    grid-template-columns: 1fr;
  }

  .cl-nav__actions {
    margin-top: 0.75rem;
  }

  .cl-search,
  .cl-explore-filters .form-select {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cl-hero__title {
    font-size: 1.75rem;
  }

  .cl-hero__actions .btn,
  .cl-cta__actions .btn,
  .cl-nav__actions .btn {
    width: 100%;
  }
}

button.cl-subject-card {
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  cursor: pointer;
}

button.cl-subject-card h3,
button.cl-subject-card p {
  margin: 0;
}

button.cl-subject-card .cl-btn {
  margin-top: auto;
  pointer-events: none;
}

button.cl-subject-card:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

.cl-subject-grid {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 480px) {
  .cl-subject-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .cl-subject-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .cl-subject-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.cl-topic-step {
  margin: 0.85rem 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cl-indigo);
}

.cl-topic-pick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.cl-chips[hidden],
.cl-chip-scroller[hidden],
.cl-topic-pick[hidden],
.cl-topic-quizzes[hidden],
.cl-empty[hidden] {
  display: none !important;
}

.cl-topic-quizzes {
  display: grid;
  gap: 0.65rem;
}

.cl-topic-quiz {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.75rem 0.9rem;
  background: var(--cl-surface);
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius);
  color: inherit;
  text-decoration: none;
}

.cl-topic-quiz:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

.cl-progress-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.cl-progress-card {
  background: var(--cl-surface);
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius);
  box-shadow: var(--cl-shadow);
  padding: 0.9rem 1rem;
  min-width: 0;
}

.cl-progress-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cl-indigo);
}

.cl-progress-card__value {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cl-navy);
}

.cl-progress-rows,
.cl-progress-activity {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cl-progress-row strong {
  font-size: 0.95rem;
}

.cl-progress-activity li,
.cl-progress-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  min-height: 44px;
}

.cl-progress-activity a {
  color: var(--cl-navy);
  font-weight: 600;
}

@media (min-width: 768px) {
  .cl-progress-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cl-step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.cl-step-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  background: var(--cl-surface);
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius);
  box-shadow: var(--cl-shadow);
  padding: 0.9rem 1rem;
}

.cl-step-card h3 {
  margin: 0;
  font-size: 1rem;
}

.cl-step-card p,
.cl-step-card .cl-check-grid {
  margin: 0;
}

.cl-step-card .cl-btn {
  margin-top: auto;
  align-self: flex-start;
}

.cl-step-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.cl-step-card__actions .cl-btn {
  margin-top: 0;
}

@media (min-width: 768px) {
  .cl-step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cl-video-empty {
  max-width: 36rem;
}

.cl-video-empty__title {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: var(--cl-navy);
}

.cl-video-empty p {
  margin: 0 0 0.75rem;
}

.cl-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.cl-video-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 44px;
  min-width: 0;
  padding: 0.75rem;
  background: var(--cl-surface);
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius);
  color: inherit;
  text-decoration: none;
}

.cl-video-card img {
  width: 100%;
  height: auto;
  max-height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.cl-video-card__title {
  font-weight: 700;
  color: var(--cl-navy);
}

.cl-video-card__duration {
  font-size: 0.8rem;
  color: var(--cl-muted);
}

@media (min-width: 768px) {
  .cl-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cl-explore-filters .form-select,
#clQuizClear {
  flex: 1 1 9.5rem;
  width: auto;
  max-width: 100%;
}

.bp-cadet-landing .cl-quiz-grid {
  gap: 0.75rem;
}

.bp-cadet-landing .bp-quiz-card {
  padding: 0.85rem;
}

.bp-cadet-landing .bp-share-modal__close,
.bp-cadet-landing .bp-btn-sm {
  min-width: 44px;
  min-height: 44px;
}

.bp-cadet-landing .bp-share-modal {
  max-width: calc(100vw - 1.5rem);
}

.bp-cadet-landing .cl-quicknav__list {
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: none;
}

.bp-cadet-landing .cl-quicknav__list a {
  width: auto;
}

.bp-cadet-landing .em-footer,
.bp-cadet-landing .bp-section--footer {
  padding: 1.5rem 0;
  overflow-x: clip;
}

.bp-cadet-landing .em-footer__grid,
.bp-cadet-landing .bp-footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.5rem;
  min-width: 0;
}

.bp-cadet-landing .em-footer__list a,
.bp-cadet-landing .bp-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0;
}

.bp-cadet-landing .em-footer__legal {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .bp-cadet-landing .em-footer__grid,
  .bp-cadet-landing .bp-footer-links {
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  }
}

.bp-cadet-landing .bp-share-btn,
.bp-cadet-landing .bp-share-url-copy,
.bp-cadet-landing .modal .btn {
  min-height: 44px;
  min-width: 44px;
}

.bp-cadet-landing .cl-hero__title,
.bp-cadet-landing .cl-section__head h2,
.bp-cadet-landing .cl-step-card h3,
.bp-cadet-landing .cl-progress-card__value {
  overflow-wrap: break-word;
}

@media (min-width: 768px) {
  .bp-cadet-landing .cl-path-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
