/* ============================================================================
   SermonBridge design system — Rev 19（2026-11-10 老板第 9 轮）
   方向：Sanctuary Neutral —— 近乎无彩的高级灰阶（石墨 → 暖白），
   靠排版（衬线标题 + 中性无衬线正文）、留白、玻璃与发丝线出质感。
   明确去掉「深色 + 高饱和暖金」的冲突配色；暖色只留在品牌标记的极小细节里。
   所有类以 sb- 前缀或专属语义命名，避免与 Tailwind CDN 工具类打架。
   ========================================================================== */

:root {
  /* 灰阶（极轻冷调，不做彩） */
  --ink: #0B0C0D;
  --ink-2: #141517;
  --ink-3: #1E2023;
  --graphite: #2C2F33;
  --paper: #F5F5F6;
  --paper-2: #ECECEE;
  --paper-3: #E3E3E6;
  --white: #FFFFFF;

  --text: #131416;
  --text-2: #4C4F55;
  --muted: #7A7E85;
  --line: rgba(12, 13, 15, .11);
  --line-2: rgba(12, 13, 15, .06);

  /* 唯一交互色：钢灰（去饱和，不暖、不紫） */
  --steel: #4A5568;

  --font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans", "Malgun Gothic", "Microsoft YaHei", Roboto, sans-serif;
  --font-display: "Newsreader", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC",
    "Hiragino Mincho ProN", "MS Mincho", Georgia, serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-1: 0 1px 2px rgba(10, 11, 13, .05);
  --shadow-2: 0 16px 40px -26px rgba(10, 11, 13, .35);
}

html { scroll-behavior: smooth; }

body.sb-body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -.006em;
}

/* 标题统一走衬线（内页 h1 也自动继承，无需逐页改模板） */
body.sb-body h1,
body.sb-body h2,
body.sb-body .sb-title,
body.sb-body .sb-cta-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.02em;
}

::selection { background: var(--ink); color: #fff; }

/* ------------------------------------------------------------------ layout */
.sb-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sb-section { padding: clamp(64px, 8vw, 120px) 0; }
.sb-center { text-align: center; }

/* ------------------------------------------------------------------ header（浅色玻璃，压在深色首屏之上） */
.sb-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 245, 246, .82);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  backdrop-filter: blur(20px) saturate(120%);
  border-bottom: 1px solid var(--line-2);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.sb-header.is-scrolled {
  background: rgba(245, 245, 246, .94);
  box-shadow: 0 1px 0 var(--line);
}
.sb-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 64px; }
.sb-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.sb-brand img { height: 30px; width: auto; display: block; }
@media (min-width: 640px) { .sb-brand img { height: 34px; } }

