/* ==========================================================================
   衡准数据 · 观澜可视化 — 设计系统与站点样式
   --------------------------------------------------------------------------
   目录
   01 设计令牌        02 基础重置        03 排版工具类
   04 按钮 / 标签      05 页头 / 导航      06 首屏 Hero
   07 通用区块        08 图表卡片        09 工具导航
   10 模板卡片        11 数据大屏入口     12 弹层 / 抽屉
   13 页脚            14 动效与响应式
   ========================================================================== */

/* ---------- 01 设计令牌 ---------- */
:root {
  --bg: #06090f;
  --bg-elev: #0a1019;
  --panel: rgba(148, 178, 220, 0.045);
  --panel-hover: rgba(148, 178, 220, 0.075);
  --panel-solid: #0c131f;

  --line: rgba(148, 178, 220, 0.13);
  --line-soft: rgba(148, 178, 220, 0.07);
  --line-strong: rgba(148, 178, 220, 0.26);

  --text: #e9eff9;
  --text-2: #b9c6da;
  --muted: #8695ad;
  --dim: #7c8b9f;

  --teal: #2ee6c8;
  --blue: #5b8cff;
  --violet: #a06bff;
  --amber: #ffb45c;
  --rose: #ff6b8a;
  --lime: #9ee86a;

  --grad: linear-gradient(135deg, #2ee6c8 0%, #5b8cff 58%, #a06bff 100%);
  --grad-soft: linear-gradient(135deg, rgba(46, 230, 200, 0.16), rgba(91, 140, 255, 0.14));

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
  --shadow-glow: 0 0 0 1px rgba(46, 230, 200, 0.22), 0 18px 50px -20px rgba(46, 230, 200, 0.35);

  --header-h: 72px;
  --wrap: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", "Segoe UI", "PingFang SC", sans-serif;
}

/* ---------- 02 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(46, 230, 200, 0.10), transparent 62%),
    radial-gradient(820px 520px at 92% 4%, rgba(91, 140, 255, 0.13), transparent 60%),
    radial-gradient(900px 700px at 50% 108%, rgba(160, 107, 255, 0.10), transparent 65%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(148, 178, 220, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 178, 220, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
}

main, header, footer, .site-shell { position: relative; z-index: 1; }

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

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

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4, p, figure { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(46, 230, 200, 0.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #070b12; }
::-webkit-scrollbar-thumb {
  background: #1b2536;
  border-radius: 8px;
  border: 2px solid #070b12;
}
::-webkit-scrollbar-thumb:hover { background: #2a3850; }

/* ---------- 03 排版工具类 ---------- */
.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.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;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--teal);
  color: #04120f;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section {
  padding: 96px 0;
  position: relative;
}
.section--tight { padding: 64px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.5rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-top: 14px;
}
.section-head p {
  max-width: 46ch;
  color: var(--muted);
  font-size: 15px;
  margin-top: 12px;
}
.section-head .head-action { flex: none; padding-bottom: 6px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mono { font-family: var(--font-num); font-variant-numeric: tabular-nums; }

/* ---------- 04 按钮 / 标签 ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid var(--line-strong);
  background: var(--btn-bg);
  color: var(--text);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); border-color: rgba(46, 230, 200, 0.5); }
.btn:active { transform: translateY(0); }

.btn-primary {
  border-color: transparent;
  background: var(--grad);
  color: #03110f;
  box-shadow: 0 10px 30px -12px rgba(46, 230, 200, 0.65);
}
.btn-primary:hover {
  box-shadow: 0 16px 38px -12px rgba(46, 230, 200, 0.8);
  color: #03110f;
}

.btn-ghost {
  background: rgba(148, 178, 220, 0.05);
  border-color: var(--line);
  color: var(--text-2);
}
.btn-ghost:hover { color: var(--text); background: rgba(148, 178, 220, 0.09); }

.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }

.btn svg { width: 16px; height: 16px; flex: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(148, 178, 220, 0.035);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip[aria-pressed="true"] {
  color: #04120f;
  background: var(--teal);
  border-color: var(--teal);
  font-weight: 700;
  box-shadow: 0 6px 20px -8px rgba(46, 230, 200, 0.9);
}
.chip .count { font-size: 11px; opacity: 0.65; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(148, 178, 220, 0.05);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.tag--teal { color: var(--teal); border-color: rgba(46, 230, 200, 0.28); background: rgba(46, 230, 200, 0.08); }
.tag--violet { color: #c3a4ff; border-color: rgba(160, 107, 255, 0.3); background: rgba(160, 107, 255, 0.09); }
.tag--amber { color: var(--amber); border-color: rgba(255, 180, 92, 0.28); background: rgba(255, 180, 92, 0.08); }

.badge-demo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 180, 92, 0.4);
  background: rgba(255, 180, 92, 0.07);
  color: var(--amber);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.badge-demo::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
}

/* ---------- 05 页头 / 导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(6, 9, 15, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #04120f;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.04em;
  box-shadow: 0 8px 22px -10px rgba(46, 230, 200, 0.9);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 16px; letter-spacing: 0.02em; font-weight: 700; }
.brand-text em {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--dim);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav a:hover { color: var(--text); background: rgba(148, 178, 220, 0.06); }
.nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* ---------- 06 首屏 Hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 92px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.1vw, 4.3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 22px 0 24px;
}
.hero h1 .line { display: block; }
.hero-sub {
  max-width: 52ch;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.85;
}
.hero-sub strong { color: var(--text-2); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.hero-meta div { display: flex; flex-direction: column; gap: 2px; }
.hero-meta dt { font-size: 11.5px; color: var(--dim); letter-spacing: 0.08em; }
.hero-meta dd {
  margin: 0;
  font-family: var(--font-num);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.hero-meta dd span { font-size: 13px; color: var(--muted); margin-left: 3px; }

/* 首屏可视化卡片 */
.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -14% -10%;
  background: radial-gradient(closest-side, rgba(46, 230, 200, 0.18), transparent 72%);
  filter: blur(10px);
  z-index: -1;
}
.console {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(16, 24, 38, 0.96), rgba(8, 13, 21, 0.98));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(148, 178, 220, 0.03);
}
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 8px; height: 8px; border-radius: 50%; background: #243146; }
.console-dots i:first-child { background: #3d4a61; }
.console-title { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.console-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.08em;
}
.console-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}
.console-body { padding: 20px 20px 8px; }
.console-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.console-kpis div {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(148, 178, 220, 0.03);
}
.console-kpis span { display: block; font-size: 10.5px; color: var(--dim); letter-spacing: 0.06em; }
.console-kpis b {
  font-family: var(--font-num);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.console-kpis i {
  font-style: normal;
  font-size: 10.5px;
  color: var(--teal);
  margin-left: 5px;
}
.console-chart { height: 178px; }
.console-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px 14px;
  font-size: 11px;
  color: var(--dim);
}

