/* ============================================================
   NIIOS Observation 门户站共享样式
   纯静态、无框架、无外部依赖
   ============================================================ */

:root {
  --ink: #0d1b2e;
  --ink-2: #14263f;
  --ink-3: #1d3350;
  --text: #1c2733;
  --text-soft: #4b5a6b;
  --text-faint: #7c8a99;
  --primary: #2563eb;
  --primary-deep: #1740b8;
  --accent: #22d3ee;
  --amber: #f59e0b;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --line: #e3e9f2;
  --line-soft: #edf1f7;
  --shadow-sm: 0 1px 2px rgba(13, 27, 46, 0.06), 0 2px 8px rgba(13, 27, 46, 0.05);
  --shadow-md: 0 4px 14px rgba(13, 27, 46, 0.09), 0 1px 3px rgba(13, 27, 46, 0.06);
  --shadow-lg: 0 18px 44px rgba(13, 27, 46, 0.16);
  --radius: 14px;
  --radius-lg: 20px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "SF Mono", "Cascadia Code", Consolas, "JetBrains Mono", monospace;
  --maxw: 1160px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: rgba(37, 99, 235, 0.18); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: 0.2px;
  margin-right: auto;
}
.brand:hover { text-decoration: none; }
.brand .brand-mark { width: 34px; height: 34px; flex: none; }
.brand .brand-sub {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 1.5px;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover { color: var(--ink); background: var(--line-soft); text-decoration: none; }
.nav-links a.active { color: var(--primary); font-weight: 700; }

.nav-cta-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
  transition: background 0.18s, transform 0.18s;
}
.nav-cta:hover { background: var(--primary-deep); text-decoration: none; transform: translateY(-1px); }
.nav-cta-secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid #cbd9f6;
  box-shadow: none;
}
.nav-cta-secondary:hover { background: #eef4ff; color: var(--primary-deep); }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle svg { margin: 0 auto; }

.nav-cta-mobile { display: none; margin-top: 12px; }
.nav-cta-mobile .btn {
  width: 100%;
  font-size: 16.5px;
  padding: 12px 26px;
  border-radius: 10px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32);
}
.nav-cta-mobile .btn:hover { background: var(--primary-deep); color: #fff; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 10px 24px 16px;
    gap: 2px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; font-size: 16px; }
  .nav-cta-desktop { display: none; }
  .nav-cta-mobile { display: block; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15.5px;
  padding: 12px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32); }
.btn-primary:hover { background: var(--primary-deep); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { font-size: 16.5px; padding: 14px 32px; }

/* ---------- 区块通用 ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section.tight { padding: 64px 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.section-title {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 16px;
  letter-spacing: 0.2px;
}
.section-lead {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 0 48px;
}
.section-head-center { text-align: center; }
.section-head-center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(900px 600px at -10% 10%, rgba(37, 99, 235, 0.35), transparent 55%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 55%, #10263f 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--bg) 78%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 500px at 30% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 500px at 30% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 96px 0 120px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #cfe3ff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.22;
  font-weight: 800;
  margin: 0 0 20px;
  letter-spacing: 0.3px;
}
.hero h1 .grad {
  background: linear-gradient(92deg, #7cb0ff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 18px;
  color: rgba(226, 236, 250, 0.86);
  max-width: 540px;
  margin: 0 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}
.hero-stat .num {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  font-family: var(--mono);
  letter-spacing: -0.5px;
}
.hero-stat .num em { font-style: normal; color: var(--accent); }
.hero-stat .lbl { font-size: 13px; color: rgba(226, 236, 250, 0.66); }

.hero-visual { position: relative; }

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 72px 0 110px;
    text-align: center;
  }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  /* 居中放在 fig-frame(块级) 上，避免 grid 子项 auto margin + 图片 max-width:100% 的尺寸循环，
     导致 hero 配图在窄屏下塌缩为 38x38 的白色小块 */
  .hero-visual .fig-frame { max-width: 620px; margin: 0 auto; }
}

