:root {
  --bg: #0e1210;
  --bg-2: #121815;
  --panel: #18211d;
  --panel-2: #1e2a24;
  --paper: #ece3cd;
  --muted: #a49c85;
  --faint: #6f6a5a;
  --brass: #c8a15c;
  --brass-hi: #e9cd8f;
  --vermillion: #d24a33;
  --jade: #57a78c;
  --line: rgba(200, 161, 92, 0.24);
  --line-soft: rgba(200, 161, 92, 0.13);
  --line-strong: rgba(200, 161, 92, 0.5);
  --font-display: 'Fraunces', 'ZCOOL XiaoWei', 'Noto Serif SC', 'Songti SC', serif;
  --font-body: 'LXGW WenKai', 'Noto Serif SC', 'Songti SC', 'Microsoft YaHei', serif;
  --radius: 6px;
  --shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.75), 0 2px 0 rgba(255, 255, 255, 0.02) inset;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 700px at 82% -8%, rgba(200, 161, 92, 0.09), transparent 62%),
    radial-gradient(900px 620px at -12% 30%, rgba(87, 167, 140, 0.07), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 34%);
}

::selection { background: var(--brass); color: #171207; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(200, 161, 92, 0.28); border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(200, 161, 92, 0.45); }

.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.13'/></svg>");
}

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }

h1, h2, h3, .res-hero-num, .hero-big, .step-val {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(14, 18, 16, 0.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--brass); }
.brand-mark { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 4px 14px rgba(200, 161, 92, 0.25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-family: var(--font-display); font-size: 22px; color: var(--paper); letter-spacing: 0.12em; }
.brand-text i { font-style: normal; font-size: 9px; letter-spacing: 0.34em; color: var(--faint); }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 9px 16px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--brass-hi); background: rgba(200, 161, 92, 0.08); }

.nav-cta {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #171207;
  background: linear-gradient(180deg, var(--brass-hi), var(--brass));
  border-radius: 999px;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 26px -12px rgba(200, 161, 92, 0.7);
  transition: transform 0.25s, box-shadow 0.25s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(200, 161, 92, 0.85); }

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
}

