/* ==========================================================================
   渊账本 · 官网样式
   设计语言与应用内一致：主色 #0a59f7、圆角卡片、克制留白、
   动效只用 opacity / transform（时长沿用应用 Anim.ets 的 90 / 180 / 240 / 320ms）。
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --bg-soft: #eef3f9;
  --surface: #ffffff;
  --surface-2: #f3f6fa;
  --surface-3: #e7edf6;
  --ink: #0f1b2d;
  --ink-2: #2b3b52;
  --muted: #637083;
  --faint: #8a96a8;
  --line: rgba(17, 29, 48, 0.09);
  --line-strong: rgba(17, 29, 48, 0.15);
  --grid: rgba(17, 29, 48, 0.055);
  --primary: #0a59f7;
  --primary-deep: #0645d0;
  --primary-soft: #eaf1ff;
  --on-primary: #ffffff;
  --income: #0f8a4c;
  --income-soft: #e7f7ee;
  --expense: #d93a40;
  --expense-soft: #fff0f0;
  --orange: #d98200;
  --orange-soft: #fff5e5;
  --purple: #7c53e8;
  --purple-soft: #f2edff;
  --nav-bg: rgba(247, 250, 253, 0.78);
  --footer-bg: #0b1220;
  --footer-ink: #d7e0ee;
  --footer-muted: #8d9bb0;
  --shadow-1: 0 1px 2px rgba(15, 27, 45, 0.04), 0 10px 28px rgba(15, 27, 45, 0.06);
  --shadow-2: 0 18px 44px rgba(15, 27, 45, 0.1);
  --shadow-3: 0 46px 100px rgba(11, 32, 74, 0.22), 0 10px 24px rgba(11, 32, 74, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --font-sans: "HarmonyOS Sans SC", "HarmonyOS Sans", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, "Liberation Mono", monospace;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-h: 72px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0f18;
  --bg-soft: #0d131e;
  --surface: #121a28;
  --surface-2: #0f1622;
  --surface-3: #1b2534;
  --ink: #eef3fa;
  --ink-2: #d3ddea;
  --muted: #97a4b8;
  --faint: #7c8a9d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --grid: rgba(255, 255, 255, 0.035);
  --primary: #6b9cff;
  --primary-deep: #8ab2ff;
  --primary-soft: rgba(96, 148, 255, 0.14);
  --on-primary: #ffffff;
  --income: #57c98a;
  --income-soft: rgba(87, 201, 138, 0.14);
  --expense: #ff8b8f;
  --expense-soft: rgba(255, 139, 143, 0.14);
  --orange: #ffbf5c;
  --orange-soft: rgba(255, 191, 92, 0.14);
  --purple: #b094ff;
  --purple-soft: rgba(176, 148, 255, 0.14);
  --nav-bg: rgba(10, 15, 24, 0.74);
  --footer-bg: #070c14;
  --footer-ink: #d7e0ee;
  --footer-muted: #8d9bb0;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.35), 0 12px 30px rgba(0, 0, 0, 0.28);
  --shadow-2: 0 18px 46px rgba(0, 0, 0, 0.42);
  --shadow-3: 0 46px 100px rgba(0, 0, 0, 0.55), 0 10px 24px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

svg {
  flex: none;
}

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

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid rgba(10, 89, 247, 0.38);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(10, 89, 247, 0.18);
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--on-primary);
  background: var(--primary);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: top 180ms var(--ease-out);
}

.skip-link:focus-visible {
  top: 12px;
}

.shell {
  width: min(1180px, 100% - 56px);
  margin-inline: auto;
}

.shell--narrow {
  width: min(820px, 100% - 56px);
}

.section {
  position: relative;
  padding: 88px 0;
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.section--tint {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}

.section-lede {
  margin-top: 18px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.85;
}

.aside-note {
  margin-top: 26px;
  padding-left: 18px;
  border-left: 2px solid var(--line-strong);
  max-width: 76ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.aside-note b {
  color: var(--ink-2);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   顶部导航
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--nav-bg);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(15, 27, 45, 0.05);
}

[data-theme="dark"] .site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  flex: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(10, 89, 247, 0.24);
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-text small {
  margin-top: 3px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.site-nav a {
  position: relative;
  padding: 8px 12px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.site-nav a.is-active {
  color: var(--primary);
  background: var(--primary-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  transition: transform 240ms var(--ease-spring), border-color 180ms var(--ease-out),
    background-color 180ms var(--ease-out);
}

.icon-button:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.icon-button:active {
  transform: scale(0.94);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.nav-toggle {
  display: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 240ms var(--ease-spring), box-shadow 240ms var(--ease-out),
    background-color 180ms var(--ease-out), border-color 180ms var(--ease-out),
    color 180ms var(--ease-out);
}

.button svg {
  transition: transform 240ms var(--ease-out);
}

.button:hover svg {
  transform: translateX(3px);
}

.button:active {
  transform: scale(0.98);
}

.button--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13.5px;
}

.button--primary {
  color: var(--on-primary);
  background: linear-gradient(135deg, #2f7bff, #0a59f7 55%, #0645d0);
  box-shadow: 0 12px 26px rgba(10, 89, 247, 0.26);
}

.button--primary:hover {
  box-shadow: 0 16px 32px rgba(10, 89, 247, 0.32);
}

.button--ghost {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-1);
}

.button--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.button--light {
  color: #0a2a66;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(4, 22, 70, 0.24);
}

.button--light:hover {
  background: #f2f7ff;
}

.button--outline-light {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
}

.button--outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button.is-disabled {
  color: rgba(10, 42, 102, 0.55);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: none;
  cursor: not-allowed;
}

.button.is-disabled:hover svg,
.button.is-disabled:hover {
  transform: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 46% 30%, #000 26%, transparent 76%);
  mask-image: radial-gradient(ellipse 72% 62% at 46% 30%, #000 26%, transparent 76%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -280px;
  right: -180px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(10, 89, 247, 0.18), transparent 64%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 56px;
  align-items: center;
  min-height: min(720px, calc(100vh - var(--header-h) - 110px));
  padding-bottom: 48px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(10, 89, 247, 0.14);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

[data-theme="dark"] .eyebrow {
  border-color: rgba(107, 156, 255, 0.22);
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 89, 247, 0.12);
}

.hero h1 {
  margin: 24px 0 22px;
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero h1 .accent {
  color: var(--primary);
}

.lede {
  max-width: 35em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.lede strong {
  color: var(--ink-2);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-facts {
  display: flex;
  gap: 0;
  margin-top: 44px;
}

.hero-facts li {
  display: grid;
  gap: 2px;
  padding-right: 30px;
  margin-right: 30px;
  border-right: 1px solid var(--line);
}

.hero-facts li:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.hero-facts strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.hero-facts span {
  color: var(--muted);
  font-size: 12.5px;
}

/* 手机与浮动卡片 */

