.hello-cat {
  display: block;
  flex: none;
  width: 42px;
  aspect-ratio: 724 / 887;
  /* The original lockup is 1774 × 887. Show its left-hand mascot only. */
  background: url('/assets/hello-china-original.png') left center / auto 100% no-repeat;
}

.hello-wordmark {
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}

.hello-wordmark-last {
  position: relative;
  color: var(--blue);
}

.hello-wordmark-last::after {
  content: '';
  position: absolute;
  width: .59em;
  height: .59em;
  top: -.46em;
  right: -.27em;
  background: #ffc83d;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.brand {
  gap: 7px;
  margin-right: 0;
  font-size: 19px;
}

.mobile-brand .hello-cat { width: 31px; }
.auth-logo .hello-cat { width: 54px; }

.hello-landing-open > .auth-root {
  display: block;
  padding: 0;
  background: var(--background);
}

.hello-landing-open > .skip-link { display: none; }

.hello-landing-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 80px;
  padding: 12px max(24px, calc((100% - 1380px) / 2));
  background: var(--white);
  border-bottom: 1px solid #e1e8f3;
}

.hello-landing-top a {
  color: #405371;
  text-decoration: none;
  font-size: clamp(14px, 1.25vw, 20px);
  line-height: 1.35;
}

.hello-landing-top a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hello-landing-top nav { display: flex; justify-content: center; gap: clamp(16px, 3vw, 46px); }

.hello-landing-top .hello-landing-brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  white-space: nowrap;
}

.hello-landing-brand::before,
.hello-hero::after {
  content: '';
  aspect-ratio: 1;
  background: #ffc83d;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.hello-landing-brand::before { width: 23px; flex: none; }
.hello-landing-top .hello-landing-login { justify-self: end; color: var(--blue); font-weight: 800; white-space: nowrap; }

.hello-landing-main {
  max-width: 1476px;
  padding: clamp(24px, 4vw, 62px) clamp(16px, 4vw, 48px) 64px;
}

.hello-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  margin-bottom: 30px;
  padding: clamp(38px, 6.25vw, 98px) clamp(22px, 5vw, 70px) clamp(29px, 4vw, 54px);
  min-height: 340px;
  border-radius: clamp(18px, 2.4vw, 36px);
  background: #e5edff;
}

.hello-landing .hello-hero { min-height: clamp(410px, 38vw, 560px); }

.hello-hero-watermark {
  position: absolute;
  z-index: -1;
  inset: 10% 0 auto;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  color: #132d6c;
  font-size: clamp(24px, 13cqw, 180px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.065em;
  opacity: .17;
  pointer-events: none;
  user-select: none;
}

.hello-hero-watermark span + span { color: #315ec7; }

.hello-hero::after {
  position: absolute;
  top: 7%;
  right: 6.2%;
  width: clamp(16px, 3.25vw, 45px);
  pointer-events: none;
}

.hello-hero-copy { padding-top: clamp(30px, 8cqw, 104px); }

.hello-hero-copy h1,
.hello-hero-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 4.35cqw, 60px);
  line-height: 1.08;
  letter-spacing: -.05em;
  font-weight: 800;
}

.hello-hero-copy p {
  max-width: 37ch;
  margin: clamp(10px, 2vw, 24px) 0;
  color: #405371;
  font-size: clamp(14px, 2cqw, 24px);
  line-height: 1.48;
}

.hello-hero .hello-guide-link {
  min-height: 44px;
  padding: clamp(10px, 1.3vw, 18px) clamp(13px, 2vw, 26px);
  border-radius: clamp(11px, 1.4vw, 20px);
  font-size: clamp(14px, 1.8cqw, 22px);
  line-height: 1.3;
  font-weight: 750;
}

.hello-guide-link span { margin-left: 4px; }

.hello-hero .hello-hero-cat {
  width: min(100%, 320px);
  justify-self: end;
  aspect-ratio: 724 / 780;
  background-size: auto 114%;
  margin-top: clamp(18px, 5cqw, 70px);
}

.hello-landing .hello-hero-cat { width: min(100%, 365px); }

.hello-guide { margin: 36px 0; scroll-margin-top: 24px; }
.hello-guide h2 { margin-bottom: 16px; }
.hello-guide ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-left: 24px; }
.hello-guide li { padding-left: 4px; }
.hello-guide li::marker { color: var(--blue); font-weight: 800; }
.hello-guide li p { margin-top: 6px; color: #405371; line-height: 1.55; }

.hello-landing .auth-card { margin: 52px auto 0; scroll-margin-top: 24px; }
.hello-landing .auth-card h2 { font-size: clamp(28px, 4vw, 32px); line-height: 1.15; }

.privacy-link,
.site-footer-links a,
.policy-document a {
  color: #234ba6;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.privacy-form-note { margin-top: 16px; font-size: 13px; }
.auth-card .privacy-form-note { text-align: center; }
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  line-height: 1.5;
}

.footer:has(.site-footer-links) {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 24px;
  font-size: 13px;
  color: #405371;
}

.footer.site-document-footer {
  max-width: 1476px;
  padding: 20px clamp(16px, 4vw, 48px);
}

@media (max-width: 750px) {
  .hello-landing-top { grid-template-columns: 1fr auto; min-height: 72px; gap: 10px; padding-inline: 16px; }
  .hello-landing-top nav { grid-column: 1 / -1; grid-row: 2; justify-content: start; }
  .hello-landing-brand::before { width: 15px; }
  .hello-hero { min-height: 0; }
  .hello-landing .hello-hero { min-height: 0; }
  .hello-guide ol { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 1080px) {
  .brand { font-size: 17px; }
  .brand .hello-cat { width: 34px; }
}

@media (max-width: 560px) {
  .hello-hero { grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); gap: 6px; padding: 45px 16px 23px; }
  .hello-hero-watermark { font-size: clamp(23px, 12cqw, 54px); }
  .hello-hero-copy { padding-top: 25px; }
  .hello-hero-copy h1, .hello-hero-copy h2 { font-size: clamp(20px, 6.4cqw, 34px); }
  .hello-hero .hello-guide-link { gap: 4px; padding-inline: 9px; text-align: center; }
  .hello-hero .hello-guide-link span { margin-left: 0; }
}
