.main-shell {
  max-width: 1720px;
  margin-inline: auto;
  padding-inline: 96px;
}

.main-page-zoom-viewport {
  overflow-x: hidden;
}

.main-page-zoom-content {
  zoom: 0.8;
}

@supports not (zoom: 1) {
  .main-page-zoom-viewport {
    display: flex;
    justify-content: center;
  }

  .main-page-zoom-content {
    width: 125%;
    transform: scale(0.8);
    transform-origin: top center;
  }
}

.main-section {
  padding-block: 52px;
}

.main-hero {
  padding-block: 36px 44px;
}

.main-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.hero-copy {
  order: 1;
  display: grid;
  gap: 20px;
  text-align: center;
}

.hero-media-wrap {
  order: 2;
  position: relative;
}

.hero-media {
  min-height: 486px;
  border-radius: 24px;
  overflow: hidden;
  background-image: url('/stem/lms_md/figma/main%20page%20scr/main%20page%201.jpg');
  background-repeat: no-repeat;
  background-size: 211%;
  background-position: left 2% top 22%;
}

.hero-media-badge,
.hero-media-kpi {
  position: absolute;
  display: inline-grid;
  gap: 4px;
  place-items: center;
  min-width: 86px;
  padding: 12px 14px;
  border-radius: 16px;
  font-family: var(--font-family-primary);
  line-height: 1.35;
  box-shadow: 0 8px 22px rgba(var(--palette-grey-1000-rgb), 0.15);
}

.hero-media-badge {
  top: -16px;
  left: -14px;
  background: #19b27f;
  color: #ffffff;
  font-size: 18px;
}

.hero-media-kpi {
  right: -14px;
  bottom: -18px;
  min-width: 118px;
  background: #e847a0;
  color: #ffffff;
  font-size: 16px;
}

.hero-orb {
  width: 166px;
  height: 166px;
  margin-inline: auto;
  border-radius: 50%;
  background-image: url('/stem/lms_md/figma/main%20page%20scr/main%20page%201.jpg');
  background-repeat: no-repeat;
  background-size: 718%;
  background-position: left 90.2% top 11.2%;
}

.hero-accent-bar {
  width: 100%;
  height: 72px;
  background: linear-gradient(90deg, #e847a0 0%, #ff9e1d 100%);
}

.hero-heading,
.main-section-heading,
.section-title-xl,
.community-title {
  margin: 0;
  font-family: var(--font-family-primary);
}

.hero-heading {
  font-size: 26px;
  line-height: 1.45;
  color: var(--theme-surface-on-surface-variant);
}

.hero-actions,
.community-actions,
.resource-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions .btn,
.community-actions .btn,
.resource-download {
  min-width: 178px;
  border-radius: 14px;
  padding-block: 10px;
  padding-inline: 26px;
  font-size: 15px;
}

.hero-actions .btn-primary,
.community-actions .btn-primary,
.resource-download.btn-primary {
  border-color: #3367e3;
  background: #3367e3;
  color: #ffffff;
}

.hero-actions .btn-secondary,
.community-actions .btn-secondary,
.resource-open {
  border-color: #9ad3bf;
  background: #ffffff;
  color: #18a67a;
}

.cards-group {
  display: grid;
  gap: 20px;
}

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

.hero-feature-card {
  min-height: 190px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 12px;
  text-align: center;
  background: rgba(var(--palette-grey-0-rgb), 0.84);
}

.hero-feature-card:nth-child(1) {
  background: rgba(194, 241, 225, 0.32);
}

.hero-feature-card:nth-child(2) {
  background: rgba(212, 236, 245, 0.42);
}

.hero-feature-card:nth-child(3) {
  background: rgba(241, 223, 243, 0.35);
}

.hero-feature-card h2,
.unit-showcase-card h3,
.entrepreneurship-card h3,
.journey-card h3,
.success-card h3,
.tool-card h4,
.resource-card h4 {
  margin: 0;
  font-family: var(--font-family-primary);
  color: var(--theme-surface-on-surface);
}

.hero-feature-card h2,
.journey-card h3,
.success-card h3,
.tool-card h4,
.resource-card h4 {
  font-size: 27px;
}

.unit-showcase-card h3,
.entrepreneurship-card h3 {
  font-size: 29px;
  line-height: 1.25;
}

.hero-feature-card p,
.unit-showcase-card p,
.entrepreneurship-card p,
.journey-card p,
.success-summary,
.tool-card p,
.resource-card p,
.section-lead,
.community-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--theme-surface-on-surface-variant);
}

.feature-badge,
.unit-icon-shell,
.business-card-icon,
.journey-icon-shell,
.tool-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-badge-pink {
  background: rgba(232, 71, 160, 0.12);
  color: #e847a0;
}

.feature-badge-blue {
  background: rgba(81, 119, 234, 0.12);
  color: #5177ea;
}

.feature-badge-green {
  background: rgba(67, 182, 157, 0.15);
  color: #43b69d;
}

.unit-icon-shell,
.journey-icon-shell {
  background: rgba(81, 119, 234, 0.1);
  color: #5177ea;
}

