/* 与 public_web/src/styles/global.css 营销区（.marketing-shell）对齐，供独立静态页引用 */
:root {
  --bg: #f6f8fc;
  --card: #fff;
  --text: #0f172a;
  --muted: #5c5c5c;
  --sub: #64748b;
  --border: #e2e4e8;
  --line: #e2e8f0;
  --primary: #2563eb;
  --primary-d: #1d4ed8;
  --primary-soft: #eff6ff;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 48px rgba(15, 23, 42, 0.1);
  --mkt-max: 1320px;
  --accent: var(--primary);
  --danger: #b02a37;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.5;
}

.marketing-shell {
  --console-line: #e7ebf3;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f6f8fc 42%, #f3f6fb 100%);
}

.marketing-shell a {
  color: inherit;
  text-decoration: none;
}

.marketing-shell .wrap {
  width: min(var(--mkt-max), calc(100% - 32px));
  margin: 0 auto;
}

.marketing-shell .nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 252, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.marketing-shell .nav-inner {
  height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 16px;
}

.marketing-shell .nav-mobile-menu,
.marketing-shell .nav-mobile-user {
  display: none;
}

.marketing-shell .brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.marketing-shell .brand-mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 24px rgba(37, 99, 235, 0.24));
}

.marketing-shell .brand-mark img {
  display: block;
  width: 42px;
  height: 42px;
}

.marketing-shell .brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.marketing-shell .brand-sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--sub);
}

.marketing-shell .nav-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.5rem;
  flex-shrink: 0;
}

.marketing-shell .nav-link {
  font-size: 14px;
  color: #334155;
  padding: 8px 10px;
  border-radius: 10px;
  transition: 0.18s ease;
}

.marketing-shell .nav-link:hover {
  background: rgba(255, 255, 255, 0.72);
}

.marketing-shell button.nav-link.nav-tools-toggle,
.marketing-shell a.nav-link.nav-tools-section {
  font: inherit;
  font-size: 13px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: inherit;
  white-space: nowrap;
}

.marketing-shell .nav-tools-toggle.is-active,
.marketing-shell .nav-tools-section.is-active {
  color: #1d4ed8;
  font-weight: 700;
  background: rgba(239, 246, 255, 0.95);
}

.marketing-shell .tools-subnav.is-panel-hidden,
.marketing-shell .tools-subnav[hidden] {
  display: none;
}

.marketing-shell .main {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 0 48px;
}

.marketing-shell .main.help-main {
  align-items: flex-start;
  padding-top: 28px;
  padding-bottom: 72px;
}

.marketing-shell .help-card-wrap {
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.marketing-shell section.card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  overflow: hidden;
}

.marketing-shell .card-inner {
  padding: 30px 28px 28px;
}

.marketing-shell .card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.marketing-shell .card-icon {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.marketing-shell .card-title {
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.marketing-shell .card-sub {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--sub);
}

.marketing-shell .help-steps {
  margin: 0;
  padding-left: 1.35rem;
  color: #334155;
  font-size: 15px;
  line-height: 1.75;
}

.marketing-shell .help-steps li {
  margin-bottom: 14px;
}

.marketing-shell .help-steps li:last-child {
  margin-bottom: 0;
}

.marketing-shell code {
  background: rgba(37, 99, 235, 0.08);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.9em;
  word-break: break-all;
}

.marketing-shell .help-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  font-size: 14px;
  color: var(--sub);
  line-height: 1.75;
}

/* 与 public_web MarketingShell 顶栏 CTA 对齐 */
.marketing-shell .btn {
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.18s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.marketing-shell .btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.marketing-shell .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-d));
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.22);
}

.marketing-shell .btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: #1d4ed8 !important;
  border: 1px solid rgba(147, 197, 253, 0.95);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
}

.marketing-shell .btn-secondary:hover:not(:disabled) {
  border-color: rgba(59, 130, 246, 0.95);
  background: #fff;
}

.marketing-shell .btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* 产品介绍长文（product-intro.html） */
.marketing-shell .product-doc-main {
  align-items: flex-start;
}

.marketing-shell .product-doc-wrap {
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.marketing-shell .product-card {
  width: 100%;
}

.marketing-shell .product-inner {
  padding: 28px 32px 36px;
}

.marketing-shell .product-hero-top {
  margin-bottom: 8px;
}

.marketing-shell .pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-sm);
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 700;
}

