/* ==========================================================================
   松南印务 · 企业官网样式
   设计基调：简约大气 / 大面积留白 / 深蓝主色 + 橙色点睛
   ========================================================================== */

:root {
  --ink: #0a1a33;
  --text: #33415c;
  --muted: #6b7a90;
  --brand: #1657e0;
  --brand-deep: #0b3ba6;
  --brand-soft: #eef3ff;
  --accent: #f97316;
  --accent-soft: #fff3e8;
  --bg: #ffffff;
  --surface: #f6f8fc;
  --surface-2: #eef2f9;
  --line: #e4e9f2;
  --line-strong: #cfd8e6;
  --ok: #16a34a;
  --danger: #dc2626;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 51, .05), 0 2px 8px rgba(10, 26, 51, .04);
  --shadow: 0 4px 12px rgba(10, 26, 51, .06), 0 16px 40px rgba(10, 26, 51, .07);
  --shadow-lg: 0 24px 64px rgba(11, 59, 166, .14);
  --container: 1180px;
  --header-h: 72px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3.1vw, 38px); letter-spacing: -.02em; }
h3 { font-size: 19px; }
h4 { font-size: 16px; }

p { margin: 0 0 1em; }

a { color: var(--brand); text-decoration: none; transition: color .18s; }
a:hover { color: var(--brand-deep); }

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

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

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

.container-narrow { max-width: 860px; }

/* ---------------------------------------------------------------- Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(10, 26, 51, .05);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -.02em;
  flex: none;
}
.brand:hover { color: var(--ink); }
.brand .brand-mark { width: 32px; height: 32px; flex: none; }
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: background .18s, color .18s;
}
.nav-links a:hover { background: var(--surface); color: var(--ink); }
.nav-links a.is-active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-user .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #4f86ff);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.nav-user .uname { font-size: 14px; font-weight: 600; color: var(--ink); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .16s, box-shadow .2s, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(22, 87, 224, .26);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(22, 87, 224, .34); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-soft { background: var(--brand-soft); color: var(--brand-deep); }
.btn-soft:hover { background: #e2ebff; color: var(--brand-deep); }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-light:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.btn-lg { height: 52px; padding: 0 30px; font-size: 16px; border-radius: 13px; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-wechat { background: #07c160; color: #fff; }
.btn-wechat:hover { background: #06ad56; color: #fff; }

.wechat-icon { width: 20px; height: 20px; flex: none; }

/* ---------------------------------------------------------------- Layout */

.section { padding: 92px 0; }
.section-tight { padding: 64px 0; }
.section-surface { background: var(--surface); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.section-head.center .eyebrow { justify-content: center; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------------------------------------------------------------- Hero */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 520px at 78% -8%, rgba(22, 87, 224, .16), transparent 62%),
    radial-gradient(760px 420px at 4% 8%, rgba(249, 115, 22, .09), transparent 60%),
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 78%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  padding: 96px 0 104px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
}
.hero h1 { margin-bottom: 22px; }
.hero .lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags span {
  font-size: 13.5px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: var(--shadow-sm);
}
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 28px 56px rgba(11, 59, 166, .16)); }

/* ---------------------------------------------------------------- Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat {
  background: #fff;
  padding: 34px 28px;
  text-align: center;
}
.stat-value {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--brand-deep);
  letter-spacing: -.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-value .unit { font-size: .5em; font-weight: 700; color: var(--brand); margin-left: 4px; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ---------------------------------------------------------------- Cards */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8e2f5; }

.svc-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 20px;
}
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 { margin-bottom: 6px; }
.svc-card .svc-en {
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.svc-card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.svc-features { display: grid; gap: 9px; }
.svc-features li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--text);
}
.svc-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1.5px var(--brand);
}
.svc-features li::after {
  content: "";
  position: absolute;
  left: 4.6px; top: 10.4px;
  width: 4.5px; height: 7px;
  border-right: 1.6px solid var(--brand);
  border-bottom: 1.6px solid var(--brand);
  transform: rotate(42deg);
}

/* 产品服务 · 详情行 */
.svc-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 30px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.svc-row:last-child { border-bottom: 0; }
.svc-row .svc-icon { margin-bottom: 0; width: 62px; height: 62px; border-radius: 18px; }
.svc-row .svc-icon svg { width: 30px; height: 30px; }
.svc-row-body h3 { font-size: 22px; margin-bottom: 4px; }
.svc-row-body > p { color: var(--muted); max-width: 760px; }
.svc-row .svc-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin-top: 18px; }

/* ---------------------------------------------------------------- Steps */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--brand);
  display: block;
  margin-bottom: 14px;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }
.step::after {
  content: "";
  position: absolute;
  top: 46px; right: -11px;
  width: 22px; height: 1px;
  background: var(--line-strong);
}
.step:last-child::after { display: none; }

