/* ============================================================
   盘根 Agent · style.css · v2
   设计语言:dark-tech-art · 朱砂 × 墨黑 × 宋体
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* base */
  --bg:           #0A0A0B;
  --bg-2:         #131110;
  --bg-3:         #1B1815;
  --bg-cream:     #F2F0EB;
  --bg-warm:      #1F1A14;

  /* text */
  --text:         #F2F0EB;
  --text-2:       #C9C3B7;
  --text-3:       #8A857C;
  --text-4:       #5A554E;

  /* inverse (on cream) */
  --ink:          #1A1614;
  --ink-2:        #3D332A;
  --ink-3:        #6E6357;

  /* accent — electric vermilion */
  --accent:       #FF4332;
  --accent-soft:  #FF6B5E;
  --accent-deep:  #C8312A;
  --accent-glow:  rgba(255, 67, 50, 0.5);

  /* warm */
  --amber:        #D4AE7B;
  --amber-soft:   rgba(212, 174, 123, 0.18);

  /* lines */
  --line:         rgba(242, 240, 235, 0.08);
  --line-mid:     rgba(242, 240, 235, 0.14);
  --line-strong:  rgba(242, 240, 235, 0.22);
  --line-ink:     rgba(26, 22, 20, 0.10);
  --line-ink-mid: rgba(26, 22, 20, 0.18);

  /* fonts */
  --f-serif-cn:  'Noto Serif SC', 'STSong', 'STKaiti', serif;
  --f-serif-en:  'Cormorant Garamond', 'Noto Serif SC', serif;
  --f-sans-cn:   'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --f-sans-en:   'IBM Plex Sans', 'Noto Sans SC', system-ui, sans-serif;
  --f-mono:      'IBM Plex Mono', 'JetBrains Mono', 'Menlo', monospace;

  /* type scale */
  --fs-tiny:     clamp(10px, 0.7vw, 12px);
  --fs-mono:     clamp(11px, 0.8vw, 13px);
  --fs-small:    clamp(13px, 0.9vw, 14px);
  --fs-body:     clamp(15px, 1.05vw, 16px);
  --fs-lead:     clamp(17px, 1.4vw, 21px);
  --fs-h4:       clamp(18px, 1.6vw, 22px);
  --fs-h3:       clamp(22px, 2vw, 28px);
  --fs-h2:       clamp(36px, 5.6vw, 76px);
  --fs-wordmark: clamp(64px, 12vw, 160px);

  /* layout */
  --container:   min(1280px, 92vw);
  --container-narrow: min(820px, 92vw);
  --sec-py:      clamp(72px, 9vw, 144px);
  --nav-h:       64px;

  /* motion */
  --ease:        cubic-bezier(.2, .7, .25, 1);
  --ease-out:    cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
/* kill default blue focus/tap on all interactive elements; show vermilion ring only on keyboard nav */
a, button, [role="button"], [tabindex] { outline: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
/* prevent iOS auto-zoom on input focus */
input, textarea, select { font-size: 16px; }
/* respect user motion preferences */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans-cn);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
ul, ol { padding: 0; margin: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
em { font-style: italic; font-family: var(--f-serif-en); }
b, strong { font-weight: 500; color: var(--text); }
i { font-style: italic; font-family: var(--f-serif-en); }

/* ---------- Background ambient layers ---------- */
.bg-grain {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.bg-radial {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  background:
    radial-gradient(1200px 800px at 50% -10%, rgba(255, 67, 50, 0.08), transparent 60%),
    radial-gradient(900px 700px at 100% 100%, rgba(212, 174, 123, 0.05), transparent 60%);
}

/* ---------- Containers ---------- */
.container { width: var(--container); margin: 0 auto; position: relative; z-index: 2; }
.narrow { width: var(--container-narrow); }
section { padding: var(--sec-py) 0; position: relative; scroll-margin-top: 80px; }

/* ============================================================
   NAV (v3 — masthead style)
   ============================================================ */
:root { --nav-h: 72px; }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
}
.nav-inner {
  width: var(--container);
  margin: 0 auto;
  height: 100%;
  display: flex; align-items: center;
  gap: 24px;
}

/* ---- brand ---- */
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.brand-seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  background: var(--accent);
  color: var(--text);
  font-family: var(--f-serif-cn);
  font-weight: 900;
  font-size: 16px;
  border-radius: 2px;
  box-shadow: 0 0 16px -4px var(--accent-glow);
}
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.1;
}
.brand-name i {
  color: var(--accent);
  margin-left: 4px;
  font-weight: 600;
  font-family: var(--f-serif-en);
}
.brand-status {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.status-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.status-dot::after {
  content: "";
  position: absolute; inset: -1px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.5;
  animation: liveRing 1.8s infinite ease-out;
}

/* ---- nav links ---- */
.nav-links {
  display: flex; gap: 2px;
  margin: 0;
  flex: 1;
  justify-content: center;
}
.nav-links li { margin: 0; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px;
  font-family: var(--f-sans-cn);
  font-size: 13px;
  color: var(--text-2);
  position: relative;
  transition: color .2s, background .2s;
  border-radius: 2px;
}
.nav-links a:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--text) 5%, transparent);
}
.nl-i {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-4);
  transition: color .2s;
}
.nav-links a:hover .nl-i { color: var(--accent); }

.nav-links a.active {
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.nav-links a.active .nl-i { color: var(--accent); }
.nav-links a.active::before {
  content: "";
  position: absolute;
  top: 5px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ---- CTA ---- */
.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px;
  font-family: var(--f-sans-cn);
  font-size: 13px;
  color: var(--text);
  border: 1px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  transition: all .25s;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.cta-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.cta-dot::after {
  content: "";
  position: absolute; inset: -1px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.5;
  animation: liveRing 1.8s infinite ease-out;
}
.cta-arrow {
  color: var(--accent);
  transition: transform .25s, color .25s;
}
.nav-cta:hover {
  background: var(--accent);
  color: var(--bg);
}
.nav-cta:hover .cta-arrow {
  transform: translate(2px, -2px);
  color: var(--bg);
}
.nav-cta:hover .cta-dot { background: var(--bg); }
.nav-cta:hover .cta-dot::after { display: none; }

/* ---- burger ---- */
.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 8px;
}
.nav-burger span {
  width: 22px; height: 1.5px;
  background: var(--text); display: block;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px 6vw 28px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    margin: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 14px; }
  .nav-burger { display: flex; }
  .brand-status { display: none; }
}
@media (max-width: 560px) {
  .nav-cta .cta-text { display: none; }
  .nav-cta { padding: 8px 10px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 56px) 0 60px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 50% 30%, rgba(255, 67, 50, 0.10), transparent 70%),
    radial-gradient(600px 400px at 50% 90%, rgba(255, 67, 50, 0.06), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  width: var(--container); margin: 0 auto;
  position: relative; z-index: 2;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: clamp(40px, 5vw, 56px);
  animation: fadeUp 1s var(--ease-out) both;
}
.hero-eyebrow .dot {
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* wordmark */
.wordmark {
  font-family: var(--f-serif-cn);
  font-weight: 900;
  font-size: var(--fs-wordmark);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0;
  /* IMPORTANT: block (not inline-flex) — otherwise it flows inline with .hero-eyebrow */
  display: block;
  text-align: center;
  cursor: pointer;
  position: relative;
  animation: wmEntrance 1.2s var(--ease-out) both;
  animation-delay: 0.2s;
}
@keyframes wmEntrance {
  from {
    opacity: 0;
    transform: translateY(28px);
    letter-spacing: 0.05em;
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: -0.025em;
    filter: blur(0);
  }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.wm-base {
  color: var(--text);
  display: inline;
  vertical-align: baseline;
}
.wm-suffix {
  display: inline-block;
  vertical-align: baseline;
  margin-left: 0.02em;
  min-width: 0.5em;
}
#wmText {
  display: inline-block;
  font-family: var(--f-serif-en);
  font-weight: 600;
  font-style: italic;
  color: var(--accent);
  text-shadow: 0 0 32px var(--accent-glow);
  min-width: 0.05em;
  transition: color .4s, text-shadow .4s;
}
.wordmark[data-mode="agent"] #wmText {
  color: var(--text);
  font-style: normal;
  font-weight: 700;
  text-shadow: none;
}
.wm-caret {
  display: inline-block;
  width: 0.04em;
  height: 0.72em;
  background: var(--accent);
  margin-left: 0.05em;
  vertical-align: baseline;
  transform: translateY(0.04em);
  animation: caretBlink 1s infinite;
  box-shadow: 0 0 12px var(--accent-glow);
}
@keyframes caretBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.hero-tagline {
  font-family: var(--f-serif-cn);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.35;
  color: var(--text);
  margin: clamp(32px, 4vw, 52px) auto 18px;
  max-width: 22ch;
  animation: fadeUp 1s var(--ease-out) both;
  animation-delay: 0.5s;
}
.hl {
  color: var(--accent);
  position: relative;
  font-weight: 600;
}