.sb-links { display: flex; align-items: center; gap: 22px; font-size: 14.5px; min-width: 0; }
.sb-links a {
  color: var(--text-2); text-decoration: none; white-space: nowrap;
  transition: color .2s var(--ease);
}
.sb-links a:hover { color: var(--ink); }
.sb-links a.is-on { color: var(--ink); font-weight: 600; }
.sb-links .sb-cta {
  color: #fff; font-weight: 600;
  padding: 9px 18px; border-radius: var(--r-sm);
  background: var(--ink);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.sb-links .sb-cta:hover { color: #fff; background: #000; }
@media (max-width: 639px) { .sb-hide-sm { display: none !important; } }

/* 2026-11-13 PWA+手机导航修复:窄屏导航横滑(scrollable),关键页面(pricing/faq/login)不再被 sb-hide-sm 藏掉,
   375px 宽下所有主要页面可达;横滑条不显示滚动条,手势左右滑即可 */
@media (max-width: 639px) {
  .sb-links {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
  }
  .sb-links::-webkit-scrollbar { display: none; }
  .sb-links > * { flex: 0 0 auto; }
  .sb-lang { flex-shrink: 0; }
}

/* 语言切换 */
.sb-lang { position: relative; }
.sb-lang > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-2); font-size: 13px; font-weight: 600; letter-spacing: .04em;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .7);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.sb-lang > summary:hover { border-color: rgba(12, 13, 15, .22); color: var(--ink); }
.sb-lang > summary::-webkit-details-marker { display: none; }
.sb-lang-caret { width: 9px; height: 9px; opacity: .5; }
.sb-lang-menu {
  position: absolute; right: 0; margin-top: 10px; width: 176px; padding: 6px;
  border-radius: var(--r-md); background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -22px rgba(10, 11, 13, .45); z-index: 70;
  animation: sbMenu .22s var(--ease);
}
@keyframes sbMenu { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.sb-lang-menu a {
  display: block; padding: 9px 12px; border-radius: var(--r-sm);
  color: var(--text-2); font-size: 14px; text-decoration: none;
}
.sb-lang-menu a:hover { background: var(--paper-2); color: var(--ink); }
.sb-lang-menu a.is-on { color: var(--ink); font-weight: 700; background: var(--paper-2); }

/* ------------------------------------------------------------------ hero */
.sb-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 50% -20%, #202227 0%, #121316 46%, #0A0A0C 100%);
  color: #fff;
  padding: clamp(52px, 7vw, 96px) 0 clamp(64px, 9vw, 112px);
}
.sb-hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(72% 58% at 50% 26%, #000 0%, transparent 76%);
  mask-image: radial-gradient(72% 58% at 50% 26%, #000 0%, transparent 76%);
}
.sb-glow {
  position: absolute; border-radius: 50%; z-index: -1; pointer-events: none;
  width: 720px; height: 720px; left: 50%; top: -300px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 255, 255, .10), transparent 62%);
  filter: blur(30px);
  animation: sbGlow 22s ease-in-out infinite;
}
@keyframes sbGlow {
  0%, 100% { opacity: .75; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
.sb-hero-logo { display: block; margin: 0 auto; height: 124px; width: auto; }
@media (min-width: 640px) { .sb-hero-logo { height: 168px; } }
.sb-hero h1 {
  margin: clamp(28px, 4vw, 44px) auto 0; max-width: 15em;
  font-size: clamp(2.1rem, 4.8vw, 3.9rem); line-height: 1.06;
  font-weight: 400; letter-spacing: -.028em; text-wrap: balance;
  color: #fff;
}
.sb-hero-sub {
  margin: 22px auto 0; max-width: 42rem;
  font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.78;
  color: rgba(255, 255, 255, .58);
}
/* 韩/日/中 断行：词组内不拆字（否则会出现 “언 / 어” 这种断在词中间） */
body.sb-body h1, body.sb-body h2, body.sb-body h3, body.sb-body p, body.sb-body li {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.sb-hero-note { margin: 18px auto 0; max-width: 40rem; font-size: .84rem; line-height: 1.7; color: rgba(255, 255, 255, .38); }
.sb-hero-note b { color: rgba(255, 255, 255, .86); font-weight: 600; }

/* 语言 chips（可点，与右上角同一套切换） */
.sb-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 30px auto 0; }
.sb-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .03em;
  color: rgba(255, 255, 255, .70); text-decoration: none;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: all .25s var(--ease);
}
.sb-chip:hover { color: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); }
.sb-chip .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .55; }
.sb-chip.is-on { color: var(--ink); background: #fff; border-color: #fff; font-weight: 600; }
.sb-chip.is-on .dot { opacity: 1; }

/* ------------------------------------------------------------------ buttons */
.sb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 13px 24px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .22s var(--ease), background .22s var(--ease),
    box-shadow .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.sb-btn:hover { transform: translateY(-1px); }
.sb-btn-primary { color: #fff; background: var(--ink); box-shadow: var(--shadow-1); }
.sb-btn-primary:hover { color: #fff; background: #000; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .7); }
.sb-btn-light { color: var(--ink); background: #fff; box-shadow: var(--shadow-1); }
.sb-btn-light:hover { color: var(--ink); background: #fff; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .45); }
.sb-btn-ghost {
  color: rgba(255, 255, 255, .88); background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18);
}
.sb-btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .32); }
.sb-btn-line { color: var(--ink); background: #fff; border-color: var(--line); }
.sb-btn-line:hover { color: var(--ink); border-color: rgba(12, 13, 15, .26); }
.sb-cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 34px; }

/* ------------------------------------------------------------------ surfaces */
.sb-glass {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(22px) saturate(120%);
  backdrop-filter: blur(22px) saturate(120%);
  box-shadow: var(--shadow-2);
  border-radius: var(--r-lg);
}
.sb-glass-dark {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .10);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  backdrop-filter: blur(24px) saturate(120%);
  border-radius: var(--r-lg);
}

/* ------------------------------------------------------------------ section head */
.sb-kicker {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.sb-kicker.on-dark { color: rgba(255, 255, 255, .45); }
.sb-title {
  margin-top: 16px; font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.14; font-weight: 500; letter-spacing: -.024em; color: var(--ink);
  text-wrap: balance;
}
.sb-sub { margin: 18px auto 0; max-width: 40rem; font-size: 1rem; line-height: 1.8; color: var(--muted); }
.sb-head { text-align: center; max-width: 44rem; margin: 0 auto; }

/* ------------------------------------------------------------------ demo */
.sb-seg {
  display: inline-flex; gap: 4px; padding: 4px;
  border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line-2);
}
/* 分段切换 + 「查看在线演示」并排：按钮就贴在视频上方，第一眼能看到 */
.sb-seg-row {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; margin: 34px 0 20px;
}
.sb-seg-row .sb-btn { margin: 0; }
.sb-tab {
  appearance: none; cursor: pointer; border: 0; background: transparent;
  padding: 9px 20px; border-radius: 999px;
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--muted);
  transition: color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.sb-tab:hover { color: var(--ink); }
.sb-tab[aria-selected="true"] {
  color: var(--ink); background: #fff;
  box-shadow: 0 1px 3px rgba(10, 11, 13, .14);
}
.sb-player {
  padding: 8px; overflow: hidden; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
}
.sb-player video {
  display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px;
  background: #0A0A0C; object-fit: cover;
}
.sb-demo-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
.sb-hint { font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 32rem; }
.sb-demo-list {
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center;
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-2);
  font-size: 13px; color: var(--text-2);
}
.sb-demo-list span { display: inline-flex; align-items: center; gap: 8px; }
.sb-demo-list span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink); opacity: .35;
}

