/* 不周山个人工作站 · 原型设计系统 */
:root {
  --ink: #22302e;
  --ink-2: #4a5a56;
  --ink-3: #7c8a86;
  --paper: #f6f3ec;
  --card: #ffffff;
  --line: #e4ddd0;
  --accent: #3e6b5f;
  --accent-2: #b05c3f;
  --gold: #b8975a;
  --chip: #eef2ef;
  --shadow: 0 10px 30px rgba(34, 48, 46, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.artboard { width: 1440px; margin: 0 auto; overflow: hidden; position: relative; }

/* ---------- 通用 ---------- */
.wrap { width: 1120px; margin: 0 auto; }
.serif { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; font-weight: 700; letter-spacing: 0.02em; }
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 0.22em;
  color: var(--accent); border: 1px solid var(--accent);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 18px;
}
.section-title { font-size: 34px; font-weight: 700; color: var(--ink); }
.section-sub { margin-top: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.8; }
.divider { height: 1px; background: var(--line); margin: 0; }

/* ---------- 导航 ---------- */
.nav {
  height: 72px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line); background: rgba(246, 243, 236, 0.96);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 44px; height: 44px; border-radius: 10px; overflow: hidden;
  background: #efe7d6; border: 1px solid var(--line);
}
.brand .mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand .name { font-size: 18px; font-weight: 700; }
.brand .name small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 400; letter-spacing: 0.18em; }
.nav-links { display: flex; gap: 34px; font-size: 15px; color: var(--ink-2); }
.nav-links .on { color: var(--accent); font-weight: 700; }
.nav-cta {
  padding: 10px 22px; border-radius: 999px; background: var(--accent);
  color: #fff; font-size: 14px; font-weight: 700;
}

/* ---------- Hero ---------- */
.hero { padding: 88px 0 70px; position: relative; }
.hero h1 { font-size: 58px; line-height: 1.25; font-weight: 700; letter-spacing: 0.04em; }
.hero h1 .accent { color: var(--accent); }
.hero p.lead { margin-top: 22px; font-size: 18px; line-height: 2; color: var(--ink-2); max-width: 620px; }
.hero .actions { margin-top: 36px; display: flex; gap: 16px; }
.btn-primary {
  padding: 15px 34px; border-radius: 999px; background: var(--accent);
  color: #fff; font-size: 16px; font-weight: 700; box-shadow: var(--shadow);
}
.btn-ghost {
  padding: 15px 34px; border-radius: 999px; border: 1.5px solid var(--ink);
  color: var(--ink); font-size: 16px; font-weight: 700; background: transparent;
}
.hero .motto {
  margin-top: 46px; padding-left: 18px; border-left: 3px solid var(--gold);
  color: var(--ink-3); font-size: 14px; letter-spacing: 0.12em;
}
.hero-art {
  position: absolute; right: 0; top: 70px; width: 420px; height: 320px;
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
  background:
    linear-gradient(160deg, rgba(62, 107, 95, 0.92), rgba(34, 48, 46, 0.96)),
    radial-gradient(circle at 70% 20%, rgba(184, 151, 90, 0.5), transparent 55%);
  color: #fff; padding: 34px;
}
.hero-art .glyph { font-size: 120px; line-height: 1; opacity: 0.22; font-weight: 700; }
.hero-art .cap { position: absolute; left: 34px; bottom: 30px; right: 34px; }
.hero-art .cap h4 { font-size: 17px; letter-spacing: 0.12em; }
.hero-art .cap p { margin-top: 8px; font-size: 12.5px; opacity: 0.8; line-height: 1.8; }

