/* 定目镜 Steadeye —— 站点公共样式。色板取自 App Store 截图功能页（features.html）：
   米白底 #EEECE7、深棕墨 #59260B、陶土色 #AB6645。陶土色对米白只有 ~3.8:1，
   只给大字、图标与装饰用；小号次要文字用加深的 --sub（~5.5:1）。
   零外部资源：系统字体、内联 SVG，没有字体 CDN 与统计脚本。 */

:root {
  --bg: #EEECE7;
  --card: #F7F5F1;
  --ink: #59260B;
  --sub: #8B4E2C;
  --accent: #AB6645;
  --tint: rgba(171, 102, 69, .12);
  --line: rgba(171, 102, 69, .22);
  --shadow: 0 1px 2px rgba(89, 38, 11, .06), 0 8px 24px rgba(89, 38, 11, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1D1814;
    --card: #27201B;
    --ink: #F2E4D6;
    --sub: #D2B49E;
    --accent: #D99A72;
    --tint: rgba(217, 154, 114, .14);
    --line: rgba(217, 154, 114, .24);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.75 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  overflow-wrap: break-word;
}
a { color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--accent); }
svg.ic { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ── 顶栏 ─────────────────────────────── */
.bar {
  max-width: 1040px; margin: 0 auto; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: .5px; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; }
.brand small { font-weight: 500; color: var(--accent); font-size: 15px; letter-spacing: 0; }
.bar nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.bar nav a {
  text-decoration: none; font-size: 15px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); white-space: nowrap;
}
.bar nav a:hover { background: var(--tint); color: var(--ink); }

/* ── 页脚 ─────────────────────────────── */
.foot {
  max-width: 1040px; margin: 0 auto; padding: 32px 20px 48px;
  border-top: 1px solid var(--line); color: var(--sub); font-size: 14px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ── 文档页（隐私政策、反馈指引）：Markdown 渲染进 .prose ─── */
.prose { max-width: 760px; margin: 0 auto; padding: 8px 20px 56px; }
.prose h1 { font-size: 34px; line-height: 1.3; font-weight: 600; letter-spacing: 1px; margin: 28px 0 6px; }
.prose h1 + p { color: var(--sub); font-size: 15px; margin-top: 0; }
.prose h2 {
  display: flex; align-items: center; gap: 12px;
  font-size: 21px; font-weight: 600; line-height: 1.4; margin: 40px 0 10px;
}
/* 节标题前的圆角小图标：陶土色圆角方块里一枚眼形线条 */
.prose h2::before {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 10px;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23AB6645' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16c3-4.6 6.3-6.6 10-6.6s7 2 10 6.6c-3 4.6-6.3 6.6-10 6.6S9 20.6 6 16Z'/%3E%3Ccircle cx='16' cy='16' r='3'/%3E%3C/svg%3E") center / 24px no-repeat;
}
.prose p, .prose li { color: var(--ink); }
.prose strong { font-weight: 600; }
/* 「一句话」摘要段：整段加粗的那一段升格为卡片 */
.prose p:has(> strong:only-child) {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px 22px; box-shadow: var(--shadow);
}
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 22px; margin: 6px 0; }
.prose ul > li::before {
  content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent);
}
.prose ol { list-style: none; padding-left: 0; counter-reset: n; }
.prose ol > li { counter-increment: n; position: relative; padding-left: 40px; margin: 10px 0; }
.prose ol > li::before {
  content: counter(n); position: absolute; left: 0; top: .1em;
  width: 28px; height: 28px; border-radius: 9px; background: var(--tint);
  color: var(--accent); font-weight: 600; font-size: 15px; line-height: 28px; text-align: center;
}
.prose hr { border: 0; height: 1px; background: var(--line); margin: 64px 0 8px; }
.prose code { font-size: .9em; }

/* ── 首页 ─────────────────────────────── */
/* 中英切换：纯 CSS（:target），无脚本。#en 被锚中时只显示英文，否则只显示中文；
   不支持 :has 的浏览器两种语言都显示 —— 宁可重复也不让一种语言读不到。
   页内因此不用其他锚点导航：跳别的锚点会让 #en 失去 :target、语言被切回中文。 */
