/* The approved Beta welcome page, presented on the public website. */
body.is-home {
  background: linear-gradient(120deg, #f5faff, #f0f7fe 65%, #f8fbff);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #17233b;
}
.is-home #app { max-width: 1536px; margin: 0 auto; padding: 0 48px; }
.is-home .home.home--student {
  display: grid;
  grid-template-columns: minmax(460px, .9fr) minmax(0, 1.4fr);
  gap: 28px;
  height: auto;
  min-height: 0;
  padding: 16px 0 0;
  align-items: center;
  overflow: hidden;
}
.is-home .home-copy { position: relative; z-index: 1; padding: 12px 0 36px; }
.is-home .home-copy .eyebrow {
  display: block;
  margin: 0 0 23px;
  color: #0058fc;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .8px;
}
.is-home .home-copy .eyebrow::before { content: none; }
.is-home .home-copy h1 {
  margin: 0 0 26px;
  color: #10203e;
  font-size: clamp(64px, 5.1vw, 82px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -2.4px;
}
.is-home .home-copy h1 span { display: block; width: max-content; position: relative; z-index: 0; }
.is-home .home-copy h1 span:first-child::after {
  content: "";
  position: absolute;
  bottom: -.13em;
  left: -.065em;
  width: 80%;
  height: .38em;
  background: url('/assets/illustrations/slogan-handwritten-underline.svg') center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: -1;
}
.is-home .home-benefits { max-width: 500px; margin: 25px 0 28px; }
.is-home .home-benefits > div { position: relative; padding: 17px 0 19px 74px; border-bottom: 1px solid #d5e2f3; min-height: 86px; }
.is-home .home-benefits > div:first-child { padding-top: 10px; }
.is-home .home-benefits > div:last-child { padding-bottom: 0; border: 0; }
.is-home .home-benefits dt { margin: 0 0 5px; color: #16243e; font-size: 18px; font-weight: 700; line-height: 1.5; }
.is-home .home-benefits dd { max-width: 410px; margin: 0; color: #61738d; font-size: 14px; line-height: 1.9; }
.is-home .home-benefit-icon { position: absolute; left: 0; top: 17px; display: grid; place-items: center; width: 55px; height: 55px; border-radius: 50%; background: #e7f0ff; color: #0058fc; }
.is-home .home-benefits > div:first-child .home-benefit-icon { top: 10px; }
.is-home .home-benefit-icon .ux-icon { display: block; width: 29px; height: 29px; stroke-width: 1.8; }
.is-home .home-actions .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #0058fc;
  border-radius: 9px;
  background: #0058fc;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  box-shadow: 0 5px 14px #0058fc0d;
}
.is-home .home-actions .primary:hover { background: #0037c8; border-color: #0037c8; }
.is-home .home-illustration { width: 100%; max-width: 820px; margin: 0; justify-self: end; align-self: center; }
.is-home .home-illustration img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 0;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 94%, transparent), linear-gradient(0deg, transparent, #000 5%, #000 95%, transparent);
  mask-composite: intersect;
}
@media (min-width: 1700px) {
  .is-home .home.home--student { grid-template-columns: 520px minmax(0, 1fr); gap: 70px; }
  .is-home .home-illustration { max-width: 850px; }
}
@media (min-width: 1000px) and (max-width: 1450px) {
  .is-home .home.home--student { grid-template-columns: 460px minmax(0, 1fr); gap: 18px; }
  .is-home .home-benefits dt { font-size: 17px; }
  .is-home .home-benefits dd { font-size: 13px; }
  .is-home .home-benefits > div { padding-left: 66px; }
  .is-home .home-benefit-icon { width: 49px; height: 49px; }
}

/* Share the desktop viewport between the header, home content and complete footer. */
@media (min-width: 1000px) {
  .is-home .shell {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100svh;
    min-height: 700px;
  }
  .is-home #app { width: 100%; min-height: 0; }
  .is-home .home.home--student { height: 100%; padding: 12px 0 18px; overflow: visible; }
  .is-home .home-copy { padding: 0; }
  .is-home .home-copy .eyebrow { margin-bottom: 14px; }
  .is-home .home-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(56px, min(5.1vw, 8.2svh), 82px);
    line-height: 1.2;
  }
  .is-home .home-benefits { margin: 18px 0 20px; }
  .is-home .home-benefits > div { min-height: 76px; padding-top: 12px; padding-bottom: 14px; }
  .is-home .home-benefits > div:first-child { padding-top: 8px; }
  .is-home .home-benefits > div:last-child { padding-bottom: 0; }
  .is-home .home-benefit-icon { top: 12px; }
  .is-home .home-benefits > div:first-child .home-benefit-icon { top: 8px; }
  .is-home .home-illustration {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    min-height: 0;
    align-self: stretch;
  }
  .is-home .home-illustration img { width: auto; max-width: 100%; height: 100%; }
  .is-home footer.site-footer { padding-top: 18px; padding-bottom: 16px; }
  .is-home .site-footer .legal { margin-top: 8px; }
}

@media (min-width: 1000px) and (max-height: 780px) {
  .is-home .home-copy .eyebrow { margin-bottom: 10px; font-size: 13px; }
  .is-home .home-copy h1 {
    margin-bottom: 14px;
    font-size: clamp(50px, min(4.9vw, 8svh), 64px);
    line-height: 1.18;
  }
  .is-home .home-benefits { margin: 14px 0 18px; }
  .is-home .home-benefits > div { min-height: 68px; padding-top: 10px; padding-bottom: 11px; }
  .is-home .home-benefits > div:first-child { padding-top: 8px; }
  .is-home .home-benefits > div:last-child { padding-bottom: 0; }
  .is-home .home-benefits dt { margin-bottom: 4px; font-size: 16px; line-height: 1.45; }
  .is-home .home-benefits dd { font-size: 13px; line-height: 1.65; }
  .is-home .home-benefit-icon { top: 10px; width: 46px; height: 46px; }
}
