/* ==========================================================================
   AI 套系 · 流动的品牌蓝（Living Blue）
   - 首屏与少数高潮段：官网公共 Banner 基底 + 深蓝与浅蓝之间缓慢流动的蓝场（ai-suite-field.js）。
   - 长阅读回到白底与浅灰蓝，与官网其他页面同一观感；琥珀色只代表“人确认”。
   - 图形语言来自品牌 DNA 线与洞察之眼的点划线。
   - 本文件：色调、字体层级、通用组件。页面专属组件见 ai-suite-extra.css。
   ========================================================================== */

.aisuite {
  --navy: #06365f;         /* 小型控件与语义对比面的实色深蓝 */
  --terminal: #062744;     /* 终端面板 */
  --blue-static: linear-gradient(122deg, #0a466f 0%, #0067b4 100%); /* 公共 balanced 配方里白字全程达标的一段，用于小面板与蓝场的兜底 */
  --signal-200: #bde9f9;
  --signal-300: #61ccf0;
  --signal-500: #008ed3;
  --signal-700: #0067b4;
  --signal-800: #00558f;
  --human-300: #ffdd80;
  --human-500: #ffc000;
  --human-700: #7d5900;
  --serif: var(--ztc-serif);
  --sans: var(--ztc-sans);
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --gutter: clamp(20px, 3vw, 38px);
  --sec-y: clamp(60px, 6.6vw, 96px);
  --dna: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='4'%3E%3Cpath d='M2 2h.01M14 2h50' stroke='%23000' stroke-width='2.4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  margin: 0;
  background: #fff;
  color: var(--ztc-text);
  font: 400 16px/1.8 var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 色调：每个区块自带一套语义变量，组件只读语义变量 */
.aisuite .t-field,
.aisuite .t-deep {
  --fg: #fff;
  --fg-2: rgba(255, 255, 255, .92);
  --fg-3: rgba(255, 255, 255, .84);
  --line: rgba(255, 255, 255, .22);
  --line-2: rgba(255, 255, 255, .44);
  --accent: var(--signal-200);
  --accent-ink: #d4f1fb;
  --human: var(--human-500);
  --human-ink: #ffe59e;
  --btn-bg: #fff;
  --btn-bg-hover: #e6f4fb;
  --btn-fg: var(--signal-700);
  --focus: #fff;
  --bg-2: rgba(4, 36, 66, .62);
  --bg-3: rgba(255, 255, 255, .12);
  color-scheme: dark;
}
/* 基底引用公共 Banner 变量；白字铺满的区块用白字全程达标的一段打底，蓝场加载后覆盖其上 */
.aisuite .t-field { --bg: var(--ztc-banner-balanced); position: relative; isolation: isolate; }
.aisuite .t-field[data-field-text="full"] { --bg: var(--blue-static); }
.aisuite .t-deep { --bg: var(--blue-static); }
.aisuite .t-paper,
.aisuite .t-white,
.aisuite .t-soft,
.aisuite .t-pale {
  --fg: var(--ztc-text);
  --fg-2: #4b5161;
  --fg-3: #5e6474;
  --line: rgba(10, 43, 76, .12);
  --line-2: rgba(10, 43, 76, .26);
  --accent: var(--signal-500);
  --accent-ink: var(--signal-700);
  --human: var(--human-500);
  --human-ink: var(--human-700);
  --btn-bg: var(--signal-700);
  --btn-bg-hover: var(--signal-800);
  --btn-fg: #fff;
  --focus: var(--signal-700);
  color-scheme: light;
}
.aisuite .t-paper { --bg: #fff; --bg-2: #f5f8fb; --bg-3: #eaf1f7; }
.aisuite .t-white { --bg: #fff; --bg-2: #fff; --bg-3: #eef4f8; }
.aisuite .t-soft { --bg: #f4f8fb; --bg-2: #fff; --bg-3: #e6eff6; }
.aisuite .t-pale { --bg: #eff7fc; --bg-2: #fff; --bg-3: #e3eff7; position: relative; isolation: isolate; }

/* 流动蓝场画布：铺满所在区块，叠在基底之上、内容之下 */
.aisuite .field-canvas { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1.1s ease; pointer-events: none; }
.aisuite .field-canvas.on { opacity: 1; }
@media print { .aisuite .field-canvas { display: none; } }

/* 基础复位（只在套系内部） */
.aisuite *, .aisuite *::before, .aisuite *::after { box-sizing: border-box; }
.aisuite a { color: inherit; text-decoration: none; }
.aisuite button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
.aisuite h1, .aisuite h2, .aisuite h3, .aisuite h4, .aisuite p, .aisuite blockquote, .aisuite figure, .aisuite dl, .aisuite dd { margin: 0; }
.aisuite ul, .aisuite ol { list-style: none; margin: 0; padding: 0; }
.aisuite img { display: block; max-width: 100%; height: auto; }
.aisuite [hidden] { display: none !important; }
.aisuite :is(a, button, summary, input, textarea):focus-visible { outline: 2px solid var(--focus, var(--signal-700)); outline-offset: 3px; border-radius: 3px; }
.aisuite .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aisuite .ph { display: inline-block; }

/* 区块与栅格 */
.aisuite .sec { position: relative; background: var(--bg); color: var(--fg); padding-block: var(--sec-y); scroll-margin-top: 92px; }
.aisuite .sec--tight { padding-block: clamp(48px, 5vw, 72px); }
.aisuite .sec--flush-top { padding-top: 0; }
.aisuite .wrap { width: min(1152px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }

/* 字体层级 */
.aisuite h1 { font-family: var(--serif); font-weight: 700; font-size: var(--ztc-banner-h1-standard); line-height: 1.18; letter-spacing: -.012em; color: var(--fg); }
.aisuite h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.3; letter-spacing: -.008em; color: var(--fg); }
.aisuite h3 { font-family: var(--sans); font-weight: 600; font-size: var(--ztc-fs-h3); line-height: 1.45; color: var(--fg); }
.aisuite h4 { font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1.55; color: var(--fg); }
.aisuite :is(h1, h2, h3, h4, blockquote) { text-wrap: balance; }
.aisuite p { text-wrap: pretty; }
.aisuite p { color: var(--fg-2); }
.aisuite .serif { font-family: var(--serif); font-weight: 600; }
.aisuite .lead { font-size: 17px; line-height: 1.75; color: var(--fg-2); }
.aisuite .small { font-size: 13px; line-height: 1.7; color: var(--fg-3); }
.aisuite .mono { font-family: var(--mono); letter-spacing: .02em; }

/* 章节小标：序号 + DNA 线 + 名称 */
.aisuite .kicker { display: flex; align-items: center; gap: 14px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .06em; line-height: 1.5; color: var(--accent-ink); margin-bottom: clamp(14px, 1.6vw, 20px); }
.aisuite .kicker::before { content: ''; width: 38px; height: 4px; flex: none; background: currentColor; -webkit-mask: var(--dna) left center / 38px 2px no-repeat; mask: var(--dna) left center / 38px 2px no-repeat; }
.aisuite .kicker b { font-family: var(--mono); font-weight: 500; letter-spacing: .02em; opacity: .85; }

/* 章节标题组：左标题、右说明 */
.aisuite .head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(32px, 4vw, 64px); align-items: end; margin-bottom: clamp(30px, 3.4vw, 48px); }
.aisuite .head > p { font-size: 15px; line-height: 1.8; padding-bottom: .25em; }
.aisuite .head--stack { grid-template-columns: minmax(0, 1fr); max-width: 880px; gap: 20px; }

/* 按钮与链接 */
.aisuite .btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 9px 24px; border-radius: 999px; border: 1px solid transparent; background: var(--btn-bg); color: var(--btn-fg); font-size: 14.5px; font-weight: 600; line-height: 1.4; white-space: nowrap; transition: background-color .25s, border-color .25s, color .25s; }
.aisuite .btn:hover { background: var(--btn-bg-hover); }
.aisuite .btn i { font-style: normal; display: inline-block; transition: transform .3s var(--ease); }
.aisuite .btn:hover i { transform: translateX(4px); }
.aisuite .btn i.up { transition: transform .3s var(--ease); }
.aisuite .btn:hover i.up { transform: translate(3px, -3px); }
.aisuite .btn:hover i.down { transform: translateY(4px); }
.aisuite .btn--ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.aisuite .btn--ghost:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }
.aisuite .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.aisuite .link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--accent-ink); font-size: 14.5px; font-weight: 600; background: linear-gradient(currentColor, currentColor) left calc(100% - 9px) / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.aisuite .link:hover { background-size: calc(100% - 26px) 1px; }
.aisuite .link i { font-style: normal; transition: transform .3s var(--ease); }
.aisuite .link:hover i { transform: translateX(4px); }

/* 标记 */
.aisuite .tag { display: inline-flex; align-items: center; gap: 7px; padding: 2px 9px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--mono); font-size: 12px; line-height: 1.6; letter-spacing: .03em; color: var(--fg-2); white-space: nowrap; }
.aisuite .tag--layer { color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent-ink) 45%, transparent); }
.aisuite .tag--human { color: var(--human-ink); border-color: color-mix(in srgb, var(--human-ink) 55%, transparent); }
.aisuite .tag--human::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--human); }