/* ---------- 信任条 ---------- */
.trustbar {
  position: relative;
  z-index: 3;
  margin-top: -72px;
  margin-bottom: 0;
}
.trustbar .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-item + .trust-item { border-left: 1px solid var(--line-soft); }
.trust-item .ic {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #eaf1ff, #f2f9ff);
  color: var(--primary);
}
.trust-item .t { font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.35; }
.trust-item .d { font-size: 12.5px; color: var(--text-faint); line-height: 1.4; }
@media (max-width: 900px) {
  .trustbar .card { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: none; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 540px) {
  .trustbar .card { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: none; border-top: 1px solid var(--line-soft); }
}

/* ---------- 特性卡片 ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfddff; }

.feature .f-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(145deg, #e9f0ff, #f4faff);
  border: 1px solid #dde8ff;
  color: var(--primary);
}
.feature h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.feature p { font-size: 14.8px; color: var(--text-soft); margin: 0; }
.feature .tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary);
  background: #eef4ff;
  border-radius: 999px;
  padding: 3px 10px;
}

/* ---------- 产品介绍双栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.checklist { list-style: none; margin: 24px 0 32px; padding: 0; }
.checklist li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  font-size: 15.5px;
  color: var(--text-soft);
}
.checklist li strong { color: var(--ink); font-weight: 700; }
.checklist .ck {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: #e8f1ff;
  color: var(--primary);
  display: grid;
  place-items: center;
}

/* ---------- 流程步骤 ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: #eef4ff;
  border-radius: 8px;
  padding: 2px 9px;
  display: inline-block;
  margin-bottom: 14px;
}
.step h3 { font-size: 16.5px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.step p { font-size: 14.2px; color: var(--text-soft); margin: 0; }

/* ---------- 深色强调带 ---------- */
.band {
  background:
    radial-gradient(800px 300px at 15% 0%, rgba(34, 211, 238, 0.14), transparent 60%),
    linear-gradient(150deg, var(--ink) 0%, var(--ink-3) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 56px;
  position: relative;
  overflow: hidden;
}
.band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 0 0 14px; }
.band p { color: rgba(226, 236, 250, 0.85); font-size: 16px; max-width: 640px; margin: 0 0 8px; }
.band .band-actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 720px) { .band { padding: 40px 26px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef4ff;
  color: var(--primary);
  font-weight: 800;
  transition: transform 0.2s;
}
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq details .faq-body { padding: 0 22px 20px; color: var(--text-soft); font-size: 15px; }

/* ---------- 场景页 ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(34, 211, 238, 0.15), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  padding: 84px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero .kicker { color: var(--accent); }
.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin: 0 0 14px;
}
.page-hero p { color: rgba(226, 236, 250, 0.85); font-size: 17px; max-width: 680px; margin: 0; }

.scenario { display: flex; gap: 20px; align-items: flex-start; }
.scenario .s-icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e9f0ff, #f4faff);
  border: 1px solid #dde8ff;
  color: var(--primary);
}
.scenario h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 4px 0 8px; }
.scenario p { font-size: 14.6px; color: var(--text-soft); margin: 0 0 10px; }
.scenario ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--text-soft); }
.scenario ul li { margin: 3px 0; }

/* ---------- 案例页 ---------- */
.case {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 28px;
}
.case-side {
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  color: #fff;
  padding: 36px 32px;
}
.case-side .c-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 16px;
}
.case-side h3 { font-size: 21px; font-weight: 800; margin: 0 0 8px; }
.case-side .c-org { font-size: 14px; color: rgba(226, 236, 250, 0.75); margin-bottom: 20px; }
.case-side blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #eaf2fd;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  font-style: normal;
}
.case-side blockquote footer { margin-top: 10px; font-size: 12.5px; color: rgba(226, 236, 250, 0.6); }
.case-main { padding: 36px 36px; }
.case-main h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin: 0 0 10px;
}
.case-main p { font-size: 14.8px; color: var(--text-soft); margin: 0 0 22px; }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 4px; }
.case-metrics .m {
  background: #f4f8ff;
  border: 1px solid #e2ebfb;
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
}
.case-metrics .m .v { font-family: var(--mono); font-size: 22px; font-weight: 800; color: var(--primary); }
.case-metrics .m .k { font-size: 12.5px; color: var(--text-faint); margin-top: 2px; }
@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; }
  .case-metrics { grid-template-columns: 1fr; }
}

