@charset "UTF-8";

/* 中文标题沿用原设计的方圆体，长段正文使用系统字，方便企业客户扫读。 */
@font-face {
  font-family: "Midui Round";
  src: url("/assets/AlimamaFangYuanTiVF-Thin.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}
:root {
  --paper: #f4f6fa;
  --ink: #182136;
  --muted: #59657a;
  --line: #d5dce6;
  --accent: #3856a3;
  --round: "Midui Round", "PingFang SC", sans-serif;
}
body { color: var(--ink); }
/* 页眉与影片共用首屏顶部；负外边距只合并这块留白，页眉随文档滚动。 */
html { scroll-padding-top:12px; }
.site-header {
  --mast-height:76px;
  position:relative; top:auto; margin:0 0 calc(0px - var(--mast-height)); border:0;
  color:#f5f6fa; background:linear-gradient(180deg,#060910c9,#06091050 78%,transparent);
  backdrop-filter:none;
}
.site-header .header-inner {
  width:min(1560px,calc(100% - 2 * clamp(24px,6vw,118px))); height:var(--mast-height);
  display:flex; align-items:center; gap:clamp(28px,3.2vw,44px); padding:0;
}
.wordmark { font-family: "Avenir Next", sans-serif; font-weight: 720; }
.wordmark>span { color: #a2b9ff; }
.site-header .brand { gap:12px; min-height:44px; }
.site-header .wordmark { font-size:31px; }
.site-header .brand-cn { display:inline; padding:0; border:0; color:#d4dae5; font-size:13px; letter-spacing:.08em; }
.site-header .desktop-nav { gap:clamp(20px,2.4vw,36px); margin:0; color:#dce1ec; font-size:1.125rem; }
.desktop-nav a { position:relative; display:inline-flex; align-items:center; min-height:44px; }
.site-header .menu-toggle { margin:0; width:44px; height:44px; padding:0; border-radius:6px; }
.site-header .menu-toggle span { width:18px; margin:6px auto; background:#e2eafc; }
.site-header .mobile-nav {
  top:100%; padding:5px 24px 12px; background:#10141e; color:#eef1f8;
  border-block:1px solid #ffffff20; box-shadow:0 10px 18px #03071026;
}
.site-header .mobile-nav a { padding:12px 0; min-height:44px; border-bottom:1px solid #ffffff17; }
/* 两个栏目在手机展开后也放大，联系入口沿用原字号。 */
.site-header .mobile-nav :is([href="#services"],[href="#scenarios"]) { font-size:1rem; }
.site-header .mobile-nav a:last-child { border:0; }
.site-header :is(a,button):focus-visible { outline:2px solid #b7cbff; outline-offset:2px; }
.button { border-radius: 13px; font-size: .9375rem; }
.button-dark { background: #233454; border-color: #233454; }
.site-header .header-contact {
  gap:10px; min-height:44px; padding:0; margin-left:auto;
  font-size:14px; font-weight:600; color:#fff; background:transparent; border:0; border-radius:4px;
  text-shadow:0 1px 5px #0b1021; box-shadow:none;
}
.header-contact span {
  display:grid; place-items:center; width:30px; height:30px; border-radius:50%;
  color:#151c2a; background:#edf1fa; text-shadow:none; font:17px/1 system-ui;
}
@media (hover:hover) {
  .site-header .desktop-nav a:hover,.site-header .mobile-nav a:hover {
    color:white; text-decoration:underline; text-underline-offset:6px;
  }
  .site-header .header-contact:hover { background:transparent; transform:none; box-shadow:none; }
  .site-header .header-contact:hover span { background:white; }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .header-contact span { transition:transform .18s ease-out; }
  .header-contact:hover span { transform:translateX(3px); }
}
.opening h1,.practice-heading h2,.gateway-intro h2,.section-heading h2,.closing-section h2 {
  font-family: var(--round);
  font-variation-settings: "BEVL" 88;
  font-weight: 525;
  letter-spacing: -.035em;
}
/* 深色首屏衔接导航。右侧动画使用透明画布，与页面光照合为同一幅画面。 */
.opening-band {
  background: radial-gradient(ellipse at 78% 49%, #202d4a 0%, #151c30 31%, #101421 68%);
  color: #f5f7ff;
  border-bottom: 1px solid #39445a;
}
.opening {
  display: grid;
  grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr);
  gap: clamp(22px, 2.6vw, 48px);
  align-items: center;
  padding-block: clamp(40px, 4.1vw, 65px);
}
.opening-copy { padding-block: 16px; }
.practice-label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: #526589;
}
.practice-label::before { content: ""; width: 22px; height: 2px; background: #638acb; }
.opening h1 {
  margin: 28px 0 22px;
  font-size: clamp(2.35rem, 4.15vw, 4.6rem);
  line-height: 1.24;
}
.opening h1 em { color: #b6caff; font-style: normal; }
.opening .practice-label { color: #b2c1e3; }
.opening .practice-label::before { background: #9bb8ff; }
.opening-actions .button-dark { background: #e5ecff; color: #182341; border-color: #e5ecff; }
.opening-actions .button-dark:hover { background: white; box-shadow: 0 4px 20px #bacdff24; }
.opening-actions .plain-link { color: #c9d6f4; border-color: #8998b5; }
.opening-lead { max-width: 31em; color: #bec9de; font-size: 1.045rem; line-height: 1.95; }
.opening-actions { display: flex; align-items: center; gap: 26px; margin-top: 30px; }
.plain-link {
  display: inline-block;
  width: fit-content;
  color: inherit;
  background: transparent;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: .9375rem;
}
.opening-figure {
  margin: 0;
  min-width: 0;
  padding: 14px 0 0;
}
.routing-art {
  position: relative;
  aspect-ratio: 1.69;
  background: url("/assets/architecture.jpg") center / cover;
  border-radius: 20px;
  isolation: isolate;
}
.routing-art:has(.ready) { background: transparent; }
#routing-canvas { display: block; width: 100%; height: 100%; }
.visual-controls {
  position: absolute;
  inset: 0 1% auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8125rem;
  color: #b6c4dc;
}
.visual-controls button {
  min-height: 34px;
  padding: 4px 12px;
  color: #d6e2fb;
  border: 1px solid #889ac047;
  border-radius: 99px;
  background: #131c2c;
}
.visual-controls button:hover { background: #27354f; }
.opening-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 1px 1% 0 0;
  padding: 15px 0 0;
  border-top: 1px solid #b3c8ff32;
  color: #d5e0f3;
}
.figure-route { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.figure-route strong { font-size: .8125rem; font-weight: 500; }
.figure-route i { width: 16px; height: 1px; background: #a5b8dc83; }
.opening-figure figcaption a { font-size: .8125rem; color: #c1d3fa; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.practice-section { padding: clamp(43px,4.35vw,74px) 0; }
.practice-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 26px; }
.practice-heading h2 { font-size: clamp(1.65rem, 2.65vw, 2.6rem); line-height: 1.35; }
.practice-heading>p { font-size: .95rem; color: var(--muted); }
.practice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,2vw,26px); }
.practice-item {
  position: relative;
  padding: 0 22px 22px;
  border-radius: 21px;
  border: 1px solid #d6deeb;
  background: #fbfcfe;
  overflow: hidden;
}
.practice-photo { height: clamp(85px,8vw,125px); overflow: hidden; margin: 0 -22px 20px; background: #26344d; }
.practice-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(.92); opacity: .82; }
.practice-item:first-child img { object-position: 50% 42%; }
.practice-item:last-child img { object-position: 50% 74%; }
.practice-item .practice-name {
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font: 550 clamp(1.18rem,1.65vw,1.55rem)/1.5 var(--round);
  font-variation-settings: "BEVL" 78;
}
.practice-name:hover { color: var(--accent); }
.practice-item>p:not(.eyebrow) { margin-top: 10px; color: #525f72; min-height: 0; line-height: 1.85; font-size: 1rem; }
.practice-item .inline-link { width: auto; gap: 15px; margin-top: 17px; border: 0; color: var(--accent); padding: 5px 0; }
.practice-item .inline-link span { font-size: 1rem; }

/* 网关演示始终展示完整路线，播放只改变当前节点；切换请求时高度基本稳定。 */
.gateway-section { background: #141b2b; color: #f2f5ff; padding-block: clamp(52px,6vw,92px); }
.gateway-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(28px,7vw,102px); align-items: center; }
.gateway-intro .practice-label { color: #b9cafa; }
.gateway-intro .practice-label::before { background: #91aff8; }
.gateway-intro h2 { margin: 18px 0; font-size: clamp(1.95rem,3.2vw,3.24rem); line-height: 1.35; }
.gateway-intro>p:not(.practice-label) { max-width: 34em; color: #c6cfdf; line-height: 1.95; }
.gateway-intro .plain-link { margin-top: 23px; color: #c3d5ff; }
.route-board { background: #f6f8fc; color: var(--ink); padding: clamp(20px,2.25vw,34px); border-radius: 24px; }
.route-head,.route-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.route-head h3 { font-size: 1.25rem; font-weight: 600; }
.route-head>span { font-size: .8125rem; color: #54637c; }
.route-picker { display: flex; gap: 5px; width: fit-content; padding: 4px; background: #e2e8f2; border-radius: 12px; margin: 19px 0 20px; }
.route-picker button { color: #4d5c73; font-size: .875rem; padding: 7px 13px; border-radius: 9px; background: transparent; }
.route-picker button[aria-pressed="true"] { background: white; color: #29457a; box-shadow: 0 1px 3px #263b641c; }
.route-path { padding: 0; margin: 0; list-style: none; }
.route-path li { position: relative; padding: 10px 12px 10px 31px; display: grid; grid-template-columns: 5.6em 1fr; gap: 10px; align-items: baseline; }
.route-path li::after { content: ""; position: absolute; top: 0; bottom: 0; left: 11px; width: 1px; background: #a8b9d2; }
.route-path li:first-child::after { top: 21px; }
.route-path li:last-child::after { bottom: auto; height: 21px; }
.route-path li::before { position: absolute; z-index: 1; content: ""; left: 7px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: #f6f8fc; border: 1px solid #8a9fbe; }
.route-path li>span { font-size: .875rem; color: #53647e; }
.route-path strong { font-weight: 500; font-size: .965rem; }
.route-path .route-hub { border-radius: 10px; background: #e8eef8; }
.route-path li[data-state="current"] { background: #dce8ff; border-radius: 10px; }
.route-path li[data-state="current"]::before,.route-path li[data-state="done"]::before { background: #446eaf; border-color: #446eaf; }
.route-foot { margin-top: 21px; padding-top: 16px; border-top: 1px solid var(--line); }
.run-route { padding: 9px 15px; background: #223453; color: #fff; border-radius: 11px; font-size: .875rem; }
.run-route:disabled { background: #4b5d7b; }
#route-status { color: #485c7c; font-size: .875rem; }
.section-space { padding-block: clamp(56px,6vw,90px); }
.section-heading .eyebrow { font-size: .875rem; color: var(--accent); }
.scenario-section { background: #ecf0f6; }
.section-heading .section-intro { color: #526078; font-size: 1rem; }
.scenario-workspace,.scenario-demo,.harness-console,.hero-workflow { border-radius: 20px; }
.harness-section { background: #f8f9fc; color: var(--ink); }
.harness-section .section-heading h2,.harness-story .harness-step span,.harness-bottom button { color: #233249; }
.harness-section .section-intro,.harness-story .harness-step small,.harness-bottom>span { color: #556079; }
.harness-step,.harness-bottom { border-color: #d3dbe6; }
.harness-story .harness-step.active { background: #e8eef9; }
.harness-story .button-light { border: 1px solid #b6c4d9; background: #edf2fa; color: #33496a; }
.harness-console { background: #1c2434; }
.harness-console .console-goal h3,.harness-console .flow-step b { color: #eff3fb; }
.process-section { border-top: 1px solid var(--line); }
.process-grid h3 { margin-top: 0; }
.process-grid p,.console-note p { font-size: 1rem; }
.process-grid p,.process-grid small { color: #56627a; }
.process-grid small,.harness-step small,.flow-step b { font-size: .875rem; }
.harness-console .console-note p,.harness-console .flow-step>span { color: #c4cddd; }
.harness-console .console-note>span,.harness-console .console-goal>span,.harness-console .console-title { font-size: .75rem; }
.harness-console .flow-step.active { background: #344765; border-color: #859ec7; }
.closing-section { margin-bottom: 54px; background: #172238; color: #edf3ff; padding: clamp(26px,4vw,56px); border-radius: 24px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.closing-section .practice-label { color: #b4c9eb; }
.closing-section .practice-label::before { display: none; }
.closing-section h2 { margin: 13px 0; font-size: clamp(1.55rem,3vw,2.7rem); }
.closing-section p:not(.practice-label) { max-width: 42em; color: #c2cdde; }
dialog,.service-dialog,.service-dialog-photo { border-radius: 20px; }
/* 按原始长宽比展示微信名片，保留二维码四周留白，并可点开原图。 */
#wechat-card { display:block; width:min(100%,250px,38svh); margin-inline:auto; }
#wechat-card img { display:block; width:100%; height:auto; border-radius:6px; }
#contact-dialog .dialog-phone {
  display:flex; align-items:center; min-height:44px; margin-top:10px; padding-top:8px;
  border-top:1px solid var(--line); color:#344863; font-size:14px;
}
#email-value,.dialog-phone:hover { text-decoration:underline; text-underline-offset:3px; }
#contact-dialog .copy-status:empty { display:none; }
.site-footer { padding-bottom: 16px; }
@media(max-width:980px) {
  .header-inner,.section-wrap { width: calc(100% - 56px); }
  .desktop-nav { gap: 16px; margin-right: 0; }
  .opening { gap: 24px; }
  .opening-figure figcaption { flex-wrap: wrap; }
  .practice-item { padding-inline: 18px; }
  .practice-photo { margin-inline: -18px; }
  .gateway-layout { grid-template-columns: .85fr 1.15fr; gap: 22px; }
  .route-path li { grid-template-columns: 1fr; gap: 1px; }
}
@media(max-width:760px) {
  .section-wrap { width: calc(100% - 36px); }
  .site-header { --mast-height:64px; }
  .site-header .header-inner { width:calc(100% - 40px); gap:12px; }
  .site-header .brand { gap:8px; }
  .site-header .wordmark { font-size:25px; }
  .site-header .header-contact { font-size:13px; gap:7px; }
  .site-header .header-contact span { width:25px; height:25px; font-size:15px; }
  .opening { grid-template-columns: 1fr; gap: 24px; padding: 31px 0; }
  .opening-copy { padding: 0; }
  .opening h1 { font-size: clamp(2.1rem,7.9vw,3.75rem); margin: 15px 0; }
  .opening-lead { font-size: 1rem; }
  .opening-actions { gap: 18px; margin-top: 20px; flex-wrap: wrap; }
  .opening-figure { padding: 8px 0 0; }
  .routing-art { aspect-ratio: 1.65; }
  .opening-figure figcaption { gap: 7px 12px; padding-top: 10px; }
  .figure-route { gap: 5px; }
  .figure-route i { width: 8px; }
  .figure-route strong,.opening-figure figcaption a { font-size: .75rem; }
  .practice-section { padding: 29px 0 42px; }
  .practice-heading { display: block; margin-bottom: 19px; }
  .practice-heading>p { margin-top: 8px; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-item { padding: 0 18px 16px; }
  .practice-photo { height: clamp(90px,24vw,145px); margin-bottom: 14px; }
  .practice-item .inline-link { margin-top: 8px; }
  .gateway-layout { grid-template-columns: 1fr; gap: 25px; }
  .gateway-intro h2 br { display: none; }
  .route-board { padding: 19px 15px; border-radius: 17px; }
  .route-picker button { padding: 7px 10px; }
  .closing-section { display: block; }
  .closing-section .button { margin-top: 21px; }
}
@media(min-width:761px) and (max-width:820px) {
  .header-inner { gap: 16px; }
  .desktop-nav { gap: 12px; }
}
@media(prefers-reduced-motion:no-preference) {
  .route-path li { transition: background-color .22s; }
}

/* 节点的轨迹只在网关分派期间运行，审批节点结束后保持静态以便核对。 */
.gateway-section {
  background: radial-gradient(ellipse at 78% 50%, #263651, transparent 60%), #131b2c;
}
.route-board { box-shadow: 0 22px 65px #060b1440; }
.route-path li[data-state="current"] { box-shadow: inset 0 0 0 1px #b1c7ed; }
.route-path li[data-state="current"]::before { box-shadow: 0 0 0 3px #eaf1ff; }
.route-path li[data-state="done"]::after { background: #6589c3; }
.run-route:focus-visible,#routing-motion:focus-visible { outline: 3px solid #759bde; outline-offset: 4px; }
@media(prefers-reduced-motion:no-preference) {
  .route-board.is-routing .route-path li[data-state="current"]:not(:last-child)::after {
    background: linear-gradient(to bottom, #7197d1 14%, #e6eeff 45%, #7197d1 76%) 0 0 / 100% 200%;
    animation: route-signal .82s linear;
  }
  @keyframes route-signal { from { background-position-y: 100%; } to { background-position-y: 0; } }
  .practice-item { transition: box-shadow .23s, border-color .23s; }
  .practice-photo img { transition: transform .55s ease-out; }
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .practice-item:hover,.practice-item:focus-within { box-shadow: 0 10px 28px #20365a12; border-color: #a7bbd9; }
  .practice-item:hover .practice-photo img { transform: scale(1.04); }
}
