/* 青藤坊 · 站点样式
   设计基调：青藤绿 + 纸白，克制的圆角与阴影，重心在排版与留白。 */

:root {
  --bg: #f7f8f6;
  --card: #ffffff;
  --ink: #101915;
  --ink-2: #3c4a44;
  --muted: #6b7a73;
  --line: #e5e9e2;
  --line-2: #eff2ec;
  --brand: #1c6b52;
  --brand-deep: #14503d;
  --brand-soft: #e8f2ec;
  --accent: #c8543f;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 25, 21, .04), 0 8px 24px -12px rgba(16, 25, 21, .10);
  --wrap: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 99;
}
.skip:focus { left: 16px; top: 16px; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 248, 246, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.topbar-in {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { color: var(--brand); display: inline-flex; }
.brand-name {
  font-size: 18px; font-weight: 650; letter-spacing: .02em;
}
.nav { display: flex; gap: 4px; }
.nav-link {
  padding: 7px 14px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2);
  transition: background .18s ease, color .18s ease;
}
.nav-link:hover { background: var(--brand-soft); color: var(--brand-deep); }
.nav-link.on { background: var(--brand-soft); color: var(--brand-deep); font-weight: 550; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 40px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .08em; color: var(--brand);
  background: var(--brand-soft); border-radius: 999px; padding: 6px 14px;
  margin-bottom: 26px; font-weight: 550;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
h1.display {
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.18; letter-spacing: -.028em;
  font-weight: 640; margin: 0 0 22px; max-width: 17ch;
}
h1.display em { font-style: normal; color: var(--brand); }
.lede {
  font-size: clamp(16px, 2vw, 18.5px); color: var(--ink-2);
  max-width: 54ch; margin: 0 0 12px; line-height: 1.8;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  font-size: 13px; color: var(--ink-2); background: var(--card);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px;
}

/* ---------- 应用卡 ---------- */
.section { padding: 44px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
h2.section-title { font-size: 22px; letter-spacing: -.01em; font-weight: 620; margin: 0; }
.section-sub { font-size: 14px; color: var(--muted); margin: 0; }

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

.app-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), border-color .22s ease, box-shadow .22s ease;
}
.app-card:hover {
  transform: translateY(-3px);
  border-color: #d3ddd5;
  box-shadow: 0 2px 4px rgba(16,25,21,.05), 0 18px 40px -20px rgba(16,25,21,.18);
}
.app-top { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.app-icon {
  width: 64px; height: 64px; border-radius: 16px; object-fit: cover;
  background: var(--line-2); border: 1px solid var(--line); flex: none;
}
.app-name { font-size: 19px; font-weight: 620; letter-spacing: -.01em; margin: 0 0 4px; }
.app-sub { font-size: 13px; color: var(--muted); margin: 0; }
.app-desc { color: var(--ink-2); font-size: 15px; line-height: 1.75; margin: 0 0 20px; flex: 1; }
.app-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12.5px; color: var(--muted); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 3px 9px;
}
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--brand); color: #fff; border: 1px solid var(--brand);
  border-radius: 11px; padding: 9px 17px; font-size: 14.5px; font-weight: 550;
  cursor: pointer; transition: background .18s ease, transform .18s ease;
  font-family: inherit;
}
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn:active { transform: scale(.985); }
.btn-ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--card); border-color: #cfd9d1; color: var(--ink); }
.btn-lg { padding: 12px 22px; font-size: 15.5px; border-radius: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- 原则区 ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principle {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.principle h3 { font-size: 15.5px; margin: 0 0 8px; font-weight: 600; }
.principle p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- 应用详情 ---------- */
.app-hero { padding: 56px 0 36px; }
.app-hero-in { display: flex; gap: 28px; align-items: flex-start; }
.app-hero .app-icon { width: 96px; height: 96px; border-radius: 22px; }
.app-hero h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.025em; margin: 0 0 8px; font-weight: 640; }
.app-hero .tagline { font-size: 17px; color: var(--ink-2); margin: 0 0 18px; max-width: 48ch; }
.app-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dl-hint { font-size: 13px; color: var(--muted); }

.panel {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 17px; margin: 0 0 18px; font-weight: 620; letter-spacing: -.01em; }
.layout-2 { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; align-items: start; }

.prose p { margin: 0 0 14px; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feature-list li {
  position: relative; padding-left: 24px; color: var(--ink-2); font-size: 15px;
}
.feature-list li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--brand); opacity: .75;
}