/* ------------------------------------------------------------------ layer cards */
.sb-grid-3 { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 52px; }
@media (min-width: 768px) { .sb-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.sb-card {
  position: relative; overflow: hidden;
  padding: 32px 28px 30px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line-2);
  box-shadow: var(--shadow-1);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.sb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -34px rgba(10, 11, 13, .5);
  border-color: var(--line);
}
.sb-card-ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--line-2);
}
.sb-card h3 {
  margin: 20px 0 0; font-size: 1.06rem; font-weight: 650; letter-spacing: -.012em; color: var(--ink);
}
.sb-card p.lead { margin: 9px 0 0; font-size: 1.04rem; line-height: 1.62; font-weight: 600; color: var(--ink); }
.sb-card ul { list-style: none; margin: 22px 0 0; padding: 0; }
.sb-card li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 0; font-size: .87rem; line-height: 1.66; color: var(--text-2);
  border-top: 1px solid var(--line-2);
}
.sb-card li:first-child { border-top: 0; }
.sb-card li svg { flex: 0 0 auto; margin-top: 3px; color: var(--ink); opacity: .55; }

/* ------------------------------------------------------------------ steps (dark) */
.sb-dark {
  position: relative; overflow: hidden;
  background: radial-gradient(110% 90% at 50% 0%, #1B1D21 0%, #101113 55%, #0A0A0C 100%);
  color: #fff;
}
.sb-steps { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 52px; }
@media (min-width: 768px) { .sb-steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.sb-step { padding: 30px 28px 32px; position: relative; }
.sb-step .num {
  font-size: 11.5px; font-weight: 600; letter-spacing: .2em;
  color: rgba(255, 255, 255, .42);
}
.sb-step h3 { margin: 14px 0 0; font-size: 1.04rem; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.sb-step p { margin: 10px 0 0; font-size: .89rem; line-height: 1.74; color: rgba(255, 255, 255, .55); }
.sb-step .rule { height: 1px; background: rgba(255, 255, 255, .12); margin: 20px 0 0; }

/* ------------------------------------------------------------------ final cta */
.sb-cta-band { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0; }
.sb-cta-card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: radial-gradient(120% 150% at 50% 0%, #22242A 0%, #111214 58%, #0A0A0C 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 50px 90px -60px rgba(10, 11, 13, .9);
}
.sb-cta-card h2 {
  margin: 26px auto 0; max-width: 20em;
  font-size: clamp(1.55rem, 3vw, 2.4rem); font-weight: 400; letter-spacing: -.026em;
  line-height: 1.16; color: #fff; text-wrap: balance;
}
.sb-cta-card p { margin: 16px auto 0; max-width: 34rem; font-size: .95rem; line-height: 1.74; color: rgba(255, 255, 255, .55); }
.sb-cta-card .sb-btn { margin-top: 32px; }

/* ------------------------------------------------------------------ footer */
.sb-footer { background: #0A0A0C; color: rgba(255, 255, 255, .5); border-top: 1px solid rgba(255, 255, 255, .06); }
.sb-footer .sb-wrap { padding-top: 52px; padding-bottom: 44px; }
.sb-footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.sb-footer-brand img { height: 26px; width: auto; opacity: .92; }
.sb-footer-links { display: flex; flex-wrap: wrap; gap: 14px 24px; font-size: 13.5px; }
.sb-footer-links a { color: rgba(255, 255, 255, .62); text-decoration: none; transition: color .2s var(--ease); }
.sb-footer-links a:hover { color: #fff; }
.sb-footer-note { margin-top: 26px; font-size: 11.5px; line-height: 1.8; color: rgba(255, 255, 255, .40); max-width: 62rem; }

/* ------------------------------------------------------------------ PWA 安装条（低调，不做大黄条） */
/* 导航栏常驻「安装到桌面」：小胶囊，手机上只留图标 + 短词 */
.sb-install-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1;
  color: var(--ink); background: #fff;
  border: 1px solid rgba(12, 13, 15, .18);
  padding: 8px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.sb-install-btn:hover { background: var(--paper-2); border-color: rgba(12, 13, 15, .32); }
.sb-install-btn svg { width: 15px; height: 15px; opacity: .8; }
@media (max-width: 639px) {
  .sb-install-btn { padding: 8px 9px; }
  .sb-install-btn span { display: none; }
}
/* 窄屏：导航里多了「安装」按钮，logo/CTA 收紧，避免挤爆 */
@media (max-width: 430px) {
  .sb-nav { padding-left: 12px; padding-right: 12px; }
  .sb-brand img { height: 26px; }
  .sb-links { gap: 8px; }
  .sb-links .sb-cta { padding: 8px 12px; }
  .sb-lang > summary { padding: 7px 9px; }
}

/* 安装指引弹窗：浏览器不给自动唤起时，按平台给出照做的路径 */
.sb-howto {
  display: none; position: fixed; inset: 0; z-index: 80;
  background: rgba(10, 11, 13, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 20px;
}
.sb-howto.is-open { display: flex; }
.sb-howto-card {
  position: relative; max-width: 420px; width: 100%;
  background: #fff; border-radius: var(--r-lg);
  padding: 26px 26px 24px; box-shadow: 0 40px 80px -40px rgba(10, 11, 13, .5);
}
.sb-howto-title {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 500;
  color: var(--ink); letter-spacing: -.01em;
}
.sb-howto-text { margin-top: 12px; font-size: .92rem; line-height: 1.75; color: var(--text-2); }
.sb-howto-x {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px; border-radius: 999px;
  border: 0; background: var(--paper-2); color: var(--text-2);
  font-size: 13px; cursor: pointer;
}
.sb-howto-x:hover { background: var(--paper-3); color: var(--ink); }

/* ------------------------------------------------------------------ motion */
.sb-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.sb-reveal.is-in { opacity: 1; transform: none; }
.sb-d1 { transition-delay: .07s; }
.sb-d2 { transition-delay: .14s; }
.sb-d3 { transition-delay: .21s; }
.sb-d4 { transition-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sb-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sb-glow { animation: none !important; }
  .sb-btn:hover, .sb-card:hover { transform: none; }
}

/* ============================================================================
   存量页面统一层（定价 / FAQ / 登录 / 注册 / 工作台 / 分享 / 反馈 / 404）
   这些模板仍是 Tailwind 的工具类，逐页重写回归风险高。
   这里用更高特异性 + 少量 !important 一次统一到中性色系与同一套表单质感。
   ========================================================================== */

/* 主按钮：靛蓝 → 石墨黑 */
body .bg-indigo-600 {
  background: var(--ink) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 1px 2px rgba(10, 11, 13, .18) !important;
}
body .bg-indigo-600:hover,
body .hover\:bg-indigo-700:hover,
body .hover\:bg-indigo-600:hover {
  background: #000 !important;
  filter: none !important;
}
body .bg-indigo-500 { background: var(--graphite) !important; color: #fff !important; }

/* 文字 / 底色 / 描边 / 焦点环：靛蓝 → 钢灰或中性灰 */
body .text-indigo-500,
body .text-indigo-600,
body .text-indigo-700,
body .text-indigo-800 { color: var(--steel) !important; }
body .bg-indigo-50,
body .bg-indigo-100 { background: var(--paper-2) !important; }
body .hover\:bg-indigo-50:hover,
body .hover\:bg-indigo-100:hover { background: var(--paper-3) !important; }
body .border-indigo-100,
body .border-indigo-200,
body .border-indigo-300,
body .border-indigo-400,
body .border-indigo-500,
body .border-indigo-600 { border-color: rgba(12, 13, 15, .2) !important; }
body .ring-indigo-100,
body .ring-indigo-200 { --tw-ring-color: rgba(12, 13, 15, .07) !important; }
/* 暖色（琥珀/橙/黄）→ 中性石墨（老板：深色配暖色"太软"，冷暖不要再混） */
body .text-amber-200,
body .text-amber-300 { color: #C9CCD1 !important; }
body .text-amber-400,
body .text-amber-500,
body .text-amber-600,
body .text-amber-700,
body .text-amber-800 { color: var(--steel) !important; }
body .bg-amber-50,
body .bg-amber-100 { background: var(--paper-2) !important; }
body .bg-amber-400,
body .bg-amber-500,
body .bg-amber-600,
body .bg-amber-700 { background: var(--ink) !important; color: #fff !important; }
body .hover\:bg-amber-400:hover,
body .hover\:bg-amber-500:hover,
body .hover\:bg-amber-600:hover,
body .hover\:bg-amber-700:hover { background: #000 !important; }
body .border-amber-100,
body .border-amber-200,
body .border-amber-300 { border-color: var(--line) !important; }

/* 成功态（绿/翠）→ 钢灰，语义由文字承担 */
body .text-emerald-500,
body .text-emerald-600,
body .text-emerald-700,
body .text-green-600,
body .text-green-700 { color: var(--steel) !important; }
body .bg-emerald-50,
body .bg-emerald-100,
body .bg-green-50,
body .bg-green-100 { background: var(--paper-2) !important; }
body .border-emerald-100,
body .border-emerald-200,
body .border-green-200 { border-color: var(--line) !important; }

/* 错误态：唯一保留的彩色，压低饱和度的砖红（要看得见，但不抢色） */
body .text-red-500,
body .text-red-600,
body .text-red-700,
body .text-red-800,
body .text-rose-600 { color: #9B3A31 !important; }
body .bg-red-50,
body .bg-red-100,
body .bg-rose-50 { background: rgba(155, 58, 49, .07) !important; }
body .border-red-200 { border-color: rgba(155, 58, 49, .22) !important; }
body .bg-red-600,
body .bg-rose-500 { background: #9B3A31 !important; color: #fff !important; }
body .hover\:bg-rose-600:hover { background: #82302A !important; }

/* 其余彩色（紫/天蓝/橙/青）→ 中性 */
body .text-violet-500,
body .text-violet-600,
body .text-orange-500,
body .text-orange-600,
body .text-sky-700,
body .text-teal-600 { color: var(--steel) !important; }
body .bg-sky-50,
body .bg-violet-50,
body .bg-orange-50,
body .bg-teal-50 { background: var(--paper-2) !important; }
body .border-violet-100,
body .border-orange-100,
body .border-sky-200,
body .border-teal-200,
body .border-rose-100 { border-color: var(--line) !important; }
body .hover\:bg-slate-50:hover { background: var(--paper-2) !important; }

/* 表单控件：统一圆角、发丝线、克制的焦点态 */
body.sb-body input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):not([type="range"]):not([type="file"]):not([type="submit"]):not([type="button"]),
body.sb-body textarea,
body.sb-body select {
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  color: var(--text) !important;
  background: #fff !important;
  border: 1px solid rgba(12, 13, 15, .16) !important;
  border-radius: var(--r-sm) !important;
  padding: 11px 13px !important;
  box-shadow: none !important;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease) !important;
  -webkit-appearance: none;
  appearance: none;
}
body.sb-body input::placeholder,
body.sb-body textarea::placeholder { color: #A9ACB2 !important; }
body.sb-body input:focus,
body.sb-body textarea:focus,
body.sb-body select:focus {
  outline: none !important;
  border-color: #8E9299 !important;
  box-shadow: 0 0 0 3px rgba(12, 13, 15, .06) !important;
}
body.sb-body select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A7E85' stroke-width='2.4' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 13px center !important;
  padding-right: 36px !important;
}
body.sb-body label { color: var(--text-2); }
body.sb-body input[type="checkbox"],
body.sb-body input[type="radio"] { accent-color: var(--ink); }

/* 通用白卡片（内页 .bg-white.rounded-*）加发丝线与极轻投影 */
body.sb-body .bg-white.rounded-2xl,
body.sb-body .bg-white.rounded-xl,
body.sb-body .bg-white.rounded-3xl {
  box-shadow: var(--shadow-1);
  border-color: var(--line-2);
}

/* 正文色阶统一到中性灰（Tailwind 的 slate 偏蓝） */
body.sb-body .text-slate-500,
body.sb-body .text-slate-400 { color: var(--muted) !important; }
body.sb-body .text-slate-600,
body.sb-body .text-slate-700 { color: var(--text-2) !important; }
body.sb-body .bg-slate-50,
body.sb-body .bg-slate-100 { background: var(--paper-2) !important; }
body.sb-body .border-slate-200,
body.sb-body .border-slate-300 { border-color: var(--line) !important; }

/* 圣经常用入口的紫色 → 中性（老板要求去彩） */
body .border-purple-100,
body .border-purple-200 { border-color: var(--line) !important; }
body .hover\:bg-purple-50:hover,
body .bg-purple-50 { background: var(--paper-2) !important; }
body .text-purple-500,
body .text-purple-600 { color: var(--steel) !important; }


/* ── 促销横幅(2026-11-13):限时优惠码,landing CTA 卡上方;web6(2026-11-13)间距:上 56px(答案→横幅呼吸感≥48px)/下 40px 与定价行节奏统一 ──
   web7(2026-11-13)真机贴脸根因:web6 只改本文件未 bump base.html 的 ?v= 缓存参数,手机按旧 URL 命中 web4c 态缓存(margin:0 auto)。
   已核无断点覆盖/无 margin 折叠吃距;修复=base.html ?v→20261113c + 断点内重申 margin(见下)。改本文件必须同步 bump ?v=。 */
.sb-promo-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  max-width: 46rem; margin: 56px auto 40px; padding: 18px 22px;
  background: linear-gradient(135deg, #191204, #2c1f06);
  border: 1px solid rgba(245, 185, 66, .5);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 44px -28px rgba(245, 185, 66, .55);
}
.sb-promo-banner strong { display: block; color: #F5B942; font-weight: 700; font-size: 1.03rem; letter-spacing: .01em; }
.sb-promo-banner span { display: block; margin-top: 6px; color: rgba(255, 255, 255, .84); font-size: .92rem; line-height: 1.62; }
.sb-promo-btn {
  flex: 0 0 auto; padding: 11px 20px; border-radius: 999px;
  background: #F5B942; color: #191204; font-weight: 700; font-size: .92rem;
  text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.sb-promo-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -12px rgba(245, 185, 66, .7); }
@media (max-width: 639px) {
  /* web7(2026-11-13):移动端断点内重申上 56px 间距(答案→横幅),与桌面同值显式化,防后续断点改排时被吃掉 */
  .sb-promo-banner { flex-direction: column; align-items: flex-start; gap: 12px; margin: 56px auto 40px; }
  .sb-promo-btn { width: 100%; text-align: center; }
}

/* ─── promo banner web4c-ui (2026-11-13): 按钮统一橙黄底黑字 + 展开区浅黄面板黑码纵向 + nosub 安心行 ─── */
.sb-hide{display:none!important}
.sb-promo-actions{display:flex;flex-direction:column;gap:.5rem;flex-shrink:0}
@media(min-width:640px){.sb-promo-actions{flex-direction:row}}
.sb-promo-banner button.sb-promo-btn{font:inherit;border:none;cursor:pointer;background:#F5B942;color:#191204;font-weight:800}
.sb-promo-banner button.sb-promo-btn:hover{background:#e0a52f}
.sb-promo-btn-alt{background:#F5B942!important;color:#191204!important}
.sb-promo-btn-alt:hover{background:#e0a52f!important}
.sb-promo-result{display:flex;flex-direction:column;align-items:center;gap:.65rem;margin:.9rem auto 0;padding:1rem 1.25rem;border-radius:.9rem;background:#FFFBEB;border:1px solid #F5B942;max-width:520px}
.sb-promo-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:900;font-size:1.7rem;letter-spacing:.18em;color:#111827;text-align:center;line-height:1.2}
.sb-promo-copy{font:inherit;font-weight:800;cursor:pointer;border:2px solid #111827;background:#fff;color:#111827;border-radius:.6rem;padding:.4rem 1.1rem}
.sb-promo-copy:hover{background:#111827;color:#fff}
.sb-promo-go{font-weight:800;color:#fff!important;background:#111827;border-radius:.6rem;padding:.45rem 1.2rem;text-decoration:none}
.sb-promo-go:hover{background:#000}
.sb-promo-left{font-size:.85rem;color:#6b7280;font-weight:600}
.sb-promo-empty{font-size:.9rem;color:#b91c1c;font-weight:700}
.sb-promo-banner .sb-promo-nosub{display:block;margin-top:8px;color:#F5B942;font-size:.85rem;line-height:1.6;font-weight:600}

/* ─── geo price tiers (2026-11-13 web5): 白底深色大字(去黑底高亮块),档名 700 加粗约 1.5 倍正文,尾部「教众免费」金橙强调,上下留白 ≥32px ───
   web7(2026-11-13)窄屏溢出修复:根因=max-width:44ch 在 400px 视口(内容区 352px)下盒子超宽,margin auto 过约束退化为 0,盒子靠左溢出右侧被切。
   → font-size clamp(1.05rem,4.5vw,1.5rem) 窄屏缩字;max-width min(44ch,100%) 桌面保持 44ch、窄屏封顶 100% 自然换行居中。
   左右留白由容器 .sb-wrap 的 24px padding 保证(≥16px);金色强调 span(.sb-price-free)为 JS 拆句追加,纯 CSS 改动不影响。 */
.sb-price-tiers{
  font-size:clamp(1.05rem,4.5vw,1.5rem);font-weight:700;text-align:center;
  color:rgba(12,13,15,.9);background:transparent;
  margin:40px auto 36px;max-width:min(44ch,100%);line-height:1.6;letter-spacing:.01em;
}
.sb-price-tiers .sb-price-free{color:#C98A10;font-weight:700}