.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 660px;
}

.phone {
  position: relative;
  width: 300px;
  padding: 9px;
  border-radius: 48px;
  background: #111722;
  box-shadow: var(--shadow-3);
  z-index: 1;
}

.phone::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 48px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 39px;
  background: #eef3f9;
  aspect-ratio: 720 / 1582;
}

.phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16), transparent 38%, transparent 70%, rgba(255, 255, 255, 0.06));
  pointer-events: none;
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(13, 32, 70, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #0f1b2d;
}

[data-theme="dark"] .float-card {
  background: rgba(22, 31, 46, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--ink);
}

.float-card .fc-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(10, 89, 247, 0.1);
  color: var(--primary);
}

[data-theme="dark"] .float-card .fc-icon {
  background: rgba(107, 156, 255, 0.16);
}

.float-card b {
  display: block;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
}

.float-card span {
  display: block;
  margin-top: 2px;
  color: #667085;
  font-size: 11px;
  line-height: 1.35;
}

[data-theme="dark"] .float-card span {
  color: var(--muted);
}

.float-card--offline {
  right: 4px;
  bottom: 148px;
  transform: rotate(1.8deg);
  animation: drift 8.5s ease-in-out 0.8s infinite;
}

.float-card--snapshot {
  left: 14px;
  bottom: 42px;
  transform: rotate(-1.4deg);
}

@keyframes drift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}

.trust-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  padding: 24px 0 26px;
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}

.trust-strip li:first-child {
  padding-left: 0;
}

.trust-strip li:last-child {
  border-right: 0;
}

.trust-strip svg {
  color: var(--primary);
}

