html:has(.official-home-story) { scroll-snap-type: y proximity; }
.home:has(.official-home-story) { overflow: clip; scroll-snap-align: start; }
.official-home-story > section { scroll-snap-align: start; }
.official-home-story {
  position: relative;
  isolation: isolate;
  font: 14px "Microsoft YaHei", system-ui, sans-serif;
}
.official-home-story * { box-sizing: border-box; }

.official-story-application {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 100svh;
  background: linear-gradient(#fefefe 65%, #eeeaff);
}
.official-story-application__copy {
  width: min(100%, 1920px);
  padding: clamp(24px, 2.4vw, 46px) clamp(20px, 3.3vw, 64px) 12px;
}
.official-story-application__copy h2 {
  margin: 0 0 .25em;
  color: #081539;
  font-size: clamp(28px, 3.85vw, 74px);
  font-weight: 800;
  line-height: 1.2;
  text-wrap: balance;
}
.official-story-application__copy p {
  margin: 0;
  color: #384259;
  font-size: clamp(16px, 1.38vw, 28px);
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.official-story-screen {
  position: relative;
  width: min(100%, 1920px);
  /* Keep the bottom 810 pixels of the 1920x1080 video and poster. */
  aspect-ratio: 1920 / 810;
  overflow: hidden;
}
.official-story-screen video {
  position: absolute;
  inset: auto 0 0;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
@media (prefers-reduced-motion: reduce) {
  html:has(.official-home-story) { scroll-snap-type: none; }
}

.official-story-knowledge{background:#e8ebff}
.knowledge-scene{position:relative;isolation:isolate;height:100svh;background:#dbe1fa url("knowledge-desk.webp") center/cover no-repeat;overflow:hidden}
.knowledge-copy{position:absolute;z-index:2;inset:5.5% 6% auto;text-align:center;pointer-events:none}
.official-story-knowledge h2{color:#101b43;font-size:clamp(23px,min(3.4vw,7svh),58px);margin:0 0 .35em;text-wrap:balance}
.official-story-knowledge p{margin:0;color:#263a6c;font-size:clamp(13px,1.4vw,24px);line-height:1.55}
.knowledge-animation{position:absolute;inset:0;width:100%;height:100%}
@media(max-width:800px){
 .knowledge-scene{display:grid;grid-template-rows:auto minmax(0,1fr);background-size:auto 100%;background-position:center bottom}
 .knowledge-copy{position:relative;inset:auto;padding:24px 5% 12px;background:linear-gradient(#edf0ff,#edf0ffab)}
 .official-story-knowledge h2{font-size:clamp(22px,5vw,37px)}
 .knowledge-animation{position:relative;display:block;min-height:0}
}

.contract-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background: #25264e;
    color: #10162d;
    font-family: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
    container-type: size;
  }
  .contract-hero [hidden] { display: none !important; }
  .contract-hero__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  .contract-hero__content {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
  }
  .contract-hero__visual { position: relative; width: 100%; height: 100%; }
  .contract-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
  }
  .contract-hero__copy {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .contract-hero__action {
    position: absolute;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: max(16px, env(safe-area-inset-left));
    min-height: 36px;
    padding: 5px 12px;
    border: 1px solid #ffffff50;
    border-radius: 999px;
    color: #fff;
    background: #151833d9;
    font-weight: 500;
    line-height: 1.4;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    opacity: 0;
    transition: opacity .18s ease;
  }
  .contract-hero__action:hover,
  .contract-hero__action:focus-visible,
  .contract-hero__action[data-required] { opacity: 1; }
  .contract-hero__action:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  @media (hover: none) {
    .contract-hero__action { opacity: .65; }
  }
  @container (min-aspect-ratio: 17/10) and (max-aspect-ratio: 15/8) {
    .contract-hero__media { object-fit: cover; }
  }
  @container (max-aspect-ratio: 4/5) {
    .contract-hero__backdrop {
      object-fit: cover;
      transform: scale(1.3);
      filter: blur(48px);
    }
    .contract-hero__content {
      height: auto;
      align-content: center;
    }
    .contract-hero__visual {
      width: min(100%, 64svh);
      height: auto;
      aspect-ratio: 1700 / 1080;
      overflow: hidden;
      mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 94%, transparent);
    }
    .contract-hero__media {
      inset: auto 0 0 auto;
      width: calc(100% * 1920 / 1700);
      height: auto;
      aspect-ratio: 16 / 9;
      object-fit: fill;
    }
    .contract-hero[data-contract] .contract-hero__copy {
      position: static;
      width: auto;
      height: auto;
      margin: 0;
      padding: 0 16px;
      clip-path: none;
      white-space: normal;
      text-align: center;
      font-size: clamp(19px, 6.4cqw, 40px);
      line-height: 1.44;
      font-weight: 750;
      text-shadow: 0 1px 12px #fff8;
    }
    .contract-hero__copy span {
      display: block;
      color: #241b8b;
    }
    .contract-hero[data-contract] .contract-hero__visual {
      width: min(100%, 48svh);
      aspect-ratio: 1068 / 965;
      mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 94%, transparent),
        linear-gradient(to right, transparent, #000 2.5%);
      mask-composite: intersect;
    }
    .contract-hero[data-contract] .contract-hero__media {
      width: calc(100% * 1920 / 1068);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .contract-hero__action { transition: none; }
  }


.official-story-review, .official-story-review *, .official-story-review *::before, .official-story-review *::after { box-sizing: border-box; }
.official-story-review {
  --ink: #111b33;
  --slate: #4b5b78;
  --purple: #582acc;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-block-size: 100svh;
  overflow: clip;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  background: #f8f9fc;
}
.official-story-review::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #f8f9fdf5 4%, #f8f9fdd9 30%, #f8f9fd46 49%, transparent 60%),
    linear-gradient(0deg, #f8f9fc 0%, #f8f9fc00 18%),
    url("review/hero-bg.webp") 58% center / cover no-repeat;
}
.official-story-review__layout {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.24fr);
  gap: clamp(18px, 2.3vw, 44px);
  align-items: center;
  width: min(85.5%, 1620px);
  margin-inline: auto;
  padding-block: clamp(35px, 3.4vw, 64px);
}
.official-story-review__copy { position: relative; z-index: 1; }
.official-story-review__eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 30px;
  color: #2e3b59;
  font-size: 14px;
  letter-spacing: .055em;
}
.official-story-review__eyebrow::before { content: ""; width: 34px; height: 2px; background: #7749fb; }
.official-story-review h2 {
  margin: 0;
  font-size: clamp(39px, 4.45vw, 87px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.047em;
}
.official-story-review h2 span { display: block; }
.official-story-review__subtitle {
  margin: clamp(18px, 2.1vw, 38px) 0 0;
  color: var(--slate);
  font-size: clamp(15px, 1.09vw, 21px);
  line-height: 1.85;
}
.official-story-review__subtitle span { display: block; }
.official-story-review button {
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.official-story-review button:focus-visible {
  outline: 2px solid #6138eb;
  outline-offset: 4px;
}
.official-story-review button:disabled { cursor: default; opacity: .38; }
.official-story-review__icon { width: 15px; height: 15px; flex: none; vertical-align: middle; }
.official-story-review__symbols { position: absolute; width: 0; height: 0; overflow: hidden; }

.official-review-demo {
  --frame-opacity: 1;
  --edge-x: linear-gradient(90deg, transparent, black 11%, black 86%, transparent);
  --edge-y: linear-gradient(180deg, transparent, black 12%, black 86%, transparent);
  width: min(100%, max(450px, calc((100svh - 2 * clamp(35px, 3.4vw, 64px)) * 1.12)));
  justify-self: end;
  position: relative;
  min-width: 0;
  margin: 0;
  border-radius: 15px;
}
.official-review-demo__screen {
  position: relative;
  aspect-ratio: 696 / 621;
  isolation: isolate;
  overflow: hidden;
}
.official-review-demo__poster,
.official-review-demo__video {
  position: absolute;
  display: block;
  width: 100%;
  height: auto;
}
.official-review-demo__poster {
  inset: 0;
  mask-image: var(--edge-x), var(--edge-y);
  mask-composite: intersect;
  transition: opacity .2s ease;
}
.official-review-demo__video {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}
.official-review-demo[data-scene="scan"] .official-review-demo__video {
  /* Feather the footage around the moving review card. */
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201200%20675%22%3E%3Cdefs%3E%3Cfilter%20id%3D%22soft%22%20x%3D%22-10%25%22%20y%3D%22-10%25%22%20width%3D%22120%25%22%20height%3D%22120%25%22%3E%3CfeGaussianBlur%20stdDeviation%3D%2215%22%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22white%22%20filter%3D%22url%28%23soft%29%22%20d%3D%22M%20232%2069%20L%20976%2083%20Q%201024%2083%201028%20136%20L%201052%20555%20Q%201055%20607%201003%20611%20L%20191%20608%20Q%20146%20605%20149%20556%20L%20171%20126%20Q%20175%2068%20232%2069%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
}
.official-review-demo[data-live="true"] .official-review-demo__poster { opacity: 0; }
.official-review-demo[data-live="true"] .official-review-demo__video { opacity: var(--frame-opacity); }
.official-review-demo[data-scene="handoff"] .official-review-demo__video {
  top: auto;
  bottom: 0;
  width: calc(100% / .58);
  transform: none;
}
.official-review-demo[data-scene="handoff"] .official-review-demo__screen {
  mask-image: var(--edge-x), var(--edge-y);
  mask-composite: intersect;
}
.official-review-demo[data-live="false"] .official-review-demo__screen { mask-image: none; }

.official-review-demo__toolbar {
  position: absolute;
  right: 10px;
  bottom: -34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  min-height: 34px;
  color: #415372;
}
.official-review-demo__toolbar button {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  transition: background .16s, color .16s, border-color .16s;
}
.official-review-demo__toolbar button:hover:not(:disabled) {
  color: #4421a8;
  background: #fbfaffbd;
  border-color: #6454a32b;
}
.official-review-demo__progress {
  width: 55px;
  height: 2px;
  border: 0;
  border-radius: 10px;
  margin-right: 8px;
  background: #364c7d30;
}
.official-review-demo__progress::-webkit-progress-bar { background: transparent; }
.official-review-demo__progress::-webkit-progress-value { background: #667ab1; border-radius: 10px; }
.official-review-demo__progress::-moz-progress-bar { background: #667ab1; border-radius: 10px; }
.official-review-demo__error { font-size: 12px; }
.official-story-review__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .official-story-review__layout { width: 91%; }
  .official-story-review h2 { font-size: clamp(39px, 4.55vw, 52px); }
}
@media (max-width: 850px) {
  .official-story-review::before {
    background:
      linear-gradient(180deg, #f8f9fc 39%, #f8f9fc00 60%, #f8f9fc00 79%, #f8f9fc 99%),
      url("review/hero-bg.webp") 82% bottom / auto 63% no-repeat;
  }
  .official-story-review__layout {
    grid-template-columns: 1fr;
    width: min(91%, 615px);
    gap: 9px;
    padding-block: 49px 59px;
  }
  .official-story-review__eyebrow { margin-bottom: 19px; }
  .official-story-review h2 { font-size: clamp(37px, 8.3vw, 62px); }
  .official-review-demo { width: 100%; }
  .official-review-demo__toolbar { right: 3px; bottom: -39px; }
}
@media (pointer: coarse) {
  .official-review-demo__toolbar button { width: 44px; height: 44px; }
  .official-review-demo__toolbar { bottom: -44px; }
}
@media (prefers-reduced-motion: reduce) {
  .official-story-review *, .official-story-review *::before, .official-story-review *::after { transition-duration: 0s !important; }
}

  .official-story-closing {
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
    color: #121c36;
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    padding: 56px 22px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 45%, #fafafe 18%, #efedfc 68%, #dddcf8);
  }
  .official-closing-art, .official-closing-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
  .official-closing-art {
    width: 100%;
    height: 100%;
    mask-image: linear-gradient(90deg, #000 23%, transparent 30%, transparent 70%, #000 77%);
    animation: official-closing-drift 15s ease-in-out infinite alternate;
  }
  .official-closing-light {
    background: radial-gradient(ellipse at 88% 58%, #7789ff66, transparent 33%),
                radial-gradient(ellipse at 7% 67%, #b1c7ff77, transparent 28%);
    animation: official-closing-glow 7s ease-in-out infinite alternate;
    mix-blend-mode: screen;
  }
  .official-closing-copy { width: min(100%, 1050px); }
  .official-closing-copy h2 { margin: 0; font-size: clamp(30px, 5.2vw, 98px); font-weight: 900; line-height: 1.23; letter-spacing: -.045em; }
  .official-closing-copy h2 span { display: block; }
  .official-closing-copy p { margin: clamp(22px, 2vw, 40px) auto 0; color: #455674; font-size: clamp(16px, 1.67vw, 31px); line-height: 1.65; }
  .official-closing-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .35em;
    overflow: hidden;
    margin-top: clamp(28px, 2.45vw, 48px);
    padding: .8em 1.45em;
    border: 0;
    border-radius: .6em;
    background: linear-gradient(115deg, #6433ff, #4933ef);
    box-shadow: 0 12px 29px #4933ef49;
    color: white;
    cursor: pointer;
    font: inherit;
    font-size: clamp(18px, 1.65vw, 31px);
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease;
  }
  .official-closing-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 33%, #ffffff55 50%, transparent 67%);
    transform: translateX(-110%);
    pointer-events: none;
  }
  .official-closing-cta:is(:hover, :focus-visible) { transform: translateY(-4px); box-shadow: 0 18px 38px #4933ef66; }
  .official-closing-cta:is(:hover, :focus-visible)::after { transform: translateX(110%); transition: transform 640ms ease; }
  .official-closing-cta:focus-visible { outline: 3px solid #3321aa; outline-offset: 5px; }
  .official-closing-cta:active { transform: scale(.96); }
  @keyframes official-closing-drift { from { transform: scale(1); } to { transform: scale(1.05) translateY(-1%); } }
  @keyframes official-closing-glow { from { opacity: .24; } to { opacity: .85; } }
  @media (max-width: 640px) {
    .official-closing-art { opacity: .45; mask-image: linear-gradient(90deg, #000 23%, transparent 30%, transparent 70%, #000 77%), linear-gradient(0deg, #000 0%, transparent 36%); mask-composite: intersect; }
    .official-closing-copy p { max-width: 25em; text-wrap: balance; }
  }
  @media (prefers-reduced-motion: reduce) {
    .official-story-closing *, .official-story-closing *::after { animation: none !important; transition: none !important; }
    .official-closing-cta:is(:hover, :focus-visible, :active) { transform: none; }
  }
.official-story-closing:not([data-in-view]) .official-closing-art,
.official-story-closing:not([data-in-view]) .official-closing-light {
  animation-play-state: paused;
}