.float-badge {
  position: absolute;
  right: -18px;
  bottom: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(46, 230, 200, 0.28);
  background: rgba(8, 20, 22, 0.92);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.9);
  font-size: 12px;
  color: var(--text-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: floaty 6s ease-in-out infinite;
}
.float-badge b { color: var(--teal); font-family: var(--font-num); font-size: 15px; }

/* ---------- 07 通用区块 ---------- */
.marquee {
  border-block: 1px solid var(--line-soft);
  background: rgba(148, 178, 220, 0.02);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 38s linear infinite;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 12px; }
.marquee-track span::before { content: "◆"; color: rgba(46, 230, 200, 0.5); font-size: 8px; }

/* 图表类型矩阵 */
.type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.type-card {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(148, 178, 220, 0.05), rgba(148, 178, 220, 0.015));
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    background 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 150px;
}
.type-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px 120px at 80% 0%, rgba(46, 230, 200, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.type-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.type-card:hover::after { opacity: 1; }
.type-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(6, 9, 15, 0.5);
  color: var(--teal);
  margin-bottom: auto;
}
.type-icon svg { width: 22px; height: 22px; }
.type-card h3 { font-size: 15px; font-weight: 600; margin-top: 18px; letter-spacing: 0.01em; }
.type-card p { font-size: 12.5px; color: var(--dim); margin-top: 3px; }
.type-card .type-idx {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: var(--font-num);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.08em;
}

