/* ALTO homepage hero v9: original abstract typesetting field. */
.home-page .landing-hero.page-shell {
  position: relative;
  isolation: isolate;
  width: min(calc(100% - 48px), 1180px);
  height: 500px;
  min-height: 500px;
  margin-top: 0;
  padding: 38px 42px 38px 48px;
  border: 1px solid rgba(145, 193, 164, .46);
  border-radius: 32px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: 44px;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 38%, rgba(185, 235, 204, .46), transparent 37%),
    linear-gradient(137deg, rgba(250, 254, 251, .98), rgba(238, 249, 242, .95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    0 34px 88px -66px rgba(17, 83, 49, .56);
  text-align: left;
}

.home-page .landing-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 26px;
  display: block;
  pointer-events: none;
}

.home-page .landing-hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  top: -170px;
  right: -94px;
  width: 510px;
  height: 510px;
  border-radius: 50%;
  display: block;
  background: radial-gradient(circle, rgba(119, 205, 151, .22), rgba(119, 205, 151, 0) 68%);
  opacity: .9;
  transform: none;
  animation: none !important;
  pointer-events: none;
}

.home-page .hero-copy {
  position: relative;
  z-index: 2;
  max-width: none;
  padding: 0;
  margin: 0;
  text-align: left;
  animation: none !important;
}

.home-page .landing-hero h1 {
  max-width: 100%;
  margin: 0;
  color: #11281d;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  font-size: clamp(48px, 4.4vw, 60px);
  font-weight: 760;
  letter-spacing: -.058em;
  line-height: 1.07;
  white-space: normal;
  text-shadow: none;
  animation: none !important;
}

.home-page .landing-hero h1 span {
  display: block;
  margin: 0 0 11px;
  color: #2f8758;
  font-size: .73em;
  font-weight: 730;
  letter-spacing: -.032em;
}

.home-page .landing-hero h1 strong {
  display: block;
  color: inherit;
  font-size: .88em;
  font-weight: inherit;
  white-space: nowrap;
}

.home-page .landing-actions {
  position: relative;
  z-index: 2;
  width: auto;
  height: auto;
  margin-top: 36px;
  justify-content: flex-start;
  gap: 13px;
  animation: none !important;
}

.home-page .landing-actions::before {
  display: none;
}

.home-page .landing-actions .landing-primary,
.home-page .landing-actions .landing-secondary {
  width: auto;
  min-width: 132px;
  height: 54px;
  min-height: 54px;
  padding: 0 27px;
  border-radius: 999px;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  font-size: 15px;
  line-height: 22px;
  transition:
    transform .55s cubic-bezier(.16, 1, .3, 1),
    background-color .55s cubic-bezier(.16, 1, .3, 1),
    border-color .55s cubic-bezier(.16, 1, .3, 1),
    box-shadow .55s cubic-bezier(.16, 1, .3, 1) !important;
}

.home-page .landing-actions .landing-primary {
  min-width: 154px;
  padding: 0 8px 0 23px;
  gap: 15px;
  justify-content: space-between;
  border-color: #173f2e;
  background: #173f2e;
  box-shadow: 0 20px 38px -25px rgba(16, 68, 43, .66);
}

.home-page .landing-primary i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .12);
  color: #f7fff9;
  font-family: "Segoe UI Symbol", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  transition:
    transform .55s cubic-bezier(.16, 1, .3, 1),
    background-color .55s cubic-bezier(.16, 1, .3, 1);
}

.home-page .landing-actions .landing-primary:hover {
  border-color: #0d3322;
  background: #0d3322;
  box-shadow: 0 24px 44px -25px rgba(13, 65, 39, .76);
  transform: translateY(-2px);
}

.home-page .landing-primary:hover i {
  background: rgba(255, 255, 255, .18);
  transform: translate3d(2px, -1px, 0) scale(1.04);
}

.home-page .landing-actions .landing-secondary {
  border-color: rgba(104, 155, 124, .38);
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88);
  color: #355342;
}

.home-page .landing-actions .landing-secondary:hover {
  border-color: rgba(68, 139, 96, .58);
  background: rgba(255, 255, 255, .96);
  transform: translateY(-2px);
}

.home-page .landing-actions .landing-primary:active,
.home-page .landing-actions .landing-secondary:active {
  transform: scale(.975);
}

.home-page .hero-visual.hero-typeset-field {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 414px;
  margin: 0;
  animation: none !important;
  perspective: 1200px;
}

.home-page .hero-visual.hero-typeset-field::before,
.home-page .hero-visual.hero-typeset-field::after {
  display: none;
}

.home-page .hero-typeset-shell {
  position: absolute;
  inset: 0;
  padding: 7px;
  border: 1px solid rgba(137, 183, 154, .34);
  border-radius: 29px;
  background: rgba(69, 126, 91, .055);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 34px 70px -48px rgba(20, 84, 49, .56);
  transform: rotateY(0deg) rotateX(0deg);
  transition:
    transform .8s cubic-bezier(.16, 1, .3, 1),
    box-shadow .8s cubic-bezier(.16, 1, .3, 1);
}

