/* Luna 官网 v5（2026-11-19，方向 A「纸与线」）
   暖白纸色底、细线、留白；标题用无衬线细体；页头是 LunaCreator 字标。
   重点色只有一个：主按钮是墨黑（深色主题里反过来是浅色），珊瑚红只做小处点缀（编号、Pro 标记、首发价）。
   v4 的首屏、轨道和演示样式还留在下面，英文版首页仍在用。 */

:root {
  --bg: #fbf9f4;
  --bg-2: #f5f1e9;
  --bg-3: #ebe6db;
  --line: #e6e0d4;
  --line-strong: #d2cbbc;
  --ink: #1f1d2b;
  --ink-2: #5c5850;
  --ink-3: #857f74;
  --coral: #e8592a;
  --coral-ink: #c2471c;
  --coral-soft: #ffe6dc;
  --on-coral: #ffffff;
  --dawn-from: #fbf6ec;
  --dawn-to: #f9efe3;
  --halo-coral: rgba(255, 178, 140, .34);
  --halo-violet: rgba(240, 214, 170, .34);
  --invert-bg: #1f1d2b;
  --invert-ink: #f6f4fa;
  --invert-ink-2: #a9a4b8;
  --shot-line: rgba(31, 29, 43, .10);
  --shot-shadow: 0 30px 80px -30px rgba(31, 29, 43, .30);
  --header-bg: rgba(251, 249, 244, .78);

  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", Georgia, "Songti SC", STSong, "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", SimSun, serif;
  --orbit-line: rgba(120, 90, 60, .2);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14131a;
    --bg-2: #1b1a22;
    --bg-3: #25232d;
    --line: #2c2a35;
    --line-strong: #3c3946;
    --ink: #f4f1ea;
    --ink-2: #b4afa6;
    --ink-3: #7f7a72;
    --coral: #ff6b3d;
    --coral-ink: #ff8f6a;
    --coral-soft: rgba(255, 107, 61, .16);
    --on-coral: #ffffff;
    --dawn-from: #1a1820;
    --dawn-to: #1e1a1d;
    --halo-coral: rgba(255, 150, 110, .14);
    --halo-violet: rgba(240, 214, 170, .10);
    --orbit-line: rgba(255, 220, 190, .13);
    --invert-bg: #1e1b29;
    --invert-ink: #f3f1f7;
    --invert-ink-2: #9d98ad;
    --shot-line: rgba(255, 255, 255, .10);
    --shot-shadow: 0 30px 90px -30px rgba(0, 0, 0, .7);
    --header-bg: rgba(20, 19, 26, .78);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14131a;
  --bg-2: #1b1a22;
  --bg-3: #25232d;
  --line: #2c2a35;
  --line-strong: #3c3946;
  --ink: #f4f1ea;
  --ink-2: #b4afa6;
  --ink-3: #7f7a72;
  --coral: #ff6b3d;
  --coral-ink: #ff8f6a;
  --coral-soft: rgba(255, 107, 61, .16);
  --on-coral: #ffffff;
  --dawn-from: #1a1820;
  --dawn-to: #1e1a1d;
  --halo-coral: rgba(255, 150, 110, .14);
  --halo-violet: rgba(240, 214, 170, .10);
  --orbit-line: rgba(255, 220, 190, .13);
  --invert-bg: #1e1b29;
  --invert-ink: #f3f1f7;
  --invert-ink-2: #9d98ad;
  --shot-line: rgba(255, 255, 255, .10);
  --shot-shadow: 0 30px 90px -30px rgba(0, 0, 0, .7);
  --header-bg: rgba(20, 19, 26, .78);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font); font-weight: 500; text-wrap: balance; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

.proto-bar {
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
}

/* ---------- 页头 ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; line-height: 0; }
.brand img { height: 34px; width: auto; margin-left: -8px; }
.brand .on-dark { display: none; }
:root[data-theme="dark"] .brand .on-light { display: none; }
:root[data-theme="dark"] .brand .on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .on-light { display: none; }
  :root:not([data-theme="light"]) .brand .on-dark { display: block; }
}
.links { display: flex; gap: 24px; font-size: 14px; }
.links a { color: var(--ink-2); text-decoration: none; }
.links a:hover, .links a[aria-current="page"] { color: var(--ink); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  padding: 0;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn .sun { display: none; }
:root[data-theme="dark"] .icon-btn .sun { display: block; }
:root[data-theme="dark"] .icon-btn .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn .sun { display: block; }
  :root:not([data-theme="light"]) .icon-btn .moon { display: none; }
}
@media (max-width: 640px) { .links { display: none; } }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  background: var(--ink);
  color: var(--bg);
  transition: opacity .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { opacity: .86; }
.btn.small { height: 34px; padding: 0 16px; font-size: 14px; border-radius: 999px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { opacity: 1; border-color: var(--ink-3); }
.btn svg { width: 16px; height: 16px; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

/* ---------- 通用排版 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: .02em;
}
.eyebrow { background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.kicker { font-size: 13px; letter-spacing: .08em; color: var(--coral-ink); }
.section { padding: 128px 0; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head h2 {
  font-weight: 300;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.18;
  letter-spacing: -.01em;
  margin: 14px 0 16px;
}
.section-head p { color: var(--ink-2); font-size: 17px; max-width: 32em; }
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
}
.muted { color: var(--ink-3); }
.todo { color: var(--coral-ink); font-size: .92em; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding: 112px 0 0;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}
.hero h1 {
  font-size: clamp(44px, 8.4vw, 92px);
  line-height: 1.06;
  letter-spacing: .01em;
  font-weight: 700;
  margin: 22px auto 22px;
}
.hero .vision {
  margin: -8px auto 18px;
  font-family: "Iowan Old Style", Georgia, serif;
  font-style: italic;
  font-size: clamp(15px, 1.7vw, 19px);
  letter-spacing: .01em;
  color: var(--ink-2);
}
.hero .steps-line {
  font-size: clamp(16px, 2.2vw, 21px);
  color: var(--ink-2);
  letter-spacing: .14em;
}
/* 五个词之间的分隔：静态时是一个点；动起来以后点淡出，换成一小段连接线（占的宽度一样，不会挪动文字） */
.hero .steps-line i {
  position: relative;
  display: inline-block;
  width: 1.5em;
  margin: 0 .1em 0 -.04em;
  font-style: normal;
  color: var(--ink-3);
  letter-spacing: 0;
  text-align: center;
  transition: color .4s ease;
}
.hero .steps-line i::before,
.hero .steps-line i::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 1.5px;
  margin-top: -.75px;
  border-radius: 2px;
  opacity: 0;
  transition: opacity .5s ease;
}
.hero .steps-line i::before { background: var(--line-strong); }
.hero .steps-line i::after {
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .7s cubic-bezier(.4, 0, .2, 1), opacity .5s ease;
}
.hero .steps-line span { transition: color .5s ease; }
/* 手机上五个词必须在一行：字小一点、字距和连接线短一点；nowrap 兜底 */
.hero .steps-line { white-space: nowrap; }
@media (max-width: 480px) {
  .hero .steps-line { font-size: clamp(14px, 4.2vw, 17px); letter-spacing: .08em; }
  .hero .steps-line i { width: 1.15em; }
}