.trust-strip b {
  color: var(--ink);
  font-weight: 750;
}

/* --------------------------------------------------------------------------
   记账三步
   -------------------------------------------------------------------------- */

.flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 10px;
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  transition: transform 240ms var(--ease-spring), border-color 180ms var(--ease-out);
}

.step:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 89, 247, 0.28);
}

.step-index {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.step h3 {
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.step p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.sheet-demo {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 42px 34px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(10, 89, 247, 0.14);
  background: linear-gradient(158deg, #eef4ff, #dde9ff 52%, #cddfff);
  overflow: hidden;
}

[data-theme="dark"] .sheet-demo {
  border-color: rgba(107, 156, 255, 0.18);
  background: linear-gradient(158deg, #14243f, #101c33 55%, #0c1628);
}

.sheet-demo::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .sheet-demo::before {
  background: rgba(107, 156, 255, 0.08);
}

.sheet-card {
  position: relative;
  width: 100%;
  max-width: 372px;
  padding: 16px 18px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 32px 70px rgba(13, 40, 96, 0.2);
}

.sheet-grip {
  width: 38px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 99px;
  background: var(--surface-3);
}

.sheet-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.sheet-title b {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sheet-close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
}

.segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: var(--surface-2);
}

.segmented span {
  display: grid;
  place-items: center;
  height: 32px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}

.segmented .active {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 4px 12px rgba(15, 27, 45, 0.08);
}

.amount-box {
  margin-top: 12px;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-2);
  text-align: center;
}

.amount-box small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.amount i {
  font-size: 19px;
  font-style: normal;
  font-weight: 650;
  opacity: 0.72;
}

.sheet-label {
  margin: 15px 0 8px;
  font-size: 11.5px;
  font-weight: 750;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.cat {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 10px 2px 8px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.cat i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 2px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}

.cat.active {
  border-color: rgba(10, 89, 247, 0.34);
  background: var(--primary-soft);
  color: var(--primary);
}

.cat.active i {
  background: var(--primary);
  color: #fff;
}

.date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
}

.date-row b {
  color: var(--ink-2);
  font-weight: 700;
}

.save-demo {
  display: grid;
  place-items: center;
  height: 46px;
  margin-top: 13px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #2f7bff, #0a59f7);
  font-size: 13.5px;
  font-weight: 750;
  box-shadow: 0 12px 24px rgba(10, 89, 247, 0.24);
}

/* --------------------------------------------------------------------------
   预算与统计
   -------------------------------------------------------------------------- */

.insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 20px;
  align-items: stretch;
}

.panel {
  position: relative;
  padding: 26px 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.panel-head h3 {
  font-size: 16px;
  font-weight: 780;
  letter-spacing: -0.01em;
}

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
}

.chip-group {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--surface-2);
}

.chip-group span {
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.chip-group .active {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 3px 10px rgba(15, 27, 45, 0.08);
}

.ring-wrap {
  position: relative;
  width: 196px;
  margin: 6px auto 4px;
}

.ring {
  display: block;
  width: 100%;
  height: auto;
  transform: rotate(-90deg);
}

.ring-track {
  fill: none;
  stroke: var(--surface-3);
  stroke-width: 14;
}

.ring-value {
  fill: none;
  stroke: var(--primary);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 540.35;
  stroke-dashoffset: 540.35;
  transition: stroke-dashoffset 900ms var(--ease-out) 120ms;
}

.is-visible .ring-value {
  stroke-dashoffset: 367.4;
}

.ring-copy {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}

.ring-copy strong {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.ring-copy span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11.5px;
}

.budget-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.budget-meta > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.budget-meta span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}

.budget-meta b {
  display: block;
  margin-top: 5px;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.budget-meta b.good {
  color: var(--income);
}

.week-budget {
  margin-top: 18px;
  padding: 15px 16px;
  border-radius: 18px;
  background: var(--surface-2);
}

.week-budget .row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 650;
}

.week-budget .row.small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
}

.week-budget .bad {
  color: var(--expense);
  font-weight: 750;
}

.track {
  height: 7px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--surface-3);
}