/* 仪器面板：所有“工作物件”的容器 */
.aisuite .panel { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.aisuite .panel.t-deep { background: var(--bg); border-color: transparent; }
.aisuite .t-field .panel.t-white { border-color: transparent; box-shadow: 0 40px 80px -46px rgba(2, 30, 56, .7); }
.aisuite .t-pale .panel, .aisuite .t-soft .panel { box-shadow: 0 24px 56px -44px rgba(10, 43, 76, .4); }
.aisuite .panel-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 8px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: var(--fg-3); }
.aisuite .panel-bar span:first-child { display: inline-flex; align-items: center; gap: 9px; }
.aisuite .panel-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* 页面首屏（页面间共用骨架，构图由各页覆盖） */
.aisuite .hero { position: relative; background: var(--bg); color: var(--fg); padding-top: calc(var(--ztc-header-h, 80px) + clamp(24px, 2.6vw, 36px)); padding-bottom: clamp(48px, 5vw, 72px); overflow: hidden; }
.aisuite .hero .lead { max-width: 40em; }
.aisuite .hero .actions { margin-top: clamp(20px, 2vw, 28px); }
.aisuite .hero-split { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: clamp(32px, 4.4vw, 64px); align-items: center; }
.aisuite .hero-split h1 { margin-bottom: clamp(16px, 1.8vw, 24px); }

