
/* SEO/GEO readable baseline: system CJK fonts, 16px body */
:root {
  --seo-font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
  --seo-text: 16px;
  --seo-lh: 1.7;
  --seo-container: 1200px;
  --seo-prose: var(--seo-container, 1200px);
}

:root {
  --brand: #1e40af;
  --brand-dark: #1e3a8a;
  --accent: #f97316;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  overflow-x: hidden;
}
body {
  overflow-x: hidden;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  color: #1a2332;
  background: #e4e7ec;
  font-size: 16px;
  line-height: 1.7;
}

.crumb {
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
}
.crumb a:hover { color: #1e40af; }
.page-title {
  font-size: 1.75rem;
  line-height: 1.32;
  font-weight: 700;
  color: #0f172a;
}
@media (min-width: 640px) { .page-title { font-size: 2.05rem; } }
.section-title {
  font-size: 1.5rem;
  line-height: 1.35;
  font-weight: 700;
  color: #0f172a;
}
.cta-panel .section-title,
.results-panel .section-title { color: #fff; }
@media (min-width: 1024px) { .section-title { font-size: 1.75rem; } }
.card-title {
  font-size: 1.0625rem;
  line-height: 1.45;
  font-weight: 600;
}
.card-kicker {
  font-size: 13px;
  line-height: 1.5;
}
.card-desc {
  font-size: 15px;
  line-height: 1.75;
}
.meta-line {
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
}
.article-body {
  font-size: 16px;
  line-height: 1.85;
  color: #334155;
}
.article-body h2 {
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 600;
  color: #0f172a;
  margin-top: 1.75rem;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.65;
}
.article-body th,
.article-body td {
  border: 1px solid #cbd5e1;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.article-body th { background: #e8eef8; font-weight: 600; }
.article-body .table-wrap { overflow-x: auto; }
@media (min-width: 640px) {
  .article-body h2 { font-size: 1.375rem; }
}
#siteHeader,
#mobileMenu {
  background-color: #dce1e8 !important;
}
main { background: #e4e7ec; }
main .bg-white { background-color: #eef1f4 !important; }
main .bg-slate-50 { background-color: #e2e6ec !important; }
#top.hero-grid { background-color: #d8dee8; }
.nav-dropdown > div { background-color: #e8ebf0; }
.page-wrap {
  max-width: 1440px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
header.scrolled { box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06); }

.nav-item { position: relative; }
.nav-dropdown {
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s ease;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.lift { transition: transform .2s ease, box-shadow .2s ease; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08); }

.hero-grid {
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(circle at 1px 1px, rgba(30, 64, 175, 0.08) 1px, transparent 0);
  background-size: 28px 28px;
}
.logo-mark {
  position: relative;
  overflow: hidden;
  background: #1e40af;
}
.logo-mark svg { position: relative; z-index: 1; }
.btn-hot {
  background: #f97316;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.22);
}
.btn-hot:hover { filter: brightness(1.05); }
.cta-panel, .results-panel { background: #17357a; }
.mock-screen { box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12); }

.faq-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-body { max-height: 480px; padding-bottom: 16px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.stat-num { font-variant-numeric: tabular-nums; }

#mobileMenu { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
#mobileMenu.open { max-height: 1100px; border-top-width: 1px; }

.form-input:focus { outline: none; box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2); border-color: #f97316; }

.case-browser {
  border: 1px solid #c5ccd6;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.case-browser-bar {
  height: 36px;
  background: #e8ebf0;
  border-bottom: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}
.case-browser-bar .case-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5ccd6;
  display: inline-block;
}
.case-browser-url {
  flex: 1;
  min-width: 0;
  height: 22px;
  line-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.case-shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: #f1f5f9;
}
.case-shot-lg { aspect-ratio: 16 / 10; }
.footer-cols {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: auto;
  gap: 24px;
}
.footer-cols > * {
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  text-align: left;
  vertical-align: top;
  padding: 0;
  transform: none !important;
}
.footer-cols h3,
.footer-cols p,
.footer-cols li,
.footer-cols a {
  text-align: left;
  white-space: nowrap;
  overflow-wrap: normal;
}

.faq-btn { align-items: flex-start; gap: 12px; }
.faq-icon { flex-shrink: 0; margin-top: 2px; }
.form-input { font-size: 16px; }
#menuBtn { width: 44px; height: 44px; }

@media (max-width: 639px) {
  #siteHeader > .page-wrap .btn-hot {
    display: inline-flex;
    height: 36px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 13px;
  }
  #top .mt-7 { gap: 12px; }
  .copy-gap { display: none; }
  .copy-icp { display: block; }
}

#mobileMenu.open {
  max-height: calc(100dvh - 64px);
  min-height: calc(100dvh - 64px);
  overflow-y: auto;
  background-color: #f4f6f8 !important;
  box-shadow: none;
}
#mobileMenu a.block:not(.btn-hot) {
  min-height: 44px;
  display: flex;
  align-items: center;
}

@media (max-width: 1279px) {
  .footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
    table-layout: auto;
  }
  .footer-cols > * {
    display: block;
    flex: none;
    width: auto;
    max-width: none;
    padding: 0;
    white-space: normal;
    transform: none !important;
  }
  .footer-cols h3,
  .footer-cols p,
  .footer-cols li,
  .footer-cols a {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 479px) {
  .footer-cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lift, .faq-body, #mobileMenu, .nav-dropdown { transition: none; }
}

.seo-prose, article.prose, .article { max-width: var(--seo-prose); }
