/* 中软联信官网样式 —— 颜色、字号、间距来自“中软联信”设计系统 tokens */
:root {
  --brand-teal: #0b5f66;
  --lime: #b7e04a;
  --on-lime: #0b5f66;
  --surface: #ffffff;
  --subtle: #f3f7f6;
  --surface-brand: #0b5f66;
  --ink: #10282a;
  --muted: #4c6365;
  --ink-brand: #0b5f66;
  --on-brand: #ffffff;
  --action: #0b5f66;
  --action-hover: #094f55;
  --on-action: #ffffff;
  --line: #d6e1e0;
  --line-strong: #7d9496;
  --focus: #0b5f66;
  --danger: #b42318;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --brand-teal: #3ba7a4;
  --lime: #c3e85c;
  --on-lime: #0c1f21;
  --surface: #0c1f21;
  --subtle: #132a2c;
  --surface-brand: #0a3a3f;
  --ink: #e9f1f0;
  --muted: #9db2b3;
  --ink-brand: #c3e85c;
  --on-brand: #e9f1f0;
  --action: #c3e85c;
  --action-hover: #d0ee7a;
  --on-action: #0c1f21;
  --line: #24403f;
  --line-strong: #5d7a7b;
  --focus: #c3e85c;
  --danger: #ff8a80;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 26px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink-brand); }
a:hover { color: var(--action-hover); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.on-brand :focus-visible { outline-color: var(--lime); }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; padding: 8px 16px; background: var(--action); color: var(--on-action); border-radius: var(--radius-pill); z-index: 100; }
.skip-link:focus { top: 12px; }

/* 版心：随屏幕分档加宽，最宽 1440px；两侧留白随宽度平滑变化 */
:root { --container: 1200px; --gutter: clamp(16px, 3.2vw, 40px); }
@media (min-width: 1440px) { :root { --container: 1280px; } }
@media (min-width: 1680px) { :root { --container: 1360px; } }
@media (min-width: 1920px) { :root { --container: 1440px; } }
.container { max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 4.5vw + 24px, 112px) 0; }
.section-sm { padding: clamp(40px, 3vw + 16px, 72px) 0; }
.bg-subtle { background: var(--subtle); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.row-between { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; }
.narrow { max-width: 880px; }

/* 文字层级 */
.eyebrow { font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: 0.12em; color: var(--ink-brand); }
.display { font-size: clamp(30px, 1.9vw + 20px, 56px); line-height: 1.25; font-weight: 700; letter-spacing: -0.005em; }
.h1 { font-size: clamp(24px, 0.9vw + 20px, 38px); line-height: 1.3; font-weight: 700; }
.h2 { font-size: clamp(20px, 0.4vw + 18px, 28px); line-height: 1.35; font-weight: 600; }
.h3 { font-size: 18px; line-height: 26px; font-weight: 600; }
.lead { font-size: clamp(16px, 0.3vw + 14.5px, 20px); line-height: 1.7; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 22px; }
.caption { font-size: 12px; line-height: 18px; }
@media (max-width: 640px) {
  .section { padding: 64px 0; }
}

/* 按钮：胶囊造型 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 24px; border-radius: var(--radius-pill); border: 1px solid transparent; font: inherit; font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-lg { min-height: 50px; padding: 0 32px; font-weight: 600; }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--action); color: var(--on-action); }
.btn-primary:hover { background: var(--action-hover); color: var(--on-action); }
.btn-lime { background: var(--lime); color: var(--on-lime); }
.btn-lime:hover { filter: brightness(1.06); color: var(--on-lime); }
.btn-outline { border-color: var(--ink-brand); color: var(--ink-brand); background: transparent; }
.btn-outline:hover { background: var(--subtle); color: var(--ink-brand); }
.btn-on-brand { border-color: var(--on-brand); color: var(--on-brand); background: transparent; }
.btn-on-brand:hover { background: rgba(255,255,255,0.12); color: var(--on-brand); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* 页头 */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 16px 32px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 32px; width: auto; }
/* 标志：中文界面用“中软联信”字标，英文界面用“ZRLX”字标；再按浅色 / 深色选版本 */
.logo { display: none; }
:root:not([lang="en"]):not([data-theme="dark"]) .logo.zh.light,
:root:not([lang="en"])[data-theme="dark"] .logo.zh.dark,
:root[lang="en"]:not([data-theme="dark"]) .logo.en.light,
:root[lang="en"][data-theme="dark"] .logo.en.dark,
:root:not([lang="en"]) .logo.zh.always,
:root[lang="en"] .logo.en.always { display: block; }
.nav { display: flex; gap: 4px 28px; flex: 1 1 auto; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink-brand); }
.nav a[aria-current="page"] { color: var(--ink-brand); font-weight: 600; border-bottom-color: var(--ink-brand); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-header .header-cta { display: none; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; padding: 8px 0 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
}

/* 品牌色块（首屏横幅） */
.hero { position: relative; overflow: hidden; background: var(--surface-brand); color: var(--on-brand); }
.hero .container { position: relative; padding-top: clamp(64px, 6vw + 24px, 144px); padding-bottom: clamp(72px, 6.5vw + 24px, 152px); display: flex; flex-direction: column; gap: clamp(16px, 1vw + 8px, 26px); }
.hero.compact .container { padding-top: clamp(56px, 4vw + 24px, 104px); padding-bottom: clamp(60px, 4.5vw + 24px, 112px); }
.hero .eyebrow { color: var(--on-brand); }
.hero .display, .hero .lead { max-width: 760px; }
.capsule { position: absolute; border-radius: var(--radius-pill); background: var(--lime); transform: rotate(45deg); pointer-events: none; }
.hero .capsule { right: 6%; top: -90px; width: 150px; height: 400px; }
.hero.compact .capsule { top: auto; bottom: -150px; width: 120px; height: 340px; }
@media (max-width: 640px) { .hero .capsule { opacity: .35; } }

.page-head { background: var(--subtle); }
.page-head .container { padding-top: clamp(44px, 3.5vw + 20px, 96px); padding-bottom: clamp(44px, 3.5vw + 20px, 96px); display: flex; flex-direction: column; gap: 16px; }

/* 网格与卡片 */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-fill { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-wide { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card-link { color: var(--ink); text-decoration: none; min-height: 200px; transition: border-color .15s; }
.card-link:hover { border-color: var(--ink-brand); color: var(--ink); }
.card-link .card-title { font-size: 22px; line-height: 30px; font-weight: 700; color: var(--ink-brand); }
.card-link .more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-brand); margin-top: auto; }
.tile { background: var(--subtle); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.bg-subtle .tile { background: var(--surface); }
.chip { align-self: flex-start; padding: 2px 12px; border-radius: var(--radius-pill); border: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 20px; }
.chip-lime { background: var(--lime); border-color: var(--lime); color: var(--on-lime); font-weight: 600; }
.check-list { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 24px; }
.check-list li::before { content: ""; flex-shrink: 0; width: 16px; height: 16px; margin-top: 4px; background: var(--ink-brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat; }
.check-list.plain { border-top: 0; padding-top: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { border-top: 3px solid var(--ink-brand); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.steps .n { font-size: 14px; font-weight: 700; color: var(--ink-brand); }
.ph { border-radius: var(--radius-lg); background: var(--subtle); border: 1px dashed var(--line-strong); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; text-align: center; padding: 16px; }
.bg-subtle .ph { background: var(--surface); }
.note { padding: 16px 24px; border-radius: var(--radius-lg); background: var(--subtle); font-size: 14px; line-height: 22px; color: var(--muted); }
.note strong { color: var(--ink); font-weight: 600; }

/* 产品 */
.product-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; background: var(--surface); }
.product-card .thumb { aspect-ratio: 16 / 10; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.price { font-size: 18px; font-weight: 700; color: var(--ink-brand); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { min-height: 44px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
.tabs button[aria-pressed="true"] { border-color: var(--action); background: var(--action); color: var(--on-action); font-weight: 500; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split.top { align-items: flex-start; }
.media { position: relative; }
.media .capsule { right: 24px; top: -28px; width: 72px; height: 200px; }
.media .ph, .media img { position: relative; aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.meta-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* 表单 */
.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; background: var(--surface); }
@media (max-width: 640px) { .form-card { padding: 24px; } }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px 24px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-md); min-height: 44px; padding: 0 12px; width: 100%; }
.field textarea { padding: 12px; resize: vertical; min-height: 120px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 0; border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form-error { color: var(--danger); font-size: 14px; line-height: 22px; }
.form-error:empty { display: none; }
.success { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.success-icon { width: 48px; height: 48px; border-radius: var(--radius-pill); background: var(--lime); color: var(--on-lime); display: flex; align-items: center; justify-content: center; }
.ticket-id { font-size: 22px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-brand); }
.status-pill { display: inline-flex; padding: 2px 12px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; background: var(--subtle); color: var(--ink); border: 1px solid var(--line); }
.status-pill[data-status="open"] { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.status-pill[data-status="processing"] { background: var(--action); color: var(--on-action); border-color: var(--action); }
[hidden] { display: none !important; }

dl.info { margin: 0; display: flex; flex-direction: column; gap: 16px; }
dl.info dt { font-size: 14px; color: var(--muted); }
dl.info dd { margin: 0; font-weight: 600; }

/* 常见问题 */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-size: 17px; line-height: 26px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-brand); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* 页脚 */
.site-footer { background: var(--surface-brand); color: var(--on-brand); }
.site-footer a { color: var(--on-brand); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--on-brand); }
.site-footer .top { padding: 56px 0 32px; display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: space-between; align-items: flex-end; }
.site-footer .brand-name { font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: 0.12em; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 14px; }
.site-footer .contact { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 22px; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,0.3); padding: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; font-size: 12px; line-height: 18px; }
.site-footer .legal { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.prefs { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.pref { display: flex; align-items: center; gap: 8px; }
.seg { display: flex; gap: 2px; padding: 3px; border: 1px solid rgba(255,255,255,0.35); border-radius: var(--radius-pill); }
.seg button { min-height: 36px; min-width: 64px; padding: 0 14px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--on-brand); font: inherit; font-size: 13px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--lime); color: var(--on-lime); font-weight: 600; }

/* 后台 */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 22px; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { color: var(--muted); font-weight: 500; white-space: nowrap; }
.admin-table tr.selectable { cursor: pointer; }
.admin-table tr.selectable:hover td { background: var(--subtle); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pre { white-space: pre-wrap; word-break: break-word; }

/* 下载列表 */
.dl-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.dl-list li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.dl-list li + li { border-top: 1px solid var(--line); }
.dl-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--radius-pill); background: var(--subtle); color: var(--ink-brand); display: flex; align-items: center; justify-content: center; }
.dl-name { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.dl-name .caption { flex-basis: 100%; }
.download-center { display: flex; flex-direction: column; gap: 20px; }
.dc-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 32px; align-items: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.dc-item .dl-list { border: 0; border-radius: 0; background: transparent; }
.dc-item .dl-list li { padding: 10px 0; }
@media (max-width: 760px) { .dc-item { grid-template-columns: minmax(0, 1fr); } }

/* 返回按钮与面包屑 */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px 0 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; transition: border-color .15s, background-color .15s, color .15s; }
.back-link svg { transition: transform .15s; color: var(--ink-brand); }
.back-link:hover { border-color: var(--ink-brand); color: var(--ink-brand); background: var(--subtle); }
.back-link:hover svg { transform: translateX(-3px); }
.crumbs .trail { font-size: 14px; color: var(--muted); }
.crumbs .trail a { color: var(--muted); text-decoration: none; }
.crumbs .trail a:hover { color: var(--ink-brand); }

/* 底部提示条 */
.toast { position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(560px, calc(100vw - 32px)); display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-lg); background: var(--surface-brand); color: var(--on-brand); box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.toast-body { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 22px; }
.toast-body strong { font-size: 15px; }
.toast-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.toast a { color: var(--lime); }
.toast-close { flex-shrink: 0; width: 32px; height: 32px; border: 0; border-radius: var(--radius-pill); background: rgba(255,255,255,.12); color: var(--on-brand); font-size: 18px; cursor: pointer; }

/* ===== 手机屏幕 ===== */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section-sm { padding: 40px 0; }
  .lead { font-size: 16px; line-height: 27px; }
  .btn-lg { min-height: 48px; padding: 0 24px; }
  .hero .btn-row .btn, .split .btn-row .btn-lg { flex: 1 1 100%; }
  .card { padding: 22px; }
  .split { gap: 32px; }
  .split > * { flex-basis: 100% !important; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .tabs button { flex-shrink: 0; }
  .site-footer .top { padding-top: 40px; }
  .site-footer .bottom { flex-direction: column; align-items: flex-start; }
  .dl-list li { padding: 12px 14px; gap: 12px; }
  .row-between { align-items: flex-start; }
}
@media (max-width: 380px) {
  .seg button { min-width: 56px; padding: 0 10px; }
}

.product-card > a { display: block; text-decoration: none; color: inherit; }
.product-card .price { margin-top: auto; }
@media (max-width: 1023px) { .media .capsule { right: 12px; top: -20px; width: 44px; height: 120px; } }

/* 法律文本页（隐私政策、使用条款）：中英文各一份，按界面语言显示 */
:root[lang="en"] .lang-zh, :root:not([lang="en"]) .lang-en { display: none !important; }
.legal-doc { max-width: 820px; display: flex; flex-direction: column; gap: 16px; }
.legal-doc h2 { font-size: 22px; line-height: 30px; font-weight: 700; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.legal-doc h3 { font-size: 17px; line-height: 26px; font-weight: 600; margin-top: 8px; }
.legal-doc p, .legal-doc li { line-height: 28px; }
.legal-doc ul, .legal-doc ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-doc .meta { color: var(--muted); font-size: 14px; }
.legal-doc .toc { background: var(--subtle); border-radius: var(--radius-lg); padding: 20px 24px; }
.legal-doc .toc ol { gap: 4px; }
.legal-doc .toc a { text-decoration: none; }
.legal-doc .toc a:hover { text-decoration: underline; }
.legal-doc table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 22px; }
.legal-doc th, .legal-doc td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.legal-doc th { background: var(--subtle); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.legal-switch { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
/* 英文界面优先用西文字体，避免引号、撇号被中文字体渲染成全角 */
:root[lang="en"] body, :lang(en) { font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
.footer-brand { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-brand img { height: 32px; width: auto; }

/* 等宽按钮组：组内按钮宽度一致（取最宽者） */
.btn-eq { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 16px; }
.btn-eq .btn { min-width: 160px; }
.btn-eq .btn-sm { min-width: 0; }
/* 卡片底部操作区：按钮铺满并等分 */
.actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; }
.actions .btn { width: 100%; min-width: 0; }
.card-foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.dl-list .btn { min-width: 108px; }
@media (max-width: 640px) {
  .btn-eq { display: grid; grid-auto-flow: row; width: 100%; }
  .btn-eq .btn { width: 100%; min-width: 0; }
}
.btn-eq { align-self: flex-start; justify-self: start; }
/* 内容较短时，页脚贴住窗口底部，不在下面留白 */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > main { flex: 1 0 auto; }
/* 窄栏内容与页面其他区块左对齐，只限制内容宽度 */
.container.narrow { max-width: calc(var(--container) + var(--gutter) * 2); }
.container.narrow > * { max-width: clamp(720px, 40vw + 240px, 960px); width: 100%; }
.card-link strong, .card-link span { overflow-wrap: anywhere; }
/* 装饰图形超出区块时裁掉，避免出现横向滚动条（只作用于正文区块，不影响吸顶页头） */
main > section { overflow-x: clip; }

/* 产品封面（无产品图时的品牌色封面） */
.cover { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-brand); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-art { display: flex; align-items: flex-end; padding: 24px; color: var(--on-brand); }
.cover-capsule { position: absolute; right: -20px; top: -40px; width: 34%; height: 150%; max-width: 170px; border-radius: var(--radius-pill); background: var(--lime); transform: rotate(45deg); opacity: .95; }
.cover-name { position: relative; font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: .02em; max-width: 70%; }
.product-card .cover.thumb { aspect-ratio: 16 / 10; border-radius: 0; }
.cover-lg { aspect-ratio: 4 / 3; width: 100%; }
.cover-lg .cover-name { font-size: clamp(26px, 1.6vw + 16px, 44px); line-height: 1.25; }
.cover-lg .cover-capsule { max-width: 240px; }

/* 关于我们：地址卡片 */
.map-card { position: relative; overflow: hidden; min-height: 320px; border-radius: var(--radius-lg); background: var(--surface-brand); color: var(--on-brand); padding: 40px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.map-card .capsule { right: 10%; top: -80px; width: 110px; height: 300px; }
.map-card .eyebrow { color: var(--on-brand); }
.map-pin { position: relative; width: 52px; height: 52px; border-radius: var(--radius-pill); background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; margin-bottom: auto; }
.map-card .btn-eq { margin-top: 8px; }
.map-card :focus-visible { outline-color: var(--lime); }
.cover-capsule { right: -4%; top: -38%; width: 22%; height: 110%; max-width: 120px; }
.cover-lg .cover-capsule { max-width: 170px; }
.cover-name { max-width: 64%; }
.map-card > *:not(.capsule) { position: relative; }
.map-card .capsule { right: -30px; top: -120px; width: 90px; height: 260px; }
.cover-name { max-width: 80%; }
.product-card .cover-name { font-size: 22px; line-height: 30px; }

/* 顶部公告栏 */
.notice-bar { background: var(--lime); color: var(--on-lime); font-size: 14px; line-height: 22px; }
.notice-bar .container { display: flex; align-items: center; gap: 8px 16px; min-height: 40px; padding-top: 8px; padding-bottom: 8px; }
.notice-bar .notice-text { flex: 1; font-weight: 500; }
.notice-bar a { color: var(--on-lime); font-weight: 600; white-space: nowrap; }
.notice-bar button { flex-shrink: 0; width: 28px; height: 28px; border: 0; border-radius: var(--radius-pill); background: rgba(0,0,0,.08); color: var(--on-lime); font-size: 16px; cursor: pointer; }

/* 文章：卡片、搜索、正文排版 */
.article-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.article-card { min-height: 0; gap: 10px; }
.article-card .article-title { font-size: 18px; line-height: 27px; font-weight: 600; color: var(--ink); }
.article-card:hover .article-title { color: var(--ink-brand); }
.article-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.article-foot .more { margin-top: 0; }
.search-box { display: flex; gap: 10px; max-width: 640px; margin-top: 8px; }
.search-box input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); }
.search-box .btn { min-height: 48px; }
.article-layout { display: flex; flex-direction: column; gap: 32px; }
.article-body { max-width: 800px; display: flex; flex-direction: column; gap: 28px; }
.article-body { max-width: clamp(720px, 30vw + 400px, 880px); }
.article-body .display { font-size: clamp(28px, 1.2vw + 20px, 44px); line-height: 1.3; }

.prose { font-size: 16px; line-height: 30px; color: var(--ink); overflow-wrap: anywhere; }
.prose > * + * { margin-top: 16px; }
.prose h1, .prose h2, .prose h3, .prose h4 { line-height: 1.4; font-weight: 700; margin-top: 36px; }
.prose h1 { font-size: 28px; }
.prose h2 { font-size: 22px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.prose h3 { font-size: 18px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--ink-brand); }
.prose strong { font-weight: 700; }
.prose blockquote { margin: 16px 0 0; padding: 12px 18px; border-left: 4px solid var(--lime); background: var(--subtle); border-radius: 0 var(--radius-md) var(--radius-md) 0; color: var(--muted); }
.prose blockquote > :first-child { margin-top: 0; }
.prose code { font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--subtle); border: 1px solid var(--line); }
.prose pre { padding: 16px 18px; border-radius: var(--radius-md); background: #0c1f21; color: #e9f1f0; overflow-x: auto; line-height: 24px; }
.prose pre code { padding: 0; border: 0; background: none; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 24px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 14px; text-align: left; }
.prose th { background: var(--subtle); font-weight: 600; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-md); border: 1px solid var(--line); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
/* 窄屏时产品主图单独占一行，改用较扁的比例，避免过大 */
@media (max-width: 1023px) { .cover-lg { aspect-ratio: 16 / 9; } .media .ph, .media img { aspect-ratio: 16 / 9; } }