.marketing-shell .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.1);
}

.marketing-shell .product-title {
  margin: 18px 0 0;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.marketing-shell .product-lead {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--sub);
  max-width: 52rem;
}

.marketing-shell .product-prose {
  margin-top: 28px;
  color: #334155;
  font-size: 15px;
  line-height: 1.8;
}

.marketing-shell .product-prose > h2 {
  margin: 2rem 0 0.85rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.marketing-shell .product-prose > h2:first-of-type {
  margin-top: 0;
}

.marketing-shell .product-prose > h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.marketing-shell .product-prose p {
  margin: 0 0 0.85rem;
}

.marketing-shell .doc-hr {
  border: none;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  margin: 1.75rem 0;
}

.marketing-shell .product-list {
  margin: 0.35rem 0 0;
  padding-left: 1.25rem;
}

.marketing-shell .product-list li {
  margin-bottom: 0.55rem;
}

.marketing-shell .product-list li:last-child {
  margin-bottom: 0;
}

.marketing-shell .table-scroll {
  overflow-x: auto;
  margin: 0.75rem 0 1rem;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(248, 250, 252, 0.65);
}

.marketing-shell .compare-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.55;
}

.marketing-shell .compare-table th,
.marketing-shell .compare-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.marketing-shell .compare-table thead th {
  background: rgba(239, 246, 255, 0.85);
  color: #1e293b;
  font-weight: 800;
}

.marketing-shell .compare-table tbody th[scope="row"] {
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.marketing-shell .compare-table tbody tr:last-child th,
.marketing-shell .compare-table tbody tr:last-child td {
  border-bottom: none;
}

.marketing-shell .product-pullquote {
  margin: 0.5rem 0 0;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(248, 250, 252, 0.98));
  border: 1px solid rgba(191, 219, 254, 0.65);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.65;
  color: #1e3a8a;
}

.marketing-shell .product-footnote {
  margin: 1.5rem 0 0;
  font-size: 13px;
  color: var(--sub);
  line-height: 1.65;
}

.marketing-shell .product-device-figure {
  margin: 1.25rem 0 1.75rem;
  padding: 0;
}

.marketing-shell .product-device-figure img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-sm);
}

.marketing-shell .product-device-caption {
  margin: 0.65rem 0 0;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--sub);
}

.marketing-shell .product-code-block {
  margin: 0.75rem 0 1rem;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.55;
}

.marketing-shell .product-code-block code {
  background: none;
  padding: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #334155;
}

.marketing-shell .muted-like {
  margin: -0.35rem 0 0.75rem;
  font-size: 14px;
  color: var(--sub);
}

.marketing-shell .product-faq {
  margin: 0.5rem 0 0;
}

.marketing-shell .product-faq dt {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--text);
}

.marketing-shell .product-faq dt:first-child {
  margin-top: 0;
}

.marketing-shell .product-faq dd {
  margin: 0.35rem 0 0;
  padding: 0;
  color: #334155;
}

/* Landing 首页（landing.html，与 public_web Landing.tsx 对齐） */
.marketing-shell .hero {
  display: flex;
  align-items: flex-start;
  min-height: 0;
  padding-top: 8px;
  padding-bottom: 40px;
}

.marketing-shell .hero-inner {
  width: 100%;
  max-width: 820px;
}

.marketing-shell .hero-shots {
  margin-top: 28px;
  max-width: 100%;
  width: min(960px, 100%);
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.88) 100%);
  border: 1px solid rgba(191, 219, 254, 0.88);
  box-shadow: 0 12px 32px rgba(30, 64, 175, 0.07);
}

.marketing-shell .hero-shots-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.marketing-shell .hero-shots-grid > li {
  margin: 0;
  min-width: 0;
}

.marketing-shell .hero-shot {
  display: block;
  width: 100%;
  padding: 4px;
  border: 1px solid rgba(226, 232, 240, 0.98);
  background: #fff;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.marketing-shell .hero-shot-thumb {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0f172a;
}

.marketing-shell .hero-shot-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marketing-shell .hero-shot-zoom {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
  pointer-events: none;
}

.marketing-shell .hero-shot:hover,
.marketing-shell .hero-shot:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, 0.95);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
}