/* ---------- 数据条 ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.stats .cell { background: var(--card); padding: 30px 28px; }
.stats .num { font-size: 34px; font-weight: 700; color: var(--accent); }
.stats .lbl { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); letter-spacing: 0.08em; }

/* ---------- 工具卡片 ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.tool-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 28px; box-shadow: var(--shadow); position: relative;
}
.tool-card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-size: 24px; color: #fff; font-weight: 700;
}
.tool-card h3 { margin-top: 20px; font-size: 21px; }
.tool-card h3 .dot { color: var(--gold); font-weight: 400; }
.tool-card .tag { margin-top: 6px; font-size: 13px; color: var(--accent-2); letter-spacing: 0.1em; }
.tool-card p { margin-top: 14px; font-size: 13.5px; line-height: 1.95; color: var(--ink-2); }
.chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 11.5px; color: var(--ink-2); background: var(--chip);
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line);
}
.chip.ok { color: var(--accent); border-color: rgba(62, 107, 95, 0.35); background: rgba(62, 107, 95, 0.08); }

/* ---------- 能力条 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 42px; }
.feat {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px;
}
.feat .n { font-size: 13px; letter-spacing: 0.2em; color: var(--gold); }
.feat h4 { margin-top: 12px; font-size: 17px; }
.feat p { margin-top: 10px; font-size: 13px; line-height: 1.9; color: var(--ink-2); }

/* ---------- 更新动态 ---------- */
.news-list { margin-top: 36px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--card); }
.news-item { display: flex; align-items: center; gap: 22px; padding: 24px 30px; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-date { width: 110px; color: var(--ink-3); font-size: 13px; letter-spacing: 0.08em; }
.news-tag {
  width: 118px; text-align: center; font-size: 12px; padding: 6px 0;
  border-radius: 999px; background: rgba(62, 107, 95, 0.1); color: var(--accent); font-weight: 700;
}
.news-tag.warn { background: rgba(176, 92, 63, 0.1); color: var(--accent-2); }
.news-text { flex: 1; font-size: 14.5px; color: var(--ink); }
.news-text small { display: block; margin-top: 6px; color: var(--ink-3); font-size: 12.5px; }

/* ---------- 页脚 ---------- */
.footer {
  margin-top: 90px; border-top: 1px solid var(--line); background: #efeae0;
  padding: 46px 0 40px;
}
.footer .cols { display: flex; justify-content: space-between; }
.footer h5 { font-size: 13px; letter-spacing: 0.18em; color: var(--ink-3); }
.footer .fbrand { font-size: 20px; font-weight: 700; }
.footer .fbrand p { margin-top: 12px; font-size: 13px; color: var(--ink-2); line-height: 2; max-width: 360px; }
.footer ul { list-style: none; margin-top: 14px; }
.footer li { margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.footer .legal {
  margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); line-height: 2;
}

/* ---------- 二级页 ---------- */
.page-head { padding: 64px 0 46px; }
.page-head h1 { font-size: 44px; }
.page-head p { margin-top: 16px; font-size: 16px; color: var(--ink-2); line-height: 2; max-width: 760px; }

.tool-row {
  display: flex; gap: 28px; background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; padding: 30px 32px; margin-bottom: 20px; box-shadow: var(--shadow);
}
.tool-row .icon { width: 64px; height: 64px; border-radius: 16px; flex: none; color:#fff; display:flex; align-items:center; justify-content:center; font-size:28px; font-weight:700; }
.tool-row .body { flex: 1; }
.tool-row h3 { font-size: 22px; }
.tool-row h3 .dot { color: var(--gold); font-weight: 400; }
.tool-row .tag { margin-top: 4px; font-size: 12.5px; color: var(--accent-2); letter-spacing: 0.12em; }
.tool-row p { margin-top: 12px; font-size: 13.5px; line-height: 2; color: var(--ink-2); max-width: 640px; }
.tool-row .meta { width: 250px; flex: none; border-left: 1px solid var(--line); padding-left: 26px; }
.tool-row .meta div { display: flex; justify-content: space-between; font-size: 12.5px; padding: 8px 0; color: var(--ink-2); }
.tool-row .meta div b { color: var(--ink); font-weight: 600; }

/* 详情页 */
.detail-hero {
  border-radius: 24px; padding: 56px 56px; color: #fff; margin-top: 10px;
  background: linear-gradient(130deg, var(--accent), #2c4f47 55%, #22302e);
  position: relative; overflow: hidden;
}
.detail-hero .ghost { position: absolute; right: 48px; top: 20px; font-size: 170px; opacity: 0.12; font-weight: 700; }
.detail-hero .eyebrow { color: #e6d9b8; border-color: rgba(230, 217, 184, 0.5); }
.detail-hero h1 { font-size: 46px; }
.detail-hero h1 .dot { color: var(--gold); font-weight: 400; }
.detail-hero p { margin-top: 18px; font-size: 16px; line-height: 2; opacity: 0.92; max-width: 640px; }
.detail-hero .actions { margin-top: 30px; display: flex; gap: 14px; }
.detail-hero .btn-primary { background: #fff; color: var(--accent); }
.detail-hero .btn-ghost { border-color: rgba(255,255,255,0.65); color: #fff; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 36px 40px; margin-top: 24px; }
.panel h2 { font-size: 24px; }
.panel .sub { margin-top: 8px; color: var(--ink-3); font-size: 13px; letter-spacing: 0.1em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.feature {
  border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; background: var(--paper);
}
.feature h4 { font-size: 15.5px; }
.feature p { margin-top: 8px; font-size: 12.5px; line-height: 1.9; color: var(--ink-2); }
table.ver { width: 100%; border-collapse: collapse; margin-top: 20px; }
table.ver th, table.ver td {
  text-align: left; font-size: 13px; padding: 13px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2);
}
table.ver th { color: var(--ink-3); font-weight: 600; letter-spacing: 0.08em; }
table.ver td:first-child { color: var(--accent); font-weight: 700; }

/* 关于页 */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 26px; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 34px 36px; }
.info-card h3 { font-size: 20px; }
.info-card p { margin-top: 14px; font-size: 13.5px; line-height: 2.1; color: var(--ink-2); }
.kv { margin-top: 6px; }
.kv .row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.kv .row:last-child { border-bottom: 0; }
.kv .row .k { color: var(--ink-3); }
.kv .row .v { color: var(--ink); font-weight: 600; }
.placeholder {
  display: inline-block; padding: 2px 10px; border-radius: 6px; font-size: 11.5px;
  background: rgba(176, 92, 63, 0.1); color: var(--accent-2); font-weight: 600; margin-left: 6px;
}

/* ===================================================================
   响应式适配层（临时站部署用，2026-10-29）
   原稿为 1440px 定宽设计图；此处只做容器流体化与断点适配，
   配色、字体、间距节奏与原设计保持一致，不做视觉改版。
   =================================================================== */

/* 链接化改造后的基础样式 */
.nav-links a,
.footer li a,
a.btn-primary,
a.btn-ghost,
a.nav-cta,
a.tool-row { text-decoration: none; }
.nav-links a,
.footer li a,
a.tool-row { color: inherit; }
a.btn-primary,
a.btn-ghost,
a.nav-cta { display: inline-block; }
a.tool-row {
  display: flex;
  transition: box-shadow .22s ease, transform .22s ease;
}
a.tool-row:hover {
  box-shadow: 0 16px 38px rgba(34, 48, 46, .14);
  transform: translateY(-1px);
}
.nav-links a:hover,
.footer li a:hover { color: var(--accent); }
.nav-links a.on { color: var(--accent); font-weight: 700; }

/* 分类条列数（原为内联样式，改为类以便断点覆盖） */
.stats.cols-4 { grid-template-columns: repeat(4, 1fr); }
.stats.cols-5 { grid-template-columns: repeat(5, 1fr); }
.feature-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- ≤1200px：容器流体化 ---------- */
@media (max-width: 1200px) {
  .artboard { width: 100%; overflow: visible; }
  .wrap { width: 100%; max-width: 1120px; padding-left: 28px; padding-right: 28px; }
  .hero h1 { font-size: 50px; }
  .hero-art { width: 360px; height: 300px; }
}

/* ---------- ≤980px：导航换行、双列栅格 ---------- */
@media (max-width: 980px) {
  .nav { height: auto; padding: 10px 0; }
  .nav .wrap { flex-wrap: wrap; row-gap: 10px; }
  .nav-links { order: 3; width: 100%; gap: 26px; }

  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 38px; }
  .hero p.lead { font-size: 16px; max-width: none; }
  .hero-art {
    position: static; width: 100%; height: auto;
    margin-top: 36px; padding: 28px;
  }
  .hero-art .glyph { font-size: 80px; }
  .hero-art .cap {
    position: static; left: auto; right: auto; bottom: auto;
    margin-top: 14px;
  }

  .stats,
  .stats.cols-4,
  .stats.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid,
  .feature-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }

  .tool-row { flex-direction: column; gap: 18px; }
  .tool-row .meta {
    width: 100%; border-left: 0; border-top: 1px solid var(--line);
    padding-left: 0; padding-top: 14px;
  }

  .footer .cols { flex-wrap: wrap; gap: 30px 44px; }
  .footer .legal { flex-direction: column; gap: 6px; }

  .news-item { flex-wrap: wrap; gap: 8px 16px; }
  .news-date,
  .news-tag { width: auto; }
  .news-tag { padding: 6px 14px; }
  .news-text { flex: 1 1 100%; }

  .page-head { padding: 48px 0 34px; }
  .page-head h1 { font-size: 34px; }
  .detail-hero h1 { font-size: 34px; }
}

/* ---------- ≤680px：单列、字号收档 ---------- */
@media (max-width: 680px) {
  .wrap { padding-left: 18px; padding-right: 18px; }

  .brand .name { font-size: 16px; }
  .brand .name small { letter-spacing: .12em; }
  .nav-cta { padding: 8px 16px; font-size: 13px; }
  .nav-links { justify-content: space-between; gap: 0; font-size: 14px; }

  .hero { padding: 40px 0 34px; }
  .hero h1 { font-size: 30px; line-height: 1.36; letter-spacing: .02em; }
  .hero p.lead { font-size: 15px; line-height: 1.9; }
  .hero .actions { flex-wrap: wrap; gap: 12px; }
  .btn-primary,
  .btn-ghost { padding: 12px 22px; font-size: 14.5px; }
  .hero .motto { margin-top: 30px; font-size: 12.5px; }
  .section-title { font-size: 24px; }
  .section-sub { font-size: 14px; }

  .stats,
  .stats.cols-4,
  .stats.cols-5 { grid-template-columns: 1fr; }
  .stats .cell { padding: 22px 20px; }
  .tools-grid,
  .feat-grid,
  .feature-grid,
  .feature-grid.cols-5 { grid-template-columns: 1fr; }

  .tool-card { padding: 24px 20px; }
  .tool-row { padding: 24px 20px; }
  .tool-row .icon { width: 54px; height: 54px; font-size: 24px; }
  .tool-row h3 { font-size: 19px; }

  .detail-hero { padding: 32px 22px; }
  .detail-hero .ghost { font-size: 110px; right: 14px; top: 6px; }
  .detail-hero .actions { flex-wrap: wrap; gap: 10px; }
  .panel { padding: 24px 20px; }
  .info-card { padding: 24px 20px; }
  .news-item { padding: 20px 18px; }

  .footer { padding: 34px 0 26px; margin-top: 56px; }
  .footer .fbrand { font-size: 17px; }
  .footer .fbrand p { font-size: 12.5px; }

  table.ver { display: block; overflow-x: auto; white-space: nowrap; }
  .kv .row,
  .tool-row .meta div { font-size: 12.5px; }
}
