@charset "UTF-8";
/* =========================================================================
   叁犀数智 · 设计系统 01 —— 基础层
   风格：商务 × 科技（浅色基底 + 蓝—青渐变点缀）
   约束：渐变仅允许蓝—青色相（187°–226°），禁用紫色；
         叠白字的渐变一律取深端（≥ 4.5:1），浅青只做装饰层
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. 设计令牌
   ------------------------------------------------------------------------- */
:root {
  /* =====================================================================
     统一色板 —— 全产品线共用，站点只读取不修改
     ===================================================================== */
  /* 品牌色 */
  --primary: #1d4ed8;
  --primary-dark: #1842b5;          /* hover 加深 */
  --primary-light: #416ade;         /* 提亮 */
  --primary-foreground: #ffffff;

  --secondary: #0ea5e9;
  --secondary-dark: #0c8bc4;
  --secondary-light: #35b3ed;

  --accent: #06b6d4;

  /* 主色数字色阶 */
  --primary-50:  #edf1fc;
  --primary-100: #dbe3f9;
  --primary-200: #b2c3f2;
  --primary-300: #839eea;
  --primary-400: #4f75e1;
  --primary-500: #1d4ed8;
  --primary-600: #1b49c9;
  --primary-700: #1842b5;
  --primary-800: #15399e;
  --primary-900: #123188;
  --primary-950: #0f276c;

  /* 中性面 / 文本（浅色系） */
  --background: #f8fafc;
  --foreground: #0f172a;
  --card: #fbfcfd;
  --muted: #e5e8eb;
  --muted-foreground: #5a606d;
  --border: #d7dadf;
  --input-background: #fafbfd;
  --ring: #1d4ed8;

  /* 状态色 */
  --success: #059669;
  --warning: #d97706;
  --destructive: #ef4444;

  /* 图表序列色 */
  --chart-1: #1d4ed8;
  --chart-2: #0ea5e9;
  --chart-3: #06b6d4;
  --chart-4: #10b981;
  --chart-5: #f59e0b;

  /* =====================================================================
     站点语义别名 —— 全部指向统一色板，站点样式无需改动。
     仅 --ink-700 / --ink-400 / --line 为同色系派生值：
     统一色板只提供 foreground 与 muted-foreground 两级文本色，
     以及一级 border，站点需要四级文本与两级线条。
     ===================================================================== */
  /* 背景层次 */
  --bg-white: var(--card);
  --bg-mist:  var(--background);
  --bg-steel: var(--muted);
  --bg-tint:  var(--primary-50);

  /* 文字 */
  --ink-900: var(--foreground);
  --ink-700: #334155;                     /* 派生 */
  --ink-500: var(--muted-foreground);
  --ink-400: #8b93a3;                     /* 派生 */

  /* 线条 */
  --line:        #e8ebf0;                 /* 派生：细分隔线 */
  --line-strong: var(--border);           /* 输入框、强分隔 */

  /* 品牌 */
  --brand-900: var(--primary-950);
  --brand-800: var(--primary-800);
  --brand-700: var(--primary-700);        /* 实心按钮：白字 8.45:1 */
  --brand-600: var(--primary);            /* 主色 / 链接：白底 6.70:1 */
  --brand-500: var(--primary-light);      /* hover */
  --brand-100: var(--primary-100);
  --brand-50:  var(--primary-50);

  /* 状态 */
  --state-ok:    var(--success);
  --state-warn:  var(--warning);
  --state-alert: var(--destructive);

  /* 字体 */
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* 版式节奏 */
  --maxw:   1180px;
  --gutter: 32px;

  /* 圆角 */
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   18px;
  --radius-pill: 999px;

  /* 阴影 */
  --shadow-card: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 20px rgba(15, 23, 42, .05);
  --shadow-pop:  0 2px 6px rgba(15, 23, 42, .06), 0 14px 36px rgba(15, 23, 42, .10);

  /* 渐变体系 —— 商务科技风的核心装饰语言。
     所有端点色相落在蓝—青区间（#06b6d4 187° … #1d4ed8 226°），不含紫色；
     参与白字/正文叠加的浅色端统一用深端色，浅青只出现在装饰层。 */
  --grad-brand: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 55%, var(--primary-500) 100%);
  --grad-deep:  linear-gradient(120deg, var(--primary-950) 0%, var(--primary-800) 45%, var(--primary-700) 100%);
  --grad-text:  linear-gradient(100deg, var(--ink-900) 30%, var(--primary-600) 74%, var(--secondary-dark) 110%);
  --grad-metric: linear-gradient(100deg, var(--primary-700) 18%, var(--secondary-dark) 96%);
  --glow-cyan:  radial-gradient(closest-side, rgba(14, 165, 233, .16), transparent);
  --grid-line:  rgba(29, 78, 216, .055);   /* 科技网格线（低透明度装饰） */

  --dur:  200ms;
  --ease: cubic-bezier(.2, .6, .2, 1);

  --dur-fast:  140ms;
  --dur-base:  200ms;
  --dur-slow:  560ms;
  --ease-out:  cubic-bezier(.22, .68, .24, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

/* -------------------------------------------------------------------------
   2. 重置
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink-500);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; }

/* -------------------------------------------------------------------------
   3. 排版 —— 标题更大更松，正文更克制
   ------------------------------------------------------------------------- */
h1, .h1 {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--ink-900);
}