.track i {
  display: block;
  width: var(--w, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7aa7ff, #0a59f7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 800ms var(--ease-out) 160ms;
}

.track i.bad {
  background: linear-gradient(90deg, #ff8f92, #d93a40);
}

.is-visible .track i {
  transform: scaleX(1);
}

.chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  height: 214px;
  margin-top: 4px;
}

.bar-col {
  display: grid;
  grid-template-rows: 18px 1fr 20px;
  gap: 6px;
  min-width: 0;
}

.bar-amount {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transition: opacity 300ms var(--ease-out) 500ms;
  white-space: nowrap;
}

.bar-col.is-current .bar-amount {
  color: var(--primary);
  opacity: 0;
}

.is-visible .bar-amount {
  opacity: 1;
}

.is-visible .bar-col.is-current .bar-amount {
  opacity: 1;
}

.bar-track {
  display: flex;
  align-items: flex-end;
  height: 100%;
}

.bar {
  display: block;
  width: 100%;
  max-width: 30px;
  height: var(--h, 10%);
  margin: 0 auto;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #a9c6ff, #6b9cff 55%, #3f7ef5);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 700ms var(--ease-out);
  transition-delay: var(--delay, 90ms);
}

.bar-col.is-current .bar {
  background: linear-gradient(180deg, #4d90ff, #0a59f7 60%, #0645d0);
  box-shadow: 0 10px 22px rgba(10, 89, 247, 0.22);
}

.is-visible .bar {
  transform: scaleY(1);
}

.bar-label {
  color: var(--faint);
  font-size: 10.5px;
  text-align: center;
}

.bar-col.is-current .bar-label {
  color: var(--primary);
  font-weight: 700;
}

.chart-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.chart-foot .legend {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.chart-foot .dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: #0a59f7;
}

.chart-foot .dot.soft {
  background: #a9c6ff;
}

.rank {
  display: grid;
  gap: 2px;
  margin-top: 6px;
}

.rank li {
  display: grid;
  grid-template-columns: 10px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}

.rank li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.rank .dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--primary);
}

.rank .dot.purple {
  background: #8b5cf6;
}

.rank .dot.orange {
  background: #f59e0b;
}

.rank .name {
  color: var(--ink-2);
  font-weight: 600;
}

.rank .pct {
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.rank .amt {
  min-width: 88px;
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   能力
   -------------------------------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  transition: transform 240ms var(--ease-spring), border-color 180ms var(--ease-out),
    box-shadow 240ms var(--ease-out);
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 89, 247, 0.26);
  box-shadow: var(--shadow-2);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 15px;
  color: var(--primary);
  background: var(--primary-soft);
}

.feature:nth-child(2) .feature-icon {
  color: var(--income);
  background: var(--income-soft);
}

.feature:nth-child(3) .feature-icon {
  color: var(--purple);
  background: var(--purple-soft);
}

.feature:nth-child(4) .feature-icon {
  color: var(--orange);
  background: var(--orange-soft);
}

.feature:nth-child(5) .feature-icon {
  color: #0e7490;
  background: rgba(14, 116, 144, 0.1);
}

[data-theme="dark"] .feature:nth-child(5) .feature-icon {
  color: #67d3ea;
  background: rgba(103, 211, 234, 0.14);
}

.feature:nth-child(6) .feature-icon {
  color: var(--expense);
  background: var(--expense-soft);
}

.feature h3 {
  font-size: 17.5px;
  font-weight: 780;
  letter-spacing: -0.01em;
}

.feature p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.pill {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.pill b {
  color: var(--ink-2);
  font-weight: 700;
}

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

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 16px;
}

.shot {
  display: grid;
  gap: 11px;
  padding: 8px 8px 12px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-1);
  cursor: zoom-in;
  transition: transform 240ms var(--ease-spring), border-color 180ms var(--ease-out),
    box-shadow 240ms var(--ease-out);
}

.shot:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 89, 247, 0.3);
  box-shadow: var(--shadow-2);
}

.shot:active {
  transform: scale(0.985);
}

.shot picture,
.shot img {
  display: block;
}

.shot img {
  width: 100%;
  border-radius: 15px;
  background: var(--surface-2);
}

.shot-label {
  display: grid;
  gap: 2px;
  padding: 0 6px;
}

.shot-label b {
  font-size: 13px;
  font-weight: 750;
}

