/* PBTC homepage — stable full-width layout */

.home-page {
  --content-max: 1440px;
  --section-x: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 8vw, 96px);
  --surface: #ffffff;
  --surface-muted: #eef2f8;
  --border: #dfe6f0;
  --heading: #05183a;
}

/* Full-width page shell */
.home-page,
.home-page main {
  width: 100%;
  max-width: none;
  margin: 0;
}

.home-page .site-header {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-page .header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 10px var(--section-x);
  min-height: var(--header-height);
  box-sizing: border-box;
}

.home-page .site-header.is-scrolled {
  border-bottom-color: rgba(243, 175, 45, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
}

.home-page .hero--photo .hero-callout {
  display: none;
}

.home-page .hero--photo .hero-layout {
  grid-template-columns: minmax(0, 1fr);
  max-width: 620px;
}

.home-page .hero--photo .hero-media img {
  object-position: right center;
}

.home-page .hero--photo .hero-media::after {
  background:
    linear-gradient(90deg, rgba(5, 24, 58, 0.88) 0%, rgba(5, 24, 58, 0.72) 42%, rgba(5, 24, 58, 0.18) 68%, rgba(5, 24, 58, 0.02) 100%);
}

.home-page .brand img {
  display: block;
  width: auto;
  height: auto;
  max-height: 58px;
  max-width: min(320px, 62vw);
  object-fit: contain;
  object-position: left center;
}

.home-page .main-nav a {
  padding: 10px 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.home-page .main-nav a::after {
  bottom: 6px;
  height: 2px;
}

.home-page .header-actions .ghost-button,
.home-page .header-actions .primary-button {
  min-height: 42px;
  font-size: 0.88rem;
  font-weight: 700;
}

.home-page main {
  background: var(--paper);
}

.home-page .section-inner {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--section-x);
  box-sizing: border-box;
}

.home-page main > .home-section,
.home-page main > .home-section.section,
.home-page main > .feature-band,
.home-page main > .stats-band--full,
.home-page .home-footer {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

.home-page .home-section,
.home-page .home-footer {
  position: relative;
  isolation: isolate;
}

.home-page .home-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.home-page .home-section.section {
  padding-block: var(--section-y);
}

.home-page .stats-band--full {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.home-page .feature-band {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.home-page .course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .home-page .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .home-page .course-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero */
.home-page .home-section--hero {
  padding: 0;
}

.home-page .home-section--hero::before {
  background: linear-gradient(155deg, #020b1f 0%, #05183a 48%, #0a2555 100%);
}

.home-page .home-section--hero::after {
  display: none;
}

.home-page .hero {
  min-height: clamp(500px, 78vh, 660px);
  border-top: 0;
  overflow: hidden;
}

.home-page .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-page .hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-page .hero-media::after {
  background:
    linear-gradient(90deg, rgba(5, 24, 58, 0.92) 0%, rgba(5, 24, 58, 0.78) 40%, rgba(5, 24, 58, 0.25) 100%),
    linear-gradient(180deg, rgba(5, 24, 58, 0.05), rgba(5, 24, 58, 0.45));
}

.home-page .hero-glow {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: min(34vw, 380px);
  height: min(34vw, 380px);
  background: radial-gradient(circle, rgba(243, 175, 45, 0.12), transparent 70%);
  pointer-events: none;
}

.home-page .hero-inner.section-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--content-max);
  min-height: inherit;
  margin-inline: auto;
  padding-inline: var(--section-x);
  padding-block: clamp(48px, 8vw, 88px);
  box-sizing: border-box;
}

.home-page .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  width: 100%;
}

.home-page .hero-eyebrow,
.home-page .hero .eyebrow {
  color: var(--gold-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.home-page .hero h1,
.home-page .hero .hero-title {
  max-width: 680px;
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: none;
}

.home-page .hero h1 span {
  display: block;
}

.home-page .hero-title .gold-line,
.home-page .hero h1 .gold-line {
  color: var(--gold-2);
}

.home-page .hero-copy {
  max-width: 560px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.7;
}

.home-page .hero-actions {
  margin-top: 24px;
  gap: 12px;
}

.home-page .hero-actions .secondary-button {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
}

.home-page .hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  width: auto;
  margin-top: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.home-page .hero-metrics div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: auto;
  min-height: 0;
  padding: 12px 16px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.home-page .hero-metrics svg {
  display: none;
}

.home-page .hero-metrics strong {
  display: block;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}

.home-page .hero-metrics span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: none;
}

.home-page .hero-callout {
  align-self: center;
  padding: 20px 22px;
  background: rgba(5, 24, 58, 0.88);
  border: 1px solid rgba(243, 175, 45, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.home-page .hero-callout-title {
  color: var(--gold-2) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em;
}

.home-page .hero-callout p:last-child {
  font-size: 0.92rem;
  line-height: 1.55;
}

.home-page .cap-icon {
  width: 52px;
  height: 52px;
}

.home-page .hero-trust,
.home-page .hero-quiz-link {
  display: none;
}

/* Section backgrounds */
.home-page .home-section--courses::before {
  background: var(--paper);
}

.home-page .home-section--features::before {
  background: var(--surface-muted);
  border-block: 1px solid var(--border);
}

.home-page .feature-band {
  width: 100%;
  margin: 0;
  padding-block: var(--section-y);
  background: transparent;
  border: 0;
}

.home-page .home-section--pathway::before {
  background: var(--surface);
}

.home-page .home-section--stats {
  padding-block: 0;
}

.home-page .home-section--stats::before {
  display: none;
}

.home-page .stats-band--full {
  position: relative;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-block: var(--section-y);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  border: 0;
  border-block: 1px solid rgba(243, 175, 45, 0.22);
  border-radius: 0;
  box-shadow: none;
}

.home-page .home-section--stories::before {
  background: var(--paper);
}

.home-page .home-section--faq::before {
  background: var(--surface);
}

.home-page .home-section--enroll {
  padding-block: var(--section-y);
}

.home-page .home-section--enroll::before {
  background: linear-gradient(180deg, var(--surface-muted) 0%, var(--navy) 38%, var(--navy-3) 100%);
}

/* Typography */
.home-page .eyebrow {
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.home-page .section-heading {
  align-items: end;
  margin-bottom: 32px;
}

.home-page .section-heading h2,
.home-page .pathway-intro h2,
.home-page .stats-intro h2,
.home-page .faq-intro h2 {
  max-width: none;
  color: var(--heading);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: none;
}

.home-page .section-heading p,
.home-page .pathway-intro p:last-child,
.home-page .faq-intro p {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Courses */
.home-page .courses-intro {
  align-items: end;
  margin-bottom: 28px;
}

.home-page .courses-intro h2 {
  max-width: 680px;
}

.home-page .courses-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
}

.home-page .courses-intro-actions .ghost-button {
  color: var(--navy);
  background: var(--surface);
  border-color: var(--border);
  font-weight: 600;
}

.home-page .course-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(5, 24, 58, 0.04);
}

.home-page .course-toolbar .filter-chips {
  grid-column: 1 / -1;
}

.home-page .course-toolbar .quiz-trigger {
  display: none;
}

.home-page .search-field input {
  min-height: 46px;
  border-color: var(--border);
  border-radius: 8px;
}

.home-page .chip {
  font-size: 0.8rem;
  font-weight: 600;
}

.home-page .courses-shell {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 24px;
}

.home-page .course-grid {
  gap: 20px;
}

.home-page .course-card {
  grid-template-rows: 100px minmax(0, 1fr);
  height: auto;
  min-height: 320px;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(5, 24, 58, 0.06);
}

.home-page .course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 24, 58, 0.14);
  box-shadow: 0 12px 32px rgba(5, 24, 58, 0.1);
}

.home-page .course-art {
  min-height: 100px;
  background-size: cover;
  background-position: center;
}

.home-page .course-art[data-category="business"] {
  background: linear-gradient(135deg, #082554 0%, #1c8c8f 100%);
}

.home-page .course-art[data-category="finance"] {
  background: linear-gradient(135deg, #05183a 0%, #0d5c5f 55%, #f3af2d 160%);
}

.home-page .course-art[data-category="technology"] {
  background: linear-gradient(135deg, #020b1f 0%, #082554 50%, #1c8c8f 100%);
}

.home-page .pill {
  color: var(--navy);
  background: var(--surface-muted);
  border: 1px solid var(--border);
  font-weight: 700;
}

.home-page .course-art-icon {
  inset: auto auto -22px 24px;
  width: 52px;
  height: 52px;
}

.home-page .course-body {
  padding: 28px 24px 20px;
}

.home-page .course-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: none;
  line-height: 1.25;
}

.home-page .course-body p {
  font-weight: 500;
  color: var(--muted);
}

.home-page .course-meta {
  padding-right: 0;
  margin-top: 14px;
}

.home-page .course-number {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-page .hub-access-button {
  margin-top: 14px;
  border-radius: 8px;
  font-weight: 800;
}

.home-page .hub-status {
  font-size: 0.78rem;
  line-height: 1.5;
}

.home-page .course-results {
  margin-bottom: 16px;
  font-weight: 600;
}

.home-page .course-actions {
  position: static;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.home-page .course-actions button::after {
  content: none;
}

.home-page .compare-toggle {
  top: 12px;
  right: 12px;
  font-size: 0.68rem;
}

.home-page .student-hub {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: linear-gradient(165deg, #05183a, #020b1f);
  box-shadow: 0 16px 40px rgba(5, 24, 58, 0.2);
}

.home-page .student-hub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.home-page .student-hub h2 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: none;
}

.home-page .hub-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(243, 175, 45, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .hub-actions {
  gap: 8px;
}

.home-page .hub-actions button {
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
}

.home-page .hub-actions button:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Feature strip */
.home-page .feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.home-page .feature-strip div {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  min-height: 0;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(5, 24, 58, 0.04);
}

.home-page .feature-strip svg {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  color: var(--teal);
}

.home-page .feature-strip strong {
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
}

.home-page .feature-strip span {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
}

/* Pathway */
.home-page .pathway-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

.home-page .pathway-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.home-page .pathway-steps li {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(5, 24, 58, 0.04);
  transition:
    transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

.home-page .pathway-steps li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 24, 58, 0.08);
}

.home-page .pathway-steps li span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  color: var(--gold-2);
  background: var(--navy);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
}

.home-page .pathway-steps li strong {
  display: block;
  color: var(--navy);
  font-size: 0.98rem;
}

.home-page .pathway-steps li p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Stats */
.home-page .stats-intro {
  margin-bottom: 28px;
}

.home-page .stats-intro .eyebrow {
  color: var(--gold-2);
}

.home-page .stats-intro h2 {
  color: var(--white);
}

.home-page .stats-grid {
  gap: 20px;
}

.home-page .stat-card {
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: none;
}

.home-page .stat-card strong {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--gold-2);
}

.home-page .stat-card span {
  color: rgba(255, 255, 255, 0.82);
}

/* Testimonials */
.home-page .testimonial-card {
  padding: clamp(32px, 5vw, 48px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.home-page .testimonial-card blockquote {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.65;
}

.home-page .testimonial-card blockquote::before {
  content: "“";
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.home-page .testimonial-card footer strong {
  color: var(--navy);
  font-size: 0.98rem;
}

.home-page .testimonial-card footer span {
  color: var(--muted);
  font-size: 0.88rem;
}

.home-page .carousel-btn {
  border-radius: var(--radius-full);
}

/* FAQ */
.home-page .faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 64px);
}

.home-page .faq-intro .faq-quiz-btn,
.home-page .faq-intro .faq-contact-btn {
  display: inline-flex;
  margin-top: 16px;
}

.home-page .faq-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.home-page .faq-intro-actions .faq-quiz-btn,
.home-page .faq-intro-actions .faq-contact-btn {
  margin-top: 0;
}

.home-page .faq-contact-btn {
  margin-left: 10px;
  color: var(--navy);
  background: transparent;
  border-color: var(--border);
}

.home-page .faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.home-page .faq-item summary {
  padding: 18px 20px;
  font-size: 0.96rem;
  font-weight: 600;
}

/* Enroll CTA */
.home-page .bottom-cta,
.home-page .section-inner.bottom-cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding-block: 12px;
  color: var(--white);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-page .bottom-cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  min-height: 0;
  padding-block: 12px;
}

.home-page .bottom-cta-main {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 16px;
}

.home-page .bottom-cta .eyebrow {
  color: var(--gold-2);
}

.home-page .bottom-cta h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.02em;
}

.home-page .bottom-cta p {
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0.9;
}

.home-page .bottom-cta-stat {
  display: none;
}

.home-page .bottom-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 240px;
}

.home-page .bottom-cta-buttons .ghost-button {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
}

.home-page .bottom-cta-buttons .primary-button {
  min-width: 160px;
}

/* Footer */
.home-page .home-footer {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--white);
  background: #010814;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-page .home-footer::before {
  display: none;
}

.home-page .site-footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: auto;
  padding-block: 40px;
}

.home-page .site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 8px;
}

