.home-page {
  background: #fff;
  color: #17223b;
}
.home-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}
.home-hero {
  min-height: clamp(500px, 72vh, 680px);
  display: flex;
  align-items: center;
  background-image: var(--home-hero-image);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1000px rgba(5, 18, 43, 0.12);
}
.home-hero-shell {
  width: min(1380px, calc(100% - 40px));
  padding-top: 92px;
  padding-bottom: 48px;
}
.home-hero-copy {
  width: min(610px, 100%);
  color: #fff;
}
.home-kicker,
.home-eyebrow {
  display: inline-block;
  color: #096f65;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.home-kicker {
  color: #ffd84d;
  margin-bottom: 16px;
}
.home-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 6.5rem;
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 10px 28px rgba(3, 12, 29, 0.22);
}
.home-hero-lead {
  max-width: 590px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  line-height: 1.55;
}
.home-search {
  width: min(600px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(4, 13, 32, 0.22);
}
.home-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 12px 14px;
  color: #17223b;
  background: transparent;
}
.home-search input::placeholder {
  color: #6d7890;
}
.home-search button,
.home-btn {
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}
.home-search button {
  padding: 11px 19px;
  background: #ff5d45;
  color: #fff;
}
.home-search button:hover {
  background: #e84933;
}
.home-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.home-hero-links a {
  color: #fff;
  font-weight: 700;
  text-underline-offset: 4px;
}
.home-stats {
  background: #ffd84d;
  color: #18243c;
}
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(260px, 1.4fr);
  min-height: 112px;
}
.home-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 28px;
  border-right: 1px solid rgba(24, 36, 60, 0.2);
}
.home-stat strong {
  font-size: 1.85rem;
  line-height: 1;
}
.home-stat span {
  margin-top: 6px;
  font-weight: 650;
}
.home-stat-action {
  border-right: 0;
  background: #ffca28;
}
.home-stat-action a {
  margin-top: 6px;
  color: #17223b;
  font-weight: 850;
}
.home-section {
  padding: 88px 0;
}
.home-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}
.home-section-heading-compact {
  grid-template-columns: 1fr auto;
}
.home-section-heading h2,
.home-instructor-band h2 {
  margin: 7px 0 0;
  color: #17223b;
  font-size: 3rem;
  line-height: 1.04;
  font-weight: 850;
  letter-spacing: 0;
}
.home-section-heading p {
  margin: 0;
  color: #68748c;
  font-size: 1.05rem;
  line-height: 1.7;
}
.home-text-link {
  color: #096f65;
  font-weight: 800;
  text-underline-offset: 4px;
}
.home-paths-section,
.home-courses-section {
  background: #fff;
}
.home-path-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.home-path {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #17223b;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.home-path:hover {
  color: #17223b;
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(32, 45, 74, 0.12);
}
.home-path-sky { background: #e4f3ff; border-color: #b9ddf8; }
.home-path-coral { background: #ffebe6; border-color: #ffc8bd; }
.home-path-mint { background: #dff7ed; border-color: #ade4cf; }
.home-path-yellow { background: #fff4bf; border-color: #f1d875; }
.home-path-rose { background: #ffe9f0; border-color: #f4bfd0; }
.home-path-index {
  font-size: 0.78rem;
  font-weight: 850;
  color: #5f6c84;
}
.home-path h3,
.home-category h3,
.home-course-card h3 {
  letter-spacing: 0;
}
.home-path h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  font-weight: 850;
}
.home-path p {
  margin: 0;
  color: #526078;
  line-height: 1.55;
}
.home-path-meta {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}
.home-categories-section {
  background: #f4f7fb;
}
.home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.home-category {
  min-height: 128px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  color: #17223b;
  text-decoration: none;
  background: #fff;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.home-category:hover {
  color: #17223b;
  transform: translateY(-3px);
  border-color: #9dabc0;
}
.home-category-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-weight: 850;
}
.home-category h3 {
  margin: 1px 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
}
.home-category p {
  margin: 0;
  color: #6d7890;
  font-size: 0.88rem;
}
.home-category-tone-0 .home-category-number { background: #d9efff; color: #075f9d; }
.home-category-tone-1 .home-category-number { background: #ffe3dc; color: #a73525; }
.home-category-tone-2 .home-category-number { background: #d8f4e8; color: #087263; }
.home-category-tone-3 .home-category-number { background: #fff0ad; color: #765a00; }
.home-category-tone-4 .home-category-number { background: #ffe0ea; color: #9b3155; }
.home-category-tone-5 .home-category-number { background: #e6e1ff; color: #5544a5; }
.home-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.home-course-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e7ef;
  border-radius: 8px;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.home-course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(24, 40, 72, 0.11);
}
.home-course-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dfe9f7;
}
.home-course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.home-course-card:hover .home-course-media img {
  transform: scale(1.025);
}
.home-course-media > span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 9px;
  border-radius: 4px;
  background: #ffd84d;
  color: #17223b;
  font-size: 0.76rem;
  font-weight: 850;
}
.home-course-body {
  padding: 21px;
}
.home-course-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: #768198;
  font-size: 0.78rem;
  font-weight: 700;
}
.home-course-card h3 {
  margin: 13px 0 9px;
  font-size: 1.22rem;
  line-height: 1.3;
  font-weight: 850;
}
.home-course-card h3 a {
  color: #17223b;
  text-decoration: none;
}
.home-course-card p {
  min-height: 66px;
  margin: 0;
  color: #68748c;
  line-height: 1.55;
}
.home-course-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf0f4;
}
.home-course-price strong {
  color: #08766a;
  font-size: 1.2rem;
}
.home-course-price del {
  display: block;
  color: #8993a6;
  font-size: 0.78rem;
}
.home-course-footer > a {
  color: #e84933;
  font-weight: 800;
}
.home-empty-state {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fff;
}
.home-empty-state a {
  color: #096f65;
  font-weight: 800;
}
.home-instructor-band {
  padding: 76px 0;
  background: #10284d;
  color: #fff;
  border-top: 10px solid #ff5d45;
}
.home-instructor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 64px;
  align-items: center;
}
.home-eyebrow-light {
  color: #ffd84d;
}
.home-instructor-band h2 {
  color: #fff;
  max-width: 760px;
}
.home-instructor-band p {
  max-width: 720px;
  margin: 20px 0 0;
  color: #c9d5e9;
  font-size: 1.08rem;
  line-height: 1.65;
}
.home-instructor-actions {
  display: grid;
  gap: 12px;
}
.home-btn {
  display: block;
  padding: 14px 18px;
  text-align: center;
}
.home-btn-yellow {
  background: #ffd84d;
  color: #17223b;
}
.home-btn-yellow:hover {
  color: #17223b;
  background: #ffc91f;
}
.home-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}
.home-btn-outline:hover {
  color: #fff;
  border-color: #fff;
}
.home-page .site-footer {
  margin-top: 0 !important;
}
@media (max-width: 1100px) {
  .home-path-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .home-shell,
  .home-hero-shell { width: min(100% - 28px, 1280px); }
  .home-hero {
    min-height: 560px;
    background-position: 62% center;
    box-shadow: inset 0 0 0 1000px rgba(5, 18, 43, 0.34);
  }
  .home-hero-shell { padding-top: 118px; }
  .home-hero h1 { font-size: 4.5rem; }
  .home-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-stat:nth-child(2) { border-right: 0; }
  .home-stat { border-bottom: 1px solid rgba(24, 36, 60, 0.18); }
  .home-section-heading,
  .home-instructor-grid { grid-template-columns: 1fr; gap: 22px; }
  .home-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-instructor-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .home-hero {
    min-height: 520px;
    background-position: 66% center;
    box-shadow: inset 0 0 0 1000px rgba(5, 18, 43, 0.48);
  }
  .home-hero-shell { padding-top: 106px; padding-bottom: 34px; }
  .home-hero h1 { font-size: 3.75rem; }
  .home-hero-lead { font-size: 1rem; }
  .home-search { grid-template-columns: 1fr; }
  .home-search button { width: 100%; }
  .home-hero-links { gap: 12px 18px; font-size: 0.88rem; }
  .home-stats-grid,
  .home-path-grid,
  .home-category-grid,
  .home-course-grid,
  .home-instructor-actions { grid-template-columns: 1fr; }
  .home-stat { min-height: 92px; border-right: 0; }
  .home-stat-action { min-height: 104px; }
  .home-section { padding: 64px 0; }
  .home-section-heading-compact { grid-template-columns: 1fr; align-items: start; }
  .home-section-heading { gap: 16px; margin-bottom: 26px; }
  .home-section-heading h2,
  .home-instructor-band h2 { font-size: 2.25rem; }
  .home-path { min-height: 215px; }
  .home-course-card p { min-height: 0; }
  .home-empty-state { flex-direction: column; }
  .home-instructor-band { padding: 62px 0; }
}