/* 特性列表 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  padding: 28px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(148, 178, 220, 0.025);
}
.feature .num {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.16em;
}
.feature h3 { font-size: 18px; margin: 14px 0 8px; font-weight: 650; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.8; }

/* ---------- 08 图表卡片 ---------- */
.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.chart-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(14, 21, 33, 0.92), rgba(8, 12, 19, 0.96));
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.chart-card:hover { border-color: var(--line-strong); }
.chart-card[hidden] { display: none; }

.chart-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px 0;
}
.chart-card-head .cc-idx {
  font-family: var(--font-num);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.1em;
  padding-top: 5px;
  flex: none;
}
.chart-card-head h3 { font-size: 16px; font-weight: 650; letter-spacing: 0.01em; }
.chart-card-head h3 .en {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-left: 7px;
}
.chart-card-head p { font-size: 12.5px; color: var(--dim); margin-top: 2px; }
.chart-card-head .cc-actions { margin-left: auto; display: flex; gap: 6px; flex: none; }

.icon-btn {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--dim);
  transition: all 0.2s var(--ease);
}
.icon-btn:hover { color: var(--text); background: rgba(148, 178, 220, 0.08); border-color: var(--line); }
.icon-btn svg { width: 15px; height: 15px; }

.chart-body {
  position: relative;
  height: 268px;
  padding: 6px 10px 10px;
}
.chart-body--tall { height: 320px; }
.chart-card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px 18px;
  flex-wrap: wrap;
}
.chart-card-foot .src { margin-left: auto; font-size: 11px; color: var(--dim); }

/* 图表容器与 tooltip */
.chart-host { width: 100%; height: 100%; position: relative; }
.chart-host svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart-host:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 8px; }

.chart-tip {
  position: fixed;
  z-index: 200;
  pointer-events: none;
  min-width: 120px;
  max-width: 260px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(46, 230, 200, 0.24);
  background: rgba(8, 14, 22, 0.96);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9);
  font-size: 12px;
  color: var(--text-2);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.chart-tip.is-on { opacity: 1; transform: translateY(0); }
.chart-tip .tip-title {
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.chart-tip .tip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.9;
  white-space: nowrap;
}
.chart-tip .tip-row i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  flex: none;
}
.chart-tip .tip-row b {
  margin-left: auto;
  font-family: var(--font-num);
  font-weight: 600;
  color: var(--text);
  padding-left: 14px;
}

