/* 闪舞步官网 · v1 · 麻邻国视觉体系（浅底立体）
   唯一 token 出处。数值对齐 docs/design/tokens.css：页底 #F7F7F7、白卡 + 底部 4px 实色唇、
   主色 #58CC02 / 深 #46A302、文字 #3C3C3C，强调色橙 #FF9600 只用于「闪」。
   无外链字体、无框架；按钮为 Duo3D（按压下沉 4px）；入场 fadeIn + slideY。 */

:root {
  --bg: #F7F7F7;
  --surface: #FFFFFF;
  --surface-2: #FBFBFB;
  --line: #E5E5E5;
  --line-2: #D9D9D9;
  --divider: #F0F0F0;
  --ink: #3C3C3C;
  --ink-2: #666666;      /* 次文字：对比度 5.7:1（白底）/ 5.4:1（页底）*/
  --ink-on: #FFFFFF;

  --green: #58CC02;  --green-hi: #89E219;  --green-dk: #46A302;  --green-lo: #3F8C00;
  --green-ink: #2E7A00;                 /* 小字绿：5.4:1 */
  --green-bg: #ECF8DF;
  --gold: #FF9600;   --gold-hi: #FFC233;   --gold-lo: #C26E00;
  --gold-ink: #A85800;                  /* 小字橙：5.0:1 */
  --gold-display: #CC7800;              /* 大字橙（hero「闪」/ 计数）：3.1:1 页底、3.3:1 白底 */
  --gold-bg: #FFF3DC;
  --blue: #1CB0F6;   --blue-ink: #0B6A9C; --blue-bg: #E3F4FD;
  --purple: #A560E8; --purple-ink: #6A2FA8; --purple-bg: #F1E6FB;
  --red: #FF4B4B;    --red-ink: #C42B2B;

  --e1: 0 1px 2px rgba(54,72,38,.06), 0 2px 6px rgba(54,72,38,.06);
  --e2: 0 2px 4px rgba(54,72,38,.05), 0 8px 18px rgba(54,72,38,.10);
  --e3: 0 6px 12px rgba(54,72,38,.08), 0 18px 40px rgba(54,72,38,.16);
  --sheen: inset 0 1.5px 0 rgba(255,255,255,.9);

  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px; --r-2xl: 24px; --r-3xl: 28px; --r-pill: 999px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s7: 32px; --s8: 40px; --s9: 48px; --s10: 64px; --s11: 88px;

  --font-ui: "Nunito", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-num: "Baloo 2", "Nunito", "Avenir Next", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --mono: "SF Mono", Menlo, Consolas, "Noto Sans Mono CJK SC", monospace;

  --fs-xs: 12px; --fs-sm: 14px; --fs-md: 16px; --fs-lg: 18px;
  --fs-h3: 20px;
  --fs-h2: clamp(28px, 2vw + 16px, 40px);
  --fs-hero: clamp(46px, 5.4vw + 18px, 92px);

  --d-instant: 80ms; --d-fast: 150ms; --d-base: 220ms; --d-enter: 420ms;
  --c-standard: cubic-bezier(.2,0,.2,1);
  --c-press: cubic-bezier(.3,0,.4,1);
  --c-spring: cubic-bezier(.34,1.56,.64,1);

  --maxw: 1120px;
  --gutter: 20px;
  --beat: 500ms;           /* 固定节拍：120 BPM，16 拍一轮 = 8s */
  --loop: 8s;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-ui); font-size: var(--fs-md); line-height: 1.65; font-weight: 500;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.01em; font-weight: 800; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: .92em; font-weight: 600; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: var(--r-sm); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); height: 68px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.nav { display: none; gap: 2px; }
.nav a {
  padding: 8px 13px; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2);
  transition: background var(--d-fast) var(--c-standard), color var(--d-fast) var(--c-standard), box-shadow var(--d-fast);
}
.nav a:hover { color: var(--green-ink); background: var(--green-bg); }
.header-right { display: flex; align-items: center; gap: var(--s2); }

