/* ============================================================
   拾事 PickDone 官网 — 暖白纸面体系（v4 重设计）
   对标定调：浅色纸面底 / 排印即主视觉 / 产品界面"活"着出场
   品牌：松石青 #0f9d8f · 番茄红 #e8543f 点缀
   ============================================================ */

:root {
  --bg: #faf8f3;            /* 暖纸白 */
  --bg-2: #f3f0e9;
  --panel: #ffffff;
  --panel-2: #fcfbf8;
  --ink: #1d2528;
  --text: #22302f;
  --text-2: #55655f;
  --text-3: #8b968f;
  --line: rgba(29, 37, 40, 0.12);
  --line-2: rgba(29, 37, 40, 0.07);
  --brand: #0f9d8f;
  --brand-deep: #0b7f74;
  --brand-ink: #0a6b62;     /* 浅底上的青色文字 */
  --brand-soft: rgba(15, 157, 143, 0.10);
  --brand-glow: rgba(15, 157, 143, 0.28);
  --tomato: #e8543f;
  --tomato-soft: rgba(232, 84, 63, 0.10);
  --amber: #d9982f;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --font: -apple-system, "Segoe UI", system-ui, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, "JetBrains Mono", Menlo, monospace;
  --shadow-soft: 0 6px 24px rgba(29, 37, 40, 0.08), 0 2px 8px rgba(29, 37, 40, 0.05);
  --shadow-float: 0 24px 70px rgba(29, 37, 40, 0.16), 0 6px 20px rgba(29, 37, 40, 0.08);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: rgba(15, 157, 143, 0.22); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1152px; margin: 0 auto; padding: 0 28px; }

/* ---------- 通用 section ---------- */
section { position: relative; }
.sec { padding: 104px 0; }
.sec-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.22em;
  color: var(--brand-ink); text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 22px; height: 1px; background: var(--brand); opacity: 0.5; }
h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.24; font-weight: 900; letter-spacing: 0.005em; color: var(--ink); }
.lede { color: var(--text-2); font-size: 17px; margin-top: 16px; }
.hl { color: var(--brand-ink); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px;
  font-size: 15.5px; font-weight: 700; letter-spacing: 0.02em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn svg { flex: 0 0 auto; }
.btn-primary {
  background: linear-gradient(135deg, #14b3a3, var(--brand) 55%, var(--brand-deep));
  color: #ffffff;
  box-shadow: 0 8px 24px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(15, 157, 143, 0.38), inset 0 1px 0 rgba(255,255,255,0.28); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-soft); transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  background: rgba(250, 248, 243, 0.8);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line-2); background: rgba(250, 248, 243, 0.92); }