/* ---------- 09 工具导航 ---------- */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tool-card {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(148, 178, 220, 0.025);
  transition: all 0.28s var(--ease);
  overflow: hidden;
}
.tool-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: rgba(148, 178, 220, 0.055);
}
.tool-logo {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: #04120f;
  background: linear-gradient(140deg, #2ee6c8, #5b8cff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.tool-logo.alt1 { background: linear-gradient(140deg, #ffb45c, #ff6b8a); }
.tool-logo.alt2 { background: linear-gradient(140deg, #a06bff, #5b8cff); }
.tool-logo.alt3 { background: linear-gradient(140deg, #9ee86a, #2ee6c8); }
.tool-body { min-width: 0; }
.tool-body h3 {
  font-size: 15px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tool-body h3 svg { width: 12px; height: 12px; color: var(--dim); transition: transform 0.25s var(--ease), color 0.25s; }
.tool-card:hover h3 svg { color: var(--teal); transform: translate(2px, -2px); }
.tool-body p {
  font-size: 12.5px;
  color: var(--dim);
  line-height: 1.7;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tool-tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }

/* ---------- 10 模板卡片 ---------- */
.tpl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tpl-card {
  display: block;
  position: relative;
  width: 100%;
  text-align: left;
  padding: 0;
  color: inherit;
  font: inherit;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel-solid);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.tpl-card:hover {
  transform: translateY(-5px);
  border-color: rgba(46, 230, 200, 0.35);
  box-shadow: 0 26px 60px -30px rgba(46, 230, 200, 0.4);
}
.tpl-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a1119;
}
.tpl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.55) brightness(0.62) contrast(1.05);
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}
.tpl-card:hover .tpl-thumb img { transform: scale(1.06); filter: saturate(0.8) brightness(0.72); }
.tpl-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 9, 15, 0.1) 0%, rgba(6, 9, 15, 0.35) 55%, rgba(6, 9, 15, 0.96) 100%),
    linear-gradient(120deg, rgba(46, 230, 200, 0.22), transparent 55%, rgba(91, 140, 255, 0.24));
  mix-blend-mode: normal;
}
.tpl-thumb .tpl-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  height: 24px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: rgba(4, 10, 14, 0.72);
  border: 1px solid rgba(46, 230, 200, 0.3);
  color: var(--teal);
  font-size: 11px;
  letter-spacing: 0.06em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.tpl-thumb .tpl-metric {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.tpl-thumb .tpl-metric b {
  font-family: var(--font-num);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}
.tpl-thumb .tpl-metric span { font-size: 11px; color: rgba(255, 255, 255, 0.7); }
.tpl-info { padding: 16px 18px 18px; }
.tpl-info h3 { font-size: 15.5px; font-weight: 650; }
.tpl-info p {
  font-size: 12.5px;
  color: var(--dim);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tpl-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px;
  color: var(--dim);
}
.tpl-foot .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--dim); }
.tpl-foot .open {
  margin-left: auto;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tpl-card:hover .tpl-foot .open { color: var(--teal); }
.tpl-card[hidden] { display: none; }

/* ---------- 11 数据大屏入口 ---------- */
.screen-teaser {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(14, 22, 36, 0.9), rgba(7, 11, 18, 0.95));
  padding: 40px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 44px;
  align-items: center;
}
.screen-teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% 15%, rgba(91, 140, 255, 0.16), transparent 70%),
    radial-gradient(500px 300px at 20% 90%, rgba(46, 230, 200, 0.12), transparent 70%);
  pointer-events: none;
}
.screen-teaser h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; margin: 14px 0 12px; }
.screen-teaser p { color: var(--muted); font-size: 14.5px; max-width: 40ch; }
.screen-teaser .list { margin: 22px 0 26px; display: grid; gap: 10px; }
.screen-teaser .list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
}
.screen-teaser .list svg { width: 15px; height: 15px; color: var(--teal); flex: none; }

.teaser-frame {
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #050a11;
  overflow: hidden;
  aspect-ratio: 16 / 9.6;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
}
.teaser-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5, 10, 17, 0.9));
  pointer-events: none;
}
.teaser-frame .mini {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 6px;
  padding: 10px;
}
.mini-col { display: grid; gap: 6px; }
.mini-panel {
  border: 1px solid rgba(148, 178, 220, 0.12);
  border-radius: 6px;
  background: rgba(148, 178, 220, 0.04);
  position: relative;
  overflow: hidden;
  min-height: 30px;
}
.mini-panel.tall { min-height: 90px; }
.mini-panel .bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(180deg, rgba(46, 230, 200, 0.35), transparent);
}
.mini-panel .line {
  position: absolute;
  inset: 18% 8% 22%;
  border-bottom: 1.5px solid rgba(46, 230, 200, 0.7);
  border-radius: 40% 60% 0 0 / 100% 100% 0 0;
  transform: skewY(-6deg);
}
.mini-panel .donut {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 5px solid rgba(91, 140, 255, 0.45);
  border-top-color: rgba(46, 230, 200, 0.85);
  border-right-color: rgba(160, 107, 255, 0.6);
}
.mini-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  border-bottom: 1px solid rgba(148, 178, 220, 0.12);
  background: linear-gradient(90deg, rgba(46, 230, 200, 0.18), transparent 60%);
}

