/* ═══════════════════════════════════════════════════════════════
   Miaoclaw 官网 · 设计系统
   语言与应用 theme.css 同源：暖纸 / 金棕 / 猫眼青(seal) / 像素阴影
   参考视觉：狮鬃暹罗猫徽章(暖纸底·金棕装饰·蓝色吊牌)
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* 纸 */
  --paper: #efe4c8;
  --paper-deep: #e5d5ae;
  --paper-card: #f8f2e0;
  --paper-warm: #f3ead3;
  /* 墨 */
  --ink: #2b241c;
  --ink-soft: #52483a;
  --ink-muted: #8a7c62;
  /* 金棕（参考图的装饰线与鬃毛） */
  --gold: #b98a3e;
  --gold-deep: #8a6428;
  --gold-soft: rgba(185, 138, 62, 0.16);
  /* 猫眼青（应用 seal 色，参考图的蓝吊牌/蓝眼睛） */
  --seal: #0d94b5;
  --seal-strong: #096f85;
  --seal-soft: rgba(13, 148, 181, 0.12);
  /* 暹罗面罩棕（大标题） */
  --mask: #2d2520;
  --line: #d9c9a3;
  --danger: #b3422a;
  --success: #3a8c5d;
  --shadow: rgba(43, 36, 28, 0.14);
  --pixel-shadow: rgba(43, 36, 28, 0.22);
  --radius: 10px;
  --radius-lg: 18px;

  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-serif: Georgia, "Times New Roman", "Noto Serif SC", "SimSun", serif;
  --font-song: "Noto Serif SC", "SimSun", "STSong", Georgia, serif;

  --max-w: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  /* 猫爪光标 */
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><g fill="%232d2520" stroke="%23f3ead3" stroke-width="1"><ellipse cx="13" cy="17" rx="6" ry="5"/><ellipse cx="5.5" cy="10.5" rx="2.6" ry="3.2"/><ellipse cx="11" cy="6.5" rx="2.6" ry="3.2"/><ellipse cx="17.5" cy="7.5" rx="2.6" ry="3.2"/><ellipse cx="22" cy="12.5" rx="2.4" ry="3"/></g></svg>') 6 6, auto;
}
a, button, [role="button"], summary, label {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><g fill="%230d94b5" stroke="%23f3ead3" stroke-width="1"><ellipse cx="13" cy="17" rx="6" ry="5"/><ellipse cx="5.5" cy="10.5" rx="2.6" ry="3.2"/><ellipse cx="11" cy="6.5" rx="2.6" ry="3.2"/><ellipse cx="17.5" cy="7.5" rx="2.6" ry="3.2"/><ellipse cx="22" cy="12.5" rx="2.4" ry="3"/></g></svg>') 6 6, pointer;
}

/* 纸纹理（CSS 生成，无外部图片） */
body.paper-bg {
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 1200px 700px at 50% -8%, rgba(255, 250, 232, 0.75), transparent 62%),
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    radial-gradient(rgba(138, 100, 40, 0.05) 1px, transparent 1.4px);
  background-size: 100% 100%, 22px 22px, 22px 22px, 7px 7px;
  background-attachment: fixed;
}

::selection { background: var(--seal-soft); color: var(--seal-strong); }

