/* Signalry 风格：淡紫竖向渐变 + 网格 + 顶部光斑（随 brand-primary 染色）。
   跨 landing 页共享版式见 shared.css（页级 css @import 引入，lite 模式）。 */
@import url("./shared.css");

/* 原全局尾段（自 global.css 拆出）：入场动画 / 响应式。
   必须位于下方原有页级规则之前——保持拆分前「global 先、index 后」的级联顺序。 */
/* vibedesign/web 页级追加段（自原 global.css 拆出）：入场动画 / 响应式 */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-shell,
  .top-nav,
  .btn,
  .hero-demo,
  .shiny-text::after { transition: none; animation: none; }
}

@media (max-width: 1280px) {
  .card.top-nav.is-scrolled {
    width: calc(100% + 40px);
    max-width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    padding: 14px 22px;
  }
}

@media (max-width: 960px) {
  .menu { display: none; }
  .btn.nav-menu-toggle { display: inline-flex; }
  .top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 12px 14px;
  }
  .card.top-nav.is-scrolled {
    width: calc(100% + 20px);
    max-width: calc(100% + 20px);
    margin-left: -10px;
    margin-right: -10px;
    padding: 12px 14px;
  }
  .brand {
    min-width: 0;
    flex: 0 1 auto;
    max-width: calc(100% - 148px);
  }
  .brand-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-actions {
    flex-shrink: 0;
    gap: 6px;
    min-width: 0;
  }
  .header-actions .btn {
    flex-shrink: 0;
  }
  .nav-shell__inner { width: calc(100% - 28px); }
  .section { margin-top: 64px; }
}


@media (max-width: 640px) {
  .container { width: calc(100% - 28px); padding: 18px 0 32px; }
  .top-nav {
    padding: 10px 12px;
    gap: 8px;
  }
  .card.top-nav.is-scrolled {
    width: calc(100% + 16px);
    max-width: calc(100% + 16px);
    margin-left: -8px;
    margin-right: -8px;
    padding: 10px 12px;
  }
  .header-actions { gap: 4px; }
  .header-actions .btn-sm {
    height: 32px;
    padding: 0 10px;
  }
  .header-actions .btn-icon {
    width: 32px;
    padding: 0;
  }
  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .floating-tools { display: none !important; }
}

/* 更窄时再收微信/主题，首页改图标 */
@media (max-width: 480px) {
  .nav-action-aux { display: none; }
  .nav-home-btn {
    width: 32px;
    min-width: 32px;
    padding: 0;
    gap: 0;
    font-size: 0;
    justify-content: center;
  }
  .nav-home-btn__label { display: none; }
  .nav-home-btn > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
  }
}

/* =============================================================================
 * home --wa-* → 本站 --brand-* / 文本面（原 wa-bridge.css）
 * 须在本文件「静态 --brand-* 默认值」之后；加载顺序依赖：
 *   home global/components → 本站 global（含本节）→ index.css → layout-mini.css
 * --brand-primary-rgb 仍可由 index.js 从计算后主色写入（CSS 无法从 hex 拆 rgb）
 * ============================================================================= */


body.landing-cover-bg {
  background-color: #ffffff;
}
body.landing-cover-bg::before,
body.landing-cover-bg::after {
  content: none;
}
.landing-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.landing-bg__base,
.landing-bg__grid {
  position: absolute;
  inset: 0;
}
.landing-bg__base {
  z-index: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--brand-primary) 22%, #f5f3ff) 0%,
    color-mix(in srgb, var(--brand-primary) 8%, #f7f5ff) 42%,
    #ffffff 100%
  );
  transition: background 0.35s ease;
}
.landing-bg__grid {
  z-index: 1;
  opacity: 0.6;
  background-image:
    linear-gradient(rgba(var(--brand-primary-rgb), 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--brand-primary-rgb), 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  transition: opacity 0.35s ease, background-image 0.35s ease;
}
.landing-bg__blob {
  position: absolute;
  z-index: 2;
  top: -10rem;
  left: 50%;
  width: min(880px, 92vw);
  height: 480px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-primary) 20%, transparent);
  filter: blur(120px);
  opacity: 0.9;
  transition: background 0.35s ease;
}

/* 白场 mono：纸面灰阶 + 细网格 */
body.landing-cover-bg[data-login-bg-mode="mono"] .landing-bg__base {
  background: linear-gradient(180deg, #f0eee9 0%, #f7f5f1 45%, #ffffff 100%);
}
body.landing-cover-bg[data-login-bg-mode="mono"] .landing-bg__grid {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  opacity: 0.45;
}
body.landing-cover-bg[data-login-bg-mode="mono"] .landing-bg__blob {
  background: color-mix(in srgb, var(--wa-color-accent, #a38400) 14%, transparent);
}

[data-theme="dark"] body.landing-cover-bg {
  background-color: #0b0c14;
}
[data-theme="dark"] .landing-bg__base {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--brand-primary) 28%, #12101c) 0%,
    color-mix(in srgb, var(--brand-primary) 10%, #0c0a14) 48%,
    #08070e 100%
  );
}
[data-theme="dark"] .landing-bg__grid {
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(var(--brand-primary-rgb), 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--brand-primary-rgb), 0.14) 1px, transparent 1px);
}
[data-theme="dark"] .landing-bg__blob {
  background: color-mix(in srgb, var(--brand-primary) 28%, transparent);
  opacity: 0.55;
}
[data-theme="dark"] body.landing-cover-bg[data-login-bg-mode="mono"] .landing-bg__base {
  background: linear-gradient(180deg, #161616 0%, #0e0e10 50%, #0a0a0c 100%);
}
[data-theme="dark"] body.landing-cover-bg[data-login-bg-mode="mono"] .landing-bg__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
}
[data-theme="dark"] body.landing-cover-bg[data-login-bg-mode="mono"] .landing-bg__blob {
  background: color-mix(in srgb, var(--wa-color-accent, #fff100) 12%, transparent);
}

.first-screen {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: -88px;
  padding-top: 88px;
  box-sizing: border-box;
  overflow: hidden;
}

.first-screen__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  gap: 8px;
  width: calc(100% - 48px);
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 0 28px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 48px 12px 16px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* 与区块 Highlights 标签同款：半透明底 + 细边 */
.hero-eyebrow {
  height: 30px;
  padding: 0 12px;
  margin-bottom: 18px;
  gap: 6px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--radius-pill, 999px);
  background: rgba(255, 255, 255, 0.28);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-eyebrow i {
  font-size: 11px;
  color: var(--text-secondary);
}
[data-theme="dark"] .hero-eyebrow {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text-secondary);
  box-shadow: none;
}
.hero-desc {
  margin: 24px auto 0;
  max-width: 45em;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  text-wrap: balance;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.hero .actions .btn-lg {
  height: 52px;
  padding: 0 26px;
  font-size: 16px;
  border-radius: 10px;
}

.hero .actions .btn > i,
.cta-band .actions .btn > i {
  width: 1.125em;
  flex-shrink: 0;
  text-align: center;
  line-height: 1;
}

.hero-demo {
  width: min(100%, 980px);
  margin: 12px auto 0;
  animation: rise-in 0.7s var(--ease) 0.12s both;
  color: inherit;
}

/* 核心特性紧接首屏，整体上移 */
#features {
  margin-top: 36px;
}

.hero-demo,
.hero-demo:hover,
.hero-demo:focus-visible {
  text-decoration: none;
}

/* 首屏骨架底部渐隐，融入页面背景 */
.hero-demo .pro-stage {
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 52%,
    rgba(0, 0, 0, 0.55) 72%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 52%,
    rgba(0, 0, 0, 0.55) 72%,
    transparent 100%
  );
}