/* ---------- 12 弹层 / 抽屉 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 10, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: min(82vh, 780px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(170deg, #0d1522, #080d15);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.95);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.32s var(--ease);
  overflow: hidden;
}
.modal.is-open .modal-card { transform: none; }
.modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.modal-head h2 { font-size: 17px; font-weight: 650; }
.modal-head p { font-size: 12px; color: var(--dim); }
.modal-close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
}
.modal-close:hover { color: var(--text); background: rgba(148, 178, 220, 0.08); }
.modal-body { padding: 22px 24px; overflow: auto; }
.modal-body h3 {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--dim);
  text-transform: uppercase;
  margin: 22px 0 10px;
}
.modal-body h3:first-child { margin-top: 0; }

.code-block {
  margin: 0;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: #060a10;
  font-family: ui-monospace, SFMono-Regular, "Cascadia Code", Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.75;
  color: #a9bdd6;
  overflow: auto;
  max-height: 260px;
  white-space: pre;
  tab-size: 2;
}
.code-block .k { color: #7fd7c4; }
.code-block .s { color: #ffc98b; }
.code-block .n { color: #9db8ff; }

.data-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.data-table th, .data-table td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}
.data-table th { color: var(--dim); font-weight: 500; font-size: 11.5px; letter-spacing: 0.04em; }
.data-table td { color: var(--text-2); font-family: var(--font-num); }
.data-table td:first-child { font-family: var(--font); color: var(--text); }
.data-table tr:hover td { background: rgba(148, 178, 220, 0.04); }

/* ---------- 13 页脚 ---------- */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(6, 9, 15, 0), rgba(10, 16, 26, 0.7));
  padding: 56px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand p {
  color: var(--dim);
  font-size: 13px;
  max-width: 34ch;
  margin-top: 16px;
  line-height: 1.85;
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--text-2);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--dim);
}
.footer-bottom .note { color: var(--dim); }
.footer-bottom .note b { color: var(--amber); font-weight: 600; }

/* ---------- 14 动效与响应式 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(46, 230, 200, 0.6); }
  50% { opacity: 0.55; box-shadow: 0 0 0 6px rgba(46, 230, 200, 0); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
@keyframes growY {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes growX {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 图表入场动画（由 charts.js 注入的 class 触发） */
.chart-anim .draw-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.4s var(--ease) forwards;
}
.chart-anim .grow-bar {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: growY 0.75s var(--ease) both;
}
.chart-anim .fade-in { animation: fadeIn 0.8s ease both; }