/* ---------- Duo3D 按钮：面 + 底部实色唇 + 顶部内高光；按下沉 4px ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 52px; padding: 0 var(--s6); border: 0; border-radius: var(--r-lg);
  font-weight: 800; font-size: var(--fs-md); letter-spacing: .01em; line-height: 1.2; cursor: pointer;
  text-align: center; -webkit-tap-highlight-color: transparent; user-select: none;
  transition: transform var(--d-instant) var(--c-press), box-shadow var(--d-instant) var(--c-press), filter var(--d-fast);
}
.btn-primary {
  color: #fff; background: linear-gradient(180deg, var(--green-hi), var(--green));
  box-shadow: 0 4px 0 var(--green-dk), var(--e2), var(--sheen);
  text-shadow: 0 1px 0 rgba(63,140,0,.35);
}
.btn-primary:hover { filter: brightness(1.03); }
.btn-primary:active { transform: translateY(4px) scaleY(.98); box-shadow: 0 0 0 var(--green-dk), var(--e1), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-ghost {
  color: var(--green-ink); background: var(--surface);
  border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line), var(--e1), inset 0 1.5px 0 #fff;
}
.btn-ghost:hover { border-color: var(--line-2); box-shadow: 0 4px 0 var(--line-2), var(--e1); }
.btn-ghost:active { transform: translateY(4px); box-shadow: 0 0 0 var(--line), var(--e1); }
.btn-flash {
  color: #fff; background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  box-shadow: 0 4px 0 var(--gold-lo), var(--e2), var(--sheen);
  text-shadow: 0 1px 0 rgba(194,110,0,.35);
}
.btn-flash:active { transform: translateY(4px) scaleY(.98); box-shadow: 0 0 0 var(--gold-lo), var(--e1); }
.btn-sm { min-height: 40px; padding: 0 var(--s4); font-size: var(--fs-sm); border-radius: var(--r-md); }
.btn-sm.btn-ghost { box-shadow: 0 3px 0 var(--line), var(--e1); }
.btn-sm.btn-ghost:active { transform: translateY(3px); box-shadow: 0 0 0 var(--line); }

.lang-switch { font-weight: 900; letter-spacing: .04em; color: var(--ink); min-width: 56px; }
.menu-btn { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: var(--r-md); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 3px; border-radius: 2px; background: var(--ink); position: relative; content: "";
}
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.mobile-nav { display: none; background: var(--surface); border-bottom: 2px solid var(--line); }
.mobile-nav.open { display: block; }
.mobile-nav ul { padding: var(--s3) var(--gutter) var(--s4); display: grid; gap: var(--s1); }
.mobile-nav a { display: block; padding: var(--s3) var(--s3); font-weight: 700; border-radius: var(--r-md); color: var(--ink); }
.mobile-nav a:active { background: var(--green-bg); color: var(--green-ink); }
@media (min-width: 960px) {
  .nav { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: var(--s8) 0 var(--s9);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(137,226,25,.22), transparent 60%),
    radial-gradient(700px 420px at -10% 100%, rgba(255,194,51,.18), transparent 60%),
    var(--bg);
}
.hero .container { display: grid; gap: var(--s8); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 7px 14px 7px 10px; border-radius: var(--r-pill);
  background: var(--surface); border: 2px solid var(--line); box-shadow: 0 3px 0 var(--line);
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .04em; color: var(--green-ink);
}
.eyebrow i { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(180deg, var(--green-hi), var(--green)); box-shadow: 0 0 0 3px rgba(88,204,2,.22); }
.hero h1 {
  margin: var(--s6) 0 var(--s5);
  font-size: var(--fs-hero); font-weight: 900; line-height: 1.02; letter-spacing: -.035em; color: var(--ink);
}
.hero h1 em {
  font-style: normal; color: var(--gold-display); position: relative; display: inline-block;
  text-shadow: 0 3px 0 var(--gold-lo), 0 10px 24px rgba(255,150,0,.35);
}
html:lang(en) { --font-ui: "Nunito", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", sans-serif; }
html:lang(en) .hero h1 { letter-spacing: -.04em; }
.hero .lead { font-size: var(--fs-lg); color: var(--ink-2); max-width: 30em; font-weight: 500; line-height: 1.7; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s7); }
.hero-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s8); }
.hero-meta li {
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 4px 0 var(--line), var(--e1); padding: var(--s3) 14px; min-width: 0;
}
.hero-meta span { display: block; font-size: var(--fs-xs); color: var(--ink-2); font-weight: 700; letter-spacing: .02em; }
.hero-meta b { display: block; font-size: 15px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); margin-top: 2px; letter-spacing: -.01em;  }

/* 闪帧示意：页面视觉主体 */
.flash-stage { position: relative; }
.flash-stage::before {
  content: ""; position: absolute; inset: 10% -6% -8% -6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,194,51,.28), rgba(137,226,25,.12) 60%, transparent 100%);
  filter: blur(10px); z-index: 0;
}
.flash-card {
  position: relative; z-index: 1; overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF, #FBFBFB);
  border: 2px solid var(--line); border-radius: var(--r-3xl);
  box-shadow: 0 6px 0 var(--line), var(--e3), var(--sheen);
  padding: var(--s6); display: grid; gap: var(--s5);
}
.flash-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, var(--green) 0 55%, var(--gold) 55% 100%);
}
.fc-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }
.fc-label { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.fc-live {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 8px; border-radius: var(--r-pill);
  background: var(--green-bg); color: var(--green-ink); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .02em;
}
.fc-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: livePulse calc(var(--beat) * 2) ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.65); opacity: .55; } }

