/* Homepage scroll cards: illustration and a short path to What we offer. */
/* Keep the sticky introduction, including both calls to action, inside a laptop viewport. */
@media (min-width: 1101px) {
  .panel-hero .panel-hero-copy-inner {
    box-sizing: border-box;
    min-height: calc(100vh - 166px);
    min-height: calc(100dvh - 166px);
    max-height: calc(100dvh - 166px);
    justify-content: flex-end;
    padding: clamp(24px, min(2.8vw, 3.8vh), 42px);
  }
  .panel-hero .panel-hero-copy h1 {
    font-size: clamp(54px, min(6.1vw, 8.8vh), 96px);
    line-height: .91;
  }
  .panel-hero .panel-hero-copy-inner > p {
    margin-top: 18px;
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.42;
  }
  .panel-hero .panel-hero-copy .hero-actions { margin-top: 18px; }
}
@media (min-width: 1101px) and (max-height: 820px) {
  .panel-hero .panel-hero-copy h1 {
    font-size: clamp(48px, min(5.7vw, 8.4vh), 68px);
  }
}
@media (min-width: 1101px) {
  body:has(.staffs-consent__panel:not([hidden])) .panel-hero .panel-hero-copy-inner {
    padding-bottom: calc(clamp(24px, min(2.8vw, 3.8vh), 42px) + 72px);
  }
}
@media (min-width: 1101px) and (max-height: 700px) {
  .panel-hero .panel-hero-copy { position: static; }
  .panel-hero .panel-hero-copy-inner { min-height: 0; max-height: none; }
}
.panel-story-card[data-panel-step] { gap: clamp(12px, 1.8vh, 22px); }
.panel-product-icon,
.panel-practice-card .panel-product-icon,
.panel-tutoring-card .panel-product-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 270px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.panel-product-icon img {
  display: block;
  width: auto;
  max-width: 94%;
  height: clamp(245px, 31vh, 350px);
  object-fit: contain;
}
.panel-learn-more {
  margin-left: .5em;
  color: inherit;
  font-size: .72em;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.panel-learn-more:hover, .panel-learn-more:focus-visible { color: #bbffca; }
.panel-story-card .home-panel-description { margin-top: 0; }
.panel-story-card .home-panel-description p { line-height: 1.45; }
.home-choice-section .home-choice-buy > small { margin-bottom: 0; }
.home-choice-section .sequence-card > .home-choice-link {
  justify-self: start;
  align-self: start;
  margin-top: 20px;
}
@media (min-width: 901px) {
  .home-choice-section .sequence-grid { grid-template-rows: repeat(5, auto); }
  .home-choice-section .sequence-card { grid-row: span 5; }
}
@media (max-width: 760px) {
  .panel-product-icon { min-height: 220px; }
  .panel-product-icon img { height: clamp(220px, 33vh, 300px); max-width: 95%; }
}
@media (max-width: 370px) {
  .panel-product-icon img { height: 220px; }
}