.unit-icon-science {
  background: rgba(67, 182, 157, 0.16);
  color: #2b9f79;
}

.unit-icon-tech {
  background: rgba(112, 159, 241, 0.16);
  color: #4f7de1;
}

.unit-icon-engineering {
  background: rgba(170, 126, 238, 0.16);
  color: #8b5fd4;
}

.unit-icon-math {
  background: rgba(240, 183, 72, 0.2);
  color: #c79d30;
}

.business-card-icon {
  background: rgba(67, 182, 157, 0.14);
  color: #43b69d;
}

.tool-card-icon {
  background: rgba(255, 157, 30, 0.18);
  color: #c68516;
}

.main-section-heading,
.section-header-centered,
.community-panel {
  text-align: center;
}

.section-accent {
  width: 304px;
  height: 48px;
  margin-inline: auto;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #ff8e24 0%, #5a65eb 72%);
}

.main-section-heading {
  max-width: 980px;
  margin-inline: auto;
  font-size: 27px;
  line-height: 1.5;
  color: var(--theme-surface-on-surface-variant);
}

.section-header-centered {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.section-title-xl {
  font-size: 38px;
  line-height: 1.25;
  color: #3367e3;
}

.section-subheading {
  margin: 8px 0 16px;
  text-align: center;
  font-family: var(--font-family-primary);
  font-size: 26px;
}

.section-lead {
  max-width: 960px;
  margin-inline: auto;
}

.unit-cards-grid,
.journey-grid,
.tools-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.entrepreneurship-grid,
.success-grid,
.resource-cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.unit-showcase-card,
.journey-card,
.tool-card,
.entrepreneurship-card,
.success-card,
.resource-card {
  background: rgba(var(--palette-grey-0-rgb), 0.82);
  border-color: rgba(var(--palette-grey-1000-rgb), 0.08);
  box-shadow: none;
}

.unit-showcase-card {
  min-height: 332px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.unit-showcase-card:nth-child(1) {
  background: rgba(203, 243, 232, 0.3);
}

.unit-showcase-card:nth-child(2),
.unit-showcase-card:nth-child(3) {
  background: rgba(232, 239, 255, 0.35);
}

.unit-showcase-card:nth-child(4) {
  background: rgba(255, 246, 221, 0.3);
}

.unit-progress-row,
.unit-lessons-row,
.business-progress-row,
.tool-card-meta,
.resource-stats,
.resource-tags,
.community-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.unit-progress-row,
.business-progress-row,
.unit-lessons-row,
.resource-stats,
.resource-tags,
.community-meta,
.tool-card-meta {
  font-size: 14px;
  color: var(--theme-surface-on-surface-variant);
}

.unit-progress-row strong,
.business-progress-row strong {
  color: #2f7d5c;
}

.progress-native {
  width: 100%;
  height: 12px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(65, 111, 214, 0.18);
}

.progress-native::-webkit-progress-bar {
  background: rgba(65, 111, 214, 0.18);
}

.progress-native::-webkit-progress-value {
  background: #3367e3;
}

.progress-native::-moz-progress-bar {
  background: #3367e3;
}

.entrepreneurship-card {
  min-height: 356px;
  display: grid;
  gap: 10px;
}

.entrepreneurship-card h4 {
  margin: 0;
  font-size: 18px;
}

.business-step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--theme-surface-on-surface-variant);
}

.business-step-list li {
  padding-inline-start: 14px;
  position: relative;
}

.business-step-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3367e3;
}

.journey-card {
  min-height: 336px;
  display: grid;
  gap: 10px;
  justify-items: center;
  align-content: start;
  text-align: center;
}

.journey-step-number {
  font-size: 16px;
  color: #3367e3;
}

.journey-lines {
  width: 100%;
  margin-top: auto;
  display: grid;
  gap: 8px;
}

.journey-lines span {
  height: 12px;
  border-radius: 999px;
  background: rgba(81, 119, 234, 0.08);
}

.success-card {
  min-height: 296px;
  display: grid;
  gap: 10px;
}

.success-award {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #b48a1f;
  font-size: 14px;
}

.success-founder {
  color: var(--theme-surface-on-surface-variant);
  font-size: 14px;
}

.success-metrics {
  margin-top: auto;
  display: grid;
  gap: 8px;
}

.success-metrics strong {
  font-size: 22px;
  color: #2f7d5c;
}

.success-metrics span {
  font-size: 13px;
  color: var(--theme-surface-on-surface-variant);
}

.tools-grid {
  margin-bottom: 16px;
}

.tool-card {
  min-height: 238px;
  display: grid;
  gap: 10px;
}

.tool-card-meta {
  margin-top: auto;
}

.resources-tabs {
  justify-content: stretch;
  margin-bottom: 16px;
  padding: 8px;
  background: rgba(var(--palette-grey-0-rgb), 0.48);
  border-radius: 999px;
}

.resources-tabs .tab-button {
  flex: 1 1 0;
  justify-content: center;
  padding: 10px 14px;
  background: transparent;
  border-color: transparent;
  color: var(--theme-surface-on-surface);
  font-size: 14px;
}

