body.home-page main > .meet-section,
body.home-page main > .three {
  display: none !important;
}

body.home-page {
  margin: 0 !important;
  background:
    radial-gradient(ellipse 56% 44% at 20% 10%, rgba(228,91,124,.10), transparent 62%),
    radial-gradient(ellipse 52% 42% at 86% 8%, rgba(53,40,217,.08), transparent 60%),
    linear-gradient(160deg, #f7efe6 0%, #efe4d7 48%, #e6d4bf 100%) !important;
  background-attachment: scroll !important;
}

body.home-page .quanta-navbar {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}

body.home-page .quanta-navbar.scrolled {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20, 27, 79, .06);
  box-shadow: 0 4px 24px rgba(20, 27, 79, .08);
}

body.home-page .home-screen {
  position: relative;
  background: transparent !important;
}

body.home-page .home-screen::before {
  display: none !important;
}

@media (min-width: 561px) {
  body.home-page .hero h1 {
    font-size: clamp(2.35rem, 3.65vw, 3.35rem);
    line-height: 1.08;
    max-width: 13.8em;
    margin-left: auto;
    margin-right: auto;
  }

  body.home-page .hero h1 .build,
  body.home-page .hero h1 .here {
    white-space: nowrap;
  }

  body.home-page .hero > p:not(.hero-kicker) {
    max-width: 30rem;
    font-size: clamp(.88rem, 1vw, .96rem);
    line-height: 1.62;
  }
}

@media (min-width: 900px) {
  body.home-page .hero-wrap {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 520px) minmax(220px, 300px);
    max-width: min(1168px, calc(100% - 36px));
    gap: clamp(14px, 1.8vw, 28px);
    align-items: start;
  }

  body.home-page .hero-wrap .hero {
    grid-column: 2;
    width: 100%;
    max-width: 520px;
    justify-self: center;
  }

  body.home-page .hero-ranking {
    grid-column: 1;
    width: 100%;
    max-width: none;
    margin-top: 20px;
    justify-self: stretch;
  }

  body.home-page .hero-updates {
    grid-column: 3;
    width: 100%;
    max-width: none;
    margin-top: 20px;
    justify-self: stretch;
  }

  body.home-page .hero h1 {
    font-size: clamp(2.35rem, 3.2vw, 3.05rem);
  }

  body.home-page .hero > p:not(.hero-kicker) {
    max-width: 27rem;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  body.home-page .hero-wrap {
    grid-template-columns: minmax(220px, 260px) minmax(0, 420px) minmax(220px, 260px);
  }

  body.home-page .hero h1 {
    font-size: clamp(2rem, 3vw, 2.35rem);
  }
}

@media (min-width: 561px) and (max-width: 899px) {
  body.home-page .hero-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(720px, calc(100% - 36px));
  }

  body.home-page .hero-wrap .hero,
  body.home-page .hero-ranking,
  body.home-page .hero-updates {
    width: min(100%, 620px);
    max-width: 620px;
    align-self: center;
  }
}

@media (max-width: 560px) {
  body.home-page .hero-wrap .hero,
  body.home-page .hero-ranking,
  body.home-page .hero-updates {
    width: min(100%, 390px);
    max-width: 390px;
    align-self: center;
  }
}

.q-index-inner {
  width: min(1168px, calc(100% - 36px));
  margin: 0 auto;
}

.q-index-overview,
.q-study-flow,
.q-rank-zone,
.q-mentor-section {
  position: relative;
  padding: clamp(58px, 8vw, 92px) 0;
  overflow: hidden;
}

.q-index-overview {
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.4)),
    radial-gradient(ellipse 42% 38% at 86% 8%, rgba(228,91,124,.13), transparent 62%);
}

.q-study-flow {
  background: linear-gradient(135deg, var(--q-navy-d) 0%, var(--q-navy) 56%, var(--q-navy-l) 100%);
}