.hero-rays {
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from -90deg at 74% 92%, rgba(200, 161, 92, 0.1) 0deg 1.1deg, transparent 1.1deg 6.5deg);
  -webkit-mask-image: radial-gradient(circle at 74% 92%, #000 0%, transparent 64%);
  mask-image: radial-gradient(circle at 74% 92%, #000 0%, transparent 64%);
  pointer-events: none;
}

.hero-skyline {
  position: absolute;
  right: -1%;
  bottom: 0;
  width: min(780px, 56vw);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

.hero-inner { position: relative; z-index: 1; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-kicker::before { content: ''; width: 44px; height: 1px; background: var(--brass); }

.hero-title {
  font-size: clamp(46px, 8vw, 104px);
  line-height: 1.12;
  letter-spacing: 0.03em;
  color: var(--paper);
  text-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.hero-title::after {
  content: '';
  display: block;
  width: 92px;
  height: 3px;
  margin-top: 28px;
  background: linear-gradient(90deg, var(--vermillion) 60%, transparent);
}

.hero-sub {
  margin-top: 24px;
  max-width: 34em;
  font-size: 17px;
  color: var(--muted);
}

.hero-ledger {
  margin-top: 42px;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 34px 26px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  background: linear-gradient(150deg, rgba(200, 161, 92, 0.09), rgba(200, 161, 92, 0.015));
  box-shadow: var(--shadow);
}
.hero-ledger-label { font-size: 13px; letter-spacing: 0.24em; color: var(--muted); }
.hero-big {
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1.05;
  color: var(--brass-hi);
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}
.hero-ledger-note { font-size: 13px; color: var(--faint); letter-spacing: 0.06em; }

.hero-stats {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.hero-stats i { color: var(--brass); font-style: normal; font-size: 8px; opacity: 0.7; }

.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }

.btn-primary {
  padding: 15px 34px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: #171207;
  background: linear-gradient(180deg, var(--brass-hi), var(--brass));
  border-radius: 999px;
  box-shadow: 0 16px 40px -16px rgba(200, 161, 92, 0.8);
  transition: transform 0.25s, box-shadow 0.25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -16px rgba(200, 161, 92, 0.95); }

.btn-ghost {
  padding: 15px 30px;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--brass);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.btn-ghost:hover { background: rgba(200, 161, 92, 0.1); color: var(--brass-hi); transform: translateY(-2px); }

.marquee {
  border-block: 1px solid var(--line-soft);
  background: rgba(200, 161, 92, 0.035);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 26px; padding-right: 26px; white-space: nowrap; font-size: 13.5px; letter-spacing: 0.08em; color: var(--muted); }
.marquee-group i { font-style: normal; color: var(--brass); font-size: 8px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: 104px 0 20px; scroll-margin-top: 84px; }

.section-head {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 46px;
}
.section-num {
  flex: none;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--brass);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 5px var(--line);
  background: rgba(200, 161, 92, 0.05);
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.2; }
.section-head p { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 46em; }

.panel {
  position: relative;
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 70%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel--frame::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  pointer-events: none;
}

.c {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 2;
}
.c-tl { top: 5px; left: 5px; border-top: 2px solid var(--brass); border-left: 2px solid var(--brass); }
.c-tr { top: 5px; right: 5px; border-top: 2px solid var(--brass); border-right: 2px solid var(--brass); }
.c-bl { bottom: 5px; left: 5px; border-bottom: 2px solid var(--brass); border-left: 2px solid var(--brass); }
.c-br { bottom: 5px; right: 5px; border-bottom: 2px solid var(--brass); border-right: 2px solid var(--brass); }

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: start;
}

.calc-inputs { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

.block { padding: 26px 26px 24px; }

.block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.block-head h3 { font-size: 19px; letter-spacing: 0.06em; }
.block-chip { font-size: 12px; letter-spacing: 0.08em; color: var(--faint); border-bottom: 1px dashed var(--line); padding-bottom: 2px; }

.money-input {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0 10px;
  border-bottom: 1px solid var(--line);
}
.money-input .cur { font-family: var(--font-display); font-size: 26px; color: var(--brass); }
.money-input input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 44px);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}
.money-input .per { font-size: 14px; color: var(--faint); }

input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  margin-top: 16px;
  background: transparent;
  outline: none;
  --fill: 15%;
}
input[type='range']::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(90deg, var(--brass) var(--fill), rgba(200, 161, 92, 0.18) var(--fill));
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -10px;
  border-radius: 4px;
  transform: rotate(45deg);
  background: linear-gradient(160deg, var(--brass-hi), var(--brass));
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--brass), 0 8px 20px -6px rgba(0, 0, 0, 0.8);
  transition: transform 0.2s;
}
input[type='range']::-webkit-slider-thumb:hover { transform: rotate(45deg) scale(1.12); }
input[type='range']::-moz-range-track { height: 2px; background: rgba(200, 161, 92, 0.18); }
input[type='range']::-moz-range-progress { height: 2px; background: var(--brass); }
input[type='range']::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  transform: rotate(45deg);
  background: var(--brass);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--brass);
}