a { color: var(--seal-strong); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

img { max-width: 100%; display: block; }
.pixel { image-rendering: pixelated; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── 金饰线（参考图的 ◇ 分隔语言） ─────────────────────── */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold); margin: 8px 0;
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; width: 72px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament .diamond { font-size: 11px; letter-spacing: 8px; transform: translateX(4px); }

/* ── 顶部导航 ─────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--paper-warm) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  transition: box-shadow .25s ease;
}
.site-nav.scrolled { box-shadow: 0 4px 24px var(--shadow); }
.site-nav .wrap {
  display: flex; align-items: center; gap: 26px; height: 62px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--mask); font-weight: 800; }
.nav-brand:hover { text-decoration: none; }
.nav-brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav-brand .zh { font-family: var(--font-song); font-size: 19px; letter-spacing: 4px; }
.nav-brand .en { font-family: var(--font-serif); font-size: 12px; letter-spacing: 2.5px; color: var(--gold-deep); font-weight: 600; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; color: var(--ink-soft);
  font-size: 14.5px; font-weight: 500;
}
.nav-links a:hover { background: var(--gold-soft); color: var(--mask); text-decoration: none; }
.nav-links a.active { color: var(--seal-strong); font-weight: 700; }
.nav-cta {
  margin-left: 6px; padding: 9px 20px !important; border-radius: 999px;
  background: var(--seal); color: #fffdf6 !important; font-weight: 700 !important;
  box-shadow: 0 3px 10px rgba(13, 148, 181, 0.3);
  transition: transform .12s ease, box-shadow .12s ease;
}
.nav-cta:hover { background: var(--seal); transform: translateY(-1px); box-shadow: 0 5px 16px rgba(13, 148, 181, 0.38); }

/* ── 首屏 Hero ────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 108px 0 40px; overflow: hidden;
}
/* 背景拱门装饰（参考图的拱形描线 + 云纹 + 星芒） */
.hero-arch {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: .5;
}
/* 首屏徽章猫水印:回到拱门里,与纸底同色系用正片叠底融边 */
.hero-badge-art {
  position: absolute; left: 50%; top: 96px; transform: translateX(-50%);
  width: min(560px, 44vw); z-index: 1; pointer-events: none;
  mix-blend-mode: multiply; opacity: .34;
  -webkit-mask-image: radial-gradient(ellipse 58% 54% at 50% 46%, #000 52%, transparent 76%);
  mask-image: radial-gradient(ellipse 58% 54% at 50% 46%, #000 52%, transparent 76%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(380px, 44%) minmax(0, 1fr);
  gap: 48px; align-items: center;
}
.hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; letter-spacing: 3px; color: var(--gold-deep); font-weight: 700;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  border-radius: 999px; padding: 5px 16px; background: rgba(255, 252, 240, 0.5);
}
.hero-title { margin: 22px 0 0; line-height: 1.06; color: var(--mask); }
.hero-title .zh {
  display: block; font-family: var(--font-song); font-weight: 900;
  font-size: clamp(56px, 7.2vw, 96px); letter-spacing: 10px;
}
.hero-title .en {
  display: block; margin-top: 10px; font-family: var(--font-serif);
  font-size: clamp(15px, 1.6vw, 20px); letter-spacing: 9px; color: var(--gold-deep);
  font-weight: 600;
}
.hero-tagline {
  margin: 22px 0 0; font-size: clamp(19px, 2vw, 24px); font-weight: 700;
  color: var(--ink); letter-spacing: 1px;
}
.hero-sub { margin: 12px 0 0; font-size: 15.5px; color: var(--ink-soft); max-width: 42em; }
.hero-cta-row { display: flex; align-items: center; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.btn-download {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 30px; border-radius: 14px; border: none;
  background: linear-gradient(135deg, var(--seal), var(--seal-strong));
  color: #fffdf6; font-size: 17px; font-weight: 800; letter-spacing: 1px;
  box-shadow: 0 6px 22px rgba(13, 148, 181, 0.35), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .14s ease, box-shadow .14s ease;
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(13, 148, 181, 0.42), inset 0 1px 0 rgba(255,255,255,.25); text-decoration: none; color: #fffdf6; }
.btn-download .ver { font-size: 12.5px; font-weight: 600; opacity: .85; letter-spacing: .5px; }
.btn-download svg { flex-shrink: 0; }
.hero-alt-link { font-size: 13.5px; color: var(--ink-muted); }
.hero-alt-link a { color: var(--seal-strong); }
.hero-fine {
  margin-top: 14px; font-size: 13px; color: var(--ink-muted);
  display: flex; align-items: center; gap: 8px;
}
.hero-fine .dot { color: var(--gold); }

/* Hero 轮播（多图渐变） */
.hero-stage { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper-card);
  box-shadow: 0 24px 70px var(--shadow), 0 4px 16px var(--shadow),
              6px 6px 0 var(--pixel-shadow);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.hero-frame .titlebar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 6; height: 34px;
  display: flex; align-items: center; gap: 7px; padding: 0 14px;
  background: color-mix(in srgb, var(--paper-warm) 88%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
  font-size: 11.5px; color: var(--ink-muted); letter-spacing: 1px;
}
.hero-frame .titlebar .dots { display: flex; gap: 6px; }
.hero-frame .titlebar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.hero-frame .titlebar .dots i:nth-child(1) { background: #d98a7a; }
.hero-frame .titlebar .dots i:nth-child(2) { background: var(--gold); opacity: .75; }
.hero-frame .titlebar .dots i:nth-child(3) { background: var(--success); opacity: .7; }
.carousel { position: absolute; inset: 0; }
.carousel .slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.4s ease;
}
.carousel .slide.on { opacity: 1; }
.carousel .slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: top left;
  transform: scale(1);
}
.carousel .slide.on img { animation: slow-zoom 7s ease-out forwards; }
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.035); } }
.carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: 34px 20px 14px;
  background: linear-gradient(transparent, rgba(43, 36, 28, 0.55));
  color: #fff8e8; font-size: 13.5px; letter-spacing: 1px; text-align: center;
  text-shadow: 0 1px 4px rgba(43,36,28,.5);
}
/* 轮播左右箭头 + 可拖拽暗示 */
.hero-frame { touch-action: pan-y; cursor: grab; }
.hero-frame:active { cursor: grabbing; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 8;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(252, 248, 236, 0.88); color: var(--gold-deep);
  font-size: 22px; line-height: 1; padding: 0 0 3px;
  box-shadow: 0 4px 12px var(--shadow);
  opacity: 0; transition: opacity .2s ease, transform .12s ease;
}
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }
.hero-frame:hover .carousel-arrow { opacity: 1; }
.carousel-arrow:hover { transform: translateY(-50%) scale(1.08); }
@media (hover: none) { .carousel-arrow { opacity: .85; } }

