/* ub 钱包 — 蓝白：白色纸面 + 品牌蓝；Hero 为深蓝渐变面板；内容区单栏 1200px */
:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-2: #e8eef9;
  --ink: #0b1b3a;
  --muted: #51607a;
  --line: #d7e0ee;
  --brass: #1d5fe0;
  --brass-soft: #e2ebfd;
  --jade: #0f8a5f;
  --danger: #c0392b;
  --vault: #0b2f8f;
  --vault-2: #1543b8;
  --vault-ink: #ffffff;
  --vault-muted: #c3d4f7;
  --vault-brass: #9fd6ff;
  --on-light: #0b2f8f;
  --shadow: 0 1px 2px rgba(11, 27, 58, .06), 0 12px 32px -12px rgba(11, 47, 143, .22);

  --f-display: "Unbounded", "Noto Sans SC", system-ui, sans-serif;
  --f-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: .8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.2rem + 2vw, 2.375rem);
  --step-4: clamp(2.125rem, 1.3rem + 3.4vw, 3.5rem);

  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070f22;
    --surface: #0d1830;
    --surface-2: #14223f;
    --ink: #e8eefb;
    --muted: #97a6c4;
    --line: #213052;
    --brass: #6ea8ff;
    --brass-soft: #13254a;
    --jade: #4fc79a;
    --danger: #ef8a7a;
    --vault: #0a1a4a;
    --vault-2: #11296e;
    --vault-ink: #ffffff;
    --vault-muted: #aabde6;
    --vault-brass: #8fd0ff;
    --on-light: #0a1a4a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .65);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070f22;
  --surface: #0d1830;
  --surface-2: #14223f;
  --ink: #e8eefb;
  --muted: #97a6c4;
  --line: #213052;
  --brass: #6ea8ff;
  --brass-soft: #13254a;
  --jade: #4fc79a;
  --danger: #ef8a7a;
  --vault: #0a1a4a;
  --vault-2: #11296e;
  --vault-ink: #ffffff;
  --vault-muted: #aabde6;
  --vault-brass: #8fd0ff;
  --on-light: #0a1a4a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .65);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; text-wrap: balance; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: .92em; letter-spacing: -.01em; }
.num { font-family: var(--f-display); font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; flex-shrink: 0; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--vault); color: var(--vault-brass);
  font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: -.04em;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--vault-brass) 35%, transparent);
}
.logo-text { font-size: 17px; }
.logo-text span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--muted);
  font-weight: 500; font-size: 15px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 20px; height: 20px; }
.mobile-panel { display: none; }

@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-panel {
    display: grid; gap: 6px; padding-block: 8px 20px; border-top: 1px solid var(--line);
  }
  .mobile-panel[hidden] { display: none !important; }
  .mobile-panel a.m-link {
    text-decoration: none; padding: 12px 4px; font-size: 17px; font-weight: 600;
    border-bottom: 1px solid var(--line); display: flex; justify-content: space-between;
  }
  .mobile-panel a.m-link[aria-current="page"] { color: var(--brass); }
  .mobile-panel .m-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--ink) 60%, transparent); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--surface); }
