/* ==========================================================================
   搜狗输入法 官网 — 全局样式
   移动端优先，断点：768px（平板）、1024px（桌面）
   ========================================================================== */

:root {
  --primary: #052953;
  --primary-light: #007cc2;
  --accent: #f60;
  --text: #1a1a1a;
  --text-2: #666;
  --text-3: #999;
  --bg: #fff;
  --alt: #f5f7fa;
  --line: #e6e9ee;
  --radius-card: 12px;
  --radius-btn: 8px;
  --shadow-sm: 0 1px 2px rgba(5, 41, 83, .06), 0 2px 12px rgba(5, 41, 83, .05);
  --shadow-md: 0 10px 30px rgba(5, 41, 83, .1);
  --font: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; color: var(--text); }
h1 { font-size: 28px; font-weight: 700; }
h2 { font-size: 22px; font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 容器 & 区块 ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section { padding: 56px 0; }
.section--alt { background: var(--alt); }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}
.section-head h2 { margin-bottom: 10px; }
.section-head p { color: var(--text-2); }

.section[id] { scroll-margin-top: 72px; }

/* 按钮 -------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border: 0;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .18s, color .18s, box-shadow .18s, transform .18s;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 102, 0, .28);
}
.btn--primary:hover { background: #e65c00; color: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--primary);
  box-shadow: inset 0 0 0 1.5px var(--primary);
}
.btn--ghost:hover { background: var(--primary); color: #fff; }
.btn--light {
  background: #fff;
  color: var(--primary);
}
.btn--light:hover { background: #eaf2fa; color: var(--primary-light); }
.btn--block { width: 100%; }

/* 顶部导航 ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s, border-color .2s;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 18px rgba(5, 41, 83, .1);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 58px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text);
  white-space: nowrap;
}
.brand:hover { color: var(--primary); }
.brand img { width: 28px; height: 28px; border-radius: 6px; }

.nav-menu { display: none; }

.header-cta { display: none; }

.burger {
  margin-left: auto;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  cursor: pointer;
}
.burger span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--primary);
  color: var(--primary);
  border-radius: 2px;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* 移动端抽屉 */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #fff;
  transform: translateY(-102%);
  transition: transform .28s ease;
}
.nav-drawer.is-open { transform: translateY(0); }
.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  margin-bottom: 16px;
}
.nav-drawer ul { display: grid; gap: 2px; }
.nav-drawer a {
  display: block;
  padding: 14px 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.nav-drawer a:hover { color: var(--primary); }
.nav-drawer .btn { margin-top: 20px; }
.drawer-close {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 48px 0 56px;
  background: linear-gradient(160deg, #eef4fb 0%, #f7fbff 46%, #fff 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 124, 194, .16), rgba(0, 124, 194, 0) 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(5, 41, 83, .07);
  border-radius: 999px;
}
.hero h1 { margin-bottom: 14px; letter-spacing: -.5px; }
.hero h1 em {
  font-style: normal;
  color: var(--primary-light);
}
.hero-lead {
  color: var(--text-2);
  font-size: 15px;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.stat dt { font-size: 13px; color: var(--text-3); order: 2; }
.stat dd {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.stat { display: flex; flex-direction: column; gap: 2px; }

/* 输入法模拟 UI（纯 CSS） */
.ime-card {
  --ime-bg: #1d2b3a;
  --ime-bar: #243447;
  --ime-key: #33465c;
  --ime-key-text: #fff;
  --ime-text: #fff;
  --ime-sub: rgba(255, 255, 255, .6);
  --ime-active: var(--accent);
  margin-top: 32px;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f7fafd);
  box-shadow: var(--shadow-md);
}
.ime-card[data-skin="dark"] {
  --ime-bg: #0b1220;
  --ime-bar: #131c2c;
  --ime-key: #1c2739;
  --ime-key-text: #e8eef7;
  --ime-text: #fff;
  --ime-sub: rgba(255, 255, 255, .55);
  --ime-active: var(--primary-light);
}
.ime-card[data-skin="light"] {
  --ime-bg: #f7f8fa;
  --ime-bar: #fff;
  --ime-key: #fff;
  --ime-key-text: #1a1a1a;
  --ime-text: #1a1a1a;
  --ime-sub: #8b94a3;
  --ime-active: var(--primary);
}

.ime-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.ime-tab {
  flex: 1;
  padding: 7px 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all .18s;
}
.ime-tab:hover { color: var(--primary); border-color: var(--primary-light); }
.ime-tab[aria-selected="true"] {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.ime-app {
  border-radius: 12px;
  overflow: hidden;
  background: var(--ime-bg);
  transition: background .3s;
}

.ime-editor {
  padding: 14px 16px;
  min-height: 62px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.ime-editor-label {
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ime-sub);
  margin-bottom: 6px;
}
.ime-text {
  color: var(--ime-text);
  font-size: 15px;
  line-height: 1.5;
}
.ime-text .caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -.16em;
  background: var(--ime-active);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.ime-candidates {
  display: flex;
  gap: 4px;
  padding: 8px 10px;
  overflow-x: auto;
  background: var(--ime-bar);
}
.ime-candidates li {
  flex: 0 0 auto;
  padding: 5px 12px;
  font-size: 14px;
  color: var(--ime-key-text);
  border-radius: 6px;
  white-space: nowrap;
}
.ime-candidates li:first-child {
  color: #fff;
  background: var(--ime-active);
  font-weight: 600;
}

.ime-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  background: var(--ime-bar);
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: var(--ime-sub);
  font-size: 12px;
}
.ime-toolbar span { display: inline-flex; align-items: center; gap: 5px; }
.ime-toolbar .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ime-active);
}

.ime-keys {
  padding: 8px 6px 10px;
  background: var(--ime-bg);
}
.ime-row {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
  justify-content: center;
}
.ime-row .key {
  flex: 1 1 0;
  min-width: 0;
  padding: 9px 0;
  text-align: center;
  font-size: 13px;
  color: var(--ime-key-text);
  background: var(--ime-key);
  border-radius: 7px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .18);
}
.ime-row .key--wide { flex: 3.2 1 0; font-size: 12px; }
.ime-row .key--fn { flex: 1.6 1 0; font-size: 12px; background: transparent; box-shadow: none; color: var(--ime-sub); }
.ime-row .key--space { flex: 5 1 0; }