.shot-label span {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.gallery-hint {
  margin-top: 20px;
  color: var(--faint);
  font-size: 12px;
  text-align: center;
}

/* 灯箱 */

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.lightbox::backdrop {
  background: rgba(5, 10, 20, 0.82);
  backdrop-filter: blur(8px);
}

.lightbox-inner {
  display: grid;
  grid-template-columns: auto minmax(0, auto) auto;
  align-items: center;
  gap: 18px;
  width: min(1080px, 100% - 40px);
  height: 100%;
  margin-inline: auto;
  padding: 34px 0;
}

.lightbox-figure {
  margin: 0;
  display: grid;
  gap: 12px;
  justify-items: center;
  min-width: 0;
}

.lightbox-figure img {
  max-height: calc(100vh - 150px);
  width: auto;
  max-width: 100%;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background: #0d1420;
}

.lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  text-align: center;
}

.lightbox-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.lightbox-button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox-button:active {
  transform: scale(0.94);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
}

.lightbox[open] {
  display: block;
  animation: fade-in 180ms var(--ease-out);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   隐私
   -------------------------------------------------------------------------- */

.privacy-band {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  margin: 0;
  color: #fff;
  background: radial-gradient(circle at 12% 8%, rgba(83, 141, 255, 0.5), transparent 42%),
    radial-gradient(circle at 92% 96%, rgba(18, 60, 170, 0.7), transparent 46%),
    linear-gradient(135deg, #0d55e8, #0a3fbd 58%, #072a86);
  scroll-margin-top: var(--header-h);
}

.privacy-band::before,
.privacy-band::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.privacy-band::before {
  width: 520px;
  height: 520px;
  right: -160px;
  top: -220px;
}

.privacy-band::after {
  width: 340px;
  height: 340px;
  left: -120px;
  bottom: -190px;
  background: rgba(255, 255, 255, 0.04);
}

.privacy-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
}

.privacy-band .kicker {
  color: #bcd3ff;
}

.privacy-band h2 {
  margin-top: 4px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.2;
}

.privacy-band p {
  margin-top: 18px;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15.5px;
  line-height: 1.9;
}

.privacy-band .button {
  margin-top: 28px;
}

.privacy-list {
  display: grid;
  gap: 12px;
}

.privacy-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.privacy-list b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.privacy-list strong {
  display: block;
  font-size: 15px;
  font-weight: 750;
}

.privacy-list span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.8px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   更新记录
   -------------------------------------------------------------------------- */

.timeline {
  position: relative;
  display: grid;
  gap: 16px;
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--primary), var(--line) 55%, transparent);
  opacity: 0.35;
}

.release {
  position: relative;
  padding: 26px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}

.release::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 34px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--bg);
}

.section--tint .release::before {
  box-shadow: 0 0 0 4px var(--bg-soft);
}

.release-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.release-head h3 {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.release-head time {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 12px;
}

.badge {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
}

.release ul {
  display: grid;
  gap: 9px;
}

.release li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.75;
}

.release li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.67em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--primary);
  opacity: 0.55;
}

.release li b {
  color: var(--ink-2);
  font-weight: 700;
}

details.release {
  padding: 0;
}

details.release summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 26px;
  cursor: pointer;
  list-style: none;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-2);
}

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

details.release summary .chev {
  margin-left: auto;
  color: var(--faint);
  transition: transform 180ms var(--ease-out);
}

details.release[open] summary .chev {
  transform: rotate(180deg);
}

details.release[open] summary {
  border-bottom: 1px solid var(--line);
}

details.release .release-body {
  padding: 18px 26px 24px;
}

details.release .release-body ul {
  gap: 8px;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  display: grid;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

.faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 400;
  transition: color 180ms var(--ease-out);
}

.faq details[open] summary::after {
  content: "−";
  color: var(--primary);
}

.faq-body {
  padding: 0 2px 24px;
  max-width: 70ch;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

.faq-body p + p {
  margin-top: 10px;
}

.faq-body b {
  color: var(--ink-2);
  font-weight: 700;
}

.faq-body code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-3);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.86em;
}

/* --------------------------------------------------------------------------
   获取
   -------------------------------------------------------------------------- */

.get {
  padding: 0 0 100px;
}