/* 首屏动效（hero.js 加上 is-live 以后才有）：五个词依次亮起，连接线像进度条一样往后走，走完一轮再从"选题"开始 */
.hero .steps-line.is-live i { color: transparent; }
.hero .steps-line.is-live i::before,
.hero .steps-line.is-live i::after { opacity: 1; }
.hero .steps-line.is-live span { color: var(--ink-3); }
.hero .steps-line.is-live span.done { color: var(--ink-2); }
.hero .steps-line.is-live span.on { color: var(--coral-ink); }
.hero .steps-line.is-live i.done::after { transform: scaleX(1); }
.hero .steps-line.is-live.resting i::after { opacity: 0; }

/* 背景：星图。很细的同心轨道线一直延伸到页面外，再铺一层很淡的纸纹 */
.hero::before,
.hero::after { content: ""; position: absolute; pointer-events: none; }
.hero::before {
  left: -4%;
  right: -4%;
  top: -40px;
  height: 1120px;
  background: repeating-radial-gradient(circle at 50% 700px, transparent 0 87px, var(--orbit-line) 87px 88px);
  -webkit-mask-image: radial-gradient(78% 80% at 50% 58%, #000 45%, transparent 100%);
  mask-image: radial-gradient(78% 80% at 50% 58%, #000 45%, transparent 100%);
}
.hero::after { inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .2 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: .1; }

/* 轨道上的五步：一道光沿着最外圈走，走到哪一步，哪一步亮。和上面的五个词、下面的演示同一个节奏 */
.orbit {
  --unit: 31deg;
  position: absolute;
  left: 50%;
  top: 0;
  width: 1400px;
  height: 700px;
  margin-left: -700px;
  pointer-events: none;
  overflow: visible;
}
.orbit-node { transform: rotate(calc(var(--i) * var(--unit))); }
.orbit-node circle { fill: var(--bg); stroke: var(--ink-3); stroke-width: 1; transition: fill .5s ease, stroke .5s ease; }
.orbit-node text {
  transform: translateY(-616px) rotate(calc(var(--i) * var(--unit) * -1)) translateY(-14px);
  text-anchor: middle;
  font: 13px var(--font);
  letter-spacing: .1em;
  fill: var(--ink-3);
  transition: fill .5s ease;
}
.orbit-node.done circle { fill: var(--ink-3); }
.orbit-node.on circle { fill: var(--coral); stroke: var(--coral); }
.orbit-node.on text { fill: var(--coral-ink); }
.orbit-comet {
  opacity: 0;
  transform: rotate(calc(var(--pos, -2) * var(--unit)));
  transition: transform 1.6s cubic-bezier(.45, 0, .2, 1), opacity .6s ease;
}
.orbit.is-on .orbit-comet { opacity: 1; }
.orbit.jump .orbit-comet { transition: none; }
@media (max-width: 1180px) { .orbit { --unit: 14deg; } }
@media (max-width: 760px) {
  .orbit { --unit: 8deg; }
  .orbit-node text { font-size: 12px; letter-spacing: .04em; }
}
@media (max-width: 420px) { .orbit { --unit: 6.5deg; } }
@media (max-width: 340px) { .orbit { --unit: 5.5deg; } }
.hero > .wrap { position: relative; z-index: 1; }

/* 开场：几行字轻轻依次浮上来。标题一直是不透明的（只上移几像素），不影响首屏绘制 */
@keyframes demo-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hero-rise { from { transform: translateY(10px); } }
@keyframes hero-fade-rise { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow { animation: hero-fade-rise .7s cubic-bezier(.2, .7, .2, 1) backwards; }
  .hero h1 { animation: hero-rise .9s cubic-bezier(.2, .7, .2, 1) backwards; }
  .hero .vision { animation: hero-fade-rise .8s .06s cubic-bezier(.2, .7, .2, 1) backwards; }
  .hero .steps-line { animation: hero-fade-rise .8s .12s cubic-bezier(.2, .7, .2, 1) backwards; }
  .hero .cta-row { animation: hero-fade-rise .8s .22s cubic-bezier(.2, .7, .2, 1) backwards; }
  .hero .fine { animation: hero-fade-rise .8s .3s cubic-bezier(.2, .7, .2, 1) backwards; }
  .demo.is-auto .demo-tab[aria-selected="true"] .demo-bar { animation: demo-progress var(--demo-step, 5.5s) linear both; }
  .hero.is-paused .demo-bar { animation-play-state: paused !important; }
}
.hero .cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero .fine { margin-top: 16px; font-size: 13px; color: var(--ink-2); }
/* ---------- 首屏产品演示：五步可切换，界面是真文字，手机上也看得清 ---------- */
.demo { position: relative; margin: 64px auto 0; max-width: 1040px; text-align: left; }
.demo-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.demo-tab {
  position: relative;
  appearance: none;
  border: 0;
  background: none;
  padding: 12px 4px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink-2);
  cursor: pointer;
  border-radius: 10px 10px 0 0;
}
.demo-tab i { font-family: Georgia, "Iowan Old Style", serif; font-style: italic; margin-right: .4em; color: var(--ink-3); }
.demo-tab:hover { color: var(--ink); }
.demo-tab:focus-visible { outline: 2px solid var(--coral); outline-offset: -2px; }
.demo-tab[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.demo-tab[aria-selected="true"] i { color: var(--coral-ink); }
.demo-bar { position: absolute; left: 8%; right: 8%; bottom: 4px; height: 2px; border-radius: 2px; background: var(--coral); transform: scaleX(0); transform-origin: 0 50%; }
.demo-tab[aria-selected="true"] .demo-bar { transform: scaleX(1); }
.demo-win {
  display: grid;
  grid-template-columns: 168px 1fr;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--bg);
  overflow: hidden;
  box-shadow: var(--shot-shadow);
}
.demo-side { padding: 20px 14px; border-right: 1px solid var(--line); background: var(--bg-2); }
.demo-side img { height: 20px; width: auto; margin: 0 0 18px 8px; }
.demo-side .on-dark { display: none; }
.demo-side ol { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ink-2); }
.demo-side li { padding: 7px 10px; border-radius: 8px; transition: background .3s ease, color .3s ease; }
.demo-side li i { font-family: Georgia, serif; margin-right: .6em; color: var(--ink-3); }
.demo-side li.on { background: var(--bg); color: var(--ink); font-weight: 600; }
.demo-panels { padding: 22px 24px 24px; min-width: 0; font-size: 14.5px; line-height: 1.6; }
.demo-panel + .demo-panel { margin-top: 28px; }
.js .demo-panels { display: grid; }
.js .demo-panel { grid-area: 1 / 1; margin: 0; min-width: 0; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s .35s; }
.js .demo-panel.on { visibility: visible; opacity: 1; transition: opacity .45s ease; }
.d-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 14px; }
.d-head b { font-size: 17px; margin-right: auto; }
.d-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--bg); }
.d-card > b { display: block; font-size: 15px; line-height: 1.45; }
.d-card p { color: var(--ink-2); font-size: 13.5px; margin-top: 4px; }
.d-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.d-cards .d-card { display: flex; flex-direction: column; }
.d-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: auto; padding-top: 12px; font-size: 13px; }
.d-acts .d-btn { margin-left: auto; }
.d-btn { display: inline-block; padding: 4px 12px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 13px; white-space: nowrap; }
.d-link { color: var(--coral-ink); font-size: 13px; }
.d-mute { color: var(--ink-3); font-size: 13px; }
.d-ai { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--coral-soft); color: var(--coral-ink); font-size: 12px; font-weight: 400; white-space: nowrap; }
.d-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.d-mt { margin-top: 12px; }
.d-split { display: grid; grid-template-columns: 3fr 2fr; gap: 10px; }
.d-card p.d-script { color: var(--ink); font-size: 14.5px; line-height: 1.7; margin: 0 0 8px; }
.d-shots { margin: 0; padding-left: 1.3em; font-size: 13.5px; color: var(--ink-2); }
.d-rows { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.d-row { display: grid; grid-template-columns: 4.5em 1fr auto; gap: 8px; align-items: center; padding: 9px 14px; font-size: 14px; }
.d-row + .d-row { border-top: 1px solid var(--line); }
.d-row span { color: var(--ink-3); font-size: 13px; }
.d-row em { font-style: normal; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.d-row em.ok { color: #2f7d4f; }
.d-row em.wait { color: var(--coral-ink); }
.d-note { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.d-inbox { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.d-list { display: grid; gap: 6px; align-content: start; }
.d-msg { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; line-height: 1.5; }
.d-msg.on { border-color: var(--coral); }
.d-msg em { font-style: normal; font-size: 12px; color: var(--coral-ink); margin-right: 6px; }
.d-reply { display: flex; flex-direction: column; }
.d-soon { font-size: 12px; color: var(--ink-3); }
.d-reply .d-acts .d-btn { margin-left: 0; }
.d-concl { margin-bottom: 10px; }
.d-table-wrap { overflow-x: auto; }
.d-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.d-table th { text-align: left; font-weight: 500; color: var(--ink-3); padding: 4px 8px 4px 0; white-space: nowrap; }
.d-table td { padding: 6px 8px 6px 0; border-top: 1px solid var(--line); white-space: nowrap; }
.d-table td:first-child { white-space: normal; }
.demo-foot { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); text-align: center; }
@media (max-width: 760px) {
  .demo { margin-top: 44px; }
  .demo-win { grid-template-columns: 1fr; border-radius: 14px; }
  .demo-side { display: none; }
  .demo-panels { padding: 16px 14px 16px; }
  .d-cards, .d-split, .d-inbox { grid-template-columns: 1fr; }
  .d-extra { display: none; }
  .demo-tab { font-size: 14px; padding: 10px 0 12px; }
  .demo-tab i { margin-right: .25em; }
  .d-row { grid-template-columns: 3.6em 1fr auto; padding: 8px 12px; }
  .d-table th:nth-child(3), .d-table td:nth-child(3) { display: none; }
}
:root[data-theme="dark"] .demo-side .on-light { display: none; }
:root[data-theme="dark"] .demo-side .on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .demo-side .on-light { display: none; }
  :root:not([data-theme="light"]) .demo-side .on-dark { display: block; }
  :root:not([data-theme="light"]) .d-row em.ok { color: #6fc493; }
}
:root[data-theme="dark"] .d-row em.ok { color: #6fc493; }
.shot {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--shot-line);
  background: #fff;
}
.shot img { width: 100%; height: auto; }
@media (max-width: 640px) {
  .hero { padding-top: 64px; }
}

/* ---------- 五步闭环 ---------- */
.loop-rows { display: grid; gap: 120px; }
.loop-row { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.loop-row:nth-child(even) { grid-template-columns: 7fr 5fr; }
.loop-row:nth-child(even) .loop-text { order: 2; }
.loop-text h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.25; letter-spacing: -.005em; margin: 12px 0 14px; }
.loop-text p { color: var(--ink-2); font-size: 17px; max-width: 24em; }
.loop-text .tag { display: inline-block; margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.loop-text .tag b { display: inline-block; color: var(--coral-ink); background: var(--coral-soft); font-weight: 600; font-size: 12px; padding: 2px 8px; border-radius: 999px; margin-right: 4px; }
.loop-text .kicker .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--coral); color: var(--on-coral); font-size: 11px; letter-spacing: 0; margin-right: 8px; }
.loop-row .shot { box-shadow: 0 1px 0 var(--line); }
.crop img { width: 100%; height: auto; }
@media (max-width: 860px) {
  .loop-rows { gap: 72px; }
  .loop-row, .loop-row:nth-child(even) { grid-template-columns: 1fr; gap: 24px; }
  .loop-row:nth-child(even) .loop-text { order: 0; }
}

/* ---------- 五个平台 ---------- */
.platforms { background: var(--invert-bg); color: var(--invert-ink); padding: 128px 0; overflow: hidden; }
.platforms .kicker { color: var(--coral); }
.platforms h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.18; letter-spacing: -.01em; margin: 14px 0 0; max-width: 14em; }
.names {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 0;
  margin: 64px 0 56px;
  font-size: clamp(44px, 9vw, 112px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.names span::after { content: "/"; font-weight: 300; color: var(--invert-ink-2); margin: 0 .22em; opacity: .5; }
.names span:last-child::after { content: none; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid color-mix(in srgb, var(--invert-ink) 16%, transparent); padding-top: 28px; }
.facts b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.facts p { color: var(--invert-ink-2); font-size: 15px; }
@media (max-width: 760px) {
  .platforms { padding: 80px 0; }
  .facts { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- 原则 ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.principles div { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.principles b { display: block; font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.principles p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- 结尾下载条 ---------- */
.end {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 136px 0 144px;
  background:
    linear-gradient(180deg, var(--bg) 0%, transparent 40%),
    linear-gradient(200deg, var(--dawn-from) 0%, var(--dawn-to) 100%);
}
.end::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -40%;
  width: 60%;
  height: 80%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--halo-coral), transparent);
  filter: blur(40px);
  pointer-events: none;
}
.end .wrap { position: relative; }
.end h2 { font-size: clamp(34px, 5.4vw, 60px); letter-spacing: -.015em; line-height: 1.12; }
.end p { color: var(--ink-2); margin-top: 16px; font-size: 17px; }
.end .cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 640px) { .end { padding: 88px 0 96px; } }

/* ---------- 下载页 ---------- */
.dl-hero { padding: 104px 0 56px; }
.dl-band {
  position: relative;
  overflow: hidden;
  padding-bottom: 72px;
  background:
    linear-gradient(180deg, transparent 0%, transparent 70%, var(--bg) 100%),
    linear-gradient(160deg, var(--dawn-from) 0%, var(--dawn-to) 100%);
}
.dl-band::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 50%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--halo-coral), transparent);
  filter: blur(50px);
  pointer-events: none;
}
.dl-band > * { position: relative; }
.tiles { background: var(--bg); }
.dl-hero h1 { font-size: clamp(38px, 5.6vw, 60px); line-height: 1.12; letter-spacing: -.01em; font-weight: 300; margin-top: 20px; }
.dl-hero p { color: var(--ink-2); font-size: 18px; margin-top: 18px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tile { position: relative; padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 6px; min-height: 236px; }
.tile + .tile { border-left: 1px solid var(--line); }
.tile .os { font-size: 13px; color: var(--ink-3); letter-spacing: .02em; }
.tile h3 { font-size: 22px; letter-spacing: -.005em; }
.tile .meta { font-size: 13px; color: var(--ink-3); font-family: var(--mono); margin-top: 2px; }
.tile .btn { margin-top: auto; align-self: flex-start; }
.tile .tile-note { margin: 10px 0 0; font-size: 12px; line-height: 1.6; color: var(--ink-3); }
.tile .rec { display: none; position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 600; color: var(--coral-ink); background: var(--coral-soft); padding: 2px 8px; border-radius: 999px; }
.tile.recommended { background: var(--bg-2); box-shadow: inset 0 2px 0 var(--coral); }
.tile.recommended .rec { display: block; }
.tile:not(.recommended) .btn { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.chip-tip { font-size: 13px; color: var(--ink-3); margin-top: 14px; }
/* 下载页：用 AI 智能体安装（一行，不抢下载按钮） */
.agent-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--ink-3); margin-top: 10px; }
.agent-line code { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; overflow-wrap: anywhere; }
.agent-line button { font: inherit; color: var(--ink-2); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; height: 26px; padding: 0 12px; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.agent-line button:hover { color: var(--ink); border-color: var(--ink-3); }
.agent-line a { color: var(--ink-3); }
.install-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 12px; }
.install-table th, .install-table td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.install-table th { font-weight: 500; color: var(--ink-3); border-top: 0; }
@media (max-width: 860px) {
  .tiles { grid-template-columns: 1fr; }
  .tile + .tile { border-left: 0; border-top: 1px solid var(--line); }
  .tile { min-height: 0; }
  .tile .btn { margin-top: 14px; }
}
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.pair h3 { font-size: 20px; margin: 10px 0 10px; }
.pair p { color: var(--ink-2); }
.pair p + p { margin-top: 10px; }
.pair .link { display: inline-flex; gap: 6px; margin-top: 16px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.pair .link:hover { border-color: var(--ink); }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; gap: 40px; } }

