/* ==========================================================================
   Nestlink 耐连 · 官网设计系统
   风格：白 + 蓝，科技感 / 玻璃拟态 / 网格光晕
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 蓝色主色阶 */
  --blue-50:  #EFF5FF;
  --blue-100: #DEEAFF;
  --blue-200: #C2D8FF;
  --blue-300: #93B8FF;
  --blue-400: #5E90FF;
  --blue-500: #2E6BFF;
  --blue-600: #0B5CFF;
  --blue-700: #0847CC;
  --blue-800: #07389E;

  /* 深海军蓝（文字 / 深色块） */
  --navy-900: #05122E;
  --navy-800: #0A1E45;
  --navy-700: #12305F;

  /* 青色点缀（科技感高光） */
  --cyan-400: #29D6F5;
  --cyan-500: #00BFF0;

  /* 中性 */
  --ink-900: #0A1733;
  --ink-800: #16264A;
  --ink-700: #2C4067;
  --ink-600: #4A5C7E;
  --ink-500: #6F7F9E;
  --ink-400: #94A2BC;
  --line:    #E3EBF9;
  --line-2:  #EEF3FC;

  --bg:        #FFFFFF;
  --bg-soft:   #F6F9FF;
  --bg-soft-2: #EDF3FF;

  /* 语义色 */
  --ok:   #10B981;
  --warn: #F59E0B;
  --err:  #EF4444;

  /* 渐变 */
  --grad-blue: linear-gradient(135deg, #0B5CFF 0%, #00BFF0 100%);
  --grad-blue-soft: linear-gradient(135deg, #EFF5FF 0%, #E6F7FF 100%);
  --grad-navy: linear-gradient(160deg, #05122E 0%, #0A2A6B 55%, #0B5CFF 130%);
  --grad-text: linear-gradient(100deg, #0B5CFF 0%, #00A6E8 60%, #29D6F5 100%);

  /* 圆角 */
  --r-xs: 8px;
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* 阴影 */
  --sh-xs: 0 1px 2px rgba(10, 23, 51, .05);
  --sh-sm: 0 2px 8px rgba(10, 23, 51, .06), 0 1px 2px rgba(10, 23, 51, .04);
  --sh:    0 10px 30px -12px rgba(11, 92, 255, .22), 0 2px 8px rgba(10, 23, 51, .05);
  --sh-lg: 0 30px 70px -24px rgba(11, 92, 255, .32), 0 10px 30px -12px rgba(10, 23, 51, .10);
  --sh-glow: 0 0 0 1px rgba(11, 92, 255, .10), 0 18px 50px -20px rgba(11, 92, 255, .45);

  /* 字体 */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", "Roboto Mono",
          Consolas, "Liberation Mono", monospace;

  /* 布局 */
  --maxw: 1200px;
  --nav-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--blue-700); }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding-left: 1.15em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(30px, 4.4vw, 54px); letter-spacing: -.035em; }
h2 { font-size: clamp(24px, 3.1vw, 38px); letter-spacing: -.03em; }
h3 { font-size: clamp(18px, 2vw, 22px); }
h4 { font-size: 16px; }
p  { margin: 0 0 1em; }
code, kbd, pre { font-family: var(--mono); font-size: .88em; }

::selection { background: rgba(11, 92, 255, .16); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; border-radius: 6px; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #C6D6F2; border-radius: 999px; border: 2px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: #A8C0EA; }

/* ---------- 3. 布局 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1360px; }
.container-narrow { max-width: 860px; }

.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-soft-2 { background: var(--bg-soft-2); }
.section-navy { background: var(--grad-navy); color: #C9D8F5; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #A9BEE6; }

.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flex { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.wrap { flex-wrap: wrap; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; } .mb-48 { margin-bottom: 48px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-500); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.lead { font-size: 17px; color: var(--ink-600); line-height: 1.7; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.full { width: 100%; }

/* ---------- 4. 区块标题 ---------- */
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { font-size: 16.5px; color: var(--ink-600); margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em;
  color: var(--blue-700); background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 18px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-600); }
.eyebrow.on-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #BBD3FF; }

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

/* ---------- 5. 背景装饰 ---------- */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(11, 92, 255, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 92, 255, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 75%);
}
.bg-grid.dense { background-size: 32px 32px; }
.bg-grid.full-mask { mask-image: none; -webkit-mask-image: none; opacity: .5; }

.orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(90px); opacity: .55;
}
.orb-blue  { background: radial-gradient(circle, rgba(11,92,255,.55), transparent 68%); }
.orb-cyan  { background: radial-gradient(circle, rgba(41,214,245,.48), transparent 68%); }
.orb-soft  { background: radial-gradient(circle, rgba(147,184,255,.42), transparent 70%); }

.relative { position: relative; z-index: 1; }

/* ---------- 6. 按钮 ---------- */
.btn {
  --btn-bg: var(--blue-600);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--r-sm);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; white-space: nowrap; text-align: center;
  transition: transform .16s var(--ease), box-shadow .2s var(--ease),
              background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  position: relative; overflow: hidden;
  -webkit-user-select: none; user-select: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none !important; }

.btn-primary {
  background: var(--grad-blue); color: #fff;
  box-shadow: 0 8px 22px -8px rgba(11, 92, 255, .6);
}
.btn-primary:hover { box-shadow: 0 14px 32px -10px rgba(11, 92, 255, .7); color: #fff; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.32), transparent 80%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }

.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); color: #fff; box-shadow: var(--sh); }

.btn-outline {
  background: #fff; color: var(--blue-700);
  border-color: var(--blue-200); box-shadow: var(--sh-xs);
}
.btn-outline:hover { border-color: var(--blue-400); background: var(--blue-50); color: var(--blue-700); }

.btn-ghost { background: transparent; color: var(--ink-700); border-color: transparent; }
.btn-ghost:hover { background: var(--bg-soft-2); color: var(--blue-700); }

.btn-white { background: #fff; color: var(--blue-700); box-shadow: var(--sh-sm); }
.btn-white:hover { color: var(--blue-800); box-shadow: var(--sh); }

.btn-glass {
  background: rgba(255,255,255,.10); color: #fff;
  border-color: rgba(255,255,255,.24); backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255,255,255,.18); color: #fff; }

.btn-lg { padding: 14px 28px; font-size: 15.5px; border-radius: var(--r); }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: var(--r-xs); }
.btn-block { width: 100%; }
.btn-icon { padding: 9px; border-radius: var(--r-xs); }

/* ---------- 7. 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px;
  box-shadow: var(--sh-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  position: relative;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--blue-200); }
.card-flat { box-shadow: none; }
.card-tight { padding: 18px; }
.card-lg { padding: 34px; border-radius: var(--r-lg); }

.glass {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: var(--sh);
}
.glass-dark {
  background: rgba(10, 30, 69, .55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .14);
}

.card-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--grad-blue-soft); border: 1px solid var(--blue-100);
  color: var(--blue-600);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; font-size: 17.5px; }
.card p:last-child { margin-bottom: 0; }

/* 顶部渐变描边卡 */
.card-accent { overflow: hidden; }
.card-accent::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-blue); opacity: 0; transition: opacity .25s var(--ease);
}
.card-accent:hover::before { opacity: 1; }

/* ---------- 8. 徽标 / 标签 ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 600;
  background: var(--blue-50); color: var(--blue-700);
  border: 1px solid var(--blue-100);
}
.pill-ok   { background: #E8F9F1; color: #067647; border-color: #BFEBD6; }
.pill-warn { background: #FEF6E7; color: #B54708; border-color: #FBE2B0; }
.pill-err  { background: #FEECEB; color: #B42318; border-color: #FBD3D0; }
.pill-gray { background: var(--bg-soft-2); color: var(--ink-600); border-color: var(--line); }
.pill-dark { background: rgba(255,255,255,.10); color: #CFE0FF; border-color: rgba(255,255,255,.18); }

.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-live .pill-dot { animation: pulse-dot 1.8s var(--ease) infinite; }
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.72); }
}

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; color: var(--ink-700);
  box-shadow: var(--sh-xs);
}
.badge svg { width: 15px; height: 15px; }

/* ---------- 9. 表单 ---------- */
.field { margin-bottom: 18px; }
.field label, .label {
  display: block; font-size: 13.5px; font-weight: 600;
  color: var(--ink-800); margin-bottom: 7px;
}
.field .hint { font-size: 12.5px; color: var(--ink-500); margin-top: 6px; }