.resources-tabs .tab-button.active {
  background: rgba(var(--palette-grey-0-rgb), 0.8);
  border-color: rgba(var(--palette-grey-1000-rgb), 0.08);
}

.resource-card {
  min-height: 286px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.resource-thumb {
  width: 86px;
  height: 86px;
  border-radius: 18px;
  background-image: url('/stem/lms_md/figma/main%20page%20scr/main%20page%205.jpg');
  background-repeat: no-repeat;
  background-size: 560%;
  background-position: left 6% top 72%;
}

.resource-content {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.resource-content h4,
.resource-content p,
.resource-tags,
.resource-stats,
.resource-actions {
  grid-column: 2;
}

.resource-thumb {
  grid-row: 1 / span 4;
}

.resource-actions {
  justify-content: stretch;
}

.resource-download {
  flex: 1;
}

.resource-open {
  min-width: 56px;
  padding-inline: 12px;
  border-color: rgba(var(--palette-grey-1000-rgb), 0.15);
  color: var(--theme-surface-on-surface-variant);
}

.community-section {
  padding-top: 36px;
  padding-bottom: 54px;
}

.community-panel {
  min-height: 256px;
  display: grid;
  gap: 14px;
  justify-items: center;
  align-content: center;
  padding: 42px 48px;
  border-radius: 24px;
  background: linear-gradient(90deg, rgba(219, 229, 255, 0.9), rgba(245, 248, 255, 0.9));
}

.community-title {
  font-size: 34px;
  color: var(--theme-surface-on-surface);
}

.community-text {
  max-width: 980px;
}

@media (max-width: 1500px) {
  .main-shell {
    padding-inline: 34px;
  }

  .hero-heading,
  .main-section-heading,
  .section-title-xl,
  .community-title,
  .hero-feature-card h2,
  .journey-card h3,
  .success-card h3,
  .tool-card h4,
  .resource-card h4,
  .unit-showcase-card h3,
  .entrepreneurship-card h3 {
    font-size: 22px;
  }

  .hero-feature-card p,
  .unit-showcase-card p,
  .entrepreneurship-card p,
  .journey-card p,
  .success-summary,
  .tool-card p,
  .resource-card p,
  .section-lead,
  .community-text,
  .success-founder,
  .success-award,
  .entrepreneurship-card h4,
  .unit-progress-row,
  .business-progress-row,
  .unit-lessons-row,
  .resource-stats,
  .resource-tags,
  .community-meta,
  .tool-card-meta,
  .business-step-list,
  .resources-tabs .tab-button,
  .journey-step-number,
  .success-metrics span,
  .success-metrics strong {
    font-size: 14px;
  }
}

@media (max-width: 1100px) {
  .main-hero-grid,
  .hero-feature-grid,
  .unit-cards-grid,
  .tools-grid,
  .entrepreneurship-grid,
  .success-grid,
  .resource-cards-grid,
  .journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy {
    order: 2;
  }

  .hero-media-wrap {
    order: 1;
  }
}

@media (max-width: 760px) {
  .main-page-zoom-content {
    zoom: 0.85;
  }

  @supports not (zoom: 1) {
    .main-page-zoom-content {
      width: 117.65%;
      transform: scale(0.85);
    }
  }

  .main-shell {
    padding-inline: 16px;
  }

  .main-hero,
  .main-section {
    padding-block: 26px;
  }

  .main-hero-grid,
  .hero-feature-grid,
  .unit-cards-grid,
  .tools-grid,
  .entrepreneurship-grid,
  .success-grid,
  .resource-cards-grid,
  .journey-grid,
  .resource-content {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 280px;
  }

  .hero-media-badge {
    top: -12px;
    left: -8px;
  }

  .hero-media-kpi {
    right: -8px;
    bottom: -14px;
  }

  .hero-orb {
    width: 120px;
    height: 120px;
  }

  .hero-accent-bar {
    height: 36px;
  }

  .resource-thumb,
  .resource-content h4,
  .resource-content p,
  .resource-tags,
  .resource-stats,
  .resource-actions {
    grid-column: 1;
  }

  .resource-thumb {
    margin-inline: auto;
  }

  .hero-heading,
  .main-section-heading,
  .section-title-xl,
  .community-title {
    font-size: 22px;
  }

  .hero-feature-card h2,
  .unit-showcase-card h3,
  .entrepreneurship-card h3,
  .journey-card h3,
  .success-card h3,
  .tool-card h4,
  .resource-card h4 {
    font-size: 19px;
  }

  .hero-feature-card p,
  .unit-showcase-card p,
  .entrepreneurship-card p,
  .journey-card p,
  .success-summary,
  .tool-card p,
  .resource-card p,
  .section-lead,
  .community-text,
  .success-award,
  .success-founder,
  .success-metrics strong,
  .success-metrics span,
  .unit-progress-row,
  .business-progress-row,
  .unit-lessons-row,
  .resource-stats,
  .resource-tags,
  .community-meta,
  .tool-card-meta,
  .business-step-list,
  .entrepreneurship-card h4,
  .resources-tabs .tab-button,
  .journey-step-number {
    font-size: 13px;
  }
}
