/* 字母猿官网 · CSS 分文件（由 .tools/split-css.js 生成）
 * 核心变量与通用样式在 style.css；本文件只放对应页面的区块样式。
 */

/* ============================================================
   页脚锚点跳转 & 返回顶部（UX 走查修订）
   ============================================================ */
/* 锚点跳转时预留吸顶导航高度，避免标题被挡住 */
.sec-title[id], .svc-row[id], .decline-anchor { scroll-margin-top: 84px; }

/* 返回顶部 */
.back-top {
  position: fixed; right: 22px; bottom: calc(26px + env(safe-area-inset-bottom));
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 80; padding: 0;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, border-color .2s ease, color .2s ease;
}
.back-top.is-show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { border-color: var(--brand); color: var(--brand); }
.back-top svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) {
  .back-top { transition: none; }
}
