/* ============================================================
   聚联支付 JLPay — Design Tokens
   方向：金融科技 · 报表质感（Financial Editorial）
   基调：纸白底 + 墨蓝 + 单一电光蓝强调；数字用 tabular-nums
   ============================================================ */

:root {
  /* ---- Color ramp ---- */
  --bg:            #F5F6F8;
  --bg-alt:        #EDEFF3;
  --surface:       #FFFFFF;
  --surface-2:     #FAFBFC;
  --navy:          #0A1626;
  --navy-2:        #122A45;
  --ink:           #0A1626;
  --ink-2:         #39445A;
  --ink-3:         #6A7488;
  --ink-4:         #98A0B0;
  --line:          #DFE3EA;
  --line-2:        #EDEFF3;

  --accent:        #1361FF;
  --accent-ink:    #0A44C4;
  --accent-soft:   #E8F0FF;
  --ok:            #0C8F63;
  --ok-soft:       #E4F6EE;
  --warn:          #B26A00;
  --warn-soft:     #FDF3E2;
  --risk:          #C4291F;
  --risk-soft:     #FCEAE8;

  /* ---- Type ---- */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
               "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Consolas, "Courier New", monospace;

  --fs-xs:   12px;
  --fs-sm:   13px;
  --fs-base: 15px;
  --fs-md:   17px;
  --fs-lg:   21px;
  --fs-xl:   27px;
  --fs-2xl:  36px;
  --fs-3xl:  50px;
  --fs-4xl:  68px;

  --lh-tight: 1.15;
  --lh-snug:  1.4;
  --lh-base:  1.75;

  --ls-tight: -0.02em;
  --ls-wide:  0.08em;

  /* ---- Space ---- */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 88px; --s-10: 120px;

  /* ---- Radius ---- */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 22px;
  --r-full: 999px;

  /* ---- Elevation ---- */
  --sh-1: 0 1px 2px rgba(10, 22, 38, .06);
  --sh-2: 0 4px 16px -4px rgba(10, 22, 38, .10);
  --sh-3: 0 18px 48px -12px rgba(10, 22, 38, .18);

  /* ---- Motion ---- */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur-1: 140ms;
  --dur-2: 260ms;
  --dur-3: 520ms;

  /* ---- Layout ---- */
  --wrap: 1180px;
  --wrap-narrow: 820px;
  --header-h: 66px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--s-5));
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  font-weight: 700;
}

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