/* 一句话定义：可被单独摘录的段落 */
.aisuite .def { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px clamp(32px, 4vw, 64px); padding-block: clamp(24px, 2.8vw, 38px); border-block: 1px solid var(--line-2); }
.aisuite .def h2 { font-size: clamp(21px, 1.8vw, 24px); line-height: 1.4; }
.aisuite .def p { font-size: 16px; line-height: 1.85; color: var(--fg); }
.aisuite .def p + p { margin-top: 1em; font-size: 15px; color: var(--fg-2); }

/* 事实条 */
.aisuite .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 clamp(24px, 3vw, 40px); margin-top: clamp(22px, 2.4vw, 32px); }
.aisuite .facts > div { padding-block: 16px; border-top: 1px solid var(--line); }
.aisuite .def + .facts > div { border-top: 0; padding-top: 0; }
.aisuite .facts strong { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; color: var(--fg); }
.aisuite .facts strong small { font-size: .5em; margin-left: 2px; }
.aisuite .facts span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.6; color: var(--fg-2); }

/* 细线行：替代三张卡片的主要版式 */
.aisuite .rows { border-top: 1px solid var(--line-2); }
.aisuite .row { display: grid; grid-template-columns: 84px minmax(0, 4fr) minmax(0, 7fr); gap: 10px clamp(20px, 2.6vw, 36px); padding-block: clamp(16px, 1.7vw, 24px); border-bottom: 1px solid var(--line); align-items: baseline; }
.aisuite .row > .no { font-family: var(--mono); font-size: 12.5px; letter-spacing: .03em; color: var(--accent-ink); }
.aisuite .row h3 { font-family: var(--serif); font-size: clamp(18px, 1.5vw, 20px); line-height: 1.4; font-weight: 600; }
.aisuite .row p { font-size: 14.5px; line-height: 1.8; }

