/* ==========================================================================
   桁北集团 · 官网视觉系统
   风格：纯黑单色 / 工业感 / 细描边 / 零圆角 / 入场动画
   ========================================================================== */

:root {
  --canvas: #000000;
  --surface: #0a0a0c;
  --surface-2: #111114;
  --panel: rgba(255, 255, 255, 0.02);
  --ink: #ffffff;
  --ink-soft: #c8c8ce;
  --muted: #8a8a92;
  --line: #2a2a30;
  --line-strong: rgba(255, 255, 255, 0.22);
  --wrap: 1160px;
  --display: 'Oswald', 'Bebas Neue', 'Arial Narrow', sans-serif;
  --display-cn: 'ZCOOL QingKe HuangYou', 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --sans: 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Source Han Sans CN', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --line-soft: rgba(255, 255, 255, 0.07);
  --dim-1: rgba(255, 255, 255, 0.72);
  --dim-2: rgba(255, 255, 255, 0.55);
  --dim-3: rgba(255, 255, 255, 0.35);
  --dim-4: rgba(255, 255, 255, 0.22);
  --btn-bg: #ffffff;
  --btn-fg: #000000;
  --grid-line: rgba(255, 255, 255, 0.045);
  --scan: rgba(255, 255, 255, 0.65);
  --shadow-nav: rgba(0, 0, 0, 0.7);
  --shadow-pop: rgba(0, 0, 0, 0.8);
  --hover-soft: rgba(255, 255, 255, 0.07);
  --accent: #9fe6b9;
  --danger: #ff8f8f;
  --muted-deep: #55555e;
}

/* 白色主题：html[data-theme='light']，默认（无属性或 dark）保持黑色 */
html[data-theme='light'] {
  --canvas: #ffffff;
  --surface: #f6f6f8;
  --surface-2: #ececef;
  --panel: rgba(0, 0, 0, 0.02);
  --ink: #111114;
  --ink-soft: #3c3c44;
  --muted: #6f6f77;
  --line: #dcdce0;
  --line-strong: rgba(0, 0, 0, 0.35);
  --line-soft: rgba(0, 0, 0, 0.08);
  --dim-1: rgba(0, 0, 0, 0.75);
  --dim-2: rgba(0, 0, 0, 0.55);
  --dim-3: rgba(0, 0, 0, 0.4);
  --dim-4: rgba(0, 0, 0, 0.3);
  --btn-bg: #111114;
  --btn-fg: #ffffff;
  --grid-line: rgba(0, 0, 0, 0.05);
  --scan: rgba(0, 0, 0, 0.5);
  --shadow-nav: rgba(0, 0, 0, 0.12);
  --shadow-pop: rgba(0, 0, 0, 0.18);
  --hover-soft: rgba(0, 0, 0, 0.05);
  --accent: #15803d;
  --danger: #dc2626;
  --muted-deep: #a3a3ab;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--canvas); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, p { margin: 0; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s var(--ease);
}

.nav.scrolled { box-shadow: 0 2px 10px var(--shadow-nav); }

.nav-in {
  height: 69px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }

.brand-mark { height: 38px; width: auto; }

.brand-text b {
  display: block;
  font-family: var(--display-cn);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1;
}

.brand-text sup {
  font-size: 9px;
  letter-spacing: 0;
  vertical-align: super;
  margin-left: 1px;
  opacity: 0.75;
}

.brand-text i {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  color: var(--dim-1);
}

.nav-links a {
  position: relative;
  padding: 3px 0;
  white-space: nowrap;
  transition: color 0.15s var(--ease);
}

/* 导航项较多（含下载客户端）时收紧间距，避免换行 */
@media (max-width: 1400px) {
  .nav-in { gap: 18px; }
  .nav-links { gap: 17px; font-size: 13px; }
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.25s var(--ease);
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: 6px; white-space: nowrap; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.btn-solid { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.btn-solid:hover { background: transparent; color: var(--ink); }

.btn-line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--ink); background: var(--hover-soft); }

.btn-lg { height: 48px; padding: 0 30px; font-size: 14px; }