.marketing-shell .hero-shot:hover .hero-shot-zoom,
.marketing-shell .hero-shot:focus-visible .hero-shot-zoom {
  background: rgba(37, 99, 235, 0.92);
}

.marketing-shell .hero-shot:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .marketing-shell .hero-shots-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .marketing-shell .hero-shots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* May be moved under body by hero-shots-lightbox.js — do not require .marketing-shell. */
.hero-shots-lightbox {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 16px 16px 12px;
  max-width: min(1100px, calc(100vw - 32px));
  width: 100%;
  height: fit-content;
  max-height: calc(100vh - 32px);
  overflow: auto;
  border: none;
  border-radius: 16px;
  background: #0f172a;
  color: #e2e8f0;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.45);
}

.hero-shots-lightbox::backdrop {
  background: rgba(15, 23, 42, 0.72);
}

.hero-shots-lightbox-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 1;
  width: 36px;
  height: 36px;
  margin: 0 0 8px 8px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.hero-shots-lightbox-close:hover,
.hero-shots-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.hero-shots-lightbox img {
  display: block;
  clear: both;
  width: 100%;
  height: auto;
  max-height: min(78vh, 900px);
  object-fit: contain;
  border-radius: 10px;
  background: #020617;
}

.hero-shots-lightbox-cap {
  margin: 10px 4px 0;
  font-size: 14px;
  line-height: 1.55;
  color: #cbd5e1;
}

.marketing-shell .hero-videos {
  margin-top: 28px;
  max-width: 100%;
  width: min(960px, 100%);
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.88) 100%);
  border: 1px solid rgba(191, 219, 254, 0.88);
  box-shadow: 0 12px 32px rgba(30, 64, 175, 0.07);
}

.marketing-shell .hero-videos-head {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.marketing-shell .hero-videos-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1e3a8a;
  line-height: 1.35;
}

.marketing-shell .hero-videos-desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
}

.marketing-shell .hero-videos-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.marketing-shell .hero-videos-grid > li {
  margin: 0;
}

.marketing-shell .hero-video-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.marketing-shell .hero-video-thumb {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 323 / 430;
  background: #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.marketing-shell .hero-video-card:hover .hero-video-thumb,
.marketing-shell .hero-video-card:focus-visible .hero-video-thumb {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.14);
}

.marketing-shell .hero-video-card:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
  border-radius: 12px;
}

.marketing-shell .hero-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.marketing-shell .hero-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 40%, rgba(15, 23, 42, 0.42) 100%);
  color: #fff;
}

.marketing-shell .hero-video-play svg {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.marketing-shell .hero-video-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
  color: #334155;
}

.marketing-shell .hero-title {
  margin-top: 18px;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 820px;
}

.marketing-shell .hero-desc {
  margin-top: 22px;
  max-width: 700px;
  font-size: 18px;
  line-height: 1.9;
  color: #475569;
}

.marketing-shell .hero-tutorial {
  margin-top: 10px;
  max-width: 700px;
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

.marketing-shell .hero-service-notice {
  margin-top: 14px;
  max-width: 700px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
}

.marketing-shell .hero-sub {
  margin-top: 16px;
  color: #1e3a8a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.marketing-shell .hero-tagline {
  margin-top: 8px;
  max-width: 820px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  color: #1e40af;
}

.marketing-shell .hero-feature-list {
  margin-top: 14px;
  max-width: 820px;
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(191, 219, 254, 0.8);
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.marketing-shell .hero-feature-item {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  align-items: start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: #334155;
}

.marketing-shell .hero-feature-item strong {
  color: #1d4ed8;
  font-weight: 700;
}

.marketing-shell .hero-feature-item span {
  color: #334155;
}

.marketing-shell .hero-cta {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.marketing-shell .hero-diff {
  margin-top: 18px;
  max-width: 820px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.88) 100%);
  border: 1px solid rgba(191, 219, 254, 0.88);
  box-shadow: 0 12px 32px rgba(30, 64, 175, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.marketing-shell .hero-diff-head {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.marketing-shell .hero-diff-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1e3a8a;
  line-height: 1.35;
}

.marketing-shell .hero-diff-lead {
  margin: 8px 0 0;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
}

.marketing-shell .hero-diff-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.marketing-shell .hero-diff-grid > li {
  margin: 0;
}

.marketing-shell .hero-diff-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.85);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.marketing-shell .hero-diff-card:hover {
  border-color: rgba(147, 197, 253, 0.95);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
}

.marketing-shell .hero-diff-idx {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 28px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
}

.marketing-shell .hero-diff-card-inner {
  min-width: 0;
  flex: 1;
}

.marketing-shell .hero-diff-card-title {
  display: block;
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #1d4ed8;
}

.marketing-shell .hero-diff-card-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #475569;
}

.marketing-shell .hero-pricing {
  margin-top: 18px;
  max-width: 820px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.88) 100%);
  border: 1px solid rgba(191, 219, 254, 0.88);
  box-shadow: 0 12px 32px rgba(30, 64, 175, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.marketing-shell .hero-pricing-head {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.marketing-shell .hero-pricing-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1e3a8a;
  line-height: 1.35;
}

.marketing-shell .hero-pricing-desc {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: #475569;
}

.marketing-shell .hero-pricing-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.marketing-shell .hero-pricing-grid > li {
  margin: 0;
}

.marketing-shell .hero-pricing-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.95);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.marketing-shell .hero-pricing-card:hover {
  border-color: rgba(147, 197, 253, 0.9);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.06);
}

