/* ==========================================================================
   Enterprise site theme
   ========================================================================== */
: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: #5b6b86;
  --subtle: #6c7a93; /* >= 4.5:1 on white (WCAG AA) */
  --line: #e5eaf3;
  --bg: #ffffff;
  --bg-soft: #f5f8fe;
  --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, .04);
  --shadow: 0 10px 30px -12px rgba(16, 33, 77, .18);
  --shadow-lg: 0 24px 60px -20px rgba(16, 52, 140, .28);
  --container: 1200px;
  --header-h: 68px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::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; }

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

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px;
  border-radius: 10px; 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-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(31, 107, 255, .6); }
.btn-primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 10px 24px -8px rgba(31, 107, 255, .7); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.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); }
.btn-white:hover { background: var(--brand-50); color: var(--brand-700); }
.btn-lg { height: 52px; padding: 0 30px; font-size: 16px; border-radius: 12px; }
.btn-sm { height: 34px; padding: 0 14px; 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); }

/* ---------------------------------------------------------------- notice bar */
.notice-bar { background: linear-gradient(90deg, #0d2a6b, #1f4fd1 55%, #5a3ee8); color: #fff; font-size: 13.5px; }
.notice-bar .container { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; text-align: center; }
.notice-bar a { color: #fff; }
.notice-tag { background: rgba(255, 255, 255, .18); padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.notice-link { font-weight: 600; opacity: .9; white-space: nowrap; }
.notice-link:hover { opacity: 1; color: #fff; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); 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 6px 24px -18px rgba(16, 33, 77, .35); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 28px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 34px; width: auto; }
.main-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 4px; height: var(--header-h); padding: 0 14px; color: var(--ink); font-weight: 500; font-size: 15px; }
.nav-link:hover, .nav-item.active > .nav-link { color: var(--brand); }
.nav-item.active > .nav-link { position: relative; }
.nav-item.active > .nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 14px; height: 2px; border-radius: 2px; background: var(--brand); }
.caret { width: 10px; height: 10px; transition: transform .2s; opacity: .6; }
.nav-item:hover .caret, .nav-item.open .caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% - 8px); 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); }
.mega { width: 720px; padding: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.mega a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; }
.mega img { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.mega strong { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 15px; font-weight: 600; }
.mega small { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 2px; }
.mega a:hover strong { color: var(--brand); }
.mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; text-align: right; }
.mega-foot a { display: inline-block; padding: 6px 12px; font-weight: 600; color: var(--brand); }
.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: 14px; }
.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; }
.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); border-radius: 10px; 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); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; background: radial-gradient(1200px 500px 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: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 50px; line-height: 1.18; letter-spacing: -.02em; margin-bottom: 22px; }
.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; color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 38px; 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; }
.hero-art { width: 100%; filter: drop-shadow(0 30px 50px rgba(16, 52, 140, .18)); }

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

/* ---------------------------------------------------------------- products */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s; 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 { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); color: var(--text); }
.product-card:hover::before { opacity: 1; }
.product-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.product-top img { width: 46px; height: 46px; 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: 14.5px; margin-bottom: 8px; line-height: 1.55; }
.product-summary { color: var(--muted); font-size: 14px; line-height: 1.7; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); 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; }

/* ---------------------------------------------------------------- stats */
.stats-band { position: relative; overflow: hidden; border-radius: 22px; padding: 46px 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, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.stat-label { opacity: .82; margin-top: 6px; font-size: 14.5px; }

/* ---------------------------------------------------------------- logo wall */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.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; }
.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); }
.logo-cell:hover img { filter: none; opacity: 1; }

/* ---------------------------------------------------------------- cases */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--text); transition: transform .25s, box-shadow .25s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.case-cover { position: relative; aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.case-card:hover .case-cover img { transform: scale(1.04); }
.case-tag { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .92); color: var(--brand-700); font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.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 12px; 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; }
.filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; 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; }
.filter-tabs a:hover { border-color: var(--brand); color: var(--brand); }
.filter-tabs a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-tabs small { opacity: .7; margin-left: 2px; }

/* ---------------------------------------------------------------- news */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.news-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--text); transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.news-card .thumb { aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.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; }

/* ---------------------------------------------------------------- cta */
.cta { position: relative; overflow: hidden; padding: 72px 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; margin-bottom: 12px; }
.cta p { opacity: .85; font-size: 16px; margin-bottom: 28px; }