.fold { border-top: 1px solid var(--line); }
.fold:last-of-type { border-bottom: 1px solid var(--line); }
.fold summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 17px; font-weight: 600; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; font-weight: 300; font-size: 24px; color: var(--ink-3); line-height: 1; }
.fold[open] summary::after { content: "–"; }
.fold .body { padding: 0 0 28px; color: var(--ink-2); max-width: 44em; }
.fold .body p + p, .fold .body ol, .fold .body p + ol { margin-top: 10px; }
.fold ol { padding-left: 1.3em; margin: 0; }
.fold li + li { margin-top: 6px; }
.fold code, .help code { font-family: var(--mono); font-size: .9em; background: var(--bg-3); padding: 1px 6px; border-radius: 5px; }

.release { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.release:last-child { border-bottom: 1px solid var(--line); }
.release .v { font-family: var(--mono); font-size: 15px; }
.release .v small { display: block; color: var(--ink-3); font-family: var(--font); font-size: 13px; margin-top: 4px; }
.release ul { margin: 0; padding-left: 1.2em; color: var(--ink-2); }
.release h4 { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.release h4 + ul { margin-bottom: 14px; }
.release table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 12px; }
.release th, .release td { text-align: left; padding: 8px 10px 8px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.release th { color: var(--ink-3); font-weight: 500; }
.table-scroll { overflow-x: auto; }
@media (max-width: 640px) { .release { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- 帮助页 ---------- */
.help { max-width: 760px; }
.help h2 { font-size: 26px; margin: 72px 0 16px; letter-spacing: -.005em; }
.help h3 { font-size: 18px; margin: 36px 0 10px; }
.help p, .help li { color: var(--ink-2); }
.help ol { padding-left: 1.3em; }
.help li + li { margin-top: 6px; }
.help pre { font-family: var(--mono); font-size: 13px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; overflow-x: auto; }
.figure { margin: 18px 0 8px; }
.figure img { border: 1px solid var(--line); border-radius: 12px; background: #fff; width: 100%; height: auto; }
.figure figcaption { margin-top: 10px; color: var(--ink-2); }
.figure figcaption b { color: var(--ink); }
.figure .n { font-family: var(--mono); color: var(--coral-ink); margin-right: 8px; }
.note { border-left: 2px solid var(--coral); padding: 4px 0 4px 16px; margin: 20px 0; color: var(--ink-2); }
.note b { color: var(--ink); }

/* ---------- 页脚 ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 13px; color: var(--ink-3); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); }

dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  max-width: min(420px, calc(100vw - 32px));
  background: var(--bg);
  color: var(--ink);
}
dialog::backdrop { background: rgba(0, 0, 0, .45); }
dialog h3 { font-size: 18px; margin-bottom: 8px; }
dialog p { color: var(--ink-2); margin-bottom: 20px; }

/* ---------- 功能介绍页（features/） ---------- */
.feature-title { font-size: clamp(32px, 5vw, 54px); line-height: 1.16; letter-spacing: -.01em; font-weight: 300; margin-top: 20px; }
.feature-lead { color: var(--ink-2); font-size: 18px; margin-top: 18px; max-width: 34em; }
.dl-hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.feature-shot { box-shadow: var(--shot-shadow); }
.help ul { padding-left: 1.2em; }
.help ul li + li { margin-top: 8px; }
.help li b { color: var(--ink); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.rel { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px 28px 0; text-decoration: none; color: var(--ink); }
.rel + .rel { padding-left: 24px; border-left: 1px solid var(--line); }
.rel b { font-size: 18px; font-weight: 600; }
.rel .go { color: var(--coral-ink); font-size: 14px; margin-top: 4px; }
.rel:hover b { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .related { grid-template-columns: 1fr; }
  .rel, .rel + .rel { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
.more-link { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--coral-ink); text-decoration: none; }
.more-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 免费工具（tools/） ---------- */
.tool { border: 1px solid var(--line); border-radius: 14px; background: var(--bg); padding: 28px; }
.tool + .tool { margin-top: 24px; }
.tool label { display: block; font-weight: 600; margin-bottom: 10px; }
.tool .hint { font-size: 13px; color: var(--ink-3); margin: -4px 0 12px; }
.tool textarea, .tool input[type="text"] {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  resize: vertical;
}
.tool textarea:focus, .tool input[type="text"]:focus { outline: 2px solid var(--coral); outline-offset: 1px; border-color: transparent; }
.tool table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.tool th, .tool td { text-align: left; padding: 12px 10px 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.tool thead th { color: var(--ink-3); font-weight: 500; font-size: 13px; border-top: 0; padding-top: 0; }
.tool tbody th { font-weight: 600; white-space: nowrap; }
.tool td.num { font-family: var(--mono); white-space: nowrap; color: var(--ink-2); }
.tool td.state { white-space: nowrap; font-weight: 600; }
.tool tr.ok td.state { color: #1f8a5b; }
.tool tr.bad td.state { color: var(--coral-ink); white-space: normal; }
.tool tr.idle td.state { color: var(--ink-3); font-weight: 400; }
.tool td.preview { color: var(--ink-2); word-break: break-all; }
.tool td.preview del { color: var(--coral-ink); background: var(--coral-soft); text-decoration: line-through; border-radius: 3px; }
.tool .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tool .chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--bg-3); font-size: 14px; }
.tool .chip small { color: var(--ink-3); font-family: var(--mono); }
.tool .chip.bad { background: var(--coral-soft); color: var(--coral-ink); }
.tool ul.checks { list-style: none; padding: 0; margin: 14px 0 0; font-size: 15px; }
.tool ul.checks li { padding-left: 22px; position: relative; margin-top: 6px; }
.tool ul.checks li::before { position: absolute; left: 0; font-weight: 700; }
.tool ul.checks li.ok::before { content: "✓"; color: #1f8a5b; }
.tool ul.checks li.bad::before { content: "!"; color: var(--coral-ink); }
.tool-note { font-size: 14px; color: var(--ink-3); margin-top: 16px; }
.privacy-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); margin-top: 14px; }
.privacy-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1f8a5b; }
@media (max-width: 640px) {
  .tool { padding: 20px 16px; }
  .tool table, .tool tbody, .tool tr, .tool th, .tool td { display: block; }
  .tool thead { display: none; }
  .tool tr { border-top: 1px solid var(--line); padding: 10px 0; }
  .tool th, .tool td { border: 0; padding: 2px 0; }
}
:root[data-theme="dark"] .tool tr.ok td.state, :root[data-theme="dark"] .tool ul.checks li.ok::before { color: #4cc38a; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tool tr.ok td.state, :root:not([data-theme="light"]) .tool ul.checks li.ok::before { color: #4cc38a; }
}

/* ---------- 文章（articles/） ---------- */
.article-meta { font-size: 14px; color: var(--ink-3); margin-top: 16px; }
.article .tldr { border-left: 2px solid var(--coral); padding: 6px 0 6px 18px; margin: 0 0 8px; color: var(--ink); font-size: 17px; }
.article h2 { font-size: 24px; }
.article .metric { display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; margin-top: 28px; }
.article .metric .n { grid-row: span 3; width: 36px; height: 36px; border-radius: 50%; background: var(--coral); color: var(--on-coral); display: grid; place-items: center; font-weight: 700; }
.article .metric h3 { margin: 4px 0 6px; font-size: 19px; }
.article .metric p { margin: 0 0 6px; }
.article .sources { font-size: 14px; color: var(--ink-3); border-top: 1px solid var(--line); margin-top: 56px; padding-top: 18px; }
.article .sources li { color: var(--ink-3); word-break: break-word; }
.article blockquote { margin: 18px 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--line-strong); color: var(--ink-2); }
.help p + p, .help p + ul, .help ul + p, .help p + ol, .help ol + p { margin-top: 14px; }

/* 封面尺寸速查 */
.tool input[type="file"] { font: inherit; font-size: 14px; color: var(--ink-2); }
.tool input[type="file"]::file-selector-button { font: inherit; font-size: 14px; font-weight: 600; margin-right: 12px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--ink); cursor: pointer; }
.crop-grid { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 18px; align-items: flex-start; }
.crop-box { margin: 0; display: flex; flex-direction: column; gap: 10px; max-width: 100%; }
.crop-box canvas { display: block; max-width: 100%; height: auto !important; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-3); }
.crop-box figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 14px; max-width: 260px; }
.crop-box figcaption span { color: var(--ink-2); }
.crop-box figcaption small { color: var(--ink-3); font-size: 12px; line-height: 1.5; }
.spec-table td { color: var(--ink-2); }
.unverified { display: inline-block; font-size: 12px; color: var(--ink-3); background: var(--bg-3); padding: 0 6px; border-radius: 4px; margin-left: 4px; white-space: nowrap; }
@media (max-width: 640px) {
  .crop-grid { gap: 18px; }
  .crop-box { flex: 1 1 140px; }
}
@media (max-width: 640px) {
  .tool .spec-table { display: table; min-width: 620px; }
  .tool .spec-table thead { display: table-header-group; }
  .tool .spec-table tbody { display: table-row-group; }
  .tool .spec-table tr { display: table-row; padding: 0; }
  .tool .spec-table th, .tool .spec-table td { display: table-cell; border-top: 1px solid var(--line); padding: 10px 10px 10px 0; }
}

/* 封面裁剪 */
.ratio-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ratio-tabs button { font: inherit; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-2); cursor: pointer; }
.ratio-tabs button[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: var(--on-coral); }
.crop-stage { position: relative; width: fit-content; max-width: 100%; margin: 12px auto 0; overflow: hidden; border-radius: 10px; background: var(--bg-3); line-height: 0; touch-action: none; user-select: none; -webkit-user-select: none; }
.crop-stage img { display: block; max-width: 100%; max-height: 70vh; width: auto; height: auto; }
.crop-frame { position: absolute; display: none; box-shadow: 0 0 0 9999px rgba(15, 13, 22, .55); outline: 2px solid #fff; cursor: move; touch-action: none; }
.crop-frame::before, .crop-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.crop-frame::before { background:
  linear-gradient(to right, transparent 33.2%, rgba(255,255,255,.45) 33.3%, rgba(255,255,255,.45) 33.6%, transparent 33.7%, transparent 66.5%, rgba(255,255,255,.45) 66.6%, rgba(255,255,255,.45) 66.9%, transparent 67%),
  linear-gradient(to bottom, transparent 33.2%, rgba(255,255,255,.45) 33.3%, rgba(255,255,255,.45) 33.6%, transparent 33.7%, transparent 66.5%, rgba(255,255,255,.45) 66.6%, rgba(255,255,255,.45) 66.9%, transparent 67%); }
.crop-stage.ready .crop-frame { display: block; }
.crop-frame:focus-visible { outline: 3px solid var(--coral); }
.crop-controls { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.crop-controls .inline { display: inline; margin: 0; font-size: 14px; font-weight: 600; white-space: nowrap; }
.crop-controls input[type="range"] { flex: 1; max-width: 360px; accent-color: var(--coral); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* 语言切换 */
.lang-switch { display: inline-flex; white-space: nowrap; align-items: center; height: 34px; padding: 0 10px; border-radius: 8px; font-size: 13px; color: var(--ink-2); text-decoration: none; }
.lang-switch:hover { color: var(--ink); background: rgba(127, 120, 110, .12); }

/* 英文版：英文比中文长，标题和五步的字号、字距要收一点 */
html[lang="en"] .hero h1 { font-size: clamp(38px, 6.6vw, 78px); letter-spacing: -.01em; line-height: 1.1; }
html[lang="en"] .hero .steps-line { letter-spacing: .02em; }
html[lang="en"] .orbit-node text { letter-spacing: .02em; }
html[lang="en"] .section-head h2, html[lang="en"] .dl-hero h1, html[lang="en"] .feature-title { letter-spacing: -.005em; }
@media (max-width: 480px) {
  html[lang="en"] .hero .steps-line { font-size: clamp(12.5px, 3.5vw, 15px); letter-spacing: 0; }
  html[lang="en"] .hero .steps-line i { width: .95em; margin: 0 .12em; }
}
html[lang="en"] .d-row { grid-template-columns: 9.5em 1fr auto; }
@media (max-width: 760px) {
  html[lang="en"] .d-row { grid-template-columns: 1fr auto; }
  html[lang="en"] .d-row span { display: none; }
  html[lang="en"] .demo-tab { font-size: 12.5px; }
  html[lang="en"] .demo-tab i { display: none; }
}

/* 页脚：官方账号和创始人账号（内容来自 scripts/social.json） */
.foot-social { display: grid; gap: 8px; font-size: 13px; }
.foot .foot-social { flex-basis: 100%; order: 3; padding-top: 18px; border-top: 1px solid var(--line); }
.social-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.social-row b { font-weight: 600; }
.social-list { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; }
.social-row small { font-size: 12px; opacity: .75; }
/* 页脚最后一行：备案号（内容来自 scripts/beian.json） */
.foot .foot-beian { flex-basis: 100%; order: 3; margin-top: -6px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; }
.foot .foot-beian a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-3); }
.foot .foot-beian a:hover { color: var(--ink-2); }
.foot .foot-beian img { display: inline-block; width: 14px; height: 14px; flex: none; }

/* 首页示意界面：和 App 现在的选题、创作、评论页对应（11-07） */
.demo-side .d-side-item { margin: 0; padding: 7px 10px; font-size: 14px; color: var(--ink-2); }
.demo-side .d-side-end { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); border-radius: 0; }
.d-label.d-nomb { margin-bottom: 0; }
.d-cards-2 { grid-template-columns: repeat(2, 1fr); }
.d-kind { display: block; font-size: 12px; color: var(--coral-ink); margin-bottom: 4px; }
.d-tool { margin-bottom: 4px; }
.d-split-rev { grid-template-columns: 2fr 3fr; }
.d-plain { list-style: none; padding-left: 0; margin-bottom: 8px; }
.d-plain li + li { margin-top: 4px; }
.d-line { padding: 6px 0; border-top: 1px solid var(--line); }
.d-card p.d-line-text, .d-line p { color: var(--ink); font-size: 14px; margin: 0; }
.d-line small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.d-msg small { display: block; margin-top: 3px; font-size: 12px; color: var(--ink-3); }
.d-msg small em { color: var(--ink-2); }
/* 首页"对话"示意 */
@media (max-width: 760px) {
  .d-cards-2, .d-split-rev { grid-template-columns: 1fr; }
}
.d-greet { margin: 0 0 8px; font-weight: 600; font-size: 15px; }
.d-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.d-tools .d-card { padding: 8px 10px; }
.d-tools b { font-size: 12px; }
.d-side-luna { display: flex; align-items: center; gap: 8px; }
.d-moon { flex: none; font-size: 14px; }
.d-label .d-edit { margin-left: auto; font-weight: 500; font-size: 12px; color: var(--ink-2); }