.hero-sub {
  font-family: var(--f-sans-cn);
  font-size: var(--fs-lead);
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 40ch;
  margin: 0 auto;
  animation: fadeUp 1s var(--ease-out) both;
  animation-delay: 0.65s;
}

.hero-ctas {
  display: flex; gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: clamp(32px, 4vw, 48px);
  animation: fadeUp 1s var(--ease-out) both;
  animation-delay: 0.8s;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  font-family: var(--f-sans-cn);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all .25s var(--ease-out);
  white-space: nowrap;
  border-radius: 2px;
  position: relative;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 0 1px var(--accent), 0 12px 32px -16px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--accent-soft), 0 16px 40px -12px var(--accent-glow);
}
.btn-arrow { transition: transform .25s var(--ease-out); }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover {
  background: var(--bg-2);
  border-color: var(--text-3);
}

.btn-line {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-line:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn-ghost {
  border-bottom: 1px solid currentColor;
  padding: 14px 6px;
  border-radius: 0;
}
.btn-ghost:hover { color: var(--accent); }

/* Hero visual (the big product image) */
.hero-visual {
  margin: clamp(48px, 7vw, 84px) auto 0;
  max-width: 1100px;
  position: relative;
  animation: visualReveal 1.4s var(--ease-out) both;
  animation-delay: 1s;
}
@keyframes visualReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.visual-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line-mid);
  background: var(--bg-2);
  box-shadow:
    0 0 0 1px var(--line),
    0 24px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 120px -30px var(--accent-glow);
}
.visual-frame img {
  width: 100%; height: auto;
  display: block;
}
.visual-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, var(--accent-glow), transparent 60%);
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
}
.visual-caption {
  margin-top: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
}

/* Trust strip */
.hero-trust {
  margin-top: clamp(40px, 6vw, 72px);
  display: flex; align-items: center; justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
  padding: 24px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  animation: fadeUp 1s var(--ease-out) both;
  animation-delay: 1.2s;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
}
.trust-num {
  font-family: var(--f-serif-en);
  font-weight: 600;
  font-size: 20px;
  color: var(--accent);
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 8px;
}
/* "live" pulse for the M0 trust badge */
.trust-item:nth-child(3) .trust-num::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 8px var(--accent-glow);
  animation: trustLive 2s infinite ease-out;
}
@keyframes trustLive {
  0%   { box-shadow: 0 0 0 0 var(--accent-glow), 0 0 8px var(--accent-glow); }
  70%  { box-shadow: 0 0 0 10px transparent,    0 0 8px var(--accent-glow); }
  100% { box-shadow: 0 0 0 0 transparent,        0 0 8px var(--accent-glow); }
}
.trust-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
}
.trust-sep {
  color: var(--text-4);
}

@media (max-width: 720px) {
  .hero-trust { flex-direction: column; gap: 14px; }
  .trust-sep { display: none; }
}

/* ============================================================
   Section heading
   ============================================================ */
.sec-head {
  margin-bottom: clamp(48px, 7vw, 88px);
}
.sec-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.sec-tag .dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
}
.display {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  max-width: 20ch;
  color: var(--text);
}
.lead {
  font-family: var(--f-sans-cn);
  font-weight: 300;
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--text-2);
  max-width: 58ch;
  margin: 0;
}

/* ============================================================
   LIVE DEMO
   ============================================================ */
.live-demo {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(800px 500px at 80% 20%, rgba(255, 67, 50, 0.05), transparent 70%),
    var(--bg);
  position: relative;
}

.demo-wrap {
  margin: clamp(40px, 5vw, 60px) auto 0;
  max-width: 980px;
  position: relative;
}

/* glow underneath */
.demo-wrap::before {
  content: "";
  position: absolute;
  inset: 60px -10% -30px;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 65%);
  filter: blur(60px);
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}

.demo-window {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line-mid);
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--line),
    0 32px 80px -32px rgba(0, 0, 0, 0.8),
    0 0 120px -40px var(--accent-glow);
  z-index: 1;
  cursor: pointer;
}

/* TITLE BAR */
.demo-titlebar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 12px;
}
.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.5;
  animation: liveRing 1.8s infinite ease-out;
}
@keyframes liveRing {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(3); opacity: 0; }
}
.demo-title {
  flex: 1;
  color: var(--text-2);
  letter-spacing: 0.04em;
}
.demo-status {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 3px 8px;
  border: 1px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

/* ---- Preset tabs ---- */
.demo-tabs {
  display: flex;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.demo-tabs::-webkit-scrollbar { display: none; }
.dt {
  flex: 1 0 auto;
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 14px 22px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-right: 1px solid var(--line);
  transition: background .25s, border-color .25s, color .25s;
  cursor: pointer;
  text-align: left;
  position: relative;
  min-width: 0;
}
.dt:last-child { border-right: 0; }
.dt .dt-i {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: 12px;
  color: var(--text-4);
  letter-spacing: 0.05em;
  transition: color .25s;
}
.dt .dt-l {
  font-family: var(--f-serif-cn);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-3);
  letter-spacing: 0.02em;
  transition: color .25s;
}
.dt .dt-s {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--text-4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dt:hover {
  background: color-mix(in srgb, var(--text) 4%, transparent);
}
.dt:hover .dt-l { color: var(--text-2); }
.dt.active {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border-bottom-color: var(--accent);
}
.dt.active .dt-i { color: var(--accent); }
.dt.active .dt-l { color: var(--text); }
.dt.active .dt-s { color: var(--accent); }
.dt.active::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

@media (max-width: 720px) {
  .dt { padding: 10px 14px; }
  .dt .dt-l { font-size: 13px; }
  .dt .dt-s { display: none; }
}

/* BODY */
.demo-body {
  padding: clamp(24px, 3vw, 36px);
  min-height: 480px;
}

.msg {
  display: flex; gap: 14px;
  margin-bottom: 24px;
}
.msg-label {
  flex-shrink: 0;
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: 13px;
  width: 36px; padding: 4px 0;
  text-align: center;
  border: 1px solid currentColor;
  height: fit-content;
  margin-top: 4px;
  letter-spacing: 0.05em;
}
.msg-user .msg-label { color: var(--text-3); }
.msg-agent .msg-label {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  box-shadow: 0 0 18px -2px var(--accent-glow);
}

.msg-text {
  flex: 1;
  margin: 0;
  font-family: var(--f-serif-cn);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--text);
  padding-top: 4px;
}
.user-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 3px;
  transform: translateY(2px);
  animation: caretBlink 1s infinite;
  box-shadow: 0 0 8px var(--accent-glow);
}

.msg-agent {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.msg-agent.in { opacity: 1; transform: translateY(0); }
.msg-content { flex: 1; padding-top: 4px; }

/* THINKING */
.thinking {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0 14px;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  transition: opacity .3s, transform .3s, max-height .3s;
  max-height: 60px;
  overflow: hidden;
}
.thinking.gone {
  opacity: 0; max-height: 0; padding: 0; margin: 0;
  transform: translateY(-4px);
}
.thinking-dots { display: inline-flex; gap: 4px; }
.thinking-dots span {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: dotPulse 1.4s infinite ease-in-out;
}
.thinking-dots span:nth-child(2) { animation-delay: 0.2s; }
.thinking-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.25; transform: scale(0.7); }
  40% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 8px var(--accent-glow); }
}