.marketing-shell .hero-pricing-card--trial {
  background: linear-gradient(165deg, rgba(239, 246, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-color: rgba(147, 197, 253, 0.7);
}

.marketing-shell .hero-pricing-card strong {
  font-size: 14px;
  font-weight: 700;
  color: #1d4ed8;
}

.marketing-shell .hero-pricing-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.marketing-shell .hero-pricing-price span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}

.marketing-shell .hero-pricing-meta {
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
}

.marketing-shell .hero-pricing-foot {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #64748b;
}

.marketing-shell .site-footer {
  margin-top: 3rem;
  padding: 1.5rem 0 2.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.marketing-shell .site-footer p {
  margin: 0;
}

.marketing-shell .site-footer-legal {
  margin-bottom: 0.5rem;
}

.marketing-shell .legal-prose ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.35rem;
  line-height: 1.75;
  color: #334155;
}

.marketing-shell .legal-prose li {
  margin-bottom: 0.35rem;
}

.marketing-shell .legal-prose code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.05);
}

.marketing-shell .site-footer a {
  color: inherit;
  text-decoration: none;
}

.marketing-shell .site-footer a:hover {
  text-decoration: underline;
}

.marketing-shell a.minor-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.marketing-shell a.minor-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .marketing-shell .hero-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .marketing-shell .hero-title {
    font-size: 28px;
  }

  .marketing-shell .hero-desc {
    font-size: 17px;
  }

  .marketing-shell .hero-feature-item {
    grid-template-columns: 7em 1fr;
  }
}

@media (max-width: 640px) {
  .marketing-shell .wrap {
    width: calc(100% - 24px);
  }

  .marketing-shell .nav-inner {
    height: auto;
    min-height: 64px;
    padding: 10px 0;
    flex-wrap: wrap;
  }

  .marketing-shell .card-title {
    font-size: 22px;
  }

  .marketing-shell .card-inner {
    padding: 22px 18px 20px;
  }

  .marketing-shell .product-title {
    font-size: 26px;
  }

  .marketing-shell .product-inner {
    padding: 22px 18px 28px;
  }

  .marketing-shell .nav-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .marketing-shell .hero {
    min-height: 0;
    padding-top: 6px;
    padding-bottom: 32px;
    align-items: flex-start;
  }

  .marketing-shell .hero-title {
    font-size: 24px;
  }

  .marketing-shell .hero-desc {
    font-size: 16px;
    line-height: 1.8;
  }

  .marketing-shell .hero-sub {
    font-size: 14px;
  }

  .marketing-shell .hero-feature-list {
    padding: 12px 12px;
    border-radius: 14px;
  }

  .marketing-shell .hero-feature-item {
    grid-template-columns: 1fr;
    gap: 2px;
    font-size: 13px;
    line-height: 1.65;
  }

  .marketing-shell .hero-diff {
    padding: 14px 12px 12px;
    border-radius: 16px;
  }

  .marketing-shell .hero-diff-title {
    font-size: 15px;
  }

  .marketing-shell .hero-diff-card {
    padding: 10px 12px;
  }

  .marketing-shell .hero-diff-card-desc {
    font-size: 12px;
    line-height: 1.6;
  }

  .marketing-shell .hero-pricing {
    padding: 14px 12px 12px;
    border-radius: 16px;
  }

  .marketing-shell .hero-pricing-grid {
    grid-template-columns: 1fr;
  }

  .marketing-shell .hero-pricing-title {
    font-size: 15px;
  }

  .marketing-shell .hero-pricing-card {
    padding: 10px 12px;
  }
}