h2, .h2 {
  font-size: clamp(26px, 2.9vw, 38px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--ink-900);
}

h3, .h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--ink-900);
}

h4, .h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink-900);
}

p { color: var(--ink-500); }
strong, b { font-weight: 600; color: var(--ink-700); }

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -.01em;
}

/* 眉标 —— 保留，但更轻；前置渐变短划是全站统一的科技细节 */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary-600), var(--secondary));
}

/* -------------------------------------------------------------------------
   4. 工具类
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 200;
  background: var(--brand-700); color: #fff;
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-size: 14px; transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* 区块锚点：统一吸顶偏移，取代散落的内联 scroll-margin-top */
.anchor { scroll-margin-top: 108px; }

/* ---- 间距工具类（取代内联 margin，保证媒体查询可覆盖） ---- */
.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }   .mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }  .mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }  .mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }  .mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; }  .mt-26 { margin-top: 26px; }  .mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }  .mt-36 { margin-top: 36px; }
.mt-40 { margin-top: 40px; }  .mt-44 { margin-top: 44px; }
.mt-48 { margin-top: 48px; }  .mt-56 { margin-top: 56px; }
.mt-88 { margin-top: 88px; }

.mb-0  { margin-bottom: 0; }
.mb-4  { margin-bottom: 4px; }   .mb-6  { margin-bottom: 6px; }
.mb-8  { margin-bottom: 8px; }   .mb-9  { margin-bottom: 9px; }
.mb-10 { margin-bottom: 10px; }  .mb-12 { margin-bottom: 12px; }
.mb-14 { margin-bottom: 14px; }  .mb-16 { margin-bottom: 16px; }
.mb-18 { margin-bottom: 18px; }  .mb-20 { margin-bottom: 20px; }
.mb-22 { margin-bottom: 22px; }  .mb-24 { margin-bottom: 24px; }
.mb-28 { margin-bottom: 28px; }  .mb-32 { margin-bottom: 32px; }
.mb-36 { margin-bottom: 36px; }  .mb-40 { margin-bottom: 40px; }

/* ---- 字号工具类 ---- */
.fs-12  { font-size: 12px; }     .fs-125 { font-size: 12.5px; }
.fs-13  { font-size: 13px; }     .fs-135 { font-size: 13.5px; }
.fs-14  { font-size: 14px; }     .fs-145 { font-size: 14.5px; }
.fs-15  { font-size: 15px; }     .fs-155 { font-size: 15.5px; }
.fs-16  { font-size: 16px; }     .fs-165 { font-size: 16.5px; }
.fs-17  { font-size: 17px; }     .fs-18  { font-size: 18px; }
.fs-20  { font-size: 20px; }     .fs-22  { font-size: 22px; }
.fs-24  { font-size: 24px; }     .fs-30  { font-size: 30px; }

/* ---- 文字颜色工具类 ---- */
.c-ink900 { color: var(--ink-900); }
.c-ink700 { color: var(--ink-700); }
.c-ink500 { color: var(--ink-500); }
.c-mist   { color: var(--ink-400); }
.c-brand  { color: var(--brand-600); }
.c-warn   { color: var(--state-warn); }
.c-inherit{ color: inherit; }

