/* ==========================================================================
   极简记账 — 静态展示站
   设计基调：Less is More，黑白灰为主，支出红作为少量点缀
   ========================================================================== */

:root {
  --ink: #0d0d0f;
  --ink-2: #3c3f45;
  --ink-3: #6b6f77;
  --line: #e7e7ea;
  --line-strong: #d5d6da;
  --bg: #ffffff;
  --bg-alt: #f7f7f8;
  --bg-deep: #0d0d0f;
  --accent: #e4573f;
  --green: #2fb56a;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(13, 13, 15, .04), 0 8px 24px -12px rgba(13, 13, 15, .18);
  --shadow-md: 0 2px 4px rgba(13, 13, 15, .04), 0 24px 48px -24px rgba(13, 13, 15, .28);
  --shadow-phone: 0 40px 80px -32px rgba(13, 13, 15, .45);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* height:auto 覆盖 <img height="…"> 属性带来的固定高度，避免图片被拉长 */
img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -.02em; font-weight: 600; }

p { margin: 0; }

ul, dl, dd, dt, figure { margin: 0; padding: 0; }
li { list-style: none; }

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

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

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: .01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s cubic-bezier(.2, .7, .3, 1),
              background-color .25s ease,
              border-color .25s ease,
              box-shadow .25s ease,
              color .25s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 26px -14px rgba(13, 13, 15, .9);
}
.btn-dark:hover { background: #232327; }

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-light:hover { border-color: var(--ink); }

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; margin-top: auto; }

/* ---------- 顶栏 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, .92);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}
.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.brand-text small { font-size: 12px; color: var(--ink-3); letter-spacing: .015em; }

.nav {
  display: flex;
  gap: 30px;
  font-size: 15px;
  color: var(--ink-2);
}
.nav a { position: relative; padding: 4px 0; transition: color .2s ease; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--ink);
  transition: width .3s cubic-bezier(.2, .7, .3, 1);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

/* ---------- 通用 section ---------- */

.section { padding: 104px 0; }

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

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 40px);
}

.section-lead {
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 16.5px;
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 520px at 78% 8%, rgba(13, 13, 15, .05), transparent 65%),
    radial-gradient(700px 420px at 4% 92%, rgba(228, 87, 63, .07), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 56px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 13px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, .7);
  font-size: 13.5px;
  color: var(--ink-2);
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 181, 106, .14);
}

.hero-title {
  margin-top: 26px;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 600;
  letter-spacing: -.035em;
}
.hero-title-sub {
  display: block;
  margin-top: 14px;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--ink-3);
}

.hero-lead {
  margin-top: 26px;
  max-width: 33em;
  font-size: 17px;
  color: var(--ink-2);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.stat-row li { display: flex; flex-direction: column; gap: 2px; }
.stat-row strong {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat-unit { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-left: 2px; }
.stat-row span { font-size: 13px; color: var(--ink-3); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-note {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ---------- 手机模型 ---------- */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 520px;
}

.hero-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 13, 15, .07), transparent 68%);
  filter: blur(10px);
  z-index: 0;
}

.phone-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.phone {
  position: relative;
  width: 250px;
  aspect-ratio: 9 / 19.5;
  border-radius: 38px;
  background: #0d0d0f;
  padding: 9px;
  box-shadow: var(--shadow-phone);
  overflow: hidden;
  z-index: 2;
}
.phone::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 30px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  pointer-events: none;
  z-index: 3;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  background: #fff;
}

.phone-front {
  animation: float-phone 7s ease-in-out infinite;
}

.phone-back {
  position: absolute;
  top: 6%;
  width: 214px;
  z-index: 1;
  opacity: .96;
  filter: saturate(.92);
}
.phone-back-left {
  transform: translateX(-118px) rotate(-8deg) scale(.94);
  transform-origin: bottom center;
}
.phone-back-right {
  transform: translateX(118px) rotate(8deg) scale(.94);
  transform-origin: bottom center;
}

@keyframes float-phone {
  0%, 100% { transform: translateY(0) rotate(-.6deg); }
  50% { transform: translateY(-14px) rotate(.6deg); }
}

/* ---------- 功能 ---------- */