.input, .select, .textarea {
  width: 100%; padding: 12px 14px;
  font-family: inherit; font-size: 14.5px; color: var(--ink-900);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-sm); outline: none;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--blue-200); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(11, 92, 255, .12);
}
.input::placeholder { color: var(--ink-400); }
.input-group { position: relative; display: flex; align-items: center; }
.input-group .input { padding-left: 42px; }
.input-group .ig-icon {
  position: absolute; left: 14px; color: var(--ink-400);
  display: grid; place-items: center; pointer-events: none;
}
.input-group .ig-icon svg { width: 17px; height: 17px; }
.input-group .ig-right {
  position: absolute; right: 8px; display: grid; place-items: center;
}
.input-affix { display: flex; }
.input-affix .input { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.input-affix .btn { border-radius: 0 var(--r-sm) var(--r-sm) 0; }

.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-600); }
.checkbox input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--blue-600); flex: none; }

.form-error {
  display: none; align-items: center; gap: 7px;
  font-size: 13px; color: #B42318; background: #FEECEB;
  border: 1px solid #FBD3D0; border-radius: var(--r-xs);
  padding: 9px 12px; margin-bottom: 16px;
}
.form-error.show { display: flex; }
.form-ok {
  display: none; align-items: center; gap: 7px;
  font-size: 13px; color: #067647; background: #E8F9F1;
  border: 1px solid #BFEBD6; border-radius: var(--r-xs);
  padding: 9px 12px; margin-bottom: 16px;
}
.form-ok.show { display: flex; }