.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.shots img { border-radius: var(--radius-sm); border: 1px solid var(--line); width: 100%; }

.kv { display: grid; grid-template-columns: 96px 1fr; gap: 10px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink-2); word-break: break-all; }

/* ---------- 版本表 ---------- */
.ver-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ver-table th {
  text-align: left; font-weight: 550; color: var(--muted); font-size: 13px;
  padding: 0 12px 10px; border-bottom: 1px solid var(--line);
}
.ver-table td { padding: 14px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.ver-table tr:last-child td { border-bottom: 0; }
.ver-table .v-num { font-variant-numeric: tabular-nums; font-weight: 550; }
.badge {
  display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 6px;
  background: var(--brand-soft); color: var(--brand-deep); font-weight: 550;
}
.badge-dim { background: var(--bg); color: var(--muted); }
.notes { color: var(--muted); font-size: 13.5px; margin: 4px 0 0; white-space: pre-line; }
.nowrap { white-space: nowrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .ver-table { min-width: 520px; }
.sha { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: var(--muted); }

/* ---------- 下载页 ---------- */
.dl-hero { padding: 52px 0 28px; }
.dl-title { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.025em; margin: 0 0 10px; font-weight: 640; }
.dl-sub { color: var(--ink-2); margin: 0 0 26px; }

/* ---------- 页脚 ---------- */
.foot { margin-top: 72px; border-top: 1px solid var(--line); background: #fbfcfa; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; padding-top: 40px; padding-bottom: 32px; flex-wrap: wrap; }
.foot-brand p { margin: 8px 0 0; font-size: 13.5px; max-width: 34ch; }
.foot-links { display: flex; gap: 22px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.foot-links a:hover { color: var(--brand); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 18px; padding-bottom: 34px; border-top: 1px solid var(--line-2);
}
.muted { color: var(--muted); }
.small { font-size: 12.5px; }

/* ---------- 后台 ---------- */
.admin-body { background: #f4f6f3; }
.admin-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.side {
  background: var(--card); border-right: 1px solid var(--line);
  padding: 22px 16px; position: sticky; top: 0; height: 100vh;
}
.side .brand { margin: 0 8px 26px; }
.side nav { display: grid; gap: 2px; }
.side-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--ink-2);
}
.side-link:hover { background: var(--brand-soft); color: var(--brand-deep); }
.side-link.on { background: var(--brand-soft); color: var(--brand-deep); font-weight: 550; }
.side-foot { position: absolute; bottom: 18px; left: 16px; right: 16px; font-size: 12.5px; }
.admin-main { padding: 32px 36px 64px; max-width: 1120px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.admin-head h1 { font-size: 22px; margin: 0; font-weight: 620; letter-spacing: -.01em; }
.admin-head .sub { font-size: 13.5px; color: var(--muted); margin: 4px 0 0; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.stat .k { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.stat .v { font-size: 28px; font-weight: 620; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat .v small { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 4px; }

.chart { display: flex; align-items: flex-end; justify-content: flex-start; gap: 4px; height: 150px; margin-top: 8px; }
.chart .bar { flex: 0 1 44px; min-width: 6px; background: var(--brand-soft); border-radius: 4px 4px 2px 2px; position: relative; min-height: 3px; }
.chart .bar span { display: none; }
.chart .bar:hover { background: #cfe3d7; }
.chart-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 8px; }

.form-grid { display: grid; gap: 16px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; font-weight: 550; }
.field input[type=text], .field input[type=password], .field input[type=date], .field textarea, .field select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 14.5px; color: var(--ink); background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(28,107,82,.12);
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); }
.check input { width: 16px; height: 16px; accent-color: var(--brand); }

.notice {
  border-radius: 10px; padding: 11px 15px; font-size: 13.5px; margin-bottom: 18px;
  background: var(--brand-soft); color: var(--brand-deep); border: 1px solid #d5e8dd;
}
.notice.warn { background: #fdf1ee; color: #8d3a2c; border-color: #f3d8d2; }
.notice.err { background: #fdf1ee; color: #8d3a2c; border-color: #f3d8d2; }

.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card {
  width: 100%; max-width: 380px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow);
}
.login-card h1 { font-size: 21px; margin: 0 0 6px; font-weight: 620; }
.login-card p.sub { margin: 0 0 24px; font-size: 13.5px; color: var(--muted); }

.list-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2);
}
.list-row:last-child { border-bottom: 0; }
.list-row .grow { flex: 1; min-width: 0; }
.list-row .name { font-weight: 550; font-size: 15px; }
.list-row .path { font-size: 12.5px; color: var(--muted); }

.empty { padding: 40px 0; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .app-grid, .principles { grid-template-columns: 1fr; }
  .layout-2 { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .side-foot { position: static; margin-top: 12px; }
  .admin-main { padding: 22px 20px 48px; }
  .app-hero-in { flex-direction: column; gap: 18px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 48px 0 26px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .foot-in { flex-direction: column; gap: 18px; }
}

/* ---------- 应用详情页扩展 ---------- */
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); padding: 26px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }

.feat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.feat-list li { display: flex; gap: 12px; }
.feat-dot { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-top: 9px; }
.feat-list strong { font-weight: 600; font-size: 15px; color: var(--ink); }
.feat-list p { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.75; }

.case-list { margin: 0; padding-left: 20px; display: grid; gap: 9px; color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }

.faq { display: grid; gap: 0; }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  cursor: pointer; padding: 14px 0; font-size: 15px; font-weight: 550; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary::after { content: '+'; color: var(--muted); font-weight: 400; font-size: 18px; }
.faq-item[open] summary::after { content: '−'; }
.faq-a { padding: 0 0 16px; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }

/* ---------- 内容页 ---------- */
.prose h2 { margin: 26px 0 10px; font-size: 19px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 20px 0 8px; font-size: 15.5px; }
.prose p { margin: 0 0 14px; line-height: 1.85; }
.prose ul { margin: 0 0 14px; }
.cta-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.cta-row .app-icon { border-radius: 14px; flex: 0 0 auto; }
.cta-text { flex: 1 1 200px; min-width: 160px; }
.cta-text p { margin: 0; }
.muted-sm { color: var(--muted); font-size: 13px; margin-top: 4px !important; }
.side-app { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.side-app:last-child { border-bottom: 0; }
.side-app img { border-radius: 10px; flex: 0 0 auto; }
.side-app span { display: flex; flex-direction: column; line-height: 1.4; }
.side-app strong { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.side-app em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.side-links a { color: var(--ink-2); font-size: 14px; }
.side-links a:hover { color: var(--brand); }

/* 后台表单纵向节奏 */
.form > .field, .form > .field-row { margin-bottom: 18px; }
.field-row .field { margin-bottom: 0; }
.form > .panel { margin-bottom: 18px; }

/* 首页阅读入口 */
.read-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.read-card { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .16s ease, transform .16s ease; }
.read-card:hover { border-color: #cfd9d2; transform: translateY(-2px); }
.read-title { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.read-desc { font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.read-more { font-size: 12.5px; color: var(--brand); margin-top: auto; }
@media (max-width: 900px) { .read-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .read-grid { grid-template-columns: 1fr; } }

/* 正文内链接与代码 */
.prose a { color: var(--brand); text-decoration: none; border-bottom: 1px solid rgba(28,107,82,.28); padding-bottom: 1px; }
.prose a:hover { border-bottom-color: var(--brand); }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: #f1f4f2; border: 1px solid #e3e9e5; border-radius: 5px; padding: 1px 5px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 0 0 14px; padding: 10px 16px; border-left: 3px solid var(--brand-soft); background: #fafbfa; color: var(--ink-2); }
.prose pre { margin: 0 0 14px; padding: 12px 16px; background: #f4f6f4; border: 1px solid #e3e9e5; border-radius: 10px; overflow-x: auto; }
.prose pre code { background: none; border: 0; padding: 0; font-size: 13px; line-height: 1.7; }
.foot-bottom .beian, .foot .beian { color: var(--muted); text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.08); }
.foot .beian:hover { color: var(--brand); border-bottom-color: rgba(28,107,82,.35); }

/* ============================================================
   视觉升级（2026-12）
   目的：在原有克制、留白的基础上，把观感推向更现代的一侧：
   冷调底色、更细的描边、更克制的阴影、等宽小标签、
   以及一层极淡的网格与光晕，代替原来偏「纸感」的暖色。
   ============================================================ */

:root {
  --bg: #f5f7f9;
  --card: #ffffff;
  --ink: #08111f;
  --ink-2: #35404f;
  --muted: #697484;
  --line: #e3e7ee;
  --line-2: #eef1f5;
  --brand: #0f766e;
  --brand-deep: #0a5b55;
  --brand-soft: #e2f3ee;
  --accent: #e0663a;
  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 1px 2px rgba(8, 17, 31, .04), 0 10px 28px -18px rgba(8, 17, 31, .18);
  --shadow-lift: 0 1px 2px rgba(8, 17, 31, .05), 0 24px 56px -28px rgba(8, 17, 31, .28);
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

body {
  background:
    radial-gradient(1100px 620px at 78% -12%, #e8f6f1 0%, rgba(232, 246, 241, 0) 58%),
    radial-gradient(900px 520px at 8% 4%, #eef1ff 0%, rgba(238, 241, 255, 0) 56%),
    var(--bg);
  background-attachment: fixed;
}

/* 顶栏：更薄的描边 + 更深一点的毛玻璃 */
.topbar { background: rgba(245, 247, 249, .78); border-bottom: 1px solid rgba(8, 17, 31, .06); }
.topbar-in { height: 64px; }
.brand { letter-spacing: .01em; }

/* 小标签：等宽 + 字距，做出「技术文档」的精确感 */
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  background: transparent; border: 1px solid var(--line);
  color: var(--brand-deep); padding: 5px 12px 5px 10px; font-weight: 500;
}
.chip {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .06em;
  background: rgba(255, 255, 255, .7); border-color: var(--line);
  color: var(--ink-2);
}

/* 大标题：字重上去、字距收紧，现代站点普遍这么做 */
h1.display { font-weight: 800; letter-spacing: -.03em; line-height: 1.14; }
h1.display em {
  color: var(--brand);
  background: linear-gradient(180deg, transparent 62%, rgba(15, 118, 110, .14) 62%);
  padding: 0 .06em;
}
.lede { color: var(--ink-2); }

.section-title { font-weight: 750; letter-spacing: -.015em; }

/* 卡片：更细的描边、更低的阴影，hover 时轻微抬起 */
.app-card, .panel, .read-card, .principle {
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.app-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.app-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: #d2dad3;
}
.app-icon { border-radius: 16px; box-shadow: 0 2px 8px -2px rgba(8, 17, 31, .18); }

/* 主按钮：深青渐变 + 内高光，比纯色更「有质感」 */
.btn {
  background: linear-gradient(180deg, #12857b 0%, var(--brand) 55%, var(--brand-deep) 100%);
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 6px 16px -8px rgba(10, 91, 85, .7);
  font-weight: 600; letter-spacing: .01em;
}
.btn:hover {
  background: linear-gradient(180deg, #13968a 0%, #0f766e 55%, var(--brand-deep) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 10px 22px -10px rgba(10, 91, 85, .8);
}
.btn-ghost {
  background: rgba(255, 255, 255, .8); box-shadow: none; border-color: var(--line);
  color: var(--ink-2); font-weight: 550;
}

/* 页脚：深色收口，页面层次立刻拉开 */
.foot {
  background: #0a1418; border-top: none; color: #cbd5d9;
}
.foot .brand, .foot .brand span { color: #f2f7f5; }
.foot-brand p, .foot p { color: #8d9aa1; }
.foot-links { color: #b6c2c7; }
.foot-links a:hover { color: #6ee7b7; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .09); color: #78868c; }
.foot-bottom .beian { color: #8d9aa1; }
.foot-bottom .beian:hover { color: #6ee7b7; }

/* 首页 hero 之下的产品图 */
.hero-shot { padding: 8px 0 0; }
.shot-frame {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(8, 17, 31, .05), 0 40px 90px -50px rgba(8, 17, 31, .5);
  background: var(--card);
}
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-cap {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; color: var(--muted);
}
.shot-cap::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 3px rgba(15, 118, 110, .12);
}

/* 应用页截图区 */
.shots { display: grid; gap: 16px; }
.shots .shot-frame { border-radius: 16px; }

/* 应用卡片里的小缩略图（可选） */
.app-card .thumb {
  margin: 14px 0 4px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-2); background: #f8fafb;
}
.app-card .thumb img { display: block; width: 100%; height: auto; }

/* 等宽数字，数据看起来更「仪表」 */
.stat .v, .num, .ver-table td, .meta-row .tag { font-variant-numeric: tabular-nums; }

/* 应用页顶部大图 */
.app-shot { padding: 6px 0 34px; }
.app-shot .shot-frame { border-radius: 20px; }

/* 卡片缩略图：裁成固定比例，保持卡面节奏一致 */
.app-card .thumb {
  height: 168px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #f6f8fa;
  margin: 6px 0 18px;
}
.app-card .thumb img { width: 100%; height: auto; object-fit: cover; object-position: top center; }

/* 底部深色行动区：给浅色页面一个收口，也提醒这里可以下载 */
.cta {
  position: relative; overflow: hidden; border-radius: 22px;
  background:
    radial-gradient(720px 320px at 82% -20%, rgba(45, 212, 191, .22) 0%, rgba(45, 212, 191, 0) 62%),
    radial-gradient(520px 300px at 6% 120%, rgba(99, 102, 241, .18) 0%, rgba(99, 102, 241, 0) 60%),
    linear-gradient(180deg, #0b1519 0%, #0a1216 100%);
  color: #e6efec;
  padding: 42px 40px;
  box-shadow: 0 1px 2px rgba(8, 17, 31, .06), 0 30px 70px -46px rgba(8, 17, 31, .7);
}
.cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(760px 380px at 70% 0%, #000 0%, transparent 76%);
  -webkit-mask-image: radial-gradient(760px 380px at 70% 0%, #000 0%, transparent 76%);
}
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-copy h2 { margin: 0 0 8px; font-size: 25px; letter-spacing: -.02em; font-weight: 750; color: #f4fbf8; }
.cta-copy p { margin: 0; font-size: 14px; color: #93a4a0; max-width: 46ch; line-height: 1.75; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-actions .btn {
  background: #12b3a0; color: #04211d; border-color: transparent;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 10px 26px -14px rgba(18, 179, 160, .9);
}
.cta-actions .btn:hover { background: #22d3bb; }
.cta-actions .btn span { color: #0b4a44; }
@media (max-width: 720px) {
  .cta { padding: 30px 24px; }
  .cta-copy h2 { font-size: 21px; }
}

/* 多张界面图：主图 + 缩略图条，点一下就换 */
.shots { position: relative; }
.shot-main { position: relative; }
.shot-main .js-shot-img { display: block; width: 100%; height: auto; border-radius: 14px; }
.shot-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(10, 20, 24, .55); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .16s ease, background .16s ease;
}
.shot-nav.prev { left: 14px; }
.shot-nav.next { right: 14px; }
.shot-main:hover .shot-nav, .shot-nav:focus-visible { opacity: 1; }
.shot-nav:hover { background: rgba(10, 20, 24, .78); }
.shot-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.shot-thumb {
  width: 132px; padding: 0; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; background: #fff; cursor: pointer;
  box-shadow: 0 1px 2px rgba(8, 17, 31, .08);
  opacity: .62; transition: opacity .16s ease, border-color .16s ease, transform .16s ease;
}
.shot-thumb img { display: block; width: 100%; height: auto; }
.shot-thumb:hover { opacity: 1; transform: translateY(-1px); }
.shot-thumb.is-on { opacity: 1; border-color: var(--brand); }
.shots .shot-cap { min-height: 1.4em; }
@media (max-width: 640px) {
  .shot-thumb { width: 96px; }
  .shot-nav { width: 34px; height: 34px; font-size: 18px; opacity: 1; }
}

/* 覆盖早期两列网格：多图改成「一张主图 + 一行缩略图」 */
.shots { display: block; }
.shots .shot-frame { width: 100%; }

/* ---------- SEO/可读性修补 ---------- */
.h1-tail { font-size: .48em; font-weight: 500; color: var(--muted); margin-left: .45em; letter-spacing: 0; }
.dl-meta { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.btn { white-space: nowrap; }
.ver-table th, .ver-table td { white-space: nowrap; }
.ver-table .notes { white-space: normal; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.hero-cta .btn-lg { padding: 15px 26px; font-size: 16px; }

@media (max-width: 640px) {
  .hero h1.display br { display: none; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .hero h1.display { font-size: 34px; }
}

/* 全部文章页 */
.article-hero { padding: 48px 0 24px; max-width: 720px; }
.article-hero h1.display { margin: 12px 0 16px; }
.article-hero .lede { font-size: 17px; color: var(--muted); line-height: 1.7; margin: 0; }
.article-group { margin: 40px 0 16px; font-size: 20px; }
.article-foot { margin: 56px 0 32px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.article-foot a { color: var(--brand); text-decoration: none; border-bottom: 1px solid rgba(28,107,82,.3); }
.side-more { margin: 10px 0 0; font-size: 14px; }
.side-more a { color: var(--brand); text-decoration: none; }

/* 看板：趋势与明细 */
.stat-note { font-size: 11.5px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.stat-unit { font-size: 15px; font-weight: 450; color: var(--muted); }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.panel-head h2 { margin-bottom: 0; }
.legend { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.legend .dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.dot-pv { background: #bfe0cf; }
.dot-uv { background: #1c6b52; }
.chart-30 { height: 170px; gap: 2px; align-items: stretch; }
.chart-30 .col { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; min-width: 0; }
.chart-30 .bar-pair { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 1px; }
.chart-30 .bar { flex: 1 1 0; min-width: 2px; border-radius: 3px 3px 0 0; }
.chart-30 .bar-pv { background: #bfe0cf; }
.chart-30 .bar-uv { background: #1c6b52; opacity: .92; }
.chart-30 .col:hover .bar-pv { background: #a7d3bb; }
.chart-30 .col:hover .bar-uv { background: #14503d; }
.chart-30 .col-label { font-size: 10px; color: var(--muted); text-align: center; margin-top: 8px; white-space: nowrap; height: 14px; letter-spacing: .02em; }
.num { font-variant-numeric: tabular-nums; font-weight: 550; }
.pct { font-size: 11.5px; color: var(--muted); font-weight: 400; margin-left: 4px; }
