:root {
  --ink: #15181b;
  --paper: #f3f4f2;
  --white: #ffffff;
  --blue: #155eef;
  --teal: #008f82;
  --gold: #b48a3a;
  --red: #d44b4b;
  --muted: #737a80;
  --line: rgba(21, 24, 27, 0.18);
  --shell: min(1240px, calc(100% - 96px));
  color-scheme: light dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body.drawer-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.content-shell {
  width: var(--shell);
  margin-inline: auto;
}

.event-bar {
  min-height: 40px;
  padding: 9px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: #0c0e10;
  color: var(--white);
  font-size: 13px;
  position: relative;
  z-index: 1001;
}

.event-bar a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.event-close,
.drawer-close {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.event-close {
  position: absolute;
  right: 20px;
}

.event-bar.is-hidden {
  display: none;
}

.site-header {
  height: 72px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(250px, 1fr);
  align-items: center;
  position: absolute;
  z-index: 1000;
  top: 40px;
  left: 0;
  right: 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 17, 19, 0.62);
  backdrop-filter: blur(12px);
}

.event-bar.is-hidden + .site-header {
  top: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 17px;
  font-weight: 600;
}

.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.content-header .brand img,
.subpage-header .brand img {
  display: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.desktop-nav a,
.header-cta,
.brand {
  transition: opacity 180ms ease;
}

.desktop-nav a:hover,
.header-cta:hover,
.brand:hover {
  opacity: 0.7;
}

.product-link small {
  display: inline-block;
  margin-left: 5px;
  padding: 2px 5px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #d6fbf4;
  font-size: 10px;
  font-weight: 400;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-link {
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 180ms ease;
}

.language-link:hover {
  opacity: 0.7;
}

.content-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.content-header-actions > a:not(.language-link) {
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
}

/* Keep every Chinese destination page aligned with the homepage header. */
.content-header.unified-header {
  width: 100%;
  height: 72px;
  min-height: 72px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(250px, 1fr);
  align-items: center;
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 11, 14, 0.96);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.content-header.unified-header .brand {
  gap: 0;
  font-size: 20px;
  font-weight: 700;
}

.content-header.unified-header .brand img {
  display: none;
}

.unified-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}

.unified-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.unified-cta {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.52);
  font-size: 13px;
  font-weight: 700;
}

.unified-logo {
  width: 116px;
  display: block;
  flex: 0 0 auto;
}

.unified-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.unified-menu-button {
  width: 40px;
  height: 40px;
  padding: 11px 9px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.unified-menu-button span {
  width: 20px;
  height: 1px;
  display: block;
  background: currentColor;
}

.unified-menu-button span + span {
  margin-top: 5px;
}

.unified-nav a,
.unified-cta,
.unified-logo {
  transition: opacity 180ms ease;
}

.unified-nav a:hover,
.unified-cta:hover,
.unified-logo:hover {
  opacity: 0.72;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

@media (max-width: 760px) {
  .content-header-actions {
    gap: 12px;
  }

  .content-header-actions > a:not(.language-link) {
    max-width: 44vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .content-header.unified-header {
    height: 62px;
    min-height: 62px;
    padding: 0 18px;
    grid-template-columns: 1fr auto;
  }

  .content-header.unified-header .brand span {
    display: inline;
    font-size: 15px;
  }

  .unified-actions {
    gap: 12px;
  }

  .unified-cta {
    display: none;
  }

  .unified-menu-button {
    display: block;
  }

  .unified-logo {
    width: 88px;
  }

  .unified-nav {
    position: absolute;
    top: 62px;
    right: 0;
    left: 0;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0a0d10;
  }

  .content-header.unified-header.nav-open .unified-nav {
    display: flex;
  }

  .unified-nav a {
    padding: 15px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
}

.header-cta {
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
}

.menu-button {
  width: 40px;
  height: 40px;
  padding: 11px 9px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 4px 0;
  background: var(--white);
}

.scene-progress {
  position: fixed;
  z-index: 900;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  mix-blend-mode: difference;
  color: var(--white);
}

.scene-progress a {
  width: 62px;
  min-height: 27px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.48;
  font-size: 10px;
}

.scene-progress a::before {
  content: "";
  width: 8px;
  height: 1px;
  background: currentColor;
  transition: width 180ms ease;
}

.scene-progress a.is-active {
  opacity: 1;
}

.scene-progress a.is-active::before {
  width: 20px;
}

.scene-progress b {
  font-weight: 400;
}

.scene {
  position: relative;
}

.hero {
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 9, 0.58);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 180px 0 94px;
}

.eyebrow,
.section-index {
  margin: 0 0 24px;
  color: #b6c8f5;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #46515b;
}

.hero h1,
.section-heading h2,
.problem h2,
.miaoke h2,
.contact h2 {
  margin: 0;
  max-width: 1000px;
  font-size: 78px;
  line-height: 1.06;
  font-weight: 500;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.button {
  min-height: 48px;
  padding: 13px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 14px;
  transition: background 180ms ease, color 180ms ease;
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-light:hover {
  background: transparent;
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
}

.text-link.light {
  color: var(--white);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 34px;
  bottom: 26px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.problem {
  padding: 150px 0;
  background: var(--paper);
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(460px, 1.1fr);
  gap: 110px;
}

.problem-lead {
  position: sticky;
  top: 120px;
  align-self: start;
}

.problem h2 {
  font-size: 62px;
}

.problem-sequence article {
  min-height: 250px;
  padding: 24px 0 56px;
  border-top: 1px solid var(--line);
}

.problem-sequence article > span {
  color: var(--muted);
  font-family: Consolas, monospace;
  font-size: 12px;
}

.problem-sequence h3 {
  margin: 44px 0 16px;
  font-size: 34px;
  font-weight: 500;
}

.problem-sequence p,
.section-heading > p:last-child,
.contact-intro > p:last-child,
.miaoke-content > p:not(.product-status) {
  max-width: 700px;
  color: #596067;
  font-size: 17px;
  line-height: 1.75;
}

.method {
  padding: 130px 0 150px;
  background: var(--ink);
  color: var(--white);
}

.section-heading h2,
.miaoke h2,
.contact h2 {
  font-size: 64px;
}

.section-heading.on-dark > p:last-child,
.miaoke-content > p:not(.product-status) {
  color: rgba(255, 255, 255, 0.68);
}

.method-stage {
  margin-top: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.5fr);
  gap: 42px;
  align-items: start;
}

.method-visual {
  margin: 0;
  position: sticky;
  top: 92px;
}

.method-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0b0d0e;
}

.method-visual figcaption {
  min-height: 54px;
  padding: 15px 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.6;
}

.method-steps {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.method-step {
  width: 100%;
  min-height: 86px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  text-align: left;
  cursor: pointer;
}

.method-step span {
  font-family: Consolas, monospace;
  font-size: 11px;
}

.method-step.is-active {
  color: var(--white);
}

.method-step.is-active span {
  color: #79a0ff;
}

.products {
  padding: 140px 0 160px;
  background: var(--paper);
}

.product-list {
  margin-top: 70px;
  border-top: 1px solid var(--line);
}

.product-row {
  min-height: 280px;
  display: grid;
  grid-template-columns: 82px minmax(320px, 0.75fr) minmax(430px, 1.25fr);
  gap: 36px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.product-number {
  align-self: start;
  padding-top: 30px;
  color: var(--muted);
  font-family: Consolas, monospace;
  font-size: 12px;
}

.product-row p {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
}

.product-row h3 {
  margin: 0;
  font-size: 60px;
  font-weight: 500;
}

.product-row span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.product-row img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: top left;
  border-left: 1px solid var(--line);
}

.product-row.primary {
  min-height: 360px;
}

.product-row.primary h3 {
  font-size: 76px;
}

.product-row.primary img {
  height: 310px;
}

.scenarios {
  padding: 130px 0 150px;
  background: #111416;
  color: var(--white);
}

.compact-heading h2 {
  max-width: 1150px;
}

.scenario-switcher {
  margin-top: 52px;
}

.scenario-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.scenario-tab {
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.scenario-tab.is-active {
  border-bottom-color: var(--white);
  color: var(--white);
}

.scenario-panel {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  align-items: stretch;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.scenario-panel[hidden] {
  display: none;
}

.scenario-panel > img {
  width: 100%;
  height: 610px;
  object-fit: cover;
}

.scenario-copy {
  padding: 70px 0 50px 58px;
  display: flex;
  flex-direction: column;
}

.scenario-copy > p {
  margin: 0 0 26px;
  color: #92b1ff;
  font-size: 12px;
}

.scenario-copy h3 {
  margin: 0;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 500;
}

.scenario-copy > span {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
}

.scenario-copy strong {
  margin-top: auto;
  color: var(--white);
  font-family: Inter, sans-serif;
  font-size: 58px;
  font-weight: 500;
}

.scenario-copy strong small {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
}

.scenario-more {
  margin-top: 30px;
}

.trust {
  padding: 140px 0 100px;
  background: var(--paper);
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(480px, 1.1fr);
  gap: 110px;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline li {
  min-height: 128px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--blue);
  font-family: Consolas, monospace;
  font-size: 13px;
}

.timeline b,
.timeline span {
  display: block;
}

.timeline b {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 500;
}

.timeline span {
  color: var(--muted);
  line-height: 1.55;
}

.history-link {
  margin-top: 90px;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.history-link a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.miaoke {
  min-height: 90svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0b1015;
  color: var(--white);
}

.miaoke-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.miaoke-shade {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 13, 0.72);
}

.miaoke-content {
  position: relative;
  padding-bottom: 100px;
}

.product-status {
  width: max-content;
  margin: 0 0 24px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #b4fff3;
  font-size: 12px;
}

.contact {
  padding-top: 120px;
  background: var(--paper);
}

.contact-intro {
  padding-bottom: 80px;
}

.contact-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-path {
  min-height: 330px;
  padding: 54px max(48px, calc((100vw - 1240px) / 2));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-path span {
  font-size: 13px;
  opacity: 0.65;
}

.contact-path strong {
  max-width: 420px;
  font-size: 38px;
  font-weight: 500;
}

.contact-path b {
  align-self: flex-end;
  font-size: 32px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.contact-path:hover b {
  transform: translateX(8px);
}

.qr-contact-body {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

.qr-contact-body img {
  width: 172px;
  height: 172px;
  padding: 6px;
  object-fit: contain;
  background: #fff;
}

.qr-contact-body strong {
  display: block;
  font-size: 30px;
  line-height: 1.15;
}

.qr-contact-body p {
  max-width: 340px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.light-path {
  background: var(--white);
  color: var(--ink);
}

.dark-path {
  background: var(--blue);
  color: var(--white);
}

footer {
  padding: 80px 0 34px;
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 60px;
}

.footer-inner strong {
  font-size: 24px;
}

.footer-inner p {
  color: rgba(255, 255, 255, 0.5);
}

.footer-inner > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 50px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
}

/* ── 内页页脚 · Palantir 风格（与首页统一） ── */
footer[data-unified-footer] .palantir-footer {
  position: relative;
  min-height: 0;
  padding: 96px 0 34px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  justify-content: space-between;
  font-size: 13px;
}

footer[data-unified-footer] .palantir-footer .pf-brand img {
  width: 156px;
  margin-bottom: 20px;
}

footer[data-unified-footer] .palantir-footer .pf-brand strong {
  display: block;
  font-size: 17px;
  line-height: 1.4;
  color: var(--white);
}

footer[data-unified-footer] .palantir-footer .pf-brand p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.75;
}

footer[data-unified-footer] .palantir-footer .pf-col {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

footer[data-unified-footer] .palantir-footer .pf-col h3 {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

footer[data-unified-footer] .palantir-footer .pf-col a,
footer[data-unified-footer] .palantir-footer .pf-col span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

footer[data-unified-footer] .palantir-footer .pf-col a:hover {
  color: var(--white);
}

footer[data-unified-footer] .palantir-footer .pf-bottom {
  grid-column: 1 / -1;
  margin-top: 70px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

@media (max-width: 1100px) {
  footer[data-unified-footer] .palantir-footer {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 44px 30px;
  }
  footer[data-unified-footer] .palantir-footer .pf-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  footer[data-unified-footer] .palantir-footer {
    padding-top: 68px;
    grid-template-columns: 1fr;
    gap: 34px;
  }
  footer[data-unified-footer] .palantir-footer .pf-bottom {
    margin-top: 40px;
  }
}

.nav-drawer {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: none;
  background: var(--ink);
  color: var(--white);
}

.nav-drawer.is-open {
  display: block;
}

.drawer-top {
  height: 72px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.drawer-grid {
  min-height: calc(100svh - 72px);
  padding-top: 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.drawer-grid section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-grid section > p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.drawer-grid a {
  width: max-content;
  max-width: 100%;
  font-size: 26px;
}

.drawer-action {
  padding-left: 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

@media (min-width: 1101px) {
  .final-home .drawer-home-links { display: none; }
  .final-home .drawer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 56px, 980px);
  }

  .desktop-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero h1 {
    font-size: 64px;
  }

  .problem-grid,
  .trust-layout {
    gap: 62px;
  }

  .product-row {
    grid-template-columns: 60px minmax(280px, 0.8fr) minmax(350px, 1.2fr);
  }

  .scenario-panel {
    grid-template-columns: 1fr 0.8fr;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 36px);
  }

  .event-bar {
    min-height: 44px;
    padding: 8px 52px 8px 18px;
    justify-content: flex-start;
    font-size: 11px;
  }

  .event-close {
    right: 10px;
  }

  .site-header {
    top: 44px;
    height: 62px;
    padding: 0 18px;
  }

  .brand span,
  .header-cta,
  .scene-progress {
    display: none;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .menu-button {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero video {
    object-position: center;
  }

  .hero-content {
    padding: 150px 0 74px;
  }

  .hero h1,
  .problem h2,
  .section-heading h2,
  .miaoke h2,
  .contact h2 {
    font-size: 40px;
    line-height: 1.12;
  }

  .hero-copy,
  .problem-sequence p,
  .section-heading > p:last-child,
  .contact-intro > p:last-child,
  .miaoke-content > p:not(.product-status) {
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .scroll-cue {
    display: none;
  }

  .problem,
  .method,
  .products,
  .scenarios,
  .trust {
    padding: 88px 0;
  }

  .problem-grid,
  .method-stage,
  .trust-layout {
    display: block;
  }

  .problem-lead,
  .method-visual {
    position: static;
  }

  .problem-sequence {
    margin-top: 60px;
  }

  .problem-sequence article {
    min-height: 210px;
  }

  .problem-sequence h3 {
    margin-top: 30px;
    font-size: 27px;
  }

  .method-stage {
    margin-top: 44px;
  }

  .method-steps {
    margin-top: 22px;
  }

  .method-step {
    min-height: 68px;
  }

  .product-list {
    margin-top: 42px;
  }

  .product-row,
  .product-row.primary {
    min-height: 0;
    padding: 28px 0 0;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .product-number {
    padding-top: 4px;
  }

  .product-row h3,
  .product-row.primary h3 {
    font-size: 42px;
  }

  .product-row img,
  .product-row.primary img {
    grid-column: 1 / -1;
    height: auto;
    margin-top: 26px;
    border-left: 0;
  }

  .scenario-tabs {
    overflow-x: auto;
  }

  .scenario-tab {
    flex: 0 0 auto;
    padding: 0 18px;
  }

  .scenario-panel {
    min-height: 0;
    display: block;
  }

  .scenario-panel > img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .scenario-copy {
    min-height: 430px;
    padding: 36px 0;
  }

  .scenario-copy h3 {
    font-size: 30px;
  }

  .scenario-copy strong {
    font-size: 44px;
  }

  .timeline {
    margin-top: 58px;
  }

  .timeline li {
    grid-template-columns: 70px 1fr;
  }

  .history-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .miaoke {
    min-height: 82svh;
  }

  .miaoke-backdrop {
    object-position: 30% top;
  }

  .miaoke-content {
    padding-bottom: 64px;
  }

  .contact {
    padding-top: 80px;
  }

  .contact-intro {
    padding-bottom: 60px;
  }

  .contact-paths,
  .footer-inner,
  .drawer-grid {
    grid-template-columns: 1fr;
  }

  .contact-path {
    min-height: 250px;
    padding: 36px 22px;
  }

  .contact-path strong {
    font-size: 29px;
  }

  .footer-inner {
    gap: 36px;
  }

  .drawer-grid {
    min-height: 0;
    padding-top: 40px;
    padding-bottom: 50px;
    gap: 36px;
    overflow-y: auto;
  }

  .drawer-grid a {
    font-size: 21px;
  }

  .drawer-action {
    padding: 32px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Structure revision: sticky navigation, compact system map, and split trust layer. */
.site-header.is-sticky {
  position: fixed;
  top: 0;
  height: 60px;
  background: rgba(15, 17, 19, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.site-header.is-sticky .brand img {
  width: 28px;
  height: 28px;
}

.scene-progress {
  left: 15px;
  gap: 5px;
}

.scene-progress a {
  width: 40px;
}

.scene-progress b {
  display: none;
}

.company-category {
  width: max-content;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.video-control {
  position: absolute;
  z-index: 4;
  right: 32px;
  bottom: 62px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  color: var(--white);
  cursor: pointer;
}

.miaoke-spotlight {
  min-height: 86svh;
}

.miaoke-spotlight .miaoke-content {
  padding-bottom: 135px;
}

.miaoke-proof-strip {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 66px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(8, 12, 16, 0.72);
}

.miaoke-proof-strip span {
  padding: 22px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-align: center;
}

.system {
  padding: 125px 0 110px;
  background: var(--ink);
  color: var(--white);
}

.system-stage {
  margin-top: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 48px;
  align-items: stretch;
}

.system-visual {
  margin: 0;
  align-self: start;
}

.system-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0b0d0e;
}

.system-visual figcaption {
  min-height: 52px;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.6;
}

.system-architecture {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.system-core {
  padding: 26px 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.system-core span,
.system-step span {
  color: #85a6ff;
  font-family: Consolas, monospace;
  font-size: 11px;
}

.system-core strong {
  display: block;
  margin-top: 18px;
  font-size: 36px;
  font-weight: 500;
}

.system-core p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.65;
}

.system-outputs {
  display: grid;
  grid-template-columns: 1fr;
}

.system-step {
  min-height: 94px;
  padding: 16px 0;
  display: grid;
  grid-template-columns: 50px minmax(80px, 0.55fr) 1fr;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.52);
  text-align: left;
  cursor: pointer;
}

.system-step b {
  font-size: 22px;
  font-weight: 500;
}

.system-step small {
  font-size: 12px;
}

.system-step.is-active {
  color: var(--white);
}

.system-step.is-active b::after {
  content: " →";
  color: #85a6ff;
}

.system-path {
  margin-top: 42px;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.system-path i {
  color: #85a6ff;
  font-style: normal;
}

.trust-heading {
  max-width: 1120px;
}

.trust-mechanisms {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.trust-mechanisms article {
  min-height: 270px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-mechanisms article > span {
  color: var(--blue);
  font-family: Consolas, monospace;
  font-size: 11px;
}

.trust-mechanisms h3 {
  margin: 72px 0 16px;
  font-size: 27px;
  font-weight: 500;
}

.trust-mechanisms p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.history-band {
  margin-top: 110px;
  padding: 110px 0 70px;
  background: var(--ink);
  color: var(--white);
}

.history-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(480px, 1.1fr);
  gap: 110px;
}

.history-layout h2 {
  margin: 0;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 500;
}

.history-layout > div > p:last-child {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.history-band .timeline {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.history-band .timeline li {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.history-band .timeline span {
  color: rgba(255, 255, 255, 0.5);
}

.history-archive {
  margin-top: 62px;
  padding: 24px 0;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.subpage {
  min-height: 100vh;
  background: var(--paper);
}

.subpage-header {
  height: 68px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  z-index: 10;
  top: 0;
  background: var(--ink);
  color: var(--white);
}

.subpage-header .brand img {
  width: 30px;
  height: 30px;
}

.subpage-header > a:last-child {
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
}

.subpage-hero {
  min-height: 74svh;
  padding: 120px 0 80px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.subpage-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
}

.subpage-hero-content {
  position: relative;
  z-index: 2;
}

.subpage-hero h1 {
  margin: 0;
  max-width: 920px;
  font-size: 68px;
  line-height: 1.08;
  font-weight: 500;
}

.subpage-hero p {
  max-width: 700px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.7;
}

.subpage-section {
  padding: 110px 0;
}

.subpage-section h2 {
  margin: 0 0 34px;
  font-size: 44px;
  font-weight: 500;
}

.experience-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.experience-steps article {
  min-height: 220px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.experience-steps span {
  color: var(--blue);
  font-family: Consolas, monospace;
  font-size: 11px;
}

.experience-steps h3 {
  margin: 72px 0 0;
  font-size: 23px;
  font-weight: 500;
}

.subquery-section { background: #f4f6f5; }
.question-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; border-top: 2px solid var(--ink); }
.question-grid article { padding: 34px 0 0; }
.question-grid h3 { margin: 0; font-family: var(--font-display); font-size: 30px; line-height: 1.2; }
.question-grid p { margin: 20px 0 0; color: var(--muted); line-height: 1.78; }
.question-grid strong { color: var(--ink); }
.question-grid .evidence-note { padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; }
.question-grid a { margin-top: 24px; padding-bottom: 5px; display: inline-block; border-bottom: 1px solid currentColor; color: var(--blue); font-size: 13px; font-weight: 600; }

@media (max-width: 760px) {
  .question-grid { grid-template-columns: 1fr; gap: 46px; }
  .question-grid h3 { font-size: 24px; }
  .site-header.is-sticky {
    height: 58px;
  }

  .video-control {
    right: 18px;
    bottom: 24px;
  }

  .miaoke-proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .miaoke-proof-strip span {
    padding: 13px 8px;
  }

  .miaoke-spotlight .miaoke-content {
    padding-bottom: 125px;
  }

  .system {
    padding: 88px 0;
  }

  .system-stage,
  .history-layout {
    display: block;
  }

  .system-stage {
    margin-top: 44px;
  }

  .system-architecture {
    margin-top: 28px;
  }

  .system-step {
    grid-template-columns: 44px 0.6fr 1fr;
  }

  .system-path {
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .system-path i {
    width: 16px;
  }

  .scenario-tabs {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .scenario-tab {
    width: 100%;
    min-height: 44px;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
  }

  .trust-mechanisms,
  .experience-steps {
    grid-template-columns: 1fr 1fr;
  }

  .trust-mechanisms article {
    min-height: 220px;
    padding: 18px;
  }

  .trust-mechanisms h3 {
    margin-top: 48px;
    font-size: 23px;
  }

  .history-band {
    margin-top: 76px;
    padding: 80px 0 50px;
  }

  .history-layout h2,
  .subpage-section h2 {
    font-size: 36px;
  }

  .subpage-hero h1 {
    font-size: 42px;
  }

  .experience-steps article {
    min-height: 170px;
    padding: 18px;
  }

  .experience-steps h3 {
    margin-top: 44px;
    font-size: 19px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .video-control {
    transition: none;
  }
}

/* Full-viewport homepage deck. */
.home-deck {
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.home-deck .event-bar {
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  right: 0;
}

.home-deck .site-header,
.home-deck .site-header.is-sticky {
  position: fixed;
  top: 40px;
  height: 72px;
  background: rgba(15, 17, 19, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.18);
  transition: top 240ms ease, height 240ms ease, background 240ms ease;
}

.home-deck.event-hidden .site-header,
.home-deck .event-bar.is-hidden + .site-header {
  top: 0;
}

.slide-deck {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.slide-deck > .scene {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100svh;
  min-height: 0;
  max-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  box-shadow: 0 -28px 70px rgba(0, 0, 0, 0.26);
  transition:
    transform 720ms cubic-bezier(0.76, 0, 0.24, 1),
    opacity 460ms ease;
  will-change: transform, opacity;
  scrollbar-width: thin;
}

.slide-deck > .scene.is-active {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.slide-deck > .scene.is-before {
  transform: translateY(-100%);
}

.slide-deck > .scene.is-after {
  transform: translateY(100%);
}

.slide-deck > .scene > .content-shell,
.slide-deck > .scene > .contact-paths,
.slide-deck > .scene > footer,
.slide-deck > .scene > .miaoke-proof-strip {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 420ms ease 180ms, transform 560ms ease 180ms;
}

.slide-deck > .scene.is-active > .content-shell,
.slide-deck > .scene.is-active > .contact-paths,
.slide-deck > .scene.is-active > footer,
.slide-deck > .scene.is-active > .miaoke-proof-strip {
  opacity: 1;
  transform: translateY(0);
}

.home-deck .hero,
.home-deck .miaoke {
  min-height: 0;
}

.home-deck .hero-content {
  padding: clamp(150px, 19vh, 190px) 0 clamp(68px, 9vh, 94px);
}

.home-deck .miaoke-spotlight {
  min-height: 0;
}

.home-deck .miaoke-spotlight .miaoke-content {
  padding-bottom: clamp(112px, 15vh, 145px);
}

.home-deck .problem {
  padding: clamp(122px, 16vh, 155px) 0 36px;
  display: flex;
  align-items: center;
}

.home-deck .problem-grid {
  align-items: center;
}

.home-deck .problem-lead {
  position: static;
}

.home-deck .problem-sequence article {
  min-height: 0;
  padding: 16px 0 22px;
}

.home-deck .problem-sequence h3 {
  margin: 16px 0 8px;
  font-size: clamp(25px, 2.2vw, 32px);
}

.home-deck .problem-sequence p {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
}

.home-deck .system {
  padding: clamp(112px, 14vh, 130px) 0 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-deck .system .section-heading h2 {
  font-size: clamp(40px, 4vw, 56px);
}

.home-deck .system .section-heading > p:last-child {
  max-width: 820px;
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.home-deck .system-stage {
  margin-top: clamp(18px, 2.8vh, 28px);
  gap: 38px;
}

.home-deck .system-visual img {
  max-height: 34vh;
}

.home-deck .system-visual figcaption {
  min-height: 0;
  padding: 9px 0;
}

.home-deck .system-core {
  padding: 14px 0 16px;
}

.home-deck .system-core strong {
  margin-top: 8px;
  font-size: 28px;
}

.home-deck .system-core p {
  margin-top: 8px;
}

.home-deck .system-step {
  min-height: 58px;
  padding: 8px 0;
}

.home-deck .system-path {
  margin-top: 12px;
  padding: 11px 0;
}

.home-deck .scenarios {
  padding: clamp(112px, 14vh, 132px) 0 24px;
}

.home-deck .scenarios .section-heading h2 {
  font-size: clamp(38px, 3.8vw, 54px);
}

.home-deck .scenario-switcher {
  margin-top: 20px;
}

.home-deck .scenario-tab {
  min-height: 44px;
}

.home-deck .scenario-panel {
  min-height: 0;
  height: clamp(340px, 47vh, 480px);
}

.home-deck .scenario-panel > img {
  height: 100%;
}

.home-deck .scenario-copy {
  padding: 30px 0 28px 42px;
}

.home-deck .scenario-copy > p {
  margin-bottom: 16px;
}

.home-deck .scenario-copy h3 {
  font-size: clamp(28px, 2.5vw, 36px);
}

.home-deck .scenario-copy > span {
  margin-top: 16px;
  line-height: 1.6;
}

.home-deck .scenario-copy strong {
  font-size: clamp(40px, 4vw, 54px);
}

.home-deck .scenario-more {
  margin-top: 16px;
}

.home-deck .contact {
  padding-top: clamp(112px, 14vh, 132px);
  display: flex;
  flex-direction: column;
}

.home-deck .contact-intro {
  padding-bottom: clamp(24px, 3.6vh, 40px);
}

.home-deck .contact h2 {
  font-size: clamp(44px, 5vw, 64px);
}

.home-deck .contact-intro > p:last-child {
  margin: 18px 0 0;
  font-size: 15px;
}

.home-deck .contact-paths {
  flex: 1 0 auto;
}

.home-deck .contact-path {
  min-height: clamp(210px, 27vh, 270px);
  padding-top: 34px;
  padding-bottom: 34px;
}

.home-deck .contact-path strong {
  font-size: clamp(30px, 2.8vw, 38px);
}

.home-deck footer {
  flex: 0 0 auto;
  padding: 18px 0 14px;
}

.home-deck .footer-inner {
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 32px;
}

.home-deck .footer-inner p {
  margin: 6px 0 0;
}

.home-deck .footer-inner > div:not(:first-child) {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-content: start;
}

.home-deck .copyright {
  margin: 12px 0 0;
  padding-top: 10px;
}

/* Trust and evidence boundary page. */
.trust-page-hero {
  min-height: calc(100svh - 68px);
  padding: 100px 0 80px;
  display: flex;
  align-items: flex-end;
  background: var(--paper);
}

.trust-page-heading h1 {
  max-width: 1240px;
  margin: 0;
  font-size: clamp(52px, 5vw, 72px);
  line-height: 1.08;
  font-weight: 500;
}

.trust-page-heading > p:last-child {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.trust-page-mechanisms {
  padding: 110px 0 130px;
  background: var(--white);
}

.trust-page-mechanisms h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 500;
}

.trust-page .history-band {
  margin-top: 0;
}

.trust-page-actions {
  margin-top: 62px;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) and (min-width: 761px) {
  .history-layout {
    display: block;
  }

  .history-layout .timeline {
    margin-top: 58px;
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .home-deck .hero h1,
  .home-deck .miaoke h2 {
    font-size: 54px;
  }

  .home-deck .hero-copy,
  .home-deck .miaoke-content > p:not(.product-status) {
    margin-top: 16px;
    font-size: 15px;
  }

  .home-deck .hero-actions {
    margin-top: 22px;
  }

  .home-deck .problem h2 {
    font-size: 48px;
  }

  .home-deck .scenario-panel {
    height: 330px;
  }

  .home-deck .contact-intro > p:last-child {
    display: none;
  }
}

@media (max-width: 760px) {
  .home-deck .site-header,
  .home-deck .site-header.is-sticky {
    top: 44px;
    height: 62px;
  }

  .home-deck.event-hidden .site-header,
  .home-deck .event-bar.is-hidden + .site-header {
    top: 0;
  }

  .slide-deck > .scene {
    -webkit-overflow-scrolling: touch;
  }

  .home-deck .hero-content {
    padding: 138px 0 58px;
  }

  .home-deck .hero h1,
  .home-deck .miaoke h2 {
    font-size: clamp(36px, 10vw, 44px);
  }

  .home-deck .company-category {
    font-size: 11px;
  }

  .home-deck .miaoke-spotlight .miaoke-content {
    padding-top: 138px;
    padding-bottom: 122px;
  }

  .home-deck .problem,
  .home-deck .system,
  .home-deck .scenarios {
    padding: 124px 0 72px;
    display: block;
  }

  .home-deck .problem-grid {
    display: block;
  }

  .home-deck .problem-sequence {
    margin-top: 42px;
  }

  .home-deck .problem-sequence article {
    padding: 18px 0 26px;
  }

  .home-deck .system-stage {
    margin-top: 30px;
    display: block;
  }

  .home-deck .system-visual img {
    max-height: none;
  }

  .home-deck .scenario-panel {
    height: auto;
  }

  .home-deck .scenario-panel > img {
    height: auto;
  }

  .home-deck .scenario-copy {
    min-height: 360px;
    padding: 30px 0 64px;
  }

  .home-deck .contact {
    padding-top: 118px;
    display: block;
  }

  .home-deck .contact-paths,
  .home-deck .footer-inner {
    grid-template-columns: 1fr;
  }

  .home-deck .contact-path {
    min-height: 220px;
  }

  .home-deck footer {
    padding: 34px 0 22px;
  }

  .home-deck .footer-inner {
    gap: 24px;
  }

  .home-deck .footer-inner > div:not(:first-child) {
    flex-direction: column;
  }

  .trust-page-hero {
    min-height: calc(100svh - 68px);
    padding: 88px 0 58px;
  }

  .trust-page-heading h1 {
    font-size: 42px;
  }

  .trust-page-heading > p:last-child {
    font-size: 15px;
  }

  .trust-page-mechanisms {
    padding: 80px 0;
  }

  .trust-page-mechanisms h2 {
    font-size: 34px;
  }

  .trust-page-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide-deck > .scene,
  .slide-deck > .scene > .content-shell,
  .slide-deck > .scene > .contact-paths,
  .slide-deck > .scene > footer,
  .slide-deck > .scene > .miaoke-proof-strip {
    transition: none;
  }
}

/* Stronger editorial hierarchy across the homepage and product pages. */
:root {
  --font-body: "Microsoft YaHei UI", "HarmonyOS Sans SC", "Noto Sans SC", sans-serif;
  --font-display: "Bahnschrift SemiCondensed", "Arial Narrow", "Microsoft YaHei UI", sans-serif;
  --font-label: "Bahnschrift", "IBM Plex Mono", Consolas, monospace;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
}

.hero h1,
.section-heading h2,
.problem h2,
.miaoke h2,
.contact h2,
.subpage-hero h1,
.subpage-section h2,
.trust-page-heading h1,
.trust-page-mechanisms h2,
.problem-sequence h3,
.scenario-copy h3,
.contact-path strong,
.system-core strong,
.system-step b,
.experience-steps h3,
.trust-mechanisms h3,
.history-layout h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-wrap: balance;
}

.eyebrow,
.section-index,
.product-status,
.company-category,
.problem-sequence article > span,
.system-core span,
.system-step span,
.experience-steps span,
.scenario-copy > p,
.scenario-copy strong {
  font-family: var(--font-label);
}

.eyebrow,
.section-index {
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.brand {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
}

.desktop-nav,
.header-cta,
.button,
.text-link,
.scenario-tab {
  font-weight: 600;
}

.home-deck .hero h1 {
  max-width: 1180px;
  font-size: clamp(84px, 7.2vw, 112px);
  line-height: 0.96;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.home-deck .hero-copy {
  max-width: 720px;
  font-size: 19px;
  line-height: 1.62;
}

.home-deck .miaoke h2 {
  max-width: 1120px;
  font-size: clamp(68px, 5.8vw, 88px);
  line-height: 0.98;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.32);
}

.home-deck .miaoke-content > p:not(.product-status) {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.62;
}

.home-deck .problem h2 {
  font-size: clamp(64px, 5.3vw, 78px);
  line-height: 0.98;
}

.home-deck .problem-sequence h3 {
  font-size: clamp(29px, 2.5vw, 36px);
  line-height: 1.12;
}

.home-deck .system .section-heading h2,
.home-deck .scenarios .section-heading h2 {
  font-size: clamp(48px, 4.5vw, 66px);
  line-height: 1;
}

.home-deck .system-core strong {
  font-size: 32px;
}

.home-deck .system-step b {
  font-size: 24px;
}

.home-deck .scenario-copy h3 {
  font-size: clamp(32px, 2.8vw, 40px);
  line-height: 1.12;
}

.home-deck .scenario-copy strong {
  font-family: var(--font-display);
  font-size: clamp(48px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 0.95;
}

.home-deck .contact h2 {
  font-size: clamp(58px, 5.7vw, 80px);
  line-height: 0.98;
}

.home-deck .contact-path strong {
  font-size: clamp(34px, 3.1vw, 44px);
  line-height: 1.08;
}

.subpage-hero h1,
.trust-page-heading h1 {
  font-size: clamp(64px, 6vw, 88px);
  line-height: 0.98;
}

.subpage-section h2,
.trust-page-mechanisms h2,
.history-layout h2 {
  font-size: clamp(46px, 4.2vw, 60px);
  line-height: 1.04;
}

@media (max-height: 760px) and (min-width: 761px) {
  .home-deck .hero h1 {
    font-size: 66px;
  }

  .home-deck .miaoke h2 {
    font-size: 58px;
  }

  .home-deck .problem h2 {
    font-size: 52px;
  }

  .home-deck .system .section-heading h2,
  .home-deck .scenarios .section-heading h2 {
    font-size: 46px;
  }
}

@media (max-width: 760px) {
  .brand {
    font-size: 17px;
  }

  .brand img,
  .subpage-header .brand img {
    width: 84px;
    height: auto;
  }

  .subpage-header {
    height: 64px;
    padding: 0 18px;
  }

  .subpage-header > a:last-child {
    max-width: 52%;
    text-align: right;
  }

  .eyebrow,
  .section-index {
    margin-bottom: 16px;
    font-size: 11px;
  }

  .home-deck .hero h1,
  .home-deck .miaoke h2 {
    font-size: clamp(42px, 12vw, 52px);
    line-height: 0.98;
  }

  .home-deck .hero-copy,
  .home-deck .miaoke-content > p:not(.product-status) {
    font-size: 16px;
    line-height: 1.58;
  }

  .home-deck .problem h2 {
    font-size: 50px;
  }

  .home-deck .problem-sequence h3 {
    font-size: 28px;
  }

  .home-deck .system .section-heading h2,
  .home-deck .scenarios .section-heading h2,
  .home-deck .contact h2 {
    font-size: 46px;
  }

  .home-deck .system .section-heading h2 {
    font-size: 40px;
  }

  .home-deck .scenario-copy h3 {
    font-size: 32px;
  }

  .home-deck .contact-path strong {
    font-size: 34px;
  }

  .qr-contact-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .qr-contact-body img {
    width: 156px;
    height: 156px;
  }

  .home-deck .qr-contact-body strong,
  .qr-contact-body strong {
    font-size: 28px;
  }

  .qr-contact-body p {
    margin-top: 10px;
  }

  .subpage-hero h1,
  .trust-page-heading h1 {
    font-size: 42px;
  }

  .subpage-section h2,
  .trust-page-mechanisms h2,
  .history-layout h2 {
    font-size: 38px;
  }

  .subpage-section {
    padding: 72px 0;
  }

  .trust-page-hero {
    min-height: auto;
    padding: 84px 0 72px;
    align-items: flex-start;
  }
}

/* Scene loading and viewport ownership. */
.page-route-transition {
  position: fixed;
  z-index: 2100;
  inset: 0;
  overflow: hidden;
  background: #0c0f12;
  pointer-events: auto;
  transform: translateY(0);
  transition: transform 420ms cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.page-route-transition::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #7390c4;
  content: "";
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 320ms ease 80ms;
}

.page-route-transition.is-idle {
  pointer-events: none;
  transform: translateY(-101%);
}

.page-route-transition.is-idle::after {
  transform: scaleX(0);
}

body.is-route-leaving {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  background: #0c0f12;
  opacity: 1;
  visibility: visible;
  transition: opacity 420ms ease 220ms, visibility 0s linear 640ms;
}

.page-loader-brand {
  min-width: 220px;
  display: grid;
  justify-items: center;
}

.page-loader-brand img {
  width: 210px;
  height: auto;
  opacity: 1;
  transform: scale(1);
  animation: loader-logo-breathe 1200ms ease-in-out infinite;
  transition: opacity 320ms ease, filter 320ms ease, transform 320ms ease;
}

.subpage.is-ready .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.subpage.is-ready .page-loader-brand img {
  opacity: 0;
  transform: scale(0.985);
  filter: brightness(0) invert(1);
  animation: none;
}

.subpage main,
.subpage .subpage-header {
  opacity: 1;
  transition: opacity 420ms ease 220ms;
}

.subpage.is-loading main,
.subpage.is-loading .subpage-header {
  opacity: 0;
  transition: none;
}

/* Non-home pages enter beneath the shared route overlay without a second fade. */
.subpage.route-entry-ready main,
.subpage.route-entry-ready .subpage-header,
.product-page.route-entry-ready main,
.product-page.route-entry-ready .product-header {
  opacity: 1;
  transition: none;
}

.home-deck.is-ready .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.home-deck.is-ready .page-loader-brand img {
  opacity: 0;
  transform: scale(0.985);
  filter: brightness(0) invert(1);
  animation: none;
}

.home-deck .slide-deck {
  overflow: clip;
  opacity: 1;
  transition: opacity 420ms ease 280ms;
}

.home-deck.is-loading .slide-deck {
  opacity: 0;
  transition: none;
}

.deferred-media {
  opacity: 0;
  transition: opacity 260ms ease;
}

.deferred-media.is-media-loaded {
  opacity: 1;
}

.home-deck,
.slide-deck,
.slide-deck > .scene {
  height: 100dvh;
}

.slide-deck > .scene {
  max-height: 100dvh;
}

@media (min-width: 761px) {
  .slide-deck > .scene {
    overflow-y: hidden;
  }
}

@media (max-width: 760px) {
  .slide-deck > .scene {
    overflow-y: auto;
  }
}

@keyframes loader-logo-breathe {
  0%,
  100% {
    opacity: 0.3;
    filter: brightness(0) saturate(100%) invert(54%) sepia(96%) saturate(3270%) hue-rotate(211deg) brightness(99%) contrast(97%);
    transform: scale(0.985);
  }

  50% {
    opacity: 1;
    filter: brightness(0) invert(1);
    transform: scale(1);
  }
}

/* Fifth scene: compact evidence stage with a dedicated trust action band. */
@media (min-width: 761px) {
  .home-deck .scenario-panel {
    height: clamp(300px, 40dvh, 380px);
    overflow: hidden;
  }

  .home-deck .scenario-copy {
    padding: 24px 0 22px 38px;
  }

  .home-deck .scenario-panel > img {
    min-height: 0;
    max-height: 100%;
  }

  .home-deck .scenario-copy > p {
    margin-bottom: 12px;
  }

  .home-deck .scenario-copy > span {
    margin-top: 12px;
    line-height: 1.5;
  }
}

.home-deck .scenario-more {
  min-height: 78px;
  margin-top: 18px;
  padding: 14px 0;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto 48px;
  align-items: center;
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: border-color 180ms ease;
}

.scenario-more-title small,
.scenario-more-title strong {
  display: block;
}

.scenario-more-title small {
  color: #92b1ff;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
}

.scenario-more-title strong {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

.scenario-more-note {
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
}

.scenario-more b {
  width: 48px;
  height: 40px;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 22px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.scenario-more:hover {
  border-top-color: rgba(255, 255, 255, 0.7);
}

.scenario-more:hover b {
  transform: translateX(6px);
}

@media (max-width: 760px) {
  .home-deck .scenario-more {
    margin-top: 24px;
    padding: 18px 0;
    grid-template-columns: 1fr 44px;
    gap: 14px;
  }

  .scenario-more-note {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .scenario-more b {
    grid-column: 2;
    grid-row: 1;
    width: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-route-transition {
    display: none;
  }

  .page-loader-brand img {
    animation: none;
  }

  .deferred-media,
  .home-deck .slide-deck,
  .page-loader {
    transition: none;
  }
}

/* ══ 数字一览数据带（首页 / 关于页共用） ══ */
.stats-band-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stats-item {
  min-height: 190px;
  padding: 32px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(42px, 4.4vw, 60px);
  font-weight: 600;
  line-height: 1.05;
}

.stats-item span {
  margin-top: 14px;
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .stats-band-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-item { min-height: 0; padding: 26px 20px; }
  .stats-item strong { font-size: 36px; }
}

/* ── 页脚社交账号（Palantir 式：左栏竖排文字链接，参考 palantir.com 页脚 socialsButton） ── */
.palantir-footer .pf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.pf-socials {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pf-socials-note {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 11px;
}

.pf-social {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1;
  user-select: none;
}

.pf-social:hover {
  color: rgba(255, 255, 255, 0.9);
}

.pf-social-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-size: 11px;
  font-style: normal;
  line-height: 1;
}

.pf-social svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* ── 头部搜索与全屏菜单（Palantir 式） ── */
.header-search-button,
.header-menu-button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.header-search-button svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

body.overlay-open {
  overflow: hidden;
}

.header-overlay {
  position: fixed;
  z-index: 1400;
  inset: 0;
  display: none;
  overflow-y: auto;
  background: #0b0e11;
  color: #fff;
}

.header-overlay.is-open {
  display: block;
}

.overlay-top {
  padding-top: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.overlay-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  cursor: pointer;
}

.overlay-close:hover {
  border-color: #fff;
  color: #fff;
}

/* 搜索层 */
.search-overlay-title {
  margin: 26px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
}

.search-overlay-input {
  width: 100%;
  max-width: 860px;
  margin-top: 40px;
  padding: 14px 4px;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 26px;
  outline: none;
}

.search-overlay-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.search-overlay-hints {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.search-overlay-hints button {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  cursor: pointer;
}

.search-overlay-hints button:hover {
  border-color: #fff;
  color: #fff;
}

.search-overlay-results {
  max-width: 860px;
  margin: 34px 0 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.search-overlay-results article {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.search-overlay-results h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
}

.search-overlay-results h3 a:hover {
  border-bottom: 1px solid currentColor;
}

.search-overlay-results p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.7;
}

.search-overlay-empty {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* 菜单层 */
.menu-overlay {
  background: #11161a;
}

.menu-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 90px;
}

.menu-col h2 {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.menu-main-links a {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-display);
  font-size: 24px;
  color: rgba(255, 255, 255, 0.88);
}

.menu-main-links a:hover {
  color: #fff;
}

.menu-group > a {
  position: relative;
}

.menu-group > a::after {
  margin-left: 12px;
  display: inline-block;
  color: rgba(255, 255, 255, 0.42);
  content: "↓";
  font-family: var(--font-label);
  font-size: 12px;
  transition: transform 180ms ease, color 180ms ease;
}

.menu-group > .menu-sub {
  margin: -2px 0 10px 14px;
  max-height: 0;
  overflow: hidden;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: max-height 260ms ease, opacity 180ms ease, visibility 0s linear 260ms;
}

.menu-group:hover > .menu-sub,
.menu-group:focus-within > .menu-sub,
.menu-group.is-open > .menu-sub {
  max-height: 1200px;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.menu-group:hover > a::after,
.menu-group:focus-within > a::after,
.menu-group.is-open > a::after {
  color: rgba(255, 255, 255, 0.82);
  transform: rotate(180deg);
}

.menu-group > .menu-sub a {
  min-height: 0;
  padding: 8px 0;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
}

.menu-group > .menu-sub a:hover {
  color: #fff;
}

.menu-main-links small {
  color: rgba(255, 255, 255, 0.35);
  font-family: inherit;
  font-size: 11px;
}

.menu-sub a {
  padding: 11px 0;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.menu-sub a:hover {
  color: #fff;
}

.menu-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.menu-mini-links a {
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.menu-mini-links a:hover {
  border-bottom-color: currentColor;
  color: #fff;
}

@media (max-width: 1400px) {
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 52px 64px;
  }
}

@media (max-width: 900px) {
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 760px) {
  .search-overlay-input { font-size: 20px; }
  .menu-main-links a { font-size: 20px; min-height: 48px; }
}

/* ── 全站统一上栏（首页与子页共用同一导航结构） ── */
.site-header.is-subpage {
  position: fixed;
  z-index: 1300;
  top: 0;
  right: 0;
  left: 0;
  height: 72px;
  background: #0b0e11;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  grid-template-columns: minmax(160px, 1fr) auto minmax(270px, 1fr);
}

body.has-fixed-site-header {
  padding-top: 72px;
}

.site-header.is-subpage .brand span {
  font-size: 20px;
}

.site-header.is-subpage .header-logo {
  width: 116px;
  display: block;
}

.site-header.is-subpage .header-logo img {
  width: 100%;
  height: auto;
}

.site-header.is-subpage .header-back-button {
  width: 70px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.site-header.is-subpage .header-back-button:hover,
.site-header.is-subpage .header-back-button:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.site-header.is-subpage .header-actions {
  padding-left: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.site-header.is-subpage .header-language-button {
  min-height: 40px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-header.is-subpage .header-language-button:hover,
.site-header.is-subpage .header-language-button:focus-visible {
  color: #fff;
  opacity: 0.72;
  outline: none;
}

.site-header.is-subpage .header-nav-button {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 2px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.site-header.is-subpage .header-nav-button span {
  width: 0;
  height: 0;
  border-top: 6px solid currentColor;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
}

.site-header.is-subpage .header-nav-button:hover,
.site-header.is-subpage .header-nav-button:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.site-header.is-subpage .header-cta {
  min-height: 38px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
}

/* 下拉面板（全站通用） */
.top-product-menu {
  height: 72px;
  display: flex;
  align-items: center;
}

.top-product-trigger {
  height: 72px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.top-product-trigger > span {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.top-product-menu.is-open .top-product-trigger > span {
  margin-top: 3px;
  transform: rotate(225deg);
}

.top-product-trigger {
  position: relative;
}

.top-product-trigger::after {
  height: 2px;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  background: #4d82ea;
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.top-product-menu.is-open .top-product-trigger::after {
  opacity: 1;
  transform: scaleX(1);
}

.top-product-panel {
  position: fixed;
  z-index: 990;
  top: 72px;
  right: 0;
  left: 0;
  visibility: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 11, 14, 0.985);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: visibility 220ms ease, opacity 220ms ease, transform 280ms ease;
}

.top-product-menu.is-open .top-product-panel,
.top-product-menu:hover .top-product-panel,
.top-product-menu:focus-within .top-product-panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.top-product-panel-inner {
  padding: 30px 0 38px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 54px;
}

.top-product-panel header p {
  margin: 0;
  color: #7797d4;
  font-family: var(--font-label);
  font-size: 9px;
}

.top-product-panel header h2 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
}

.top-product-panel header > span {
  margin-top: 15px;
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  line-height: 1.7;
}

.top-product-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.site-header .desktop-nav .top-product-links a {
  min-height: 150px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  opacity: 1;
  transition: background 180ms ease, color 180ms ease;
}

.top-product-links a:hover,
.top-product-links a:focus-visible {
  background: #fff;
  color: #0b0e11;
  outline: none;
}

.top-product-links a > span {
  color: #7894cb;
  font-family: var(--font-label);
  font-size: 10px;
}

.top-product-links strong {
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.3;
}

.top-product-links small {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  line-height: 1.55;
}

.top-product-links a:hover small,
.top-product-links a:focus-visible small {
  color: #65707a;
}

.site-header .desktop-nav .top-product-links .top-product-all {
  background: #175ee6;
}

.site-header .desktop-nav .top-product-links .top-product-all:hover,
.site-header .desktop-nav .top-product-links .top-product-all:focus-visible {
  background: #fff;
  color: #0b0e11;
}

@media (max-width: 1006px) {
  .site-header.is-subpage .desktop-nav {
    display: none;
  }

  .site-header.is-subpage .header-cta {
    display: none;
  }

  .site-header.is-subpage .header-back-button {
    width: 64px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 62px;
  }

  body.has-fixed-site-header {
    padding-top: 62px;
  }

  .site-header.is-subpage {
    height: 62px;
    padding: 0 18px;
    display: flex;
    justify-content: space-between;
  }

  .site-header.is-subpage .brand span {
    display: inline;
    font-size: 16px;
  }

  .site-header.is-subpage .header-actions {
    position: absolute;
    right: 18px;
    margin-left: 0;
    padding-left: 10px;
    gap: 10px;
  }

  .site-header.is-subpage .header-search-button,
  .site-header.is-subpage .header-back-button {
    display: none;
  }

  .top-product-panel-inner {
    padding: 14px 0 18px;
    display: block;
  }

  .top-product-panel header {
    display: none;
  }

  .top-product-links {
    grid-template-columns: 1fr;
  }

  .site-header .desktop-nav .top-product-links a {
    min-height: 86px;
    padding: 14px;
  }
}