/* ---------- 通用文本 ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--dim-2);
  text-transform: uppercase;
}

.section { position: relative; padding: 88px 0; border-bottom: 1px solid var(--line); }
.section.alt { background: var(--surface); }

.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 46px;
}

.section-head h2 {
  font-family: var(--display-cn);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0.02em;
  margin-top: 14px;
}

.section-head p { color: var(--muted); font-size: 13.5px; line-height: 1.95; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding-top: 76px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 88px 100%;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 86%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 86%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 56px;
}

.hero h1 {
  font-family: var(--display-cn);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: 0.01em;
  margin: 22px 0 22px;
}

.hero h1 .line { display: block; }

.hero-lead { max-width: 570px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.95; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-tags {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero-tags span::before { content: '/'; margin-right: 8px; color: var(--dim-3); }

.hero-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 22px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 13px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.flow-step {
  display: flex;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}

.flow-step:last-child { border-bottom: none; }

.flow-step b {
  flex: none;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  color: var(--dim-3);
}

.flow-step h4 { font-size: 13.5px; font-weight: 600; margin-bottom: 5px; }
.flow-step p { font-size: 11.5px; color: var(--muted); line-height: 1.65; }

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.hero-stats > div { padding: 24px 0 26px; border-right: 1px solid var(--line); }
.hero-stats > div:last-child { border-right: none; }

.hero-stats b {
  display: block;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}

.hero-stats b em { font-style: normal; font-size: 22px; color: var(--muted); margin-left: 2px; }
.hero-stats b span { display: inline; margin: 0; font-size: inherit; line-height: inherit; color: inherit; }

.hero-stats > div > span {
  display: block;
  margin-top: 9px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- 关于 ---------- */
.about { display: grid; grid-template-columns: 248px 1fr; gap: 44px; }

.about-side { position: sticky; top: 110px; align-self: start; }

.about-side .label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--muted); }

.about-side h2 {
  font-family: var(--display-cn);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.3;
  margin: 14px 0 12px;
}

.about-side .rule { width: 56px; height: 1px; background: var(--line-strong); margin-top: 18px; }

.about-copy p { color: var(--ink-soft); font-size: 13.5px; line-height: 2.05; margin-bottom: 16px; }
.about-copy p:last-child { margin-bottom: 0; }

.data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 30px;
}

.data-grid > div { background: var(--canvas); padding: 20px 18px; }

.data-grid b { display: block; font-family: var(--display); font-size: 32px; font-weight: 500; line-height: 1; }

.data-grid span {
  display: block;
  margin-top: 8px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- 产品能力 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card {
  position: relative;
  min-height: 196px;
  padding: 28px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease);
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(118deg, transparent 0 56px, var(--grid-line) 56px 57px);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}

.card:hover { background: var(--surface-2); }
.card:hover::after { opacity: 1; }

.card .num {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--dim-3);
}

.card h3 {
  font-family: var(--display-cn);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 20px 0 10px;
}

.card p { font-size: 12.5px; color: var(--muted); line-height: 1.9; }

/* ---------- 入驻流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.step {
  padding: 26px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step em {
  font-family: var(--display);
  font-style: normal;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  color: var(--dim-4);
}

.step h4 { font-size: 14px; font-weight: 600; margin: 16px 0 8px; }
.step p { font-size: 12px; color: var(--muted); line-height: 1.8; }

/* ---------- 文书查验（首页） ---------- */
.verify-teaser {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.verify-teaser h2 {
  font-family: var(--display-cn);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: 0.02em;
  margin-top: 14px;
}

.verify-teaser .lead { color: var(--muted); font-size: 13.5px; line-height: 2; margin-top: 18px; }
.verify-teaser .actions { margin-top: 28px; }

.verify-mini {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 24px 24px 20px;
}

.verify-mini::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--scan), transparent);
  animation: miniScan 4.4s cubic-bezier(.4, 0, .2, 1) infinite;
  opacity: 0;
}

@keyframes miniScan {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: .6; }
  100% { transform: translateY(300px); opacity: 0; }
}

.mini-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.mini-head i { font-style: normal; color: var(--muted-deep); }

.mini-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 11.5px;
}

.mini-row span { color: var(--muted); }
.mini-row b { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--ink); }
.mini-row b.ok { color: var(--accent); letter-spacing: 0.1em; }
.mini-row b.pending { color: var(--muted); letter-spacing: 0.1em; }