/* 三联：对应产品｜咨询方案｜实践与研究 */
.aisuite .triad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.aisuite .triad > div { padding: clamp(22px, 2.4vw, 34px) clamp(20px, 2.4vw, 36px) 8px 0; }
.aisuite .triad > div + div { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.4vw, 36px); }
.aisuite .triad .label { font-family: var(--mono); font-size: 12.5px; letter-spacing: .03em; color: var(--fg-3); margin-bottom: 14px; }
.aisuite .triad li + li { margin-top: 2px; }
.aisuite .triad li a { display: block; padding-block: 11px; border-bottom: 1px solid var(--line); transition: color .2s; }
.aisuite .triad li:last-child a { border-bottom: 0; }
.aisuite .triad li a b { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; color: var(--fg); transition: color .2s; }
.aisuite .triad li a b i { font-style: normal; color: var(--fg-3); transition: transform .3s var(--ease), color .2s; }
.aisuite .triad li a:hover b, .aisuite .triad li a:hover b i { color: var(--accent-ink); }
.aisuite .triad li a:hover b i { transform: translateX(4px); }
.aisuite .triad li a span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.6; color: var(--fg-2); }

/* 问答 */
.aisuite .qa { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 4vw, 64px); }
.aisuite .qa-list { border-top: 1px solid var(--line-2); }
.aisuite .qa details { border-bottom: 1px solid var(--line); }
.aisuite .qa summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 56px; padding-block: 12px; cursor: pointer; list-style: none; font-size: 15.5px; font-weight: 600; line-height: 1.55; color: var(--fg); transition: color .2s; }
.aisuite .qa summary::-webkit-details-marker { display: none; }
.aisuite .qa summary:hover { color: var(--accent-ink); }
.aisuite .qa summary i { position: relative; flex: none; width: 14px; height: 14px; }
.aisuite .qa summary i::before, .aisuite .qa summary i::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.aisuite .qa summary i::after { transform: rotate(90deg); }
.aisuite .qa details[open] summary i::after { transform: rotate(0); }
.aisuite .qa details p { padding: 0 44px 18px 0; font-size: 14.5px; line-height: 1.85; }

/* 近期文章 */
.aisuite .latest { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(32px, 4vw, 64px); }
.aisuite .latest h2 { font-size: clamp(21px, 1.8vw, 24px); }
.aisuite .latest-list { border-top: 1px solid var(--line-2); }
.aisuite .latest-list a { display: grid; grid-template-columns: 96px minmax(0, 1fr) 24px; gap: 16px; align-items: baseline; padding-block: 15px; border-bottom: 1px solid var(--line); transition: color .2s; }
.aisuite .latest-list a:hover { color: var(--accent-ink); }
.aisuite .latest-list time { font-family: var(--mono); font-size: 13px; color: var(--fg-3); }
.aisuite .latest-list span { font-size: 15px; font-weight: 500; line-height: 1.6; color: inherit; }
.aisuite .latest-list i { font-style: normal; color: var(--fg-3); transition: transform .3s var(--ease); }
.aisuite .latest-list a:hover i { transform: translateX(4px); }