.fc-count { display: flex; align-items: baseline; gap: var(--s3); line-height: 1; }
.fc-count b {
  font-family: var(--font-num); font-size: clamp(72px, 9vw, 112px); font-weight: 900; letter-spacing: -.05em; color: var(--gold-display);
  text-shadow: 0 4px 0 var(--gold-lo), 0 12px 28px rgba(255,150,0,.35);
}
.fc-count span { font-size: var(--fs-h3); font-weight: 900; color: var(--ink); }
.fc-count small { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); margin-left: auto; align-self: center; text-align: right; }

/* 拍点条：16 拍一轮，绿柱 = 闪；播放头按固定节拍走 steps(16) */
.fc-beats { position: relative; display: flex; gap: 5px; height: 64px; align-items: flex-end; padding: 0 2px; }
.fc-head {
  position: absolute; left: 0; top: -6px; bottom: -6px; width: calc(100% / 16);
  border-radius: var(--r-sm); background: rgba(255,150,0,.14);
  animation: headRun var(--loop) steps(16, end) infinite; pointer-events: none;
}
@keyframes headRun { to { transform: translateX(1600%); } }
.fc-beats i {
  position: relative; flex: 1 1 0; min-width: 0; height: 22px; border-radius: var(--r-pill);
  background: var(--divider); box-shadow: 0 3px 0 var(--line);
  transform-origin: 50% 100%;
  animation: beatOff var(--loop) linear infinite;
  animation-delay: calc(var(--i) * var(--beat) - var(--loop));
}
.fc-beats i.on {
  height: 46px; background: linear-gradient(180deg, var(--green-hi), var(--green));
  box-shadow: 0 4px 0 var(--green-dk), inset 0 1.5px 0 rgba(255,255,255,.7);
  animation-name: beatOn;
}
@keyframes beatOff {
  0%, 100% { transform: translateY(0); }
  1.2% { transform: translateY(3px); }
  5% { transform: translateY(0); }
}
@keyframes beatOn {
  0%, 100% { transform: scale(1); background: linear-gradient(180deg, var(--green-hi), var(--green)); box-shadow: 0 4px 0 var(--green-dk), inset 0 1.5px 0 rgba(255,255,255,.7); }
  .8%   { transform: scale(1.18, 1.22); background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 4px 0 var(--gold-lo), 0 0 0 7px rgba(255,150,0,.22), inset 0 1.5px 0 rgba(255,255,255,.8); }
  4%    { transform: scale(1.08, 1.1); background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 4px 0 var(--gold-lo), 0 0 0 10px rgba(255,150,0,0), inset 0 1.5px 0 rgba(255,255,255,.8); }
  7%    { transform: scale(1); background: linear-gradient(180deg, var(--green-hi), var(--green)); box-shadow: 0 4px 0 var(--green-dk), inset 0 1.5px 0 rgba(255,255,255,.7); }
}
.fc-counts { display: flex; gap: 5px; padding: 0 2px; margin-top: -8px; }
.fc-counts span { flex: 1 1 0; min-width: 0; text-align: center; font-family: var(--font-num); font-size: 11px; font-weight: 800; color: var(--ink-2); line-height: 1; }
.fc-counts span:nth-child(8n+1) { color: var(--ink); }