.range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.base-config { display: flex; flex-direction: column; margin-bottom: 4px; }
.base-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  flex-wrap: wrap;
  padding: 12px 2px 13px;
  border-bottom: 1px dashed var(--line-soft);
}
.base-label { display: flex; flex-direction: column; gap: 2px; }
.base-label span { font-size: 14.5px; color: var(--muted); }
.base-label i { font-style: normal; font-size: 11px; color: var(--faint); letter-spacing: 0.05em; }
.base-ctrls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.seg-sm button { padding: 6px 12px; font-size: 12px; }
.base-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s;
}
.base-input-wrap[hidden] { display: none; }
.base-input-wrap:focus-within { border-color: var(--brass); }
.base-input-wrap > span { font-family: var(--font-display); font-size: 15px; color: var(--brass); }
.base-input {
  width: 96px;
  padding: 0;
  background: none;
  border: 0;
  outline: 0;
  text-align: right;
  font-family: var(--font-display);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.social-list { display: flex; flex-direction: column; }
.social-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 15px;
}
.social-row span { color: var(--muted); }
.social-row i { font-style: normal; font-size: 12px; color: var(--faint); flex: 1; padding-left: 10px; }
.social-row b { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-weight: 600; color: var(--paper); }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.chip {
  padding: 8px 18px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.22s;
}
.chip:hover { color: var(--brass-hi); border-color: var(--line-strong); }
.chip.is-on { background: linear-gradient(180deg, var(--brass-hi), var(--brass)); color: #171207; border-color: transparent; font-weight: 700; }
.chips-note { font-size: 12px; color: var(--faint); flex-basis: 100%; line-height: 1.6; }

.ded-list { display: flex; flex-direction: column; }

.ded {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 4px;
  border-bottom: 1px dashed var(--line-soft);
  transition: background 0.25s;
}
.ded:last-child { border-bottom: 0; }
.ded.is-on .ded-icon { color: var(--jade); border-color: rgba(87, 167, 140, 0.5); background: rgba(87, 167, 140, 0.09); }
.ded.is-special { margin-top: 6px; padding: 17px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(200, 161, 92, 0.045); }

.ded-icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--brass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(200, 161, 92, 0.05);
  transition: all 0.25s;
}
.ded-icon svg { width: 22px; height: 22px; }

.ded-body { flex: 1; min-width: 0; }
.ded-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: 15.5px; }
.ded-std { font-size: 12px; color: var(--brass); letter-spacing: 0.03em; }
.ded-hint { margin-top: 3px; font-size: 12px; color: var(--faint); line-height: 1.55; }
.ded-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.ded-save {
  font-size: 11.5px;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--faint);
  border: 1px dashed var(--line);
  border-radius: 999px;
  padding: 3px 12px;
  transition: all 0.25s;
  font-variant-numeric: tabular-nums;
}
.ded.is-on .ded-save { color: var(--jade); border-color: rgba(87, 167, 140, 0.45); background: rgba(87, 167, 140, 0.08); }

.ded-ctrl { flex: none; display: flex; align-items: center; }

.switch {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.25s;
}
.switch i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--faint);
  transition: all 0.25s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.ded.is-on .switch { background: rgba(87, 167, 140, 0.2); border-color: rgba(87, 167, 140, 0.6); }
.ded.is-on .switch i { left: 22px; background: var(--jade); box-shadow: 0 0 12px rgba(87, 167, 140, 0.7); }

.stepper { display: flex; align-items: center; gap: 4px; }
.step-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: var(--brass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.step-btn:hover { background: rgba(200, 161, 92, 0.12); }
.step-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.step-val { width: 34px; text-align: center; font-size: 19px; font-variant-numeric: tabular-nums; }

.seg { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.seg button {
  padding: 7px 14px;
  font-size: 12.5px;
  color: var(--muted);
  border-right: 1px solid var(--line-soft);
  transition: all 0.2s;
  white-space: nowrap;
}
.seg button:last-child { border-right: 0; }
.seg button:hover { color: var(--brass-hi); }
.seg button.is-on { background: linear-gradient(180deg, var(--brass-hi), var(--brass)); color: #171207; font-weight: 700; }

.med-ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.med-input {
  width: 132px;
  padding: 9px 12px;
  text-align: right;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s;
}
.med-input:focus { border-color: var(--brass); }
.med-ded { font-size: 11.5px; color: var(--faint); }
.ded.is-on .med-ded { color: var(--jade); }

.calc-results { padding: 34px 30px 26px; position: sticky; top: 92px; overflow: hidden; }

.seal {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--vermillion);
  border: 2px solid var(--vermillion);
  border-radius: 10px;
  opacity: 0.85;
  transform: rotate(9deg);
  z-index: 3;
  pointer-events: none;
  text-shadow: 0 0 18px rgba(210, 74, 51, 0.5);
}
.seal::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(210, 74, 51, 0.55);
  border-radius: 6px;
}
.seal::after {
  content: 'LEGAL · 合法省下';
  position: absolute;
  bottom: -21px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--vermillion);
  opacity: 0.75;
  white-space: nowrap;
}
.seal.stamp { animation: stamp 0.55s cubic-bezier(0.2, 1.6, 0.45, 1); }
@keyframes stamp {
  0% { transform: rotate(9deg) scale(2.1); opacity: 0; }
  60% { transform: rotate(6deg) scale(0.94); opacity: 1; }
  100% { transform: rotate(9deg) scale(1); opacity: 0.85; }
}