.ta-center { text-align: center; }
.jc-center { justify-content: center; }
.gap-14 { gap: 14px; }

/* ---- 渐变文字（仅用于大字号：标题 / 指标 / 热线） ----
   color 置 transparent 由裁切背景显字，子元素若自带 color 会覆盖继承，
   指标内的 .u / .c-brand 已显式设色，不受影响。 */
.grad-clip {
  background: var(--grad-metric);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 不支持 background-clip: text 的环境：退回纯色，避免透明字消失 */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad-clip, .metric-value, .hotline, .hero h1, .page-hero h1 {
    background: none;
    color: var(--brand-700);
  }
}

/* 次级标题：用于内页局部强调 */
.h2-sm { font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; line-height: 1.25;
  letter-spacing: -.02em; color: var(--ink-900); }

/* 无底色的格子（用于网格中承载纯链接的单元） */
.cell--plain {
  background: transparent;
  display: flex;
  align-items: center;
}

/* ---- 组件内固定内边距（原先散落为内联样式） ---- */
.pad-sm   { padding: 20px 22px; }
.pad-lg   { padding: 36px 24px; }
.pad-form { padding: 36px 34px; }

/* ---- 经营宗旨字组 ---- */
.motto {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.3;
  color: var(--ink-900);
}

/* ---- 收尾过渡语 ---- */
.kicker-center {
  margin-top: 44px;
  font-size: 17px;
  color: var(--ink-700);
  text-align: center;
}

/* -------------------------------------------------------------------------
   5. 动效体系
   ------------------------------------------------------------------------- */
/* 进场动效统一由 main.js 用 IntersectionObserver 触发。
   data-reveal 指定类型，data-delay 指定错峰延迟（ms）。 */
[data-reveal] {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
[data-reveal="up"]    { transform: translateY(14px); }
[data-reveal="rise"]  { transform: translateY(28px); }
[data-reveal="fade"]  { transform: none; }
[data-reveal="scale"] { transform: scale(.985); }
[data-reveal="left"]  { transform: translateX(-16px); }

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* 兼容未加 data-reveal 的旧标记 */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

/* 首屏载入：标题、副文、按钮依次浮现 */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.hero-inner > div:first-child > * {
  animation: heroIn 620ms var(--ease-out) both;
}
.hero-inner > div:first-child > *:nth-child(1) { animation-delay: 40ms; }
.hero-inner > div:first-child > *:nth-child(2) { animation-delay: 120ms; }
.hero-inner > div:first-child > *:nth-child(3) { animation-delay: 200ms; }
.hero-inner > .mx { animation: heroIn 700ms var(--ease-out) 260ms both; }

/* 减少动效偏好：全部关闭 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-inner > div:first-child > *,
  .hero-inner > .mx { animation: none !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------------------------------------------------
   6. 细节质感
   ------------------------------------------------------------------------- */
::selection { background: var(--brand-100); color: var(--brand-800); }

/* 细滚动条（Firefox / WebKit） */
html { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border: 3px solid var(--bg-white);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--ink-400); }

/* 触屏反馈与滚动行为 */
body {
  -webkit-tap-highlight-color: rgba(30, 144, 232, .12);
  overscroll-behavior-y: none;
}
.tabs, .table-wrap, .figure-block { -webkit-overflow-scrolling: touch; }
.tabs { scroll-snap-type: x proximity; }
.tab { scroll-snap-align: start; }

/* -------------------------------------------------------------------------
   7. 响应式基准
   ------------------------------------------------------------------------- */
@media (max-width: 991px) { :root { --gutter: 24px; } }
@media (max-width: 767px) {
  :root { --gutter: 20px; }
  body { font-size: 15px; }
  html { scroll-padding-top: 80px; }
  .anchor { scroll-margin-top: 84px; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  body { font-size: 14.5px; }
  .fs-24 { font-size: 21px; }
  .fs-22 { font-size: 20px; }
}

/* 超大屏：适度放宽内容宽度与留白，避免内容被拉散 */
@media (min-width: 1600px) {
  :root { --maxw: 1280px; }
}
@media (min-width: 1920px) {
  :root { --maxw: 1360px; --gutter: 40px; }
}

/* 横屏手机：压缩首屏上留白 */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { padding-top: 96px; }
  .page-hero { padding-top: 92px; padding-bottom: 32px; }
}