/* SUB-AGENTS (replaces simple data-source tags) — 进程表 / 系统监视器风格 */
.subagents {
  margin: 8px 0 18px;
  border: 1px solid var(--line-mid);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 4%, transparent) 0%, transparent 30%),
    var(--bg);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), max-height .5s var(--ease-out);
  overflow: hidden;
  max-height: 600px;
}
.subagents.in { opacity: 1; transform: translateY(0); }
.subagents.collapsed { max-height: 42px; }
.subagents.collapsed .sa-table { opacity: 0; }

.sa-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.12em;
}
.sa-icon {
  width: 14px; height: 14px;
  color: var(--accent);
  display: inline-flex;
  filter: drop-shadow(0 0 4px var(--accent-glow));
}
.sa-icon svg { width: 100%; height: 100%; }
.sa-icon rect:nth-child(1) { animation: saIcon 1.4s ease-in-out infinite 0s;   }
.sa-icon rect:nth-child(2) { animation: saIcon 1.4s ease-in-out infinite 0.18s; }
.sa-icon rect:nth-child(3) { animation: saIcon 1.4s ease-in-out infinite 0.36s; }
.sa-icon rect:nth-child(4) { animation: saIcon 1.4s ease-in-out infinite 0.54s; }
@keyframes saIcon {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}
.sa-title {
  flex: 1;
  color: var(--text);
  font-family: var(--f-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
}
.sa-stat {
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.sa-table {
  transition: opacity .4s;
}
.sa-row {
  display: grid;
  grid-template-columns: 46px 90px 14px minmax(120px, 1fr) 130px 64px;
  gap: 12px;
  padding: 9px 14px;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), background .25s;
}
.sa-row:last-child { border-bottom: 0; }
.sa-row.in { opacity: 1; transform: translateY(0); }
.sa-row[data-state="working"] { background: color-mix(in srgb, var(--accent) 4%, transparent); }
.sa-row[data-state="done"]    { background: color-mix(in srgb, var(--text) 2%, transparent); }

.sa-pid {
  color: var(--accent);
  font-family: var(--f-serif-en);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.sa-name {
  color: var(--text);
  font-family: var(--f-serif-cn);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.sa-arrow {
  color: var(--text-4);
  font-family: var(--f-mono);
  text-align: center;
}
.sa-action {
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--f-sans-cn);
  font-size: 12px;
}
.sa-bar {
  height: 4px;
  background: var(--line-mid);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.sa-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  width: 0%;
  transition: width 100ms linear;
  box-shadow: 0 0 6px var(--accent-glow);
  position: relative;
}
.sa-row[data-state="working"] .sa-fill::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 12px;
  background: linear-gradient(90deg, transparent, var(--text));
  opacity: 0.5;
  animation: barShine 1s linear infinite;
}
@keyframes barShine {
  0% { transform: translateX(-30px); }
  100% { transform: translateX(0px); }
}
.sa-state {
  text-align: right;
  letter-spacing: 0.06em;
  font-size: 10.5px;
  font-family: var(--f-mono);
  color: var(--text-4);
  text-transform: uppercase;
}
.sa-row[data-state="pending"] .sa-state { color: var(--text-4); }
.sa-row[data-state="working"] .sa-state {
  color: var(--accent);
}
.sa-row[data-state="working"] .sa-state::before {
  content: "● ";
  animation: caretBlink 0.9s infinite;
}
.sa-row[data-state="done"] .sa-state {
  color: var(--accent);
}
.sa-row[data-state="done"] .sa-state::before {
  content: "✓ ";
}

/* Followup slot — turn 2 messages appended dynamically */
.followup-slot {
  display: contents;
}
.followup-msg-user, .followup-msg-agent {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.followup-msg-agent .subagents { margin-top: 8px; }

@media (max-width: 760px) {
  .sa-row {
    grid-template-columns: 40px 1fr 56px;
    gap: 8px 10px;
  }
  .sa-arrow, .sa-action { display: none; }
  .sa-bar { grid-column: 1 / -1; margin-top: 2px; }
  .sa-state { font-size: 10px; }
}

/* FACTS */
.facts {
  margin: 12px 0 18px;
  padding: 0;
}
.fact {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.fact:first-child { border-top: 0; padding-top: 4px; }
.fact.in { opacity: 1; transform: translateY(0); }
.fact-mark { font-size: 14px; line-height: 1; }
.fact-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  font-family: var(--f-sans-cn);
}
.fact-text b {
  color: var(--accent);
  font-weight: 600;
  font-family: var(--f-serif-en);
  font-size: 17px;
  margin: 0 1px;
}
.fact-src {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-align: right;
  white-space: nowrap;
}
.fact-src::before {
  content: "↗ ";
  color: var(--accent);
}

/* GRAPH */
.graph-container {
  margin: 18px 0;
  padding: 24px 24px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  position: relative;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.graph-container.in { opacity: 1; transform: translateY(0); }
.graph-container::before {
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}
.graph-label {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}
.graph-meta { color: var(--accent); }

.graph {
  width: 100%;
  height: 280px;
  display: block;
  overflow: visible;
}
.graph .node {
  opacity: 0;
  transform: scale(0.3);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity .3s var(--ease-out),
    transform .5s cubic-bezier(.28, 1.6, .4, 1);
}
.graph .node.in { opacity: 1; transform: scale(1); }
.graph .node circle.node-bg {
  fill: var(--text);
}
.graph .node-central circle.node-bg {
  fill: var(--accent);
  filter: drop-shadow(0 0 10px var(--accent-glow));
  animation: nodePulse 2.4s infinite ease-in-out;
}
@keyframes nodePulse {
  0%, 100% { filter: drop-shadow(0 0 10px var(--accent-glow)); }
  50%      { filter: drop-shadow(0 0 22px var(--accent-glow)); }
}
.graph .node-archived circle.node-bg {
  fill: transparent;
  stroke: var(--text-3);
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
}
.graph .node text {
  fill: var(--text-2);
  font-family: var(--f-sans-cn);
  font-size: 11px;
  font-weight: 400;
  text-anchor: middle;
  letter-spacing: 0.02em;
}
.graph .node-central text { fill: var(--text); font-weight: 600; font-size: 12px; }
.graph .node-archived text { fill: var(--text-3); font-style: italic; }

.graph .edge {
  stroke: var(--accent);
  stroke-width: 1.2;
  fill: none;
  opacity: 0;
  transition: opacity .3s, stroke-dashoffset .9s var(--ease-out);
}
.graph .edge.in { opacity: 0.55; }
.graph .edge-label {
  fill: var(--text-2);
  font-family: var(--f-mono);
  font-size: 10px;
  text-anchor: middle;
  opacity: 0;
  transition: opacity .4s;
  paint-order: stroke;
  stroke: var(--bg);
  stroke-width: 4px;
}
.graph .edge-label.in { opacity: 1; }

/* ACTIONS */
.demo-actions {
  display: flex; flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.demo-actions.in { opacity: 1; transform: translateY(0); }
.d-action {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  background: var(--bg-3);
  border: 1px solid var(--line-mid);
  color: var(--text);
  transition: all .2s;
}
.d-action:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, var(--bg-3));
}

/* FOOTER (replay + phase trace) */
.demo-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: linear-gradient(0deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--line);
  gap: 14px;
}
.demo-replay {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 6px 12px;
  border: 1px solid var(--line-mid);
  transition: all .2s;
  cursor: pointer;
}
.demo-replay:hover { color: var(--accent); border-color: var(--accent); }
.replay-icon { font-size: 14px; display: inline-block; transition: transform .4s; }
.demo-replay:hover .replay-icon { transform: rotate(180deg); }

.demo-phases {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-4);
  flex-wrap: wrap;
  justify-content: flex-end;
}
.ph {
  padding: 3px 8px;
  border: 1px solid transparent;
  transition: color .25s, border-color .25s, background .25s;
}
.ph.active {
  color: var(--accent);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  box-shadow: 0 0 12px -4px var(--accent-glow);
}
.ph.done {
  color: var(--text-3);
}
.ph-sep { color: var(--text-4); opacity: 0.5; }