.res-kicker { font-size: 12.5px; letter-spacing: 0.22em; color: var(--faint); text-transform: uppercase; }
.res-hero { margin-top: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.res-hero span { font-size: 13.5px; color: var(--muted); letter-spacing: 0.1em; }
.res-hero-num {
  font-size: clamp(42px, 5.4vw, 58px);
  line-height: 1.12;
  margin-top: 6px;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  text-shadow: 0 20px 60px rgba(233, 205, 143, 0.12);
}

.res-save {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 6px;
  padding: 14px 16px;
  border: 1px dashed rgba(87, 167, 140, 0.4);
  border-radius: var(--radius);
  background: rgba(87, 167, 140, 0.06);
  font-size: 13px;
  color: var(--muted);
}
.res-save b {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--jade);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.res-rows { display: flex; flex-direction: column; margin-top: 8px; }
.res-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 2px;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 14px;
}
.res-row span { color: var(--muted); }
.res-row b { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.res-row:last-child { border-bottom: 0; }
.res-row b.warn { color: var(--vermillion); }
.res-row b.good { color: var(--jade); }

.res-foot { margin-top: 18px; font-size: 11.5px; line-height: 1.7; color: var(--faint); }

.bonus-empty {
  padding: 44px 30px;
  text-align: center;
  border-style: dashed;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.bonus-empty p { color: var(--muted); font-size: 15px; }

.bonus-live { display: flex; flex-direction: column; gap: 22px; }

.versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 18px;
}

.vs-card {
  position: relative;
  padding: 26px 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 70%);
  box-shadow: var(--shadow);
  opacity: 0.55;
  filter: saturate(0.6);
  transition: all 0.35s;
}
.vs-card.win {
  opacity: 1;
  filter: none;
  border-color: var(--line-strong);
  box-shadow: 0 26px 70px -30px rgba(200, 161, 92, 0.5);
}
.vs-card.win::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  pointer-events: none;
}
.vs-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}
.vs-card.win .vs-tag { color: var(--brass); }
.vs-card h3 {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.vs-card h3 b {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.vs-card.win h3 b { color: var(--brass-hi); }
.vs-card ul { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.vs-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--faint);
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line-soft);
}
.vs-card li b { font-family: var(--font-display); color: var(--muted); font-variant-numeric: tabular-nums; }
.vs-badge {
  position: absolute;
  top: -13px;
  right: 18px;
  padding: 5px 16px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: #171207;
  background: linear-gradient(180deg, var(--brass-hi), var(--brass));
  border-radius: 999px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.35s;
}
.vs-card.win .vs-badge { opacity: 1; transform: none; }

.vs-mid {
  align-self: center;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--brass);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(200, 161, 92, 0.06);
  transform: rotate(-8deg);
}