/* ---------------------------------------------------------------- Feature list */

.feature {
  display: flex;
  gap: 18px;
  padding: 4px 0;
}
.feature .f-icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.feature .f-icon svg { width: 22px; height: 22px; }
.feature h4 { margin-bottom: 5px; }
.feature p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- Timeline */

.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), #cfe0ff);
  border-radius: 2px;
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -30px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
}
.tl-year {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--brand);
  margin-bottom: 4px;
}
.tl-item h4 { margin-bottom: 4px; }
.tl-item p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- CTA band */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 60px 56px;
  background:
    radial-gradient(700px 320px at 88% 10%, rgba(255, 255, 255, .16), transparent 60%),
    linear-gradient(125deg, #0b3ba6 0%, #1657e0 58%, #2f7bff 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .82); margin: 0; max-width: 520px; }
.cta-band .btn-ghost { background: #fff; border-color: #fff; color: var(--brand-deep); }
.cta-band .btn-ghost:hover { background: #f0f4ff; color: var(--brand-deep); }

/* ---------------------------------------------------------------- Page head */

.page-head {
  padding: 68px 0 56px;
  background:
    radial-gradient(900px 380px at 80% -20%, rgba(22, 87, 224, .14), transparent 62%),
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-head h1 { font-size: clamp(30px, 3.8vw, 44px); margin-bottom: 14px; }
.page-head p { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 auto; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brand); }

/* ---------------------------------------------------------------- Contact */

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.info-list { display: grid; gap: 26px; }
.info-item { display: flex; gap: 16px; }
.info-item .i-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.info-item .i-icon svg { width: 20px; height: 20px; }
.info-item .i-label { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.info-item .i-value { font-size: 15.5px; font-weight: 600; color: var(--ink); word-break: break-all; }
.info-item .i-value small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; }

/* ---------------------------------------------------------------- Form */

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.field label .req { color: var(--danger); margin-left: 2px; }
.input, .textarea, .select {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  padding: 12px 14px;
  transition: border-color .18s, box-shadow .18s;
}
.input::placeholder, .textarea::placeholder { color: #9aa7ba; }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(22, 87, 224, .12);
}
.textarea { min-height: 132px; resize: vertical; }
.field-error {
  display: none;
  font-size: 13px;
  color: var(--danger);
  margin-top: 6px;
}
.field-error.show { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.code-row { display: flex; gap: 12px; }
.code-row .input { flex: 1; }

.form-note { font-size: 13px; color: var(--muted); margin-top: 6px; }

.alert {
  display: none;
  align-items: flex-start;
  gap: 10px;
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 18px;
  border: 1px solid transparent;
}
.alert.show { display: flex; }
.alert-error { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.alert-ok { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.alert-info { background: var(--brand-soft); border-color: #d6e4ff; color: var(--brand-deep); }

/* ---------------------------------------------------------------- Auth */

.auth-wrap {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--surface);
}
.auth-aside {
  position: relative;
  overflow: hidden;
  flex: 1 1 700px;
  max-width: 780px;
  height: min(580px, calc(100vh - var(--header-h) - 80px));
  padding: 56px 56px;
  color: #fff;
  background:
    radial-gradient(620px 320px at 82% 8%, rgba(255, 255, 255, .16), transparent 62%),
    linear-gradient(150deg, #072a70 0%, #1657e0 62%, #3b82f6 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: var(--shadow);
}
.auth-aside h2 { color: #fff; font-size: 32px; margin-bottom: 14px; }
.auth-aside p { color: rgba(255, 255, 255, .82); }
.auth-aside .aside-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.auth-aside .aside-foot { font-size: 13px; color: rgba(255, 255, 255, .5); }
.auth-aside .aside-points { display: grid; gap: 16px; margin-top: 34px; }
.auth-aside .aside-points li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: rgba(255, 255, 255, .9);
}
.auth-aside .aside-points .dot {
  width: 22px; height: 22px; flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: grid; place-items: center;
  font-size: 12px;
}
.auth-main {
  flex: 1 1 440px;
  max-width: 500px;
  height: min(580px, calc(100vh - var(--header-h) - 80px));
  background: #fff;
  border: 1px solid var(--line);
  border-left: none;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  padding: 40px 0;
}
.auth-card {
  width: 100%;
  max-width: 400px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 28px;
  box-shadow: none;
}
.auth-card h2 { font-size: 25px; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--surface-2);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 26px;
}
.tab {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 10px;
  border-radius: 9px;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
}
.tab.is-active { background: #fff; color: var(--brand-deep); box-shadow: var(--shadow-sm); }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  margin: 24px 0;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---------------------------------------------------------------- Member */

.member-head {
  background: linear-gradient(160deg, #f7f9ff, #ffffff);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
}
.member-id { display: flex; align-items: center; gap: 20px; }
.member-id .avatar-xl {
  width: 68px; height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand), #4f86ff);
  color: #fff;
  display: grid; place-items: center;
  font-size: 26px; font-weight: 800;
  flex: none;
  overflow: hidden;
}
.member-id .avatar-xl img { width: 100%; height: 100%; object-fit: cover; }
.member-id h1 { font-size: 26px; margin-bottom: 4px; }
.member-id .sub { color: var(--muted); font-size: 14.5px; }

.member-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.panel-title {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 22px;
}
.panel-title h3 { margin: 0; }

.upload-box {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  background: var(--surface);
  transition: border-color .2s, background .2s;
  cursor: pointer;
}
.upload-box:hover, .upload-box.is-drag { border-color: var(--brand); background: var(--brand-soft); }
.upload-box svg { width: 34px; height: 34px; margin: 0 auto 12px; color: var(--brand); }
.upload-box p { margin: 0 0 4px; font-weight: 600; color: var(--ink); font-size: 15px; }
.upload-box small { color: var(--muted); font-size: 13px; }

.file-list { display: grid; gap: 12px; margin-top: 22px; }
.file-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}
.file-item .f-badge {
  width: 42px; height: 42px; flex: none;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
  overflow: hidden;
}
.file-item .f-badge img { width: 100%; height: 100%; object-fit: cover; }
.file-item .f-meta { min-width: 0; flex: 1; }
.file-item .f-name {
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.file-item .f-sub { font-size: 12.5px; color: var(--muted); }
.file-item .f-actions { display: flex; gap: 8px; flex: none; }
.icon-btn {
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  display: grid; place-items: center;
  cursor: pointer;
  transition: border-color .18s, color .18s, background .18s;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn.danger:hover { border-color: #fca5a5; color: var(--danger); background: #fef2f2; }
.icon-btn svg { width: 16px; height: 16px; }

.empty-state {
  text-align: center;
  padding: 34px 20px;
  color: var(--muted);
  font-size: 14.5px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}
.empty-state svg { width: 32px; height: 32px; margin: 0 auto 10px; color: var(--line-strong); }

.msg-item {
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
  margin-bottom: 12px;
}
.msg-item .m-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.msg-item .m-body { font-size: 14.5px; color: var(--text); white-space: pre-wrap; }

.skeleton {
  border-radius: 12px;
  background: linear-gradient(90deg, #f0f3f9 25%, #e6ebf4 37%, #f0f3f9 63%);
  background-size: 400% 100%;
  animation: shimmer 1.3s ease infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0 } 100% { background-position: 0 0 } }

/* ---------------------------------------------------------------- Footer */

.site-footer {
  background: #08182f;
  color: rgba(255, 255, 255, .66);
  padding: 68px 0 32px;
  font-size: 14.5px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand small { color: rgba(255, 255, 255, .5); }
.footer-about { max-width: 300px; color: rgba(255, 255, 255, .6); }
.footer-col h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0 0 18px;
}
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: rgba(255, 255, 255, .66); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

/* 备案号：页脚底部居中，可点击跳转工信部 */
.footer-legal {
  padding: 12px 0 2px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .42);
}
.footer-legal a {
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, .28);
  padding-bottom: 1px;
}
.footer-legal a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .6);
}
.footer-legal .legal-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, .22);
}

/* ---------------------------------------------------------------- Toast */

.toast-host {
  position: fixed;
  top: 88px; right: 24px;
  z-index: 200;
  display: grid;
  gap: 10px;
  pointer-events: none;
}
.toast {
  min-width: 240px;
  max-width: 360px;
  background: #0a1a33;
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: toastIn .26s ease;
}
.toast.ok { background: #0f5132; }
.toast.err { background: #7f1d1d; }
@keyframes toastIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- Reveal */

/* 仅在 JS 可用时才隐藏待入场元素，避免无 JS 环境下内容永远不可见 */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- Divider */

.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

/* ---------------------------------------------------------------- Responsive */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 72px 0 80px; }
  .hero-art { max-width: 520px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .member-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 14px 20px 22px;
    box-shadow: 0 20px 40px rgba(10, 26, 51, .08);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-toggle { display: grid; }
  .nav-actions { margin-left: 0; }
  .nav .nav-actions { display: none; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .auth-wrap { padding: 32px 16px; }
  .auth-aside { display: none; }
  .auth-main { flex: none; width: 100%; max-width: 440px; height: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 0; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 44px 32px; }
  .svc-row { grid-template-columns: 1fr; gap: 20px; }
  .section { padding: 68px 0; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .panel { padding: 26px 22px; }
  .auth-card { padding: 0 8px; }
  .svc-row .svc-features { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .toast-host { left: 16px; right: 16px; top: 78px; }
  .toast { max-width: none; }
  .brand small { display: none; }
  .page-head { padding: 48px 0 40px; }
}