/* ---------- 服务页 ---------- */
.svc { position: relative; }
.svc .svc-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 800;
  color: #eef3fb;
  line-height: 1;
}
.svc h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 10px; padding-right: 60px; }
.svc h3 .soon {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(58, 112, 255, 0.1);
  border: 1px solid rgba(58, 112, 255, 0.35);
  border-radius: 999px;
  vertical-align: 2px;
  white-space: nowrap;
}
.svc p { font-size: 14.6px; color: var(--text-soft); margin: 0 0 14px; }
.svc ul { margin: 0; padding-left: 18px; font-size: 13.8px; color: var(--text-soft); }
.svc ul li { margin: 3px 0; }

.table-wrap { overflow-x: auto; }
table.cmp {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-width: 640px;
}
table.cmp th, table.cmp td { padding: 14px 18px; font-size: 14.5px; text-align: left; }
table.cmp thead th {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
}
table.cmp tbody tr + tr td { border-top: 1px solid var(--line-soft); }
table.cmp td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
table.cmp td { color: var(--text-soft); }

/* ---------- 团队页 ---------- */
.member {
  text-align: center;
  padding: 34px 24px 30px;
}
.member .avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), #4f9cf9);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}
.member:nth-child(4n + 2) .avatar { background: linear-gradient(145deg, #0e7490, #22d3ee); box-shadow: 0 8px 20px rgba(34, 211, 238, 0.28); }
.member:nth-child(4n + 3) .avatar { background: linear-gradient(145deg, #b45309, #f59e0b); box-shadow: 0 8px 20px rgba(245, 158, 11, 0.28); }
.member:nth-child(4n) .avatar { background: linear-gradient(145deg, #4338ca, #818cf8); box-shadow: 0 8px 20px rgba(99, 102, 241, 0.28); }
.member h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.member .role { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.member p { font-size: 13.8px; color: var(--text-soft); margin: 0; }

.value { border-left: 3px solid var(--primary); padding: 4px 0 4px 20px; }
.value h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.value p { font-size: 14.5px; color: var(--text-soft); margin: 0; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card .cc-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e9f0ff, #f4faff);
  border: 1px solid #dde8ff;
  color: var(--primary);
}
.contact-card h3 { font-size: 16.5px; font-weight: 700; color: var(--ink); margin: 2px 0 6px; }
.contact-card p { font-size: 14.3px; color: var(--text-soft); margin: 0 0 4px; word-break: break-all; }
.contact-card .mono { font-family: var(--mono); font-size: 14px; color: var(--ink); font-weight: 600; }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-md);
}
.form h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.form .form-note { font-size: 13.5px; color: var(--text-faint); margin: 0 0 22px; }
.form label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.form .field { margin-bottom: 16px; }
.form input, .form select, .form textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--text);
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}
.form textarea { resize: vertical; min-height: 110px; }
.form .form-ok {
  display: none;
  margin-top: 14px;
  background: #ecfdf3;
  border: 1px solid #b7ecd0;
  color: #147a4b;
  font-size: 14px;
  border-radius: 10px;
  padding: 12px 16px;
}
.form .form-ok.show { display: block; }
.form .req::after { content: " *"; color: #dc2626; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(226, 236, 250, 0.72);
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 44px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .f-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 14px;
}
.site-footer .f-brand .brand-mark { width: 32px; height: 32px; }
.site-footer p.f-desc { font-size: 14px; line-height: 1.8; max-width: 320px; margin: 0 0 18px; }
.site-footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 4px 0 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin: 9px 0; }
.site-footer ul a { color: rgba(226, 236, 250, 0.72); font-size: 14px; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(226, 236, 250, 0.5);
}

/* ---------- 滚动显现 ----------
   默认：内容对所有人可见（无 JS 也能读）。
   仅当 <html class="js-on"> 存在时（main.js 已加载）才启用渐进显现动画。 */
.reveal { opacity: 1; transform: none; }
.js-on .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js-on .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-on .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 插图外框 ---------- */
.fig-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  transform: rotate(-0.4deg);
}
.fig-frame .fig-cap {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 12px;
}
.float-tag {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: floaty 5s ease-in-out infinite;
}
.float-tag .sub { display: block; font-size: 11px; font-weight: 500; color: var(--text-faint); }
.float-tag.t1 { top: -18px; right: 6px; animation-delay: 0.6s; }
.float-tag.t2 { bottom: -16px; left: -10px; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 980px) { .float-tag { display: none; } }