.q-rank-zone {
  background:
    radial-gradient(ellipse 44% 38% at 0% 10%, rgba(228,91,124,.12), transparent 62%),
    linear-gradient(180deg, #f7eee3, #ead9c5);
}

.q-mentor-section {
  background: linear-gradient(180deg, rgba(255,255,255,.46), rgba(255,255,255,.12));
}

.q-section-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.q-section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(260px, .7fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.q-overview-pulse {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 18px 46px rgba(20,27,79,.09);
  backdrop-filter: blur(14px);
}

.q-pulse-item {
  display: grid;
  grid-template-columns: 42px minmax(0, .55fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(20,27,79,.06);
}

.q-pulse-item span {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--q-accent), var(--q-accent2));
  font-size: .78rem;
  font-weight: 800;
}

.q-pulse-item strong {
  color: var(--q-navy);
  font-size: .98rem;
  line-height: 1.1;
}

.q-pulse-item em {
  color: var(--q-muted);
  font-style: normal;
  font-size: .84rem;
  line-height: 1.4;
}

.q-eyebrow {
  display: inline-flex;
  color: var(--q-accent);
  background: rgba(228,91,124,.1);
  border: 1px solid rgba(228,91,124,.18);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-bottom: 13px;
}

.q-section-head h2,
.q-rank-copy h2,
.q-mentor-copy h2 {
  color: var(--q-navy);
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 800;
}

.q-section-head p,
.q-rank-copy p,
.q-mentor-copy p {
  color: var(--q-muted);
  font-size: clamp(.96rem, 1.4vw, 1.05rem);
  line-height: 1.75;
}

.q-study-flow .q-section-head h2,
.q-study-flow .q-section-head p {
  color: #fff;
}

.q-study-flow .q-eyebrow {
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
}

.q-feature-board {
  display: grid;
  grid-template-columns: 1.22fr repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.q-feature-tile {
  min-height: 246px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--q-r-lg);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.88);
  box-shadow: 0 18px 46px rgba(20,27,79,.1);
  color: var(--q-navy);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform .24s var(--q-ease), box-shadow .24s var(--q-ease);
}

.q-feature-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(53,40,217,.07), transparent 48%),
    radial-gradient(ellipse 72% 62% at 110% 0%, rgba(228,91,124,.15), transparent 58%);
  pointer-events: none;
}

.q-feature-tile > * {
  position: relative;
  z-index: 1;
}

.q-feature-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 70px rgba(20,27,79,.15);
}

.q-feature-tile--large {
  grid-row: span 2;
  color: #fff;
  background: linear-gradient(145deg, var(--q-navy-d) 0%, var(--q-navy) 58%, var(--q-navy-l) 100%);
  justify-content: flex-start;
}

.q-feature-tile--large::before {
  background:
    radial-gradient(ellipse 76% 60% at 100% 0%, rgba(228,91,124,.28), transparent 58%),
    linear-gradient(160deg, rgba(255,255,255,.08), transparent 50%);
}

.q-tile-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: currentColor;
  background: rgba(228,91,124,.1);
  margin-bottom: auto;
}

.q-feature-tile--large .q-tile-icon {
  background: rgba(255,255,255,.12);
  margin-bottom: 0;
}

.q-lab-preview {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  width: 100%;
  min-height: clamp(128px, 13vw, 168px);
  margin: clamp(18px, 3vw, 32px) 0 clamp(20px, 3vw, 34px);
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.18), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.q-lab-beaker {
  position: relative;
  width: 76px;
  height: 102px;
  margin: 0 auto;
  border: 3px solid rgba(255,255,255,.72);
  border-top: 0;
  border-radius: 8px 8px 24px 24px;
  background: linear-gradient(180deg, transparent 34%, rgba(228,91,124,.52) 35%, rgba(72,55,231,.72) 100%);
}

.q-lab-beaker::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 22px;
  width: 30px;
  height: 22px;
  border: 3px solid rgba(255,255,255,.72);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.q-lab-beaker i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.78);
}

.q-lab-beaker i:nth-child(1) { left: 14px; top: 46px; }
.q-lab-beaker i:nth-child(2) { right: 13px; top: 62px; width: 7px; height: 7px; }
.q-lab-beaker i:nth-child(3) { left: 34px; bottom: 18px; width: 8px; height: 8px; }

.q-lab-lines {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.q-lab-lines b {
  color: rgba(255,255,255,.9);
  font-size: .92rem;
  line-height: 1;
}

.q-lab-lines em {
  display: block;
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}

.q-lab-lines em:last-child {
  width: 68%;
}

.q-lab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.q-lab-tags small {
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  font-size: .72rem;
  font-weight: 800;
}

.q-tile-kicker {
  color: var(--q-accent);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.q-feature-tile--large .q-tile-kicker {
  color: rgba(255,255,255,.62);
}

.q-feature-tile strong {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.2;
}

.q-feature-tile span:last-child {
  color: var(--q-muted);
  font-size: .9rem;
  line-height: 1.6;
}

.q-feature-tile--large span:last-child {
  color: rgba(255,255,255,.66);
}

.q-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.q-flow-step {
  min-height: 228px;
  padding: 24px;
  border-radius: var(--q-r-lg);
  color: #fff;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.q-flow-step span {
  display: inline-flex;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--q-accent);
  margin-bottom: 34px;
}

.q-flow-step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.q-flow-step p {
  color: rgba(255,255,255,.66);
  line-height: 1.65;
  font-size: .9rem;
}

.q-rank-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .72fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
}