.verdict {
  padding: 20px 26px;
  border: 1px solid rgba(87, 167, 140, 0.4);
  border-left: 3px solid var(--jade);
  border-radius: var(--radius);
  background: rgba(87, 167, 140, 0.07);
  font-size: 15.5px;
  color: var(--paper);
}
.verdict b { color: var(--jade); font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.verdict.warn { border-color: rgba(210, 74, 51, 0.45); border-left-color: var(--vermillion); background: rgba(210, 74, 51, 0.07); }
.verdict.warn b { color: var(--vermillion); }

.zone { padding: 28px 26px 24px; }
.zone-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 30px; }
.zone-head h3 { font-size: 19px; letter-spacing: 0.06em; }
.zone-tag {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  padding: 5px 16px;
  border-radius: 999px;
  border: 1px solid rgba(87, 167, 140, 0.5);
  color: var(--jade);
  background: rgba(87, 167, 140, 0.08);
}
.zone-tag.danger { border-color: rgba(210, 74, 51, 0.55); color: var(--vermillion); background: rgba(210, 74, 51, 0.09); }

.zone-track {
  position: relative;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.32);
  overflow: visible;
}
.zone-safe, .zone-danger { position: absolute; top: 0; bottom: 0; }
.zone-safe { background: rgba(87, 167, 140, 0.13); }
.zone-danger {
  background: repeating-linear-gradient(-45deg, rgba(210, 74, 51, 0.42) 0 9px, rgba(210, 74, 51, 0.14) 9px 18px);
  border-inline: 1px solid rgba(210, 74, 51, 0.65);
}
.zone-danger::after {
  content: '真空区';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(236, 227, 205, 0.85);
}
.zone-danger.narrow::after { content: none; }
.zone-marker {
  position: absolute;
  top: -9px;
  bottom: -9px;
  width: 0;
  border-left: 2px solid var(--brass-hi);
  box-shadow: 0 0 16px rgba(233, 205, 143, 0.9);
  transition: left 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 2;
}
.zone-marker i {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  font-style: normal;
  font-family: var(--font-display);
  font-size: 12.5px;
  color: var(--brass-hi);
  background: #171207;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px 12px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.zone-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.zone-caption { margin-top: 16px; font-size: 14px; color: var(--muted); line-height: 1.8; }
.zone-caption b { color: var(--vermillion); font-family: var(--font-display); }

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
  gap: 22px;
}
.tip {
  position: relative;
  padding: 30px 24px 24px;
  background: linear-gradient(155deg, #202a24, #182019 74%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.tip:hover {
  transform: rotate(0deg) translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -28px rgba(200, 161, 92, 0.35);
}
.tip::before {
  content: '';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 84px;
  height: 22px;
  background: rgba(200, 161, 92, 0.16);
  border: 1px solid rgba(200, 161, 92, 0.22);
  backdrop-filter: blur(2px);
}
.tip-num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
  color: rgba(200, 161, 92, 0.14);
  pointer-events: none;
}
.tip h3 { font-size: 17px; padding-right: 44px; line-height: 1.4; }
.tip p { margin-top: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.85; }
.tip p b { color: var(--brass); font-weight: 600; }

.policy-list { display: flex; flex-direction: column; gap: 14px; }
.policy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 80%);
  overflow: hidden;
  transition: border-color 0.3s;
}
.policy[open] { border-color: var(--line-strong); }
.policy summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16.5px;
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
  transition: color 0.25s;
}
.policy summary::-webkit-details-marker { display: none; }
.policy summary::after {
  content: '+';
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--brass);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.3s;
}
.policy[open] summary::after { transform: rotate(45deg); background: rgba(200, 161, 92, 0.12); }
.policy summary:hover { color: var(--brass-hi); }
.policy-body { padding: 4px 24px 24px; animation: policyIn 0.35s ease; }
@keyframes policyIn { from { opacity: 0; transform: translateY(-6px); } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); }
.ledger-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.ledger-table th {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--faint);
  text-align: left;
  font-weight: 500;
  padding: 12px 16px;
  background: rgba(200, 161, 92, 0.05);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.ledger-table td {
  padding: 11px 16px;
  font-size: 13.5px;
  color: var(--muted);
  border-bottom: 1px dashed var(--line-soft);
  font-variant-numeric: tabular-nums;
}
.ledger-table tr:last-child td { border-bottom: 0; }
.ledger-table td:first-child { color: var(--paper); }
.ledger-table td:nth-child(3), .ledger-table td:nth-child(4) { font-family: var(--font-display); color: var(--brass); }