.sample-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.mini-foot.is-sample { color: var(--muted); }
.mini-foot.is-sample .dot { background: #8b8b93; animation: none; }

.mini-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 10.5px;
  color: var(--accent);
}

.mini-foot .dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  animation: miniDot 1.9s ease-in-out infinite;
}

@keyframes miniDot { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- 合规存证 ---------- */
.compliance { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: start; }

.compliance .lead { color: var(--muted); font-size: 13.5px; line-height: 2; margin-top: 18px; }

.compliance .actions { margin-top: 28px; }

.badge-list { display: grid; gap: 12px; }

.badge {
  display: flex;
  gap: 14px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.badge .dot { flex: none; width: 6px; height: 6px; margin-top: 8px; background: var(--ink); }

.badge b { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 4px; }
.badge span { font-size: 12px; color: var(--muted); line-height: 1.75; }

/* ---------- CTA / 页脚 ---------- */
.cta-section { padding: 72px 0; }

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.cta h2 {
  font-family: var(--display-cn);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.cta p { color: var(--muted); font-size: 13px; }

.footer { border-top: 1px solid var(--line); padding: 44px 0 26px; background: var(--canvas); }

.footer-in { display: grid; grid-template-columns: 1.6fr 0.9fr 1.1fr 1fr; gap: 34px; }

/* 法律条款页页脚为三栏 */
.legal-page .footer-in { grid-template-columns: 1.6fr 1.2fr 1fr; }

.footer .flogo { height: 46px; width: auto; margin-bottom: 16px; }

.footer .fdesc { font-size: 12px; color: var(--muted); line-height: 1.9; max-width: 360px; }

.footer h5 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.footer a, .footer p { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; line-height: 1.8; }
.footer a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* 页脚备案信息：仅后台配置了正式备案号后展示 */
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
}

.footer-contact a { color: var(--muted); text-decoration: none; }
.footer-contact a:hover { color: var(--ink-soft); }

.footer-beian {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
}

.footer-beian[hidden] { display: none; }

.footer-beian a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-beian a:hover { color: var(--ink-soft); }

/* 电子营业执照标识：点击核验工商登记信息（选择器需压过 .footer a） */
.footer .footer-elicense {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer .footer-elicense img {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.footer .footer-elicense:hover { color: var(--ink-soft); }
.footer .footer-elicense:hover img { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3); }

.site-beian {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
}

.site-beian[hidden] { display: none; }
.footer-bottom .site-beian { width: 100%; margin-top: 2px; }
.site-beian a { color: var(--muted); text-decoration: none; margin-right: 12px; }
.site-beian a:hover { color: var(--ink-soft); }

/* ---------- 注册页 ---------- */
.register-wrap {
  position: relative;
  padding: 64px 0 90px;
  min-height: calc(100vh - 169px);
  background: var(--canvas);
}

.register-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 88px 100%;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 70%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 70%);
  pointer-events: none;
}

.register-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.form-card { border: 1px solid var(--line); background: var(--surface); padding: 36px 32px; }

.form-card h1 {
  font-family: var(--display-cn);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 12px 0 8px;
}

.form-card .sub { color: var(--muted); font-size: 12.5px; line-height: 1.85; margin-bottom: 28px; }

.field { margin-bottom: 18px; }

.field label { display: block; font-size: 12px; color: var(--ink-soft); margin-bottom: 8px; }
.field label em { color: var(--ink); font-style: normal; margin-left: 4px; }

.field input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.15s var(--ease);
}

.field input::placeholder { color: var(--muted-deep); }
.field input:focus { border-color: var(--line-strong); }

.field textarea,
.field select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.7;
  outline: none;
  transition: border-color 0.15s var(--ease);
}

.field textarea { min-height: 108px; resize: vertical; }
.field textarea::placeholder { color: var(--muted-deep); }
.field textarea:focus,
.field select:focus { border-color: var(--line-strong); }
.field select option { background: var(--canvas); color: var(--ink); }

.field .field-hint { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }

.radio-row { display: flex; gap: 18px; padding: 11px 0; }
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
  margin-bottom: 0;
}
.radio-row input[type="radio"] { width: 15px; height: 15px; accent-color: var(--ink); }

