/* =====================================================================
   站点基础层（本地独立预览用）
   设计令牌与 media.imcmic.com/assets/style.css 保持一致：
     --bg #fafafa / --surface #fff / --line #e8e8e6 / --text #0f1115
     --accent #f59e0b / --gold #c9a063 / --dark #14110d
   生产接入时：把页面里的 site.css 换成线上 /assets/style.css?v=<版本>，
   只保留 hosts.css 作为本模块覆盖层即可，类名与线上完全兼容。
   ===================================================================== */
:root {
  --bg: #fafafa;
  --bg-soft: #f5f5f4;
  --surface: #ffffff;
  --line: #e8e8e6;
  --text: #0f1115;
  --text-2: #3d434d;
  --muted: #6b7280;
  --hint: #9aa0aa;
  --accent: #f59e0b;
  --accent-b: #fbbf24;
  --accent-deep: #d97706;
  --accent-soft: rgba(245, 158, 11, .12);
  --accent-border: rgba(245, 158, 11, .35);
  --grad: linear-gradient(120deg, #f59e0b, #fbbf24);
  --dark: #14110d;
  --gold: #c9a063;
  --ok: #15803d;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 34px -20px rgba(15, 17, 21, .28);
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* 顶栏 / 抽屉 */
.topbar { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; line-height: 0; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-size: 16px; font-weight: 800; letter-spacing: -.3px; }
.brand-txt small { font-size: 10.5px; color: var(--hint); letter-spacing: .3px; }
.topnav { display: flex; align-items: center; gap: 3px; margin-left: 8px; flex: 1; }
.topnav a { padding: 7px 11px; border-radius: 8px; color: var(--text-2); font-size: 13.5px; white-space: nowrap; }
.topnav a:hover { background: var(--bg-soft); color: var(--text); text-decoration: none; }
.topnav a.on { color: var(--accent-deep); font-weight: 600; background: var(--accent-soft); }
.topact { display: flex; gap: 8px; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 15px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 13.5px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: .16s ease; }
.btn:hover { background: var(--bg-soft); border-color: #d8d8d4; text-decoration: none; }
.btn-primary { background: var(--grad); color: #fff; border: none; box-shadow: 0 4px 14px -4px rgba(245,158,11,.55); }
.btn-primary:hover { background: linear-gradient(120deg, #f0900b, #f5b21a); text-decoration: none; }
.btn-ghost { background: var(--surface); color: var(--text); }
.btn-lg { padding: 11px 20px; font-size: 14.5px; border-radius: 10px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.navtoggle { display: none; border: 1px solid var(--line); background: var(--surface); width: 36px; height: 36px; border-radius: 9px; cursor: pointer; color: var(--text); }
.drawer { position: fixed; inset: 0 0 0 auto; width: min(86vw, 330px); height: 100dvh; background: var(--surface); z-index: 120; border-left: 1px solid var(--line); box-shadow: -12px 0 40px rgba(0,0,0,.12); overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); }
.drawer-close { border: 0; background: transparent; font-size: 26px; cursor: pointer; color: var(--muted); line-height: 1; }
.drawer nav { display: flex; flex-direction: column; padding: 12px 14px; }
.drawer nav a { padding: 11px 12px; color: var(--text); border-radius: 9px; font-size: 15px; }
.drawer nav a:hover { background: var(--bg-soft); text-decoration: none; }
.drawer nav a.on { color: var(--accent-deep); background: var(--accent-soft); }

/* 区块 / 卡片 */
.hero { background: radial-gradient(900px 380px at 50% -6%, rgba(245,158,11,.14), transparent 60%); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 46px; padding-bottom: 38px; }
.hero-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent-border); color: var(--accent-deep); font-size: 12px; font-weight: 600; margin-bottom: 16px; }
.hero h1 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.22; letter-spacing: -1px; font-weight: 800; }
.hero-lead { font-size: 15.5px; line-height: 1.85; color: var(--text-2); margin: 14px 0 0; max-width: 760px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sec { padding: 38px 0; }
.sec-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sechead { margin-bottom: 20px; }
.sechead .kicker { display: block; color: var(--accent-deep); font-size: 12px; font-weight: 700; letter-spacing: 1.2px; margin-bottom: 6px; }
.sechead h2 { margin: 0; font-size: 22px; font-weight: 750; letter-spacing: -.4px; }
.sechead p { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.crumb { border-bottom: 1px solid var(--line); background: var(--surface); }
.crumb .wrap { display: flex; gap: 8px; align-items: center; padding-top: 11px; padding-bottom: 11px; font-size: 12.5px; color: var(--hint); }
.crumb a { color: var(--muted); }
.crumb b { color: var(--text); font-weight: 600; }

/* 页脚 */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding: 30px 0 26px; margin-top: 20px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; }
.footer a { color: var(--muted); }

@media (max-width: 980px) {
  .topnav { display: none; }
  .navtoggle { display: inline-flex; align-items: center; justify-content: center; }
  .topact { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero .wrap { padding-top: 32px; padding-bottom: 28px; }
  .sec { padding: 28px 0; }
}
