/* The homepage hero keeps its copy and learning previews independent of the photo. */
.home-hero--editorial {
  padding: clamp(1.75rem, 3vw, 3rem) 0 2.5rem;
  background: linear-gradient(180deg, #f7faff 0%, #f8faff 75%, #fff 100%);
  color: #0c173b;
}

.home-hero--editorial::before {
  content: none;
}

.home-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 3.8vw, 3.75rem);
  align-items: stretch;
}

.home-hero__visual {
  position: relative;
  min-width: 0;
  min-height: clamp(560px, calc(100svh - 235px), 720px);
  overflow: hidden;
  border-radius: 24px;
  background: #e7e3db;
  isolation: isolate;
}

.home-hero__photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.home-hero__experience {
  position: absolute;
  right: clamp(1rem, 2vw, 2rem);
  bottom: clamp(1.5rem, 3vw, 3rem);
  left: clamp(1rem, 2vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 0.75rem;
  align-items: stretch;
}

.home-hero__preview {
  min-width: 0;
  padding: clamp(0.9rem, 1.5vw, 1.3rem);
  border: 1px solid rgba(222, 227, 237, 0.75);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(35, 39, 53, 0.07);
}

.home-hero__preview-title {
  margin: 0 0 0.8rem;
  color: #0c173b;
  font-size: clamp(1rem, 1.55vw, 1.3rem);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.home-hero__preview-label,
.home-hero__preview-caption,
.home-hero__coach-message p {
  margin: 0;
  color: #29416d;
  font-size: 0.9rem;
  line-height: 1.4;
}

.home-hero__progress-track {
  display: block;
  height: 9px;
  margin: 0.65rem 0;
  overflow: hidden;
  border-radius: 99px;
  background: #dce2ef;
}

.home-hero__progress-track span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: #0b63e6;
}

.home-hero__preview-caption {
  font-size: 0.75rem;
}

.home-hero__coach-message {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
}

.home-hero__coach-message > i {
  color: #0b63e6;
  font-size: 1.6rem;
  line-height: 1;
}

.home-hero__coach-message p {
  padding-left: 0.75rem;
  border-left: 1px solid #cad4e8;
}

.home-hero__copy {
  align-self: center;
  min-width: 0;
  padding: 1rem 0;
  container-type: inline-size;
}

.home-hero__eyebrow {
  margin: 0 0 1.55rem;
  color: #344d78;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.home-hero__heading {
  margin: 0;
  color: #0c173b;
  font-size: clamp(2rem, 3.7vw, 3.75rem);
  font-size: clamp(1.5rem, 9.5cqw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.home-hero__heading-line {
  display: block;
  white-space: nowrap;
}

.home-hero__description {
  max-width: 34rem;
  margin: 1.65rem 0 0;
  color: #344d78;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 1.8rem;
}

.home-hero__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 52px;
  padding: 0.8rem 1.55rem;
  border: 1px solid #0b63e6;
  border-radius: 9px;
  background: #0b63e6;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow: none;
  transition: background-color var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.home-hero__primary:hover,
.home-hero__primary:focus-visible {
  border-color: #094fba;
  background: #094fba;
}

.home-hero__primary i {
  transition: transform var(--motion-fast) ease;
}

.home-hero__primary:hover i {
  transform: translateX(3px);
}

.home-hero__catalog {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #0b63e6;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.home-hero__catalog:hover {
  color: #094fba;
}

.home-hero__primary:focus-visible,
.home-hero__catalog:focus-visible {
  outline: 3px solid #0b63e6;
  outline-offset: 4px;
}

.home-hero__benefits {
  display: grid;
  gap: 0.7rem;
  padding: 1.4rem 0 0;
  margin: 1.25rem 0 0;
  border-top: 1px solid #c4cfe3;
  list-style: none;
}

.home-hero__benefits li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: baseline;
  color: #0c173b;
  font-size: clamp(0.88rem, 1.14vw, 1rem);
  line-height: 1.45;
}

.home-hero__benefits i {
  color: #0b63e6;
  font-size: 1.05rem;
}

@media (max-width: 991px) {
  .home-hero__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .home-hero__copy {
    grid-row: 1;
    max-width: 40rem;
    padding: 0;
  }

  .home-hero__heading {
    font-size: clamp(1.5rem, 9.5cqw, 3.5rem);
  }

  .home-hero__eyebrow {
    margin-bottom: 1rem;
  }

  .home-hero__description {
    margin-top: 1.1rem;
    font-size: 1.05rem;
  }

  .home-hero__actions {
    margin-top: 1.4rem;
  }

  .home-hero__benefits li {
    font-size: 1rem;
  }

  .home-hero__visual {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .home-hero__preview-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 575px) {
  .home-hero--editorial {
    padding-top: 1.75rem;
  }

  .home-hero__description {
    font-size: 1rem;
  }

  .home-hero__benefits li {
    font-size: 0.9rem;
  }

  .home-hero__visual {
    aspect-ratio: 4 / 5;
    overflow: visible;
    margin-bottom: 3rem;
    border-radius: 18px;
  }

  .home-hero__photo {
    border-radius: inherit;
  }

  .home-hero__experience {
    right: 0.75rem;
    bottom: -3rem;
    left: 0.75rem;
    gap: 0.5rem;
  }

  .home-hero__preview {
    padding: 0.9rem 0.7rem;
    border-radius: 12px;
  }

  .home-hero__preview-title {
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
  }

  .home-hero__preview-label,
  .home-hero__coach-message p {
    font-size: 0.8rem;
  }

  .home-hero__preview-caption {
    font-size: 0.7rem;
  }

  .home-hero__coach-message {
    display: block;
  }

  .home-hero__coach-message > i {
    display: none;
  }

  .home-hero__coach-message p {
    padding-left: 0;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__primary,
  .home-hero__primary i {
    transition: none;
  }

  .home-hero__primary:hover i {
    transform: none;
  }
}