.nav-inner { max-width: 1152px; margin: 0 auto; padding: 0 28px; height: 68px; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 900; font-size: 17.5px; color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 8px; box-shadow: 0 2px 8px rgba(29,37,40,0.18); }
.brand small { display: block; font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.3em; color: var(--text-3); line-height: 1; margin-top: 2px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--text-2); font-size: 14.5px; transition: color 0.2s; }
.nav-links a:hover { color: var(--brand-ink); }
.nav-acts { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; background: var(--panel); }
.lang-switch button {
  border: 0; background: transparent; color: var(--text-3);
  font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-switch button.on { background: var(--brand-soft); color: var(--brand-ink); }
.gh-link { display: inline-flex; color: var(--text-2); transition: color 0.2s, transform 0.2s; }
.gh-link:hover { color: var(--ink); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero { padding: 158px 0 110px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 420px at 88% 6%, rgba(15, 157, 143, 0.10), transparent 64%),
    radial-gradient(560px 380px at 4% 82%, rgba(232, 84, 63, 0.05), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(15, 157, 143, 0.3); background: rgba(255,255,255,0.7);
  color: var(--brand-ink); border-radius: 999px;
  font-size: 13px; font-weight: 600; padding: 6px 15px; margin-bottom: 30px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand-glow); }
.hero h1 {
  font-size: clamp(36px, 4.6vw, 54px);
  line-height: 1.14; font-weight: 900; letter-spacing: 0.005em;
  color: var(--ink); margin-bottom: 26px;
}
.hero h1 .em { color: var(--brand-ink); white-space: nowrap; }
.hero-sub { color: var(--text-2); font-size: 18px; max-width: 30em; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 20px; }
.hero-meta { color: var(--text-3); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 7px 18px; }
.hero-meta b { color: var(--text-2); font-weight: 600; }
.hero-meta a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.hero-meta a:hover b { color: var(--brand-ink); }
.spark { position: absolute; pointer-events: none; color: var(--amber); animation: twinkle 3.4s ease-in-out infinite; }
.spark.s2 { color: var(--brand); animation-delay: 1.2s; }
.spark.s3 { color: var(--tomato); animation-delay: 2.1s; }
@keyframes twinkle { 0%, 100% { transform: scale(0.7) rotate(0deg); opacity: 0.35; } 50% { transform: scale(1.1) rotate(18deg); opacity: 0.9; } }

/* ---------- 活的产品 mock（CSS 重建的今日清单） ---------- */
.mock-stage { position: relative; }
.mock-blob { position: absolute; inset: -8% -12% -14% -6%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(58% 62% at 68% 30%, rgba(15, 157, 143, 0.16), transparent 70%),
    radial-gradient(46% 52% at 18% 78%, rgba(232, 84, 63, 0.10), transparent 68%),
    radial-gradient(40% 44% at 82% 86%, rgba(217, 152, 47, 0.10), transparent 66%);
  filter: blur(2px);
}
.mock {
  position: relative; z-index: 1;
  border-radius: 20px; background: var(--panel);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-float);
  padding: 22px 22px 18px;
  --m-bg: #ffffff; --m-text: #22302f; --m-sub: #8b968f; --m-line: rgba(29,37,40,0.08); --m-chip: rgba(15,157,143,0.10);
  transition: background 0.5s var(--ease);
}
.mock[data-dark] { --m-bg: #10171c; --m-text: #e9f1f0; --m-sub: #7d8f8d; --m-line: rgba(233,241,240,0.10); --m-chip: rgba(53,194,174,0.14); background: var(--m-bg); }
.mock-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--m-line); margin-bottom: 6px; }
.mock-date b { font-size: 15.5px; color: var(--m-text); font-weight: 800; display: block; line-height: 1.3; }
.mock-date span { font-size: 12px; color: var(--m-sub); }
.mock-toggle {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  border: 1px solid var(--m-line); border-radius: 999px; padding: 6px 13px;
  background: transparent; color: var(--m-sub); font-size: 12.5px; font-weight: 600;
  transition: color 0.3s, border-color 0.3s;
}
.mock-toggle:hover { color: var(--brand); border-color: var(--brand); }
.mock[data-dark] .mock-toggle { color: #b9c8c6; }
.mock-quickadd { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; padding: 11px 15px;
  border: 1px dashed var(--m-line); border-radius: 12px; color: var(--m-sub); font-size: 13.5px; }
.mock-quickadd .qa-plus { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
  background: var(--brand-soft); color: var(--brand-ink); font-weight: 800; font-size: 15px; line-height: 1; }
.mock-quickadd .qa-text { opacity: 0.85; }
.mock-row { display: flex; align-items: center; gap: 13px; padding: 13px 4px; border-bottom: 1px solid var(--m-line); cursor: default; }
.mock-row:last-of-type { border-bottom: 0; }
.mock-check { flex: 0 0 auto; width: 21px; height: 21px; border-radius: 50%; border: 2px solid #b9c2c0; position: relative; transition: all 0.25s var(--ease); }
.mock[data-dark] .mock-check { border-color: #4a5a58; }
.mock-check svg { position: absolute; inset: 3px; color: #fff; opacity: 0; transform: scale(0.4); transition: all 0.25s var(--ease); }
.mock-row.done .mock-check { background: var(--brand); border-color: var(--brand); }
.mock-row.done .mock-check svg { opacity: 1; transform: scale(1); }
.mock-row.done .mock-title { text-decoration: line-through; color: var(--m-sub); }
.mock-body { flex: 1; min-width: 0; }
.mock-title { font-size: 14.5px; font-weight: 600; color: var(--m-text); line-height: 1.4; transition: color 0.3s; }
.mock-meta { font-size: 12px; color: var(--m-sub); display: flex; align-items: center; gap: 6px; margin-top: 1px; }
.mock-meta .dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; }
.mock-meta .prio { color: var(--tomato); font-weight: 700; }
.mock-meta .sub { background: var(--m-chip); color: var(--brand-ink); border-radius: 6px; padding: 0 7px; font-weight: 600; }
.mock[data-dark] .mock-meta .sub { color: #35c2ae; }
.mock-tomato { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tomato-soft); color: var(--tomato); transition: transform 0.25s var(--ease); }
.mock-row:hover .mock-tomato { transform: scale(1.12); }
.mock-bar { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: var(--m-chip); }
.mock-ring { position: relative; width: 40px; height: 40px; flex: 0 0 auto; }
.mock-ring svg { transform: rotate(-90deg); }
.mock-ring .track { stroke: rgba(29,37,40,0.10); }
.mock[data-dark] .mock-ring .track { stroke: rgba(233,241,240,0.14); }
.mock-ring .fill { stroke: var(--brand); transition: stroke-dashoffset 1s linear; }
.mock-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 8.5px; font-weight: 800; color: var(--brand-ink); font-family: var(--mono); }
.mock[data-dark] .mock-ring b { color: #35c2ae; }
.mock-bar-text { flex: 1; min-width: 0; }
.mock-bar-text b { display: block; font-size: 13px; color: var(--m-text); }
.mock-bar-text span { font-size: 11.5px; color: var(--m-sub); }
.mock-bar-count { font-family: var(--mono); font-size: 13px; font-weight: 800; color: var(--brand-ink); }
.mock[data-dark] .mock-bar-count { color: #35c2ae; }
.mock-noise { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--m-sub); border: 1px solid var(--m-line); }

/* 悬浮小卡 */
.float-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px; padding: 11px 16px;
  box-shadow: var(--shadow-soft);
  animation: floaty 7s ease-in-out infinite;
}
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto; display: grid; place-items: center; }
.float-chip b { display: block; font-size: 14.5px; line-height: 1.3; color: var(--ink); }
.float-chip span { display: block; font-size: 11.5px; color: var(--text-3); line-height: 1.35; }
.chip-1 { top: -6%; left: -7%; animation-delay: 0.4s; }
.chip-2 { bottom: -7%; right: -7%; animation-delay: 1.6s; }
.chip-1 .ic { background: var(--tomato-soft); color: var(--tomato); }
.chip-2 .ic { background: var(--brand-soft); color: var(--brand-ink); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- 信任条 ---------- */
.trust { border-block: 1px solid var(--line-2); background: var(--bg-2); padding: 24px 0; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 46px; }
.trust-item { display: flex; align-items: center; gap: 9px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.trust-item svg { color: var(--brand); }

/* ---------- 图文支柱 ---------- */
.pillar { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; padding: 56px 0; }
.pillar.rev .pillar-copy { order: 2; }
.pillar-copy .eyebrow { margin-bottom: 14px; }
.pillar-copy .eyebrow::before { display: none; }
.pillar-copy h3 { font-size: clamp(25px, 3.2vw, 36px); font-weight: 900; line-height: 1.28; margin-bottom: 14px; color: var(--ink); }
.pillar-copy p { color: var(--text-2); margin-bottom: 22px; }
.pillar-points { list-style: none; display: grid; gap: 12px; }
.pillar-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.pillar-points li b { color: var(--ink); font-weight: 700; }
.pillar-points .pt-ic { flex: 0 0 auto; width: 21px; height: 21px; margin-top: 2px; border-radius: 7px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; }
.pillar-shot { position: relative; }
.pillar-shot::before { content: ""; position: absolute; inset: -10% -8%; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, var(--tint, rgba(15,157,143,0.12)), transparent 72%); }
.pillar-shot .frame { position: relative; }
.frame { position: relative; border-radius: var(--radius-m); border: 1px solid var(--line-2); box-shadow: var(--shadow-float); overflow: hidden; background: var(--panel); }
.frame img { width: 100%; height: auto; }
.shot-cap { position: absolute; left: 14px; bottom: 14px; z-index: 3;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--text-2); background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.shot-pair { position: relative; aspect-ratio: 1600 / 1000; }
.shot-pair .frame { position: absolute; transition: width .5s cubic-bezier(.16, 1, .3, 1), right .5s cubic-bezier(.16, 1, .3, 1), bottom .5s cubic-bezier(.16, 1, .3, 1), opacity .5s ease, box-shadow .3s ease; }
.shot-pair .frame.main { z-index: 2; right: 0; bottom: 0; width: 100%; }
.shot-pair .frame.shadowing { z-index: 1; right: -6%; bottom: -14%; width: 62%; opacity: 0.96; }
/* 点击小图把它带到前台（主/副角色互换，几何平滑过渡） */
.shot-pair .frame.shadowing { cursor: pointer; }
.shot-pair .frame.shadowing:hover { opacity: 1; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22); }
.shot-pair.swap .frame.main { z-index: 1; right: -6%; bottom: -14%; width: 62%; opacity: 0.96; cursor: pointer; }
.shot-pair.swap .frame.shadowing { z-index: 2; right: 0; bottom: 0; width: 100%; cursor: default; }
.shot-pair.swap .frame.main:hover { opacity: 1; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22); }