/* ================= 首页 v6「大留白」（2026-11-19，负责人选 V1） =================
   大号细字、少线条、多留白；右边是会动的小助手对话（chat-demo.js），下面一排六步跟着对话亮起来。 */
:root { --card: #ffffff; --dawn-top: #f6f1fb; --dawn-mid: #fcf1ea; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --card: #1b1a22; --dawn-top: #1a1720; --dawn-mid: #1b1719; } }
:root[data-theme="dark"] { --card: #1b1a22; --dawn-top: #1a1720; --dawn-mid: #1b1719; }

body.home { background: linear-gradient(180deg, var(--dawn-top) 0, var(--dawn-mid) 520px, var(--bg) 1000px) no-repeat, var(--bg); }
.home .top { border-bottom-color: transparent; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background .2s ease, border-color .2s ease; }
.home .top.is-stuck { background: var(--header-bg); border-bottom-color: var(--line); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
.home .kicker { display: inline-block; }
.home .lead { color: var(--ink-2); font-size: 18px; line-height: 1.75; max-width: 26em; }
.home h2 { font-weight: 200; font-size: clamp(30px, 4vw, 48px); line-height: 1.2; letter-spacing: -.015em; margin: 14px 0 0; max-width: 16em; }
.pro-tag { display: inline-block; font-size: 11px; line-height: 1; padding: 4px 6px 3px; border: 1px solid currentColor; border-radius: 4px; color: var(--coral-ink); vertical-align: 4px; margin-left: 8px; font-weight: 500; letter-spacing: .02em; }
.sec { padding: 140px 0; }

/* 首屏 */
.hero6 { padding: 88px 0 0; }
.hero6-grid { display: grid; grid-template-columns: 1fr 440px; gap: 72px; align-items: center; }
.hero6 h1 { font-weight: 200; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.14; letter-spacing: -.025em; margin: 22px 0 28px; }
.hero6 h1 b { font-weight: 400; }
.hero6 .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 40px 0 14px; }
.hero6 .fine { font-size: 13px; color: var(--ink-3); }
.hero6 .demo-note { font-size: 12px; color: var(--ink-3); margin-top: 12px; text-align: right; }
.hero6 .rise { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero6 .rise:nth-child(2) { animation-delay: .06s; }
.hero6 .rise:nth-child(3) { animation-delay: .12s; }
.hero6 .rise:nth-child(4) { animation-delay: .18s; }
.hero6 .rise:nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 六个词：跟着对话亮起来 */
.words { display: flex; justify-content: space-between; margin-top: 80px; padding-top: 30px; border-top: 1px solid var(--line); }
.words a { position: relative; font-size: clamp(18px, 2.2vw, 28px); font-weight: 200; color: var(--ink-3); letter-spacing: .06em; text-decoration: none; transition: color .4s ease; }
.words a::before { content: ""; position: absolute; left: 0; top: -34px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); opacity: 0; transform: scale(.4); transition: opacity .3s ease, transform .3s ease; }
.words a.done { color: var(--ink-2); }
.words a.on { color: var(--ink); }
.words a.on::before { opacity: 1; transform: none; }
.words a:hover { color: var(--ink); }

/* 六步 */
.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 80px 64px; margin-top: 80px; }
.grid6 .n { display: block; font-size: 56px; font-weight: 200; line-height: 1; color: var(--ink-3); font-variant-numeric: tabular-nums; letter-spacing: -.02em; margin-bottom: 24px; }
.grid6 h3 { font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.grid6 p { color: var(--ink-2); font-size: 15px; line-height: 1.8; }

/* 小助手 */
.mate { border-top: 1px solid var(--line); }
.mate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
.mate .lead { margin-top: 24px; }
.ticks { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.ticks b { display: block; font-weight: 400; font-size: 17px; margin-bottom: 6px; }
.ticks span { color: var(--ink-2); font-size: 14.5px; line-height: 1.75; }
.memo { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px 30px 24px; }
.memo h3 { font-size: 13px; font-weight: 400; color: var(--ink-3); letter-spacing: .06em; margin-bottom: 6px; }
.memo ul { list-style: none; margin: 0; padding: 0; }
.memo li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.memo li:last-child { border-bottom: 0; }
.memo li span { color: var(--ink-3); font-size: 12px; white-space: nowrap; padding-top: 4px; }
.memo-note { font-size: 12px; color: var(--ink-3); margin-top: 14px; }

/* 发布 */
.pub { border-top: 1px solid var(--line); }
.plat { display: flex; flex-wrap: wrap; justify-content: space-between; list-style: none; margin: 72px 0 0; padding: 0; font-size: clamp(26px, 4.2vw, 56px); font-weight: 200; letter-spacing: .02em; line-height: 1.1; }
.facts3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px; margin-top: 88px; }
.facts3 b { display: block; font-weight: 400; font-size: 18px; margin-bottom: 8px; }
.facts3 p { font-size: 15px; color: var(--ink-2); line-height: 1.8; }
.pub .more-link { margin-top: 48px; }

/* 会员：照 App 会员页的两张卡 */
.h-plans { background: var(--bg-2); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin-top: 72px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px 32px 20px; }
.plan.is-pro { border-color: var(--ink); }
.plan h3 { font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.plan .price { font-size: 40px; font-weight: 200; letter-spacing: -.02em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 15px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.plan .plan-note { font-size: 13px; color: var(--coral-ink); min-height: 21px; margin-top: 4px; }
.plan ul { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.plan li { display: grid; grid-template-columns: 56px 1fr; gap: 4px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.plan li:last-child { border-bottom: 0; }
.plan li span { color: var(--ink-3); font-size: 13px; }
.plan li.no { color: var(--ink-3); }
.plan li.no em { font-style: normal; text-decoration: line-through; text-decoration-color: var(--line-strong); }
.plans-notes { margin-top: 24px; font-size: 13px; color: var(--ink-3); max-width: 920px; }
.plans-notes p + p { margin-top: 4px; }

/* 原则和结尾 */
.trust3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px; }
.trust3 b { display: block; font-weight: 400; font-size: 18px; margin-bottom: 8px; }
.trust3 p { color: var(--ink-2); font-size: 15px; line-height: 1.8; }
.h-end { padding: 160px 0 168px; text-align: center; border-top: 1px solid var(--line); }
.h-end h2 { margin: 0 auto; font-size: clamp(34px, 5vw, 64px); }
.h-end p { color: var(--ink-2); margin-top: 18px; }
.h-end .cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.foot .corp { color: var(--ink-3); }

@media (max-width: 960px) {
  .sec { padding: 96px 0; }
  .hero6 { padding-top: 48px; }
  .hero6-grid, .mate-grid { grid-template-columns: 1fr; gap: 56px; }
  .grid6 { grid-template-columns: 1fr 1fr; gap: 56px 32px; margin-top: 56px; }
  .facts3, .trust3 { grid-template-columns: 1fr; gap: 36px; }
  .plans { grid-template-columns: 1fr; }
  .words { margin-top: 64px; }
}
@media (max-width: 640px) {
  .words { padding-top: 24px; margin-top: 56px; }
  .words a { font-size: 16px; letter-spacing: .02em; }
  .words a::before { top: -28px; }
  .grid6 { grid-template-columns: 1fr; gap: 44px; }
  .grid6 .n { font-size: 34px; margin-bottom: 12px; }
  .ticks { grid-template-columns: 1fr; gap: 24px; }
  .plat { font-size: 20px; flex-wrap: nowrap; margin-top: 48px; }
  .plan { padding: 24px 20px 14px; }
  .memo { padding: 20px 20px 16px; }
  .cdw .chatwin-body { height: 360px; }
  .h-end { padding: 104px 0 112px; }
}
@media (prefers-reduced-motion: reduce) { .hero6 .rise { animation: none; } }

/* v5：下载页、功能页顶部只留一层淡晨光，不再叠光晕 */
.dl-band::before { content: none; }

/* ---------- 会动的小助手对话（chat-demo.js） ---------- */
.cdw { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(31, 29, 43, .04), 0 28px 56px -36px rgba(31, 29, 43, .22); display: flex; flex-direction: column; }
.cdw-head { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.cdw-head .av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--coral) 12%, var(--card)); color: var(--coral-ink); flex: none; }
.cdw-head .av svg { width: 14px; height: 14px; }
.cdw-head small { color: var(--ink-3); font-weight: 400; font-size: 12px; }
.cdw .chatwin-body { height: 400px; overflow: hidden; padding: 6px 20px 16px; display: flex; flex-direction: column; transition: opacity .4s ease; }
.cdw .chatwin-body.cd-fade { opacity: 0; }
.cdw .msg { opacity: 0; transform: translateY(8px); transition: opacity .32s ease, transform .32s cubic-bezier(.2, .7, .2, 1); flex: none; }
.cdw .msg.in { opacity: 1; transform: none; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.65; margin-top: 14px; }
.msg.me { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: color-mix(in srgb, var(--ink) 6%, var(--card)); border-bottom-left-radius: 4px; }
.cd-part { opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease; }
.cd-part.in { opacity: 1; transform: none; }
.cd-text + .cd-text { margin-top: 6px; }
.cd-list { margin: 6px 0 0; padding-left: 1.3em; }
.cd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cd-chip { font-size: 12px; padding: 3px 11px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink-2); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.cd-chip.is-on, .cd-btn.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cd-card { margin-top: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; }
.cd-card b { font-size: 12px; font-weight: 500; color: var(--coral-ink); }
.cd-card small { color: var(--ink-3); font-size: 12px; }
.cd-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 8px; }
.cd-tags span { font-size: 11.5px; padding: 1px 8px; border-radius: 5px; background: color-mix(in srgb, var(--ink) 6%, var(--card)); color: var(--ink-2); }
.cd-btn { justify-self: start; font-size: 12px; padding: 4px 16px; border-radius: 999px; border: 1px solid var(--ink); color: var(--ink); transition: background .2s ease, color .2s ease; }
.msg .ai { display: block; margin-top: 8px; font-size: 11px; color: var(--coral-ink); }
.cd-typing { display: flex; gap: 4px; padding: 13px 14px; }
.cd-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: cd-dot 1s infinite ease-in-out; }
.cd-typing i:nth-child(2) { animation-delay: .15s; }
.cd-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cd-dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.chat-input { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; padding: 0 6px 0 16px; height: 44px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--ink); }
.chat-input span:empty::before { content: attr(data-ph); color: var(--ink-3); }
.chat-input span:not(:empty)::after { content: ""; display: inline-block; width: 1px; height: 1em; background: var(--ink); vertical-align: -2px; margin-left: 1px; animation: cd-caret 1s steps(1) infinite; }
@keyframes cd-caret { 50% { opacity: 0; } }
.chat-input em { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; flex: none; }
.chat-input em svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) { .cdw .msg, .cd-part { opacity: 1; transform: none; transition: none; } }

