/* ============================================================
   Aurent 结算中心 — 基础层
   暖白 / 墨 / 朱 —— 中式票据与账册的气质，与 t1(墨绿金)、t4(暗黑灰) 均不同
   ============================================================ */

:root {
  --paper:   #fbf7f2;
  --paper-2: #f3ece2;
  --ink:     #1a1410;
  --ink-2:   #3a322b;
  --ink-3:   #6b6259;
  --red:     #b8332a;
  --red-2:   #8f231c;
  --bronze:  #a67c52;
  --rule:    rgba(26, 20, 16, 0.14);
  --rule-2:  rgba(26, 20, 16, 0.07);
  --up:      #1f7a4c;
  --down:    #b8332a;

  --font-title: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", Georgia, serif;
  --font-body:  "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI Variable Text", "Helvetica Neue", sans-serif;
  --font-num:   "SF Mono", "JetBrains Mono", "Cascadia Mono", Consolas, monospace;

  --gut: clamp(18px, 4vw, 44px);
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(900px 420px at 12% -6%, rgba(184, 51, 42, 0.07), transparent 64%),
    radial-gradient(700px 400px at 96% 8%, rgba(166, 124, 82, 0.10), transparent 62%),
    repeating-linear-gradient(90deg, var(--rule-2) 0 1px, transparent 1px 88px);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.01em;
  margin: 0;
}
h1 { font-size: clamp(30px, 4.6vw, 48px); }
h2 { font-size: clamp(23px, 3vw, 32px); }
h3 { font-size: 18px; }
p  { margin: 0; }
a  { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
table { width: 100%; border-collapse: collapse; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- 通用件 ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
  color: var(--red);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red));
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 3px;
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.02em;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-primary { color: #fff; background: var(--red); }
.btn-primary:hover { background: var(--red-2); transform: translateY(-1px); }
.btn-line { color: var(--ink); border: 1px solid var(--rule); }
.btn-line:hover { border-color: var(--red); color: var(--red); }

.sec { padding: clamp(44px, 6vw, 76px) 0; border-top: 1px solid var(--rule-2); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sec-desc { margin-top: 14px; max-width: 60ch; color: var(--ink-3); }

.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.up { color: var(--up); }
.down { color: var(--down); }

/* ---------- 动效 ---------- */

[data-rv] { opacity: 0; transform: translateY(14px); animation: rv .7s cubic-bezier(.22,.72,.24,1) forwards; }
[data-rv="1"] { animation-delay: .05s; }
[data-rv="2"] { animation-delay: .13s; }
[data-rv="3"] { animation-delay: .21s; }
[data-rv="4"] { animation-delay: .29s; }
[data-rv="5"] { animation-delay: .37s; }
[data-rv="6"] { animation-delay: .45s; }
[data-rv="7"] { animation-delay: .53s; }
@keyframes rv { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  [data-rv] { opacity: 1; transform: none; animation: none; }
  * { transition: none !important; }
}