@media (max-width: 720px) {
  .demo-body { min-height: 360px; padding: 20px; }
  .msg-text { font-size: 16px; }
  .fact { grid-template-columns: 22px 1fr; }
  .fact-src { grid-column: 2; text-align: left; margin-top: 2px; }
  .graph { height: 220px; }
  .demo-phases { font-size: 10px; gap: 4px; }
  .ph { padding: 2px 5px; }
  .ph-sep { display: none; }
  .demo-footer { flex-direction: column; align-items: stretch; gap: 12px; }
}

/* ============================================================
   OUTPUTS
   ============================================================ */
.outputs {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.outputs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.output-card {
  background: var(--bg-2);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: background .25s;
  position: relative;
}
.output-card:hover { background: var(--bg-3); }

/* the snapshot card takes a 2x2 slot of the 3x3 grid */
.output-featured {
  grid-column: span 2;
  grid-row: span 2;
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 1.2fr;
  gap: 32px;
  align-items: stretch;
}
.output-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center, rgba(255, 67, 50, 0.12), transparent 70%),
    var(--bg);
  padding: 24px;
  min-height: 380px;
  border: 1px solid var(--line);
}
.output-img::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-top: 1px solid var(--accent);
  opacity: 0.4;
}
.output-img img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.5));
}
.output-meta {
  display: flex; flex-direction: column;
}
.output-meta h3 {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  margin: 18px 0 14px;
  color: var(--text);
}
.output-meta p {
  margin: 0 0 24px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}
.output-bullets {
  margin: 0 0 24px;
}
.output-bullets li {
  padding: 8px 0 8px 20px;
  font-size: 13px;
  color: var(--text-2);
  position: relative;
  border-top: 1px dashed var(--line);
}
.output-bullets li:first-child { border-top: 0; }
.output-bullets li::before {
  content: "·";
  position: absolute;
  left: 4px; top: 4px;
  color: var(--accent);
  font-size: 18px;
}

/* small output cards (1 cell each in the 3x3 grid) */
.output-card:not(.output-featured) {
  grid-column: span 1;
}
.output-icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
}
.output-card:not(.output-featured) h3 {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: var(--fs-h3);
  margin: 0 0 12px;
  color: var(--text);
}
.output-card:not(.output-featured) p {
  margin: 0 0 auto;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.65;
  padding-bottom: 16px;
}
.output-tag {
  display: inline-block;
  margin-top: auto;
  padding: 4px 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--line);
  align-self: flex-start;
}
.output-featured .output-tag {
  margin-top: 0;
  margin-bottom: 12px;
}

@media (max-width: 1000px) {
  .outputs-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  .output-featured {
    grid-column: span 2;
    grid-row: auto;
    grid-template-columns: 1fr 1fr;
  }
  .output-card:not(.output-featured) {
    grid-column: span 1;
  }
}
@media (max-width: 640px) {
  .outputs-grid { grid-template-columns: 1fr; }
  .output-featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .output-img { min-height: 280px; }
}

/* ============================================================
   Hero subhead rule + Try-It rotating input
   ============================================================ */
.sub-rule {
  display: block;
  font-size: 0.78em;
  color: var(--text-3);
  margin-top: 6px;
  font-weight: 300;
}

.try-it {
  margin: clamp(36px, 5vw, 56px) auto 0;
  max-width: 640px;
  width: 100%;
  text-align: left;
  animation: fadeUp 1s var(--ease-out) both;
  animation-delay: 0.95s;
}
.try-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.try-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
  animation: dotPulse 1.6s infinite ease-in-out;
}
.try-arrow { color: var(--accent); margin-left: 2px; }

.try-input {
  display: flex; align-items: center;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line-mid);
  padding: 18px 22px;
  font-family: var(--f-serif-cn);
  font-size: clamp(15px, 1.4vw, 19px);
  color: var(--text);
  min-height: 60px;
  position: relative;
  transition: border-color .3s;
  overflow: hidden;
}
.try-input:hover { border-color: var(--accent); }
.try-input::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--bg-3));
  pointer-events: none;
}
.try-prompt {
  color: var(--accent);
  margin-right: 10px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--f-mono);
}
.try-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
}
.try-caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent);
  margin-left: 4px;
  vertical-align: text-bottom;
  flex-shrink: 0;
  animation: caretBlink 1s infinite;
  box-shadow: 0 0 8px var(--accent-glow);
}

.try-context {
  display: flex; flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  justify-content: flex-start;
}
.try-context span {
  display: inline-flex;
  padding: 4px 11px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-3);
  transition: all .25s;
  cursor: default;
}
.try-context span:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

@media (max-width: 600px) {
  .try-input { font-size: 14px; padding: 14px 16px; min-height: 52px; }
  .try-label { font-size: 10px; letter-spacing: 0.15em; }
  .try-context span { font-size: 10px; padding: 3px 8px; }
}

/* ============================================================
   Scroll progress bar — top-of-page vermillion thread
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft) 50%, var(--accent));
  width: 0;
  z-index: 60;
  box-shadow: 0 0 10px var(--accent-glow);
  transition: width .08s linear;
  pointer-events: none;
}

/* ============================================================
   DEPTH (盘多深) — 数据维度 × 分析方法 × 报告模板
   ============================================================ */
.depth {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(255, 67, 50, 0.04), transparent 70%),
    var(--bg);
}

.db-block {
  margin-top: clamp(48px, 7vw, 88px);
}
.db-block:first-of-type {
  margin-top: 0;
}