/* -------------------------------------------------------------------------
   8. 多端适配
   ------------------------------------------------------------------------- */

/* 刘海屏 / 灵动岛：容器左右留出安全区，页脚避开底部指示条 */
@supports (padding: env(safe-area-inset-left)) {
  .container {
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
  }
  .footer-bottom { padding-bottom: max(30px, calc(14px + env(safe-area-inset-bottom))); }
  .toc { padding-left: env(safe-area-inset-left); }

  /* .site-nav 的底部内边距只属于移动端下拉面板。
     这里必须包在媒体查询内：否则桌面端也会加上 22px 下内边距，
     把导航链接整体顶高，使右侧按钮看起来偏下。 */
  @media (max-width: 991px) {
    .site-nav { padding-bottom: max(22px, calc(8px + env(safe-area-inset-bottom))); }
  }
}

/* 触控设备：交互元素保证足够的点击面积（≥44px 为经验下限） */
@media (pointer: coarse) {
  .site-nav a { display: flex; align-items: center; min-height: 46px; }
  .tab { display: inline-flex; align-items: center; min-height: 44px; }
  .toc a { display: flex; align-items: center; min-height: 44px; }
  .chip { min-height: 40px; }
  .link-arrow { min-height: 44px; align-items: center; }
  .industry-nav button,
  .industry-nav a { min-height: 48px; }
  .footer-col a { display: inline-flex; align-items: center; min-height: 40px; }
  .footer-col li { margin-bottom: 4px; }
  .btn { min-height: 46px; }
}

/* 平板竖屏（768–991）：两列布局下适度收紧留白，避免卡片过宽 */
@media (min-width: 768px) and (max-width: 991px) {
  :root { --gutter: 28px; }
  .section { padding: 68px 0; }
  .grid--2, .grid--3, .grid--4 { gap: 16px; }
  .metrics { gap: 22px; }
  .figure-block { padding: 26px 22px; }
  .mx-chips { padding: 16px 18px; }
  .mx-label { padding: 18px 18px; }
}

/* 小平板 / 大手机横屏（640–767）：保持两列，但压缩字号与内边距 */
@media (min-width: 640px) and (max-width: 767px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps--2, .steps--3, .steps--4, .steps--5 { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}

/* 折叠屏展开 / 分屏（宽高比接近 1:1 的中等宽度） */
@media (min-width: 768px) and (max-width: 991px) and (min-aspect-ratio: 1/1) {
  .with-toc { gap: 36px; }
}

/* 打印：去掉交互装饰与渐变，保证可读与省墨 */
@media print {
  .site-header, .cta-band, .skip-link, .toc, .scroll-hint, .nav-toggle { display: none !important; }
  body { font-size: 12pt; line-height: 1.6; color: #000; }
  .section, .page-hero { padding: 0 0 12pt; break-inside: avoid; }
  .section--mist, .section--tint, .hero, .page-hero { background: none !important; }
  .card, .cell, .figure-block, .mx, .case { box-shadow: none !important; border: 1px solid #ccc; }
  [data-reveal], .reveal { opacity: 1 !important; transform: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
  .site-footer { border-top: 1px solid #ccc; }

  /* 渐变底与渐变字在打印（默认不打印背景色）下会失效：全部退回纯黑 */
  .btn {
    background: none !important;
    color: #000 !important;
    box-shadow: none !important;
    border: 1px solid #999;
  }
  .hero h1, .page-hero h1, .metric-value, .hotline, .err-page .code {
    background: none !important;
    -webkit-text-fill-color: #000 !important;
    color: #000 !important;
  }
  .site-footer, .mx-base, .base-plate, .hero::before, .hero::after,
  .page-hero::before, .cta-band::before { background: none !important; }
  .site-footer, .site-footer a, .site-footer h4, .site-footer p,
  .site-footer dd, .site-footer .brand-cn,
  .site-footer .footer-col .kv dd { color: #000 !important; }
  .site-footer .placeholder, .site-footer .brand-en,
  .site-footer .footer-col .kv dt, .site-footer .footer-bottom,
  .site-footer .footer-bottom a { color: #444 !important; }
  .mx-base h4, .mx-base p, .mx-base .tag-row span,
  .base-plate p, .base-plate .label { color: #000 !important; }
  .mx-base .tag-row span, .base-plate { border: 1px solid #ccc; }
}