/* ---------- 全站滚动动效和细节（motion.js，2026-11-19） ---------- */
.read-progress { position: fixed; left: 0; top: 0; width: 100%; height: 2px; background: var(--coral); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; pointer-events: none; }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
.rv-h { clip-path: inset(100% 0 -.25em 0); transform: translateY(.3em); transition: clip-path .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.rv-h.in { clip-path: inset(-.25em 0 -.25em 0); transform: none; }

/* 小标题前一小段细线 */
.kicker::before { content: ""; display: inline-block; width: 22px; height: 1px; background: currentColor; vertical-align: middle; margin: -2px 10px 0 0; opacity: .7; }
.eyebrow.kicker::before, .rel .kicker::before { content: none; }

/* 六步：每格上方一条细线，滚到时画出来；悬停时编号变成珊瑚色 */
.grid6 > div { position: relative; padding-top: 30px; }
.grid6 > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-strong); transform-origin: 0 50%; }
.motion-ready .grid6 > div::before { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0ms) + 150ms); }
.motion-ready .grid6 > div.in::before { transform: scaleX(1); }
.grid6 .n { transition: color .3s ease, transform .3s ease; }
.grid6 > div:hover .n { color: var(--coral-ink); transform: translateX(4px); }

/* Luna 记得：每条"记下"时左边亮一下 */
.memo li { position: relative; }
.memo li::before { content: ""; position: absolute; left: -16px; top: 24px; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); opacity: 0; }
.memo li.in::before { animation: remember 1.8s ease calc(var(--d, 0ms) + 200ms) both; }
@keyframes remember { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }

/* 平台名：逐个升起；悬停变深 */
.plat li.rv { transform: translateY(.45em); }
.plat li.rv.in { transform: none; }
.plat li { transition: color .3s ease; }
.plat:hover li { color: var(--ink-3); }
.plat li:hover { color: var(--ink); }

/* 卡片和按钮的轻微悬停 */
.plan { transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s ease, opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.plan.rv { transition: transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), border-color .35s ease; }
.plan.in:hover { transform: translateY(-4px); }
.plan:not(.is-pro):hover { border-color: var(--line-strong); }
.btn { transition: opacity .15s ease, background .15s ease, border-color .15s ease, transform .2s ease; }
.btn:hover { transform: translateY(-1px); }
.more-link { transition: letter-spacing .25s ease; }
.more-link:hover { letter-spacing: .02em; text-decoration: none; }
.fold summary::after { transition: transform .3s ease; }
.fold[open] summary::after { transform: rotate(180deg); }
.tile { transition: background .3s ease; }

/* 页脚：一行很淡的大字标 */
.foot-mark { flex-basis: 100%; order: 4; margin-top: 28px; line-height: 0; }
.foot-mark img { width: 100%; height: auto; opacity: .07; margin-left: -1.2%; }
.foot-mark .on-dark { display: none; }
:root[data-theme="dark"] .foot-mark .on-light { display: none; }
:root[data-theme="dark"] .foot-mark .on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .foot-mark .on-light { display: none; }
  :root:not([data-theme="light"]) .foot-mark .on-dark { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .rv, .rv-h { opacity: 1; transform: none; clip-path: none; transition: none; }
  .memo li.in::before { animation: none; }
}

/* 英文版：步骤名和平台名比中文长，窄屏上允许换行 */
@media (max-width: 640px) {
  html[lang="en"] .words { flex-wrap: wrap; gap: 14px 20px; justify-content: flex-start; }
  html[lang="en"] .words a::before { top: -12px; }
  html[lang="en"] .plat { flex-wrap: wrap; gap: 6px 18px; justify-content: flex-start; }
}
@media (max-width: 960px) { html[lang="en"] .plat { flex-wrap: wrap; gap: 6px 28px; justify-content: flex-start; } }
html[lang="en"] .plan li { grid-template-columns: 84px 1fr; }
html[lang="en"] .plat { font-size: clamp(22px, 3.2vw, 40px); }
