@charset "UTF-8";
/* ==========================================================================
   Desktop-note 官网 · 样式表
   --------------------------------------------------------------------------
   设计基线：大留白 / 超大标题负字距 / 毛玻璃导航 / 发丝级描边 / 深浅双向
   纯静态：无预处理、无框架、无字体外链，Netlify 直接部署即可。

   目录
   01 设计令牌
   02 基础重置
   03 排版
   04 按钮
   05 导航
   06 通用版块
   07 首屏
   08 产品舞台（纯 CSS 还原的应用预览）
   09 特性网格
   10 深色聚焦区
   11 技术规格
   12 下载
   13 常见问题
   14 页脚
   15 文本内容页（隐私政策）
   16 滚动进场动效
   17 响应式
   ========================================================================== */

/* ---------- 01 设计令牌 ---------- */
:root {
  /* 色板 */
  --bg: #ffffff;
  --bg-sub: #f5f5f7;
  --bg-card: #ffffff;
  --bg-inset: rgba(0, 0, 0, 0.03);
  --nav-bg: rgba(255, 255, 255, 0.72);
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --hairline: rgba(0, 0, 0, 0.1);
  --hairline-strong: rgba(0, 0, 0, 0.18);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --link: #0066cc;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-stage: 0 40px 90px -20px rgba(0, 0, 0, 0.28), 0 18px 40px -24px rgba(0, 0, 0, 0.2);
  --shadow-window: 0 24px 60px -12px rgba(0, 0, 0, 0.22);
  --note-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.3);

  /* 便签六色，与客户端 src/shared/tokens.ts 的 STICKY_COLORS 保持一致 */
  --sticky-1: #ffd60a;
  --sticky-2: #ff9f0a;
  --sticky-3: #ff6482;
  --sticky-4: #bf5af2;
  --sticky-5: #64d2ff;
  --sticky-6: #66d4cf;

  /* 排版 */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", Roboto, "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB",
    "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --font-num: "SF Pro Display", -apple-system, "Segoe UI", Roboto, "PingFang SC", sans-serif;

  /* 节奏 */
  --container: 1024px;
  --container-narrow: 760px;
  --section-y: clamp(72px, 10vw, 128px);
  --radius-card: 20px;
  --radius-pill: 980px;
  --nav-h: 48px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-sub: #0a0a0c;
    --bg-card: #161617;
    --bg-inset: rgba(255, 255, 255, 0.05);
    --nav-bg: rgba(22, 22, 23, 0.74);
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #86868b;
    --hairline: rgba(255, 255, 255, 0.14);
    --hairline-strong: rgba(255, 255, 255, 0.24);
    --accent: #2997ff;
    --accent-hover: #47a9ff;
    --link: #2997ff;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-stage: 0 40px 90px -20px rgba(0, 0, 0, 0.9), 0 18px 40px -24px rgba(0, 0, 0, 0.7);
    --shadow-window: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
    --note-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.6);
  }
}

/* ---------- 02 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 0 0 12px 0;
}

.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 03 排版 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(32px, 5vw, 56px);
}

h3 {
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.003em;
}

p {
  margin: 0;
}

.eyebrow {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.011em;
  color: var(--accent);
}

.lede {
  font-size: clamp(19px, 2vw, 21px);
  line-height: 1.47;
  color: var(--text-2);
}

.doc code,
.spec-group code,
.feature code,
.answer code {
  padding: 0.1em 0.36em;
  border-radius: 5px;
  background: var(--bg-inset);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.hint {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-3);
}

.section-head {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.section-head .lede {
  margin-top: 14px;
}

/* ---------- 04 按钮 ---------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.btn:hover {
  background: var(--accent-hover);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--link);
  border-color: var(--hairline-strong);
}

.btn-secondary:hover {
  background: var(--bg-inset);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--link);
  padding: 0 4px;
  min-height: 32px;
}

.btn-ghost:hover {
  text-decoration: underline;
}

.btn .chev {
  font-size: 14px;
  opacity: 0.8;
  transform: translateY(1px);
}

/* ---------- 05 导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.nav[data-scrolled="true"] {
  border-bottom-color: var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--nav-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

/* 导航品牌标：直接用应用图标（assets/img/logo.png，由 build/icon-source.png 派生）。
   图标自带圆角玻璃外框，这里只负责尺寸与投影，不再用 CSS 画方块。 */
