/* LMS above-the-fold critical styles (shell + top nav + hero skeleton) */

body.lms-app {
  --lms-max: var(--lms-max-width);
  --lms-sidebar-w: 264px;
  --lms-sidebar-collapsed: 76px;
  --lms-gap: clamp(12px, 1.4vw, 20px);
  align-items: stretch;
  padding: 0;
  min-height: 100vh;
}

body.lms-app .top-nav {
  max-width: none;
  width: 100%;
  margin-bottom: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  padding-inline: clamp(14px, 2vw, 28px);
  background: var(--lms-topnav-bg);
}

body.lms-app #footer-container {
  width: 100%;
}

.lms-layout {
  display: flex;
  width: 100%;
  min-height: 100vh;
  min-width: 0;
}

.lms-sidebar {
  display: none;
}

.lms-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.lms-shell,
.qc-shell,
.ml-shell {
  width: 100%;
  max-width: var(--lms-max);
  margin: 0 auto;
  padding: clamp(16px, 2.2vw, 28px) clamp(14px, 2vw, 28px) clamp(40px, 5vw, 64px);
  box-sizing: border-box;
}

.qc-hero,
.ml-hero {
  margin-bottom: clamp(18px, 2.5vw, 28px);
}

.qc-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lms-accent-text);
}

.qc-hero h1,
.ml-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--lms-hero-title);
}

.qc-lede {
  margin: 10px 0 0;
  max-width: 54ch;
  color: var(--lms-hero-lede);
  font-size: 15px;
  line-height: 1.55;
}

.lms-hero-grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  align-items: center;
}

@media (min-width: 900px) {
  .lms-hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.55fr);
  }
}

@media (min-width: 1280px) {
  .lms-sidebar {
    display: flex;
  }
}
