/* ==========================================================================
   Website
   One stylesheet, ordered from tokens to page parts:
   1 tokens · 2 base · 3 buttons & links · 4 notice bar & header
   5 home (hero, values, products, stats, logo wall, cases, news, cta)
   6 inner pages (page header, product detail, lists, articles, sidebar)
   7 rich text · 8 forms · 9 misc pages · 10 footer & floating parts
   11 visual editor (design mode) · 12 responsive · 13 print
   The visual editor's theme overrides --brand*, --hero-tint, --grid-line,
   --cta-mid, --hl-*, --band-* and --radius / --radius-sm (admin_design.go).
   ========================================================================== */

/* ---------------------------------------------------------------- 1 tokens */
:root {
  --brand: #1f6bff;
  --brand-600: #1557e6;
  --brand-700: #1046bd;
  --brand-50: #eef4ff;
  --brand-100: #dbe7ff;
  --hero-tint: #e3ecff;          /* derived from the brand color by the theme */
  --grid-line: rgba(31, 107, 255, .06);
  --cta-mid: #163ea8;
  --hl-mid: var(--violet);       /* hero highlight gradient */
  --hl-end: var(--accent);
  --band-from: #0e2a74;          /* stats band gradient */
  --band-mid: #1f55e0;
  --band-end: #6a4cf0;
  --accent: #12b5a5;
  --violet: #7a5cff;
  --ink: #0b1530;
  --text: #1f2a44;
  --muted: #56657f;
  --subtle: #617089; /* >= 4.5:1 on white, --bg-soft and --brand-50 (WCAG AA) */
  --line: #e4e9f2;
  --line-2: #eef2f8;
  --line-strong: #d3dbe8;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-dark: #0a1430;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 33, 77, .06), 0 1px 1px rgba(16, 33, 77, .03);
  --shadow: 0 12px 32px -14px rgba(16, 33, 77, .2);
  --shadow-lg: 0 24px 60px -22px rgba(16, 52, 140, .3);
  --container: 1200px;
  --header-h: 64px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

/* ---------------------------------------------------------------- 2 base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  overflow-x: hidden; /* safety net against accidental horizontal scrolling on phones */
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.7; color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 200; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.trap { display: none !important; } /* hidden link only crawlers that ignore robots.txt follow (security protection) */

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: 34px; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 14px; text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; padding: 4px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-size: 13px; font-weight: 600; letter-spacing: .02em; }