.marketing-shell .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
}

.marketing-shell .site-header .nav {
  position: static;
}

.marketing-shell .nav-tools-sections {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px 8px;
  min-width: 0;
  overflow: hidden;
}

.marketing-shell .nav-tools-sections .nav-tools-section {
  flex: 0 0 auto;
  font-size: 13px;
  padding: 6px 8px;
  white-space: nowrap;
}

@media (min-width: 769px) and (max-width: 1100px) {
  .marketing-shell .nav-tools-sections .nav-tools-section {
    font-size: 12px;
    padding: 5px 6px;
  }

  .marketing-shell .nav-actions .nav-link {
    font-size: 13px;
    padding: 7px 8px;
  }
}

@media (max-width: 768px) {
  .marketing-shell .nav-inner {
    height: 56px;
    grid-template-columns: 40px 1fr 40px;
    gap: 8px;
  }

  .marketing-shell .nav-mobile-menu,
  .marketing-shell .nav-mobile-user {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #334155;
    cursor: pointer;
  }

  .marketing-shell .nav-mobile-menu {
    flex-direction: column;
  }

  .marketing-shell .nav-mobile-menu-bar {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px 0;
    background: currentColor;
    border-radius: 1px;
  }

  .marketing-shell .brand {
    justify-self: center;
    gap: 8px;
  }

  .marketing-shell .brand-sub {
    display: none;
  }

  .marketing-shell .nav-tools-sections,
  .marketing-shell .nav-actions {
    display: none !important;
  }

  .marketing-shell #marketing-tools-bar {
    display: none !important;
  }
}

.marketing-shell .nav-mobile-drawer[hidden] {
  display: none !important;
}

.marketing-shell .nav-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.marketing-shell .nav-mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: none;
  background: rgba(15, 23, 42, 0.35);
  cursor: pointer;
}

.marketing-shell .nav-mobile-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: min(320px, 86vw);
  height: 100%;
  overflow-y: auto;
  background: #fff;
  box-shadow: 8px 0 32px rgba(15, 23, 42, 0.12);
  padding: 16px 0 24px;
}

.marketing-shell .nav-mobile-group-label {
  padding: 8px 20px 6px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.04em;
}

.marketing-shell .nav-mobile-link {
  display: block;
  padding: 12px 20px;
  font-size: 15px;
  color: #0f172a;
  border-bottom: 1px solid #f1f5f9;
}

.marketing-shell .nav-mobile-link.is-active {
  color: #1d4ed8;
  font-weight: 700;
  background: #eff6ff;
}

body.nav-drawer-open {
  overflow: hidden;
}

.marketing-shell .tools-subnav {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.marketing-shell .tools-subnav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 10px;
  flex-wrap: wrap;
}

.marketing-shell .tools-subnav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.marketing-shell .tools-subnav-list > li {
  margin: 0;
}

.marketing-shell .tools-subnav-list a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.marketing-shell .tools-subnav-list a:hover {
  border-color: rgba(147, 197, 253, 0.95);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
  color: #1e40af;
}

.marketing-shell .tools-subnav-list a.is-current {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.marketing-shell .tools-subnav-list a.is-current:hover {
  color: #fff;
}

.marketing-shell .tools-subnav-grouped .tools-subnav-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: flex-end;
  width: 100%;
}

.marketing-shell .tools-subnav-group {
  margin: 0;
  min-width: 0;
}

.marketing-shell .tools-subnav-group-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #64748b;
  margin-bottom: 6px;
}

.marketing-shell .tools-subnav-group-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.marketing-shell .tools-subnav-group-list a,
.marketing-shell .tools-subnav-all a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.marketing-shell .tools-subnav-group-list a:hover,
.marketing-shell .tools-subnav-all a:hover {
  border-color: rgba(147, 197, 253, 0.95);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
  color: #1e40af;
}