/* 卡内白闪：与「闪」拍同步（拍位写死在关键帧里，不随机）*/
.fc-shutter { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: #fff; opacity: 0; animation: shutterBeats var(--loop) linear infinite; }
@keyframes shutterBeats {
  0% { opacity: .9; } 1.5% { opacity: 0; }
  6.25% { opacity: 0; } 6.6% { opacity: .9; } 7.75% { opacity: 0; }
  12.5% { opacity: 0; } 12.85% { opacity: .9; } 14% { opacity: 0; }
  18.75% { opacity: 0; } 19.1% { opacity: .9; } 20.25% { opacity: 0; }
  25% { opacity: 0; } 25.35% { opacity: .9; } 26.5% { opacity: 0; }
  31.25% { opacity: 0; } 31.6% { opacity: .9; } 32.75% { opacity: 0; }
  43.75% { opacity: 0; } 44.1% { opacity: .9; } 45.25% { opacity: 0; }
  50% { opacity: 0; } 50.35% { opacity: .9; } 51.5% { opacity: 0; }
  62.5% { opacity: 0; } 62.85% { opacity: .9; } 64% { opacity: 0; }
  68.75% { opacity: 0; } 69.1% { opacity: .9; } 70.25% { opacity: 0; }
  75% { opacity: 0; } 75.35% { opacity: .9; } 76.5% { opacity: 0; }
  87.5% { opacity: 0; } 87.85% { opacity: .9; } 89% { opacity: 0; }
  100% { opacity: 0; }
}

.fc-stamp { display: grid; gap: var(--s2); }
.fc-stamp li {
  display: flex; align-items: center; gap: var(--s3); padding: 10px 14px;
  background: var(--bg); border-radius: var(--r-md); font-size: var(--fs-sm); color: var(--ink-2); font-weight: 600;
}
.fc-stamp li b { color: var(--ink); font-weight: 800; }
.fc-stamp .k {
  flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 24px; padding: 0 8px;
  border-radius: var(--r-pill); background: var(--gold-bg); color: var(--gold-ink); font-family: var(--font-num); font-size: var(--fs-xs); font-weight: 900;
}
.fc-actions { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.fc-note { font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.55; font-weight: 500; }

@media (min-width: 960px) {
  .hero { padding: var(--s10) 0 var(--s11); }
  .hero .container { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s10); }
  .flash-card { padding: var(--s7); }
  .fc-beats { height: 76px; gap: 6px; }
  .fc-beats i.on { height: 56px; }
}
@media (max-width: 420px) {
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-meta li:last-child { grid-column: 1 / -1; }
}

/* 全屏白闪层 */
.flash-layer { position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at center, #fff 0%, #fff 55%, #ececec 100%); }
.flash-layer.go { animation: shutter 120ms linear 1; }
@keyframes shutter { 0% { opacity: 0; } 18% { opacity: 1; } 72% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- sections ---------- */
.section { padding: var(--s10) 0; scroll-margin-top: 72px; }
.section.alt { background: var(--surface); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.section-head { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s4); row-gap: var(--s3); align-items: start; margin-bottom: var(--s8); max-width: 48em; }
.sec-n {
  grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: var(--r-md);
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-num); font-size: var(--fs-lg); font-weight: 900; letter-spacing: -.02em;
  background: linear-gradient(180deg, var(--green-hi), var(--green));
  box-shadow: 0 4px 0 var(--green-dk), var(--e1), var(--sheen); text-shadow: 0 1px 0 rgba(63,140,0,.4);
}
.section-head .kicker { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-ink); align-self: center; }
.section-head h2 { grid-column: 2; font-size: var(--fs-h2); font-weight: 900; letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
.section-head .lede { grid-column: 1 / -1; font-size: var(--fs-lg); color: var(--ink-2); line-height: 1.7; font-weight: 500; margin-top: var(--s2); }
@media (min-width: 960px) { .section-head .lede { grid-column: 2; } }

.grid { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 卡片：白面 + 2px 描边 + 底部 4px 实色唇 */
.card {
  position: relative; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-xl);
  box-shadow: 0 4px 0 var(--line), var(--e1); padding: var(--s6);
  display: grid; gap: var(--s3); align-content: start;
  transition: transform var(--d-base) var(--c-standard), box-shadow var(--d-base) var(--c-standard);
}
@media (hover: hover) { .card:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--line), var(--e2); } }
.card h3 { font-size: var(--fs-h3); font-weight: 800; line-height: 1.3; }
.card p { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.7; }
.card.accent { border-color: var(--green); box-shadow: 0 4px 0 var(--green-dk), var(--e1); background: linear-gradient(180deg, #FFFFFF, var(--green-bg)); }
.card.accent:hover { box-shadow: 0 7px 0 var(--green-dk), var(--e2); }
.tag {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .04em;
  background: var(--green-bg); color: var(--green-ink);
}
.tag.gold { background: var(--gold-bg); color: var(--gold-ink); }
.tag.blue { background: var(--blue-bg); color: var(--blue-ink); }
.tag.purple { background: var(--purple-bg); color: var(--purple-ink); }
.tag.fill { background: var(--surface); color: var(--green-ink); box-shadow: 0 2px 0 var(--green-dk); border: 2px solid var(--green); padding: 3px 11px; }

/* 六步流程 */
.pipeline { display: grid; gap: var(--s4); counter-reset: step; }
.pipeline li {
  position: relative; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-xl);
  box-shadow: 0 4px 0 var(--line), var(--e1); padding: var(--s5) var(--s5) var(--s5) 78px; display: grid; gap: var(--s2); min-height: 120px;
}
.pipeline li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: var(--s5); top: var(--s5); width: 40px; height: 40px; border-radius: var(--r-md);
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-num); font-size: var(--fs-lg); font-weight: 900;
  background: linear-gradient(180deg, var(--green-hi), var(--green));
  box-shadow: 0 4px 0 var(--green-dk), var(--sheen); text-shadow: 0 1px 0 rgba(63,140,0,.4);
}
.pipeline h3 { font-size: var(--fs-lg); font-weight: 800; }
.pipeline p { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.65; }
.pipeline li.is-flash { border-color: var(--gold); background: linear-gradient(180deg, #FFFFFF, var(--gold-bg)); box-shadow: 0 4px 0 var(--gold-lo), var(--e1); }
.pipeline li.is-flash::before { content: ""; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 4px 0 var(--gold-lo), var(--sheen); }
.pipeline li.is-flash .bolt { position: absolute; left: calc(var(--s5) + 10px); top: calc(var(--s5) + 9px); width: 20px; height: 22px; }
.pipeline li.is-flash h3 { color: var(--gold-ink); }
@media (min-width: 640px) { .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 三层产品 */
.layers { display: grid; gap: var(--s3); margin-top: var(--s8); }
.layers li {
  display: grid; grid-template-columns: 72px 1fr; gap: var(--s4); align-items: start;
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 4px 0 var(--line), var(--e1); padding: var(--s4) var(--s5);
}
.layers .k { font-size: var(--fs-xs); font-weight: 800; padding: 5px 0; text-align: center; border-radius: var(--r-pill); background: var(--green-bg); color: var(--green-ink); }
.layers li:nth-child(2) .k { background: var(--blue-bg); color: var(--blue-ink); }
.layers li:nth-child(3) .k { background: var(--purple-bg); color: var(--purple-ink); }
.layers b { display: block; font-weight: 800; font-size: var(--fs-md); }
.layers span { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.65; }
@media (min-width: 960px) {
  .layers li:nth-child(1) { margin-right: 0; }
  .layers li:nth-child(2) { margin-left: var(--s9); margin-right: var(--s9); }
  .layers li:nth-child(3) { margin-left: var(--s11); margin-right: var(--s11); }
}
.layers-note { margin-top: var(--s4); font-size: var(--fs-sm); color: var(--ink-2); text-align: center; }
.not-list { margin-top: var(--s7); display: grid; gap: var(--s2); }
.not-list li { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) var(--s4); background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-md); font-size: var(--fs-sm); color: var(--ink-2); }
.not-list li::before { content: "✕"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #FFE9E9; color: var(--red-ink); font-size: 11px; font-weight: 900; margin-top: 1px; }
@media (min-width: 960px) { .not-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 原则 */
.principles { display: grid; gap: var(--s4); }
.principles li {
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-xl);
  box-shadow: 0 4px 0 var(--line), var(--e1); padding: var(--s6); display: grid; gap: var(--s3);
}
.principles .ico {
  width: 52px; height: 52px; border-radius: var(--r-lg); display: grid; place-items: center;
  background: linear-gradient(180deg, var(--green-hi), var(--green)); color: #fff;
  box-shadow: 0 4px 0 var(--green-dk), var(--sheen);
}
.principles li:nth-child(3) .ico { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 4px 0 var(--gold-lo), var(--sheen); }
.principles .ico svg { width: 26px; height: 26px; }
.principles h3 { font-size: var(--fs-lg); font-weight: 800; margin-top: var(--s1); }
.principles p { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.7; }
@media (min-width: 640px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .principles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 标准 */
.kv { display: grid; margin-top: var(--s2); border-top: 2px solid var(--divider); }
.kv li { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: 11px 0; border-bottom: 2px solid var(--divider); font-size: var(--fs-sm); color: var(--ink-2); }
.kv li b { color: var(--ink); font-weight: 800; text-align: right; }
.element-id { display: inline-block; padding: 2px 9px; border-radius: var(--r-sm); background: var(--green-bg); color: var(--green-ink); font-family: var(--mono); font-size: .8em; font-weight: 700; vertical-align: middle; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill);
  background: var(--bg); border: 2px solid var(--line); font-size: var(--fs-xs); font-weight: 800; color: var(--ink-2); max-width: 100%;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #BDBDBD; flex: none; }
.pill.todo { background: var(--gold-bg); border-color: #F6D9A6; color: var(--gold-ink); }
.pill.todo::before { background: var(--gold); }
.sub-h { margin: var(--s9) 0 var(--s4); font-size: 24px; font-weight: 900; letter-spacing: -.02em; }
.ladder { display: grid; gap: var(--s3); }
.ladder li {
  display: grid; grid-template-columns: 56px 1fr; gap: var(--s3) var(--s4); align-items: center;
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-xl);
  box-shadow: 0 4px 0 var(--line), var(--e1); padding: var(--s4) var(--s5);
}
.ladder .lv {
  width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center; color: #fff;
  font-family: var(--font-num); font-size: 26px; font-weight: 900;
  background: linear-gradient(180deg, var(--green-hi), var(--green)); box-shadow: 0 4px 0 var(--green-dk), var(--sheen); text-shadow: 0 1px 0 rgba(63,140,0,.4);
}
.ladder b { display: block; font-weight: 800; font-size: var(--fs-md); }
.ladder span.d { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }
.ladder .pill { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 760px) {
  .ladder li { grid-template-columns: 56px 1fr auto; }
  .ladder .pill { grid-column: auto; justify-self: end; }
  .ladder li:nth-child(2) { margin-left: var(--s8); }
  .ladder li:nth-child(3) { margin-left: var(--s11); }
}

/* 隐私 */
.rules { display: grid; gap: var(--s3); counter-reset: rule; }
.rules li {
  display: grid; grid-template-columns: 40px 1fr; gap: var(--s3); align-items: start;
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 4px 0 var(--line), var(--e1); padding: var(--s4) var(--s5);
}
.rules li::before {
  counter-increment: rule; content: counter(rule, decimal-leading-zero);
  font-family: var(--font-num); font-size: var(--fs-lg); font-weight: 900; color: var(--green-ink); line-height: 1.3;
}
.rules b { display: block; font-weight: 800; }
.rules span { display: block; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.65; margin-top: 3px; }
@media (min-width: 760px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quote-block {
  margin-top: var(--s8); background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-2xl);
  box-shadow: 0 4px 0 var(--line), var(--e1); padding: var(--s6); display: grid; gap: var(--s4);
}
.quote-block .label { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green-ink); }
.quote-block .bubbles { display: grid; gap: var(--s3); }
.quote-block blockquote {
  position: relative; margin: 0; padding: var(--s4) var(--s5); border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 6px;
  background: var(--green-bg); color: var(--ink); font-weight: 600; font-size: var(--fs-md); line-height: 1.6; max-width: 46em;
}
.quote-block blockquote small { display: block; margin-top: 6px; font-size: var(--fs-xs); font-weight: 700; color: var(--green-ink); }
@media (min-width: 960px) { .quote-block { grid-template-columns: 200px 1fr; align-items: start; } }

/* 路线图：竖向时间轴 */
.roadmap { position: relative; display: grid; gap: var(--s3); padding-left: 34px; }
.roadmap::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 4px; border-radius: 2px; background: var(--line); }
.roadmap li {
  position: relative; display: grid; gap: var(--s2);
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 4px 0 var(--line), var(--e1); padding: var(--s4) var(--s5);
}
.roadmap li::before {
  content: ""; position: absolute; left: -34px; top: 18px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--surface); border: 4px solid var(--green); box-shadow: 0 2px 0 var(--green-dk);
}
.roadmap .when { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s2) var(--s3); }
.roadmap .when b { font-family: var(--font-num); font-size: var(--fs-md); font-weight: 900; color: var(--ink); letter-spacing: -.01em; }
.roadmap .when span { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); }
.roadmap .t { display: block; font-weight: 800; color: var(--ink); line-height: 1.45; }
.roadmap .d { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.65; }
.roadmap li.key { border-color: var(--gold); background: linear-gradient(180deg, #FFFFFF, var(--gold-bg)); box-shadow: 0 4px 0 var(--gold-lo), var(--e1); }
.roadmap li.key::before { border-color: var(--gold); box-shadow: 0 2px 0 var(--gold-lo), 0 0 0 6px rgba(255,150,0,.18); }
.roadmap li.key .when b { color: var(--gold-ink); }
@media (min-width: 760px) {
  .roadmap li { grid-template-columns: 180px 1fr; gap: var(--s5); }
  .roadmap .when { display: grid; gap: 2px; align-content: start; }
}
.goals { margin-top: var(--s8); background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-2xl); box-shadow: 0 4px 0 var(--line), var(--e1); padding: var(--s6); }
.goals h3 { font-size: var(--fs-h3); font-weight: 900; margin-bottom: var(--s4); }
.goals ul { display: grid; gap: var(--s3); }
.goals li { display: flex; gap: var(--s3); align-items: flex-start; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; font-weight: 600; }
.goals li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--green-hi), var(--green)); color: #fff; font-size: 13px; font-weight: 900; box-shadow: 0 2px 0 var(--green-dk); }
@media (min-width: 760px) { .goals ul { grid-template-columns: 1fr 1fr; } }