.brand-mark {
  width: 26px;
  height: 26px;
  flex: none;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.22));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  opacity: 0.86;
  transition: opacity 0.2s var(--ease-out);
}

.nav-links a:hover {
  opacity: 1;
  text-decoration: none;
}

.nav-cta {
  margin-left: 10px;
}

.nav-cta a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  opacity: 1;
}

.nav-cta a:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

/* ---------- 06 通用版块 ---------- */
.section {
  padding: var(--section-y) 0;
}

.section-sub {
  background: var(--bg-sub);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.section-dark {
  background: #000;
  color: #f5f5f7;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #86868b;
  --accent: #2997ff;
  --link: #2997ff;
  --hairline: rgba(255, 255, 255, 0.14);
  --bg-card: #161617;
}

@media (prefers-color-scheme: dark) {
  .section-sub {
    background: #08080a;
  }
}

main {
  /* 固定导航的高度补偿，锚点跳转时不会顶到导航下面 */
  padding-top: var(--nav-h);
}

/* ---------- 07 首屏 ---------- */
.hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 88px);
  text-align: center;
  overflow: hidden;
}

.hero h1 {
  margin: 12px auto 0;
  max-width: 15em;
  font-size: clamp(40px, 7.2vw, 88px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.05;
  background: linear-gradient(180deg, var(--text) 42%, rgba(110, 110, 115, 0.72));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-color-scheme: dark) {
  .hero h1 {
    background: linear-gradient(180deg, #ffffff 42%, rgba(245, 245, 247, 0.62));
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.hero .lede {
  max-width: 34em;
  margin: 20px auto 0;
}

.hero .actions {
  margin-top: 30px;
}

.hero-note {
  margin-top: 18px;
}

.hero-scroll {
  margin-top: 40px;
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 34px;
  margin: 10px auto 0;
  background: linear-gradient(180deg, var(--hairline-strong), transparent);
}

/* ---------- 08 产品舞台 ---------- */
.stage-wrap {
  margin-top: clamp(40px, 6vw, 72px);
  padding: 0 12px;
}

.stage {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  aspect-ratio: 16 / 10.4;
  /* 舞台内所有尺寸都以这个基准字号为参照，缩放窗口时整体等比缩小，
     不需要任何 JS 计算，也不用管 <picture> 的多套切图 */
  font-size: clamp(7.2px, 1.32vw, 13px);
  perspective: 1400px;
}

/* 主窗口 */
.stage .win {
  position: absolute;
  left: 0;
  top: 4%;
  width: 62%;
  height: 84%;
  display: flex;
  flex-direction: column;
  border-radius: 1.4em;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-window);
  transform: rotateY(9deg) rotateX(2deg) translateZ(-40px);
  transform-origin: left center;
}

.win-bar {
  display: flex;
  align-items: center;
  gap: 0.6em;
  flex: none;
  height: 3.2em;
  padding: 0 1.2em;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-inset);
}

.dot {
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  background: #d0d0d5;
}

.dot.r {
  background: #ff5f57;
}

.dot.y {
  background: #febc2e;
}

.dot.g {
  background: #28c840;
}

.win-title {
  margin-left: 1em;
  font-size: 1.05em;
  color: var(--text-3);
  letter-spacing: 0.01em;
}

.win-body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.win-side {
  flex: none;
  width: 30%;
  padding: 1.4em 1.1em;
  border-right: 1px solid var(--hairline);
  background: rgba(125, 125, 128, 0.06);
}

.side-item {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.5em 0.7em;
  border-radius: 0.6em;
  font-size: 1.15em;
  color: var(--text-2);
  white-space: nowrap;
}

.side-item[data-active="true"] {
  background: var(--accent);
  color: #fff;
  font-weight: 500;
}

.side-item .ico {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  border-radius: 0.25em;
  background: currentColor;
  opacity: 0.55;
}

.side-item[data-active="true"] .ico {
  opacity: 0.9;
}

.win-list {
  flex: 1 1 auto;
  padding: 1.1em 1.3em;
  overflow: hidden;
}

.list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1em;
  padding-bottom: 0.7em;
  border-bottom: 1px solid var(--hairline);
}

.list-head strong {
  font-size: 1.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.list-head em {
  font-style: normal;
  font-size: 1em;
  color: var(--text-3);
}

.row {
  padding: 0.85em 0;
  border-bottom: 1px solid var(--hairline);
}

.row:last-child {
  border-bottom: 0;
}

.row strong {
  display: block;
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 0.2em;
}

.row span {
  font-size: 1em;
  color: var(--text-3);
}

.row-todo {
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.row-todo i {
  width: 1em;
  height: 1em;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
}

.row-todo i.done {
  background: var(--accent);
}

.row-todo i.done::after {
  content: "";
  display: block;
  width: 0.5em;
  height: 0.28em;
  margin: 0.14em auto 0;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}

.row-todo span {
  color: var(--text-2);
}

/* 桌面便签 */
.note {
  position: absolute;
  width: 22%;
  min-height: 26%;
  padding: 1.5em 1.4em;
  border-radius: 0.5em;
  color: #1d1d1f;
  box-shadow: var(--note-shadow);
  font-size: 1.15em;
  line-height: 1.5;
  animation: float-note 7s ease-in-out infinite;
}

.note::after {
  /* 卷起来的右下角 */
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1.6em;
  height: 1.6em;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.02));
  border-top-left-radius: 0.7em;
}

.note .tag {
  display: inline-block;
  margin-bottom: 0.5em;
  padding: 0.15em 0.6em;
  border-radius: 0.5em;
  background: rgba(0, 0, 0, 0.08);
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.note p {
  font-size: 1em;
  opacity: 0.86;
}

.note-1 {
  top: 0;
  right: 6%;
  background: var(--sticky-1);
  transform: rotate(2.4deg);
  animation-delay: 0s;
}

.note-2 {
  top: 34%;
  right: 0%;
  background: var(--sticky-5);
  transform: rotate(-2.8deg);
  animation-delay: -2.2s;
}

.note-3 {
  bottom: 2%;
  right: 21%;
  background: var(--sticky-3);
  color: #fff;
  transform: rotate(1.6deg);
  animation-delay: -4.4s;
}

.note-3 p {
  opacity: 0.96;
}

.note-3 .tag {
  background: rgba(255, 255, 255, 0.22);
}

@keyframes float-note {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -0.7em;
  }
}

/* 舞台下方的一层柔光，把主窗口和便签从背景里托起来 */
.stage::before {
  content: "";
  position: absolute;
  inset: 12% 8% -6% 8%;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 55%, rgba(10, 132, 255, 0.16), transparent 68%);
  filter: blur(20px);
}