.carousel-dots {
  display: flex; justify-content: center; gap: 9px; margin-top: 16px;
}
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold);
  background: transparent; padding: 0; transition: all .25s ease;
}
.carousel-dots button.on { background: var(--gold); width: 26px; border-radius: 999px; }
/* 台上蹲一只像素猫 */
.hero-cat {
  position: absolute; right: 26px; top: -44px; width: 62px; z-index: 7;
  filter: drop-shadow(0 4px 6px var(--shadow));
  animation: cat-bob 3.4s ease-in-out infinite;
}
@keyframes cat-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.hero-scroll-hint {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: var(--ink-muted); font-size: 12px; letter-spacing: 3px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  animation: hint-bob 2.2s ease-in-out infinite;
}
@keyframes hint-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* ── 信任徽章条 ───────────────────────────────────────── */
.trust-strip { padding: 26px 0 8px; }
.trust-strip .wrap {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gold) 38%, transparent);
  background: rgba(255, 252, 240, 0.55);
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  box-shadow: 0 2px 8px var(--shadow);
}
.trust-badge .ico { color: var(--gold-deep); display: inline-flex; }

/* ── 章节通用 ─────────────────────────────────────────── */
.section { padding: 96px 0 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head .kicker {
  font-size: 13px; letter-spacing: 5px; color: var(--gold-deep); font-weight: 700;
}
.section-head h2 {
  margin: 12px 0 0; font-family: var(--font-song); font-weight: 900;
  font-size: clamp(28px, 3.4vw, 40px); letter-spacing: 4px; color: var(--mask);
  line-height: 1.3;
}
.section-head .lede { margin: 14px auto 0; font-size: 15.5px; color: var(--ink-soft); }

/* ── 功能大图区（分栏:截图完整露出,文字在旁侧深色面板,零遮挡） ── */
.feature {
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px var(--shadow), 5px 5px 0 var(--pixel-shadow);
  margin-bottom: 44px;
  background: var(--paper-card);
  min-height: 430px;
}
.feature.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); }
.feature.flip .copy { order: -1; }
.feature .shot { position: relative; min-height: 300px; }
.feature .shot img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top left;
}
/* 文字面板:深色实体,与截图并排互不遮挡 */
.feature .copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px 42px; color: #fdf6e3;
  background: linear-gradient(160deg, #3d3222, #292116);
}
.feature .copy .no {
  font-family: var(--font-serif); font-size: 13px; letter-spacing: 4px;
  color: #e9c37a; font-weight: 700;
}
.feature .copy h3 {
  margin: 8px 0 0; font-family: var(--font-song); font-size: clamp(22px, 2.3vw, 29px);
  font-weight: 900; letter-spacing: 3px; line-height: 1.35;
}
.feature .copy p {
  margin: 12px 0 0; font-size: 14.5px; line-height: 1.85; color: #f3e8cd;
}
.feature .copy .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.feature .copy .tags span {
  padding: 4px 12px; border-radius: 999px; font-size: 12.5px;
  border: 1px solid rgba(243, 232, 205, 0.4); color: #f6ecd2;
  background: rgba(255, 248, 230, 0.08);
}
/* 解说猫台词:收进面板底部,绝不压截图 */
.cat-quote {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 22px; padding-top: 16px;
  border-top: 1px dashed rgba(243, 232, 205, 0.22);
  font-size: 12.8px; line-height: 1.7; color: #d9cba4;
}
/* 纸色小底片:抠图边缘的浅色像素在深色面板上会发白,垫一块暖纸底就融了 */
.cat-quote img {
  width: 42px; flex-shrink: 0; box-sizing: border-box; padding: 4px;
  background: linear-gradient(160deg, #f6efdc, #eadfc2);
  border-radius: 10px; border: 1px solid rgba(243, 232, 205, 0.35);
}

/* 手机卡:竖屏截图整机含在暖底上 */
.feature.mobile .shot { background: linear-gradient(135deg, #e9dab6, #d8c28c); }
.feature.mobile .shot img {
  object-fit: contain; object-position: center 24px;
  padding: 24px 10% 0; filter: drop-shadow(0 10px 26px rgba(43, 34, 22, 0.35));
}
/* 桌宠卡:猫蹲在画面底部,像素渲染保持锐利 */
.feature.pet .shot { background: linear-gradient(135deg, #f0e6cd, #dfcda2); }
.feature.pet .shot img { object-fit: cover; object-position: center bottom; image-rendering: pixelated; }
/* 毒舌气泡:应用同款打字机气泡的官网演绎(展示台词,示意人格) */
.feature.pet .pet-bubble {
  position: absolute; left: 50%; bottom: 56%; transform: translateX(-72%);
  max-width: 300px; padding: 12px 16px;
  background: rgba(252, 248, 236, 0.97); color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 16px; border-bottom-right-radius: 4px;
  font-size: 13px; line-height: 1.7;
  box-shadow: 0 8px 22px rgba(43, 34, 22, 0.22);
}
.feature.pet .pet-bubble::after {
  content: ""; position: absolute; right: 22px; bottom: -8px;
  border: 8px solid transparent; border-top-color: rgba(252, 248, 236, 0.97);
  border-bottom: none; border-right: none;
}

/* 更多好用的：小卡网格 */
.more-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.more-card {
  padding: 24px 22px 20px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--paper-card);
  box-shadow: 0 6px 20px var(--shadow), 3px 3px 0 var(--pixel-shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.more-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px var(--shadow), 3px 3px 0 var(--pixel-shadow); }
.more-card .ico { font-size: 24px; }
.more-card h4 { margin: 10px 0 0; font-size: 16.5px; color: var(--mask); letter-spacing: 1px; }
.more-card h4 .kbd { margin-left: 6px; }
.more-card p { margin: 7px 0 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }

.kbd {
  display: inline-block; padding: 1px 7px; border: 1px solid var(--line);
  border-bottom-width: 2px; border-radius: 5px; background: rgba(255, 253, 246, 0.8);
  color: var(--ink-muted); font-family: ui-monospace, Consolas, monospace;
  font-size: 11px; white-space: nowrap; vertical-align: 1px;
}

/* ── 像素猫巡游分隔带 ─────────────────────────────────── */
.cat-parade {
  display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(10px, 3vw, 34px); padding: 84px 24px 0; flex-wrap: wrap;
}
.cat-parade img {
  width: clamp(38px, 4.4vw, 58px);
  filter: drop-shadow(0 3px 4px var(--shadow));
  animation: parade-bob 2.8s ease-in-out infinite;
}
.cat-parade img:nth-child(2n) { width: clamp(32px, 3.6vw, 48px); }
.cat-parade img:nth-child(1) { animation-delay: 0s; }
.cat-parade img:nth-child(2) { animation-delay: .25s; }
.cat-parade img:nth-child(3) { animation-delay: .5s; }
.cat-parade img:nth-child(4) { animation-delay: .75s; }
.cat-parade img:nth-child(5) { animation-delay: 1s; }
.cat-parade img:nth-child(6) { animation-delay: 1.25s; }
.cat-parade img:nth-child(7) { animation-delay: 1.5s; }
.cat-parade img:nth-child(8) { animation-delay: 1.75s; }
.cat-parade img:nth-child(9) { animation-delay: 2s; }
@keyframes parade-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ── 费用 & 放心用 ───────────────────────────────────── */
.twin-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.big-card {
  padding: 36px 38px; border-radius: 22px; border: 1px solid var(--line);
  background: var(--paper-card);
  box-shadow: 0 12px 36px var(--shadow), 4px 4px 0 var(--pixel-shadow);
}
.big-card h3 {
  margin: 0; display: flex; align-items: center; gap: 12px;
  font-family: var(--font-song); font-size: 23px; font-weight: 900;
  letter-spacing: 2px; color: var(--mask);
}
.big-card h3 .ico { font-size: 26px; }
.big-card > p { margin: 14px 0 0; font-size: 14.5px; color: var(--ink-soft); }
.big-card ul { margin: 16px 0 0; padding: 0; list-style: none; }
.big-card li {
  position: relative; padding: 8px 0 8px 28px; font-size: 14.5px; color: var(--ink-soft);
  border-top: 1px dashed color-mix(in srgb, var(--line) 70%, transparent);
}
.big-card li:first-child { border-top: none; }
.big-card li::before {
  content: "🐾"; position: absolute; left: 0; top: 9px; font-size: 13px;
}
.big-card li strong { color: var(--ink); }
.cost-note {
  margin-top: 18px; padding: 14px 18px; border-radius: 12px;
  background: var(--gold-soft); border: 1px dashed color-mix(in srgb, var(--gold) 55%, transparent);
  font-size: 13.5px; color: var(--gold-deep); line-height: 1.7;
}

/* ── 三步上手 ─────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step-card {
  position: relative; padding: 30px 26px 26px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--paper-card);
  box-shadow: 0 8px 26px var(--shadow), 3px 3px 0 var(--pixel-shadow);
}
.step-card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fffdf3; font-family: var(--font-serif); font-size: 20px; font-weight: 800;
  box-shadow: 0 4px 10px rgba(138, 100, 40, 0.35);
}
.step-card h4 { margin: 16px 0 0; font-size: 18px; letter-spacing: 1px; color: var(--mask); }
.step-card p { margin: 8px 0 0; font-size: 13.8px; color: var(--ink-soft); line-height: 1.75; }

/* 末屏 CTA */
.final-cta {
  margin: 96px 0 0; padding: 74px 0 84px; text-align: center;
  background:
    radial-gradient(ellipse 900px 420px at 50% 0%, rgba(255, 250, 232, 0.85), transparent 70%),
    linear-gradient(var(--paper-deep), var(--paper));
  border-top: 1px solid var(--line);
}
.final-cta .badge-art {
  width: min(280px, 64vw); margin: 0 auto 22px; border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  box-shadow: 0 18px 50px var(--shadow), 0 4px 14px var(--shadow);
}
.final-cta h2 {
  margin: 0; font-family: var(--font-song); font-size: clamp(26px, 3vw, 36px);
  font-weight: 900; letter-spacing: 4px; color: var(--mask);
}
.final-cta .sub { margin: 12px 0 26px; color: var(--ink-soft); font-size: 15px; }
.mobile-entry {
  margin-top: 34px; display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 24px; border-radius: 14px; border: 1px dashed color-mix(in srgb, var(--seal) 50%, transparent);
  background: var(--seal-soft); font-size: 14px; color: var(--seal-strong);
}

/* ── 页脚 ─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line); background: var(--paper-deep);
  padding: 40px 0 34px; margin-top: 0;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-weight: 700; }
.footer-brand img { width: 30px; height: 30px; border-radius: 7px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 13.5px; margin-left: auto; }
.footer-links a { color: var(--ink-muted); }
.footer-links a:hover { color: var(--seal-strong); }
.footer-note { width: 100%; font-size: 12px; color: var(--ink-muted); }

/* ── 内页（guide / changelog）──────────────────────────── */
.page-hero { padding: 128px 0 20px; text-align: center; }
.page-hero h1 {
  margin: 10px 0 0; font-family: var(--font-song); font-weight: 900;
  font-size: clamp(30px, 4vw, 44px); letter-spacing: 6px; color: var(--mask);
}
.page-hero .lede { margin: 14px auto 0; max-width: 620px; color: var(--ink-soft); font-size: 15px; }

.doc-layout {
  display: grid; grid-template-columns: 230px minmax(0, 1fr);
  gap: 44px; align-items: start; padding: 40px 0 90px;
}
.doc-toc {
  position: sticky; top: 86px;
  padding: 18px 6px 18px 16px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: rgba(248, 242, 224, 0.7);
  font-size: 13.5px; max-height: calc(100vh - 110px); overflow-y: auto;
}
.doc-toc .toc-title { font-size: 12px; letter-spacing: 3px; color: var(--gold-deep); font-weight: 800; margin-bottom: 8px; }
.doc-toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--ink-soft); border-left: 2px solid transparent; }
.doc-toc a:hover { background: var(--gold-soft); text-decoration: none; }
.doc-toc a.on { color: var(--seal-strong); font-weight: 700; border-left-color: var(--seal); background: var(--seal-soft); border-radius: 0 8px 8px 0; }
.doc-toc a.sub { padding-left: 24px; font-size: 12.8px; }

.doc-body { min-width: 0; }
.doc-card {
  padding: 34px 40px; border-radius: 22px; border: 1px solid var(--line);
  background: var(--paper-card); box-shadow: 0 10px 32px var(--shadow), 4px 4px 0 var(--pixel-shadow);
  margin-bottom: 30px; scroll-margin-top: 90px;
}
.doc-card h2 {
  margin: 0 0 6px; display: flex; align-items: center; gap: 12px;
  font-family: var(--font-song); font-size: 24px; font-weight: 900;
  letter-spacing: 2px; color: var(--mask);
}
.doc-card h2 .ico { font-size: 24px; }
.doc-card h3 {
  margin: 26px 0 8px; font-size: 17px; color: var(--mask); letter-spacing: 1px;
  scroll-margin-top: 90px;
}
.doc-card p { margin: 10px 0; font-size: 14.8px; color: var(--ink-soft); }
.doc-card ul, .doc-card ol { margin: 10px 0; padding-left: 22px; font-size: 14.8px; color: var(--ink-soft); }
.doc-card li { margin: 6px 0; }
.doc-card li::marker { color: var(--gold); }
.doc-card strong { color: var(--ink); }
.doc-card .shot-inline {
  margin: 18px 0; border-radius: 12px; border: 1px solid var(--line);
  box-shadow: 0 8px 24px var(--shadow); overflow: hidden;
}
.doc-card table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13.8px; }
.doc-card th {
  text-align: left; padding: 9px 12px; background: var(--gold-soft);
  color: var(--gold-deep); font-weight: 700; letter-spacing: .5px;
  border-bottom: 2px solid color-mix(in srgb, var(--gold) 40%, transparent);
}
.doc-card td { padding: 9px 12px; border-bottom: 1px solid color-mix(in srgb, var(--line) 65%, transparent); color: var(--ink-soft); }
.doc-card tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; }
.tip-box {
  margin: 16px 0; padding: 14px 18px; border-radius: 12px;
  border-left: 4px solid var(--seal); background: var(--seal-soft);
  font-size: 13.8px; color: var(--ink-soft);
}
.warn-box {
  margin: 16px 0; padding: 14px 18px; border-radius: 12px;
  border-left: 4px solid var(--gold); background: var(--gold-soft);
  font-size: 13.8px; color: var(--ink-soft);
}
.faq-item { border-top: 1px dashed var(--line); padding: 4px 0; }
.faq-item:first-of-type { border-top: none; }
.faq-item summary {
  padding: 12px 4px; font-size: 15px; font-weight: 700; color: var(--ink);
  list-style: none; display: flex; align-items: center; gap: 10px;
}
.faq-item summary::before { content: "🐾"; font-size: 13px; transition: transform .2s ease; }
.faq-item[open] summary::before { transform: rotate(-28deg); }
.faq-item .faq-a { padding: 0 4px 14px 32px; font-size: 14.2px; color: var(--ink-soft); }

/* changelog 时间线 */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--gold), color-mix(in srgb, var(--gold) 20%, transparent));
}
.release { position: relative; margin-bottom: 34px; scroll-margin-top: 90px; }
.release::before {
  content: ""; position: absolute; left: -31px; top: 12px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px var(--paper);
}
.release.latest::before { background: var(--seal); border-color: var(--seal-strong); }
.release-card {
  padding: 28px 34px; border-radius: 20px; border: 1px solid var(--line);
  background: var(--paper-card); box-shadow: 0 8px 28px var(--shadow), 3px 3px 0 var(--pixel-shadow);
}
.release-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.release-head h2 {
  margin: 0; font-family: var(--font-serif); font-size: 26px; letter-spacing: 1px; color: var(--mask);
}
.badge-latest {
  padding: 3px 12px; border-radius: 999px; background: var(--seal);
  color: #fffdf6; font-size: 12px; font-weight: 700; letter-spacing: 1px;
}
.release-card h3 {
  margin: 20px 0 6px; font-size: 16px; color: var(--gold-deep); letter-spacing: 1px;
  display: flex; align-items: center; gap: 8px;
}
.release-card h3::before { content: "◆"; font-size: 9px; color: var(--gold); }
.release-card p, .release-card li { font-size: 14.3px; color: var(--ink-soft); line-height: 1.8; }
.release-card ul { margin: 8px 0; padding-left: 20px; }
.release-card li { margin: 5px 0; }
.release-card li::marker { color: var(--gold); }
.release-card strong { color: var(--ink); }