/* ---------- 10. 表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
table.tbl th {
  text-align: left; font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-500);
  padding: 13px 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.tbl td { padding: 15px 18px; border-bottom: 1px solid var(--line-2); color: var(--ink-700); }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover { background: #FAFCFF; }
table.tbl .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- 11. 进度条 ---------- */
.bar { height: 8px; border-radius: 999px; background: var(--blue-50); overflow: hidden; }
.bar > i {
  display: block; height: 100%; border-radius: 999px;
  background: var(--grad-blue); width: 0;
  transition: width .9s var(--ease);
}
.bar.thin { height: 5px; }
.bar.ok > i { background: linear-gradient(90deg, #10B981, #34D399); }
.bar.warn > i { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
.bar.err > i { background: linear-gradient(90deg, #EF4444, #F87171); }

/* 环形进度 */
.ring { position: relative; width: 148px; height: 148px; }
.ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.ring circle { fill: none; stroke-linecap: round; }
.ring .track { stroke: var(--blue-50); }
.ring .val { stroke: url(#ringGrad); transition: stroke-dashoffset 1s var(--ease); }
.ring .ring-mid {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
}
.ring .ring-mid b { display: block; font-size: 25px; color: var(--ink-900); font-family: var(--mono); letter-spacing: -.02em; }
.ring .ring-mid span { font-size: 12px; color: var(--ink-500); }

/* ---------- 12. 代码块 / 终端 ---------- */
.code {
  background: var(--navy-900); color: #C7D7F7;
  border-radius: var(--r); padding: 16px 18px;
  font-family: var(--mono); font-size: 12.8px; line-height: 1.75;
  overflow-x: auto; border: 1px solid rgba(255,255,255,.07);
}
.code .c-key { color: #7FB0FF; }
.code .c-str { color: #6EE7C7; }
.code .c-dim { color: #6C82AC; }
.code .c-warn { color: #FBBF24; }
.code .c-prompt { color: #29D6F5; }

.code-light {
  background: var(--bg-soft); color: var(--ink-800);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; font-family: var(--mono); font-size: 12.8px;
  overflow-x: auto;
}

kbd {
  display: inline-block; padding: 2px 6px; font-size: 11.5px;
  background: #fff; border: 1px solid var(--line);
  border-bottom-width: 2px; border-radius: 5px; color: var(--ink-700);
}

/* 终端窗口 */
.terminal {
  background: linear-gradient(180deg, #061733 0%, #05122E 100%);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r); overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(5, 18, 46, .7);
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 15px; background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.terminal-bar i:nth-child(1) { background: #FF5F57; }
.terminal-bar i:nth-child(2) { background: #FEBC2E; }
.terminal-bar i:nth-child(3) { background: #28C840; }
.terminal-bar span { margin-left: 8px; font-size: 12px; color: #7E93BB; font-family: var(--mono); }
.terminal-body {
  padding: 18px; font-family: var(--mono); font-size: 12.8px;
  line-height: 1.85; color: #B9CCEE; min-height: 190px;
}
.terminal-body .t-p { color: #29D6F5; }
.terminal-body .t-ok { color: #34D399; }
.terminal-body .t-warn { color: #FBBF24; }
.terminal-body .t-dim { color: #64779C; }
.terminal-body .t-err { color: #F87171; }
.caret {
  display: inline-block; width: 8px; height: 15px; vertical-align: -2px;
  background: #29D6F5; animation: blink 1.05s steps(2) infinite;
}
@keyframes blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

/* ---------- 13. 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px -12px rgba(10, 23, 51, .18); }
.nav-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 22px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-900); font-size: 16.5px; letter-spacing: -.02em; }
.brand:hover { color: var(--ink-900); }
.brand-logo { width: 32px; height: 32px; flex: none; }
.brand .brand-sub {
  font-size: 17.5px;        /* 「耐连」二字加粗放大，与英文名同级甚至略大 */
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: .06em;
  line-height: 1;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--r-xs);
  font-size: 14.5px; font-weight: 500; color: var(--ink-700);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav-links a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav-links a.active { color: var(--blue-700); background: var(--blue-50); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: var(--r-xs);
  background: transparent; border: 1px solid var(--line); cursor: pointer;
  place-items: center; color: var(--ink-800);
}
.nav-toggle svg { width: 20px; height: 20px; }

.nav-user {
  display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff;
  font-size: 13.5px; font-weight: 600; color: var(--ink-800); cursor: pointer;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.nav-user:hover { border-color: var(--blue-300); box-shadow: var(--sh-xs); color: var(--ink-900); }
.nav-user img, .nav-user .avatar-fallback {
  width: 28px; height: 28px; border-radius: 50%; background: var(--grad-blue); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: var(--sh);
  padding: 14px 24px 22px;
  transform: translateY(-14px); opacity: 0; pointer-events: none;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a {
  display: block; padding: 13px 12px; border-radius: var(--r-xs);
  font-size: 15.5px; font-weight: 500; color: var(--ink-800); border-bottom: 1px solid var(--line-2);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu a:hover { background: var(--blue-50); color: var(--blue-700); }
.mobile-menu .mm-actions { display: grid; gap: 10px; margin-top: 16px; }

/* ---------- 14. 页脚 ---------- */
.footer {
  background: var(--navy-900); color: #94A9CE;
  padding: 68px 0 30px; position: relative; overflow: hidden;
}
.footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000, transparent 70%);
}
.footer .container { position: relative; z-index: 1; }
.footer h4 { color: #fff; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer a { color: #94A9CE; font-size: 13.8px; display: block; padding: 5px 0; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 34px; }
.footer-brand p { font-size: 13.8px; line-height: 1.75; color: #7E93BB; max-width: 320px; }
.footer-bottom {
  margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.09);
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 12.8px; color: #6C82AC;
}
.footer-bottom a { display: inline; padding: 0; font-size: 12.8px; }
.footer-note { font-size: 12.2px; color: #5C7099; line-height: 1.7; margin-top: 22px; max-width: 900px; }

/* ---------- 15. 提示 / 吐司 ---------- */
.toast-wrap {
  position: fixed; z-index: 999; top: 84px; right: 22px;
  display: flex; flex-direction: column; gap: 10px; pointer-events: none;
}
.toast {
  display: flex; align-items: flex-start; gap: 11px;
  min-width: 260px; max-width: 380px;
  background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--blue-500);
  border-radius: var(--r-sm); padding: 13px 16px;
  box-shadow: var(--sh-lg); font-size: 13.8px; color: var(--ink-800);
  pointer-events: auto; animation: toast-in .28s var(--ease);
}
.toast.out { animation: toast-out .25s var(--ease) forwards; }
.toast.ok { border-left-color: var(--ok); }
.toast.err { border-left-color: var(--err); }
.toast.warn { border-left-color: var(--warn); }
.toast svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.toast.ok svg { color: var(--ok); }
.toast.err svg { color: var(--err); }
.toast.warn svg { color: var(--warn); }
.toast .t-title { font-weight: 600; color: var(--ink-900); }
.toast .t-msg { color: var(--ink-600); font-size: 13px; margin-top: 2px; }
@keyframes toast-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(24px); } }

/* ---------- 16. 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 18, 46, .55); backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 22px;
  opacity: 0; pointer-events: none; transition: opacity .22s var(--ease);
}
.modal-mask.open { opacity: 1; pointer-events: auto; }
.modal {
  background: #fff; border-radius: var(--r-lg); width: 100%; max-width: 520px;
  max-height: 88vh; overflow-y: auto; box-shadow: var(--sh-lg);
  transform: scale(.96) translateY(8px); transition: transform .24s var(--ease);
}
.modal-mask.open .modal { transform: none; }
.modal-head { padding: 22px 26px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal-head h3 { margin: 0; font-size: 18px; }
.modal-body { padding: 18px 26px 26px; }
.modal-close {
  background: var(--bg-soft); border: 0; border-radius: var(--r-xs);
  width: 32px; height: 32px; display: grid; place-items: center;
  cursor: pointer; color: var(--ink-600); flex: none;
}
.modal-close:hover { background: var(--blue-50); color: var(--blue-700); }

/* ---------- 17. 折叠面板 ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-q {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  padding: 19px 52px 19px 22px; font-size: 15.5px; font-weight: 600; color: var(--ink-900);
  position: relative; transition: background .18s var(--ease);
}
.acc-q:hover { background: var(--bg-soft); }
.acc-q::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--blue-500); border-bottom: 2px solid var(--blue-500);
  transform: rotate(45deg); transition: transform .24s var(--ease);
}
.acc-item.open .acc-q::after { transform: rotate(-135deg); margin-top: -3px; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.acc-a-inner { padding: 0 22px 22px; color: var(--ink-600); font-size: 14.5px; line-height: 1.8; }
.acc-a-inner p:last-child { margin-bottom: 0; }

/* ---------- 18. 步骤条 ---------- */
.steps { display: grid; gap: 26px; counter-reset: step; }
.step { display: flex; gap: 18px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-blue); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 18px -8px rgba(11,92,255,.7);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 17px; top: 46px; bottom: -20px;
  width: 2px; background: linear-gradient(180deg, var(--blue-200), transparent);
}
.step-body h4 { margin: 4px 0 6px; font-size: 16px; }
.step-body p { margin: 0; font-size: 14px; color: var(--ink-600); }

/* ---------- 19. 数据 / 统计 ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat-cell { background: #fff; padding: 26px 22px; }
.stat-cell b {
  display: block; font-family: var(--mono); font-size: clamp(24px, 3vw, 34px);
  color: var(--ink-900); letter-spacing: -.03em; line-height: 1.1; font-weight: 700;
}
.stat-cell b .u { font-size: .5em; color: var(--blue-600); margin-left: 3px; letter-spacing: 0; }
.stat-cell span { display: block; font-size: 13px; color: var(--ink-500); margin-top: 8px; }

/* ---------- 20. 平台下载卡 ---------- */
.platform-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 24px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  position: relative; overflow: hidden;
}
.platform-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--blue-200); }
.platform-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px;
  border-radius: 50%; background: radial-gradient(circle, rgba(11,92,255,.09), transparent 70%);
  pointer-events: none;
}
.platform-head { display: flex; align-items: center; gap: 13px; }
.platform-ico {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: var(--bg-soft-2); border: 1px solid var(--line);
}
.platform-ico svg { width: 24px; height: 24px; }
.platform-head h3 { margin: 0 0 2px; font-size: 16.5px; }
.platform-head .meta { font-size: 12.5px; color: var(--ink-500); font-family: var(--mono); }
.platform-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.platform-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-600); }
.platform-list li { display: flex; gap: 8px; align-items: flex-start; }
.platform-list li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-400);
  margin-top: 8px; flex: none;
}
.platform-foot { margin-top: auto; display: grid; gap: 9px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--navy-900); color: #fff; border: 1px solid var(--navy-800);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
  width: 100%;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--sh); color: #fff; }
.store-badge svg { width: 22px; height: 22px; flex: none; }
.store-badge .sb-txt { line-height: 1.2; }
.store-badge .sb-top { font-size: 10.5px; color: #9FB4DA; letter-spacing: .05em; }
.store-badge .sb-main { font-size: 14.5px; font-weight: 600; }

/* ---------- 21. 套餐卡 ---------- */
.plan-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; display: flex; flex-direction: column; position: relative;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.plan-card.featured {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 1px var(--blue-400), var(--sh-lg);
}
.plan-card.featured::before {
  content: "最受欢迎"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-blue); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 15px; border-radius: var(--r-pill); letter-spacing: .04em;
  box-shadow: 0 8px 18px -8px rgba(11,92,255,.7);
}
.plan-name { font-size: 18px; font-weight: 700; color: var(--ink-900); margin-bottom: 4px; }
.plan-desc { font-size: 13.5px; color: var(--ink-500); min-height: 21px; margin-bottom: 18px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.plan-price .cur { font-size: 19px; font-weight: 600; color: var(--ink-900); }
.plan-price .amt { font-family: var(--mono); font-size: 40px; font-weight: 700; color: var(--ink-900); letter-spacing: -.04em; line-height: 1; }
.plan-price .per { font-size: 13.5px; color: var(--ink-500); }
.plan-alt { font-size: 12.8px; color: var(--ink-500); margin-bottom: 22px; min-height: 19px; }
.plan-feats { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; font-size: 14px; }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-700); }
.plan-feats li svg { width: 17px; height: 17px; color: var(--blue-600); flex: none; margin-top: 2px; }
.plan-feats li.off { color: var(--ink-400); }
.plan-feats li.off svg { color: var(--ink-400); }
.plan-card .btn { margin-top: auto; }

/* 周期切换 */
.seg {
  display: inline-flex; padding: 4px; gap: 3px;
  background: var(--bg-soft-2); border: 1px solid var(--line); border-radius: var(--r-pill);
}
.seg button {
  border: 0; background: transparent; cursor: pointer;
  padding: 8px 18px; border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 600; color: var(--ink-600);
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap; position: relative;
}
.seg button:hover { color: var(--blue-700); }
.seg button.active { background: #fff; color: var(--blue-700); box-shadow: var(--sh-xs); }
.seg button .save {
  font-size: 10.5px; font-weight: 700; color: #067647;
  background: #E8F9F1; border-radius: 999px; padding: 1px 6px; margin-left: 5px;
}

/* ---------- 22. 用户中心 ---------- */
.dash-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 28px; align-items: start; }
.dash-side {
  position: sticky; top: calc(var(--nav-h) + 24px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px; box-shadow: var(--sh-sm);
}
.dash-side .ds-user { display: flex; gap: 11px; align-items: center; padding: 12px 10px 16px; border-bottom: 1px solid var(--line-2); margin-bottom: 10px; }
.dash-side .ds-user img, .dash-side .ds-user .avatar-fallback {
  width: 38px; height: 38px; border-radius: 50%; background: var(--grad-blue); color: #fff;
  display: grid; place-items: center; font-weight: 700; flex: none;
}
.dash-side .ds-user .ds-mail { font-size: 13px; font-weight: 600; color: var(--ink-900); word-break: break-all; line-height: 1.35; }
.dash-side .ds-user .ds-plan { font-size: 11.5px; color: var(--ink-500); }
.dash-side nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 13px; border-radius: var(--r-xs);
  font-size: 14px; font-weight: 500; color: var(--ink-700); margin-bottom: 2px;
}
.dash-side nav a svg { width: 17px; height: 17px; flex: none; color: var(--ink-500); }
.dash-side nav a:hover { background: var(--bg-soft); color: var(--blue-700); }
.dash-side nav a:hover svg { color: var(--blue-600); }
.dash-side nav a.active { background: var(--blue-50); color: var(--blue-700); font-weight: 600; }
.dash-side nav a.active svg { color: var(--blue-600); }
.dash-side nav .ds-sep { height: 1px; background: var(--line-2); margin: 10px 6px; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); }
.panel-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.panel-head h3 { margin: 0; font-size: 16.5px; }
.panel-head .sub { font-size: 13px; color: var(--ink-500); margin-top: 3px; }
.panel-body { padding: 24px; }
.panel-body.tight { padding: 16px; }
.panel + .panel { margin-top: 22px; }

.kv { display: grid; gap: 14px; }
.kv-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; }
.kv-row .k { color: var(--ink-500); }
.kv-row .v { color: var(--ink-900); font-weight: 600; }

.mini-stat { padding: 18px 20px; border-radius: var(--r); background: var(--bg-soft); border: 1px solid var(--line); }
.mini-stat .ms-label { font-size: 12.5px; color: var(--ink-500); display: flex; align-items: center; gap: 6px; }
.mini-stat .ms-val { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--ink-900); margin-top: 7px; letter-spacing: -.02em; }
.mini-stat .ms-sub { font-size: 12px; color: var(--ink-500); margin-top: 4px; }

/* 设备列表 */
.dev-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
}
.dev-row:last-child { border-bottom: 0; }
.dev-ico {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center; background: var(--bg-soft-2); border: 1px solid var(--line);
  color: var(--blue-600);
}
.dev-ico svg { width: 19px; height: 19px; }
.dev-main { flex: 1; min-width: 0; }
.dev-main .dm-name { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.dev-main .dm-meta { font-size: 12.3px; color: var(--ink-500); font-family: var(--mono); }

/* 一键同步按钮组 */
.sync-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 11px; }
.sync-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: var(--r-sm);
  background: #fff; border: 1px solid var(--line); cursor: pointer;
  font-size: 13.5px; font-weight: 600; color: var(--ink-800); text-align: left;
  transition: transform .16s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.sync-btn:hover { transform: translateY(-2px); border-color: var(--blue-300); box-shadow: var(--sh-sm); background: var(--blue-50); color: var(--blue-700); }
.sync-btn svg { width: 19px; height: 19px; flex: none; }
.sync-btn .sb-sub { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-500); }
.sync-btn:hover .sb-sub { color: var(--blue-600); }

/* ---------- 23. 节点状态 ---------- */
.node-row {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr .9fr .9fr; gap: 14px;
  align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--line-2);
  font-size: 14px;
}
.node-row:last-child { border-bottom: 0; }
.node-row.head {
  font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--ink-500); font-weight: 600; background: var(--bg-soft);
}
.node-name { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-900); }
.flag { font-size: 17px; line-height: 1; }
.latency { font-family: var(--mono); font-size: 13px; color: var(--ink-600); }
.latency.good { color: #067647; }
.latency.mid { color: #B54708; }

/* ---------- 24. 对比表 ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.compare th, .compare td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.compare thead th { font-size: 13px; color: var(--ink-800); background: var(--bg-soft); font-weight: 600; }
.compare thead th:first-child { border-radius: var(--r) 0 0 0; }
.compare thead th:last-child { border-radius: 0 var(--r) 0 0; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: #067647; font-weight: 600; }
.compare .no { color: var(--ink-400); }

/* ---------- 25. 骨架 / 加载 ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-soft) 25%, var(--bg-soft-2) 37%, var(--bg-soft) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.35s ease-in-out infinite;
  border-radius: var(--r-xs); color: transparent !important;
}
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
.spinner-blue { border-color: var(--blue-100); border-top-color: var(--blue-600); }

/* ---------- 26. 滚动进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .07s; }
.reveal[data-delay="2"] { transition-delay: .14s; }
.reveal[data-delay="3"] { transition-delay: .21s; }
.reveal[data-delay="4"] { transition-delay: .28s; }
.reveal[data-delay="5"] { transition-delay: .35s; }

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

/* ---------- 27. 响应式 ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
  .g-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-actions .hide-mobile { display: none; }
  .nav-toggle { display: grid; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-side { position: static; }
  .dash-side nav { display: flex; overflow-x: auto; gap: 4px; padding-bottom: 4px; }
  .dash-side nav a { white-space: nowrap; margin-bottom: 0; }
  .dash-side nav .ds-sep { display: none; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 74px 0; }
}
@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .g-2, .g-3, .g-4, .g-5 { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .card { padding: 22px; }
  .card-lg { padding: 24px; }
  .node-row { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .node-row .hide-sm { display: none; }
  .toast-wrap { left: 14px; right: 14px; top: auto; bottom: 18px; }
  .toast { max-width: none; }
  .modal { border-radius: var(--r); }
  .panel-body { padding: 18px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  h1 { font-size: 27px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand .brand-sub { font-size: 16.5px; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-cell { padding: 18px; }
  .ring { width: 124px; height: 124px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 28. 打印 ---------- */
@media print {
  .nav, .footer, .toast-wrap, .btn { display: none !important; }
  body { color: #000; }
}