/* ---------- 更新日志时间线（blog.html） ---------- */
.changelog { margin-bottom: 64px; }
.cl-title { font-size: 30px; margin-bottom: 26px; }
.cl-item { position: relative; padding: 0 0 28px 34px; border-left: 2px solid var(--line-2); }
.cl-item::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--brand-ink); box-shadow: 0 0 0 4px var(--brand-soft); }
.cl-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.cl-ver { font-family: var(--mono); font-size: 19px; font-weight: 700; color: var(--brand-ink); }
.cl-date { font-size: 13.5px; color: var(--text-3); }
.cl-list { list-style: none; padding: 0; margin: 0; }
.cl-list li { position: relative; padding-left: 20px; font-size: 15px; color: var(--text-2); line-height: 1.85; }
.cl-list li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--line-2); }
.cl-list li b { color: var(--ink); }

/* ---------- 手记：卡片 + 全文弹窗（blog.html） ---------- */
.post-list { display: grid; gap: 22px; }
/* 全文节点归位到列表时必须隐身——它只允许在弹窗(.post-body)里显示,否则关弹窗后列表会多出一篇完整文章 */
.post-list .post { display: none !important; }
.post-body .post { display: block; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-m);
  padding: 30px 34px; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); border-color: var(--brand-ink); }