/* 合作 */
.contact-box {
  margin-top: var(--s6); background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-2xl);
  box-shadow: 0 4px 0 var(--line), var(--e2); padding: var(--s7); display: grid; gap: var(--s5);
}
.contact-box h3 { font-size: 24px; font-weight: 900; letter-spacing: -.02em; }
.contact-list { display: grid; gap: var(--s3); }
.contact-list li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); font-size: var(--fs-sm); color: var(--ink-2); font-weight: 600; }
.contact-list code { color: var(--green-ink); background: var(--green-bg); padding: 5px 11px; border-radius: var(--r-sm); font-weight: 700; }
.fill-me { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--r-pill); background: var(--gold-bg); border: 2px solid #F6D9A6; color: var(--gold-ink); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .04em; }
.contact-box .fine { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.6; }
@media (min-width: 960px) { .contact-box { grid-template-columns: 1fr 1fr; align-items: start; } .contact-box h3 { grid-column: 1 / -1; } }

/* ---------- footer ---------- */
.site-footer { border-top: 2px solid var(--line); padding: var(--s9) 0 var(--s8); background: var(--surface); color: var(--ink-2); font-size: var(--fs-sm); font-weight: 600; }
.site-footer .container { display: grid; gap: var(--s5); }
.site-footer .row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); }
.site-footer .mark { width: 40px; height: 40px; border-radius: var(--r-md); box-shadow: 0 3px 0 var(--green-dk); }
.site-footer .motto { display: flex; flex-wrap: wrap; gap: var(--s2); }
.site-footer .motto span { padding: 5px 11px; border-radius: var(--r-pill); background: var(--bg); border: 2px solid var(--line); font-size: var(--fs-xs); font-weight: 800; color: var(--ink-2); }
.site-footer a { font-weight: 700; color: var(--ink); }
.site-footer a:hover { color: var(--green-ink); }

/* ---------- 入场：fadeIn + slideY（麻邻国 motion §1）---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--d-enter) var(--c-standard), transform var(--d-enter) var(--c-standard); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 560ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .flash-layer.go, .fc-beats i, .fc-head, .fc-shutter, .fc-live i { animation: none !important; }
  .card, .btn { transition: none; }
}