ul, ol { margin: 0 0 var(--s-4); padding-left: 1.15em; }
li { margin-bottom: var(--s-2); }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* ============================================================
   Layout primitives
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--s-5);
}
.wrap-narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--s-9); }
.section--tight { padding-block: var(--s-8); }
.section--bg { background: var(--surface); border-block: 1px solid var(--line); }
.section--navy { background: var(--navy); color: #E9EEF6; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #A9B6CA; }
.section--navy a { color: #8FB6FF; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 246, 248, .88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--s-6);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: var(--fs-md);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--navy);
  display: grid; place-items: center;
  flex: none;
}
.brand-mark span {
  width: 10px; height: 10px;
  border: 2px solid #fff;
  border-right-color: transparent;
  border-radius: 50%;
  display: block;
  transform: rotate(-30deg);
}
.brand small {
  font-weight: 500;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: var(--ls-wide);
  margin-left: 2px;
}

.nav {
  display: flex;
  gap: var(--s-5);
  margin-left: auto;
}
.nav a {
  color: var(--ink-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--r-full);
  white-space: nowrap;
  transition: background var(--dur-2) var(--ease), transform var(--dur-1) var(--ease);
}
.header-cta:hover { background: var(--accent); text-decoration: none; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  width: 38px; height: 34px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--ink);
  margin-inline: auto;
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* ============================================================
   Status strip — signature element
   ============================================================ */
.status-strip {
  background: var(--navy);
  color: #C6D2E4;
  font-size: var(--fs-xs);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.status-inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  height: 34px;
  overflow: hidden;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.status-inner b { color: #fff; font-weight: 600; }
.status-item { display: inline-flex; align-items: center; gap: 6px; }
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #1FD08A;
  box-shadow: 0 0 0 3px rgba(31, 208, 138, .18);
  flex: none;
}
.status-sep { color: rgba(255,255,255,.18); }
.status-note { margin-left: auto; color: #7E8DA4; }

/* ============================================================
   Type helpers
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  color: var(--accent-ink);
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--accent);
}

.num-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-4);
  letter-spacing: .06em;
}

h1 { font-size: clamp(32px, 5.2vw, var(--fs-3xl)); }
h2 { font-size: clamp(25px, 3.4vw, var(--fs-2xl)); }
h3 { font-size: var(--fs-lg); font-weight: 700; }

.lede {
  font-size: var(--fs-md);
  color: var(--ink-2);
  line-height: var(--lh-base);
}

.section-head { max-width: 720px; margin-bottom: var(--s-7); }
.section-head p { color: var(--ink-3); font-size: var(--fs-md); margin-top: var(--s-3); }

.muted { color: var(--ink-3); }
.small { font-size: var(--fs-sm); }
.tiny  { font-size: var(--fs-xs); color: var(--ink-4); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding-block: var(--s-9) var(--s-8);
  background:
    radial-gradient(900px 420px at 88% -10%, #E3ECFF 0%, rgba(227,236,255,0) 62%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg) 78%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: var(--s-8);
  align-items: center;
}

.hero h1 { margin-bottom: var(--s-5); }
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .06em;
  height: .34em;
  background: var(--accent-soft);
  z-index: -1;
  border-radius: 2px;
}

.hero-answer {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 34em;
  padding-left: var(--s-4);
  border-left: 2px solid var(--accent);
  margin-bottom: var(--s-6);
}
.hero-answer strong { color: var(--ink); font-weight: 700; }

.hero-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: var(--fs-base);
  font-weight: 650;
  padding: 12px 22px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--dur-2) var(--ease);
  font-family: inherit;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--sh-2); }
.btn--primary:hover { background: var(--accent-ink); text-decoration: none; transform: translateY(-1px); box-shadow: var(--sh-3); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-3); background: var(--surface); text-decoration: none; }
.btn--sm { padding: 8px 14px; font-size: var(--fs-sm); }

.hero-facts {
  display: flex;
  gap: var(--s-6);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.fact-k {
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  display: block;
}
.fact-k i { font-style: normal; font-size: .5em; font-weight: 600; color: var(--ink-3); margin-left: 2px; }
.fact-v { font-size: var(--fs-xs); color: var(--ink-3); margin-top: 6px; display: block; }

/* ---- Hero panel (dark card) ---- */
.panel {
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  color: #E9EEF6;
  box-shadow: var(--sh-3);
  position: relative;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 70% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}
.panel > * { position: relative; }
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.panel-head h2, .panel-head h3 {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: #8FA2BC;
  margin: 0;
}
.panel-head .stamp {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #5E7590;
}

.chan-list { list-style: none; margin: 0; padding: 0; }
.chan-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-3);
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin: 0;
  font-size: var(--fs-sm);
}
.chan-list li:last-child { border-bottom: 0; }
.chan-name { color: #DCE6F4; font-weight: 500; }
.chan-rate {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.chan-tag {
  font-size: 11px;
  color: #1FD08A;
  border: 1px solid rgba(31,208,138,.35);
  background: rgba(31,208,138,.1);
  padding: 1px 7px;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.panel-foot {
  margin-top: var(--s-4);
  font-size: 11px;
  color: #6E8099;
  line-height: 1.6;
}

/* ============================================================
   Cards / grids
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.card--hover:hover {
  border-color: var(--ink-4);
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}
.card h3 { margin-bottom: var(--s-3); font-size: var(--fs-md); }
.card p { font-size: var(--fs-sm); color: var(--ink-2); }
.card-index {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--accent);
  letter-spacing: .1em;
  display: block;
  margin-bottom: var(--s-3);
}

/* feature list with rule */
.rule-list { list-style: none; padding: 0; margin: 0; }
.rule-list li {
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: var(--s-5);
  margin: 0;
  font-size: var(--fs-sm);
}
.rule-list li:first-child { border-top: 1px solid var(--line); }
.rule-list dt, .rule-list b {
  color: var(--ink);
  font-weight: 700;
  font-size: var(--fs-sm);
}
.rule-list span { color: var(--ink-2); }

/* ============================================================
   Table
   ============================================================ */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  min-width: 620px;
}
thead th {
  background: var(--navy);
  color: #E9EEF6;
  text-align: left;
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: .04em;
  padding: 13px var(--s-4);
  white-space: nowrap;
  border: 0;
}
tbody td {
  padding: 14px var(--s-4);
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-2);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: 0; }
tbody th {
  text-align: left;
  font-weight: 650;
  color: var(--ink);
  padding: 14px var(--s-4);
  border-bottom: 1px solid var(--line-2);
  background: var(--surface-2);
  white-space: nowrap;
}
tbody tr:hover td { background: #FBFCFE; }
td.num, th.num { font-variant-numeric: tabular-nums; font-family: var(--font-mono); font-size: 13px; }

/* ============================================================
   Callouts
   ============================================================ */
.callout {
  border-radius: var(--r-lg);
  padding: var(--s-5);
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  gap: var(--s-4);
}
.callout-icon {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 14px;
  font-family: var(--font-mono);
}
.callout--risk { border-color: #F3C9C4; background: var(--risk-soft); }
.callout--risk .callout-icon { background: var(--risk); color: #fff; }
.callout--ok { border-color: #BFE8D7; background: var(--ok-soft); }
.callout--ok .callout-icon { background: var(--ok); color: #fff; }
.callout--warn { border-color: #F0D9AF; background: var(--warn-soft); }
.callout--warn .callout-icon { background: var(--warn); color: #fff; }
.callout h3 { font-size: var(--fs-base); margin-bottom: 6px; }
.callout p { font-size: var(--fs-sm); margin: 0; color: var(--ink-2); }

/* ============================================================
   Badges
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 650;
  padding: 2px 8px;
  border-radius: var(--r-full);
  letter-spacing: .02em;
  white-space: nowrap;
}
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--warn { background: var(--warn-soft); color: var(--warn); }
.badge--risk { background: var(--risk-soft); color: var(--risk); }
.badge--info { background: var(--accent-soft); color: var(--accent-ink); }
.badge--mute { background: var(--bg-alt); color: var(--ink-3); }

/* ============================================================
   Calculator
   ============================================================ */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
.calc-form { padding: var(--s-6); border-right: 1px solid var(--line); }
.calc-out { padding: var(--s-6); background: var(--navy); color: #fff; }

.field { margin-bottom: var(--s-5); }
.field:last-child { margin-bottom: 0; }
.field label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 650;
  color: var(--ink-2);
  margin-bottom: 7px;
  letter-spacing: .02em;
}
.field .hint { font-size: 11px; color: var(--ink-4); font-weight: 400; margin-left: 4px; }
.field input[type="number"], .field select {
  width: 100%;
  font-family: inherit;
  font-size: var(--fs-base);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.range-row { display: flex; align-items: center; gap: var(--s-3); }
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--accent);
}
input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 2px solid #fff; cursor: pointer;
}
.range-val {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  min-width: 52px;
  text-align: right;
  color: var(--ink);
}

.calc-out .out-label {
  font-size: var(--fs-xs);
  color: #8FA2BC;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.calc-out .out-main {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-bottom: 4px;
}
.calc-out .out-main small { font-size: .45em; font-weight: 600; color: #8FA2BC; }
.calc-out .out-sub { font-size: var(--fs-xs); color: #7E8DA4; }
.calc-break { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid rgba(255,255,255,.1); }
.calc-break div {
  display: flex; justify-content: space-between;
  font-size: var(--fs-xs);
  padding: 5px 0;
  color: #A9B6CA;
}
.calc-break b { color: #fff; font-variant-numeric: tabular-nums; font-family: var(--font-mono); }

/* ============================================================
   Tabs
   ============================================================ */
.tabs { display: flex; gap: var(--s-2); border-bottom: 1px solid var(--line); margin-bottom: var(--s-5); flex-wrap: wrap; }
.tab {
  background: none; border: 0; border-bottom: 2px solid transparent;
  padding: 10px 14px; font-family: inherit; font-size: var(--fs-sm);
  font-weight: 600; color: var(--ink-3); cursor: pointer; margin-bottom: -1px;
}
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tab-panel[hidden] { display: none; }

/* ============================================================
   Accordion (FAQ)
   ============================================================ */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  padding: var(--s-4) 0;
  font-weight: 650;
  font-size: var(--fs-base);
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  align-items: flex-start;
  transition: color var(--dur-1) var(--ease);
}
.faq summary:hover { color: var(--accent-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--ink-4);
  line-height: 1;
  flex: none;
  transition: transform var(--dur-2) var(--ease);
}
.faq details[open] summary::after { content: "–"; color: var(--accent); }
.faq .answer {
  padding: 0 0 var(--s-5);
  font-size: var(--fs-sm);
  color: var(--ink-2);
  max-width: 62em;
}
.faq .answer p { margin-bottom: var(--s-3); }
.faq .answer ol, .faq .answer ul { font-size: var(--fs-sm); }

/* ============================================================
   Step flow
   ============================================================ */
.steps { counter-reset: step; display: grid; gap: var(--s-4); }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--s-4);
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--r-md);
  width: 34px; height: 34px;
  display: grid; place-items: center;
}
.step h3 { font-size: var(--fs-base); margin-bottom: 6px; }
.step p { font-size: var(--fs-sm); margin: 0; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-xl);
  padding: var(--s-8) var(--s-7);
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: var(--s-6);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -140px; top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19,97,255,.55) 0%, rgba(19,97,255,0) 68%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: var(--s-3); position: relative; }
.cta-band p { color: #A9B6CA; position: relative; max-width: 36em; }
.cta-band .btn { position: relative; }
.cta-actions { display: flex; gap: var(--s-3); justify-content: flex-end; flex-wrap: wrap; position: relative; }
.btn--onnavy { background: #fff; color: var(--navy); }
.btn--onnavy:hover { background: #E8EEF9; text-decoration: none; }
.btn--outline-navy { border-color: rgba(255,255,255,.28); color: #fff; background: transparent; }
.btn--outline-navy:hover { border-color: #fff; text-decoration: none; }

/* ============================================================
   Breadcrumb
   ============================================================ */
.crumb {
  font-size: var(--fs-xs);
  color: var(--ink-3);
  padding-block: var(--s-4);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--accent-ink); }
.crumb span[aria-current] { color: var(--ink-2); }
.crumb i { font-style: normal; color: var(--ink-4); }

/* ============================================================
   Page hero (sub pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--s-8);
}
.page-hero h1 { margin-bottom: var(--s-4); max-width: 20em; }
.page-hero .lede { max-width: 44em; }
.page-meta {
  display: flex; gap: var(--s-5); flex-wrap: wrap;
  margin-top: var(--s-5); font-size: var(--fs-xs); color: var(--ink-3);
  padding-top: var(--s-4); border-top: 1px solid var(--line);
}
.page-meta b { color: var(--ink-2); font-weight: 600; }

/* ============================================================
   Author / trust block
   ============================================================ */
.author {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  margin-top: var(--s-7);
}
.author-avatar {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: var(--fs-base);
}
.author-name { font-weight: 700; font-size: var(--fs-base); }
.author-role { font-size: var(--fs-xs); color: var(--ink-3); margin-bottom: 6px; }
.author p { font-size: var(--fs-xs); color: var(--ink-3); margin: 0; line-height: 1.7; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: #93A2B8;
  padding-top: var(--s-8);
  font-size: var(--fs-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--s-6);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #7E8DA4; }
.footer-desc { font-size: var(--fs-xs); line-height: 1.8; margin-top: var(--s-4); max-width: 30em; color: #7E8DA4; }
.footer-col h3 {
  color: #fff;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-bottom: var(--s-4);
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #93A2B8; font-size: var(--fs-sm); }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding-block: var(--s-5);
  font-size: var(--fs-xs);
  color: #64748B;
  flex-wrap: wrap;
  line-height: 1.8;
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  /* 悬浮开户按钮：不做入场动画，直接呈现 */
  .float-cta {
    animation: none !important;
    opacity: 1;
    transform: translateX(-50%);
  }
  .float-cta::before { animation: none !important; opacity: 0; }
}

/* ============================================================
   Self-audit checklist
   ============================================================ */
.check-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line-2);
  align-items: start;
}
.check-item:last-child { border-bottom: 0; }
.check-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  margin: 2px 0 0;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
  transition: all var(--dur-1) var(--ease);
  flex: none;
}
.check-item input[type="checkbox"]:hover { border-color: var(--accent); }
.check-item input[type="checkbox"]:checked {
  background: var(--ok);
  border-color: var(--ok);
}
.check-item input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 1.5px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}
.check-item label {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  cursor: pointer;
  line-height: 1.6;
  display: block;
}
.check-item label b {
  display: block;
  color: var(--ink);
  font-weight: 650;
  margin-bottom: 2px;
}
.check-item label span { color: var(--ink-3); font-size: var(--fs-xs); }

.audit-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.audit-badge--ok { background: var(--ok-soft); color: var(--ok); }
.audit-badge--warn { background: var(--warn-soft); color: var(--warn); }
.audit-badge--risk { background: var(--risk-soft); color: var(--risk); }

.audit-bar {
  height: 6px;
  background: var(--bg-alt);
  border-radius: 3px;
  overflow: hidden;
}
.audit-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  transition: width var(--dur-3) var(--ease), background var(--dur-2) var(--ease);
}
.audit-bar-fill--ok { background: var(--ok); }
.audit-bar-fill--warn { background: var(--warn); }
.audit-bar-fill--risk { background: var(--risk); }

/* ============================================================
   Floating CTA — 底部居中悬浮开户按钮
   ============================================================ */
.float-cta {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px 14px 21px;
  border-radius: var(--r-full);
  background: var(--accent);
  color: #fff;
  font-size: var(--fs-md);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    0 14px 32px -10px rgba(19, 97, 255, .55),
    0 2px 6px rgba(10, 22, 38, .16);
  transition:
    transform var(--dur-2) var(--ease),
    box-shadow var(--dur-2) var(--ease),
    background var(--dur-1) var(--ease);
  animation: fcta-in 620ms var(--ease) 80ms both;
}

/* 柔光呼吸环 —— 提示"可点"，不影响阅读 */
.float-cta::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1px solid rgba(19, 97, 255, .42);
  pointer-events: none;
  animation: fcta-halo 3000ms var(--ease) 900ms infinite;
}

.float-cta:hover {
  background: var(--accent-ink);
  color: #fff;
  transform: translateX(-50%) translateY(-3px);
  box-shadow:
    0 20px 40px -12px rgba(19, 97, 255, .62),
    0 3px 10px rgba(10, 22, 38, .2);
}
.float-cta:active {
  transform: translateX(-50%) translateY(-1px);
}
.float-cta:focus-visible {
  outline: 3px solid rgba(19, 97, 255, .45);
  outline-offset: 3px;
}

.float-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .18);
  flex: none;
}
.float-cta__arrow {
  font-size: var(--fs-base);
  transition: transform var(--dur-2) var(--ease);
}
.float-cta:hover .float-cta__arrow { transform: translateX(3px); }

@keyframes fcta-in {
  from { opacity: 0; transform: translateX(-50%) translateY(18px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes fcta-halo {
  0%   { opacity: 0;    transform: scale(.94); }
  40%  { opacity: .9;   transform: scale(1); }
  100% { opacity: 0;    transform: scale(1.14); }
}

/* 悬浮按钮压不到页脚版权，留出净空 */
.site-footer { padding-bottom: 84px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .panel { max-width: 520px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .calc { grid-template-columns: 1fr; }
  .calc-form { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: var(--s-3) var(--s-5) var(--s-4);
    box-shadow: var(--sh-2);
  }
  .site-header.is-open .nav a { padding: 11px 0; border-bottom: 1px solid var(--line-2); }
  .site-header.is-open .nav a:last-child { border-bottom: 0; }
  .status-note { display: none; }
}

@media (max-width: 720px) {
  :root { --s-9: 60px; --s-8: 46px; --s-10: 72px; }
  .section { padding-block: var(--s-8); }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .rule-list li { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .hero-facts { gap: var(--s-5); }
  .fact-k { font-size: var(--fs-lg); }
  .cta-band { padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); }
  .status-inner { gap: var(--s-3); }
  .wrap { padding-inline: var(--s-4); }
  .step { grid-template-columns: 1fr; }
  .step::before { margin-bottom: 2px; }

  /* 移动端：贴底更近，兼顾 iPhone 安全区 */
  .float-cta {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    padding: 13px 22px 13px 18px;
    font-size: var(--fs-base);
    gap: 8px;
    max-width: calc(100vw - 28px);
  }
  .float-cta__icon { width: 20px; height: 20px; }
  .site-footer { padding-bottom: 76px; }
}