.post-card:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; }
.post-card .post-head { margin-bottom: 12px; }
.post-card h2 { font-size: 22px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(22px * 1.4 * 2); } /* 固定两行高,单行标题也占位,保证卡面等高 */
.post-card p { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 87px; } /* 导语固定三行高(29px 行高×3),与标题钳制配合保证卡面等高 */
.post-more { display: inline-block; margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 600; color: var(--brand-ink); }
.post-card:hover .post-more::after { content: " →"; }
.post-modal { position: fixed; inset: 0; z-index: 90; background: rgba(14, 22, 26, 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center; padding: 6vh 20px; }
.post-modal[hidden] { display: none; } /* display:flex 会压掉 hidden 的 UA display:none,必须显式压回 */
.post-modal-box { position: relative; width: min(760px, 100%); max-height: 86vh; overflow-y: auto;
  background: var(--bg, #fdfcf9); border: 1px solid var(--line-2); border-radius: var(--radius-m);
  box-shadow: var(--shadow-float); padding: 40px 46px; }
.post-modal-box .post { padding: 0; margin: 0; max-width: none; border: none; background: transparent; box-shadow: none; }
.post-body .post-img, .post .post-img { width: 100%; border-radius: 12px; border: 1px solid var(--line-2); margin: 4px 0 14px; display: block; }
.post-body h3, .post h3 { font-size: 16.5px; margin: 22px 0 8px; color: var(--ink); line-height: 1.5; }
.post-body .post-quote, .post .post-quote { margin: 14px 0; padding: 6px 0 6px 18px; border-left: 3px solid var(--brand);
  color: var(--text-2); font-size: 16px; line-height: 1.8; font-style: italic; }
.post-body .post-quote cite, .post .post-quote cite { display: block; margin-top: 6px; font-size: 13px; font-style: normal; color: var(--text-3); }
.post-body .post-refs, .post .post-refs { margin: 18px 0 4px; padding: 12px 0 0 0; border-top: 1px dashed var(--line-2);
  list-style: none; color: var(--text-3); font-size: 13.5px; line-height: 1.8; }
.post-body .post-refs li, .post .post-refs li { margin: 2px 0; padding-left: 16px; position: relative; }
.post-body .post-refs li::before, .post .post-refs li::before { content: '▸'; position: absolute; left: 0; color: var(--brand); font-size: 11px; top: 1px; }
.post-body .post-refs a, .post .post-refs a { color: var(--brand-ink); text-decoration: none; }
.post-body .post-refs a:hover, .post .post-refs a:hover { text-decoration: underline; }
.post-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--panel); color: var(--text-2); font-size: 15px;
  cursor: pointer; display: grid; place-items: center; transition: color .2s ease, border-color .2s ease, transform .1s ease; }