.module-grid { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 6px 0 2px; }
.module-grid label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 0;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
}
.module-grid input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--ink); }

.field-row { display: grid; grid-template-columns: 1fr 132px; gap: 10px; }

/* 入驻资质材料上传 */
.doc-block {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 18px;
  margin: 6px 0 20px;
}

.doc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}

.doc-head span { font-size: 12px; color: var(--ink); letter-spacing: 0.04em; }
.doc-head span em { font-style: normal; margin-left: 4px; }
.doc-head i { font-style: normal; font-size: 10.5px; color: var(--muted); line-height: 1.65; text-align: right; max-width: 64%; }

.doc-block .field:last-child { margin-bottom: 0; }
.doc-block .field label small { margin-left: 6px; font-size: 10px; color: var(--muted); }

.doc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.field label.upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 10px 12px;
  margin-bottom: 0;
  border: 1px dashed var(--line);
  background: var(--canvas);
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.field label.upload:hover { border-color: var(--line-strong); background: var(--hover-soft); }
.field label.upload.uploaded { border-style: solid; border-color: var(--line-strong); }
.field label.upload.uploading { opacity: 0.6; pointer-events: none; }

.field label.upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
}

.upload-preview { width: 50px; height: 50px; object-fit: cover; border: 1px solid var(--line); flex: none; }
.upload-preview[hidden] { display: none; }

.upload-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.upload-tip { font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.upload-name { font-size: 11px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload-state { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--accent); }

.code-btn {
  height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s var(--ease);
}

.code-btn:hover { background: var(--hover-soft); }
.code-btn:disabled { color: var(--muted); border-color: var(--line); cursor: not-allowed; background: transparent; }

.agree {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
  margin: 6px 0 20px;
}

.agree input { accent-color: var(--ink); margin-top: 3px; flex: none; }

.agree a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--muted-deep);
}

.agree a:hover { text-decoration-color: var(--ink); }

.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 14px; }

.footer-legal a {
  display: inline;
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  transition: color 0.15s var(--ease);
}

.footer-legal a:hover { color: var(--ink); }

.submit {
  width: 100%;
  height: 46px;
  border: 1px solid #fff;
  background: var(--ink);
  color: #000;
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.submit:hover { background: transparent; color: var(--ink); }
.submit:disabled { opacity: 0.5; cursor: not-allowed; }

.msg { min-height: 18px; margin-top: 14px; font-size: 12.5px; color: var(--danger); }
.msg.ok { color: var(--accent); }

.side-card { border: 1px solid var(--line); background: var(--canvas); padding: 32px; }

.side-card h3 { font-family: var(--display-cn); font-size: 22px; font-weight: 400; letter-spacing: 0.05em; margin-bottom: 20px; }

.side-card ul { list-style: none; margin: 0; padding: 0; }

.side-card li {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
}

.side-card li:last-child { border-bottom: none; }
.side-card li b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 3px; }

.side-note { margin-top: 20px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--muted); line-height: 1.9; }

.success-card { text-align: center; padding: 18px 6px; }

.success-card .ok {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border: 1px solid var(--line-strong);
  font-size: 24px;
}

.success-card h2 { font-family: var(--display-cn); font-size: 30px; font-weight: 400; margin-bottom: 10px; }
.success-card p { color: var(--muted); font-size: 12.5px; line-height: 1.85; }

.success-card .info {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  text-align: left;
  font-size: 12.5px;
  line-height: 2;
  color: var(--ink-soft);
}

.success-card .info b { color: var(--ink); }