/* ---------------------------------------------------------------- page header */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 52px; background: radial-gradient(900px 300px at 90% 0%, #e2ebff, transparent 70%), linear-gradient(180deg, #f5f8ff, #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: 36px; margin-bottom: 10px; }
.page-hero p { color: var(--muted); font-size: 16px; margin: 0; max-width: 720px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; 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: 56px 0; background: linear-gradient(180deg, #f5f8ff, #fff); border-bottom: 1px solid var(--line); }
.product-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.product-hero .logo-lg { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 18px; box-shadow: var(--shadow); }
.product-hero h1 { font-size: 40px; 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: 26px; }
.product-links { display: flex; flex-wrap: wrap; gap: 12px; }
.product-shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-item { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: box-shadow .25s, border-color .25s; }
.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; color: var(--brand); background: var(--brand-50); }
.feature-item h3 { font-size: 17px; margin-bottom: 4px; }
.feature-item p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* ---------------------------------------------------------------- article layout */
.layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.news-list { display: flex; flex-direction: column; gap: 18px; }
.news-row { display: grid; grid-template-columns: 240px 1fr; gap: 22px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--text); transition: box-shadow .25s, border-color .25s; }
.news-row:hover { box-shadow: var(--shadow); border-color: var(--brand-100); color: var(--text); }
.news-row .thumb { aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); }
.news-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-row h2 { font-size: 18px; line-height: 1.5; margin-bottom: 8px; }
.news-row h2 .pin { display: inline-block; font-size: 12px; font-weight: 600; color: #fff; background: #ff5a3d; 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: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: var(--subtle); font-size: 13px; }
.meta .cat { color: var(--brand); background: var(--brand-50); padding: 1px 9px; border-radius: 6px; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 20px; }
.widget { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.widget h3 { font-size: 16px; margin-bottom: 14px; padding-left: 10px; border-left: 3px solid var(--brand); line-height: 1.2; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.widget li:last-child { border-bottom: 0; }
.widget li a { color: var(--text); display: flex; justify-content: space-between; gap: 10px; }
.widget li a:hover, .widget li a.active { color: var(--brand); }
.widget li small { color: var(--subtle); }
.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, #1f55e0, #6a4cf0); color: #fff; border: 0; }
.widget-cta h3 { color: #fff; border-color: #fff; }
.widget-cta p { opacity: .85; font-size: 14px; }

.article { padding: 36px 40px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 28px; }
.article-head h1 { font-size: 30px; line-height: 1.4; 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); 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: 1fr 1fr; gap: 10px 24px; }
.related li a { color: var(--text); display: block; padding: 6px 0; border-bottom: 1px dashed var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related li a:hover { color: var(--brand); }

/* 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 > :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: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; 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; }

/* ---------------------------------------------------------------- page with form */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.contact-card { display: flex; gap: 12px; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
.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: 30px; border-radius: 18px; 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: 20px; }
.form-row { margin-bottom: 14px; }
.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); border-radius: 10px; background: #fff; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.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: #e5484d; font-size: 13px; margin-top: 4px; min-height: 0; }
.form-2col { display: grid; grid-template-columns: 1fr 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: 10px; text-align: center; }
.alert { padding: 12px 16px; border-radius: 10px; 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; }

/* ---------------------------------------------------------------- pager */
.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: 10px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 14.5px; }
.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; }

/* ---------------------------------------------------------------- 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; }

/* ---------------------------------------------------------------- sitemap page */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sitemap-grid section { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.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); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--bg-dark); color: #aab5cc; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr; gap: 32px; padding: 64px 0 44px; }
.footer-brand img { height: 32px; margin-bottom: 16px; }
.footer-brand p { color: #8f9bb5; line-height: 1.8; margin-bottom: 16px; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { color: #c7d0e2; font-size: 13px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); }
.social a:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.footer-col h3 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #aab5cc; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: #6f9bff; }
.footer-qr { display: flex; gap: 14px; align-items: center; margin-top: 16px; }
.footer-qr img { width: 92px; height: 92px; border-radius: 8px; background: #fff; padding: 4px; }
.footer-qr span { font-size: 13px; color: #8f9bb5; }
.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: #8f9bb5; }
.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; font-size: 13px; color: #7c88a3; }
.footer-bottom a { color: #8f9bb5; }
.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: 0; 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.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; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .nav-link { padding: 0 10px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .footer-top .footer-contact-col { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .section { padding: 68px 0; }
  .nav-toggle { display: inline-flex; }
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .site-header { 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); 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 { transform: none; }
  .nav-item.open > .dropdown { display: block; }
  .nav-item.open > .mega { display: grid; }
  .mega-foot { text-align: left; }
  .header-inner { gap: 12px; }
  .header-actions { margin-left: auto; }
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 40px; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-2col, .page-grid { grid-template-columns: 1fr; }
  .sidebar, .form-card { position: static; }
  .product-hero-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 26px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .values-grid, .case-grid { grid-template-columns: 1fr; }
  .stats-band { padding: 32px 20px; border-radius: 18px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .stat-num { font-size: 30px; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .logo-cell { height: 64px; padding: 10px; }
  .feature-grid { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 1fr; padding: 14px; }
  .article { padding: 22px 18px; }
  .article-head h1 { font-size: 24px; }
  .article-nav, .related ul { grid-template-columns: 1fr; }
  .article-nav .next { text-align: left; }
  .page-hero { padding: 40px 0 36px; }
  .page-hero h1, .product-hero h1 { font-size: 28px; }
  .cta h2 { font-size: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 44px 0 28px; }
  .footer-brand, .footer-top .footer-contact-col { grid-column: 1 / -1; }
  .contact-cards, .form-2col { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .notice-bar .container { justify-content: flex-start; text-align: left; font-size: 13px; }
  .notice-tag { display: none; }
}
@media (max-width: 480px) {
  .product-grid, .news-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
  .error-code { font-size: 84px; }
}
@media print {
  .site-header, .site-footer, .notice-bar, .sidebar, .back-top, .cta, .form-card { display: none !important; }
  .layout-2col { grid-template-columns: 1fr; }
  .article { border: 0; padding: 0; }
}

/* ---------------------------------------------------------------- review fixes */
.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; }
/* the wide product menu opens to the right of its item instead of being centred (avoids overflowing the viewport) */
@media (min-width: 1025px) {
  .dropdown.mega { left: -12px; transform: translate(0, 8px); }
  .nav-item:hover > .dropdown.mega, .nav-item:focus-within > .dropdown.mega, .nav-item.open > .dropdown.mega { transform: translate(0, 0); }
}
/* 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; }
.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); }
.prose h2, .prose h3 { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (max-width: 1024px) { .toc { display: none; } }
@media (max-width: 400px) {
  .header-actions .btn-sm { padding: 0 10px; font-size: 13px; }
  .logo img { height: 30px; width: auto; }
}
/* article share bar */
.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); }

/* ==========================================================================
   SREYUN brand components
   ========================================================================== */
.logo img { height: 38px; width: auto; }
.footer-brand img { height: 35px; }
.btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-white:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* product cards: centred rows so five products read 3 + 2 */
.product-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.product-grid > .product-card { flex: 0 1 calc((100% - 40px) / 3); min-width: 0; }

/* 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-float 6s ease-in-out infinite; }
.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: -3s; }
@keyframes hs-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ecosystem wall rendered as text tags when no logo is uploaded */
.logo-cell.is-text { height: 64px; }
.logo-text { font-weight: 600; font-size: 15px; color: var(--muted); text-align: center; line-height: 1.3; transition: color .25s; }
.logo-cell:hover .logo-text { color: var(--brand); }

/* product detail body */
.product-body { max-width: 1080px; }
.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 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; }
.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; }

/* 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: 6px; width: fit-content; max-width: 100%; margin: 0 auto 40px; padding: 8px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .94); 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: 10px; border: 1px solid var(--line); 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 table.price-table { display: table; }
.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); }

/* 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; }

@media (max-width: 1024px) {
  .product-grid > .product-card { flex-basis: calc((100% - 20px) / 2); }
  .prose .price-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .prose .price-desc { min-height: 0; }
}
@media (max-width: 768px) {
  .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: 1fr; }
  .prose table.compare { display: block; table-layout: auto; }
  .prose table.compare td:first-child, .prose table.compare th:first-child { width: auto; white-space: nowrap; }
  .prose .price-nav { position: static; border-radius: 14px; }
  .prose .price-head h2 { font-size: 20px; }
  .prose .media-row img { width: calc(50% - 12px); }
  .logo-text { font-size: 13.5px; }
}
@media (max-width: 480px) {
  .product-grid > .product-card { flex-basis: 100%; }
}
/* icons inside buttons (e.g. the GitHub star) need an explicit size: the global svg rule would collapse them */
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.section-head h2, .cta h2, .page-hero h1 { text-wrap: balance; }
@media (max-width: 480px) { .section-head h2 { font-size: 24px; } }

/* ---------------------------------------------------------------- review round (v1.3.2) */
.prose .shot a { display: block; text-decoration: none; }
.prose .shot a:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.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; }
.form-hint { margin: -4px 0 14px; font-size: 12.5px; color: var(--subtle); }

/* ---------------------------------------------------------------- review (v1.3.3) */
/* 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); }
@media (max-width: 1024px) { .pd-nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } }

/* 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; }

/* links that open a new window */
.ext-icon { width: 11px; height: 11px; margin-left: 3px; opacity: .55; vertical-align: 1px; }
.product-grid.search-block { justify-content: flex-start; }

/* 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; }
.error-search { display: flex; gap: 8px; max-width: 440px; margin: 24px auto 0; }
.error-search .input { flex: 1; min-width: 0; }
.lead-form .input, .lead-form .select, .lead-form .textarea, .form-success { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------------------------------------------------------------- home blocks (visual editor) */
/* backgrounds chosen per block; "" 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); }
/* 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; }
/* design mode: 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; }
.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; }
/* visual editor overlays (design mode only) */
.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; }
body[data-design] a, body[data-design] button { cursor: default; }