@supports selector(:has(*)) {
  html:not(:has(#en:target)) .en { display: none !important; }
  html:has(#en:target) .zh { display: none !important; }
}
#en, #zh { position: absolute; top: 0; }

.wrap { max-width: 1040px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
section { padding-top: 56px; padding-bottom: 56px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 15px; letter-spacing: 2px; margin: 0 0 8px; }
.h2 { font-size: 34px; line-height: 1.3; font-weight: 600; letter-spacing: 1px; margin: 0 0 12px; }
.lede { color: var(--sub); font-size: 18px; margin: 0; max-width: 640px; }

.hero { text-align: center; padding-top: 40px; padding-bottom: 8px; }
.hero h1 { margin: 0; font-size: 64px; line-height: 1.15; font-weight: 600; letter-spacing: 4px; }
.hero h1 small { display: block; font-size: 26px; letter-spacing: 1px; color: var(--accent); font-weight: 500; margin-top: 6px; }
.hero .sub { margin: 22px auto 0; font-size: 28px; line-height: 1.45; font-weight: 500; color: var(--accent); max-width: 720px; }
.hero .lede { margin: 16px auto 0; }
.cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  padding: 14px 26px; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-size: 17px; font-weight: 600; text-decoration: none; cursor: default;
}
.cta:hover { color: var(--bg); }
.cta svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.req { margin: 12px 0 0; color: var(--sub); font-size: 14px; }

.stage { margin: 36px auto 0; max-width: 820px; }
.stage svg { display: block; width: 100%; height: auto; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 24px 22px 22px; box-shadow: var(--shadow);
}
.card .badge {
  width: 52px; height: 52px; border-radius: 15px; background: var(--tint);
  display: grid; place-items: center; margin-bottom: 14px;
}
.card .badge svg { width: 36px; height: 36px; stroke-width: 2.6; }
.card h3 { margin: 0 0 8px; font-size: 21px; font-weight: 600; }
.card .pain { margin: 0 0 10px; color: var(--accent); font-weight: 500; font-size: 17px; line-height: 1.6; }
.card p { margin: 0; color: var(--sub); font-size: 16px; line-height: 1.7; }

.feats { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 26px; max-width: 760px; }
.feats li { display: flex; align-items: center; gap: 22px; }
.feats svg { width: 60px; height: 60px; }
.feats .t { font-size: 23px; font-weight: 600; line-height: 1.4; }
.feats .s { font-size: 16px; color: var(--sub); line-height: 1.6; margin-top: 4px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 32px 0 0; padding: 0; list-style: none; counter-reset: n; }
.steps li { counter-increment: n; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.steps li::before {
  content: counter(n); display: block; width: 36px; height: 36px; border-radius: 11px;
  background: var(--tint); color: var(--accent); font-weight: 600; font-size: 18px;
  line-height: 36px; text-align: center; margin-bottom: 12px;
}
.steps p { margin: 0; font-size: 16px; line-height: 1.7; }
.more { margin: 20px 0 0; color: var(--sub); font-size: 15px; }

.price {
  background: var(--card); border: 1px solid var(--line); border-radius: 26px;
  padding: 32px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start;
}
.price .big { font-size: 28px; font-weight: 600; line-height: 1.4; margin: 0; }
.price .big em { font-style: normal; color: var(--accent); }
.price ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.price li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.6; }
.price li svg { width: 24px; height: 24px; margin-top: 2px; stroke-width: 2.4; }
.price .fine { grid-column: 1 / -1; margin: 0; color: var(--sub); font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }

.privacy {
  display: flex; gap: 22px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 28px 32px; box-shadow: var(--shadow);
}
.privacy svg { width: 72px; height: 72px; }
.privacy p { margin: 0; font-size: 19px; line-height: 1.7; }
.privacy .link { margin-top: 8px; font-size: 16px; }

.notice { color: var(--sub); font-size: 14px; line-height: 1.8; padding-top: 0; padding-bottom: 40px; }
.notice p { margin: 0 0 4px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding-top: 40px; padding-bottom: 40px; }
  .hero { padding-top: 24px; }
  .privacy { padding: 22px; }
  .hero h1 { font-size: 46px; letter-spacing: 3px; }
  .hero h1 small { font-size: 22px; }
  .hero .sub { font-size: 21px; }
  .lede { font-size: 16px; }
  .h2 { font-size: 26px; }
  .cards, .steps, .price { grid-template-columns: 1fr; }
  .price { padding: 24px 22px; gap: 20px; }
  .price .big { font-size: 23px; }
  .feats { gap: 22px; }
  .feats li { gap: 16px; align-items: flex-start; }
  .feats svg { width: 44px; height: 44px; }
  .feats .t { font-size: 18px; }
  .feats .s { font-size: 15px; }
  .privacy { align-items: flex-start; gap: 16px; }
  .privacy svg { width: 48px; height: 48px; }
  .privacy p { font-size: 16px; }
  .prose h1 { font-size: 27px; }
  .prose h2 { font-size: 19px; }
  .bar { padding: 14px 16px; }
  .brand small { display: none; }
  .bar nav a { font-size: 14px; padding: 4px 10px; }
  .wrap, .prose { padding-left: 16px; padding-right: 16px; }
  .foot { padding-left: 16px; padding-right: 16px; }
}