.q-class-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.q-rank-copy p,
.q-mentor-copy p {
  margin-top: 16px;
}

.q-rank-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.q-score-panel {
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--q-r-xl);
  background: linear-gradient(145deg, #fff, rgba(255,255,255,.74));
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 24px 68px rgba(20,27,79,.15);
}

.q-score-head,
.q-score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.q-score-head {
  margin-bottom: 26px;
}

.q-score-row {
  margin: 16px 0 8px;
}

.q-score-head span,
.q-score-row span {
  color: var(--q-muted);
  font-size: .84rem;
  font-weight: 600;
}

.q-score-head strong,
.q-score-row strong {
  color: var(--q-navy);
}

.q-score-head strong {
  font-size: 1.15rem;
}

.q-score-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(20,27,79,.08);
  overflow: hidden;
}

.q-score-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--q-royal), var(--q-navy));
}

.q-score-bar--rose span {
  background: linear-gradient(90deg, var(--q-accent), var(--q-accent2));
}

.q-mini-leaderboard {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.q-mini-leaderboard span {
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(20,27,79,.06);
  color: var(--q-navy);
  font-size: .86rem;
  font-weight: 700;
}

.q-launch-panel {
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--q-r-xl);
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(228,91,124,.12), transparent 62%),
    linear-gradient(145deg, #fff, rgba(255,255,255,.76));
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 24px 68px rgba(20,27,79,.15);
}

.q-launch-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.q-launch-head span {
  color: var(--q-muted);
  font-size: .82rem;
  font-weight: 700;
}

.q-launch-head strong {
  color: var(--q-navy);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.15;
  text-align: right;
}

.q-launch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.q-launch-card {
  min-height: 154px;
  padding: 15px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(20,27,79,.07);
  color: var(--q-navy);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .22s var(--q-ease), box-shadow .22s var(--q-ease);
}

.q-launch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(20,27,79,.12);
}

.q-launch-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--q-accent);
  background: rgba(228,91,124,.1);
  margin-bottom: auto;
}

.q-launch-card strong {
  font-size: .94rem;
  line-height: 1.18;
}

.q-launch-card em,
.q-launch-wide em {
  color: var(--q-muted);
  font-size: .78rem;
  font-style: normal;
  line-height: 1.45;
}

.q-launch-wide {
  margin-top: 12px;
  padding: 15px 16px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--q-navy), var(--q-navy-d));
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 14px 34px rgba(20,27,79,.2);
}

.q-launch-wide span {
  display: grid;
  gap: 3px;
}

.q-launch-wide strong {
  color: #fff;
  font-size: 1rem;
}

.q-launch-wide em {
  color: rgba(255,255,255,.68);
}

.q-launch-wide b {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.2);
  font-size: .84rem;
}

.q-class-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: clamp(14px, 2vw, 20px);
  border-radius: var(--q-r-xl);
  background:
    radial-gradient(ellipse 80% 70% at 92% 0%, rgba(72,55,231,.12), transparent 60%),
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(255,255,255,.7));
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 24px 68px rgba(20,27,79,.14);
}

.q-class-card {
  min-height: 144px;
  padding: 17px 14px 15px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--q-navy);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(20,27,79,.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 28px rgba(20,27,79,.08);
  transition: transform .22s var(--q-ease), box-shadow .22s var(--q-ease), border-color .22s var(--q-ease);
}

.q-class-card:hover {
  transform: translateY(-5px);
  border-color: rgba(228,91,124,.28);
  box-shadow: 0 20px 42px rgba(20,27,79,.14);
}

.q-class-card span {
  color: var(--q-accent);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.q-class-card strong {
  color: var(--q-navy);
  font-size: clamp(2.1rem, 3.8vw, 3.6rem);
  line-height: .92;
  letter-spacing: 0;
}

.q-class-card em {
  color: var(--q-muted);
  font-size: .78rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
}

.q-mentor-card {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(280px, .58fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--q-r-xl);
  background:
    radial-gradient(ellipse 34% 42% at 83% 32%, rgba(255,255,255,.13), transparent 66%),
    radial-gradient(ellipse 38% 48% at 100% 0%, rgba(228,91,124,.22), transparent 60%),
    linear-gradient(135deg, #101641 0%, var(--q-navy) 58%, #242064 100%);
  color: #fff;
  position: relative;
  overflow: clip;
  box-shadow: 0 26px 74px rgba(20,27,79,.18);
}

.q-mentor-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: calc(var(--q-r-xl) - 10px);
  background:
    linear-gradient(90deg, rgba(255,255,255,.06), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 56px);
  border: 1px solid rgba(255,255,255,.06);
  opacity: .58;
  pointer-events: none;
}

.q-mentor-card > * {
  position: relative;
  z-index: 1;
}

.q-mentor-copy h2,
.q-mentor-copy p {
  color: #fff;
}

.q-mentor-copy p {
  color: rgba(255,255,255,.68);
  max-width: 39rem;
  font-size: clamp(.88rem, 1.25vw, 1rem);
}

.q-mentor-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0 28px;
}