.db-head {
  margin-bottom: 24px;
}
.db-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.db-head h3 {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.db-head h3 .hl {
  color: var(--accent);
  font-style: italic;
  font-family: var(--f-serif-cn);
  font-weight: 700;
}
.db-head p {
  margin: 0;
  font-size: 14px;
  color: var(--text-3);
  max-width: 56ch;
}

/* common grid (4 col → 2 col → 1 col) */
.dim-grid, .method-grid, .template-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

/* === DIM card === */
.dim {
  background: var(--bg-2);
  padding: 24px 22px;
  display: flex; flex-direction: column;
  transition: background .25s;
  position: relative;
}
.dim::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.dim:hover { background: var(--bg-3); }
.dim:hover::before { transform: scaleX(1); }
.dim header {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-mid);
}
.dim-idx {
  font-family: var(--f-serif-en);
  font-weight: 600;
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.dim h4 {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: 16px;
  margin: 0;
  color: var(--text);
  flex: 1;
}
.dim-cnt {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.dim ul { margin: 0; padding: 0; }
.dim li {
  padding: 4px 0 4px 14px;
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.55;
  position: relative;
}
.dim li::before {
  content: "·";
  position: absolute;
  left: 4px; top: 4px;
  color: var(--accent);
  font-weight: 700;
}

/* === METHOD card === */
.method {
  background: var(--bg-2);
  padding: 24px 22px;
  display: flex; flex-direction: column;
  transition: background .25s, border-left .25s;
  border-left: 2px solid transparent;
}
.method:hover {
  background: var(--bg-3);
  border-left-color: var(--accent);
}
.method header {
  display: flex; flex-direction: column;
  gap: 3px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-mid);
}
.m-code {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.method h4 {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: 17px;
  margin: 0;
  color: var(--text);
  letter-spacing: 0.01em;
}
.m-en {
  font-family: var(--f-serif-en);
  font-style: italic;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.method p {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.7;
}

/* === TEMPLATE card === */
.template {
  background: var(--bg-2);
  padding: 22px;
  display: flex; flex-direction: column;
  transition: all .25s;
  cursor: pointer;
  position: relative;
}
.template:hover {
  background: var(--bg-3);
}
.template:hover .t-tag {
  background: var(--accent);
  color: var(--bg);
}
.template header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-mid);
}
.t-tag {
  display: inline-block;
  padding: 2px 8px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  transition: all .25s;
  flex-shrink: 0;
}
.template h4 {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: 16px;
  margin: 0;
  color: var(--text);
}
.t-steps {
  margin: 0; padding: 0;
}
.t-steps li {
  padding: 4px 0;
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.55;
}
.ts-n {
  display: inline-block;
  width: 16px;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  margin-right: 4px;
  font-style: normal;
}

@media (max-width: 1000px) {
  .dim-grid, .method-grid, .template-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .dim-grid, .method-grid, .template-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PERSONAS
   ============================================================ */
.personas {
  border-top: 1px solid var(--line);
}
.persona-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.persona {
  background: var(--bg-2);
  padding: 32px 30px;
  transition: background .25s;
  position: relative;
}
.persona::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.persona:hover { background: var(--bg-3); }
.persona:hover::before { transform: scaleX(1); }
.p-num {
  font-family: var(--f-serif-en);
  font-weight: 500;
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  margin-right: 12px;
}
.persona h3 {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 14px;
  display: inline;
  color: var(--text);
}
.persona p {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
}
.persona p b {
  display: inline-block;
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: 11px;
  color: var(--accent);
  background: var(--amber-soft);
  padding: 1px 8px;
  margin-right: 6px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}
.persona p b:last-of-type { color: var(--text); background: color-mix(in srgb, var(--accent) 20%, transparent); }

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

/* ============================================================
   COMPLIANCE (cream inverse)
   ============================================================ */
.compliance {
  background: var(--bg-cream);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.compliance .sec-tag,
.compliance .display { color: var(--ink); }
.compliance .sec-tag { color: var(--accent-deep); }
.compliance .sec-tag .dot { background: var(--accent-deep); box-shadow: 0 0 8px rgba(200,49,42,0.4); }
.compliance .display .hl { color: var(--accent-deep); font-family: var(--f-serif-cn); font-style: italic; font-weight: 700; }
.compliance .lead { color: var(--ink-2); }

.laws { margin: 0; padding: 0; }
.law {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--line-ink-mid);
}
.law:first-child { border-top: 2px solid var(--ink); }
.law:last-child { border-bottom: 2px solid var(--ink); }
.law-num {
  font-family: var(--f-serif-cn);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(64px, 8vw, 124px);
  line-height: 0.85;
  color: var(--accent-deep);
}
.law-body h3 {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--ink);
}
.law-body p {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.law-why {
  font-size: 14px;
  color: var(--ink-3);
  background: rgba(26, 22, 20, 0.04);
  padding: 16px 20px;
  border-left: 3px solid var(--accent-deep);
  margin-top: 14px;
  line-height: 1.65;
}
.law-why span {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
  margin-right: 10px;
}

.boundary {
  margin-top: 48px;
  padding: 32px;
  background: rgba(26, 22, 20, 0.04);
  border: 1px solid var(--line-ink-mid);
}
.boundary h4 {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 16px;
  color: var(--ink);
}
.boundary ul { padding: 0; margin: 0; }
.boundary li {
  padding: 12px 0 12px 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
  border-top: 1px dashed var(--line-ink-mid);
  position: relative;
}
.boundary li:first-child { border-top: 0; }
.boundary li::before {
  content: "◇";
  position: absolute;
  left: 0; top: 12px;
  color: var(--accent-deep);
  font-size: 10px;
}
.boundary b { color: var(--ink); }

@media (max-width: 720px) {
  .law { grid-template-columns: 1fr; gap: 12px; }
  .law-num { font-size: 56px; }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  border-top: 1px solid var(--line);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 56px;
}
.price {
  background: var(--bg-2);
  border: 1px solid var(--line-mid);
  padding: 32px 26px;
  display: flex; flex-direction: column;
  transition: all .25s var(--ease-out);
  position: relative;
}
.price:hover {
  transform: translateY(-4px);
  border-color: var(--text-4);
}
.price-featured {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-2) 100%);
  border-color: var(--accent);
  transform: translateY(-10px);
  box-shadow: 0 24px 64px -24px var(--accent-glow);
}
.price-featured:hover {
  transform: translateY(-14px);
}
.price-banner {
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px;
  font-weight: 500;
  overflow: hidden;
}
/* subtle shimmer sweeping across the recommended banner */
.price-banner::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -40%;
  width: 40%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%);
  animation: bannerSweep 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes bannerSweep {
  0%   { left: -40%; }
  60%  { left: 110%; }
  100% { left: 110%; }
}

.price header {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--line);
}
.price-featured header { padding-top: 32px; }
.price header h3 {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--text);
}
.price-amt {
  font-family: var(--f-serif-en);
  font-weight: 600;
  font-size: 46px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.025em;
}
.price-amt span {
  font-family: var(--f-sans-cn);
  font-weight: 300;
  font-size: 13px;
  color: var(--text-3);
  margin-left: 4px;
}
.price-sub {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-3);
  margin: 10px 0 0;
  letter-spacing: 0.03em;
}

.price ul {
  flex: 1;
  margin: 0 0 28px;
}
.price li {
  padding: 9px 0 9px 22px;
  font-size: 13px;
  color: var(--text-2);
  position: relative;
  border-top: 1px dashed var(--line);
  line-height: 1.5;
}
.price li:first-child { border-top: 0; }
.price li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 9px;
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
}

.addons {
  border-top: 1px solid var(--line);
  padding-top: 36px;
}
.addons h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 20px;
}
.addons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.addons-grid > div {
  padding: 18px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  gap: 8px;
}
.addons-grid span {
  font-family: var(--f-serif-cn);
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
}
.addons-grid em {
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price-featured { transform: translateY(0); }
  .price-featured:hover { transform: translateY(-4px); }
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .price-grid { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CROWDFUNDING
   ============================================================ */
.crowdfunding {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(900px 600px at 100% 0%, rgba(255, 67, 50, 0.10), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.crowdfunding::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("assets/atmospheric.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  mix-blend-mode: screen;
}

.cf-meter {
  margin-top: 36px;
  padding: 28px;
  background: color-mix(in srgb, var(--bg-2) 85%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  max-width: 640px;
}
.cf-meter-hi .cf-meter-label {
  color: var(--text);
  font-weight: 500;
}
.meter-tag {
  display: inline-block;
  padding: 1px 7px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  margin-right: 8px;
  font-weight: 500;
  border-radius: 1px;
}
.cf-meter-hi + .cf-meter-bar .cf-meter-fill {
  background: linear-gradient(90deg, var(--accent), var(--accent-soft) 70%, var(--accent));
  box-shadow: 0 0 14px var(--accent-glow);
}
.cf-meter-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 8px;
}
.cf-meter-row:not(:first-child) { margin-top: 18px; }
.cf-meter-count b {
  font-family: var(--f-serif-en);
  font-weight: 600;
  font-size: 16px;
  color: var(--accent);
  margin-right: 2px;
}
.cf-meter-bar {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.cf-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width .6s var(--ease-out);
  min-width: 4px;
}

/* ====== 主推:¥299 早鸟券大卡 ====== */
.cf-hero {
  position: relative;
  margin: 48px 0 0;
  padding: 36px 40px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--bg-warm)) 0%, var(--bg-warm) 60%),
    var(--bg-warm);
  border: 1px solid var(--accent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent),
    0 32px 80px -32px var(--accent-glow),
    inset 0 1px 0 color-mix(in srgb, var(--accent) 20%, transparent);
  z-index: 2;
  overflow: hidden;
}
.cf-hero::before {
  content: "";
  position: absolute;
  top: -40%; left: -10%;
  width: 60%; height: 140%;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 65%);
  filter: blur(50px);
  opacity: 0.55;
  pointer-events: none;
}
.cf-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 100px at 100% 100%, rgba(255, 67, 50, 0.18), transparent 70%);
  pointer-events: none;
}

.cf-hero-tag {
  position: relative;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 28px;
  border-radius: 2px;
}
.cf-hero-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent-glow);
}
.cf-hero-dot::after {
  content: "";
  position: absolute; inset: -2px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.4;
  animation: liveRing 1.8s infinite ease-out;
}