.get-card {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 56px 52px;
  border-radius: 38px;
  color: #fff;
  background: radial-gradient(circle at 88% -10%, rgba(110, 160, 255, 0.55), transparent 46%),
    linear-gradient(140deg, #1a6bff, #0a4fd8 58%, #1338a6);
  box-shadow: 0 40px 90px rgba(10, 79, 221, 0.28);
}

.get-card::before {
  content: "";
  position: absolute;
  right: 30%;
  bottom: -170px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.get-head,
.get-spec {
  position: relative;
}

.get-head {
  max-width: 720px;
}

.get-card .kicker {
  color: #bcd3ff;
}

.get-card h2 {
  font-size: clamp(30px, 3.4vw, 42px);
}

.get-card h2 span {
  font-family: var(--font-mono);
  font-size: 0.62em;
  font-weight: 600;
  opacity: 0.72;
}

.get-card p {
  margin-top: 14px;
  max-width: 40em;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14.5px;
  line-height: 1.85;
}

.device-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.device-chips li {
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 600;
}

.get-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.get-note {
  margin-top: 22px !important;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 12.5px !important;
}

.get-note a,
.get-inline-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.platform-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.platform {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.platform-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.platform-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #ffffff;
  color: #0a4fd8;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(4, 22, 70, 0.18);
}

.platform-icon--android {
  color: #0f8a4c;
}

.platform-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.platform-tag--soft {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.platform h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.platform p {
  margin-top: 8px;
  max-width: none;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.75;
}

.platform-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.platform-spec li {
  position: relative;
  padding-left: 11px;
}

.platform-spec li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.platform .button {
  margin-top: 22px;
  align-self: flex-start;
  min-height: 46px;
  padding: 0 20px;
  font-size: 14px;
}

.platform-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 22px;
}

.platform-actions .button {
  margin-top: 0;
}

.platform-direct {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.platform-direct:hover {
  color: #ffffff;
}

.get-spec {
  align-self: center;
  padding: 8px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.get-spec dl {
  display: grid;
}

.get-spec dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.get-spec dl > div:last-child {
  border-bottom: 0;
}

.get-spec dt {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.get-spec dd {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

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

.site-footer {
  padding: 64px 0 28px;
  background: var(--footer-bg);
  color: var(--footer-ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr));
  gap: 44px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand .brand-text small {
  color: var(--footer-muted);
}

.footer-brand p {
  margin-top: 18px;
  max-width: 26em;
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.85;
}

.footer-version {
  font-family: var(--font-mono);
  font-size: 11.5px !important;
  letter-spacing: 0.02em;
}

.site-footer h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 9px;
}

.site-footer nav a {
  justify-self: start;
  color: var(--footer-muted);
  font-size: 13px;
  transition: color 180ms var(--ease-out);
}

.site-footer nav a:hover {
  color: #fff;
}

.footer-note {
  color: var(--footer-muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--footer-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   隐私政策页
   -------------------------------------------------------------------------- */

.policy-hero {
  position: relative;
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
}

.policy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 20% 0%, rgba(10, 89, 247, 0.12), transparent 70%);
  pointer-events: none;
}

.policy-hero .shell {
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-size: 12.5px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.policy-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.policy-hero .lede {
  max-width: 46em;
  font-size: 16px;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.policy-meta span {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
  padding: 56px 0 96px;
  align-items: start;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.toc h2 {
  margin-bottom: 14px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 2px;
  counter-reset: toc;
}

.toc a {
  display: block;
  padding: 6px 10px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.toc a:hover {
  color: var(--primary);
  border-left-color: var(--primary);
  background: var(--primary-soft);
}

.policy {
  max-width: 760px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.95;
}

.policy > section + section {
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.policy h2 {
  margin-bottom: 14px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.policy h3 {
  margin: 22px 0 8px;
  font-size: 16.5px;
  font-weight: 750;
}

.policy p + p {
  margin-top: 12px;
}

.policy ul {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.policy ul li {
  position: relative;
  padding-left: 18px;
}

.policy ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--primary);
  opacity: 0.6;
}

.policy b {
  color: var(--ink);
  font-weight: 700;
}

.policy-summary {
  margin: 6px 0 30px;
  padding: 22px 24px;
  border: 1px solid rgba(10, 89, 247, 0.18);
  border-radius: 20px;
  background: var(--primary-soft);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.85;
}

.policy-summary strong {
  color: var(--primary);
}

.permission-table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.7;
}

.permission-table th,
.permission-table td {
  padding: 11px 13px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.permission-table th {
  background: var(--surface-2);
  color: var(--ink-2);
  font-weight: 700;
}

.permission-table code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.policy-contact {
  padding: 22px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  background: var(--surface);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   入场与响应式
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .float-card {
    display: none;
  }

  .hero-stage {
    min-height: 620px;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .privacy-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 64px;
  }

  .shell,
  .shell--narrow {
    width: min(100% - 40px, 760px);
  }

  .hero {
    padding-top: 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: 0;
    padding-bottom: 48px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-stage {
    min-height: 600px;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
    gap: 16px 0;
    padding: 22px 0;
  }

  .trust-strip li {
    padding: 0 18px;
  }

  .trust-strip li:nth-child(2) {
    border-right: 0;
  }

  .trust-strip li:nth-child(3) {
    padding-left: 0;
  }

  .flow-grid,
  .insight-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sheet-demo {
    padding: 34px 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
  }

  .get-card {
    grid-template-columns: 1fr;
    padding: 44px 36px;
    gap: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
  }

  .toc {
    position: static;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
  }

  .toc ol {
    grid-template-columns: 1fr 1fr;
  }

  .policy {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    top: calc(var(--header-h) - 6px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-2);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 15px;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .header-actions .button {
    display: none;
  }

  .header-inner {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15.5px;
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .hero {
    padding-top: 38px;
  }

  h2 {
    font-size: clamp(26px, 7vw, 34px);
  }

  .hero h1 {
    font-size: clamp(32px, 9.4vw, 44px);
  }

  .lede {
    font-size: 15.5px;
  }

  .hero-cta {
    gap: 10px;
  }

  .hero-cta .button {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 18px;
    font-size: 14px;
  }

  .hero-facts {
    margin-top: 34px;
  }

  .hero-facts li {
    padding-right: 18px;
    margin-right: 18px;
  }

  .hero-facts strong {
    font-size: 23px;
  }

  .hero-stage {
    min-height: 0;
    padding: 8px 0 0;
  }

  .phone {
    width: min(280px, 78vw);
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .trust-strip li {
    padding: 0;
    border-right: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 22px 18px 20px;
  }

  .ring-wrap {
    width: 176px;
  }

  .chart {
    height: 186px;
    gap: 6px;
  }

  .gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    scrollbar-width: none;
  }

  .gallery::-webkit-scrollbar {
    display: none;
  }

  .shot {
    scroll-snap-align: start;
  }

  .privacy-list {
    grid-template-columns: 1fr;
  }

  .privacy-band {
    padding: 66px 0;
  }

  .privacy-list li {
    grid-template-columns: 40px 1fr;
    padding: 17px 18px;
  }

  .release {
    padding: 22px 20px;
  }

  .timeline {
    padding-left: 20px;
  }

  .release::before {
    left: -20px;
  }

  details.release summary {
    padding: 18px 20px;
  }

  details.release .release-body {
    padding: 16px 20px 22px;
  }

  .faq summary {
    font-size: 15px;
    padding: 19px 0;
  }

  .get {
    padding-bottom: 68px;
  }

  .get-card {
    padding: 32px 22px;
    border-radius: 28px;
  }

  .get-spec {
    padding: 6px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    margin-top: 34px;
  }

  .lightbox-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    padding: 56px 16px 20px;
  }

  .lightbox-button {
    display: none;
  }

  .lightbox-figure img {
    max-height: calc(100vh - 150px);
  }

  .policy-meta span {
    font-size: 10.5px;
  }

  .policy h2 {
    font-size: 21px;
  }

  .toc ol {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .toc,
  .skip-link,
  .policy-hero::before {
    display: none;
  }

  body {
    background: #fff;
    color: #111;
  }

  .policy-layout {
    display: block;
    padding: 0;
  }

  .policy {
    max-width: none;
    font-size: 12pt;
  }
}

/* ==========================================================================
   安卓下载页与新增组件
   ========================================================================== */

body.has-lightbox {
  overflow: hidden;
}

.site-nav a[aria-current="page"] {
  color: var(--primary);
  background: var(--primary-soft);
}

.get {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.dl-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 68px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.dl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 40% 34%, #000 26%, transparent 76%);
  mask-image: radial-gradient(ellipse 70% 70% at 40% 34%, #000 26%, transparent 76%);
  pointer-events: none;
}

.dl-hero::after {
  content: "";
  position: absolute;
  top: -260px;
  right: -160px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(10, 89, 247, 0.16), transparent 64%);
  pointer-events: none;
}

.dl-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 52px;
  align-items: center;
}

.dl-copy .breadcrumb {
  margin-bottom: 20px;
}

.dl-copy h1 {
  margin: 16px 0 18px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.dl-copy h1 span {
  color: var(--primary);
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button--lg {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 18px;
  font-size: 15.5px;
}

.button--lg .dl-size {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.dl-caption {
  margin-top: 16px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.8;
}

.dl-caption b {
  color: var(--ink-2);
  font-weight: 700;
}

.dl-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 580px;
}

.dl-visual .phone {
  width: 286px;
}

.file-card {
  position: absolute;
  z-index: 2;
  left: -8px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-2);
}

.file-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--income-soft);
  color: var(--income);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.file-card b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.file-card span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.dl-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.dl-spec {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-1);
}

.dl-spec dt {
  color: var(--muted);
  font-size: 11.5px;
}

.dl-spec dd {
  margin-top: 5px;
  font-size: 14.5px;
  font-weight: 750;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.hash-panel {
  margin-top: 22px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.hash-panel h3 {
  font-size: 13px;
  font-weight: 750;
}

.hash-panel p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.hash-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.hash-row code {
  flex: 1 1 280px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out),
    color 180ms var(--ease-out);
}

.copy-button:hover {
  border-color: var(--line-strong);
  background: var(--surface-3);
}

.copy-button.is-copied {
  color: var(--income);
  border-color: rgba(15, 138, 76, 0.3);
}

.notice {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(217, 58, 64, 0.24);
  border-radius: 20px;
  background: var(--expense-soft);
}

.notice-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(217, 58, 64, 0.12);
  color: var(--expense);
}

.notice strong {
  display: block;
  font-size: 15px;
  font-weight: 750;
}

.notice p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.8;
}

.notice p + p {
  margin-top: 6px;
}

.limits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.limit {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.limit b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.limit strong {
  display: block;
  font-size: 14px;
  font-weight: 750;
}

.limit p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.75;
}

.install-steps {
  grid-template-columns: 1fr 1fr;
}

.install-steps .step {
  grid-template-columns: 48px 1fr;
  padding: 20px 22px;
}

.install-steps .step-index {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  font-size: 15px;
}

.table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.table-wrap .permission-table {
  margin-top: 0;
}

.table-wrap .permission-table th:first-child,
.table-wrap .permission-table td:first-child {
  border-left: 0;
}

.table-wrap .permission-table th:last-child,
.table-wrap .permission-table td:last-child {
  border-right: 0;
}

.table-wrap .permission-table tr:first-child th {
  border-top: 0;
}

.table-wrap .permission-table tr:last-child td {
  border-bottom: 0;
}

.dl-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.dl-note a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy > section {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.policy code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-3);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.86em;
  overflow-wrap: anywhere;
}

.policy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy .table-wrap {
  margin-top: 14px;
}

.policy .table-wrap + p {
  margin-top: 12px;
}

.policy-contact p + p {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .dl-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .dl-visual {
    min-height: 0;
  }

  .dl-specs {
    grid-template-columns: 1fr 1fr;
  }

  .limits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .platform {
    padding: 20px;
  }

  .platform .button {
    align-self: stretch;
  }

  .platform-actions .button {
    flex: 1 1 auto;
  }

  .dl-hero {
    padding: 30px 0 46px;
  }

  .dl-actions .button {
    flex: 1 1 auto;
  }

  .dl-visual {
    flex-direction: column;
  }

  .file-card {
    position: static;
    margin-top: 16px;
    max-width: none;
    width: 100%;
  }

  .dl-specs {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .hash-row code {
    font-size: 10px;
  }

  .limit {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .limit b {
    display: none;
  }

  .notice {
    padding: 18px;
    gap: 12px;
  }

  .install-steps {
    grid-template-columns: 1fr;
  }
}