.post-close:hover { color: #d64545; border-color: #d64545; }
.post-close:active { transform: scale(0.92); }
@media (max-width: 640px) { .post-modal { padding: 3vh 12px; } .post-modal-box { padding: 30px 22px; } }

/* ---------- CLI 终端区（全站唯一的深色带） ---------- */
.cli-sec { background: #10171c; }
.cli-sec h2, .cli-sec h3 { color: #f0f6f5; }
.cli-sec .lede, .cli-sec .pillar-points li { color: #9db3b0; }
.cli-sec .pillar-points li b { color: #e9f1f0; }
.cli-sec .eyebrow { color: #35c2ae; }
.cli-sec .eyebrow::before, .cli-sec .eyebrow::after { background: #35c2ae; }
.cli-sec .pt-ic { background: rgba(53, 194, 174, 0.14); color: #35c2ae; }
.cli-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.terminal { border-radius: var(--radius-m); overflow: hidden; border: 1px solid rgba(233, 241, 240, 0.12); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); background: #0a0e12; }
.term-bar { display: flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, 0.04); padding: 11px 15px; border-bottom: 1px solid rgba(233,241,240,0.06); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2e3a40; }
.term-bar i:nth-child(1) { background: #e0655a; } .term-bar i:nth-child(2) { background: #d9982f; } .term-bar i:nth-child(3) { background: #519a54; }
.term-bar span { margin-left: 8px; font-family: var(--mono); font-size: 11.5px; color: #6f8483; letter-spacing: 0.06em; }
.term-body { padding: 20px 22px 24px; font-family: var(--mono); font-size: 13.5px; line-height: 2.05; }
.t-cmd { color: #e9f1f0; }
.t-cmd::before { content: "$ "; color: #35c2ae; }
.t-out { color: #7d9290; }
.t-out .k { color: #35c2ae; }
.t-caret { display: inline-block; width: 8px; height: 17px; background: #35c2ae; vertical-align: -3px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- 功能格 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { border: 1px solid var(--line-2); border-radius: var(--radius-m); background: var(--panel); padding: 26px 24px 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.feat:hover { transform: translateY(-4px); border-color: rgba(15, 157, 143, 0.45); box-shadow: var(--shadow-soft); }
.feat .f-ic { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.feat h4 { font-size: 16.5px; font-weight: 800; margin-bottom: 7px; color: var(--ink); }
.feat p { color: var(--text-2); font-size: 14px; line-height: 1.7; }

/* ---------- 对比表 ---------- */
.compare { overflow-x: auto; }
.cmp { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; background: var(--panel); }
.cmp th, .cmp td { padding: 15px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line-2); }
.cmp thead th { background: var(--bg-2); font-size: 13.5px; letter-spacing: 0.04em; color: var(--text-2); font-weight: 700; }
.cmp thead th.me { color: var(--brand-ink); background: rgba(15, 157, 143, 0.10); }
.cmp td.me { background: rgba(15, 157, 143, 0.05); color: var(--ink); font-weight: 600; }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .dim { color: var(--text-3); }
.cmp .yes { color: var(--brand-ink); font-weight: 700; }
.cmp-note { margin-top: 14px; color: var(--text-3); font-size: 12.5px; text-align: center; }

/* ---------- 隐私区 ---------- */
.priv-sec { background:
  radial-gradient(900px 420px at 18% 10%, rgba(15, 157, 143, 0.08), transparent 60%),
  var(--bg-2);
  border-block: 1px solid var(--line-2); }
.priv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.priv-card { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 30px 26px; background: var(--panel); box-shadow: var(--shadow-soft); }
.priv-card .p-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); margin-bottom: 18px; }
.priv-card h4 { font-size: 17px; margin-bottom: 8px; color: var(--ink); }
.priv-card p { color: var(--text-2); font-size: 14.5px; }

/* ---------- 下载区 ---------- */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
.dl-card { border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--panel); padding: 36px 32px; text-align: center; box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.dl-card .d-ic { width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.dl-card h4 { font-size: 19px; margin-bottom: 6px; color: var(--ink); }
.dl-card .d-tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--brand-ink); margin-bottom: 12px; }
.dl-card p { color: var(--text-2); font-size: 14px; margin-bottom: 22px; }
.dl-sys { text-align: center; color: var(--text-3); font-size: 13.5px; margin-top: 26px; }
.dl-sys a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.dl-sys a:hover { color: var(--brand-ink); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq { border: 1px solid var(--line-2); border-radius: var(--radius-m); background: var(--panel); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 19px 22px; font-weight: 700; font-size: 15.5px; color: var(--ink); transition: background 0.2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--bg-2); }
.faq summary .q-ic { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); transition: transform 0.3s var(--ease); }
.faq[open] summary .q-ic { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px 62px; color: var(--text-2); font-size: 14.5px; }

/* ---------- 底部 CTA：品牌青大色块 ---------- */
.final { text-align: center; padding: 120px 0; background: linear-gradient(160deg, #10b0a0, var(--brand) 45%, #0a6b62); }
.final h2 { color: #ffffff; margin-bottom: 16px; }
.final .lede { color: rgba(255, 255, 255, 0.85); margin-bottom: 36px; }
.final .hero-cta { justify-content: center; margin-bottom: 0; }
.final .btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: #ffffff; }
.final .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); color: #fff; }
.final .btn-primary { background: #ffffff; color: var(--brand-deep); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22); }
.final .btn-primary:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line-2); background: var(--bg-2); padding: 56px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 42px; }
.foot-brand p { color: var(--text-3); font-size: 13.5px; margin-top: 12px; max-width: 30em; }
.foot-col h5 { font-size: 13px; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 14px; font-weight: 700; }
.foot-col a { display: block; color: var(--text-2); font-size: 14px; padding: 4.5px 0; transition: color 0.2s; }
.foot-col a:hover { color: var(--brand-ink); }
.foot-bottom { border-top: 1px solid var(--line-2); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; color: var(--text-3); font-size: 12.5px; }
.foot-bottom .mono { font-family: var(--mono); }

/* ---------- 滚动浮现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip, .spark { animation: none; }
  .t-caret { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 140px; }
  .pillar { grid-template-columns: 1fr; gap: 34px; padding: 44px 0; }
  .pillar.rev .pillar-copy { order: 0; }
  .cli-grid { grid-template-columns: 1fr; gap: 36px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .priv-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .chip-1 { left: 2%; } .chip-2 { right: 2%; }
}
@media (max-width: 640px) {
  .sec { padding: 72px 0; }
  .nav-links { display: none; }
  .feat-grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 118px; }
  .float-chip { display: none; }
  .wrap { padding: 0 20px; }
  .shot-pair .frame.shadowing { display: none; }
  .faq .a { padding-left: 22px; }
}

/* ============================================================
   子页面（文档 / 发布）
   ============================================================ */
.page-hero { padding: 150px 0 46px; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 900; margin-bottom: 12px; color: var(--ink); }
.page-hero .lede { margin-top: 0; }
.back-home { display: inline-block; color: var(--text-3); font-size: 13.5px; margin-bottom: 18px; transition: color 0.2s; }
.back-home:hover { color: var(--brand-ink); }

.docs-layout { display: grid; grid-template-columns: 232px 1fr; gap: 44px; align-items: start; padding-bottom: 96px; }
.docs-side { position: sticky; top: 92px; display: grid; gap: 4px; border-left: 1px solid var(--line); padding-left: 18px; }
.docs-side a { color: var(--text-2); font-size: 14px; padding: 7px 12px; border-radius: 8px; transition: color 0.2s, background 0.2s; }
.docs-side a:hover { color: var(--brand-ink); background: var(--brand-soft); }
.docs-side a.on { color: var(--brand-ink); background: var(--brand-soft); font-weight: 700; }
.doc-sec { padding: 34px 0 10px; border-bottom: 1px solid var(--line-2); }
.doc-sec:last-child { border-bottom: 0; }
.doc-sec > h2 { font-size: 26px; margin-bottom: 18px; scroll-margin-top: 96px; color: var(--ink); }
.doc-step { display: grid; grid-template-columns: 34px 1fr; gap: 14px; margin-bottom: 20px; }
.doc-step .n { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); font-weight: 800; font-size: 14px; }
.doc-step h4 { font-size: 15.5px; margin-bottom: 4px; color: var(--ink); }
.doc-step p { color: var(--text-2); font-size: 14px; }
.doc-sub { margin: 22px 0 8px; }
.doc-sub h4 { font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.doc-sub p { color: var(--text-2); font-size: 14px; }
kbd { font-family: var(--mono); font-size: 12px; color: var(--brand-ink); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 7px; background: var(--panel); white-space: nowrap; }
.code-inline { font-family: var(--mono); font-size: 13px; color: var(--brand-ink); background: var(--brand-soft); border-radius: 6px; padding: 1px 8px; }
.path { font-family: var(--mono); font-size: 13px; color: var(--text-2); background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 1px 8px; }

/* 发布页 */
.post { max-width: 780px; margin: 0 auto 34px; border: 1px solid var(--line-2); border-radius: var(--radius-m); background: var(--panel); padding: 34px 36px 30px; scroll-margin-top: 96px; box-shadow: var(--shadow-soft); }
.post-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; }
.tag-pill { font-size: 12px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); border: 1px solid rgba(15, 157, 143, 0.25); border-radius: 999px; padding: 3px 12px; }
.post-date { color: var(--text-3); font-size: 13px; font-family: var(--mono); }
.post h2 { font-size: clamp(20px, 2.6vw, 26px); line-height: 1.4; margin-bottom: 14px; }
.post p { color: var(--text-2); font-size: 15px; margin-bottom: 12px; }
.post p:last-child { margin-bottom: 0; }

/* 文档体系 v2 组件 */
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card-link { border: 1px solid var(--line-2); border-radius: var(--radius-m); padding: 22px 22px 20px; background: var(--panel); transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; display: block; }
.card-link:hover { transform: translateY(-3px); border-color: rgba(15, 157, 143, 0.45); box-shadow: var(--shadow-soft); }
.card-link h4 { font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.card-link h4::after { content: " →"; color: var(--brand-ink); }
.card-link p { color: var(--text-2); font-size: 13.5px; }
.warn { border: 1px solid rgba(232, 84, 63, 0.4); background: var(--tomato-soft); border-radius: var(--radius-s); padding: 14px 18px; font-size: 13.5px; color: var(--text-2); margin: 16px 0; }
.warn b { color: var(--tomato); }
.note { color: var(--text-3); font-size: 13px; margin-top: 10px; }
.cmd-table td:first-child .code-inline { white-space: nowrap; }
.next-cards { margin-top: 56px; }

@media (max-width: 900px) {
  .docs-layout { grid-template-columns: 1fr; gap: 20px; }
  .docs-side { position: static; border-left: 0; padding-left: 0; grid-template-columns: repeat(2, 1fr); display: grid; }
  .post { padding: 26px 20px; }
  .cards-grid { grid-template-columns: 1fr; }
}