.features { background: var(--bg-alt); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card {
  position: relative;
  background: #fff;
  padding: 34px 30px 36px;
  transition: background-color .3s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 30px;
  width: 24px;
  height: 2px;
  background: transparent;
  transition: background-color .3s ease, width .3s ease;
}
.feature-card:hover { background: #fcfcfc; }
.feature-card:hover::before { background: var(--accent); }

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 { font-size: 17px; font-weight: 600; }
.feature-card p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.75;
}
.feature-card-quiet { background: #fbfbfc; }

/* ---------- 截图 ---------- */

.shots { overflow: hidden; }

.shots-viewport { position: relative; }

.shots-track {
  display: flex;
  gap: 22px;
  padding: 6px max(24px, calc((100vw - var(--container)) / 2 + 24px)) 34px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.shots-track::-webkit-scrollbar { display: none; }
.shots-track:focus-visible { outline-offset: -4px; }

.shot {
  flex: none;
  width: 248px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #0d0d0f;
  cursor: zoom-in;
  overflow: hidden;
  scroll-snap-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .4s cubic-bezier(.2, .7, .3, 1), box-shadow .4s ease;
}
.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}
.shot:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.shots-fade {
  position: absolute;
  top: 0;
  bottom: 34px;
  width: 90px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}
.shots-fade-left { left: 0; background: linear-gradient(to right, #fff, transparent); }
.shots-fade-right { right: 0; background: linear-gradient(to left, #fff, transparent); }
.shots-viewport.can-scroll-left .shots-fade-left { opacity: 1; }
.shots-viewport.can-scroll-right .shots-fade-right { opacity: 1; }

/* ---------- 应用介绍 ---------- */

.intro { background: var(--bg-alt); }

.intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: 64px;
  align-items: start;
}

.intro-text h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 24px; }
.intro-text p { color: var(--ink-2); font-size: 16.5px; margin-bottom: 18px; }
.intro-text p:last-child { margin-bottom: 0; }

.intro-quote {
  padding-left: 20px;
  border-left: 2px solid var(--ink);
  font-size: 18px !important;
  font-weight: 500;
  color: var(--ink) !important;
  letter-spacing: .01em;
}

.intro-side { display: flex; flex-direction: column; gap: 18px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 15px; letter-spacing: .02em; }
.card-muted { background: #fbfbfc; }
.card-muted p { margin-top: 12px; font-size: 14.5px; color: var(--ink-3); }
.card-mail { word-break: break-all; }
.card-mail a {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color .2s ease;
}
.card-mail a:hover { border-color: var(--ink); }

/* ---------- 下载 ---------- */

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.download-card {
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .35s cubic-bezier(.2, .7, .3, 1),
              box-shadow .35s ease,
              border-color .35s ease;
}
.download-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
}
.platform-icon svg { width: 24px; height: 24px; }

.download-card h3 { font-size: 18px; margin-bottom: 28px; }

/* ---------- 页脚 ---------- */

.site-footer {
  background: var(--bg-deep);
  color: #fff;
  padding: 64px 0 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px 40px;
  align-items: center;
}

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { border-radius: 12px; }
.footer-brand strong { font-size: 17px; }
.footer-brand p { font-size: 12.5px; color: rgba(255, 255, 255, .5); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, .72);
}
.footer-nav a { transition: color .2s ease; }
.footer-nav a:hover { color: #fff; }

.footer-legal {
  grid-column: 1 / -1;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer-legal a {
  color: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .28);
}
.footer-legal a:hover { color: #fff; border-color: #fff; }

/* ---------- 大图查看 ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 84px;
}
.lightbox[hidden] { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, .88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade-in .25s ease both;
}

.lightbox-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-height: 100%;
  animation: zoom-in .32s cubic-bezier(.2, .7, .3, 1) both;
}
.lightbox-figure img {
  max-height: calc(100vh - 140px);
  width: auto;
  border-radius: 20px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.lightbox-figure figcaption {
  color: rgba(255, 255, 255, .62);
  font-size: 13.5px;
  letter-spacing: .04em;
}

.lightbox-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  cursor: pointer;
  transition: background-color .22s ease, border-color .22s ease, transform .22s ease;
}
.lightbox-btn:hover {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .4);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.06); }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoom-in {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}

body.is-locked { overflow: hidden; }

/* ---------- 滚动进入 ---------- */

/* 默认可见；由 JS 加上 .is-armed 后才进入待播放状态，
   这样在禁用 JS 或脚本失败时内容依然完整可见 */
.reveal.is-armed {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1),
              transform .7s cubic-bezier(.2, .7, .3, 1);
  will-change: opacity, transform;
}
.reveal.is-armed.is-visible { opacity: 1; transform: none; }

/* 逐个卡片错开 */
.feature-card.reveal.is-armed:nth-child(3n+2) { transition-delay: .06s; }
.feature-card.reveal.is-armed:nth-child(3n) { transition-delay: .12s; }
.download-card.reveal.is-armed:nth-child(2) { transition-delay: .07s; }
.download-card.reveal.is-armed:nth-child(3) { transition-delay: .14s; }

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1100px) {
  .hero-inner { gap: 40px; }
  .phone { width: 224px; }
  .phone-back { width: 190px; }
  .phone-back-left { transform: translateX(-102px) rotate(-8deg) scale(.94); }
  .phone-back-right { transform: translateX(102px) rotate(8deg) scale(.94); }
  .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .section { padding: 84px 0; }

  .hero { padding: 48px 0 72px; }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
  .hero-copy { text-align: left; }
  .hero-visual { min-height: 0; order: 2; }
  .phone-stack { padding: 20px 0; }
  .phone { width: 232px; }

  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .intro-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }

  .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .section { padding: 68px 0; }
  .container { padding: 0 20px; }

  .nav { display: none; }
  .header-cta { padding: 9px 18px; font-size: 13.5px; }

  .hero-title { font-size: clamp(36px, 11vw, 48px); }
  .hero-lead { font-size: 16px; }

  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 8px;
  }
  .stat-row strong { font-size: 21px; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  /* 只保留主手机，避免小屏拥挤 */
  .phone-back { display: none; }
  .phone { width: 228px; }

  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-card { padding: 28px 24px 30px; }

  .shots-track { gap: 16px; padding-left: 20px; padding-right: 20px; }
  .shot { width: 208px; }
  .shots-fade { display: none; }

  .download-grid { grid-template-columns: minmax(0, 1fr); }

  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-nav { gap: 16px 20px; }

  .lightbox { padding: 24px 16px 72px; }
  .lightbox-figure img { max-height: calc(100vh - 180px); border-radius: 14px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 14px; right: 14px; }
}

/* ==========================================================================
   动效偏好
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal.is-armed { opacity: 1; transform: none; }
  .phone-front { animation: none; }
}

/* ==========================================================================
   内页：技术支持 / 删除账号
   ========================================================================== */

.doc-hero {
  padding: 72px 0 44px;
  border-bottom: 1px solid var(--line);
}
.doc-hero h1 { margin-top: 14px; font-size: clamp(30px, 4.4vw, 46px); }
.doc-lead {
  margin-top: 18px;
  max-width: 46em;
  font-size: 17px;
  color: var(--ink-2);
}

.doc-body { padding: 56px 0 104px; }

.doc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  align-items: start;
}

/* ---------- 正文排版 ---------- */

.prose { max-width: 46em; }
.prose > * + * { margin-top: 18px; }

.prose h2 {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 22px;
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.prose p,
.prose li { font-size: 16px; color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color .2s ease;
}
.prose a:hover { border-color: var(--ink); }

.prose ul > li,
.prose ol > li {
  position: relative;
  padding-left: 26px;
  margin-top: 10px;
}
.prose ul > li:first-child,
.prose ol > li:first-child { margin-top: 0; }
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 7px;
  top: .68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  opacity: .3;
}
.prose ol { counter-reset: doc-step; }
.prose ol > li { padding-left: 38px; }
.prose ol > li::before {
  counter-increment: doc-step;
  content: counter(doc-step);
  position: absolute;
  left: 0;
  top: .1em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 12px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.prose .note {
  padding-left: 16px;
  border-left: 2px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
}

/* 联系方式表 */
.contact-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.contact-list > div {
  display: flex;
  gap: 18px;
  padding: 16px 20px;
  background: #fff;
}
.contact-list dt {
  flex: none;
  width: 56px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.contact-list dd { font-size: 15.5px; word-break: break-all; }

/* 常见问题 */
.faq { border-top: 1px solid var(--line); }
.prose .faq details { border-bottom: 1px solid var(--line); }
.prose .faq summary {
  position: relative;
  display: block;
  padding: 18px 40px 18px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color .2s ease;
}
.prose .faq summary::-webkit-details-marker { display: none; }
.prose .faq summary::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid var(--ink-2);
  border-bottom: 1.6px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .28s cubic-bezier(.2, .7, .3, 1);
}
.prose .faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.prose .faq summary:hover { color: var(--ink-3); }
.prose .faq details p {
  padding: 0 40px 20px 0;
  font-size: 15px;
  color: var(--ink-3);
}

/* ---------- 侧栏 ---------- */

.doc-aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.doc-aside .card h3 { font-size: 15px; }

.card-contact { margin-top: 14px; display: grid; gap: 12px; }
.card-contact li { display: flex; flex-direction: column; gap: 2px; }
.card-contact span:first-child { font-size: 12.5px; color: var(--ink-3); }
.card-contact a,
.card-contact span:last-child { font-size: 14.5px; word-break: break-all; }
.card-contact a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color .2s ease;
}
.card-contact a:hover { border-color: var(--ink); }

.card-links { margin-top: 14px; display: grid; gap: 10px; }
.card-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color .2s ease;
}
.card-links a::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid var(--line-strong);
  border-right: 1.5px solid var(--line-strong);
  transform: rotate(45deg);
  transition: border-color .2s ease, transform .2s ease;
}
.card-links a:hover { color: var(--ink); }
.card-links a:hover::after {
  border-color: var(--ink);
  transform: rotate(45deg) translate(2px, -2px);
}

@media (max-width: 980px) {
  .doc-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .doc-aside { position: static; top: auto; }
}

@media (max-width: 720px) {
  .doc-hero { padding: 44px 0 32px; }
  .doc-lead { font-size: 16px; }
  .doc-body { padding: 40px 0 76px; }
  .prose h2 { margin-top: 38px; padding-top: 24px; font-size: 20px; }
  .contact-list > div { flex-direction: column; gap: 4px; }
  .contact-list dt { width: auto; }
}