@media (max-width: 1080px) {
  .type-grid { grid-template-columns: repeat(3, 1fr); }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .tpl-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 36px; }
  .hero h1 { font-size: clamp(2.2rem, 5.6vw, 3.4rem); }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .wrap, .header-inner { width: calc(100% - 32px); }
  .section { padding: 68px 0; }
  .hero { padding: 48px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 12px; }
  .float-badge { right: 8px; bottom: -14px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 30px; }
  .chart-grid, .feature-grid, .type-grid, .tool-grid, .tpl-grid { grid-template-columns: 1fr; }
  .chart-body { height: 240px; }
  .screen-teaser { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 20px;
    background: rgba(7, 11, 18, 0.98);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { height: 44px; font-size: 15px; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { background: rgba(46, 230, 200, 0.08); color: var(--teal); }
  .nav-toggle { display: grid; }
  .badge-demo { display: none; }
  .hero-meta { gap: 18px; }
  .hero-meta dd { font-size: 20px; }
}

@media (max-width: 520px) {
  .header-actions .btn { display: none; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .console-kpis { grid-template-columns: 1fr 1fr; }
  .console-kpis div:last-child { display: none; }
  .chart-card-head { padding: 16px 16px 0; }
  .chart-card-foot { padding: 0 16px 16px; }
  .chart-body { height: 220px; padding-inline: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal { padding: 12px; }
  .modal-head, .modal-body { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 15 内页与补充组件 ---------- */
.noscript {
  max-width: 760px;
  margin: 18px auto;
  padding: 14px 18px;
  border: 1px dashed rgba(255, 180, 92, 0.45);
  border-radius: 10px;
  background: rgba(255, 180, 92, 0.07);
  color: var(--amber);
  font-size: 13.5px;
  line-height: 1.75;
}
.page-hero {
  position: relative;
  padding: 58px 0 42px;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 420px;
  background: radial-gradient(600px 220px at 22% 40%, rgba(46, 230, 200, 0.12), transparent 70%),
    radial-gradient(560px 220px at 78% 20%, rgba(91, 140, 255, 0.14), transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 750;
  margin: 14px 0 14px;
}
.page-hero .lead { color: var(--muted); font-size: 15.5px; max-width: 64ch; line-height: 1.85; }
.page-hero .lead strong { color: var(--text-2); font-weight: 600; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--dim); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb i { font-style: normal; opacity: 0.5; }

.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 22px;
}
.filter-bar .spacer { margin-left: auto; }
.filter-bar .hint { font-size: 12px; color: var(--dim); }

.gallery-count { font-size: 12.5px; color: var(--dim); }
.gallery-count b { color: var(--text-2); font-family: var(--font-num); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 400;
  transform: translate(-50%, 14px);
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(46, 230, 200, 0.32);
  background: rgba(8, 18, 22, 0.95);
  color: var(--text);
  font-size: 13px;
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi-card {
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(148, 178, 220, 0.06), rgba(148, 178, 220, 0.015));
}
.kpi-card .k-label { font-size: 12px; color: var(--dim); letter-spacing: 0.06em; }
.kpi-card .k-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
  font-family: var(--font-num);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.kpi-card .k-value em { font-style: normal; font-size: 13px; color: var(--muted); font-family: var(--font); }
.kpi-card .k-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 11.5px; color: var(--dim); }
.kpi-card .k-delta { display: inline-flex; align-items: center; gap: 3px; font-family: var(--font-num); }
.kpi-card .k-delta.up { color: var(--teal); }
.kpi-card .k-delta.down { color: var(--rose); }
.kpi-card .k-spark { height: 34px; margin-top: 12px; }

.split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.panel-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(148, 178, 220, 0.025);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.panel-card h3 { font-size: 16px; font-weight: 650; }
.panel-card p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.panel-card .chart-body { height: 260px; padding: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(148, 178, 220, 0.025);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--teal);
}
.step h3 { font-size: 16px; margin: 12px 0 8px; font-weight: 650; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

.note-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 180, 92, 0.28);
  background: rgba(255, 180, 92, 0.05);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.75;
}
.note-line svg { width: 15px; height: 15px; color: var(--amber); flex: none; margin-top: 3px; }
.note-line b { color: var(--amber); font-weight: 600; }

.cta-band {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(46, 230, 200, 0.10), rgba(91, 140, 255, 0.10) 55%, rgba(160, 107, 255, 0.12));
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -0.02em; }
.cta-band p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

.tpl-detail { display: grid; gap: 16px; }
.tpl-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tpl-detail-grid div {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: rgba(148, 178, 220, 0.035);
}
.tpl-detail-grid span { display: block; font-size: 11px; color: var(--dim); letter-spacing: 0.06em; }
.tpl-detail-grid b { font-family: var(--font-num); font-size: 18px; font-weight: 600; }
.tpl-detail p { font-size: 13.5px; color: var(--text-2); line-height: 1.85; }

@media (max-width: 1080px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .page-hero { padding: 40px 0 30px; }
  .split-band { grid-template-columns: 1fr; }
  .tpl-detail-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 28px; }
}

@media (max-width: 520px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .tpl-detail-grid { grid-template-columns: 1fr; }
}

@media print {
  body::before, body::after, .site-header, .site-footer, .chart-card-foot .cc-actions { display: none; }
  body { background: #fff; color: #111; }
}
