/* 三思 Sansi 支持页
   视觉与 app 同源：墨黑底、宣纸字、铜钱金。
   --site-* 变量供 Qoder 设计工作台（Nudge）调整，默认值即当前设计。 */
:root {
  --site-bg: #0B0E12;
  --site-fg: #ECE9E1;
  --site-accent: #D8A94C;
  --site-on-accent: #1B1508;
  --site-surface: #161A20;
  --site-muted: #959DA9;
  --site-border: #262C36;
  --site-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Helvetica Neue", "Segoe UI", sans-serif;
  --site-radius: 12px;
  --site-space: 1;
  --site-type: 1;
  --site-motion: 1;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-fg);
  font-family: var(--site-font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px calc(40px * var(--site-space, 1));
}

section {
  padding: calc(24px * var(--site-space, 1)) 0;
}

/* 头部 */
header.hero {
  padding: calc(40px * var(--site-space, 1)) 0 calc(16px * var(--site-space, 1));
  display: flex;
  align-items: center;
  gap: calc(16px * var(--site-space, 1));
}

.hero img.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px; /* 图标圆角固定：app 图标本身自带头尾，不随 --site-radius 变 */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  margin: 0;
  font-size: calc(48px * var(--site-type, 1));
  line-height: 1.1;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.hero .tagline {
  margin: 4px 0 0;
  color: var(--site-muted);
  font-size: 15px;
}

/* 截图区 */
.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(16px * var(--site-space, 1));
}

.shots figure {
  margin: 0;
}

.shots img {
  width: 100%;
  border-radius: calc(var(--site-radius) * 1.4);
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  display: block;
}

.shots figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--site-muted);
}

/* 小标题 */
h2 {
  font-size: 20px;
  font-weight: 650;
  margin: 0 0 calc(12px * var(--site-space, 1));
  letter-spacing: 0.01em;
}

.lede {
  max-width: 36em;
  color: var(--site-fg);
  font-size: 15px;
}

.lede .accent { color: var(--site-accent); }

/* 特点网格 */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(12px * var(--site-space, 1));
  margin-top: calc(12px * var(--site-space, 1));
}

.feature {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  padding: calc(16px * var(--site-space, 1));
  transition: border-color calc(180ms * var(--site-motion, 1)) ease,
    transform calc(180ms * var(--site-motion, 1)) ease;
}

.feature:hover {
  border-color: var(--site-accent);
  transform: translateY(-1px);
}

.feature h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 650;
}

.feature h3 .accent { color: var(--site-accent); }

.feature p {
  margin: 0;
  font-size: 13px;
  color: var(--site-muted);
}

/* 步骤与问答 */
.steps {
  counter-reset: step;
  list-style: none;
  margin: calc(12px * var(--site-space, 1)) 0 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
  display: flex;
  gap: calc(12px * var(--site-space, 1));
  align-items: baseline;
  padding: calc(10px * var(--site-space, 1)) 0;
  border-bottom: 1px solid var(--site-border);
}

.steps li:last-child { border-bottom: none; }

.steps li::before {
  content: counter(step);
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--site-accent);
  color: var(--site-on-accent);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(4px);
}

.steps li .q { font-size: 14px; color: var(--site-fg); }
.steps li .q small { display: block; color: var(--site-muted); font-size: 12.5px; margin-top: 2px; }

.faq {
  margin-top: calc(8px * var(--site-space, 1));
}

.faq details {
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  background: var(--site-surface);
  margin-bottom: calc(10px * var(--site-space, 1));
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: calc(12px * var(--site-space, 1)) calc(16px * var(--site-space, 1));
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  transition: color calc(180ms * var(--site-motion, 1)) ease;
}

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

.faq summary:hover { color: var(--site-accent); }

.faq summary::after {
  content: "+";
  float: right;
  color: var(--site-muted);
  font-weight: 500;
  transition: transform calc(180ms * var(--site-motion, 1)) ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq .answer {
  padding: 0 calc(16px * var(--site-space, 1)) calc(12px * var(--site-space, 1));
  font-size: 13px;
  color: var(--site-muted);
}

/* 隐私政策等普通条目列表：铜金圆点 */
ul.plain {
  list-style: none;
  margin: calc(12px * var(--site-space, 1)) 0 0;
  padding: 0;
}

ul.plain li {
  position: relative;
  padding: calc(5px * var(--site-space, 1)) 0 calc(5px * var(--site-space, 1)) calc(18px * var(--site-space, 1));
  font-size: 14px;
  color: var(--site-fg);
}

ul.plain li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(16px * var(--site-space, 1));
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--site-accent);
}

/* 联系与页脚 */
.contact a {
  display: inline-block;
  margin-top: calc(8px * var(--site-space, 1));
  background: var(--site-accent);
  color: var(--site-on-accent);
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
  padding: calc(10px * var(--site-space, 1)) calc(22px * var(--site-space, 1));
  border-radius: 999px; /* 按钮胶囊固定，不随 --site-radius 变 */
  transition: opacity calc(180ms * var(--site-motion, 1)) ease,
    transform calc(180ms * var(--site-motion, 1)) ease;
}

.contact a:hover { opacity: 0.88; }
.contact a:active { transform: scale(0.98); }

footer.site {
  border-top: 1px solid var(--site-border);
  padding-top: calc(16px * var(--site-space, 1));
  color: var(--site-muted);
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

footer.site a { color: var(--site-muted); }
footer.site a:hover { color: var(--site-accent); }

a { transition: color calc(180ms * var(--site-motion, 1)) ease; }

@media (max-width: 640px) {
  .shots { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}