.btn-brass { background: #ffffff; color: var(--on-light); }
.btn-brass:hover { background: #eaf3ff; box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .45); }
.btn-line-light { border-color: color-mix(in srgb, var(--vault-ink) 30%, transparent); color: var(--vault-ink); background: transparent; }
.btn-line-light:hover { background: color-mix(in srgb, var(--vault-ink) 10%, transparent); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section + .section { padding-top: 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; gap: 14px; max-width: 680px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head.split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.65; max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
@media (max-width: 720px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--vault) 0%, var(--vault-2) 100%); color: var(--vault-ink); position: relative; overflow: hidden; }
.page-hero .wrap { padding-block: clamp(56px, 8vw, 96px); position: relative; z-index: 1; display: grid; gap: 18px; }
.page-hero h1 { font-size: var(--step-4); max-width: 18ch; }
.page-hero p.lead { color: var(--vault-muted); font-size: var(--step-1); max-width: 56ch; }
.page-hero .eyebrow { color: var(--vault-brass); }
.crumbs { font: 13px/1 var(--f-mono); color: var(--vault-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--vault-muted); text-decoration: none; }
.crumbs a:hover { color: var(--vault-brass); }
.hash-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(color-mix(in srgb, var(--vault-ink) 6%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--vault-ink) 6%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 90% at 85% 10%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 85% 10%, #000 20%, transparent 75%);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Home hero ---------- */
.hero { background: radial-gradient(90% 120% at 85% 0%, var(--vault-2) 0%, transparent 60%), linear-gradient(160deg, var(--vault) 0%, color-mix(in srgb, var(--vault) 70%, #000) 100%); color: var(--vault-ink); position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px);
  align-items: center; padding-block: clamp(56px, 8vw, 104px); position: relative; z-index: 1;
}
.hero h1 { font-size: var(--step-4); line-height: 1.15; }
.hero h1 em { font-style: normal; color: var(--vault-brass); }
.hero .lead { color: var(--vault-muted); font-size: var(--step-1); margin-top: 20px; max-width: 34em; }
.hero .eyebrow { color: var(--vault-brass); margin-bottom: 20px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14px; color: var(--vault-muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--vault-brass); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Wallet demo (hero) */
.wallet {
  background: linear-gradient(180deg, var(--vault-2), color-mix(in srgb, var(--vault-2) 70%, var(--vault)));
  border: 1px solid color-mix(in srgb, var(--vault-ink) 14%, transparent);
  border-radius: 24px; padding: 20px; max-width: 440px; width: 100%; justify-self: center;
  box-shadow: 0 40px 80px -30px rgba(3, 12, 40, .7), inset 0 1px 0 color-mix(in srgb, var(--vault-ink) 10%, transparent);
}
.w-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.w-acct { display: flex; align-items: center; gap: 10px; min-width: 0; }
.w-avatar { width: 32px; height: 32px; border-radius: 50%; background: conic-gradient(from 90deg, #9fd6ff, #3b82f6, #ffffff, #9fd6ff); flex-shrink: 0; }
.w-name { font-weight: 600; font-size: 14px; }
.w-addr {
  font: 12px/1 var(--f-mono); color: var(--vault-muted); background: none; border: 0; padding: 4px 0; cursor: pointer;
  display: inline-flex; gap: 6px; align-items: center;
}
.w-addr:hover { color: var(--vault-brass); }
.w-addr svg { width: 13px; height: 13px; }
.w-net { font: 11px/1 var(--f-mono); padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #ffffff; white-space: nowrap; }
.w-bal { margin-top: 22px; }
.w-bal small { font-size: 12px; color: var(--vault-muted); letter-spacing: .06em; }
.w-bal .amt { font-family: var(--f-display); font-size: clamp(1.9rem, 1.4rem + 2vw, 2.4rem); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.w-bal .chg { font: 13px/1 var(--f-mono); color: #7ee0b6; margin-top: 6px; }
.w-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; }
.w-actions span {
  display: grid; justify-items: center; gap: 6px; font-size: 12px; color: var(--vault-muted);
  padding: 10px 0; border-radius: 12px; background: color-mix(in srgb, var(--vault-ink) 5%, transparent);
}
.w-actions svg { width: 20px; height: 20px; color: var(--vault-brass); }
.w-chains { display: flex; gap: 6px; margin-top: 20px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.w-chains::-webkit-scrollbar { display: none; }
.w-chains button {
  font: 500 12px/1 var(--f-mono); padding: 8px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  border: 1px solid color-mix(in srgb, var(--vault-ink) 16%, transparent); background: transparent; color: var(--vault-muted);
}
.w-chains button[aria-pressed="true"] { background: #ffffff; color: var(--on-light); border-color: #ffffff; }
.w-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; }
.w-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid color-mix(in srgb, var(--vault-ink) 8%, transparent); }
.w-coin { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 11px/1 var(--f-display); color: #fff; }
.w-list b { display: block; font-size: 14px; font-weight: 600; }
.w-list small { color: var(--vault-muted); font-size: 12px; }
.w-list .r { text-align: right; font-variant-numeric: tabular-nums; }
.w-list .r b { font-family: var(--f-mono); font-weight: 500; }
.w-foot { display: flex; justify-content: space-between; margin-top: 10px; font: 11px/1.4 var(--f-mono); color: var(--vault-muted); }
.w-foot i { font-style: normal; color: #7ee0b6; }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.trust-item { padding: 22px 18px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item b { font-family: var(--f-mono); font-size: 14px; font-weight: 500; color: var(--ink); }
.trust-item span { font-size: 13px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) {
  .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .trust-item:nth-child(-n+2) { border-top: 0; }
  .trust-item:last-child { grid-column: 1 / -1; }
}
.chain-band { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding-block: 22px; border-top: 1px solid var(--line); }
.chain-band > span { font-size: 13px; color: var(--muted); margin-right: 6px; }
.chip {
  font: 500 13px/1 var(--f-mono); padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); white-space: nowrap;
}

/* ---------- Pillars (3 core advantages) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.pillar { padding: 28px 28px 8px 0; display: grid; gap: 12px; align-content: start; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar .k { font: 500 12px/1 var(--f-mono); color: var(--brass); letter-spacing: .1em; }
.pillar h3 { font-size: var(--step-2); }
.pillar p { color: var(--muted); }
.pillar .spec { font: 13px/1.6 var(--f-mono); color: var(--ink); padding-top: 12px; border-top: 1px dashed var(--line); margin-top: 6px; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 24px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
}

/* ---------- Seed phrase motif ---------- */
.seed {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  background: var(--vault); padding: 18px; border-radius: var(--radius); color: var(--vault-ink);
}
.seed span {
  display: flex; gap: 8px; align-items: baseline; padding: 10px 12px; border-radius: 8px;
  background: color-mix(in srgb, var(--vault-ink) 6%, transparent); font: 13px/1 var(--f-mono);
}
.seed span i { font-style: normal; color: var(--vault-brass); font-size: 11px; min-width: 16px; }
.seed span em { font-style: normal; filter: blur(4px); user-select: none; }
.seed-cap { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; font: 11px/1.4 var(--f-mono); color: var(--vault-muted); padding-top: 6px; flex-wrap: wrap; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden; min-width: 0;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
a.card { text-decoration: none; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brass) 40%, var(--line)); }
.card-body { padding: 22px; display: grid; gap: 10px; align-content: start; flex: 1; }
.card-body h3 { font-size: var(--step-1); }
.card-body p { color: var(--muted); font-size: 15px; }
.card-foot { padding: 14px 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.card-foot .go { color: var(--brass); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.card-foot .go svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .go svg { transform: translateX(3px); }
.tag { font: 500 11px/1 var(--f-mono); letter-spacing: .06em; padding: 6px 9px; border-radius: 6px; background: var(--surface-2); color: var(--muted); justify-self: start; }
.tag.brass { background: var(--brass-soft); color: var(--brass); }
.icon-box { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--vault); color: var(--vault-brass); }
.icon-box svg { width: 22px; height: 22px; }

/* Photo frame with designed fallback (shows when an image can't load) */
.ph {
  --h: 160; position: relative; margin: 0; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, hsl(var(--h) 55% 42% / .9), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, hsl(calc(var(--h) + 40) 50% 30% / .9), transparent 65%),
    #0b2160;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.ph::after {
  content: attr(data-tag); position: absolute; left: 18px; bottom: 12px;
  font: 700 clamp(28px, 6vw, 44px)/1 var(--f-display); letter-spacing: -.04em; color: rgba(255, 255, 255, .88);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; z-index: 1; }
.ph img.ok { opacity: 1; }
.ph .badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; font: 500 11px/1 var(--f-mono); letter-spacing: .06em;
  padding: 6px 9px; border-radius: 6px; background: rgba(6, 20, 60, .62); color: #ffffff; backdrop-filter: blur(6px);
}
.ph.tall { aspect-ratio: 4 / 5; }
.ph.wide { aspect-ratio: 21 / 9; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 18px; align-content: space-between; min-width: 0; }
.quote.lead-q { background: var(--vault); color: var(--vault-ink); border-color: transparent; }
.quote.lead-q p { font-size: var(--step-1); }
.quote p { font-size: 15.5px; line-height: 1.75; }
.quote footer { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.quote footer small { display: block; color: var(--muted); font-size: 12.5px; }
.quote.lead-q footer small { color: var(--vault-muted); }
.q-ava { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--surface-2); color: var(--ink); flex-shrink: 0; }
.quote.lead-q .q-ava { background: #ffffff; color: var(--on-light); }
.sample-note { font: 12px/1.5 var(--f-mono); color: var(--muted); margin-top: 16px; }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr 1fr; } .quote.lead-q { grid-column: 1 / -1; } }
@media (max-width: 640px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- About preview / split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.split .copy { display: grid; gap: 18px; }
.split .copy p { color: var(--muted); font-size: var(--step-1); }
.split h2 { font-size: var(--step-3); }
.split .ph { border-radius: var(--radius); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 8px; }
.facts div { padding: 16px 12px 0 0; display: grid; gap: 2px; }
.facts b { font-family: var(--f-display); font-size: var(--step-2); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.facts span { font-size: 13px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--vault) 0%, var(--vault-2) 100%); color: var(--vault-ink); border-radius: 22px; padding: clamp(32px, 6vw, 64px); position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta-band h2 { font-size: var(--step-3); }
.cta-band p { color: var(--vault-muted); margin-top: 12px; }
.cta-band .eyebrow { color: var(--vault-brass); margin-bottom: 14px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; z-index: 1; }
.cta-band > div { position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* Lead form */
.lead-form { display: grid; gap: 10px; position: relative; z-index: 1; }
.lead-form .row { display: flex; gap: 8px; flex-wrap: wrap; }
.lead-form input {
  flex: 1 1 220px; min-width: 0; min-height: 48px; border-radius: 999px; padding: 0 20px; font: 15px var(--f-body);
  border: 1px solid color-mix(in srgb, var(--vault-ink) 22%, transparent); background: color-mix(in srgb, var(--vault-ink) 6%, transparent); color: var(--vault-ink);
}
.lead-form input::placeholder { color: var(--vault-muted); }
.lead-form .msg { font-size: 13.5px; min-height: 1.5em; color: var(--vault-muted); }
.lead-form .msg.ok { color: #7ee0b6; }
.lead-form .msg.err { color: #f0a495; }

/* ---------- Values / unique ---------- */
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.value { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; }
.value:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
.value h3 { font-size: var(--step-1); margin-bottom: 6px; }
.value p { color: var(--muted); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } .value, .value:nth-child(2n) { padding: 24px 0; border-left: 0; } }

.mission { font-size: var(--step-3); line-height: 1.45; font-weight: 700; max-width: 26ch; letter-spacing: -.01em; }
.mission mark { background: linear-gradient(transparent 62%, var(--brass-soft) 62%); color: inherit; padding: 0 2px; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 1px solid var(--line); }
.timeline li { padding: 0 0 28px 28px; position: relative; display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--brass); }
.timeline time { font: 500 13px/1 var(--f-mono); color: var(--brass); }
.timeline b { font-size: var(--step-1); }
.timeline p { color: var(--muted); }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; position: relative; min-width: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 600 28px/1 var(--f-display); color: var(--brass); letter-spacing: -.04em; }
.steps h3 { font-size: var(--step-1); }
.steps p { color: var(--muted); font-size: 15px; }
.steps .t { font: 12px/1 var(--f-mono); color: var(--muted); padding-top: 10px; border-top: 1px dashed var(--line); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Services list ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.svc + .svc { margin-top: 20px; }
.svc .ph { aspect-ratio: auto; min-height: 280px; }
.svc-body { padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; align-content: center; }
.svc-body h3 { font-size: var(--step-2); }
.svc-body p { color: var(--muted); }
.svc-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.svc-body li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.svc-body li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--brass); flex-shrink: 0; transform: translateY(-2px); }
.svc-body .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.svc:nth-of-type(even) .ph { order: 2; }
@media (max-width: 820px) { .svc { grid-template-columns: 1fr; } .svc .ph { min-height: 0; aspect-ratio: 16 / 9; } .svc:nth-of-type(even) .ph { order: 0; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font-weight: 600; font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--f-mono); color: var(--brass); transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; color: var(--muted); max-width: 70ch; }

/* ---------- Listing ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 28px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 10px); z-index: 10; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button {
  font: 500 14px/1 var(--f-body); padding: 10px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg); color: var(--muted);
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.seg button .c { font-family: var(--f-mono); font-size: 12px; opacity: .7; margin-left: 4px; }
.search { display: flex; gap: 8px; align-items: center; flex: 1 1 220px; max-width: 320px; }
.search input, .sort select {
  width: 100%; min-height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  padding: 0 16px; font: 14px var(--f-body);
}
.sort select { width: auto; padding-right: 30px; }
.tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
@media (max-width: 720px) { .filters { position: static; } .search { max-width: none; } }
.result-line { font: 13px/1 var(--f-mono); color: var(--muted); margin-bottom: 16px; }
.l-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .l-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .l-grid { grid-template-columns: 1fr; } }
.l-card .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.l-card .stats div { background: var(--bg); border-radius: 8px; padding: 10px 12px; display: grid; gap: 2px; }
.l-card .stats small { font-size: 12px; color: var(--muted); }
.l-card .stats b { font: 500 15px/1.2 var(--f-mono); font-variant-numeric: tabular-nums; }
.l-card .stats b.up { color: var(--jade); }
.empty { text-align: center; padding: 48px 16px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); display: grid; gap: 12px; justify-items: center; }
.disclaimer { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* ---------- App download ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .dl-grid { grid-template-columns: 1fr; } }
.dl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; align-content: start; scroll-margin-top: calc(var(--header-h) + 24px); }
.dl:target { border-color: var(--brass); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 25%, transparent); }
.dl h3 { font-size: var(--step-1); }
.dl p { color: var(--muted); font-size: 14.5px; }
.dl .req { font: 12px/1.5 var(--f-mono); color: var(--muted); }
.dl .btn { justify-self: start; }
.verify { background: var(--vault); color: var(--vault-ink); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); display: grid; gap: 14px; }
.verify .eyebrow { color: var(--vault-brass); }
.verify p { color: var(--vault-muted); }
.copy-row { display: flex; gap: 8px; align-items: center; background: color-mix(in srgb, var(--vault-ink) 6%, transparent); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.copy-row code { font: 12.5px/1.5 var(--f-mono); overflow-wrap: anywhere; flex: 1; min-width: 0; color: var(--vault-ink); }
.copy-btn { border: 1px solid color-mix(in srgb, var(--vault-ink) 22%, transparent); background: transparent; color: var(--vault-ink); border-radius: 8px; font: 12px/1 var(--f-body); padding: 8px 10px; cursor: pointer; white-space: nowrap; }
.copy-btn:hover { border-color: var(--vault-brass); color: var(--vault-brass); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--vault-ink); }
.checklist svg { width: 18px; height: 18px; color: #7ee0b6; margin-top: 4px; }
.phone-shot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.phone-shot .ph { border-radius: 22px; aspect-ratio: 9 / 16; }
@media (max-width: 640px) { .phone-shot { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .phone-shot .ph { border-radius: 14px; } .phone-shot .ph::after { font-size: 18px; left: 10px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 14px; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 10px;
  padding: 12px 14px; font: 15px/1.5 var(--f-body);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid color-mix(in srgb, var(--brass) 60%, transparent); outline-offset: 1px; border-color: var(--brass); }
.field .err { color: var(--danger); font-size: 13px; min-height: 0; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--danger); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { margin-top: 5px; accent-color: var(--brass); }
.form-status { padding: 14px 16px; border-radius: 10px; background: color-mix(in srgb, var(--jade) 12%, transparent); color: var(--ink); font-size: 14.5px; border: 1px solid color-mix(in srgb, var(--jade) 40%, transparent); }
.side { display: grid; gap: 16px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; }
.side-card h3 { font-size: var(--step-1); }
.side-card p { color: var(--muted); font-size: 14.5px; }
.side-card .line { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; flex-wrap: wrap; }
.side-card .line span { color: var(--muted); }
.side-card .line b { font-family: var(--f-mono); font-weight: 500; user-select: all; overflow-wrap: anywhere; }
.warn { background: var(--brass-soft); border: 1px solid color-mix(in srgb, var(--brass) 40%, transparent); color: var(--ink); }
.warn h3 { color: var(--brass); }
.warn p { color: var(--ink); }

/* ---------- Blog ---------- */
.post { text-align: left; }
.post .meta { font: 12px/1 var(--f-mono); color: var(--muted); display: flex; gap: 10px; }
dialog.reader {
  border: 1px solid var(--line); border-radius: 18px; padding: 0; max-width: min(720px, calc(100vw - 32px)); width: 100%;
  background: var(--surface); color: var(--ink); max-height: calc(100vh - 48px);
}
dialog.reader::backdrop { background: rgba(6, 20, 60, .55); backdrop-filter: blur(3px); }
.reader-inner { padding: clamp(22px, 4vw, 40px); display: grid; gap: 16px; }
.reader-inner h2 { font-size: var(--step-3); }
.reader-inner p { color: var(--muted); font-size: 16.5px; line-height: 1.85; }
.reader-inner h3 { font-size: var(--step-1); margin-top: 6px; }
.reader-close { position: sticky; top: 0; display: flex; justify-content: flex-end; padding: 12px 12px 0; background: var(--surface); }
.reader-close button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; font-size: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--vault); color: var(--vault-ink); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 56px 40px; }
.foot-grid .logo-mark { background: var(--vault-2); }
.foot-about p { color: var(--vault-muted); font-size: 14.5px; margin-top: 14px; max-width: 34ch; }
.foot-col h2 { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--vault-brass); margin-bottom: 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { color: var(--vault-muted); text-decoration: none; font-size: 14.5px; }
.foot-col a:hover { color: var(--vault-ink); }
.foot-bottom { border-top: 1px solid color-mix(in srgb, var(--vault-ink) 12%, transparent); padding-block: 20px 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; color: var(--vault-muted); }
.foot-bottom .risk { max-width: 70ch; }
.theme-btn { background: transparent; border: 1px solid color-mix(in srgb, var(--vault-ink) 22%, transparent); color: var(--vault-muted); border-radius: 999px; padding: 6px 12px; font: 12px/1 var(--f-mono); cursor: pointer; }
.theme-btn:hover { color: var(--vault-ink); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 90; background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: 14px; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }
  @keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.card-foot button.go { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- 动态图片 ---------- */
.net-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.ph img { transform-origin: 60% 40%; }
.ph:hover img.ok { animation-play-state: paused; }
.card .ph img.ok { transition: opacity .5s ease, scale .6s ease; }
.card:hover .ph img.ok { scale: 1.06; }
@media (prefers-reduced-motion: no-preference) {
  .ph { background-size: 180% 180%, 180% 180%, auto; animation: ph-drift 16s ease-in-out infinite alternate; }
  .ph::before {
    background-image:
      linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .14) 50%, transparent 60%),
      linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 250% 100%, 28px 28px, 28px 28px;
    animation: ph-sweep 7s linear infinite;
  }
  .ph::after { animation: ph-float 6s ease-in-out infinite alternate; }
  .ph img.ok { animation: ph-kenburns 22s ease-in-out infinite alternate; }
  .grid-3 > :nth-child(2) .ph, .l-grid > :nth-child(3n+2) .ph, .phone-shot > :nth-child(2) { animation-delay: -5s; }
  .grid-3 > :nth-child(2) .ph::before, .l-grid > :nth-child(3n+2) .ph::before, .phone-shot > :nth-child(2)::before { animation-delay: -2.3s; }
  .grid-3 > :nth-child(3) .ph, .l-grid > :nth-child(3n) .ph, .phone-shot > :nth-child(3) { animation-delay: -10s; }
  .grid-3 > :nth-child(3) .ph::before, .l-grid > :nth-child(3n) .ph::before, .phone-shot > :nth-child(3)::before { animation-delay: -4.6s; }
  .wallet { animation: wallet-float 7s ease-in-out infinite alternate; }
  @keyframes ph-drift { from { background-position: 0% 0%, 100% 100%, 0 0; } to { background-position: 100% 60%, 0% 30%, 0 0; } }
  @keyframes ph-sweep { from { background-position: 160% 0, 0 0, 0 0; } to { background-position: -60% 0, 28px 28px, 28px 28px; } }
  @keyframes ph-float { from { transform: translateY(0); } to { transform: translateY(-6px); } }
  @keyframes ph-kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
  @keyframes wallet-float { from { transform: translateY(0) rotate(-.4deg); } to { transform: translateY(-10px) rotate(.4deg); } }
}

/* ---------- 实时动态图（首页核心功能卡片） ---------- */
.live {
  position: relative; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; color: #fff;
  background: radial-gradient(120% 100% at 100% 0%, var(--vault-2), transparent 60%), linear-gradient(160deg, var(--vault), color-mix(in srgb, var(--vault) 75%, #000));
  padding: 16px 18px; display: flex; flex-direction: column; gap: 4px;
}
.live canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.live > :not(canvas) { position: relative; z-index: 1; }
.lv-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 500 11.5px/1.2 var(--f-mono); color: rgba(255, 255, 255, .72); letter-spacing: .02em; }
.lv-src { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; white-space: nowrap; }
.lv-src::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #7ee0b6; box-shadow: 0 0 0 0 rgba(126, 224, 182, .7); }
.lv-src.sim::before { background: #ffd27a; }
@media (prefers-reduced-motion: no-preference) { .lv-src::before { animation: lv-ping 1.6s ease-out infinite; } }
@keyframes lv-ping { to { box-shadow: 0 0 0 7px rgba(126, 224, 182, 0); } }
.lv-big { font: 600 clamp(1.4rem, 1.1rem + 1.2vw, 1.85rem)/1.15 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.lv-big.mono-big { font-family: var(--f-mono); font-weight: 500; letter-spacing: -.02em; }
.lv-big.flash-up { color: #9ff0cc; } .lv-big.flash-down { color: #ffb4a6; }
.lv-big { transition: color .6s ease; }
.lv-sub { font: 12px/1.3 var(--f-mono); color: rgba(255, 255, 255, .72); }
.lv-sub .up { color: #9ff0cc; } .lv-sub .down { color: #ffb4a6; }
.lv-alloc { margin-top: auto; display: grid; gap: 8px; }
.lv-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.lv-bar i { display: block; height: 100%; transition: width .8s cubic-bezier(.2, .7, .2, 1); width: 33%; }
.lv-bar i:nth-child(1), .lv-legend .d1 { background: #9fd6ff; }
.lv-bar i:nth-child(2), .lv-legend .d2 { background: #ffd27a; }
.lv-bar i:nth-child(3), .lv-legend .d3 { background: #7ee0b6; }
.lv-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 11.5px/1.2 var(--f-mono); color: rgba(255, 255, 255, .78); }
.lv-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lv-legend b { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.lv-legend em { font-style: normal; color: #fff; font-variant-numeric: tabular-nums; }
.card:hover .live { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