.home-page .hero-typeset-core {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 22px;
  background:
    radial-gradient(circle at 76% 25%, rgba(171, 227, 192, .34), transparent 34%),
    radial-gradient(circle at 18% 80%, rgba(194, 235, 209, .26), transparent 32%),
    linear-gradient(145deg, #f7fcf9 0%, #eaf6ee 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .9),
    inset 0 -1px 0 rgba(99, 157, 120, .09);
}

.home-page .hero-typeset-core::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, .42) 48%, transparent 72%);
  opacity: .42;
  transform: translate3d(-42%, 0, 0);
  pointer-events: none;
}

.home-page #heroTypesetCanvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
}

.home-page .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (prefers-reduced-motion: no-preference) {
  .home-page.site-ready .hero-copy {
    animation: heroV9CopyIn .9s .06s cubic-bezier(.16, 1, .3, 1) both !important;
  }

  .home-page.site-ready .hero-visual.hero-typeset-field {
    animation: heroV9FieldIn 1.05s .12s cubic-bezier(.16, 1, .3, 1) both !important;
  }

  .home-page.site-ready .hero-typeset-core::before {
    animation: heroV9SurfaceLight 7.5s 1.2s cubic-bezier(.37, 0, .63, 1) infinite;
  }
}

@keyframes heroV9CopyIn {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes heroV9FieldIn {
  from { opacity: 0; transform: translate3d(18px, 18px, 0) scale(.965); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes heroV9SurfaceLight {
  0%, 18% { opacity: 0; transform: translate3d(-54%, 0, 0); }
  42% { opacity: .46; }
  68%, 100% { opacity: 0; transform: translate3d(54%, 0, 0); }
}

@media (max-width: 1020px) {
  .home-page .landing-hero.page-shell {
    height: 480px;
    min-height: 480px;
    padding: 35px 32px 35px 38px;
    grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr);
    gap: 30px;
  }

  .home-page .landing-hero h1 {
    font-size: clamp(42px, 5.2vw, 53px);
  }

  .home-page .hero-visual.hero-typeset-field {
    height: 380px;
  }
}

@media (max-width: 820px) {
  .home-page .landing-hero.page-shell {
    width: min(calc(100% - 32px), 680px);
    height: auto;
    min-height: 0;
    padding: 31px 28px 27px;
    border-radius: 28px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-page .landing-hero::before {
    inset: 5px;
    border-radius: 23px;
  }

  .home-page .hero-copy {
    width: 100%;
    text-align: left;
  }

  .home-page .landing-hero h1 {
    margin: 0;
    font-size: clamp(39px, 7.2vw, 48px);
    line-height: 1.07;
  }

  .home-page .landing-hero h1 span {
    margin-bottom: 7px;
  }

  .home-page .landing-hero h1 strong {
    font-size: clamp(32px, 6.2vw, 40px);
    letter-spacing: -.055em;
  }

  .home-page .landing-actions {
    width: 100%;
    margin-top: 25px;
    flex-direction: row;
  }

  .home-page .landing-actions .landing-primary,
  .home-page .landing-actions .landing-secondary {
    min-height: 50px;
    height: 50px;
  }

  .home-page .hero-visual.hero-typeset-field {
    height: 282px;
  }

  .home-page .hero-typeset-shell {
    border-radius: 24px;
  }

  .home-page .hero-typeset-core {
    border-radius: 18px;
  }
}

@media (max-width: 480px) {
  .home-page .landing-hero.page-shell {
    width: calc(100% - 28px);
    padding: 26px 20px 21px;
    border-radius: 25px;
    gap: 20px;
  }

  .home-page .landing-hero::before {
    border-radius: 20px;
  }

  .home-page .landing-hero h1 {
    font-size: clamp(35px, 10.2vw, 41px);
  }

  .home-page .landing-hero h1 strong {
    font-size: clamp(28px, 8.05vw, 33px);
  }

  .home-page .landing-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .home-page .landing-actions .landing-primary,
  .home-page .landing-actions .landing-secondary {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding-inline: 14px;
    font-size: 14px;
  }

  .home-page .landing-actions .landing-primary {
    padding: 0 6px 0 17px;
    gap: 8px;
  }

  .home-page .landing-primary i {
    width: 36px;
    height: 36px;
  }

  .home-page .hero-visual.hero-typeset-field {
    height: 258px;
  }

  .home-page .hero-typeset-shell {
    padding: 5px;
    border-radius: 22px;
  }

  .home-page .hero-typeset-core {
    border-radius: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-copy,
  .home-page .hero-visual.hero-typeset-field,
  .home-page .hero-typeset-core::before {
    animation: none !important;
  }

  .home-page .hero-typeset-shell,
  .home-page .landing-actions .landing-primary,
  .home-page .landing-actions .landing-secondary,
  .home-page .landing-primary i {
    transition: none !important;
  }
}