/* ---------------------------------------------------------------- 3 buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px;
  border-radius: var(--radius-sm); border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s, border-color .2s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; } /* icons need an explicit size: the global svg rule would collapse them */
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(16, 33, 77, .12), 0 8px 20px -10px var(--brand); }
.btn-primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 1px 2px rgba(16, 33, 77, .12), 0 12px 24px -10px var(--brand); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; color: var(--brand); padding: 0 6px; height: auto; }
.btn-white { background: #fff; color: var(--brand-700); box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .4); }
.btn-white:hover { background: var(--brand-50); color: var(--brand-700); }
.btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost-white:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-lg { height: 50px; padding: 0 28px; font-size: 16px; border-radius: calc(var(--radius-sm) + 2px); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }
.ext-icon { width: 11px; height: 11px; margin-left: 3px; opacity: .55; vertical-align: 1px; }

/* ---------------------------------------------------------------- 4 notice bar & header */
/* read-only demo (APP_DEMO_READONLY) */
.demo-bar { background: var(--ink); color: rgba(255,255,255,.86); font-size: 13.5px; line-height: 1.6; }
.demo-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.demo-bar-tag { padding: 0 8px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; line-height: 20px; }
.demo-bar a { color: #fff; font-weight: 600; white-space: nowrap; }
.demo-bar a:hover { text-decoration: underline; }
.demo-bar-short { display: none; }
@media (max-width: 560px) {
  .demo-bar .container { flex-wrap: nowrap; gap: 8px; font-size: 13px; }
  .demo-bar-text { display: none; }
  .demo-bar-short { display: inline; }
}
.preview-bar { position: sticky; top: 0; z-index: 120; background: #fff7e6; color: #8a4b00; border-bottom: 1px solid #ffd591; text-align: center; font-size: 13.5px; padding: 8px 16px; }
.notice-bar { background: var(--bg-dark); background-image: linear-gradient(90deg, rgba(31, 107, 255, .0), rgba(31, 107, 255, .28) 50%, rgba(122, 92, 255, .0)); color: #dfe6f5; font-size: 13.5px; }
.notice-bar .container { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; text-align: center; }
.notice-bar a { color: #fff; }
.notice-tag { padding: 0 8px; border-radius: 999px; background: var(--brand); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); color: #fff; font-size: 12px; font-weight: 600; line-height: 20px; }
.notice-link { font-weight: 600; opacity: .9; white-space: nowrap; }
.notice-link:hover { opacity: 1; color: #fff; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(16, 33, 77, .4); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 32px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 36px; width: auto; }
/* text logo while no logo image is set: the site icon and the site name */
.logo-text-mode { flex-shrink: 1; min-width: 0; }
.logo-mark { flex-shrink: 0; border-radius: 9px; }
.logo-name { min-width: 0; margin-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 16em; font-size: 20px; font-weight: 700; letter-spacing: .02em; color: var(--ink); }
@media (max-width: 480px) { .logo-name { font-size: 18px; } }
.main-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link { position: relative; display: flex; align-items: center; gap: 4px; height: var(--header-h); padding: 0 14px; color: var(--text); font-weight: 500; font-size: 15px; }
.nav-link:hover, .nav-item.active > .nav-link { color: var(--brand); }
.nav-item.active > .nav-link { font-weight: 600; }
.nav-item.active > .nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--brand); }
.caret { width: 10px; height: 10px; transition: transform .2s; opacity: .55; }
.nav-item:hover .caret, .nav-item.open .caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% - 6px); left: 50%; transform: translate(-50%, 8px); min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown, .nav-item.open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: block; padding: 9px 14px; border-radius: 8px; color: var(--text); font-size: 14.5px; }
.dropdown a:hover { background: var(--bg-soft); color: var(--brand); }
/* product menu (页头「产品」下拉): intro with links, compact product cards, category links */
.mega { padding: 0; overflow: hidden; }
.mega-intro { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 24px; background: linear-gradient(165deg, var(--brand-50), #fff 75%); border-right: 1px solid var(--line-2); }
.mega-kicker { margin: 0; color: var(--brand-700); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; }
.mega-title { margin: 0; color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.5; text-wrap: balance; }
.mega-text { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.mega-links { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 2px; }
.dropdown .mega-links a { display: flex; align-items: center; gap: 6px; margin: 0 -10px; padding: 7px 10px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.mega-links a::after { content: "\2192"; margin-left: auto; color: var(--subtle); transition: transform .2s, color .2s; }
.mega-links a:hover::after { transform: translateX(3px); color: var(--brand); }
.mega-links small { padding: 0 7px; border-radius: 999px; background: var(--brand-100); color: var(--brand-700); font-size: 12px; line-height: 18px; }
.dropdown a.mega-cta { display: inline-flex; flex-shrink: 0; margin-left: auto; padding: 0 16px; color: #fff; }
.dropdown a.mega-cta:hover { background: var(--brand-600); color: #fff; }
.mega-main { display: flex; flex-direction: column; min-width: 0; padding: 16px 16px 12px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 4px; margin-bottom: 12px; }
.dropdown a.mega-card { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; }
.mega-card img { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; }
.mega-card-text { display: block; min-width: 0; }
.mega-card strong { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.mega-card small { display: block; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 12.5px; line-height: 1.45; white-space: nowrap; text-overflow: ellipsis; }
.mega-card:hover strong { color: var(--brand); }
.mega-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; padding: 14px 4px 4px 12px; border-top: 1px solid var(--line-2); }
.mega-cats { display: flex; flex: 1 1 0; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.mega-cats span { margin-right: 2px; color: var(--subtle); font-size: 12.5px; }
.dropdown .mega-cats a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.dropdown .mega-cats a:hover { border-color: var(--brand); background: #fff; }
.mega-cats small { color: var(--subtle); font-size: 12px; }
.dropdown a.mega-all { display: none; }
.badge-hot { font-size: 10.5px; font-weight: 700; line-height: 1; padding: 3px 6px; border-radius: 6px; color: #fff; background: linear-gradient(135deg, #ff6a3d, #ff3d71); letter-spacing: .02em; }
.badge-hot.b-new { background: linear-gradient(135deg, #12b5a5, #18a0fb); }
.badge-hot.b-ai { background: linear-gradient(135deg, #7a5cff, #1f6bff); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn-sm { margin-left: 6px; }
.header-phone { display: flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.header-phone svg { width: 16px; height: 16px; color: var(--brand); }
.search-toggle, .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.search-toggle:hover, .nav-toggle:hover { background: var(--bg-soft); color: var(--brand); }
.search-toggle svg, .nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle { display: none; }
.lang-switch { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 10px; border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.lang-switch:hover { background: var(--bg-soft); color: var(--brand); }
.lang-switch svg { width: 16px; height: 16px; flex: none; }
.nav-lang { display: none; }
.nav-lang .nav-link { justify-content: flex-start; gap: 8px; }
.nav-lang svg { width: 16px; height: 16px; }
.search-panel { border-top: 1px solid var(--line); background: #fff; display: none; }
.search-panel.open { display: block; }
.search-panel form { display: flex; gap: 10px; padding: 16px 0; }
.search-panel input { flex: 1; height: 46px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0 16px; font-size: 15px; }
.search-panel input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }

/* ---------------------------------------------------------------- 5 home */
/* hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 100px; background: radial-gradient(1200px 520px at 85% -10%, var(--hero-tint) 0%, transparent 60%), radial-gradient(900px 480px at -10% 20%, #e9fbf8 0%, rgba(233, 251, 248, 0) 55%), linear-gradient(180deg, #f7faff 0%, #fff 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { font-size: 52px; line-height: 1.16; letter-spacing: -.025em; margin-bottom: 22px; font-weight: 800; }
html[lang^="en"] .hero h1 { font-size: 46px; text-wrap: balance; }
.hero h1 .hl { background: linear-gradient(90deg, var(--brand) 0%, var(--hl-mid) 60%, var(--hl-end) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 18px; line-height: 1.75; color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; color: var(--muted); font-size: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--accent); }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; border-radius: 18px; }
/* neutral hero illustration (no hero banner, no product showcase) */
.hero-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-art .ha-card { fill: #fff; filter: drop-shadow(0 22px 44px rgba(15, 35, 95, .14)); }
.hero-art .ha-white { fill: #fff; }
.hero-art .ha-bar { fill: #f2f5fa; }
.hero-art .ha-soft { fill: #f7f9fc; }
.hero-art .ha-line { fill: #e4e9f1; }
.hero-art .ha-ink { fill: #cdd6e4; }
.hero-art .ha-border { fill: #fff; stroke: #e6ebf3; }
.hero-art .ha-grid { fill: none; stroke: #eef1f6; stroke-width: 1.5; }
.hero-art .ha-b { fill: var(--brand); }
.hero-art .ha-b50 { fill: var(--brand-50); }
.hero-art .ha-b100 { fill: var(--brand-100); }
.hero-art .ha-ac { fill: var(--accent); }
.hero-art .ha-vi { fill: var(--violet); }
.hero-art .ha-r { fill: #ff5f57; }
.hero-art .ha-y { fill: #febc2e; }
.hero-art .ha-g { fill: #28c840; }
.hero-art .ha-s1 { stop-color: var(--brand); stop-opacity: .26; }
.hero-art .ha-s0 { stop-color: var(--brand); stop-opacity: 0; }
.hero-art .ha-stroke { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hero-art .ha-ring-dot { stroke: var(--brand); stroke-width: 3; }
.hero-art .ha-ring0 { fill: none; stroke: var(--brand-100); stroke-width: 9; }
.hero-art .ha-ring { fill: none; stroke: var(--brand); stroke-width: 9; stroke-linecap: round; }
.hero-art .ha-check { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
/* home hero: real product screenshots */
.hero-stack { position: relative; padding: 18px 0 40px; }
.hero-visual .hero-stack img { border-radius: 0; }
.hs-main { position: relative; z-index: 2; margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid rgba(16, 33, 77, .08); box-shadow: 0 34px 70px -28px rgba(16, 52, 140, .42); }
.hs-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f3f6fc; border-bottom: 1px solid var(--line); }
.hs-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.hs-bar i:nth-child(2) { background: #febc2e; }
.hs-bar i:nth-child(3) { background: #28c840; }
.hs-bar span { margin-left: 10px; font-size: 12px; color: var(--subtle); }
.hs-main img { display: block; width: 100%; height: auto; }
.hs-side { position: absolute; margin: 0; border-radius: 12px; overflow: hidden; background: #0b1530; border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 26px 56px -22px rgba(16, 33, 77, .55); }
.hs-side img { display: block; width: 100%; height: auto; }
.hs-a { z-index: 3; width: 44%; right: -5%; bottom: -2%; }
.hs-b { z-index: 1; width: 42%; left: -7%; top: -4%; opacity: .96; }
.hs-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); box-shadow: var(--shadow); animation: hs-in .7s cubic-bezier(.2, .7, .2, 1) .35s backwards; transition: transform .25s ease, box-shadow .25s ease; }
.hs-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.hero-visual .hs-chip img { width: 30px; height: 30px; border-radius: 8px; }
.hs-chip b { display: block; color: var(--ink); font-size: 13.5px; line-height: 1.3; }
.hs-chip small { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; }
.hs-chip-1 { left: -6%; bottom: 14%; }
.hs-chip-2 { right: 3%; top: -4%; animation-delay: .55s; }
@keyframes hs-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* shared card surface (values, products, features, cases, news, widgets) */
.value-card, .product-card, .feature-item, .case-card, .news-card, .news-row, .widget, .contact-card, .mydata-card, .sitemap-grid section, .article {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.value-card, .product-card, .case-card, .news-card, .news-row, .feature-item { transition: transform .25s, box-shadow .25s, border-color .25s; }
.value-card:hover, .product-card:hover, .case-card:hover, .news-card:hover, .news-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-100); }

/* values */
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.value-card { position: relative; padding: 32px 28px; }
.value-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--violet)); box-shadow: 0 10px 24px -12px rgba(31, 107, 255, .8); }
.value-card:nth-child(2) .value-icon { background: linear-gradient(135deg, #12b5a5, #18a0fb); box-shadow: 0 10px 24px -12px rgba(18, 181, 165, .8); }
.value-card:nth-child(3) .value-icon { background: linear-gradient(135deg, #ff8a3d, #ff3d71); box-shadow: 0 10px 24px -12px rgba(255, 106, 61, .7); }
.value-icon svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { color: var(--muted); margin: 0; }

/* products: centred rows so five products read 3 + 2 */
.product-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.product-grid > .product-card { flex: 0 1 calc((100% - 48px) / 3); min-width: 0; }
.product-grid.search-block { justify-content: flex-start; }
/* products page grouped by category (产品 › 分类) */
.product-cats { margin-bottom: 44px; }
.product-group { scroll-margin-top: calc(var(--header-h) + 24px); }
.product-group + .product-group { margin-top: 56px; }
.product-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.product-group-head h2 { font-size: 24px; line-height: 1.3; letter-spacing: -.01em; margin: 0; }
.product-group-head p { color: var(--muted); font-size: 15px; margin: 0; }
.product-group .product-grid { justify-content: flex-start; }
.product-card { position: relative; display: flex; flex-direction: column; padding: 26px 26px 22px; color: var(--text); overflow: hidden; }
.product-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--violet)); opacity: 0; transition: opacity .25s; }
.product-card:hover { color: var(--text); }
.product-card:hover::before { opacity: 1; }
.product-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.product-top img { width: 44px; height: 44px; border-radius: 12px; }
.product-top h3 { font-size: 18px; margin: 0; display: flex; align-items: center; gap: 6px; }
.product-tagline { font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 8px; line-height: 1.55; }
.product-summary { color: var(--muted); font-size: 14px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 18px; }
/* the summary keeps its three lines (a stretched box would show a fourth under the ellipsis); the meta row sits at the bottom */
.product-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; border-top: 1px solid var(--line-2); padding-top: 14px; font-size: 13.5px; }
.stars { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-weight: 600; }
.stars svg { width: 15px; height: 15px; color: #f5b301; }
.product-meta .more { color: var(--brand); font-weight: 600; }
/* the product family on a product page marks the product being viewed */
.product-card.is-current { border-color: var(--brand); background: linear-gradient(180deg, var(--brand-50), #fff 55%); cursor: default; }
.product-card.is-current::before { opacity: 1; }
.product-card.is-current:hover { transform: none; box-shadow: none; border-color: var(--brand); }
.product-meta .current { padding: 2px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 600; line-height: 20px; }

/* stats band */
.stats-band { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px); padding: 48px 40px; background: linear-gradient(120deg, var(--band-from) 0%, var(--band-mid) 55%, var(--band-end) 100%); color: #fff; box-shadow: var(--shadow-lg); }
.stats-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 70%); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: center; }
.stats-grid > div + div { border-left: 1px solid rgba(255, 255, 255, .14); }
.stat-num { font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { opacity: .82; margin-top: 8px; font-size: 14.5px; }
/* the stats band and the partner wall read as one block when they share a background */
.home-stats.bg-default + .home-customers.bg-default { padding-top: 0; }

/* logo wall */
.logo-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.logo-cell { display: grid; place-items: center; height: 84px; padding: 14px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s, border-color .25s; }
.logo-cell img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s; }
.logo-cell:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); border-color: var(--brand-100); }
.logo-cell:hover img { filter: none; opacity: 1; }
/* ecosystem wall rendered as text tags when no logo is uploaded */
.logo-cell.is-text { height: 60px; }
.logo-text { overflow-wrap: anywhere; font-weight: 600; font-size: 14.5px; color: var(--muted); text-align: center; line-height: 1.3; transition: color .25s; }
.logo-cell:hover .logo-text { color: var(--brand); }

/* cases */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case-card { display: flex; flex-direction: column; overflow: hidden; color: var(--text); }
.case-card:hover { color: var(--text); }
.case-cover { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand-50), var(--bg-soft)); overflow: hidden; border-bottom: 1px solid var(--line-2); }
.case-cover img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .4s; }
.case-card:hover .case-cover img { transform: scale(1.03); }
.case-tag { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .94); color: var(--brand-700); font-size: 12.5px; font-weight: 600; padding: 2px 10px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.case-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { font-size: 17px; line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-body p { color: var(--muted); font-size: 14px; margin: 0 0 14px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-foot { font-size: 13px; color: var(--subtle); display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.filter-tabs a { padding: 7px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); font-size: 14.5px; transition: border-color .2s, color .2s, background .2s; }
.filter-tabs a:hover { border-color: var(--brand); color: var(--brand); }
.filter-tabs a.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-tabs small { opacity: .7; margin-left: 2px; }

/* news */
.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.news-card { display: flex; flex-direction: column; overflow: hidden; color: var(--text); }
.news-card:hover { color: var(--text); }
.news-card .thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand-50), var(--bg-soft)); overflow: hidden; border-bottom: 1px solid var(--line-2); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.news-card .body { padding: 16px 18px 18px; }
.news-card h3 { font-size: 15.5px; line-height: 1.55; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card time { color: var(--subtle); font-size: 13px; }

/* call to action */
.cta { position: relative; overflow: hidden; padding: 80px 0; background: linear-gradient(120deg, #0b1d4f 0%, var(--cta-mid) 50%, var(--brand) 100%); color: #fff; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); }
.cta .container { position: relative; }
.cta h2 { color: #fff; font-size: 32px; letter-spacing: -.02em; margin-bottom: 12px; text-wrap: balance; }
.cta p { opacity: .85; font-size: 16px; margin-bottom: 30px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* backgrounds chosen per block in the visual editor; "" keeps each block's designed default */
.hero.bg-white, .section.bg-white { background: #fff; }
.hero.bg-soft, .section.bg-soft { background: var(--bg-soft); }
.hero.bg-brand, .section.bg-brand { background: var(--brand-50); }
.cta.bg-dark { background: var(--bg-dark); }
.cta.bg-brand { background: var(--brand); }

/* ---------------------------------------------------------------- 6 inner pages */
/* page header */
.page-hero { position: relative; overflow: hidden; padding: 48px 0 44px; background: radial-gradient(900px 300px at 90% 0%, var(--hero-tint), transparent 70%), linear-gradient(180deg, #f6f9ff, #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: 36px; letter-spacing: -.02em; margin-bottom: 10px; text-wrap: balance; }
.page-hero p { color: var(--muted); font-size: 16px; margin: 0; max-width: 720px; }
.page-hero .container { position: relative; }
.page-hero.bg-white, .product-hero.bg-white { background: #fff; }
.page-hero.bg-soft, .product-hero.bg-soft { background: var(--bg-soft); }
.page-hero.bg-brand, .product-hero.bg-brand { background: var(--brand-50); }
.page-hero.has-img { background-size: cover; background-position: center; background-repeat: no-repeat; }
.page-hero.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .82) 55%, rgba(255, 255, 255, .55) 100%); }
/* the first block under a page header needs less air than a block between two blocks */
.page-hero + .section, .page-hero + section.section { padding-top: 56px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; font-size: 13.5px; color: var(--subtle); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #c3ccdb; }

/* product detail */
.product-hero { padding: 48px 0 56px; background: radial-gradient(900px 340px at 85% 0%, var(--hero-tint), transparent 70%), linear-gradient(180deg, #f6f9ff, #fff); border-bottom: 1px solid var(--line); }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.product-hero .logo-lg { width: 60px; height: 60px; border-radius: 16px; margin-bottom: 18px; box-shadow: var(--shadow); }
.product-hero h1 { font-size: 40px; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.product-hero .tagline { font-size: 20px; color: var(--ink); font-weight: 600; margin-bottom: 12px; }
.product-hero .summary { color: var(--muted); font-size: 16px; margin-bottom: 28px; }
.product-hero .product-cat { display: block; width: fit-content; margin: -4px 0 12px; padding: 3px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: 13px; font-weight: 600; transition: background .2s, color .2s; }
.product-hero .product-cat:hover { background: var(--brand); color: #fff; }
.product-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.product-shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
/* product page section bar */
.pd-nav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255, 255, 255, .95); backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.pd-nav-inner { display: flex; gap: 4px; padding: 8px 0; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.pd-nav-inner::-webkit-scrollbar { display: none; }
.pd-nav a { flex-shrink: 0; padding: 6px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); white-space: nowrap; transition: background .2s, color .2s; }
.pd-nav a:hover { color: var(--brand); background: var(--bg-soft); }
.pd-nav a.active { color: var(--brand); background: var(--brand-50); font-weight: 600; }
#features h2, .product-body .prose h2 { scroll-margin-top: calc(var(--header-h) + 64px); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature-item { display: flex; gap: 16px; padding: 24px; }
.feature-item:hover { box-shadow: var(--shadow-sm); border-color: var(--brand-100); }
.feature-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--brand); background: var(--brand-50); font-variant-numeric: tabular-nums; }
.feature-item h3 { font-size: 17px; margin-bottom: 4px; }
.feature-item p { color: var(--muted); margin: 0; font-size: 14.5px; }
/* product body: read as part of the page, not as a document card */
.product-body { max-width: 1040px; }
.product-body > .article { padding: 0; border: 0; border-radius: 0; background: none; }
.product-body > .article.prose > h2 { margin-top: 2.2em; padding-bottom: 0; border-bottom: 0; font-size: 26px; letter-spacing: -.015em; }
.product-body > .article.prose > h2:first-child { margin-top: 0; }

/* article lists */
.layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.layout-2col.no-aside { grid-template-columns: minmax(0, 1fr); } /* a hidden sidebar gives its column back to the content */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; padding: 18px; color: var(--text); }
.news-row:hover { color: var(--text); transform: none; }
.news-row .thumb { aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(135deg, var(--brand-50), var(--bg-soft)); }
.news-row .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.news-row h2 { font-size: 18px; line-height: 1.5; margin: 4px 0 8px; }
.news-row h2 .pin { display: inline-block; font-size: 12px; font-weight: 600; color: #fff; background: #f04438; padding: 0 7px; border-radius: 5px; margin-right: 6px; vertical-align: 2px; line-height: 20px; }
.news-row p { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--subtle); font-size: 13px; }
.meta .cat { color: var(--brand-700); background: var(--brand-50); padding: 1px 9px; border-radius: 6px; font-weight: 500; }

/* sidebar */
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 20px; }
.widget { padding: 20px 22px; }
.widget h3 { font-size: 15px; margin-bottom: 12px; line-height: 1.4; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.widget li:last-child { border-bottom: 0; padding-bottom: 0; }
.widget li a { color: var(--text); display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.widget li a:hover, .widget li a.active { color: var(--brand); }
.widget li a.active { font-weight: 600; }
.widget li small { color: var(--subtle); font-variant-numeric: tabular-nums; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { font-size: 13px; padding: 3px 11px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.tag-cloud a:hover { color: var(--brand); border-color: var(--brand); }
.widget-cta { background: linear-gradient(135deg, var(--band-mid), var(--band-end)); color: #fff; border: 0; }
.widget-cta h3 { color: #fff; }
.widget-cta p { opacity: .88; font-size: 14px; }
/* article table of contents (generated by site.js from h2/h3) */
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { padding: 4px 0; font-size: 14px; line-height: 1.5; border: 0; }
.toc li.lv3 { padding-left: 14px; font-size: 13.5px; }
.toc a { color: var(--muted); display: block; border-left: 2px solid transparent; padding-left: 10px; margin-left: -12px; }
.toc a:hover, .toc a.active { color: var(--brand); border-left-color: var(--brand); }

/* article */
.article { padding: 40px 44px; }
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 28px; }
.article-head h1 { font-size: 30px; line-height: 1.4; letter-spacing: -.015em; margin-bottom: 14px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-tags a { font-size: 13px; padding: 3px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.article-nav a, .article-nav span { display: block; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 14.5px; }
.article-nav a:hover { border-color: var(--brand); color: var(--brand); }
.article-nav small { display: block; color: var(--subtle); font-size: 12.5px; margin-bottom: 2px; }
.article-nav .next { text-align: right; }
.related { margin-top: 28px; }
.related h2 { font-size: 20px; margin-bottom: 16px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.related li { min-width: 0; }
.related li a { color: var(--text); display: block; padding: 6px 0; border-bottom: 1px solid var(--line-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related li a:hover { color: var(--brand); }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.share-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 13.5px; cursor: pointer; }
.share-btn:hover { border-color: var(--brand); color: var(--brand); }

/* ---------------------------------------------------------------- 7 rich text */
.prose { font-size: 16px; line-height: 1.9; color: var(--text); word-wrap: break-word; overflow-wrap: anywhere; }
.prose h2 { font-size: 23px; margin: 1.8em 0 .7em; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.prose h3 { font-size: 19px; margin: 1.5em 0 .6em; }
.prose h4 { font-size: 17px; margin: 1.3em 0 .5em; }
.prose h2, .prose h3 { scroll-margin-top: calc(var(--header-h) + 16px); }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.5em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose img { border-radius: 10px; margin: .6em 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--brand); background: var(--bg-soft); border-radius: 0 10px 10px 0; color: var(--muted); }
.prose blockquote p:last-child { margin: 0; }
.prose code { font-family: var(--mono); font-size: .9em; background: #f1f4fa; padding: 2px 6px; border-radius: 5px; }
.prose pre { background: #0d1630; color: #e6edf7; padding: 18px 20px; border-radius: 12px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.prose tbody tr:nth-child(even) { background: #fafbfe; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.prose::after { content: ""; display: block; clear: both; }
/* product page components */
.prose .lead { font-size: 17px; color: var(--ink); line-height: 1.95; }
.prose .shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 1.2em 0 .8em; }
.prose .shot { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s; }
.prose .shot:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.prose .shot a { display: block; text-decoration: none; }
.prose .shot a:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.prose .shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; margin: 0; border-radius: 0; cursor: zoom-in; background: var(--bg-soft); }
.prose .shot figcaption { padding: 10px 14px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.prose .shot-note { font-size: 13px; color: var(--subtle); }
.prose .kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 1.4em 0; }
.prose .kpi { padding: 18px 14px; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(180deg, #f5f8ff, #fff); text-align: center; }
.prose .kpi-num { display: block; font-size: 23px; font-weight: 800; line-height: 1.3; color: var(--brand); letter-spacing: -.01em; }
.prose .kpi-label { display: block; margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.prose .scene-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 1em 0 1.4em; }
.prose .scene { position: relative; padding: 20px 22px 20px 24px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.prose .scene::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: linear-gradient(var(--brand), var(--accent)); }
.prose .scene h3 { margin: 0 0 6px; font-size: 17px; }
.prose .scene p { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.prose table.compare { display: table; table-layout: fixed; background: #fff; }
.prose table.compare td:first-child, .prose table.compare th:first-child { width: 96px; font-weight: 600; color: var(--ink); }
.prose table.compare th:last-child { background: var(--brand); color: #fff; }
.prose table.compare td:last-child { background: #f1f6ff; color: var(--ink); font-weight: 500; }
.prose .media-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 1em 0; }
.prose .media-row img { width: 240px; margin: 0; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); cursor: zoom-in; }
/* image placement and width chosen in the editor; captions; notes; highlights */
.prose .img-left { float: left; max-width: 50%; margin: .3em 1.6em 1em 0; }
.prose .img-right { float: right; max-width: 50%; margin: .3em 0 1em 1.6em; }
.prose .img-center { display: block; margin-left: auto; margin-right: auto; }
.prose img.img-w25 { width: 25%; height: auto; }
.prose img.img-w50 { width: 50%; height: auto; }
.prose img.img-w75 { width: 75%; height: auto; }
.prose img.img-w100 { width: 100%; height: auto; }
.prose figure.img-figure { margin: 1.4em 0; }
.prose figure.img-figure img { display: block; margin: 0 auto; }
.prose figure.img-figure figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.6; text-align: center; }
.prose figure.img-figure.img-left, .prose figure.img-figure.img-right { margin-top: .3em; }
.prose figure.img-figure.img-left img, .prose figure.img-figure.img-right img { width: 100%; }
.prose .note { margin: 1.4em 0; padding: 14px 18px; border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; background: var(--brand-50); }
.prose .note.note-warn { border-left-color: #f79009; background: #fffaeb; }
.prose .note p:last-child { margin: 0; }
.prose mark { background: #fff3a3; padding: 0 3px; border-radius: 3px; color: inherit; }
/* wide pages (pricing) */
.prose-wide { max-width: 1200px; margin: 0 auto; }
.prose .price-nav { position: sticky; top: calc(var(--header-h) + 10px); z-index: 5; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 40px; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .95); box-shadow: var(--shadow-sm); }
.prose .price-nav a { padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; }
.prose .price-nav a:hover { background: var(--brand-50); color: var(--brand); }
.prose .price-section { padding: 0 0 48px; scroll-margin-top: calc(var(--header-h) + 80px); }
.prose .price-section + .price-section { padding-top: 48px; border-top: 1px solid var(--line); }
.prose .price-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.prose .price-head img.price-logo { width: 48px; height: 48px; margin: 0; border-radius: 12px; }
.prose .price-head h2 { margin: 0 0 2px; padding: 0; border: 0; font-size: 24px; }
.prose .price-head p { margin: 0; font-size: 15px; color: var(--muted); }
.prose .price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.prose .price-card { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: box-shadow .25s, transform .25s; }
.prose .price-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.prose .price-card.featured { border: 2px solid var(--brand); box-shadow: 0 18px 40px -24px rgba(31, 107, 255, .6); }
.prose .price-badge { position: absolute; top: -12px; right: 20px; padding: 2px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--brand), var(--violet)); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.8; }
.prose .price-card p { margin: 0; }
.prose .price-name { font-size: 17px; font-weight: 700; color: var(--ink); }
.prose .price-amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 8px 0 4px; }
.prose .price-amount .num { font-size: 32px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.prose .price-card.featured .price-amount .num { color: var(--brand); }
.prose .price-amount .unit { font-size: 14px; color: var(--muted); }
.prose .price-desc { min-height: 3.3em; margin-bottom: 16px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.prose .price-card ul { flex: 1; list-style: none; margin: 16px 0 22px; padding: 16px 0 0; border-top: 1px dashed var(--line); }
.prose .price-card li { position: relative; margin: 0 0 8px; padding-left: 24px; font-size: 14.5px; line-height: 1.7; }
.prose .price-card li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.prose .price-cta a { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); color: var(--ink); font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.prose .price-cta a:hover { border-color: var(--brand); color: var(--brand); }
.prose .price-card.featured .price-cta a { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(31, 107, 255, .6); }
.prose .price-card.featured .price-cta a:hover { background: var(--brand-600); color: #fff; }
.prose .price-addon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 18px; padding: 14px 20px; border-radius: 12px; border: 1px dashed #c9d8ff; background: var(--bg-soft); font-size: 14.5px; }
.prose .price-addon span { font-weight: 600; color: var(--ink); }
.prose .price-addon small { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.prose .price-terms { margin: 0 0 40px; }
.prose table.price-table { display: table; }
/* online demos (book-a-demo page): product and link columns stay on one line */
.prose table.demo-table { display: table; }
.prose table.demo-table td:first-child { white-space: nowrap; font-weight: 600; }
.prose table.demo-table td:last-child { white-space: nowrap; }
.prose table.price-table td:last-child { white-space: nowrap; font-weight: 600; color: var(--ink); }
.prose .price-faq { max-width: 900px; margin: 8px auto 0; padding-top: 40px; border-top: 1px solid var(--line); }
.prose .price-faq h2 { border: 0; padding: 0; margin-top: 0; }
.prose .price-faq h3 { font-size: 17px; }
.prose .price-note { margin-top: 28px; font-size: 13px; color: var(--subtle); }

/* ---------------------------------------------------------------- 8 forms */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.contact-card { display: flex; gap: 12px; padding: 18px; border-radius: var(--radius-sm); }
.contact-card .ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.contact-card .ic svg { width: 20px; height: 20px; }
.contact-card small { display: block; color: var(--subtle); font-size: 12.5px; }
.contact-card strong { color: var(--ink); font-size: 15px; word-break: break-all; }
.form-card { position: sticky; top: calc(var(--header-h) + 20px); padding: 32px; border-radius: calc(var(--radius) + 4px); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-row label .req { color: #e5484d; margin-left: 2px; }
.input, .select, .textarea { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.input::placeholder, .textarea::placeholder { color: var(--subtle); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: #b8c3d6; }
.textarea { height: auto; min-height: 104px; padding: 10px 14px; resize: vertical; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.input.invalid, .select.invalid, .textarea.invalid { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, .12); }
.field-error { color: #d92d20; font-size: 13px; margin-top: 4px; min-height: 0; }
.form-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 12.5px; color: var(--subtle); margin-top: 12px; text-align: center; }
.form-hint { margin: -6px 0 16px; font-size: 12.5px; color: var(--subtle); }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14.5px; margin-bottom: 16px; }
.alert-success { background: #e8f8f1; color: #0b7a4b; border: 1px solid #bfe9d5; }
.alert-error { background: #fdeced; color: #b42318; border: 1px solid #f7c8cb; }
/* lead form: confirmation replaces the form after a successful submit */
.form-success { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 36px 16px 28px; text-align: center; }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.form-success svg { width: 48px; height: 48px; color: #16a34a; }
.form-success strong { font-size: 18px; color: var(--ink); }
.form-success-msg { margin: 0 0 12px; color: var(--muted); max-width: 420px; }
.lead-form[hidden] { display: none; }
.lead-form .input, .lead-form .select, .lead-form .textarea, .form-success { scroll-margin-top: calc(var(--header-h) + 24px); }
/* custom forms */
.form-page { max-width: 720px; }
.form-page .form-card { position: static; }
.prose .custom-form-card { position: static; margin: 1.6em 0; }
.choice-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-set legend { display: block; padding: 0; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.choice-set legend .req { color: #e5484d; margin-left: 2px; }
.choice-set .choice-item { display: inline-flex; align-items: center; gap: 6px; margin: 4px 18px 4px 0; font-size: 15px; font-weight: 400; color: var(--text); cursor: pointer; }
.choice-set input { accent-color: var(--brand); }
.choice-set input.invalid { outline: 2px solid #e5484d; outline-offset: 2px; }

/* ---------------------------------------------------------------- 9 misc pages */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .current { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pager .gap { border: 0; background: none; min-width: 20px; }
.empty { text-align: center; padding: 60px 20px; color: var(--subtle); }
.empty svg { width: 64px; height: 64px; color: #c8d2e3; margin-bottom: 12px; }
/* search results */
.search-head { display: flex; align-items: baseline; gap: 8px; margin: 0 0 16px; font-size: 20px; }
.search-head small { font-size: 14px; font-weight: 400; color: var(--subtle); }
.search-block { margin-bottom: 40px; }
/* error page */
.error-page { text-align: center; padding: 100px 0 80px; }
.error-code { font-size: 120px; font-weight: 900; line-height: 1; background: linear-gradient(135deg, var(--brand), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.04em; }
.error-page h1 { font-size: 28px; margin: 16px 0 10px; }
.error-page p { color: var(--muted); }
.error-links { max-width: 520px; margin: 36px auto 0; text-align: left; }
.error-links h2 { font-size: 16px; }
.error-links ul { padding-left: 18px; }
.error-search { display: flex; gap: 8px; max-width: 440px; margin: 24px auto 0; }
.error-search .input { flex: 1; min-width: 0; }
/* sitemap */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sitemap-grid section { padding: 24px; }
.sitemap-grid h2 { font-size: 17px; }
.sitemap-grid ul { list-style: none; padding: 0; margin: 0; }
.sitemap-grid li { padding: 4px 0; font-size: 14.5px; }
.sitemap-grid li a { color: var(--text); }
.sitemap-grid li a:hover { color: var(--brand); }
/* my data (personal-data self-service) */
.mydata { max-width: 760px; }
.mydata-card { padding: 24px 26px; margin-bottom: 18px; }
.mydata-card h2 { font-size: 19px; margin: 0 0 10px; }
.mydata-card p { margin: 0 0 10px; color: var(--text); line-height: 1.8; }
.mydata-card p:last-child { margin-bottom: 0; }
.mydata-id code { display: inline-block; max-width: 100%; padding: 6px 10px; border-radius: var(--radius-sm); background: var(--bg-soft); font-size: 14px; letter-spacing: .02em; word-break: break-all; }
.mydata-sub { color: var(--muted); font-size: 14px; }
.mydata-form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 6px; }
.mydata-check { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.mydata-done { padding: 12px 16px; margin-bottom: 18px; border-radius: var(--radius-sm); background: #ecfdf3; color: #067647; border: 1px solid #abefc6; }
.mydata-more { margin-top: 6px; }

/* ---------------------------------------------------------------- 10 footer & floating parts */
.site-footer { background: var(--bg-dark); color: #a9b4cb; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.3fr; gap: 32px; padding: 64px 0 48px; }
.footer-brand img { height: 34px; margin-bottom: 16px; }
.footer-logo-text { margin-bottom: 16px; overflow-wrap: anywhere; font-size: 20px; font-weight: 700; letter-spacing: .02em; color: #fff; line-height: 34px; }
.footer-brand p { color: #8e9ab4; line-height: 1.8; margin-bottom: 18px; max-width: 320px; }
.social { display: flex; gap: 8px; flex-wrap: wrap; }
.social a { color: #c7d0e2; font-size: 13px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); transition: border-color .2s, color .2s; }
.social a:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.footer-col h3 { color: #fff; font-size: 14.5px; font-weight: 600; margin-bottom: 18px; letter-spacing: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #a9b4cb; }
.footer-col a:hover { color: #fff; }
/* a footer column with many links (such as every product) is twice as wide and lists them in two columns */
.footer-top.has-wide { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, .85fr)) minmax(0, 1.4fr); }
.footer-col.is-wide { grid-column: span 2; }
.footer-col.is-wide ul { max-width: 320px; columns: 2; column-gap: 24px; }
.footer-col.is-wide li { break-inside: avoid; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; color: #6f9bff; }
.footer-qr { display: flex; gap: 14px; align-items: center; margin-top: 16px; }
/* the QR code sits on a soft tile in a faint frame instead of a bright white square; the image's own
   white is multiplied into the tile colour, the dark modules stay dark (contrast stays above 15:1 for scanning) */
.footer-qr-code { flex: none; margin: 6px; padding: 5px; border-radius: 10px; background: #e3e9f5; isolation: isolate;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .06), 0 0 0 6px rgba(255, 255, 255, .12); }
.footer-qr-code img { display: block; width: 80px; height: 80px; mix-blend-mode: multiply; }
.footer-qr span { font-size: 13px; color: #8e9ab4; white-space: nowrap; }
.footer-links { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }
.footer-links span { color: #6f7b95; }
.footer-links a { color: #8e9ab4; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; font-size: 13px; color: #7d89a3; }
.footer-bottom a { color: #8e9ab4; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .beian { display: flex; flex-wrap: wrap; gap: 16px; }
.back-top { position: fixed; right: 22px; bottom: 26px; z-index: 90; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--brand); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.back-top:hover { border-color: var(--brand-100); background: var(--brand-50); }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top svg { width: 20px; height: 20px; }
.toast { position: fixed; left: 50%; top: 24px; z-index: 300; transform: translate(-50%, -20px); opacity: 0; padding: 12px 20px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14.5px; box-shadow: var(--shadow-lg); transition: all .25s; pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.success { background: #0b7a4b; }
.toast.error { background: #b42318; }
/* screenshot lightbox (site.js) */
.lightbox { position: fixed; inset: 0; z-index: 400; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; background: rgba(6, 12, 30, .88); cursor: zoom-out; opacity: 0; transition: opacity .2s; }
.lightbox.show { opacity: 1; }
.lightbox img { max-width: min(1440px, 100%); max-height: calc(100% - 60px); border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox p { margin: 0; color: #d6def0; font-size: 14px; text-align: center; }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; transition: background .2s; }
.lightbox-close:hover, .lightbox-close:focus-visible { background: rgba(255, 255, 255, .28); outline: none; }
.lightbox-close svg { width: 22px; height: 22px; }
/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- 11 visual editor (design mode only) */
/* everything visible at once, nothing animates away under the cursor */
body[data-design] .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
body[data-design] .back-top { display: none !important; }
body[data-design] a, body[data-design] button { cursor: default; }
.dz-empty-block { padding: 28px 0; }
.dz-empty-block p { margin: 0; padding: 18px 20px; border: 1px dashed #b8c4da; border-radius: var(--radius-sm); background: #fafcff; color: var(--muted); text-align: center; font-size: 14px; }
.dz-hover, .dz-sel { display: none; position: absolute; z-index: 2147483000; pointer-events: none; border-radius: 4px; box-sizing: border-box; }
.dz-hover { border: 2px dashed rgba(31, 107, 255, .75); background: rgba(31, 107, 255, .04); }
.dz-sel { border: 2px solid #1f6bff; box-shadow: 0 0 0 4px rgba(31, 107, 255, .18); }
.dz-hover span, .dz-sel span { position: absolute; left: -2px; top: -24px; padding: 2px 8px; border-radius: 4px 4px 4px 0; background: #1f6bff; color: #fff; font: 600 12px/18px -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; white-space: nowrap; }
.dz-hover span { background: rgba(31, 107, 255, .85); }
.dz-hover span:empty, .dz-sel span:empty { display: none; }
.dz-below span { top: auto; bottom: -24px; border-radius: 0 4px 4px 4px; }
/* placeholders of empty fields and blocks, other states */
.dz-ph { display: inline-block; min-width: 64px; padding: 2px 10px; border: 1px dashed #9fb3d9; border-radius: 6px; background: rgba(31, 107, 255, .04); color: #5b6b8c; font-size: 13px; font-weight: 400; line-height: 1.6; }
.dz-ph::before { content: "+ "; }
li.dz-ph, p.dz-ph, div.dz-ph, blockquote.dz-ph { display: block; }
.site-footer .dz-ph { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); color: #aab5cc; }
.dz-ph-img { position: absolute; top: 12px; right: 16px; z-index: 1; min-width: 0; background: rgba(255, 255, 255, .9); }
.dz-ph-block { padding: 28px; margin-bottom: 28px; text-align: center; }
.dz-ph-note { margin: 8px 0 0; padding: 8px 12px; border: 1px dashed #b8c4da; border-radius: var(--radius-sm); background: #fafcff; color: var(--muted); font-size: 13px; }
.dz-empty-inline { padding: 0; }
.dz-empty-inline p { margin: 0; padding: 14px 16px; border: 1px dashed #b8c4da; border-radius: var(--radius-sm); background: #fafcff; color: var(--muted); font-size: 14px; }
.dz-empty-notice { background: #f3f6fb; background-image: none; color: var(--muted); }
.dz-states { margin-top: 32px; padding: 16px 18px; border: 1px dashed #b8c4da; border-radius: var(--radius-sm); background: #fafcff; }
.dz-states-h { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.dz-state { display: grid; gap: 4px; padding: 8px 0; border-top: 1px solid var(--line); }
.dz-state small { color: var(--muted); }
.dz-state p { margin: 0; }

/* ---------------------------------------------------------------- 12 responsive */
/* tables fill the text column on wide screens; on phones they scroll inside their own box */
@media (min-width: 769px) { .prose table { display: table; } }
@media (min-width: 1025px) {
  /* the wide product menu opens to the right of its item instead of being centred (avoids overflowing the viewport) */
  /* the product menu is centred under the whole header, as wide as the screen allows */
  .header-inner { position: relative; }
  .nav-item.has-mega { position: static; }
  .dropdown.mega { display: grid; grid-template-columns: 284px minmax(0, 1fr); width: min(1100px, calc(100vw - 48px)); }
}
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .header-inner { gap: 20px; }
  .nav-link { padding: 0 10px; }
  .nav-item.active > .nav-link::after { left: 10px; right: 10px; }
  .footer-top { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .footer-top .footer-contact-col { grid-column: 1 / -1; }
  .footer-top.has-wide { grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .section { padding: 72px 0; }
  .page-hero + .section, .page-hero + section.section { padding-top: 48px; }
  .nav-toggle { display: inline-flex; }
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .site-header, .pd-nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  /* closed state stays inside the viewport: an off-screen fixed panel would widen the mobile layout viewport */
  .main-nav { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 40px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; border-top: 1px solid var(--line); }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line-2); justify-content: space-between; font-size: 16px; }
  .nav-item.active > .nav-link::after { display: none; }
  .dropdown, .mega { position: static; transform: none; width: auto; min-width: 0; box-shadow: none; border: 0; padding: 4px 0 8px 8px; opacity: 1; visibility: visible; display: none; grid-template-columns: 1fr; }
  .nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown, .nav-item.open > .dropdown { transform: none; }
  .nav-item.open > .dropdown { display: block; }
  .nav-item.open > .mega { display: grid; }
  .mega-intro, .mega-bar { display: none; }
  .mega-main { padding: 0; }
  .mega-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dropdown a.mega-card { padding: 10px 4px; }
  .dropdown a.mega-all { display: block; padding: 10px 4px; color: var(--brand); font-weight: 600; }
  .header-inner { gap: 12px; }
  .header-actions { margin-left: auto; }
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero h1, html[lang^="en"] .hero h1 { font-size: 40px; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .product-grid > .product-card { flex-basis: calc((100% - 24px) / 2); }
  .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout-2col, .page-grid { grid-template-columns: minmax(0, 1fr); }
  .sidebar, .form-card { position: static; }
  .product-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sitemap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc { display: none; }
  .prose .price-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .prose .price-desc { min-height: 0; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .page-hero + .section, .page-hero + section.section { padding-top: 40px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 26px; }
  .hero h1, html[lang^="en"] .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .values-grid, .case-grid { grid-template-columns: minmax(0, 1fr); }
  .stats-band { padding: 32px 20px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .stats-grid > div + div { border-left: 0; }
  .stat-num { font-size: 30px; }
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .logo-cell { height: 64px; padding: 10px; }
  .logo-text { font-size: 13.5px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .news-row { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 14px; }
  .article { padding: 22px 18px; }
  .article-head h1 { font-size: 24px; }
  .article-nav, .related ul { grid-template-columns: minmax(0, 1fr); }
  .article-nav .next { text-align: left; }
  .page-hero { padding: 36px 0 32px; }
  .page-hero h1, .product-hero h1 { font-size: 28px; }
  .product-hero { padding: 36px 0 44px; }
  .product-body > .article { padding: 0; }
  .product-body > .article.prose > h2 { font-size: 22px; }
  .cta { padding: 60px 0; }
  .cta h2 { font-size: 24px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 44px 0 28px; }
  .footer-brand, .footer-top .footer-contact-col { grid-column: 1 / -1; }
  .footer-top.has-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cards, .form-2col { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 22px; }
  .sitemap-grid { grid-template-columns: minmax(0, 1fr); }
  .notice-bar .container { justify-content: flex-start; text-align: left; font-size: 13px; }
  .notice-tag { display: none; }
  .hs-b, .hs-chip { display: none; }
  .hs-a { width: 42%; right: -2%; bottom: -6%; }
  .hero-stack { padding: 8px 0 28px; }
  .prose .shot-grid, .prose .scene-grid { grid-template-columns: minmax(0, 1fr); }
  .prose table.compare { display: block; table-layout: auto; }
  .prose table.demo-table { font-size: 13.5px; }
  .prose table.demo-table th, .prose table.demo-table td { padding: 8px 10px; }
  .prose table.compare td:first-child, .prose table.compare th:first-child { width: auto; white-space: nowrap; }
  /* wide tables scroll inside their box instead of squeezing columns to a few characters */
  .prose table:not(.price-table) th, .prose table:not(.price-table) td { min-width: 5em; }
  .prose .price-nav { position: static; border-radius: 14px; }
  .prose .price-head h2 { font-size: 20px; }
  .prose .media-row img { width: calc(50% - 12px); }
}
@media (max-width: 640px) {
  .prose .img-left, .prose .img-right { float: none; max-width: 100%; margin: .8em auto; display: block; }
  .prose img.img-w25, .prose img.img-w50, .prose img.img-w75 { width: 100%; }
}
/* phones: the language switch moves into the menu; a long custom button text must not push the menu button off the screen */
@media (max-width: 560px) {
  .header-actions { gap: 4px; min-width: 0; }
  .header-actions .lang-switch { display: none; }
  .nav-lang { display: block; }
  .header-actions .btn-sm { display: block; min-width: 0; flex: 0 1 auto; max-width: 36vw; margin-left: 4px; overflow: hidden; text-overflow: ellipsis; line-height: 34px; }
  .header-actions .search-toggle, .header-actions .nav-toggle { flex: none; }
}
@media (max-width: 480px) {
  .section-head h2 { font-size: 24px; }
  .product-grid > .product-card { flex-basis: 100%; }
  /* one column: the product family lists products compactly, name and positioning only */
  .family-grid { gap: 12px; }
  .family-grid > .product-card { padding: 16px 18px; }
  .family-grid .product-top { margin-bottom: 8px; }
  .family-grid .product-top img { width: 36px; height: 36px; border-radius: 10px; }
  .family-grid .product-top h3 { font-size: 16px; }
  .family-grid .product-tagline { margin-bottom: 0; font-size: 14px; }
  .family-grid .product-summary, .family-grid .product-card:not(.is-current) .product-meta { display: none; }
  .family-grid .is-current .product-meta { position: absolute; top: 18px; right: 18px; margin: 0; padding: 0; border: 0; }
  .family-grid .is-current .product-meta .stars { display: none; }
  .family-grid .is-current .product-top { padding-right: 84px; }
  .news-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { flex: 1; }
  .error-code { font-size: 84px; }
}
@media (max-width: 400px) {
  .logo img { height: 30px; }
  .header-actions .btn-sm { padding: 0 10px; font-size: 13px; }
  .search-toggle, .nav-toggle { width: 36px; }
  .logo-text { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .hs-chip { animation: none !important; }
}

/* ---------------------------------------------------------------- 13 print */
@media print {
  .site-header, .site-footer, .notice-bar, .sidebar, .back-top, .cta, .form-card, .pd-nav { display: none !important; }
  .layout-2col { grid-template-columns: minmax(0, 1fr); }
  .article { border: 0; padding: 0; }
  .prose pre { white-space: pre-wrap; overflow-wrap: anywhere; } /* paper cannot scroll */
}
