:root {
  --home-navy: #0f1d31;
  --home-navy-2: #162944;
  --home-navy-3: #0a1526;
  --home-gold: #d2a03d;
  --home-gold-dark: #b8862b;
  --home-gold-soft: rgba(210, 160, 61, .12);
  --home-ink: #142137;
  --home-muted: #69778e;
  --home-line: #e4e9f1;
  --home-pale: #f6f8fb;
  --home-white: #fff;
  --home-warn: #b45309;
  --home-good: #15803d;
  --wrap: 1184px;
  --pad: clamp(24px, 5vw, 48px);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", "STSong", serif;
  --sans: "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  font-family: var(--sans);
  color: var(--home-ink);
  background: var(--home-white);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--home-white); overflow-x: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ===== scroll progress ===== */
.scroll-progress {
  background: transparent;
  height: 2px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 30;
}
.scroll-progress i {
  background: var(--home-gold);
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  width: 100%;
}

/* ===== shared container ===== */
.section-heading,
.capability-grid,
.steps,
.scenario-switcher,
.footer-inner { max-width: var(--wrap); margin-left: auto; margin-right: auto; }

/* ===== nav ===== */
.home-nav {
  align-items: center;
  background: rgba(15, 29, 49, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: #eef4ff;
  display: flex;
  gap: 36px;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 max(var(--pad), calc((100% - var(--wrap)) / 2));
  position: sticky;
  top: 0;
  transition: min-height .3s ease, box-shadow .3s ease;
  z-index: 25;
}
.home-nav.is-stuck { box-shadow: 0 8px 24px rgba(5, 12, 24, .35); }
.home-brand { align-items: center; display: flex; gap: 12px; min-width: 220px; }
.home-brand strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.home-brand small { color: #9aacbf; display: block; font-size: 11px; margin-top: 2px; }
.home-links { align-items: center; display: flex; gap: clamp(16px, 3vw, 38px); position: relative; }
.home-links a { color: #bdc9d8; font-size: 14px; position: relative; transition: color .2s ease; }
.home-links a.is-active { color: #fff; }
.nav-indicator {
  background: var(--home-gold);
  border-radius: 1px;
  bottom: -8px;
  height: 2px;
  left: 0;
  opacity: 0;
  position: absolute;
  transition: left .35s var(--ease), width .35s var(--ease), opacity .25s ease;
  width: 0;
}
.nav-indicator.is-on { opacity: 1; }
.home-links a::after {
  background: var(--home-gold);
  bottom: -6px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .25s var(--ease);
}
.home-links a:hover, .home-links a:focus-visible { color: #fff; }
.home-links a:hover::after, .home-links a:focus-visible::after { transform: scaleX(1); }
.home-login-link {
  background: var(--home-gold);
  border-radius: 4px;
  color: #1a1305 !important;
  font-weight: 600;
  margin-left: 6px;
  padding: 10px 20px !important;
  transition: background .2s ease, transform .2s ease;
}
.home-login-link:hover, .home-login-link:focus-visible { background: var(--home-gold-dark); transform: translateY(-1px); }
.home-login-link::after { display: none; }
.home-menu-button { background: transparent; border: 0; color: #fff; display: none; font-size: 24px; }

/* ===== hero ===== */
.home-hero {
  background: var(--home-navy);
  color: #f7fbff;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.6vw, 34px);
  justify-content: center;
  min-height: calc(100vh - 82px);
  padding: 32px max(var(--pad), calc((100% - var(--wrap)) / 2));
  scroll-margin-top: 82px;
}
.hero-main {
  display: grid;
  gap: clamp(32px, 4.5vw, 64px);
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
}
.hero-copy { align-self: center; max-width: 640px; }
.hero-kicker, .section-kicker {
  color: var(--home-gold);
  font-size: 12px;
  letter-spacing: .18em;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.hero-kicker span { background: var(--home-gold); display: inline-block; height: 1px; margin: 0 14px 4px 0; width: 40px; }
.hero-title { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 50px); font-weight: 700; letter-spacing: .5px; line-height: 1.26; margin: 0; text-wrap: balance; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-in { display: block; transition: transform .85s var(--ease); }
.js-enabled .hero-title .line-in { transform: translateY(105%); }
.hero-title .line:nth-child(2) .line-in { transition-delay: .12s; }
.js-enabled .is-ready .hero-title .line-in { transform: translateY(0); }
.hero-title em { color: var(--home-gold); font-style: normal; }
.hero-summary { color: #b2c1d3; font-size: 14.5px; line-height: 1.78; margin: 16px 0 20px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { color: #8192a8; font-size: 12px; margin: 16px 0 0; }

.home-primary-button, .home-secondary-button {
  align-items: center;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  transition: transform .2s var(--ease), background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.home-primary-button {
  background: var(--home-gold);
  border: 1px solid var(--home-gold);
  color: #1a1305;
}
.home-primary-button:hover, .home-primary-button:focus-visible {
  background: var(--home-gold-dark);
  border-color: var(--home-gold-dark);
  box-shadow: 0 6px 20px rgba(210, 160, 61, .28);
  transform: translateY(-2px);
}
.home-secondary-button { border: 1px solid #5a6d84; color: #f7fbff; }
.home-secondary-button:hover, .home-secondary-button:focus-visible { border-color: var(--home-gold); color: var(--home-gold); }

/* ===== product card ===== */
.hero-product-card {
  align-self: center;
  background: #fbfcfe;
  border: 1px solid #dbe3ed;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
  color: var(--home-ink);
  overflow: hidden;
  will-change: transform;
}
.product-window-bar { align-items: center; background: #f1f4f8; border-bottom: 1px solid #e2e8f0; display: flex; gap: 7px; padding: 13px 18px; }
.product-window-bar span { background: #ccd4df; border-radius: 50%; height: 8px; width: 8px; }
.product-window-bar b { color: #75849a; font-size: 12px; font-weight: 500; margin-left: 12px; }
.product-window-body { padding: 14px 18px; }
.product-summary-row { align-items: center; display: flex; justify-content: space-between; }
.product-summary-row strong { font-size: 15.5px; }
.status-chip { background: #eef7f1; border-radius: 999px; color: var(--home-good); font-size: 11px; padding: 3px 9px; }
.product-list { border-top: 1px solid #e8edf4; margin: 12px 0 14px; }
.product-row { align-items: center; border-bottom: 1px solid #eef2f7; display: flex; gap: 14px; justify-content: space-between; padding: 8px 0; }
.row-main b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.row-main p { color: #8190a2; font-size: 11.5px; margin: 4px 0 0; }
.row-due { color: var(--home-good); flex: none; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row-due-warn { color: var(--home-warn); }
.product-insight-bar { background: #f7f9fc; border-radius: 6px; display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 14px; }
.product-insight-bar small { color: #7a8798; display: block; font-size: 10.5px; margin-bottom: 5px; }
.product-insight-bar b { display: block; font-size: 12px; font-weight: 600; }
.product-insight-bar b.warn { color: var(--home-warn); }
.product-footer-line { align-items: center; border-top: 1px solid #e8edf4; color: #718196; display: flex; font-size: 11.5px; justify-content: space-between; margin-top: 16px; padding-top: 14px; }
.product-footer-line strong { color: var(--home-gold-dark); }

/* ===== metrics（并入 hero，深色条） ===== */
.hero-metrics {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.metric-card { border-right: 1px solid rgba(255, 255, 255, .1); min-height: 88px; padding: 16px 16px 18px; text-align: center; }
.metric-card:last-of-type { border-right: 0; }
.metric-card strong {
  color: var(--home-gold);
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  min-height: 34px;
}
.metric-card strong.is-loading { color: #4a5c74; }
.metric-card strong.is-loading::after {
  animation: pulse 1.4s ease-in-out infinite;
  background: rgba(255, 255, 255, .1);
  border-radius: 4px;
  content: "";
  display: inline-block;
  height: 24px;
  width: 54px;
}
@keyframes pulse { 50% { opacity: .45; } }
.metric-card span { color: #9fb0c4; display: block; font-size: 12.5px; margin-top: 8px; }
.metric-note { color: #7387a0; font-size: 10.5px; grid-column: 1 / -1; margin: -4px 0 10px; text-align: center; }

/* ===== sections ===== */
.home-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: var(--wrap);
  min-height: calc(100vh - 82px);
  padding: 64px 0;
  scroll-margin-top: 82px;
}
.home-section > * { flex: none; }
.home-section-muted {
  background: var(--home-pale);
  max-width: none;
  padding-bottom: 64px;
  padding-top: 64px;
  padding-left: max(var(--pad), calc((100% - var(--wrap)) / 2));
  padding-right: max(var(--pad), calc((100% - var(--wrap)) / 2));
  scroll-margin-top: 82px;
}
.section-heading { margin-bottom: 44px; max-width: 700px; }
.section-heading h2,
.home-trial-cta h2 {
  color: var(--home-ink);
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 14px;
  text-wrap: balance;
}
.section-heading > p:last-child { color: var(--home-muted); line-height: 1.8; margin: 0; }

/* ===== capability ===== */
.capability-grid { display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.capability-grid article {
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 6px;
  padding: 26px 24px 28px;
  position: relative;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.capability-grid article::before {
  background: var(--home-gold);
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 100%;
  top: -1px;
  transition: right .4s var(--ease);
}
.capability-grid article:hover { border-color: rgba(210,160,61,.5); box-shadow: 0 10px 28px rgba(15,29,49,.07); transform: translateY(-3px); }
.capability-grid article:hover::before { right: 0; }
.cap-icon { color: var(--home-gold); display: block; height: 26px; margin-bottom: 18px; width: 26px; }
.cap-icon svg { height: 100%; width: 100%; }
.cap-num { color: #c3cbd8; font-family: var(--serif); font-size: 12px; letter-spacing: .12em; }
.capability-grid h3, .steps h3 { font-size: 18px; margin: 10px 0 10px; }
.capability-grid p, .steps p { color: var(--home-muted); font-size: 13.5px; line-height: 1.78; margin: 0; }

/* ===== customer pain ===== */
.pain-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--wrap);
}
.pain-grid article {
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--home-line);
  border-radius: 6px;
  min-height: 194px;
  padding: 24px;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pain-grid article:hover {
  border-color: rgba(210,160,61,.5);
  box-shadow: 0 10px 28px rgba(15,29,49,.07);
  transform: translateY(-3px);
}
.pain-index { color: var(--home-gold-dark); font-family: var(--serif); font-size: 13px; letter-spacing: .12em; }
.pain-grid h3 { font-size: 18px; margin: 26px 0 10px; }
.pain-grid p { color: var(--home-muted); font-size: 13.5px; line-height: 1.78; margin: 0; }
.advantages-layout {
  align-items: stretch;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  margin: 0 auto;
  max-width: var(--wrap);
}
.advantages-layout .pain-grid {
  gap: 14px;
  grid-template-columns: 1fr;
  margin: 0;
  max-width: none;
}
.advantages-layout .pain-grid article {
  display: grid;
  gap: 0 14px;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 0;
  padding: 16px 20px;
}
.advantages-layout .pain-index { grid-row: 1 / span 2; padding-top: 2px; }
.advantages-layout .pain-grid h3 { margin: 0 0 5px; }
.advantages-layout .value-card { height: 100%; margin: 0; max-width: none; }
.home-advantages {
  min-height: calc(100vh - 82px);
  padding-bottom: 48px;
  padding-top: 48px;
}
.home-advantages .section-heading { margin-bottom: 24px; }
.home-advantages .section-heading h2 { font-size: clamp(24px, 2.4vw, 34px); }

/* ===== value accounting ===== */
.home-value { background: var(--home-white); }
.value-card {
  background: linear-gradient(135deg, var(--home-navy), var(--home-navy-2));
  border: 1px solid rgba(210,160,61,.38);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15,29,49,.12);
  color: #eef4ff;
  margin: 0 auto;
  max-width: 760px;
  padding: 34px 38px 32px;
  text-align: center;
}
.value-label { color: var(--home-gold); display: block; font-size: 12px; letter-spacing: .12em; margin-bottom: 14px; }
.value-card strong { display: block; font-family: var(--serif); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.25; }
.value-card p { color: #c2cfdf; font-size: 15px; line-height: 1.85; margin: 18px auto 12px; max-width: 600px; }
.value-card small { color: #8fa1b7; display: block; font-size: 11px; }

/* ===== sticky demo ===== */
/* 给足滚动行程：高度 = 视口高度 × 1.9，让三段叙事有推进空间 */
.home-sticky {
  background: var(--home-navy);
  color: #eef4ff;
  padding: 0;
  position: relative;
}
.sticky-inner {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  margin: 0 auto;
  max-width: var(--wrap);
  min-height: 185vh;
  padding: 24px 0 80px;
  scroll-margin-top: 82px;
}
.sticky-copy { align-self: start; position: sticky; top: 150px; }
.sticky-stage { align-self: start; position: sticky; top: 140px; }
.sticky-copy h2 { color: #fff; font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.3; margin: 0 0 14px; text-wrap: balance; }
.sticky-lede { color: #9fb0c4; font-size: 14.5px; line-height: 1.8; margin: 0 0 38px; }
.sticky-steps { list-style: none; margin: 0; padding: 0; }
.sticky-step {
  align-items: flex-start;
  border-left: 1px solid rgba(255,255,255,.14);
  display: flex;
  gap: 16px;
  opacity: .42;
  padding: 0 0 30px 22px;
  transition: opacity .4s var(--ease), border-color .4s var(--ease);
}
.sticky-step:last-child { padding-bottom: 0; }
.sticky-step.is-active { border-color: var(--home-gold); opacity: 1; }
.step-index { color: var(--home-gold); flex: none; font-family: var(--serif); font-size: 13px; letter-spacing: .1em; line-height: 1.6; }
.sticky-step b { display: block; font-size: 16px; margin-bottom: 7px; }
.sticky-step p { color: #93a5ba; font-size: 13px; line-height: 1.75; margin: 0; }
.sticky-stage { min-width: 0; }
.stage-frame { background: #fbfcfe; border: 1px solid #2b3f5a; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.4); color: var(--home-ink); overflow: hidden; }
.stage-bar { align-items: center; background: #f1f4f8; border-bottom: 1px solid #e2e8f0; display: flex; gap: 7px; padding: 13px 18px; }
.stage-bar span { background: #ccd4df; border-radius: 50%; height: 8px; width: 8px; }
.stage-bar b { color: #75849a; font-size: 12px; font-weight: 500; margin-left: 12px; }
.stage-body { min-height: 380px; padding: 24px; position: relative; }
.stage-pane {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.stage-pane.is-on { display: block; opacity: 1; transform: none; }
.pane-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-label { align-self: center; color: #8b98a9; font-size: 11px; letter-spacing: .06em; margin-right: 4px; width: 100%; }
.filter-label:not(:first-child) { margin-top: 10px; }
.chip { background: #fff; border: 1px solid #dde4ee; border-radius: 999px; color: #52627a; font-size: 12px; padding: 7px 14px; }
.chip.is-on { background: var(--home-gold-soft); border-color: var(--home-gold); color: var(--home-gold-dark); font-weight: 600; }
.pane-result { background: #f7f9fc; border-radius: 6px; margin-top: 26px; padding: 18px 20px; }
.pane-result b { display: block; font-size: 15px; }
.pane-result p { color: #8190a2; font-size: 12px; margin: 6px 0 0; }
.pane-table { border: 1px solid #e8edf4; border-radius: 6px; overflow: hidden; }
.trow { display: grid; font-size: 12.5px; gap: 12px; grid-template-columns: minmax(0, 1.9fr) minmax(0, .7fr) minmax(0, .5fr); padding: 12px 16px; }
.trow + .trow { border-top: 1px solid #eef2f7; }
.trow.thead { background: #f1f4f8; color: #75849a; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.trow span:not(:first-child) { text-align: right; }
.trow:nth-child(3) span:last-child { color: var(--home-warn); }
.pane-explain { display: grid; gap: 12px; }
.pane-explain > div { border-left: 2px solid #dde4ee; padding: 10px 0 10px 16px; }
.pane-explain b { display: block; font-size: 13.5px; margin-bottom: 6px; }
.pane-explain p { color: #6c7a8d; font-size: 12.5px; line-height: 1.7; margin: 0; }
.explain-good { border-left-color: var(--home-good) !important; }
.explain-warn { border-left-color: var(--home-warn) !important; }
.explain-warn b { color: var(--home-warn); }
.explain-next { border-left-color: var(--home-gold) !important; }

/* ===== scenario ===== */
.scenario-switcher { max-width: var(--wrap); }
.scenario-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.scenario-tabs button {
  background: #fff;
  border: 1px solid #d8e1ee;
  border-radius: 999px;
  color: #52627a;
  cursor: pointer;
  font-size: 14px;
  padding: 12px 20px;
  transition: all .25s var(--ease);
}
.scenario-tabs button:hover { border-color: var(--home-gold); color: var(--home-gold-dark); }
.scenario-tabs button.is-on { background: var(--home-navy); border-color: var(--home-navy); color: #fff; }
.scenario-panels { background: #fff; border: 1px solid var(--home-line); border-radius: 8px; min-height: 190px; padding: 32px; position: relative; }
.scenario-panel { display: none; }
.scenario-panel.is-on { animation: fadeUp .4s var(--ease); display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.scenario-stat { border-right: 1px solid var(--home-line); display: inline-block; margin-right: 34px; padding-right: 34px; vertical-align: top; }
.scenario-stat:last-of-type { border-right: 0; }
.scenario-stat b { color: var(--home-navy); display: block; font-family: var(--serif); font-size: 34px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.scenario-stat span { color: var(--home-muted); display: block; font-size: 12px; margin-top: 6px; }
.scenario-desc { color: var(--home-muted); font-size: 13.5px; line-height: 1.8; margin: 24px 0 0; max-width: 720px; }
.scenario-footnote { color: #98a3b3; font-size: 11.5px; margin: 14px 0 0; }

/* ===== steps ===== */
.steps { display: grid; gap: 30px; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.steps-track { height: 2px; left: 14px; position: absolute; right: 14px; top: 15px; }
.steps-track svg { display: block; height: 2px; width: 100%; }
.steps-track path { stroke: #dbe3ef; stroke-width: 2; fill: none; }
.steps-track path.is-drawn { stroke: var(--home-gold); stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 1.2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.steps article { padding-top: 54px; position: relative; }
.step-dot {
  align-items: center;
  background: #fff;
  border: 1px solid #cfd9e6;
  border-radius: 50%;
  color: #8b98a9;
  display: inline-flex;
  font-size: 13px;
  height: 32px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0;
  transition: all .4s var(--ease);
  width: 32px;
}
.steps article.is-lit .step-dot { background: var(--home-gold); border-color: var(--home-gold); color: #1a1305; font-weight: 700; }
.steps h3 { margin-top: 0; }
.steps article { padding-left: 0; }

/* ===== roadmap ===== */
.roadmap-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.roadmap-grid article { background: #f7f9fc; border: 1px solid #dfe7f1; border-radius: 10px; min-height: 176px; padding: 20px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.roadmap-grid article:hover { border-color: #b7cbe7; box-shadow: 0 12px 30px rgba(15,29,49,.08); transform: translateY(-2px); }
.roadmap-card-top { align-items: center; display: flex; justify-content: space-between; margin-bottom: 22px; }
.roadmap-card-top > span { color: var(--home-gold); font-size: 12px; letter-spacing: 1px; }
.roadmap-card-top > b { background: #fff3d8; border: 1px solid #f0d28f; border-radius: 999px; color: #9a6915; font-size: 11px; font-weight: 600; padding: 5px 9px; }
.roadmap-grid h3 { color: var(--home-ink); font-size: 17px; margin: 0 0 10px; }
.roadmap-grid p { color: var(--home-muted); font-size: 13px; line-height: 1.75; margin: 0; }

/* ===== CTA ===== */
.home-trial-cta {
  align-items: center;
  background: var(--home-navy);
  display: flex;
  gap: 30px;
  justify-content: space-between;
  min-height: calc(100vh - 82px);
  padding: 64px max(var(--pad), calc((100% - var(--wrap)) / 2));
}
.home-trial-cta h2 { color: #fff; }
.home-trial-cta p { color: #aebdd0; line-height: 1.8; margin: 0; }
.home-trial-cta .section-kicker { margin-bottom: 14px; }
.cta-roadmap { border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px !important; margin-top: 22px !important; padding-top: 18px; }

/* ===== footer ===== */
.home-footer {
  align-items: center;
  background: var(--home-navy-3);
  color: #91a2b6;
  display: flex;
  font-size: 12px;
  gap: 16px;
  justify-content: space-between;
  padding: 22px max(var(--pad), calc((100% - var(--wrap)) / 2));
}
.footer-compliance { align-items: center; display: flex; gap: 10px; }
.footer-compliance a:hover, .footer-compliance a:focus-visible { color: #fff; }
.footer-compliance i { color: #516276; font-style: normal; }

/* ===== reveal animation ===== */
/* Keep the page readable if a local file preview blocks the module script. */
[data-reveal] { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-enabled [data-reveal] { opacity: 0; transform: translateY(14px); }
.js-enabled [data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-line] { transform: none; transition: transform .85s var(--ease); }
.js-enabled [data-reveal-line] { transform: translateY(105%); }
.js-enabled .is-ready [data-reveal-line] { transform: translateY(0); }

/* ===== dialog ===== */
.trial-dialog-backdrop[data-trial-dialog] { align-items: center; background: rgba(5, 15, 29, .62); display: flex; inset: 0; justify-content: center; padding: 20px; position: fixed; z-index: 40; }
.trial-dialog-backdrop[hidden] { display: none; }
.trial-dialog { background: #fff; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.25); max-height: min(720px, calc(100vh - 40px)); max-width: 500px; overflow: auto; padding: 34px; position: relative; width: 100%; }
.dialog-close { background: transparent; border: 0; color: #67768b; cursor: pointer; font-size: 28px; line-height: 1; padding: 4px; position: absolute; right: 18px; top: 15px; }
.trial-dialog h2 { color: var(--home-ink); font-family: var(--serif); font-size: 34px; font-weight: 700; margin: 0 0 10px; }
.trial-dialog .section-kicker { margin-bottom: 14px; }
.dialog-intro { color: var(--home-muted); font-size: 14px; line-height: 1.7; margin: 0 0 22px; }
.trial-dialog form { display: grid; gap: 14px; }
.trial-dialog label { color: var(--home-ink); display: grid; font-size: 13px; gap: 7px; }
.trial-dialog input:not([type="checkbox"]) { border: 1px solid #cad5e3; border-radius: 6px; color: var(--home-ink); min-height: 44px; padding: 0 12px; }
.trial-dialog input:focus { border-color: var(--home-gold); box-shadow: 0 0 0 3px rgba(210,160,61,.16); outline: none; }
.consent-line { align-items: start; display: flex !important; gap: 9px !important; grid-template-columns: auto 1fr; line-height: 1.6; }
.consent-line input { accent-color: var(--home-gold); margin-top: 3px; }
.form-message { color: #b42318; font-size: 13px; min-height: 20px; margin: 0; }
.form-message.success { color: var(--home-good); }
.dialog-submit { border-radius: 6px; width: 100%; }
body.trial-dialog-open { overflow: hidden; }

/* ===== 矮视口压缩：保证首屏在低窗口下仍为一屏 ===== */
@media (max-height: 800px) and (min-width: 861px) {
  .home-hero { gap: 14px; padding-top: 20px; padding-bottom: 20px; }
  .hero-kicker { margin-bottom: 8px; }
  .hero-title { font-size: clamp(24px, 2.7vw, 38px); }
  .hero-summary { font-size: 13.5px; line-height: 1.65; margin: 10px 0 14px; }
  .hero-actions { gap: 12px; }
  .home-primary-button, .home-secondary-button { min-height: 44px; padding: 0 22px; }
  .hero-note { margin-top: 10px; }
  .product-window-body { padding: 12px 16px; }
  .product-row { padding: 6px 0; }
  /* 低窗口下产品卡示意精简：隐藏第 4 行与底部提示行 */
  .product-row:nth-of-type(4), .product-footer-line { display: none; }
  .product-list { margin: 10px 0 12px; }
  .product-insight-bar { gap: 6px; padding: 10px 12px; }
  .hero-metrics { border-radius: 6px; }
  .metric-card { min-height: 0; padding: 10px 12px 12px; }
  .metric-card strong { font-size: 24px; min-height: 28px; }
  .metric-card span { font-size: 12px; margin-top: 4px; }
  .metric-note { margin: -2px 0 8px; }
}

/* ===== responsive ===== */
@media (max-width: 1024px) {
  .home-sticky { min-height: 0; }
  .sticky-inner { grid-template-columns: 1fr; min-height: 0; padding: 80px 0; }
  .sticky-copy { position: static; }
  .sticky-stage { position: static; }
  .sticky-lede { margin-bottom: 28px; }
  .sticky-steps { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 36px; }
  .sticky-step { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0 0; }
  .sticky-step.is-active { border-top-color: var(--home-gold); }
  .stage-body { min-height: 340px; }
  /* 移动端按顺序展开三段工作台内容，避免滚动时永远停在第 01 段 */
  .stage-pane { display: block; opacity: 1; transform: none; }
  .stage-pane + .stage-pane { border-top: 1px solid #e8edf4; margin-top: 24px; padding-top: 24px; }
}

@media (max-width: 860px) {
  .home-nav { min-height: 68px; padding: 0 20px; }
  .home-links { background: var(--home-navy-2); border-bottom: 1px solid rgba(255,255,255,.12); display: none; flex-direction: column; gap: 0; left: 0; padding: 12px 20px 20px; position: absolute; right: 0; top: 68px; z-index: 25; }
  .home-links.is-open { display: flex; }
  .home-links a { padding: 12px 0; width: 100%; }
  .home-links a::after { display: none; }
  .home-login-link { display: inline-block; margin: 10px 0 4px; padding: 10px 18px !important; width: auto; }
  .home-menu-button { display: block; }
  .home-hero { min-height: 0; padding: 56px 24px; }
  .hero-main { grid-template-columns: 1fr; }
  .hero-product-card { width: 100%; }
  .advantages-layout { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-section { min-height: 0; padding: 76px 24px; }
  .home-trial-cta { min-height: 0; }
  .home-section-muted { padding-left: 24px; padding-right: 24px; }
  .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-card { min-height: 96px; padding: 18px 12px; }
  .metric-card strong { font-size: 28px; }
  .scenario-stat { margin-right: 22px; padding-right: 22px; }
  .scenario-stat b { font-size: 28px; }
  .step-dot { left: 0; top: -6px; }
  .steps article { padding-top: 46px; }
}

@media (max-width: 620px) {
  .hero-title { font-size: 32px; }
  .hero-summary { font-size: 13.5px; }
  .nav-indicator { display: none; }
  .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-card:nth-child(2) { border-right: 0; }
  .metric-card:nth-child(3) { border-left: 1px solid rgba(255,255,255,.1); }
  .capability-grid, .pain-grid, .steps, .sticky-steps { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .steps-track { display: none; }
  .steps article { padding-top: 48px; }
  .product-insight-bar { grid-template-columns: 1fr; }
  .value-card { padding: 28px 22px 26px; }
  .scenario-panels { padding: 24px 20px; }
  .scenario-stat { border-right: 0; display: block; margin: 0 0 16px; padding: 0; }
  .stage-body { min-height: 420px; padding: 18px; }
  .trow { font-size: 11.5px; gap: 8px; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, .5fr); padding: 10px 12px; }
  .home-trial-cta { align-items: flex-start; flex-direction: column; padding: 60px 24px; }
  .home-footer { align-items: flex-start; flex-direction: column; padding: 22px 24px; }
  .footer-compliance { align-items: flex-start; flex-direction: column; gap: 5px; }
  .trial-dialog-backdrop { align-items: flex-end; padding: 0; }
  .trial-dialog { border-radius: 16px 16px 0 0; max-height: 90vh; padding: 28px 22px 32px; }
}