.cf-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.cf-hero-main { display: flex; flex-direction: column; }
.cf-hero-title {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.015em;
  color: var(--text);
}
.cf-hero-title .hl {
  color: var(--accent);
  font-style: italic;
  font-family: var(--f-serif-cn);
  font-weight: 700;
}
.cf-hero-desc {
  font-size: 14px;
  color: var(--text-2);
  margin: 0 0 28px;
  line-height: 1.65;
  max-width: 48ch;
}

/* 2-options benefits */
.cf-hero-benefits {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}
.cf-benefit {
  display: flex; flex-direction: column;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border: 1px solid var(--line-mid);
  padding: 18px 20px;
  position: relative;
  transition: border-color .25s, transform .25s;
}
.cf-benefit:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.cf-benefit-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-mid);
}
.cf-benefit-num {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 0.05em;
}
.cf-benefit-glyph {
  font-size: 16px;
  color: var(--accent-soft);
  opacity: 0.7;
}
.cf-benefit-amt {
  font-family: var(--f-serif-en);
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.cf-benefit-name {
  font-family: var(--f-serif-cn);
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 10px;
}
.cf-benefit-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-3);
}
.cf-benefit-meta b {
  color: var(--accent);
  font-weight: 600;
}

.cf-benefit-or {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-serif-en);
  font-style: italic;
  font-size: 16px;
  color: var(--text-3);
  letter-spacing: 0.05em;
  padding: 0 6px;
  position: relative;
}
.cf-benefit-or::before, .cf-benefit-or::after {
  content: "";
  display: block;
  width: 1px;
  height: 20px;
  background: var(--line-strong);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.cf-benefit-or::before { top: 0; }
.cf-benefit-or::after  { bottom: 0; }

/* Right column: price + cta + trust */
.cf-hero-aside {
  display: flex; flex-direction: column;
  gap: 10px;
  padding: 24px 28px;
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  border: 1px solid var(--line-mid);
  position: relative;
}
.cf-hero-aside::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cf-hero-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 4px;
  text-shadow: 0 0 24px var(--accent-glow);
}
.cf-hero-currency {
  font-family: var(--f-serif-en);
  font-weight: 500;
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
}
.cf-hero-amt {
  font-family: var(--f-serif-en);
  font-weight: 600;
  font-size: clamp(64px, 7vw, 88px);
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.035em;
}
.cf-hero-unit {
  font-family: var(--f-sans-cn);
  font-weight: 300;
  font-size: 15px;
  color: var(--text-3);
  margin-left: 6px;
}
.cf-hero-limit {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-2);
  padding-bottom: 18px;
  margin-bottom: 6px;
  border-bottom: 1px dashed var(--line-mid);
}

.cf-hero-cta {
  justify-content: center;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow:
    0 0 0 1px var(--accent),
    0 16px 40px -12px var(--accent-glow),
    inset 0 1px 0 rgba(255,255,255,0.15);
}
.cf-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px var(--accent-soft),
    0 22px 50px -10px var(--accent-glow);
}
.cf-hero-note {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin: 4px 0 12px;
  text-align: center;
}

.cf-hero-trust {
  padding: 14px 0 0;
  margin: 0;
  border-top: 1px dashed var(--line);
}
.cf-hero-trust li {
  font-family: var(--f-sans-cn);
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.7;
  padding: 4px 0;
}
.cf-hero-trust li b { color: var(--text-2); }

/* Divider for "其他方案" */
.cf-others-title {
  display: flex; align-items: center; gap: 16px;
  margin: 56px 0 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.cot-text {
  color: var(--text-2);
  flex-shrink: 0;
}
.cot-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.cot-meta {
  color: var(--text-4);
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: 0.15em;
}

/* "敬请期待" buttons — slightly muted but still clickable */
.btn-soon {
  opacity: 0.88;
  position: relative;
}
.btn-soon .soon-arrow {
  display: inline-block;
  transition: transform .25s var(--ease-out);
  margin-left: 2px;
  opacity: 0.7;
}
.btn-soon:hover {
  opacity: 1;
}
.btn-soon:hover .soon-arrow {
  transform: translateX(3px);
  opacity: 1;
}
.btn-soon.btn-primary {
  opacity: 1;
}

/* Make existing cf-grid feel like "other options" — slightly smaller / less prominent */
.cf-others-title + .cf-grid {
  margin-top: 0;
}
.cf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  position: relative;
  z-index: 2;
}
.cf-card {
  position: relative;
  padding: 36px 30px;
  background: color-mix(in srgb, var(--bg-2) 92%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-mid);
  display: flex; flex-direction: column;
  transition: all .25s var(--ease-out);
}
.cf-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.cf-featured {
  background:
    linear-gradient(180deg, rgba(255, 67, 50, 0.08), rgba(255, 67, 50, 0.02)),
    color-mix(in srgb, var(--bg-warm) 92%, transparent);
  border-color: var(--accent);
  box-shadow: 0 24px 56px -24px var(--accent-glow);
}
.cf-seal {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-family: var(--f-serif-cn);
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 24px;
}
.cf-badge {
  position: absolute;
  top: 24px; right: 24px;
  padding: 4px 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.cf-card h3 {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 14px;
  color: var(--text);
}
.cf-price {
  font-family: var(--f-serif-en);
  font-weight: 600;
  font-size: 42px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.cf-price span {
  font-family: var(--f-sans-cn);
  font-weight: 300;
  font-size: 13px;
  color: var(--text-3);
  margin-left: 4px;
}
.cf-meta {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text-3);
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}

/* ====== 2-choice block inside cf-card ====== */
.cf-choose {
  display: flex; flex-direction: column;
  gap: 8px;
  margin: 0 0 18px;
}
.cc-opt {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--bg) 50%, transparent);
  border: 1px solid var(--line);
  transition: border-color .2s, background .2s;
}
.cc-opt:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 5%, var(--bg-3));
}
.cc-glyph {
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
}
.cc-body { line-height: 1.2; }
.cc-amt {
  font-family: var(--f-serif-en);
  font-weight: 600;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: -0.01em;
  line-height: 1;
}
.cc-name {
  font-family: var(--f-serif-cn);
  font-weight: 500;
  font-size: 13px;
  color: var(--text);
  margin-top: 4px;
}
.cc-old {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.cc-or {
  align-self: center;
  font-family: var(--f-serif-en);
  font-style: italic;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  padding: 2px 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cc-or::before, .cc-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.cf-choose-single .cc-opt-wide {
  grid-template-columns: auto 1fr;
}
.cf-featured .cc-opt {
  background: color-mix(in srgb, var(--accent) 5%, var(--bg-2));
  border-color: color-mix(in srgb, var(--accent) 25%, transparent);
}

.footer-note-line {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  margin-top: 6px !important;
}
.cf-card ul {
  flex: 1; margin: 0 0 28px;
}
.cf-card li {
  padding: 8px 0 8px 18px;
  font-size: 13px;
  color: var(--text-2);
  position: relative;
  line-height: 1.5;
}
.cf-card li::before {
  content: "·";
  position: absolute;
  left: 4px; top: 4px;
  color: var(--accent);
  font-size: 18px;
}

@media (max-width: 960px) {
  .cf-hero { padding: 28px; }
  .cf-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .cf-hero-aside { padding: 22px; }
}
@media (max-width: 720px) {
  .cf-hero { padding: 24px 22px; }
  .cf-hero-benefits {
    grid-template-columns: 1fr;
  }
  .cf-benefit-or {
    width: 100%;
    padding: 4px 0;
  }
  .cf-benefit-or::before, .cf-benefit-or::after {
    width: 30%; height: 1px;
    background: var(--line-strong);
    top: 50%; left: auto;
    transform: none;
  }
  .cf-benefit-or::before { left: 0; }
  .cf-benefit-or::after  { right: 0; }
  .cf-others-title { gap: 10px; flex-wrap: wrap; }
  .cot-meta { font-size: 9px; }
}
@media (max-width: 900px) {
  .cf-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ROADMAP TIMELINE
   ============================================================ */
.roadmap {
  border-top: 1px solid var(--line);
}
.timeline {
  margin: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 6px; bottom: 6px; left: 7px;
  width: 1px;
  background: var(--line-strong);
}
.ms {
  position: relative;
  padding: 0 0 36px 38px;
}
.ms::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 14px; height: 14px;
  border: 2px solid var(--text-4);
  background: var(--bg);
  border-radius: 50%;
}
.ms-now::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 67, 50, 0.18);
}
.ms-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.ms h4 {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--text);
}
.ms p {
  font-size: 14px;
  color: var(--text-3);
  margin: 0;
  line-height: 1.65;
}