.hero-demo__screens {
  max-height: clamp(460px, 48vw, 580px);
  overflow: hidden;
}

.hero-demo__screens .hero-demo__shot {
  display: none;
  width: calc(100% + 8px);
  max-width: none;
  height: auto;
  object-position: top left;
}

.hero-demo__screens .hero-demo__shot--light { display: block; }
[data-theme="dark"] .hero-demo__screens .hero-demo__shot--light { display: none; }
[data-theme="dark"] .hero-demo__screens .hero-demo__shot--dark { display: block; }

.pro-stage__status-label--dark { display: none; }
[data-theme="dark"] .pro-stage__status-label--light { display: none; }
[data-theme="dark"] .pro-stage__status-label--dark { display: inline; }

.pro-stage {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: #f4f5f7;
  box-shadow:
    0 4px 8px rgba(48, 36, 120, 0.06),
    0 18px 40px rgba(48, 36, 120, 0.12);
  overflow: hidden;
}
[data-theme="dark"] .pro-stage {
  background: #232324;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
}
.pro-stage__chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(18, 16, 26, 0.05);
  background: #fff;
  color: var(--text-muted);
  font-size: 11.5px;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
}
[data-theme="dark"] .pro-stage__chrome {
  background: #232324;
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
.pro-stage__meta {
  justify-self: center;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-secondary);
  text-decoration: none;
}
.pro-stage__meta em { font-style: normal; color: var(--brand-primary); }
.hero-demo:hover .pro-stage__meta,
.hero-demo:focus-visible .pro-stage__meta {
  text-decoration: none;
}
.pro-stage__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(var(--brand-primary-rgb), 0.22);
  background: var(--brand-primary-muted);
  color: var(--brand-primary);
  font-size: 10.5px;
  font-weight: 600;
}
.pro-stage__status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-primary);
}
.pro-stage__dots { display: flex; gap: 5px; }
.pro-stage__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9d9d9;
}
.pro-stage__dots span:nth-child(1) { background: #f87171; }
.pro-stage__dots span:nth-child(2) { background: #fbbf24; }
.pro-stage__dots span:nth-child(3) { background: #34d399; }

.pro-shell {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  min-height: 340px;
  background: #f7f8fa;
}
[data-theme="dark"] .pro-shell { background: #141226; }
.pro-aside {
  background: #fff;
  border-right: 1px solid var(--border-subtle);
  padding: 14px 10px;
}
[data-theme="dark"] .pro-aside { background: #1c1830; }
.pro-aside__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.pro-aside__brand img { width: 22px; height: 22px; border-radius: 6px; }
.pro-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pro-nav span {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}
.pro-nav span i { width: 14px; color: var(--text-muted); font-size: 11px; }
.pro-nav span.is-active {
  background: var(--brand-primary-muted);
  color: var(--brand-primary);
  font-weight: 600;
}
.pro-nav span.is-active i { color: var(--brand-primary); }
.pro-main { min-width: 0; display: flex; flex-direction: column; }
.pro-topbar {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
[data-theme="dark"] .pro-topbar { background: #1c1830; }
.pro-topbar__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 11px;
}
.pro-swatches { display: flex; gap: 5px; }
.pro-swatches i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}
.pro-body { padding: 14px 16px 16px; }
.pro-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.pro-kpi {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 12px;
}
[data-theme="dark"] .pro-kpi { background: #221e38; }
.pro-kpi span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}
.pro-kpi strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.pro-kpi em {
  font-style: normal;
  font-size: 11px;
  color: var(--success);
}
.pro-panels {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 10px;
}
.pro-panel {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px;
  min-height: 128px;
}
[data-theme="dark"] .pro-panel { background: #221e38; }
.pro-panel h4 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.pro-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 84px;
  padding-top: 8px;
}
.pro-bars span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: color-mix(in srgb, var(--brand-primary) 72%, white);
}
.pro-bars span:nth-child(odd) { background: var(--brand-primary); opacity: 0.85; }
.pro-todo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pro-todo li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-body);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.pro-todo li:last-child { border-bottom: 0; }
.pro-todo b {
  font-weight: 600;
  font-size: 10px;
  color: var(--brand-primary);
  background: var(--brand-primary-muted);
  padding: 2px 6px;
  border-radius: 999px;
}

.template-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 14px;
}
.template-head h3 {
  margin: 0;
  font-size: 16px;
}
.template-head span {
  font-size: 12px;
  color: var(--text-muted);
}
.template-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.template-card {
  padding: 16px 16px 14px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.template-card strong {
  font-size: 14px;
  color: var(--text-primary);
}
.template-card > span {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 组件目录：对齐 Shadcnblocks 图标+名称网格 */
.comp-catalog-foot {
  display: flex;
  justify-content: center;
  margin: 20px 0 8px;
}
.comp-catalog-foot .btn-soft {
  height: 48px;
  padding: 0 28px;
  font-size: 16px;
  border-radius: 999px;
  gap: 8px;
}
.comp-catalog {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  border: 1px dashed color-mix(in srgb, var(--border-subtle) 90%, var(--text-muted));
  border-radius: 12px;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface-base, #fff) 88%, transparent);
}
.comp-catalog__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--text-primary);
  border-right: 1px dashed color-mix(in srgb, var(--border-subtle) 90%, var(--text-muted));
  border-bottom: 1px dashed color-mix(in srgb, var(--border-subtle) 90%, var(--text-muted));
  background: transparent;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.comp-catalog__item:nth-child(5n) {
  border-right: none;
}
.comp-catalog__item:nth-last-child(-n+5) {
  border-bottom: none;
}
.comp-catalog__item:hover,
.comp-catalog__item:focus-visible {
  background: color-mix(in srgb, var(--brand-primary) 6%, transparent);
  color: var(--text-primary);
  outline: none;
}
.comp-catalog__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1;
}
.comp-catalog__item:hover .comp-catalog__icon,
.comp-catalog__item:focus-visible .comp-catalog__icon {
  color: var(--brand-primary);
}
.comp-catalog__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.comp-catalog__name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comp-catalog__en {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comp-catalog__item:hover .comp-catalog__en,
.comp-catalog__item:focus-visible .comp-catalog__en {
  color: color-mix(in srgb, var(--brand-primary) 55%, var(--text-muted));
}
[data-theme="dark"] .comp-catalog {
  background: color-mix(in srgb, #1a1c26 90%, transparent);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .comp-catalog__item {
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .comp-catalog__item:hover,
[data-theme="dark"] .comp-catalog__item:focus-visible {
  background: color-mix(in srgb, var(--brand-primary) 12%, transparent);
}

.theme-studio { padding: 22px; overflow: hidden; }
.theme-studio--web {
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, color-mix(in srgb, var(--brand-primary) 10%, transparent), transparent 55%),
    var(--surface-base);
}
.theme-studio__row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}
.theme-studio--web .theme-studio__row {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
}
.theme-studio--web .theme-studio__row--stack {
  grid-template-columns: 1fr;
  gap: 20px;
}
.theme-studio__controls {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-start;
  align-items: stretch;
  padding: 12px;
}
.theme-studio__row--stack .theme-studio__controls {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.1fr);
  gap: 16px 20px;
  align-items: end;
  padding: 4px 4px 8px;
}
.theme-studio__row--stack .theme-studio__swatches { grid-column: 1; padding: 0; }
.theme-studio__row--stack .theme-studio__features { grid-column: 2; }
.theme-studio__foot {
  margin-top: 4px;
}
.theme-style-covers {
  --wa-stage-hatch-bg: #f6f6f8;
  --wa-stage-hatch-stripe: #efeff1;
  --wa-stage-hatch-tile-size: 5px;
  --wa-stage-hatch-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='5'%3E%3Cpath d='M0 0L5 5M-1.25 3.75L1.25 6.25M3.75-1.25L6.25 1.25' stroke='%23efeff1' stroke-width='1.15'/%3E%3C/svg%3E");
  --wa-color-border-2: color-mix(in srgb, var(--text-primary) 7%, transparent);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 20px;
  min-width: 0;
  width: 100%;
}
[data-theme="dark"] .theme-style-covers {
  --wa-stage-hatch-bg: #141416;
  --wa-stage-hatch-stripe: #2a2a2e;
  --wa-stage-hatch-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='5'%3E%3Cpath d='M0 0L5 5M-1.25 3.75L1.25 6.25M3.75-1.25L6.25 1.25' stroke='%232a2a2e' stroke-width='1.15'/%3E%3C/svg%3E");
  --wa-color-border-2: rgba(255, 255, 255, 0.07);
}
/* 对齐 styles 卡：无外白框；标题+描述在上，斜纹舞台在下；无 Pro */
.theme-style-covers__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}
.theme-style-covers__item:hover {
  transform: translateY(-2px);
}
.theme-style-covers__item:hover .theme-style-covers__stage {
  border-color: color-mix(in srgb, var(--brand-primary) 28%, var(--border-subtle, #e5e6eb));
  box-shadow: 0 10px 24px rgba(var(--brand-primary-rgb), 0.1);
}
.theme-style-covers__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.theme-style-covers__meta strong {
  display: block;
  font-size: 16px;
  font-weight: 650;
  color: var(--text-primary);
  line-height: 1.35;
}
.theme-style-covers__meta span {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary, var(--text-muted));
  line-height: 1.4;
}
/* 与 styles 舞台斜纹框对齐：固定 14（落地页封面卡本就窄，勿再 @container 收边） */
.theme-style-covers__stage {
  --lg-guide: 14px;
  position: relative;
  width: 100%;
  padding: var(--lg-guide);
  border: 1px solid color-mix(in srgb, var(--border-subtle, #e5e6eb) 90%, transparent);
  border-radius: 10px;
  box-sizing: border-box;
  overflow: hidden;
  background-color: var(--wa-stage-hatch-bg);
  background-image: var(--wa-stage-hatch-tile);
  background-size: var(--wa-stage-hatch-tile-size, 5px) var(--wa-stage-hatch-tile-size, 5px);
  background-repeat: repeat;
}
.theme-style-covers__stage::before,
.theme-style-covers__stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 2;
  /* 十字参考线：与 #layouts / styles 同款 */
  border-color: color-mix(in srgb, var(--wa-color-border-1, var(--border-subtle, #e5e6eb)) 70%, transparent);
  border-style: solid;
}
.theme-style-covers__stage::before {
  top: var(--lg-guide);
  right: 0;
  bottom: var(--lg-guide);
  left: 0;
  border-width: 1px 0;
}
.theme-style-covers__stage::after {
  top: 0;
  right: var(--lg-guide);
  bottom: 0;
  left: var(--lg-guide);
  border-width: 0 1px;
}
.theme-style-covers__stage img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  /* 按原图比例完整显示，不裁切 */
  object-fit: contain;
  object-position: center top;
  border-radius: 0;
}
.theme-preview {
  background: transparent;
  border: 1px solid rgba(18, 16, 26, 0.05);
  border-radius: 14px;
  padding: 16px 14px 14px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  margin-left: 0;
  margin-right: 0;
  align-self: stretch;
}
.theme-studio__intro h3 {
  font-size: 20px;
  margin: 0 0 8px;
}
.theme-studio__intro p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.65;
}
.theme-studio__panel {
  padding: 12px;
  padding-left:0;
}

.theme-studio__features {
  list-style: none;
  margin: 0;
  padding: 0;
}
.theme-studio__feature-list {
  display: grid;
  gap: 6px;
}
.theme-studio__feature-list li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  padding-left: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
[data-theme="dark"] .theme-studio__feature-list li {
  background: transparent;
}
.theme-studio__feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.theme-studio__feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.45;
}
[data-theme="dark"] .theme-studio__feature-grid li {
  background: #1c1830;
}
.theme-studio__feature-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary-muted);
  color: var(--brand-primary);
  font-size: 13px;
}
.theme-studio__features strong {
  display: block;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.theme-studio__swatches-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.swatch-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0 0 8px;
}
.swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border-default);
  cursor: pointer;
  padding: 0;
}
.swatch.is-active {
  box-shadow: 0 0 0 2px var(--preview-brand, var(--brand-primary));
}
.swatch-label {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
[data-theme="dark"] .theme-preview {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.05);
}
.theme-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.theme-preview__tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand-primary-muted);
  color: var(--brand-primary);
}
.theme-preview__bar {
  display: flex;
  gap: 0;
  padding: 4px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(18, 16, 26, 0.05);
  margin-bottom: 12px;
  overflow: hidden;
}
[data-theme="dark"] .theme-preview__bar {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.05);
}
.theme-preview__bar span {
  flex: 1;
  height: 12px;
  border-radius: 0;
  min-width: 0;
}
.theme-preview__bar span:nth-child(1) { background: var(--brand-primary); }
.theme-preview__bar span:nth-child(2) { background: color-mix(in srgb, var(--brand-primary) 72%, white); }
.theme-preview__bar span:nth-child(3) { background: color-mix(in srgb, var(--brand-primary) 45%, white); }
.theme-preview__bar span:nth-child(4) { background: var(--brand-primary-muted); }
.theme-preview__bar span:first-child { border-radius: 999px 0 0 999px; }
.theme-preview__bar span:last-child { border-radius: 0 999px 999px 0; }
.theme-preview__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(92px, 1fr));
  gap: 8px;
  flex: 1;
  min-height: 284px;
  margin-bottom: 12px;
  align-items: stretch;
}
.theme-preview__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 92px;
  height: 100%;
  padding: 10px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(18, 16, 26, 0.05);
  box-sizing: border-box;
}
[data-theme="dark"] .theme-preview__card {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.05);
}
.theme-preview__card--accent {
  background: var(--brand-primary-muted);
  border-color: rgba(var(--brand-primary-rgb), 0.2);
}
.theme-preview__card--stack {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 8px;
}
.theme-preview__card--stack .theme-preview__card-body {
  width: 100%;
}
.theme-preview__card--has-badge {
  position: relative;
}
.theme-preview__card--accent .theme-preview__card-body {
  width: 100%;
}
.theme-preview__card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary-muted);
  color: var(--brand-primary);
  font-size: 12px;
  flex-shrink: 0;
}
.theme-preview__card--accent .theme-preview__card-icon {
  background: rgba(var(--brand-primary-rgb), 0.14);
}
[data-theme="dark"] .theme-preview__card--accent .theme-preview__card-icon {
  background: rgba(255, 255, 255, 0.08);
}
.theme-preview__card-body span,
.theme-preview__card-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
}
.theme-preview__card-body strong,
.theme-preview__card-value {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.2;
}
.theme-preview__card-delta {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  color: var(--brand-primary);
}
.theme-preview__card-delta i {
  font-size: 8px;
}
.theme-preview__card:not(.theme-preview__card--stack) > .theme-preview__card-value {
  margin-top: auto;
}
.theme-preview__card-value.is-sm { font-size: 14px; }
.theme-preview__card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.theme-preview__card-top em {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  color: var(--brand-primary);
}
.theme-preview__card-chart {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 32px;
  margin-top: auto;
}
.theme-preview__card-chart span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: color-mix(in srgb, var(--brand-primary) 72%, white);
}
.theme-preview__card-chart span:nth-child(odd) {
  background: var(--brand-primary);
  opacity: 0.85;
}
.theme-preview__card-tabs {
  display: flex;
  gap: 4px;
  margin-top: auto;
  padding: 3px;
  border-radius: 8px;
  background: #f7f8fa;
  border: 1px solid var(--border-subtle);
}
[data-theme="dark"] .theme-preview__card-tabs { background: #141226; }
.theme-preview__card-tabs span {
  flex: 1;
  text-align: center;
  padding: 5px 4px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 600;
  color: var(--text-muted);
}
.theme-preview__card-tabs span.is-active {
  background: var(--brand-primary);
  color: #fff;
}
.theme-preview__card-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(var(--brand-primary-rgb), 0.15);
  overflow: hidden;
  margin-top: auto;
}
.theme-preview__card-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-primary);
}
.theme-preview__card-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
  color: var(--text-muted);
}
.theme-preview__card-foot strong {
  color: var(--text-primary);
  font-weight: 600;
}
.theme-preview__card-foot strong.is-up {
  color: var(--brand-primary);
}
.theme-preview__ring-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  flex: 1;
  width: 100%;
  min-height: 0;
}
.theme-preview__ring-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.theme-preview__ring-label {
  font-size: 8px;
  color: var(--text-muted);
  white-space: nowrap;
  line-height: 1.2;
}
.theme-preview__card-ring {
  position: relative;
  width: 40px;
  height: 40px;
  margin: 0;
  flex-shrink: 0;
  color: var(--brand-primary);
}
.theme-preview__ring-item:nth-child(2) .theme-preview__card-ring {
  color: color-mix(in srgb, var(--brand-primary) 72%, white);
}
.theme-preview__ring-item:nth-child(3) .theme-preview__card-ring {
  color: color-mix(in srgb, var(--brand-primary) 45%, white);
}
.theme-preview__card-ring svg {
  width: 100%;
  height: 100%;
}
.theme-preview__card-ring span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  color: var(--text-primary);
}
.theme-preview__note {
  margin: 0;
  padding-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Web：落地页简版骨架预览（区别于 Pro 看板） */
.theme-preview--skeleton {
  background: color-mix(in srgb, var(--brand-primary) 4%, var(--bg-elevated, #fff));
  border-color: color-mix(in srgb, var(--brand-primary) 12%, var(--border-subtle));
  padding: 16px;
}
[data-theme="dark"] .theme-preview--skeleton {
  background: color-mix(in srgb, var(--brand-primary) 7%, #14121c);
  border-color: color-mix(in srgb, var(--brand-primary) 20%, transparent);
}
.theme-preview__skel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
  margin-bottom: 10px;
}
.theme-skel__bone {
  display: block;
  border-radius: 8px;
  background: color-mix(in srgb, var(--text-muted) 16%, transparent);
}
[data-theme="dark"] .theme-skel__bone {
  background: color-mix(in srgb, #fff 10%, transparent);
}
.theme-skel__bone--brand {
  background: var(--brand-primary);
}
.theme-skel__bone--brand-soft {
  background: color-mix(in srgb, var(--brand-primary) 28%, transparent);
}
.theme-skel__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-base) 90%, transparent);
  border: 1px solid var(--border-subtle);
}
.theme-skel__bone--logo {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  flex-shrink: 0;
}
.theme-skel__bone--link {
  width: 32px;
  height: 6px;
  border-radius: 999px;
}
.theme-skel__bone--nav-btn {
  width: 44px;
  height: 20px;
  margin-left: auto;
  border-radius: 6px;
  flex-shrink: 0;
}
.theme-skel__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(96px, 0.75fr);
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface-base) 92%, transparent);
  border: 1px solid var(--border-subtle);
}
.theme-skel__hero-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
  min-width: 0;
}
.theme-skel__bone--eyebrow {
  width: 52px;
  height: 8px;
  border-radius: 999px;
}
.theme-skel__bone--title {
  width: 90%;
  height: 12px;
}
.theme-skel__bone--title.is-short { width: 62%; }
.theme-skel__bone--line {
  width: 100%;
  height: 6px;
  border-radius: 999px;
}
.theme-skel__bone--line.is-mid { width: 70%; }
.theme-skel__bone--line.is-short { width: 48%; }
.theme-skel__hero-actions {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}
.theme-skel__bone--btn {
  width: 64px;
  height: 22px;
  border-radius: 6px;
}
.theme-skel__bone--media {
  min-height: 88px;
  height: 100%;
  border-radius: 10px;
}
.theme-skel__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.theme-skel__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-base) 92%, transparent);
  border: 1px solid var(--border-subtle);
}
.theme-skel__bone--icon {
  width: 22px;
  height: 22px;
  border-radius: 7px;
}
.theme-skel__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-base) 90%, transparent);
  border: 1px solid var(--border-subtle);
}
.theme-skel__bone--accent {
  width: 28px;
  height: 6px;
  margin-left: auto;
  border-radius: 999px;
  flex-shrink: 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.value-card {
  margin: 0;
  padding: 26px 24px 24px;
  overflow: hidden;
  transition:
    border-color var(--duration) var(--ease),
    box-shadow 0.22s var(--ease),
    transform 0.22s var(--ease);
}
.value-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 28px color-mix(in srgb, var(--brand-primary) 12%, transparent),
    var(--shadow-card);
}
.value-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.value-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-primary);
  background: var(--brand-primary);
  font-size: 18px;
  flex-shrink: 0;
}
.value-card__icon .fa-duotone {
  --fa-primary-color: var(--text-on-primary);
  --fa-secondary-color: var(--text-on-primary);
  --fa-primary-opacity: 1;
  --fa-secondary-opacity: 0.4;
}
.value-card__index {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: color-mix(in srgb, var(--brand-primary) 42%, transparent);
  user-select: none;
}
.value-kicker {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-primary);
  text-transform: uppercase;
}
.value-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.value-card > p:not(.value-kicker) {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.workflow-layout .step-grid.workflow-steps {
  display: grid;
  margin-bottom: 0;
  grid-template-columns: 1fr;
  gap: 12px;
}

.workflow-layout .step-pill {
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 14px;
  padding: 16px 18px;
}

.workflow-layout .step-pill__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-bottom: 0;
  font-size: 14px;
  border-radius: 10px;
}