/* ---------- 入场动画 ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--canvas);
  pointer-events: none;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.95s cubic-bezier(0.77, 0, 0.18, 1) 0.35s;
}

.intro.intro-done { clip-path: inset(0 0 100% 0); }

.intro-inner { text-align: center; }

.intro-mark img { height: 96px; width: auto; margin: 0 auto; opacity: 0; animation: introLogo 0.9s 0.15s forwards; }

.intro-lines { display: flex; justify-content: center; gap: 7px; margin-top: 24px; }

.intro-lines span { width: 0; height: 1px; background: var(--line-strong); animation: introLine 0.7s 0.55s forwards; }
.intro-lines span:last-child { animation-delay: 0.65s; }

.intro-en {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.62em;
  text-indent: 0.62em;
  color: var(--muted);
  opacity: 0;
  animation: introFade 0.8s 0.72s forwards;
}

.intro-cn {
  margin-top: 10px;
  font-family: var(--display-cn);
  font-size: 30px;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  opacity: 0;
  animation: introCn 0.9s 0.86s forwards;
}

.intro-rule { width: 0; height: 1px; background: var(--ink); margin: 18px auto 0; animation: introRule 0.8s 1.02s forwards; }

@keyframes introLogo {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes introLine {
  to { width: 46px; }
}

@keyframes introFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@keyframes introCn {
  from { opacity: 0; letter-spacing: 0.5em; }
  to { opacity: 1; letter-spacing: 0.22em; }
}

@keyframes introRule {
  to { width: 220px; }
}

/* 首屏内容在入场结束后依次浮入 */
.hero-copy .eyebrow,
.hero-copy h1,
.hero-lead,
.hero-actions,
.hero-tags,
.hero-panel { opacity: 0; transform: translateY(16px); }

.page-ready .hero-copy .eyebrow { animation: fadeUp 0.7s 0.1s forwards; }
.page-ready .hero-copy h1 { animation: fadeUp 0.8s 0.2s forwards; }
.page-ready .hero-lead { animation: fadeUp 0.8s 0.32s forwards; }
.page-ready .hero-actions { animation: fadeUp 0.8s 0.42s forwards; }
.page-ready .hero-tags { animation: fadeUp 0.8s 0.5s forwards; }
.page-ready .hero-panel { animation: fadeUp 0.9s 0.36s forwards; }

@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

/* 滚动显现 */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { max-width: 560px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .about-side { position: static; }
  .compliance { grid-template-columns: 1fr; gap: 32px; }
  .verify-teaser { grid-template-columns: 1fr; gap: 32px; }
  .register-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-in, .legal-page .footer-in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta { margin-left: 0; }
  .nav-links {
    display: none;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 16px;
    background: var(--canvas);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 26px var(--shadow-pop);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { display: none; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .brand-text i { display: none; }
  .nav-cta { display: none; }
  .hero { padding-top: 52px; }
  .hero h1 { font-size: 36px; }
  .hero-panel { padding: 18px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .hero-stats > div:nth-child(2n) { border-right: none; }
  .cards, .steps { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .data-grid { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 26px 20px; }
  .doc-row { grid-template-columns: 1fr; }
  .doc-head { flex-direction: column; align-items: flex-start; }
  .doc-head i { text-align: left; max-width: none; }
  .cta { padding: 28px 22px; }
  .cta h2 { font-size: 24px; }
  .footer-in, .legal-page .footer-in { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .intro-mark img { height: 74px; }
  .intro-cn { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { display: none; }
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-lead,
  .hero-actions,
  .hero-tags,
  .hero-panel,
  [data-reveal] { opacity: 1; transform: none; animation: none; transition: none; }
}

/* ---------- 主题切换按钮（右下角固定，低调样式） ---------- */
.theme-toggle {
  position: fixed;
  right: 18px;
  bottom: 16px;
  z-index: 999;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  cursor: pointer;
  opacity: 0.6;
  backdrop-filter: blur(6px);
  transition: opacity 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.theme-toggle:hover {
  opacity: 1;
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface);
}

@media print { .theme-toggle { display: none; } }

/* 企业认证（页脚左侧，紧凑一行） */
.fv-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.6;
}
.fv-inline[hidden] { display: none; }
.fv-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px 2px 4px;
  border-radius: 999px;
  background: #fff3e2;
  border: 1px solid #eccb9c;
  color: #8a4b19;
  font-weight: 700;
  font-size: 11px;
  white-space: nowrap;
}
.fv-badge i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: linear-gradient(160deg, #c98a3f, #8a4b19);
  color: #fff7e6;
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  font-family: Georgia, 'Times New Roman', serif;
}
.fv-line { display: flex; flex-direction: column; gap: 2px; }
.fv-line b { color: var(--ink); font-weight: 600; }