/* 公告条 ----------------------------------------------------------------- */
.notice {
  background: rgba(5, 41, 83, .06);
  border-top: 1px solid rgba(5, 41, 83, .08);
  border-bottom: 1px solid rgba(5, 41, 83, .08);
}
.notice-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 16px;
  border-left: 4px solid var(--accent);
}
.notice h2 {
  display: inline;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}
.notice p { font-size: 14px; color: var(--text-2); flex: 1 1 260px; }
.notice .notice-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-light);
  white-space: nowrap;
}
.notice .notice-link:hover { color: var(--accent); }

/* 功能卡 ----------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .grid--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .grid--news,
  .grid--reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1024px) {
  .grid--cards,
  .grid--news,
  .grid--reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

.card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--alt);
  border-radius: var(--radius-card);
  transition: transform .18s, box-shadow .18s, background-color .18s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); background: #fff; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  font-size: 21px;
  border-radius: 12px;
  background: rgba(0, 124, 194, .1);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 14px; }
.card__more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-light);
}
.card__more:hover { color: var(--accent); }

/* 对比表 ----------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
table.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}
.compare th,
.compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.compare thead th {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
  background: #fff;
  border-bottom: 2px solid var(--line);
}
.compare thead th.is-self { color: var(--primary); background: rgba(0, 124, 194, .07); }
.compare tbody th {
  font-weight: 600;
  color: var(--text);
  background: var(--alt);
  position: sticky;
  left: 0;
  z-index: 1;
}
.compare tbody tr:nth-child(even) td { background: #fafbfd; }
.compare td.is-self { color: var(--primary); font-weight: 600; }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .tick { color: var(--accent); }
.table-hint {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-3);
}

/* 资讯卡 ----------------------------------------------------------------- */
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.news-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.news-card__thumb {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .9);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.news-card__thumb--b { background: linear-gradient(135deg, #0a3f6e, #00a1c9); }
.news-card__thumb--c { background: linear-gradient(135deg, #112a45, #f60 160%); }
.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
  gap: 8px;
}
.news-card__meta {
  font-size: 12.5px;
  color: var(--text-3);
}
.news-card h3 { font-size: 17px; }
.news-card p { color: var(--text-2); font-size: 14px; }
.news-card .card__more { padding-top: 12px; }

/* 评价卡 ----------------------------------------------------------------- */
.review {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.stars {
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 2px;
}
.review blockquote {
  margin: 0;
  color: var(--text-2);
  font-size: 14.5px;
}
.review__user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}
.avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
}
.avatar--b { background: var(--primary-light); }
.avatar--c { background: var(--accent); }
.review__name { font-size: 14px; font-weight: 600; }
.review__tag { font-size: 12.5px; color: var(--text-3); }

/* FAQ -------------------------------------------------------------------- */
.faq {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 4px 20px;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(0, 124, 194, .35); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  color: var(--primary);
  border-radius: 50%;
  background: rgba(5, 41, 83, .07);
  transition: transform .2s, background-color .2s, color .2s;
}
.faq details[open] summary::after {
  content: "−";
  color: #fff;
  background: var(--primary);
}
.faq .answer {
  padding: 0 0 18px;
  color: var(--text-2);
  font-size: 14.5px;
}

/* CTA 横幅 --------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, #052953 0%, #0a3f6e 55%, #007cc2 100%);
  color: #fff;
  padding: 48px 0;
}
.cta-banner h2 { color: #fff; margin-bottom: 10px; }
.cta-banner p { color: rgba(255, 255, 255, .78); font-size: 15px; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.cta-actions .btn--outline {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
}
.cta-actions .btn--outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }
@media (min-width: 1024px) {
  .cta-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .cta-actions { margin-top: 0; justify-content: flex-end; flex: 0 0 auto; }
}

/* Footer ----------------------------------------------------------------- */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, .72);
  padding: 40px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 20px;
}
.footer-brand { grid-column: 1 / -1; }
.footer-brand .brand { color: #fff; font-size: 16px; }
.footer-brand .brand img { width: 30px; height: 30px; border-radius: 7px; }
.footer-brand p { margin-top: 10px; color: rgba(255, 255, 255, .6); max-width: 26em; }
.site-footer h3 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 13px;
}
.socials a:hover { background: var(--accent); color: #fff; }
.footer-bottom {
  margin-top: 32px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

/* 内页 ------------------------------------------------------------------ */
.page-hero {
  padding: 40px 0 36px;
  background: linear-gradient(160deg, #eef4fb, #fff);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--text-2); max-width: 46em; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-3);
}
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--primary); }

.article {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}
.article h2 { margin: 32px 0 12px; font-size: 20px; color: var(--text); }
.article h3 { margin: 24px 0 10px; font-size: 17px; color: var(--text); }
.article p { margin-bottom: 14px; }
.article ul { margin: 0 0 16px; padding-left: 20px; list-style: disc; }
.article li { margin-bottom: 6px; }
.article .lead { font-size: 17px; color: var(--text-2); }
.article-meta { margin-bottom: 24px; font-size: 13px; color: var(--text-3); }
.article-note {
  padding: 14px 18px;
  margin: 20px 0;
  background: var(--alt);
  border-left: 3px solid var(--primary-light);
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--text-2);
}