.marketing-shell .tools-subnav-group-list a.is-current,
.marketing-shell .tools-subnav-all a.is-current {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.marketing-shell .tools-subnav-group-list a.is-current:hover,
.marketing-shell .tools-subnav-all a.is-current:hover {
  color: #fff;
}

.marketing-shell .tools-subnav-all {
  margin: 0;
}

@media (max-width: 640px) {
  .marketing-shell .tools-subnav-inner {
    padding: 6px 0 8px;
  }
}

/* Excel 工具页：SEO 正文（弹层内；分析页 / 公式页共用） */
.xl-seo {
  width: auto;
  margin: 0;
  padding: 12px 0 0;
  color: #0f172a;
  line-height: 1.6;
}

.xl-seo h1 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.xl-seo .xl-seo-lead {
  margin: 0 0 1.25rem;
  color: #475569;
  font-size: 0.98rem;
}

.xl-seo h2 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 750;
}

.xl-seo ul {
  margin: 0 0 0.5rem;
  padding-left: 1.2rem;
}

.xl-seo li {
  margin: 0.35rem 0;
  color: #334155;
  font-size: 0.95rem;
}

.xl-seo p {
  margin: 0.4rem 0;
  color: #475569;
  font-size: 0.95rem;
}

.xl-seo a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.xl-seo a:hover {
  color: #1d4ed8;
}

.xl-seo .faq {
  margin-top: 0.5rem;
}

.xl-seo .faq details {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  margin: 0.5rem 0;
  padding: 0.65rem 0.9rem;
}

.xl-seo .faq summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 0.95rem;
  color: #0f172a;
}

.xl-seo .faq details[open] summary {
  margin-bottom: 0.4rem;
}

.xl-seo .faq details p {
  margin: 0.25rem 0 0;
}

.xl-seo-dlg {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.xl-seo-dlg[hidden] {
  display: none !important;
}

.xl-seo-dlg-mask {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(15, 23, 42, 0.45);
  cursor: pointer;
}

.xl-seo-dlg-card {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(85vh, 900px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}

.xl-seo-dlg-hd {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  padding: 8px 12px;
  border-bottom: 1px solid #e2e8f0;
}

.xl-seo-dlg-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: 650 13px/1 inherit;
  color: #64748b;
}

.xl-seo-dlg-close:hover {
  color: #0f172a;
}

.xl-seo-dlg-body {
  overflow: auto;
  padding: 0 20px 20px;
  -webkit-overflow-scrolling: touch;
}

.xl-seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.9rem;
}

.xl-seo-links a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.xl-chips-wrap[hidden] {
  display: none !important;
}

.xl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 2px 0 4px;
}

.xl-chip {
  border: 1px solid #d1d5db;
  background: #f8fafc;
  color: #334155;
  border-radius: 999px;
  padding: 4px 10px;
  font: 550 12px/1.3 inherit;
  cursor: pointer;
  max-width: 100%;
  text-align: left;
}

.xl-chip:hover {
  background: #eef6f1;
  border-color: #217346;
  color: #1a5c38;
}

.xl-chips-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: 650 12px/1 inherit;
  color: #64748b;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.xl-chips-toggle:hover {
  background: #eee;
  color: #217346;
}

.xl-chips-toggle[aria-expanded="true"] {
  color: #217346;
}

.xl-chips-toggle[hidden] {
  display: none !important;
}

/* 转 Markdown 工具页：结果预览 / HTML 粘贴 */
.tool-result {
  margin-top: 1.25rem;
}
.tool-result-label {
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.tool-md-output,
.tool-html-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  line-height: 1.5;
  background: var(--card);
  resize: vertical;
}
.tool-md-output {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 0.88rem;
  min-height: 240px;
}
.tool-html-input {
  min-height: 160px;
}
.tool-or-divider {
  margin: 1rem 0 0.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.tool-file-picked {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  max-width: 100%;
}
.tool-file-picked[hidden] {
  display: none !important;
}
.drop-zone .tool-file-picked #file-name {
  margin: 0;
}
.tool-file-clear {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.tool-file-clear:hover {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 55%, var(--border));
}

.tool-error a {
  color: inherit;
  text-decoration: underline;
}

.spine-breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.spine-breadcrumb a {
  color: var(--primary);
}