/* ---------- 09 特性网格 ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
}

.feature {
  padding: 32px 28px 34px;
  border-radius: var(--radius-card);
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.section-dark .feature {
  border-color: rgba(255, 255, 255, 0.1);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.3);
}

.feature-ico {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: var(--accent);
}

.feature h3 {
  font-size: 21px;
}

.feature p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
}

/* ---------- 10 深色聚焦区 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: clamp(36px, 4vw, 56px);
}

.stat strong {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: linear-gradient(180deg, #fff, #8a8a8e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-2);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-top: clamp(40px, 5vw, 64px);
}

.check-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--hairline);
  font-size: 16px;
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 20px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* 演示卡：本地存储的「文件夹树」示意 */
.mock-panel {
  padding: 26px;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
  font-size: 14px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--text-2);
}

.mock-row code {
  margin-left: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--text-3);
}

.mock-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.04);
}

.mock-row[data-key="true"] {
  color: var(--accent);
}

/* ---------- 11 技术规格 ---------- */
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 clamp(32px, 5vw, 64px);
  margin-top: clamp(36px, 4vw, 56px);
}

.spec-group {
  border-top: 1px solid var(--hairline);
  padding: 24px 0 8px;
}

.spec-group h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-3);
}

.spec-group dl {
  margin: 14px 0 0;
}

.spec-group div {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}

.spec-group dt {
  flex: none;
  width: 42%;
  font-size: 15px;
  color: var(--text-2);
}

.spec-group dd {
  margin: 0;
  font-size: 15px;
}

/* ---------- 12 下载 ---------- */
.download {
  text-align: center;
}

.download-card {
  margin-top: clamp(36px, 4vw, 56px);
  padding: clamp(36px, 5vw, 64px) 24px;
  border-radius: 28px;
  background: var(--bg-sub);
  border: 1px solid var(--hairline);
}

@media (prefers-color-scheme: dark) {
  .download-card {
    background: #101012;
  }
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 12px;
  background: #1d1d1f;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s var(--ease-out);
}