.list-plain { display: grid; gap: 12px; }
.list-plain li {
  padding: 14px 18px;
  background: var(--alt);
  border-radius: var(--radius-card);
  font-size: 14.5px;
}

.download-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .download-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
.dl-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.dl-card .card__icon { margin-bottom: 4px; }
.dl-card h3 { font-size: 18px; }
.dl-card p { color: var(--text-2); font-size: 13.5px; }
.dl-card .btn { margin-top: 10px; }

/* 平板及以上 ------------------------------------------------------------ */
@media (min-width: 768px) {
  body { font-size: 16px; }
  h1 { font-size: 34px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }

  .container { padding: 0 24px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }

  .hero { padding: 64px 0 72px; }
  .hero-lead { font-size: 16px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat dd { font-size: 24px; }

  .ime-card { padding: 16px; }
  .ime-tab { font-size: 13.5px; }
  .ime-row .key { font-size: 14px; padding: 11px 0; }

  .card { padding: 28px; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-banner { padding: 64px 0; }
  .page-hero { padding: 56px 0 48px; }
}

/* 桌面端 ---------------------------------------------------------------- */
@media (min-width: 1024px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }

  .header-inner { height: 64px; gap: 24px; }
  .brand { font-size: 16px; }
  .brand img { width: 32px; height: 32px; }

  .br-top { display: none; }
  .burger { display: none; }

  .nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-left: auto;
  }
  .nav-menu a {
    display: inline-block;
    margin: 0 10px;
    padding: 6px 2px;
    font-size: 15.5px;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
    position: relative;
  }
  .nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s;
  }
  .nav-menu a:hover { color: var(--primary); }
  .nav-menu a:hover::after { transform: scaleX(1); }

  .header-cta { display: inline-flex; margin-left: 8px; }
  .nav-drawer { display: none; }

  .section { padding: 88px 0; }
  .section[id] { scroll-margin-top: 80px; }
  .hero { padding: 88px 0 96px; }
  .hero-inner {
    display: grid;
    grid-template-columns: 56% 44%;
    align-items: center;
    gap: 32px;
  }
  .hero-copy { max-width: 34em; }
  .hero-lead { font-size: 16.5px; }
  .ime-card { margin-top: 0; }
  .stats { margin-top: 40px; }
  .cta-actions { gap: 14px; }
}

@media (min-width: 1280px) {
  .section { padding: 96px 0; }
  .ime-card { padding: 18px; }
}

/* 无 JS 降级：导航与 FAQ 直接可见 ---------------------------------------- */
.noscript-nav a { display: inline-block; margin: 0 8px; font-weight: 600; }

/* 资讯配图与正文插图 ------------------------------------------------------ */
.news-card__thumb { padding: 0; overflow: hidden; }
.news-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-figure { margin: 24px 0 28px; }
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  background: var(--alt);
}
.article-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
}

.article-related {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.article-related h2 { margin: 0 0 14px; font-size: 18px; }
.article-related ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.article-related li { margin: 0; }
.article-related a { font-size: 15px; }