.workflow-layout .step-pill__body {
  min-width: 0;
}

.workflow-layout .step-pill__title {
  margin-bottom: 4px;
}

.workflow-preview {
  min-width: 0;
  display: flex;
}

.workflow-preview .gallery-demo {
  width: 100%;
  max-width: none;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gallery-demo--interactive {
  position: relative;
}

.workflow-preview .gallery-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.workflow-preview .gallery-shell {
  flex: 1;
  min-height: 0;
}

.gallery-demo__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 280ms var(--ease),
    visibility 280ms var(--ease);
}

[data-theme="dark"] .gallery-demo__overlay {
  background: rgba(14, 12, 22, 0.28);
}

.gallery-demo__cta {
  height: 48px;
  padding: 0 24px;
  font-size: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 280ms var(--ease),
    transform 280ms var(--ease);
}

@media (hover: hover) {
  .gallery-demo--interactive:hover .gallery-demo__overlay,
  .gallery-demo--interactive:focus-within .gallery-demo__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .gallery-demo--interactive:hover .gallery-demo__cta,
  .gallery-demo--interactive:focus-within .gallery-demo__cta {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: none) {
  .gallery-demo__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    align-items: flex-end;
    padding-bottom: 16px;
    background: linear-gradient(
      to top,
      rgba(247, 248, 250, 0.96) 0%,
      rgba(247, 248, 250, 0.72) 26%,
      rgba(247, 248, 250, 0) 58%
    );
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  [data-theme="dark"] .gallery-demo__overlay {
    background: linear-gradient(
      to top,
      rgba(23, 23, 24, 0.96) 0%,
      rgba(23, 23, 24, 0.72) 26%,
      rgba(23, 23, 24, 0) 58%
    );
  }

  .gallery-demo__cta {
    opacity: 1;
    transform: none;
    position: relative;
    white-space: nowrap;
  }

  .gallery-main {
    padding-bottom: 76px;
  }
}

.gallery-demo {
  display: block;
  margin: 0 auto;
}

.gallery-stage {
  box-shadow:
    0 4px 8px rgba(48, 36, 120, 0.05),
    0 18px 40px rgba(48, 36, 120, 0.08);
}

.gallery-stage .pro-stage__chrome {
  border-bottom-color: rgba(18, 16, 26, 0.04);
}

[data-theme="dark"] .gallery-stage .pro-stage__chrome {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .gallery-stage {
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
}

.gallery-shell {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  min-height: 340px;
  background: #f7f8fa;
}

.gallery-shell--dr {
  grid-template-columns: 200px minmax(0, 1fr);
  min-height: 320px;
  background: color-mix(in srgb, var(--brand-primary) 3%, #f4f5f8);
}

[data-theme="dark"] .gallery-shell { background: #171718; }
[data-theme="dark"] .gallery-shell--dr {
  background: color-mix(in srgb, var(--brand-primary) 6%, #14141a);
}

.gallery-aside {
  padding: 16px 14px;
  background: #fff;
  border-right: 1px solid rgba(18, 16, 26, 0.04);
}

[data-theme="dark"] .gallery-aside {
  background: #232324;
  border-right-color: rgba(255, 255, 255, 0.05);
}

.gallery-aside--dr {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 12px;
}

.gallery-aside__label {
  margin: 4px 0 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.gallery-aside__label:first-child {
  margin-top: 0;
}

.gallery-aside__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gallery-aside__nav--kinds {
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(18, 16, 26, 0.06);
}

[data-theme="dark"] .gallery-aside__nav--kinds {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.gallery-aside__nav > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.3;
  transition: background 0.15s ease, color 0.15s ease;
}

.gallery-aside__nav--kinds > span {
  justify-content: flex-start;
  gap: 8px;
}

.gallery-aside__nav--kinds > span > i {
  width: 1em;
  flex-shrink: 0;
  text-align: center;
  opacity: 0.75;
}

.gallery-aside__nav--kinds > span .gallery-aside__nav-count {
  margin-left: auto;
}

.gallery-aside__nav--tree > span {
  min-height: 28px;
  padding-left: 12px;
  font-size: 12px;
}

.gallery-aside__nav-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-aside__nav-count {
  flex-shrink: 0;
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  background: rgba(18, 16, 26, 0.06);
  color: var(--text-muted);
}

[data-theme="dark"] .gallery-aside__nav-count {
  background: rgba(255, 255, 255, 0.08);
}

.gallery-aside__nav > span.is-active {
  background: var(--brand-primary-muted);
  color: var(--brand-primary);
  font-weight: 600;
}

.gallery-aside__nav > span.is-active .gallery-aside__nav-count {
  background: rgba(var(--brand-primary-rgb), 0.16);
  color: var(--brand-primary);
}

.workflow-preview .gallery-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.workflow-preview .gallery-cards {
  flex: 1;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  align-content: stretch;
}

.workflow-preview .gallery-cards--dr {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.workflow-preview .gallery-card {
  min-height: 0;
  height: 100%;
}

.gallery-main {
  min-width: 0;
  padding: 16px 16px 18px;
}

.gallery-main--dr {
  background: color-mix(in srgb, var(--surface-base) 70%, transparent);
}

.gallery-main__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(18, 16, 26, 0.04);
}

.gallery-main__head > div {
  min-width: 0;
}

[data-theme="dark"] .gallery-main__head {
  border-bottom-color: rgba(255, 255, 255, 0.04);
}

.gallery-main__head b {
  display: block;
  font-size: 15px;
  color: var(--text-primary);
}

.gallery-main__head span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-muted);
}

.gallery-main__head em {
  flex-shrink: 0;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-primary);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-primary-muted);
}

.gallery-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(18, 16, 26, 0.04);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

[data-theme="dark"] .gallery-card {
  background: #232324;
  border-color: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.gallery-card b {
  font-size: 13px;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-card i {
  font-style: normal;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-card em {
  font-style: normal;
  font-size: 10px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-card.is-active {
  border-color: rgba(var(--brand-primary-rgb), 0.28);
  background: color-mix(in srgb, var(--brand-primary) 4%, #fff);
  box-shadow: 0 0 0 1px rgba(var(--brand-primary-rgb), 0.08);
}

[data-theme="dark"] .gallery-card.is-active {
  border-color: rgba(var(--brand-primary-rgb), 0.32);
  background: rgba(var(--brand-primary-rgb), 0.1);
  box-shadow: 0 0 0 1px rgba(var(--brand-primary-rgb), 0.1);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  overflow: hidden;
}
.price-card.is-featured {
  border-color: color-mix(in srgb, var(--brand-primary) 45%, var(--border-default));
  box-shadow: 0 12px 32px rgba(var(--brand-primary-rgb), 0.12);
}
.price-card__badge {
  display: inline-flex;
  align-self: flex-start;
  height: 26px;
  padding: 0 10px;
  margin: 0 0 14px;
  align-items: center;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.28);
  background: var(--brand-primary-muted);
  color: var(--brand-primary-strong);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.price-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}
.price-card__desc {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.price-card__price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.price-card__price span {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.price-card__price strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.price-card__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.price-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
}
.price-card .btn {
  width: 100%;
}

.get-access-panel {
  padding: 0;
  overflow: hidden;
}

.get-access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: stretch;
}

.get-access-copy {
  padding: 36px 40px 40px;
}

.get-access-title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
}

.get-access-desc {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.get-access-benefits-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
}

.get-access-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.get-access-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.get-access-list li i {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 14px;
  line-height: 1;
  color: #22c55e;
}

[data-theme="dark"] .get-access-list li i {
  color: #4ade80;
}

.get-access-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 32px 40px;
  text-align: center;
  border-left: 1px solid var(--border-subtle);
  background: var(--surface-soft);
}

.get-access-qr__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.get-access-qr__desc {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.get-access-qr__frame {
  display: inline-block;
  padding: 4px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  line-height: 0;
}

[data-theme="dark"] .get-access-qr__frame {
  border-color: rgba(255, 255, 255, 0.12);
}

.get-access-qr__frame img {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.get-access-qr__btn {
  margin-top: 20px;
  min-width: 168px;
}

.faq-panel {
  margin-top: 8px;
}
.faq-panel .faq-item .faq-a {
  padding-left: 46px;
}

@media (max-width: 960px) {
  .hero { padding: 36px 8px 16px; }
  .first-screen__content { width: calc(100% - 28px); }
  .template-wall, .theme-studio__row { grid-template-columns: 1fr; }
  .comp-catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .comp-catalog__item:nth-child(5n) { border-right: 1px dashed color-mix(in srgb, var(--border-subtle) 90%, var(--text-muted)); }
  .comp-catalog__item:nth-child(3n) { border-right: none; }
  .comp-catalog__item:nth-last-child(-n+5) { border-bottom: 1px dashed color-mix(in srgb, var(--border-subtle) 90%, var(--text-muted)); }
  .comp-catalog__item:nth-last-child(-n+3) { border-bottom: none; }
  .workflow-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .workflow-layout .step-grid.workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .theme-studio__controls {
    padding: 0 0 16px;
  }
  .theme-studio__row--stack .theme-studio__controls {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .theme-studio__row--stack .theme-studio__swatches,
  .theme-studio__row--stack .theme-studio__features {
    grid-column: 1;
  }
  .theme-preview { margin-top: 0; }
  .theme-style-covers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-studio__feature-grid { grid-template-columns: 1fr; }
  .theme-skel__hero { grid-template-columns: 1fr; }
  .theme-skel__bone--media { min-height: 56px; }
  .theme-skel__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .price-grid { grid-template-columns: 1fr; }
  .get-access-layout {
    grid-template-columns: 1fr;
  }
  .get-access-qr {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }
  .get-access-copy,
  .get-access-qr {
    padding: 28px 24px 32px;
  }
  .pro-shell { grid-template-columns: 1fr; }
  .pro-aside, .gallery-aside { display: none; }
  .gallery-shell { grid-template-columns: 1fr; }
  .gallery-cards { grid-template-columns: 1fr 1fr; }
  .workflow-preview .gallery-stage,
  .workflow-preview .gallery-shell {
    flex: none;
    min-height: auto;
    height: auto;
  }
  .workflow-preview .gallery-cards {
    flex: none;
    grid-template-rows: none;
    align-content: start;
  }
  .workflow-preview .gallery-card {
    min-height: 72px;
    height: auto;
  }
  .pro-kpis { grid-template-columns: 1fr 1fr; }
  .pro-panels { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .first-screen { margin-top: -72px; padding-top: 72px; }
  .first-screen__content { padding: 18px 0 20px; }
  #features { margin-top: 28px; }
  .pro-stage__chrome { grid-template-columns: auto 1fr; }
  .pro-stage__status { display: none; }
  .workflow-steps { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .comp-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comp-catalog__item:nth-child(3n) {
    border-right: 1px dashed color-mix(in srgb, var(--border-subtle) 90%, var(--text-muted));
  }
  .comp-catalog__item:nth-child(2n) { border-right: none; }
  .comp-catalog__item:nth-last-child(-n+3) {
    border-bottom: 1px dashed color-mix(in srgb, var(--border-subtle) 90%, var(--text-muted));
  }
  .comp-catalog__item:nth-last-child(-n+2) { border-bottom: none; }
}

/* WEB 首屏：简净落地页骨架预览 */
.web-stage-body {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 380px;
  background: color-mix(in srgb, var(--brand-primary) 4%, var(--bg-elevated, #fff));
}
[data-theme="dark"] .web-stage-body {
  background: color-mix(in srgb, var(--brand-primary) 7%, #12141c);
}
.web-stage-bone {
  display: block;
  border-radius: 6px;
  background: color-mix(in srgb, var(--brand-primary) 14%, transparent);
}
[data-theme="dark"] .web-stage-bone {
  background: color-mix(in srgb, #fff 10%, transparent);
}
.web-stage-bone.is-soft {
  background: color-mix(in srgb, var(--brand-primary) 22%, transparent);
}
.web-stage-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--brand-primary) 10%, transparent);
}
.web-stage-bone--mark {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  flex-shrink: 0;
  background: var(--brand-primary);
}
.web-stage-bone--word {
  width: 64px;
  height: 7px;
  border-radius: 999px;
}
.web-stage-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.web-stage-bone--link {
  width: 32px;
  height: 6px;
  border-radius: 999px;
}
.web-stage-bone--cta {
  width: 48px;
  height: 22px;
  border-radius: 7px;
  flex-shrink: 0;
  background: var(--brand-primary);
}
.web-stage-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.web-stage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(120px, 0.75fr);
  gap: 12px;
  padding: 18px;
  min-height: 168px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface-base, #fff) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 10%, transparent);
}
[data-theme="dark"] .web-stage-hero {
  background: color-mix(in srgb, #1a1c26 92%, transparent);
}
.web-stage-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
  min-width: 0;
}
.web-stage-bone--eyebrow {
  width: 48px;
  height: 8px;
  border-radius: 999px;
}
.web-stage-bone--title {
  width: 88%;
  height: 12px;
}
.web-stage-bone--title.is-short { width: 62%; }
.web-stage-bone--line {
  width: 100%;
  height: 6px;
  border-radius: 999px;
}
.web-stage-bone--line.is-mid { width: 70%; }
.web-stage-bone--line.is-short { width: 48%; }
.web-stage-hero__actions {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}
.web-stage-bone--btn {
  width: 68px;
  height: 22px;
  border-radius: 7px;
  background: var(--brand-primary);
}
.web-stage-bone--btn.is-ghost {
  width: 56px;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 28%, transparent);
}
.web-stage-hero__media {
  display: flex;
  align-items: flex-end;
  min-height: 132px;
  height: 100%;
  padding: 14px 12px 12px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand-primary) 16%, transparent);
  box-sizing: border-box;
}
[data-theme="dark"] .web-stage-hero__media {
  background: color-mix(in srgb, var(--brand-primary) 22%, transparent);
}
.web-stage-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  width: 100%;
  height: 100%;
  min-height: 100px;
}
.web-stage-bars > span {
  flex: 1;
  height: var(--h, 50%);
  min-height: 12px;
  border-radius: 4px 4px 2px 2px;
  background: color-mix(in srgb, var(--brand-primary) 32%, transparent);
}
.web-stage-bars > span.is-accent {
  background: var(--brand-primary);
}
.web-stage-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.web-stage-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-base, #fff) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 10%, transparent);
}
[data-theme="dark"] .web-stage-card {
  background: color-mix(in srgb, #1a1c26 92%, transparent);
}
.web-stage-bone--icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
}
.web-stage-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-base, #fff) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 10%, transparent);
}
[data-theme="dark"] .web-stage-foot {
  background: color-mix(in srgb, #1a1c26 92%, transparent);
}
.web-stage-bone--dot {
  width: 28px;
  height: 6px;
  margin-left: auto;
  border-radius: 999px;
  background: var(--brand-primary);
}
@media (max-width: 720px) {
  .web-stage-hero { grid-template-columns: 1fr; min-height: 140px; }
  .web-stage-hero__media { min-height: 88px; }
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.chip-row span {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-secondary, #64748b);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 16%, transparent);
  background: color-mix(in srgb, var(--brand-primary) 6%, transparent);
}
.catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
}
.catalog-link:hover { opacity: 0.85; }
.template-head .catalog-link { margin-left: auto; }

/* =============================================================================
 * 本页营销区块样式（自 global.css 迁入）：特性栅格 / 导出卡 / 步骤 / FAQ / CTA
 * ============================================================================= */

.feature-card,
.step-pill,
.export-card,
.faq-item {
  background: var(--surface-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: visible;
  transition: border-color var(--duration) var(--ease);
}
.feature-card:hover,
.step-pill:hover,
.export-card:hover,
.faq-item:hover {
  border-color: color-mix(in srgb, var(--brand-primary) 35%, var(--border-default));
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  margin: 0;
  padding: 26px 24px 24px;
  overflow: hidden;
  transition:
    border-color var(--duration) var(--ease),
    box-shadow 0.22s var(--ease),
    transform 0.22s var(--ease);
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--brand-primary) 88%, transparent),
    color-mix(in srgb, var(--brand-primary) 28%, transparent)
  );
  pointer-events: none;
  z-index: 2;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 28px color-mix(in srgb, var(--brand-primary) 12%, transparent),
    var(--shadow-card);
}
.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--text-on-primary);
  background: var(--brand-primary);
  font-size: 18px;
  border: none;
}
.feature-card__icon .fa-duotone {
  --fa-primary-color: var(--text-on-primary);
  --fa-secondary-color: var(--text-on-primary);
  --fa-primary-opacity: 1;
  --fa-secondary-opacity: 0.4;
}
.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.export-card {
  padding: 28px 22px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color .15s ease, box-shadow .2s ease;
}
.export-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 18px 40px rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .export-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}
.export-ext {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.28);
  background: var(--brand-primary-muted);
  color: var(--brand-primary-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  font-family: ui-monospace, Consolas, monospace;
}
[data-theme="dark"] .export-ext {
  background: rgba(var(--brand-primary-rgb), 0.14);
  border-color: rgba(var(--brand-primary-rgb), 0.32);
  color: var(--brand-primary);
}
.export-card h3 { font-size: 16px; margin: 0 0 10px; }
.export-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 16em;
}