.home-page .site-footer-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.home-page .site-footer-nav a:hover {
  color: var(--gold-2);
}

.home-page .site-footer-tagline {
  font-size: 0.95rem;
  font-weight: 600;
}

/* Utilities */
.home-page .floating-actions {
  display: none !important;
}

.home-page .compare-bar {
  right: var(--section-x);
  left: var(--section-x);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.home-page .home-footer .brand img {
  max-height: 56px;
  max-width: min(260px, 60vw);
}

.home-page .testimonial-carousel {
  margin-top: 8px;
}

.home-page .carousel-dots {
  margin-top: 20px;
}

.home-page .section-heading .carousel-controls {
  flex-shrink: 0;
}

.home-page .pathway-intro p:last-child {
  max-width: 520px;
}

.home-page .courses-shell,
.home-page .course-grid,
.home-page .faq-layout,
.home-page .testimonial-carousel,
.home-page .pathway-shell {
  width: 100%;
}

/* Responsive */
@media (max-width: 1100px) {
  .home-page .header-shell {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .home-page .header-shell .menu-button {
    display: inline-block;
    justify-self: end;
  }

  .home-page .header-shell .main-nav,
  .home-page .header-shell .header-actions {
    grid-column: 1 / -1;
    display: none;
  }

  .home-page .site-header.menu-open .header-shell .main-nav,
  .home-page .site-header.menu-open .header-shell .header-actions {
    display: flex;
  }

  .home-page .site-header.menu-open .header-shell .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .home-page .site-header {
    grid-template-columns: none;
  }

  .home-page .hero-layout {
    grid-template-columns: 1fr;
  }

  .home-page .pathway-shell {
    grid-template-columns: 1fr;
  }

  .home-page .courses-shell {
    grid-template-columns: 1fr;
  }

  .home-page .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .faq-layout {
    grid-template-columns: 1fr;
  }

  .home-page .courses-intro-actions {
    justify-content: start;
  }

  .home-page .bottom-cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-page .bottom-cta-main {
    justify-items: center;
    text-align: center;
  }

  .home-page .bottom-cta-buttons {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 780px) {
  .home-page .hero {
    min-height: auto;
  }

  .home-page .hero-inner.section-inner {
    padding-block: 40px 48px;
  }

  .home-page .hero-metrics {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: none;
  }

  .home-page .hero-metrics div,
  .home-page .hero-metrics div:nth-child(2),
  .home-page .hero-metrics div:nth-child(2n),
  .home-page .hero-metrics div:last-child {
    height: auto;
    min-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    grid-column: auto;
  }

  .home-page .brand img {
    max-height: 52px;
    max-width: min(220px, 65vw);
  }

  .home-page .course-toolbar {
    grid-template-columns: 1fr;
  }

  .home-page .feature-strip,
  .home-page .pathway-steps {
    grid-template-columns: 1fr;
  }

  .home-page .section-heading {
    display: grid;
    align-items: start;
  }

  .home-page .courses-intro-actions {
    justify-content: stretch;
  }

  .home-page .courses-intro-actions .primary-button,
  .home-page .courses-intro-actions .ghost-button {
    flex: 1;
    text-align: center;
  }

  .home-page .hero-actions,
  .home-page .bottom-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .home-page .hero-actions .primary-button,
  .home-page .hero-actions .secondary-button,
  .home-page .bottom-cta-buttons .primary-button,
  .home-page .bottom-cta-buttons .ghost-button {
    width: 100%;
  }

  .home-page .faq-intro .faq-contact-btn {
    margin-left: 0;
  }

  .home-page .site-footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .home-page .site-footer-cta {
    justify-self: center;
    width: 100%;
    max-width: 280px;
  }
}