.q-mentor-points span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.84);
  font-size: .76rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.q-mentor-photo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: stretch;
  min-height: clamp(300px, 29vw, 410px);
  position: relative;
  isolation: isolate;
  padding-top: 18px;
}

.q-mentor-photo::before {
  content: "";
  position: absolute;
  width: min(92%, 330px);
  height: min(78%, 310px);
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  border-radius: 42% 42% 0 0;
  background:
    radial-gradient(ellipse 64% 62% at 50% 25%, rgba(255,255,255,.16), transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.1);
  border-bottom: 0;
  z-index: -1;
}

.q-mentor-photo::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(80%, 300px);
  height: 20px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.24), transparent 68%);
  z-index: -1;
}

.q-mentor-photo img {
  width: auto;
  max-width: 100%;
  height: clamp(300px, 28vw, 390px);
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.32));
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 88%, rgba(0,0,0,.88) 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 88%, rgba(0,0,0,.88) 94%, transparent 100%);
}

body.home-page .home-contact-section {
  background:
    radial-gradient(ellipse 40% 42% at 100% 0%, rgba(228,91,124,.24), transparent 62%),
    linear-gradient(135deg, var(--q-navy-d), var(--q-navy) 58%, var(--q-navy-l));
}

body.home-page .home-contact-inner {
  align-items: center;
}

body.home-page .home-contact-form-wrap {
  border-radius: var(--q-r-lg);
  background: rgba(255,255,255,.08);
}

@media (max-width: 940px) {
  .q-section-head--split,
  .q-rank-layout,
  .q-class-layout,
  .q-mentor-card {
    grid-template-columns: 1fr;
  }

  .q-feature-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .q-feature-tile--large {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .q-lab-preview {
    min-height: 118px;
    margin: 18px 0 20px;
  }

  .q-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .q-mentor-photo {
    min-height: 300px;
    order: -1;
  }

  .q-mentor-photo img {
    height: clamp(280px, 48vw, 350px);
    width: auto;
    max-width: min(70%, 280px);
  }

  .q-launch-grid {
    grid-template-columns: 1fr;
  }

  .q-launch-card {
    min-height: 0;
  }

  .q-class-panel {
    grid-template-columns: repeat(5, minmax(112px, 1fr));
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 16px 16px 20px;
    scroll-padding-left: 16px;
  }

  .q-class-card {
    min-height: 146px;
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .q-index-inner {
    width: min(100% - 28px, 1168px);
  }

  .q-overview-pulse {
    padding: 12px;
    border-radius: 18px;
  }

  .q-pulse-item {
    grid-template-columns: 38px 1fr;
    gap: 4px 10px;
  }

  .q-pulse-item em {
    grid-column: 2;
  }

  .q-feature-board,
  .q-flow-grid {
    grid-template-columns: 1fr;
  }

  .q-feature-tile,
  .q-flow-step {
    min-height: 0;
  }

  .q-lab-preview {
    grid-template-columns: 74px minmax(0, 1fr);
    padding: 14px;
  }

  .q-lab-beaker {
    width: 56px;
    height: 78px;
  }

  .q-lab-beaker::before {
    left: 15px;
    width: 24px;
    height: 18px;
  }

  .q-flow-step span {
    margin-bottom: 18px;
  }

  .q-rank-actions {
    flex-direction: column;
  }

  .q-rank-actions .btn-primary,
  .q-rank-actions .btn-outline {
    width: 100%;
  }

  .q-class-panel {
    grid-template-columns: repeat(5, minmax(106px, 1fr));
    gap: 10px;
    margin-inline: -2px;
    padding: 14px 14px 18px;
    border-radius: 18px;
  }

  .q-class-card {
    min-height: 128px;
    padding: 16px 12px 14px;
    border-radius: 16px;
  }

  .q-class-card strong {
    font-size: 2.55rem;
  }

  .q-class-card em {
    font-size: .72rem;
    line-height: 1.2;
  }

  .q-launch-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .q-launch-head strong {
    text-align: left;
  }

  .q-mentor-card {
    padding: 24px 18px 28px;
    overflow: hidden;
  }

  .q-mentor-photo {
    min-height: 260px;
  }

  .q-mentor-photo img {
    height: 270px;
    max-width: min(76%, 230px);
  }
}