/* 默认五列横排；workflow 侧栏用 .workflow-steps 覆盖为单列（见上） */
.step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.workflow-layout .step-grid.workflow-steps {
  grid-template-columns: 1fr;
  gap: 12px;
}
.step-pill {
  padding: 28px 18px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-pill__num {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary);
  color: #fff;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  font-family: var(--font-display);
  box-shadow: 0 8px 20px rgba(var(--brand-primary-rgb), 0.28);
}
.step-pill__title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.step-pill__meta {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { overflow: hidden; }
.faq-item .faq-q-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}
.faq-item .faq-q-btn:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: -2px;
}
.faq-item .faq-q {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.faq-item .faq-index {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-primary);
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.faq-item .faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.02);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}
.faq-item .faq-toggle::before {
  content: "+";
}
[data-theme="dark"] .faq-item .faq-toggle {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}
.faq-item.is-open .faq-toggle {
  color: var(--brand-primary);
  border-color: rgba(var(--brand-primary-rgb), 0.18);
  background: rgba(var(--brand-primary-rgb), 0.06);
}
.faq-item.is-open .faq-toggle::before {
  content: "×";
}
.faq-item .faq-a {
  display: none;
  padding: 0 18px 18px 52px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.faq-item.is-open .faq-a {
  display: block;
}

/* Signalry 底部 CTA：渐变主色 + SVG 点阵（径向淡出）+ 居中竖排 */
/* 仅 CTA 装饰底保持 absolute；勿用 [aria-hidden] 通配，会误伤卡片图标 */
.cta-band > .cta-band__bg {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
}
.cta-band {
  margin-top: 88px;
  padding: clamp(56px, 7vw, 88px) clamp(28px, 5vw, 64px);
  display: block;
  text-align: center;
  color: #fff;
  border: none;
  border-radius: calc(var(--radius-card) + 8px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 80% 70% at 18% 12%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 65% at 88% 88%, rgba(255, 255, 255, 0.1), transparent 52%),
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--brand-primary) 88%, #fff) 0%,
      var(--brand-primary) 46%,
      color-mix(in srgb, var(--brand-primary) 78%, #1a1030) 100%
    );
  box-shadow: 0 24px 56px rgba(var(--brand-primary-rgb), 0.28);
}
.cta-band > .cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}
.cta-band__dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  color: rgba(255, 255, 255, 0.28);
  opacity: 0.85;
  -webkit-mask-image: radial-gradient(ellipse 68% 58% at 50% 48%, #000 22%, transparent 74%);
  mask-image: radial-gradient(ellipse 68% 58% at 50% 48%, #000 22%, transparent 74%);
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}
.cta-band__copy {
  max-width: 48em;
  width: 100%;
}
.cta-band h2 {
  color: #fff;
  margin: 0 0 14px;
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.22;
  text-wrap: balance;
}
.cta-band p {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
  max-width: 44em;
  font-size: 16px;
  line-height: 1.7;
}
.cta-band .actions {
  margin-top: 4px;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta-band .btn-primary {
  background: #fff;
  border-color: #fff;
  color: var(--brand-primary);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.cta-band .btn-primary:hover {
  background: #fff;
  color: var(--brand-primary-strong);
  transform: translateY(-1px);
}
.cta-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}
.cta-band .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}


/* 上列区块的窄屏规则（自 global 媒体查询拆出） */
@media (max-width: 960px) {
  .feature-grid, .grid-3 { grid-template-columns: 1fr 1fr; }
  .step-grid:not(.workflow-steps) { grid-template-columns: 1fr 1fr; }
  .workflow-layout .step-grid.workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .feature-grid, .grid-3 { grid-template-columns: 1fr; }
  .step-grid:not(.workflow-steps) { grid-template-columns: 1fr; }
  .workflow-layout .step-grid.workflow-steps { grid-template-columns: 1fr; }
  .cta-band {
    padding: 48px 22px;
    margin-top: 64px;
    border-radius: var(--radius-card);
  }
  .cta-band__inner { gap: 22px; }
  .cta-band .actions { width: 100%; }
  .cta-band .actions .btn { flex: 1 1 auto; justify-content: center; }
  .faq-item .faq-a { padding-left: 18px; }
}