/* 页尾行动 */
.aisuite .end { position: relative; overflow: hidden; }
.aisuite .end .wrap { position: relative; }
.aisuite .end h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.28; max-width: 16em; }
.aisuite .end p { margin-top: clamp(14px, 1.4vw, 20px); max-width: 40em; font-size: 15.5px; }
.aisuite .end .actions { margin-top: clamp(22px, 2.2vw, 30px); }

/* 套系内导航 */
.aisuite .suite-nav { border-top: 1px solid var(--line); }
.aisuite .suite-nav ul { display: flex; flex-wrap: wrap; gap: 0 clamp(16px, 2vw, 30px); padding-block: 20px; }
.aisuite .suite-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13.5px; color: var(--fg-2); transition: color .2s; }
.aisuite .suite-nav a:hover { color: var(--accent-ink); }
.aisuite .suite-nav a[aria-current] { color: var(--fg); font-weight: 600; }

/* 进入视口的揭示动效：只有在脚本可用时才隐藏，脚本失败有兜底 */
.ai-js .aisuite .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--rv-d, 0ms); }
.ai-js .aisuite .rv.in { opacity: 1; transform: none; }
.ai-js .aisuite .rv-line { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.ai-js .aisuite .rv-line.in { transform: none; }
/* 第一屏不等脚本：纯 CSS 显现，脚本慢或失败时文字也不空等，最大内容绘制不被揭示动效推后 */
.ai-js .aisuite .hero .rv { opacity: 1; transform: none; transition: none; animation: ai-hero-in .6s var(--ease) both; }
.ai-js .aisuite .hero .rv:nth-child(2) { animation-delay: 50ms; }
.ai-js .aisuite .hero .rv:nth-child(3) { animation-delay: 100ms; }
.ai-js .aisuite .hero .rv:nth-child(4) { animation-delay: 150ms; }
@keyframes ai-hero-in { from { opacity: .01; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ai-still .aisuite .hero .rv, .aisuite.reduce-motion .hero .rv { animation: none; }
.aisuite.reduce-motion .rv, .aisuite.reduce-motion .rv-line { opacity: 1 !important; transform: none !important; transition: none !important; }
.aisuite.reduce-motion *, .aisuite.reduce-motion *::before, .aisuite.reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
.aisuite .motion-paused, .aisuite .motion-paused * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .ai-js .aisuite .rv, .ai-js .aisuite .rv-line { opacity: 1; transform: none; transition: none; }
  .ai-js .aisuite .hero .rv { animation: none; }
  .aisuite *, .aisuite *::before, .aisuite *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* 套系内页面之间的过渡 */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: ai-vt-out .22s ease-in both; }
  ::view-transition-new(root) { animation: ai-vt-in .42s var(--ai-vt-ease, cubic-bezier(.2, .75, .2, 1)) both; }
}
@keyframes ai-vt-out { to { opacity: 0; } }
@keyframes ai-vt-in { from { opacity: 0; transform: translateY(10px); } }

/* 响应式 */
@media (max-width: 1023px) {
  .aisuite .head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .aisuite .hero-split { grid-template-columns: minmax(0, 1fr); }
  .aisuite .def, .aisuite .qa, .aisuite .latest { grid-template-columns: minmax(0, 1fr); }
  .aisuite .row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .aisuite .triad { grid-template-columns: minmax(0, 1fr); }
  .aisuite .triad > div { padding-right: 0; }
  .aisuite .triad > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .aisuite .lead { font-size: 16px; }
  .aisuite h1 { letter-spacing: -.015em; }
  .aisuite .btn { width: 100%; }
  .aisuite .actions { flex-direction: column; align-items: stretch; }
  .aisuite .actions .link { justify-content: center; }
  .aisuite .row { padding-block: 20px; }
  .aisuite .qa details p { padding-right: 0; }
  .aisuite .latest-list a { grid-template-columns: minmax(0, 1fr) 20px; gap: 2px 12px; }
  .aisuite .latest-list time { grid-column: 1 / -1; }
}