/* ============================================================
   MANIFESTO (compact)
   ============================================================ */
.manifesto {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(800px 400px at 50% 50%, rgba(255, 67, 50, 0.04), transparent 70%),
    var(--bg);
  text-align: center;
  position: relative;
}
.manifesto-mark {
  width: 48px; height: 48px;
  margin: 0 auto 28px;
  color: var(--accent);
}
.manifesto p {
  font-family: var(--f-serif-cn);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 2;
  color: var(--text);
  margin: 0;
  max-width: 32em;
  margin-inline: auto;
}
.manifesto em {
  color: var(--accent);
  font-family: var(--f-serif-en);
  font-style: italic;
  margin: 0 4px;
}
.manifesto-sig {
  display: block;
  margin-top: 32px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--text-3);
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 80px 0 36px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer-brand h2 {
  font-family: var(--f-serif-cn);
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 56px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}
.footer-brand h2 i { color: var(--accent); font-style: italic; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-3);
  margin: 0;
  max-width: 36ch;
}
.footer-seal {
  width: 88px; height: 88px;
  color: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer-grid h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-grid li, .footer-grid p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
}
.footer-grid a:hover { color: var(--accent); }
.footer-note {
  font-size: 12px !important;
  color: var(--text-3) !important;
  line-height: 1.65 !important;
}

.footer-bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-4);
  letter-spacing: 0.06em;
}
.footer-seal-text {
  color: var(--accent);
  font-family: var(--f-serif-cn);
}

@media (max-width: 880px) {
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .40s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: .48s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: .56s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Mobile fine-tune
   ============================================================ */
.mobile-only { display: none; }
@media (max-width: 720px) {
  .mobile-only { display: inline; }
  .hero { padding-top: calc(var(--nav-h) + 32px); }
  .hero-tagline { font-size: clamp(22px, 6.5vw, 32px); }
  .step-num { font-size: 26px; }
  .law-num { font-size: 48px; line-height: 1; }
}

/* ============================================================
   MOBILE — comprehensive responsive polish (v3.2)
   ============================================================ */
@media (max-width: 720px) {
  :root { --container: 92vw; --sec-py: clamp(48px, 10vw, 88px); }

  /* nav: tighter, brand-status hides only when ultra-narrow */
  .nav { height: 56px; }
  .nav-inner { gap: 12px; }
  .brand-seal { width: 26px; height: 26px; font-size: 13px; }
  .brand-name { font-size: 14px; }
  .brand-status { display: none; }
  .nav-cta { padding: 7px 12px; font-size: 12px; gap: 5px; }

  /* hero: less vertical, smaller wordmark, stacked CTAs */
  .hero { padding: calc(var(--nav-h) + 24px) 0 36px; min-height: auto; }
  .hero-eyebrow { margin-bottom: 28px; font-size: 9.5px; gap: 8px; }
  .meta-line, .hero-eyebrow .dot { display: inline-block; }
  .wordmark { font-size: clamp(58px, 16vw, 100px); }
  .hero-tagline { margin: 28px 0 14px; font-size: clamp(22px, 6.8vw, 32px); }
  .hero-sub { font-size: 14px; line-height: 1.6; padding: 0 6px; }
  .hero-ctas { flex-direction: column; gap: 10px; margin-top: 28px; }
  .hero-ctas .btn { width: 100%; justify-content: center; padding: 13px; }
  .hero-visual { margin-top: 36px; }
  .visual-frame { border-radius: 3px; }
  .visual-caption { font-size: 10px; padding: 0 12px; }
  .hero-trust { padding: 16px 12px; gap: 10px; flex-direction: column; }
  .trust-num { font-size: 16px; }
  .trust-label { font-size: 9.5px; }
  .trust-sep { display: none; }

  /* try-it input */
  .try-it { margin-top: 28px; }
  .try-label { font-size: 9.5px; gap: 6px; }
  .try-input { padding: 14px 14px; font-size: 14px; min-height: 50px; }
  .try-context { gap: 5px; margin-top: 10px; }
  .try-context span { font-size: 10px; padding: 3px 8px; }

  /* section heads */
  .sec-head { margin-bottom: 36px; }
  .sec-tag { font-size: 10px; letter-spacing: 0.16em; }
  .display { font-size: clamp(28px, 8vw, 44px); line-height: 1.15; margin-bottom: 20px; }
  .lead { font-size: 14.5px; line-height: 1.65; }

  /* live demo */
  .demo-wrap { margin-top: 32px; }
  .demo-window { border-radius: 3px; }
  .demo-titlebar { padding: 10px 14px; font-size: 11px; }
  .demo-title { font-size: 11px; }
  .demo-status { font-size: 9px; letter-spacing: 0.1em; padding: 2px 6px; }
  .demo-body { padding: 18px 16px; min-height: 360px; }
  .msg { gap: 10px; margin-bottom: 18px; }
  .msg-label { width: 30px; font-size: 11px; padding: 3px 0; margin-top: 2px; }
  .msg-text { font-size: 14px; padding-top: 2px; }
  .demo-tabs { overflow-x: auto; }
  .dt { padding: 10px 12px; min-width: 100px; }
  .dt .dt-i { font-size: 11px; }
  .dt .dt-l { font-size: 12px; }
  .dt .dt-s { display: none; }
  .fact { grid-template-columns: 20px 1fr; gap: 10px; padding: 9px 0; }
  .fact-src { grid-column: 2; text-align: left; margin-top: 2px; font-size: 10px; }
  .fact-text { font-size: 13.5px; }
  .graph-container { padding: 16px 14px 12px; }
  .graph { height: 200px; }
  .graph-label { font-size: 9.5px; }
  .sa-row { grid-template-columns: 40px 1fr 50px; padding: 8px 12px; }
  .sa-arrow, .sa-action { display: none; }
  .sa-bar { grid-column: 1 / -1; }
  .sa-name { font-size: 12px; }
  .sa-state { font-size: 9.5px; }
  .demo-actions { flex-direction: column; }
  .d-action { width: 100%; text-align: center; justify-content: center; }
  .demo-footer { flex-direction: column; gap: 10px; padding: 12px 14px; }
  .demo-phases { font-size: 9px; gap: 4px; justify-content: center; flex-wrap: wrap; }
  .ph { padding: 2px 6px; }
  .ph-sep { display: none; }

  /* outputs grid → 1 col on small screens */
  .outputs-grid { grid-template-columns: 1fr; }
  .output-featured { grid-column: span 1; grid-row: auto; grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; }
  .output-img { min-height: 240px; padding: 16px; }
  .output-card { padding: 22px 20px; }
  .output-card h3, .output-meta h3 { font-size: 18px; }

  /* personas */
  .persona-grid { grid-template-columns: 1fr; }
  .persona { padding: 22px 20px; }
  .persona h3 { font-size: 17px; }
  .persona p { font-size: 13px; }
  .p-num { font-size: 18px; }

  /* depth: 8-card grids stay 2-col on phones for less stacking */
  .dim-grid, .method-grid, .template-grid { grid-template-columns: 1fr 1fr; }
  .dim, .method, .template { padding: 18px 14px; }
  .dim h4, .method h4, .template h4 { font-size: 14px; }
  .dim li, .method p, .t-steps li { font-size: 11.5px; }
  .dim-idx { font-size: 18px; }
  .dim-cnt { font-size: 9px; }
  .m-en { font-size: 10.5px; }

  /* compliance */
  .iron-laws .law { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .law-num { font-size: 56px; }
  .law-body h3 { font-size: 22px; }
  .law-body p { font-size: 14px; }
  .law-why { font-size: 12.5px; padding: 12px 14px; }
  .boundary { padding: 22px 18px; margin-top: 32px; }
  .boundary li { font-size: 12.5px; padding: 8px 0 8px 18px; }

  /* pricing */
  .price-grid { grid-template-columns: 1fr; gap: 12px; }
  .price { padding: 26px 22px; }
  .price-featured { transform: none; }
  .price-amt { font-size: 38px; }
  .addons-grid { grid-template-columns: 1fr; gap: 8px; }
  .addons-grid > div { padding: 14px 18px; }

  /* crowdfunding meter + hero + grid */
  .cf-meter { padding: 18px 16px; }
  .cf-meter-row { font-size: 11px; }
  .cf-meter-count b { font-size: 14px; }
  .cf-hero { padding: 24px 18px; margin-top: 32px; }
  .cf-hero-tag { font-size: 10px; padding: 4px 10px; margin-bottom: 20px; }
  .cf-hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .cf-hero-title { font-size: clamp(24px, 7vw, 32px); }
  .cf-hero-desc { font-size: 13px; }
  .cf-hero-benefits { grid-template-columns: 1fr; gap: 12px; }
  .cf-benefit { padding: 14px 16px; }
  .cf-benefit-amt { font-size: 22px; }
  .cf-benefit-name { font-size: 15px; }
  .cf-benefit-or { padding: 4px 0; width: 100%; }
  .cf-hero-aside { padding: 18px 18px; }
  .cf-hero-amt { font-size: 58px; }
  .cf-hero-currency { font-size: 22px; }
  .cf-others-title { flex-wrap: wrap; gap: 8px; margin: 36px 0 16px; }
  .cot-meta { font-size: 9px; }
  .cf-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .cf-card { padding: 26px 22px; }
  .cf-card h3 { font-size: 22px; }
  .cf-price { font-size: 36px; }
  .cc-opt { padding: 9px 11px; gap: 9px; }
  .cc-amt { font-size: 16px; }

  /* roadmap */
  .ms h4 { font-size: 18px; }
  .ms p { font-size: 13px; }
  .ms-tag { font-size: 9.5px; }

  /* manifesto */
  .manifesto p { font-size: 16px; line-height: 1.85; }
  .manifesto-mark { width: 40px; height: 40px; margin-bottom: 22px; }

  /* footer */
  .footer { padding: 56px 0 28px; }
  .footer-grid { gap: 24px; }
  .footer-wordmark { font-size: 32px; }
}

/* tighter on very small screens */
@media (max-width: 420px) {
  .wordmark { font-size: clamp(48px, 16vw, 76px); }
  .hero-tagline { font-size: clamp(20px, 6.8vw, 26px); }
  .display { font-size: clamp(24px, 8.5vw, 38px); }
  .dim-grid, .method-grid, .template-grid { grid-template-columns: 1fr; }
  .demo-body { padding: 14px 12px; }
  .nav-cta { padding: 6px 9px; font-size: 11px; }
  .nav-cta .cta-arrow { display: none; }
}

/* ============================================================
   TRUST · 信源 校验 时效 — data trust section
   ============================================================ */
.trust-data {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(255, 67, 50, 0.04), transparent 70%),
    var(--bg);
}

.trust3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.trust-card {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line-mid);
  padding: 28px 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .25s, transform .25s;
}
.trust-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}
.trust-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -20px var(--accent-glow);
}