.store-badge:hover {
  background: #000;
  text-decoration: none;
}

@media (prefers-color-scheme: dark) {
  .store-badge {
    background: #f5f5f7;
    color: #1d1d1f;
  }
  .store-badge:hover {
    background: #fff;
  }
}

.store-badge small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0.72;
  text-align: left;
}

.store-badge b {
  display: block;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: left;
}

.download-alt {
  margin-top: 22px;
}

/* ---------- 13 常见问题 ---------- */
.faq {
  margin-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--hairline);
}

.faq details {
  border-bottom: 1px solid var(--hairline);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.3s var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-3px);
}

.faq .answer {
  padding: 0 4px 26px;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ---------- 14 页脚 ---------- */
.footer {
  padding: 48px 0 40px;
  background: var(--bg-sub);
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-3);
}

@media (prefers-color-scheme: dark) {
  .footer {
    background: #08080a;
  }
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--hairline);
}

.footer h5 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}

.footer li {
  padding: 5px 0;
}

.footer a {
  color: var(--text-3);
}

.footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  padding-top: 22px;
}

.footer-bottom .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-left: auto;
}

/* ---------- 15 文本内容页（隐私政策） ---------- */
.doc {
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
}

.doc-head {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
}

.doc-head h1 {
  margin-top: 10px;
  font-size: clamp(34px, 5vw, 56px);
}

.doc-updated {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-3);
}

.doc-body {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 60px);
  margin-top: clamp(32px, 4vw, 48px);
}

.doc-toc {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  align-self: start;
}

.doc-toc h2 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
}

.doc-toc ol {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
  font-size: 14px;
}

.doc-toc li {
  counter-increment: toc;
}

.doc-toc a {
  display: block;
  padding: 7px 0 7px 22px;
  position: relative;
  color: var(--text-2);
  border-left: 2px solid transparent;
}

.doc-toc a::before {
  content: counter(toc) ". ";
  position: absolute;
  left: 0;
  color: var(--text-3);
}

.doc-toc a:hover {
  color: var(--text);
  text-decoration: none;
}

.doc-toc a[aria-current="true"] {
  color: var(--text);
  border-left-color: var(--accent);
  font-weight: 500;
}

.doc h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

.doc section {
  padding: 30px 0;
  border-bottom: 1px solid var(--hairline);
}

.doc section:last-of-type {
  border-bottom: 0;
}

.doc p,
.doc li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
}

.doc section > p + p {
  margin-top: 14px;
}

.doc ul {
  margin: 14px 0 0;
  padding-left: 2px;
}

.doc ul li {
  position: relative;
  padding-left: 20px;
}

.doc ul li + li {
  margin-top: 8px;
}

.doc ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-3);
}

.doc strong {
  color: var(--text);
  font-weight: 600;
}

.callout {
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--bg-sub);
  border: 1px solid var(--hairline);
}

@media (prefers-color-scheme: dark) {
  .callout {
    background: #101012;
  }
}

.callout p {
  font-size: 15px;
}

.callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

/* ---------- 16 滚动进场动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .btn,
  .feature {
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .note {
    animation: none !important;
  }
}

/* ---------- 17 响应式 ---------- */
@media (max-width: 900px) {
  .doc-body {
    grid-template-columns: 1fr;
  }
  .doc-toc {
    position: static;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hairline);
  }
  .doc-toc ol {
    columns: 2;
    column-gap: 20px;
  }
}

@media (max-width: 734px) {
  body {
    font-size: 16px;
  }
  .nav-links a:not(.nav-cta a) {
    display: none;
  }
  .stage {
    aspect-ratio: 4 / 3.4;
    font-size: clamp(6px, 2.6vw, 11px);
  }
  .stage .win {
    width: 100%;
    height: 66%;
    left: 0;
    top: 0;
    transform: none;
  }
  .win-side {
    display: none;
  }
  .note-1 {
    top: 60%;
    right: 52%;
    width: 40%;
  }
  .note-2 {
    top: 60%;
    right: 4%;
    width: 42%;
  }
  .note-3 {
    bottom: 1%;
    right: 30%;
    width: 40%;
  }
  .features {
    gap: 14px;
  }
  .feature {
    padding: 26px 22px 28px;
  }
  .actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 0 18px;
  }
}
