.consultation-home .light-header {
  position: fixed;
  inset-inline: 0;
  margin-block: 0;
}
.home-consult {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  align-content: center;
  min-height: 100svh;
  padding: clamp(105px, 14svh, 155px) 24px clamp(32px, 7svh, 70px);
  text-align: center;
  background:
    radial-gradient(ellipse at 82% 56%, #e8edff 0%, transparent 56%),
    radial-gradient(ellipse at 14% 30%, #e9f6f4 0%, transparent 46%),
    linear-gradient(180deg, #fff 0%, #f5f7ff 88%, #fafaff 100%);
}
.home-consult-inner { max-width: 1100px; margin: 0 auto; }
.home-consult h1 {
  color: #151631;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 750;
  line-height: .99;
  letter-spacing: -.076em;
  text-wrap: balance;
}
.home-consult:lang(zh-Hans) h1 { font-size: clamp(2.5rem, 6.5vw, 5.45rem); line-height: 1.14; letter-spacing: -.072em; }
.home-consult h1 span { color: #4736c4; }
.home-consult-intro {
  max-width: 58ch;
  margin: 20px auto 37px;
  font-size: clamp(1rem, 1.55vw, 1.16rem);
  text-wrap: pretty;
}
.home-consult-form { width: min(100%, 900px); margin-inline: auto; text-align: start; }
.home-consult-form {
  display: flex;
  flex-direction: column;
  min-height: 171px;
  padding: 14px 17px 16px;
  border: 1px solid #d6daef;
  border-radius: 27px;
  background: #fff;
  box-shadow: 0 20px 56px #28327e15, 0 4px 15px #28327e08;
}
.home-consult-form:focus-within { border-color: #9384f0; box-shadow: 0 0 0 3px #6e59df15, 0 20px 56px #28327e15; }
.home-consult-form label { padding: 10px 12px 6px; cursor: text; }
.home-consult-form .arrival-typeout {
  color: var(--ink);
  font: 660 clamp(1.5rem, 3.55vw, 2.5rem)/1.25 var(--display);
  letter-spacing: -.045em;
  animation: none;
}
.home-consult-form .arrival-typeout.is-typing {
  display: inline-grid;
}
.home-consult-form .is-typing::before {
  content: attr(data-email-prompt);
  visibility: hidden;
  grid-area: 1 / 1;
}
.home-consult-form .is-typing [data-email-letters] { grid-area: 1 / 1; }
.home-consult-form .is-typing [data-email-letters]::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: .84em;
  margin-inline-start: 2px;
  vertical-align: -.04em;
  background-color: #4934d0;
  animation: email-prompt-caret .85s step-end infinite;
}
@keyframes email-prompt-caret { 50% { opacity: 0; } }
.home-consult-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-inline: 5px; }
.home-consult-tools input {
  min-width: 0;
  flex: 1;
  min-height: 45px;
  padding: 8px 7px;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-size: clamp(1rem, 2vw, 1.25rem);
}
.home-consult-tools input::placeholder { color: #515a74; opacity: 1; }
.home-consult-tools button {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: #4934d0;
  color: #fff;
  font-size: 1.55rem;
  box-shadow: 0 6px 15px #4e3ac94d;
}
.home-consult-tools button:hover { background: #3926b1; }
.home-consult-tools button:disabled { cursor: progress; opacity: .58; }
.home-consult-status { margin: 10px auto 0; font-size: .9rem; }
.home-consult-note { margin: 17px auto 0; font-size: .9rem; }
.home-consult-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 25px;
  margin: 14px auto 0;
}
.home-consult-links :is(a, [data-motion-toggle]) { color: #4634aa; text-decoration: underline; text-underline-offset: .25em; font-size: .88rem; font-weight: 620; }
.home-consult-links [data-motion-toggle] { padding: 0; border: 0; background: transparent; cursor: pointer; }
.consultation-home .consent-shell { position: relative; inset: auto; padding: 0 16px 16px; }
@media (max-width: 620px) {
  .home-consult { padding: clamp(84px, 13svh, 115px) 15px 40px; }
  .home-consult h1 { font-size: clamp(2.65rem, 9.7vw, 3.8rem); letter-spacing: -.064em; }
  .home-consult:lang(zh-Hans) h1 { font-size: clamp(2.05rem, 8.6vw, 3.3rem); }
  .home-consult h1 span { display: block; }
  .home-consult-intro { margin: 14px auto 24px; padding-inline: 4px; }
  .home-consult-form { padding: 10px 11px 12px; border-radius: 20px; min-height: 158px; }
  .home-consult-tools button { width: 44px; height: 44px; }
}

@media (max-width: 430px) and (max-height: 680px) {
  .home-consult { padding-block: 80px 22px; }
  .home-consult h1,
  .home-consult:lang(zh-Hans) h1 { font-size: clamp(1.9rem, 8.4vw, 2.3rem); }
  .home-consult-intro { margin-block: 10px 14px; font-size: .9rem; line-height: 1.4; }
  .home-consult-form { min-height: 120px; }
  .home-consult-note { margin-top: 12px; font-size: .8rem; line-height: 1.4; }
  .home-consult-links { gap: 6px 12px; margin-top: 10px; }
  .home-consult-links :is(a, [data-motion-toggle]) { font-size: .8rem; }
}