.trust-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line-mid);
}
.trust-glyph {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--accent);
  color: var(--text);
  font-family: var(--f-serif-cn);
  font-weight: 900;
  font-size: 20px;
  border-radius: 2px;
  letter-spacing: -1px;
  box-shadow: 0 0 14px -4px var(--accent-glow);
  flex-shrink: 0;
}
.trust-title { display: flex; flex-direction: column; gap: 2px; line-height: 1.1; }
.trust-title h3 {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: 22px;
  margin: 0;
  color: var(--text);
  letter-spacing: 0.02em;
}
.trust-en {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}

.trust-desc {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-2);
}
.trust-card ul { padding: 0; margin: 0 0 16px; flex: 1; }
.trust-card li {
  padding: 6px 0 6px 16px;
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.6;
  position: relative;
}
.trust-card li::before {
  content: "·";
  position: absolute;
  left: 2px; top: 4px;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}
.trust-card li b {
  color: var(--accent);
  font-weight: 500;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  padding: 1px 5px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  margin: 0 2px;
}

.trust-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.trust-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  padding: 4px 9px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.trust-bottom {
  margin-top: 40px;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.trust-bottom p {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-3);
  line-height: 2;
}
.trust-bottom em {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--f-serif-cn);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--accent);
  letter-spacing: 0.02em;
  text-shadow: 0 0 24px var(--accent-glow);
}

@media (max-width: 960px) {
  .trust3 { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 720px) {
  .trust-card { padding: 22px 20px 18px; }
  .trust-glyph { width: 34px; height: 34px; font-size: 17px; }
  .trust-title h3 { font-size: 18px; }
  .trust-desc { font-size: 12.5px; }
  .trust-card li { font-size: 11.5px; }
  .trust-bottom p { font-size: 11px; letter-spacing: 0.1em; }
  .trust-bottom em { font-size: 19px; }
}

/* ============================================================
   行为财务画像 · BEHAVIORAL FINANCIALS
   ============================================================ */
.behavioral-print {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(255, 67, 50, 0.05), transparent 70%),
    var(--bg);
}

.bp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.bp-card {
  background: var(--bg-2);
  border: 1px solid var(--line-mid);
  padding: 24px 22px;
  display: flex; flex-direction: column;
  gap: 14px;
  transition: border-color .25s, transform .25s, background .25s;
  position: relative;
}
.bp-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
  transform: scaleX(0.6);
  transform-origin: center;
  transition: transform .35s var(--ease);
}
.bp-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  background: var(--bg-3);
}
.bp-card:hover::before { transform: scaleX(1); opacity: 0.8; }

.bp-head {
  display: flex; align-items: flex-start; gap: 14px;
}
.bp-glyph {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--accent);
  color: var(--text);
  font-family: var(--f-serif-cn);
  font-weight: 900;
  font-size: 18px;
  border-radius: 2px;
  letter-spacing: -1px;
  box-shadow: 0 0 14px -4px var(--accent-glow);
  flex-shrink: 0;
}
.bp-flow {
  display: flex; flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.bp-input {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  text-transform: uppercase;
  line-height: 1.3;
}
.bp-input::after {
  content: " ↓";
  color: var(--accent);
}
.bp-output {
  font-family: var(--f-serif-cn);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.bp-rationale {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
}

.bp-src {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--text-4);
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

/* example synthesis block */
.bp-example {
  margin-top: 36px;
  padding: 28px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border: 1px solid var(--line-mid);
  position: relative;
  overflow: hidden;
}
.bp-example::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 50%; height: 200%;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 60%);
  filter: blur(60px);
  opacity: 0.2;
  pointer-events: none;
}
.bp-eg-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.bp-eg-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
}
.bp-eg-q {
  font-family: var(--f-serif-cn);
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
}
.bp-eg-mark { color: var(--accent); flex-shrink: 0; }
.bp-eg-a {
  background: var(--bg);
  border-left: 2px solid var(--accent);
  padding: 16px 18px;
  display: flex; flex-direction: column;
  gap: 8px;
}
.bp-line {
  font-family: var(--f-sans-cn);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}
.bp-line b {
  color: var(--text);
  font-weight: 500;
  margin-left: 4px;
}
.bp-line .num {
  color: var(--accent);
  font-family: var(--f-serif-en);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  margin: 0 2px;
}

.bp-bottom {
  margin-top: 36px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.bp-bottom p {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-3);
}
.bp-bottom em {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--f-serif-cn);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--accent);
  letter-spacing: 0.02em;
  text-shadow: 0 0 24px var(--accent-glow);
}

@media (max-width: 960px) {
  .bp-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .bp-grid { grid-template-columns: 1fr; }
  .bp-example { padding: 22px 18px; }
  .bp-line { font-size: 12.5px; }
}