.policy-note { margin-top: 16px; font-size: 13.5px; line-height: 1.9; color: var(--muted); }

.footer {
  margin-top: 110px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  padding: 56px 0 40px;
}
.footer-inner { display: flex; flex-direction: column; gap: 22px; }
.footer-brand { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.footer-brand b { font-family: var(--font-display); font-size: 24px; letter-spacing: 0.1em; color: var(--brass); }
.footer-brand span { font-size: 13px; color: var(--faint); letter-spacing: 0.14em; }
.footer-disclaimer { font-size: 13px; color: var(--muted); max-width: 60em; line-height: 1.9; }
.footer-sources { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; color: var(--faint); }
.footer-sources span { letter-spacing: 0.1em; }
.footer-sources a { color: var(--muted); border-bottom: 1px dashed var(--line); transition: color 0.25s; }
.footer-sources a:hover { color: var(--brass-hi); }
.footer-copy { font-size: 12px; color: var(--faint); letter-spacing: 0.14em; }

.mobile-bar {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 70;
  display: none;
  align-items: center;
  gap: 16px;
  padding: 13px 18px;
  background: rgba(20, 27, 23, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.9);
  transform: translateY(140%);
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.mobile-bar.show { transform: none; }
.mb-item { display: flex; flex-direction: column; line-height: 1.25; }
.mb-item span { font-size: 11px; color: var(--faint); letter-spacing: 0.1em; }
.mb-item b { font-family: var(--font-display); font-size: 19px; font-variant-numeric: tabular-nums; }
.mb-item b.accent { color: var(--jade); }
.mb-btn {
  margin-left: auto;
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #171207;
  background: linear-gradient(180deg, var(--brass-hi), var(--brass));
  border-radius: 999px;
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .nav-links { display: none; }
}

@media (max-width: 900px) {
  .hero { padding-top: 128px; }
  .hero-skyline { width: 128vw; right: -34vw; opacity: 0.4; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-results { position: static; order: -1; }
  .versus { grid-template-columns: 1fr; }
  .vs-mid { justify-self: center; margin: -6px 0; width: 46px; height: 46px; font-size: 14px; transform: rotate(-8deg); }
  .mobile-bar { display: flex; }
  .section { padding-top: 84px; }
  .terminal-pad { padding-bottom: 90px; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 34px); }
  .hero-title { letter-spacing: 0.02em; }
  .hero-ledger { width: 100%; padding: 20px 22px; }
  .section-head { gap: 16px; }
  .section-num { width: 44px; height: 44px; font-size: 20px; }
  .block { padding: 22px 18px 20px; }
  .calc-results { padding: 28px 20px 22px; }
  .seal { width: 52px; height: 52px; font-size: 26px; top: 16px; right: 16px; }
  .ded { gap: 10px; }
  .ded-icon { width: 38px; height: 38px; }
  .ded-ctrl { align-self: flex-start; margin-top: 2px; }
  .base-ctrls { width: 100%; justify-content: space-between; }
  .seg button { padding: 6px 10px; font-size: 11.5px; }
  .zone-head { margin-bottom: 34px; }
  .zone-marker i { font-size: 11px; padding: 2px 9px; }
  .tips-grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: 110px; }
  .mobile-bar { gap: 12px; }
  .mb-item b { font-size: 16.5px; }
  .mb-btn { padding: 9px 16px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .seal.stamp { animation: none; }
  .zone-marker { transition: none; }
}