/* ── 截图灯箱(点击功能卡截图放大看原图) ──────────────── */
.feature .shot img { cursor: zoom-in; }
.shot-lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: rgba(30, 24, 16, 0.82); backdrop-filter: blur(6px);
  padding: 4vh 4vw; cursor: zoom-out;
  animation: lightbox-in .18s ease;
}
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }
.shot-lightbox img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  border-radius: 12px; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.shot-lightbox .hint {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: #f3e8cd; font-size: 12.5px; letter-spacing: 2px; opacity: .8;
}

/* ── 滚动浮现(JS 启用式:没有 JS 时内容照常全显) ──────── */
body.js-anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
body.js-anim .reveal.shown { opacity: 1; transform: none; }

/* ── 猫爪移动痕迹 ─────────────────────────────────────── */
.paw-dot {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 10px; height: 10px; opacity: 0;
  animation: paw-fade 1s ease-out forwards;
}
@keyframes paw-fade {
  0% { opacity: .55; transform: scale(.6); }
  100% { opacity: 0; transform: scale(1.25) translateY(-4px); }
}

/* ── 响应式 ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero { padding-top: 92px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta-row { justify-content: center; }
  .hero-fine { justify-content: center; }
  .hero-scroll-hint { display: none; }
  .twin-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { position: static; max-height: none; }
  .feature, .feature.flip { grid-template-columns: 1fr; min-height: auto; }
  .feature.flip .copy { order: 0; }
  .feature .shot { min-height: 240px; }
  .feature .copy { padding: 28px 26px; }
}
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-title .zh { letter-spacing: 6px; }
  .feature .shot { min-height: 200px; }
  .doc-card { padding: 24px 20px; }
  .release-card { padding: 20px 18px; }
  .timeline { padding-left: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
