/* 积磊软件官网视觉系统
   设计原则见 docs/JILEI_SITE_DESIGN.md：
   浅色纸感底 + 单一暖色主色 + 少量冷紫辅助色；大字号、大留白、极轻边框、柔和阴影。 */

:root {
  --ink: #1D1D1F;
  --ink-soft: #4A4A4F;
  --muted: #6E6E76;
  --muted-soft: #8E8E97;
  --brand: #FF5A1F;
  --brand-strong: #E8430C;
  --brand-soft: #FFF1EA;
  --cool: #5B54D6;
  --cool-soft: #EFEDFC;
  --bg: #FFFFFF;
  --bg-soft: #F5F5F7;
  --bg-warm: #FBF7F4;
  --line: rgba(29, 29, 31, .10);
  --line-strong: rgba(29, 29, 31, .18);
  --wrap: 1180px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow-soft: 0 18px 46px rgba(24, 22, 34, .07);
  --shadow: 0 30px 80px rgba(24, 22, 34, .12);
  --font-sans: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
p, h1, h2, h3, h4, ul, ol, figure { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(38px, 6vw, 74px); font-weight: 700; }
h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 700; }
h3 { font-size: clamp(20px, 2.2vw, 25px); font-weight: 650; }
h4 { font-size: 17px; font-weight: 650; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.section-pad { padding-block: clamp(64px, 7vw, 104px); }
.section-pad--compact { padding-block: clamp(40px, 4vw, 60px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; transform: translateY(-160%); background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { transform: none; }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 14px; color: var(--brand-strong); font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.lede { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.7; color: var(--muted); }

/* ------------------------------------------------------------------ 按钮 */
.button {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border: 1px solid transparent; border-radius: 999px; font-size: 14.5px;
  font-weight: 640; cursor: pointer;
  transition: transform .22s cubic-bezier(.16, 1, .3, 1), box-shadow .22s, background .22s, border-color .22s;
}
.button:hover { transform: translateY(-2px); }
.button--primary, .button--dark {
  background: linear-gradient(135deg, #FF7A3D, var(--brand-strong)); color: #fff;
  box-shadow: 0 14px 32px rgba(232, 67, 12, .26);
}
.button--accent { background: var(--accent, var(--brand)); color: var(--accent-ink, #fff); box-shadow: 0 14px 30px color-mix(in srgb, var(--accent, var(--brand)) 26%, transparent); }
.button--light { background: #fff; color: var(--ink); border-color: var(--line); }
.button--quiet { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.button--disabled { color: var(--muted-soft); background: var(--bg-soft); cursor: not-allowed; }
.button--disabled:hover { transform: none; }
.button--small { min-height: 36px; padding: 7px 14px; font-size: 13px; }
.text-link, .arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 640; color: var(--brand-strong); }
.text-link span, .arrow-link span { transition: transform .22s; }
.text-link:hover span, .arrow-link:hover span { transform: translateX(4px); }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ 页头 */
.site-header {
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, backdrop-filter .25s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .78);
  border-color: var(--line);
  backdrop-filter: saturate(1.6) blur(20px);
}
.site-header__inner {
  width: min(var(--wrap), calc(100% - 40px)); height: 68px; margin: auto;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16.5px; font-weight: 700; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; }
.brand__name { white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.site-nav__link {
  padding: 8px 11px; border-radius: 999px; color: var(--muted); font-size: 14.5px; white-space: nowrap;
  transition: color .2s, background .2s;
}
.site-nav__link:hover { color: var(--ink); background: rgba(29, 29, 31, .05); }
.site-nav__link.is-active { color: var(--ink); background: rgba(29, 29, 31, .07); font-weight: 640; }
.site-nav__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); display: inline-block; margin-inline-end: 7px; }
.site-nav__link--community { color: var(--brand-strong); font-weight: 640; }
.site-nav__link--community.is-active { background: var(--brand-soft); }
/* 顶栏「积磊导航 / AI 排名」：描边胶囊。要显眼，但主按钮只能有一个——
   所以不做橙色实心，改用暖色描边 + 极浅渐变的胶囊，把「积磊·社群」留在实心的位置。
   两个入口共用同一套声明，样式必须完全一致。 */
.site-nav__link--pill,
.header-pill {
  display: inline-flex; align-items: center; gap: 7px;
  margin-inline: 2px;
  padding: 7px 15px;
  border: 1px solid rgba(255, 90, 31, .26);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #FFF7F2);
  color: var(--brand-strong);
  font-size: 13.5px; font-weight: 660; letter-spacing: -.01em; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(232, 67, 12, .05);
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.site-nav__link--pill::before,
.header-pill::before {
  content: ""; flex: 0 0 auto; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 3px rgba(255, 90, 31, .12);
  transition: box-shadow .2s;
}
.site-nav__link--pill:hover,
.header-pill:hover {
  background: linear-gradient(180deg, #FFF8F4, #FFECE2);
  border-color: rgba(255, 90, 31, .5);
  color: var(--brand-strong);
  box-shadow: 0 8px 20px rgba(232, 67, 12, .14);
  transform: translateY(-1px);
}
.site-nav__link--pill:hover::before,
.header-pill:hover::before { box-shadow: 0 0 0 4px rgba(255, 90, 31, .16); }
.site-nav__link--pill.is-active,
.header-pill.is-active { background: var(--brand-soft); border-color: rgba(255, 90, 31, .42); color: var(--brand-strong); }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.header-cta {
  padding: 9px 16px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 13.5px; font-weight: 620;
  transition: transform .2s, box-shadow .2s;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 90, 31, .28); }
.nav-toggle { display: none; border: 0; background: none; padding: 8px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 1.6px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-backdrop { position: fixed; inset: 0; z-index: 55; display: none; background: rgba(20, 18, 26, .38); backdrop-filter: blur(2px); }
body.nav-open .nav-backdrop { display: block; }

/* ---------------------------------------------------------------- 首页 Hero */
.hero { padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 72px); background: linear-gradient(180deg, var(--bg-warm), var(--bg) 78%); }
.hero__inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 6px 14px 6px 8px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .7);
  color: var(--ink-soft); font-size: 12.5px; font-weight: 600;
}
.hero__badge img { width: 20px; height: 20px; }
.hero h1 { margin: 0 0 22px; }
.hero h1 em { font-style: normal; color: var(--brand-strong); }
.hero__copy .lede { max-width: 560px; }
.hero__stats { list-style: none; display: flex; flex-wrap: wrap; gap: 26px; margin: 36px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.hero__stats li { display: grid; gap: 2px; }
.hero__stats strong { font-size: 19px; font-weight: 680; }
.hero__stats span { color: var(--muted); font-size: 12.5px; }
.hero__stage { position: relative; }
.hero__stage .window-chrome { transform: rotate(-.4deg); }
.hero__note { margin: 16px 0 0; color: var(--muted); font-size: 12.5px; text-align: center; }

/* ------------------------------------------------------------- 产品矩阵 */
.universe { background: var(--bg); }
.universe__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.universe-card {
  display: flex; flex-direction: column; gap: 14px; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
  transition: transform .26s cubic-bezier(.16, 1, .3, 1), box-shadow .26s, border-color .26s;
}
.universe-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
.universe-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.universe-card__head img { width: 46px; height: 46px; border-radius: 13px; object-fit: cover; }
.universe-card__badge { color: var(--muted); font-size: 12px; font-weight: 600; }
.universe-card h3 { margin: 0; font-size: 21px; }
.universe-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.universe-card__platforms { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.universe-card__platforms li { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11.5px; }
.universe-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }

/* --------------------------------------------------------- 重点产品展示 */
.showcase { background: var(--bg-soft); border-block: 1px solid var(--line); }
.showcase__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(44px, 5vw, 76px); }
.showcase__row + .showcase__row { border-top: 1px solid var(--line); }
.showcase__row--reverse .showcase__copy { order: 2; }
.showcase__kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.showcase__kicker img { width: 34px; height: 34px; border-radius: 10px; }
.showcase__kicker span { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.showcase__copy h3 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 38px); }
.showcase__copy p { color: var(--muted); max-width: 520px; }
.showcase__points { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; }
.showcase__points li { display: flex; gap: 10px; color: var(--ink-soft); font-size: 14.5px; }
.showcase__points li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--brand); }
.showcase__stage { position: relative; }

.window-chrome {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: var(--shadow-soft);
}
.window-chrome__bar, .window-chrome > .window-chrome__bar {
  display: flex; align-items: center; gap: 7px; height: 34px; padding-inline: 14px;
  border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.window-chrome__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(29, 29, 31, .16); }
.window-chrome__bar em { margin-left: 8px; color: var(--muted); font-size: 11.5px; font-style: normal; }
.window-chrome img, .window-chrome picture img { width: 100%; display: block; }
.stage-label { display: inline-block; margin-bottom: 6px; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); font-size: 11px; font-weight: 640; }

/* --------------------------------------------------------------- 为什么 */
.why { background: var(--bg); }
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.why-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-warm); }
.why-card:nth-child(3n) { background: var(--cool-soft); }
.why-card h3 { margin: 0 0 12px; font-size: 20px; }
.why-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.why-card__index { display: block; margin-bottom: 18px; color: var(--muted-soft); font-family: var(--font-mono); font-size: 12px; }

/* ------------------------------------------------------------- 最近更新 */
.timeline { background: var(--bg-soft); border-block: 1px solid var(--line); }
.timeline-list { display: grid; gap: 10px; }
.timeline-item {
  display: grid; grid-template-columns: 168px 110px minmax(0, 1fr) auto; gap: 22px; align-items: center;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg);
  transition: transform .22s, box-shadow .22s;
}
.timeline-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.timeline-item__product { font-weight: 660; }
.timeline-item__version { color: var(--brand-strong); font-family: var(--font-mono); font-size: 13px; font-weight: 620; }
.timeline-item__body { min-width: 0; display: grid; gap: 3px; }
.timeline-item__body time { color: var(--muted-soft); font-size: 12px; }
.timeline-item__body p { margin: 0; color: var(--muted); font-size: 14px; }

/* ------------------------------------------------------ 教程 / 常见问题 */
.learn { background: var(--bg); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-card {
  min-height: 250px; padding: 26px; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-warm);
  transition: transform .24s cubic-bezier(.16, 1, .3, 1), box-shadow .24s;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.guide-card--accent { background: var(--brand-soft); }
.guide-card__meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; margin-bottom: 24px; }
.guide-card h3 { margin: 0 0 12px; font-size: 21px; }
.guide-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.guide-card .arrow-link { margin-top: auto; padding-top: 20px; font-size: 14px; }
.guide-card__foot { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: 12px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-warm); overflow: hidden; }
.faq-list summary { padding: 18px 22px; cursor: pointer; font-weight: 620; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details > p, .faq-list details > .faq-answer { margin: 0; padding: 0 22px 18px; color: var(--muted); font-size: 14.5px; }
.faq-list details > .text-link { margin: 0 22px 20px; font-size: 13.5px; }

/* --------------------------------------------------------- 社群 CTA / 页脚 */
.community-cta { padding-block: clamp(56px, 6vw, 88px); }
.community-cta__inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center;
  padding: clamp(32px, 4vw, 56px); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #241F2E, #1D1D1F 55%, #3A2140);
  color: #fff;
}
.community-cta__inner .eyebrow { color: #FFA76B; }
.community-cta__inner h2 { color: #fff; }
.community-cta__inner p { color: rgba(255, 255, 255, .72); margin-bottom: 0; }
.community-cta__panel { display: grid; gap: 10px; }
.community-cta__panel a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .05); font-size: 14.5px; transition: background .22s, transform .22s;
}
.community-cta__panel a:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.community-cta__panel small { color: rgba(255, 255, 255, .6); }

.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); }
.site-footer__top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; padding-block: clamp(48px, 5vw, 72px); }
.site-footer__brand p { margin: 18px 0 14px; max-width: 340px; color: var(--muted); font-size: 14.5px; }
.site-footer__wechat { color: var(--muted); font-size: 13px; }
.brand--footer { font-size: 16px; }
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer-links strong { display: block; margin-bottom: 14px; font-size: 13px; }
.footer-links a { display: block; padding: 5px 0; color: var(--muted); font-size: 13.5px; transition: color .18s; }
.footer-links a:hover { color: var(--brand-strong); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted-soft); font-size: 12.5px; }
.site-footer__beian { color: var(--muted-soft); text-decoration: none; transition: color .18s; }
.site-footer__beian:hover { color: var(--muted); text-decoration: underline; }

/* -------------------------------------------------------------- 通用区块 */
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 36px; align-items: end; margin-bottom: 34px; }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 460px; justify-self: end; margin: 0 0 6px; color: var(--muted); font-size: 16px; }
.section-heading--compact { grid-template-columns: 1fr; }
.section-more { margin-top: 26px; text-align: right; }
.inline-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 0; }
.inline-meta li { padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; }
.inline-meta--center { justify-content: center; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 22px; color: var(--muted); font-size: 12.5px; }
.breadcrumb a:hover { color: var(--brand-strong); }
.page-hero { padding-block: clamp(48px, 6vw, 84px) clamp(32px, 4vw, 56px); background: linear-gradient(180deg, var(--bg-warm), var(--bg)); }
.page-hero--compact { padding-block: clamp(36px, 4vw, 56px); }
.page-hero__inner { max-width: 860px; }
.page-hero h1 { margin: 0 0 20px; }
.page-hero--product { background: linear-gradient(180deg, var(--bg-warm), var(--bg) 70%); }

/* -------------------------------------------------------------- 产品卡片 */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.product-card {
  display: flex; flex-direction: column; gap: 14px; padding: 26px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
  transition: transform .26s cubic-bezier(.16, 1, .3, 1), box-shadow .26s, border-color .26s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
.product-card__head { display: flex; align-items: center; gap: 14px; }
.product-card__head img { width: 50px; height: 50px; object-fit: cover; border-radius: 14px; }
.product-card__head h3 { margin: 2px 0 0; font-size: 21px; }
.product-card__head h3 a:hover { color: var(--brand-strong); }
.product-card__category { color: var(--accent, var(--brand-strong)); font-size: 12px; font-weight: 640; }
.product-card__purpose { margin: 0; color: var(--muted); font-size: 14.5px; }
.product-card__platforms { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.product-card__platforms li { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11.5px; }
.product-card__status { margin-top: auto; color: var(--muted); font-size: 12px; font-weight: 600; }
.product-card__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.product-grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }

/* ------------------------------------------------------------ 产品详情页 */
.product-page { --accent: var(--brand); }
.product-local-nav { position: sticky; top: 68px; z-index: 40; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .86); backdrop-filter: blur(16px); }
.product-local-nav__inner { display: flex; align-items: center; gap: 20px; height: 56px; }
.product-local-nav__name { font-weight: 660; white-space: nowrap; }
.product-local-nav__links { display: flex; gap: 4px; margin-inline-start: auto; overflow-x: auto; }
.product-local-nav__links a { padding: 7px 12px; border-radius: 999px; color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.product-local-nav__links a:hover, .product-local-nav__links a[aria-current] { color: var(--ink); background: rgba(29, 29, 31, .06); }
.product-hero { padding-block: clamp(44px, 5vw, 76px) clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--bg-warm), var(--bg) 80%); }
.product-hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 4vw, 60px); align-items: center; }
.product-hero h1 { margin: 0 0 20px; font-size: clamp(32px, 4.4vw, 52px); }
.product-hero__lede { max-width: 520px; }
.product-hero__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.product-hero__meta li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12.5px; }
.product-hero__copy #product-downloads { margin-top: 30px; }
.product-hero__stage figure { margin: 0; }
.product-hero__stage figcaption { margin-top: 14px; color: var(--muted); font-size: 12.5px; }
.product-kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.product-kicker img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.product-kicker span { font-weight: 640; }
.product-identity { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.product-identity img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }
.download-action__meta { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.download-action__links { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.download-action__help { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.download-action--featured h2 { margin-bottom: 8px; }
.topic-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.topic-card {
  min-height: 240px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-warm);
  transition: transform .24s, box-shadow .24s;
}
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.topic-card > span { color: var(--muted); font-size: 12px; font-weight: 600; }
.topic-card h2, .topic-card h3 { margin: 22px 0 12px; font-size: 22px; }
.topic-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.topic-card .arrow-link { margin-top: auto; padding-top: 18px; font-size: 13.5px; }
.gallery-section { background: var(--bg-soft); border-block: 1px solid var(--line); }
.gallery-item { margin: 0 0 24px; }
.gallery-item figcaption { margin-top: 12px; color: var(--muted); font-size: 12.5px; }
.use-case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.use-case-grid article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-warm); }
.use-case-grid article h3 { margin: 0 0 10px; font-size: 19px; }
.use-case-grid article p { margin: 0; color: var(--muted); font-size: 14.5px; }
.use-case-more { margin-top: 22px; }
.use-case-more p { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.pricing-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.pricing-card.is-featured { border-color: var(--brand); box-shadow: var(--shadow-soft); }
.pricing-badge { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); font-size: 11.5px; font-weight: 640; }
.pricing-card h3 { margin: 0; font-size: 20px; }
.pricing-card p { margin: 0; color: var(--muted); font-size: 14px; }
.pricing-price { display: flex; align-items: baseline; gap: 10px; }
.pricing-price del { color: var(--muted-soft); font-size: 14px; }
.pricing-price strong { font-size: 30px; font-weight: 700; }
.pricing-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; color: var(--muted); font-size: 13.5px; }
.pricing-card ul li::before { content: "·"; margin-right: 8px; color: var(--brand); }
.pricing-note { margin-top: auto; color: var(--muted-soft); font-size: 12.5px; }
.product-updates { background: var(--bg-soft); border-block: 1px solid var(--line); }
.product-update-list { display: grid; gap: 10px; }
.product-update-list article { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.product-update-list time { color: var(--muted-soft); font-size: 12.5px; }
.product-update-list strong { font-family: var(--font-mono); font-size: 13.5px; }
.product-update-list p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.product-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 28px; margin-bottom: 40px; }
.product-info-grid h2 { font-size: 17px; margin-bottom: 14px; }
.product-info-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.product-info-grid ul li::before { content: "·"; margin-right: 8px; color: var(--brand); }
.version-summary { margin: 0; display: grid; gap: 10px; }
.version-summary > div { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.version-summary dt { color: var(--muted); }
.version-summary dd { margin: 0; font-weight: 620; }
.product-faq { margin-top: 8px; }
.product-faq h2 { font-size: 22px; margin-bottom: 16px; }
.support-inline { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.support-inline strong { color: var(--ink); }

/* ------------------------------------------------------------ 更新日志页 */
.changelog-hero { padding-block: clamp(40px, 5vw, 68px) 28px; }
.changelog-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 44px; align-items: start; padding-bottom: clamp(52px, 6vw, 88px); }
.changelog-timeline { position: sticky; top: 92px; display: grid; gap: 4px; }
.changelog-axis { display: grid; gap: 4px; }
.changelog-entry a, .changelog-timeline a { display: grid; gap: 2px; padding: 9px 12px; border-radius: var(--radius-sm); color: var(--muted); font-size: 13px; }
.changelog-timeline a:hover, .changelog-timeline a.is-active { background: var(--bg-soft); color: var(--ink); }
.changelog-intro { color: var(--muted); max-width: 680px; }
.changelog-meta { display: flex; flex-wrap: wrap; gap: 20px; margin: 22px 0 0; padding: 20px 0; border-block: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.changelog-body { display: grid; gap: 14px; }
.changelog-entry { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.changelog-entry__head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.changelog-version { font-family: var(--font-mono); font-size: 22px; font-weight: 680; }
.changelog-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.changelog-badge { padding: 3px 9px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); font-size: 11.5px; }
.changelog-platform { color: var(--muted); font-size: 12.5px; }
.changelog-copy { margin: 0 0 12px; }
.changelog-changes { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; display: grid; gap: 6px; }
.changelog-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.changelog-tags span { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted-soft); font-size: 11.5px; }
.changelog-status, .changelog-empty { color: var(--muted); font-size: 14px; }
.release-page, .release-detail { max-width: 780px; }
.release-detail h1 { font-size: clamp(30px, 4vw, 44px); }
.versions-page, .download-page { padding-bottom: clamp(56px, 6vw, 96px); }

/* ---------------------------------------------------------------- 教程页 */
.tutorial-discovery { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; padding-bottom: clamp(52px, 6vw, 88px); }
.tutorial-search form { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.tutorial-search input, .tutorial-search select { min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); }
.tutorial-search input { flex: 1 1 220px; }
.filter-pills, .category-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-pills a, .category-chips a { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px; }
.filter-pills a.is-active, .category-chips a.is-active, .filter-pills a:hover, .category-chips a:hover { border-color: var(--line-strong); color: var(--ink); background: var(--bg-soft); }
.tutorial-group { margin-bottom: 36px; }
.tutorial-group h2 { font-size: 22px; margin-bottom: 16px; }
.tutorial-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.tutorial-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-warm); transition: transform .22s, box-shadow .22s; }
.tutorial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.tutorial-card h3 { margin: 0 0 10px; font-size: 18px; }
.tutorial-card p { margin: 0; color: var(--muted); font-size: 14px; }
.tutorial-card__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; color: var(--muted-soft); font-size: 12px; }
.tutorial-index, .tutorial-relations { margin-top: 34px; }
.tutorial-relations ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tutorial-result-meta { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.empty-result, .empty-state { padding: 40px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); text-align: center; }

/* ---------------------------------------------------------------- 文章页 */
.article-page { padding-bottom: clamp(56px, 6vw, 96px); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: start; }
.article-header { margin-bottom: 30px; }
.article-header h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.article-product { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.article-product img { width: 34px; height: 34px; border-radius: 10px; }
.article-body { max-width: 760px; }
.article-body h2 { margin: 44px 0 16px; font-size: 28px; }
.article-body h3 { margin: 32px 0 12px; font-size: 21px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 22px; color: var(--ink-soft); }
.article-body li { margin-bottom: 8px; }
.article-body img { border-radius: var(--radius-sm); border: 1px solid var(--line); }
.article-body code { padding: 2px 6px; border-radius: 6px; background: var(--bg-soft); font-family: var(--font-mono); font-size: .92em; }
.article-body pre { padding: 18px; border-radius: var(--radius-sm); background: #1D1D1F; color: #F5F5F7; overflow-x: auto; }
.article-body pre code { background: none; color: inherit; padding: 0; }
.article-body blockquote { margin: 0 0 18px; padding: 4px 20px; border-left: 3px solid var(--brand); color: var(--muted); }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 14px; }
.article-body th, .article-body td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.article-toc { position: sticky; top: 92px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-warm); }
.article-toc h2 { font-size: 14px; margin-bottom: 12px; color: var(--muted); }
.article-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.article-toc a { color: var(--muted); }
.article-toc a:hover { color: var(--brand-strong); }
.article-step { padding: 22px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-warm); }
.article-step h3 { margin-top: 0; }
.article-next { margin-top: 44px; padding: 28px; border-radius: var(--radius); background: var(--bg-soft); }
.article-next__inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.article-pagination { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding-left: 46px; color: var(--ink-soft); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; }
.note { padding: 16px 20px; border-left: 3px solid var(--cool); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--cool-soft); color: var(--ink-soft); font-size: 14px; }
.fact-chip, .fact-chip * { display: inline-flex; }
.fact-chip { padding: 5px 11px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); font-size: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.content-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.verification-panel { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-warm); font-size: 13px; }
.verification-panel__meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); }
.verification-panel__body { margin: 12px 0 0; color: var(--muted); }
.verification-panel__versions, .verification-panel__refs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.stale-banner { margin-bottom: 20px; padding: 14px 18px; border-radius: var(--radius-sm); background: #FFF7E6; color: #8A5B00; font-size: 13.5px; }

/* ---------------------------------------------------------------- 下载页 */
.downloads-catalog, .download-directory { display: grid; gap: 16px; }
.download-directory__product { display: grid; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.download-directory__identity { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.download-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.download-item { display: grid; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-warm); }
.download-item__system { font-weight: 640; }
.download-item__version { color: var(--muted); font-family: var(--font-mono); font-size: 12.5px; }
.download-item__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.download-directory__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.directory-list { display: grid; gap: 14px; }
.directory-product { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); flex-wrap: wrap; }
.directory-product__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.directory-versions { color: var(--muted); font-size: 13px; }
.download-list { display: grid; gap: 12px; }
.download-recommendation { margin-bottom: 32px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-warm); }
.download-support, .download-help, .download-guide, .download-details { margin-top: 26px; color: var(--muted); font-size: 14px; }
.download-guide ul, .download-details ul { padding-left: 20px; }

/* ---------------------------------------------------------------- 状态页 */
.status-page, .status-overview, .status-products { display: grid; gap: 16px; }
.status-overview { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.status-products .row, .row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); flex-wrap: wrap; }
.row .state { color: var(--muted); font-size: 13px; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #2FA36B; }

/* ---------------------------------------------------------------- 关于页 */
.about-hero { padding-block: clamp(52px, 6vw, 88px) 40px; }
.about-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about-statement { max-width: 800px; }
.about-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.about-values article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-warm); }
.principle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.principle-grid article { padding: 26px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.principle-grid article > span { color: rgba(255, 255, 255, .5); font-family: var(--font-mono); font-size: 12px; }
.principle-grid article h2, .principle-grid article h3 { margin: 26px 0 14px; font-size: 22px; color: #fff; }
.principle-grid article p { margin: 0; color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.contact-section { background: var(--bg-soft); border-top: 1px solid var(--line); }
.contact-section__inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.qr { width: 132px; height: 132px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); object-fit: contain; }

/* --------------------------------------------------------------- 结算页 */
.checkout, .pay { max-width: 720px; margin: 0 auto; padding-block: clamp(40px, 5vw, 72px); }
.pay .plan, .plan { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-warm); }
.plan .price, .price { font-size: 26px; font-weight: 700; }
.pay .success, .success { padding: 16px 20px; border-radius: var(--radius-sm); background: #EAF7F0; color: #1E7A4B; }
.pay-error, .pay-error__code { text-align: center; }
.pay-error__code { font-family: var(--font-mono); font-size: 40px; }

/* --------------------------------------------------------------- 动效 */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal].is-up { transform: translateY(-16px); }
[data-reveal].is-waiting { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------- 其余内容区块的节奏 */
/* 这些区块由既有的产品页 / 教程页 / 索引页使用：只做背景与分隔节奏，
   具体组件样式在上面已经定义。 */
.feature-section, .quickstart-section, .pricing-section, .topic-index, .faq-page, .related-section { background: var(--bg); }
.use-case-section, .related-section { background: var(--bg-soft); border-block: 1px solid var(--line); }
.quickstart-section { background: var(--bg-warm); border-block: 1px solid var(--line); }
.product-support { border-top: 1px solid var(--line); }
.feature-section .section-heading, .quickstart-section .section-heading, .pricing-section .section-heading { margin-bottom: 30px; }
.markdown-body { max-width: 780px; font-size: 15.5px; line-height: 1.8; }
.markdown-body h1 { font-size: 30px; margin: 0 0 18px; }
.markdown-body h2 { font-size: 25px; margin: 38px 0 14px; }
.markdown-body h3 { font-size: 20px; margin: 28px 0 12px; }
.markdown-body p { margin-bottom: 18px; }
.markdown-body ul, .markdown-body ol { padding-left: 22px; color: var(--ink-soft); }
.markdown-body li { margin-bottom: 8px; }
.markdown-body img { margin: 16px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.markdown-body code { padding: 2px 6px; border-radius: 6px; background: var(--bg-soft); font-family: var(--font-mono); font-size: .92em; }
.markdown-body pre { padding: 18px; border-radius: var(--radius-sm); background: #1D1D1F; color: #F5F5F7; overflow-x: auto; }
.markdown-body pre code { background: none; color: inherit; padding: 0; }
.markdown-body blockquote { margin: 0 0 18px; padding: 4px 20px; border-left: 3px solid var(--brand); color: var(--muted); }
.markdown-body table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 14px; }
.markdown-body th, .markdown-body td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.faq-page { padding-bottom: clamp(48px, 5vw, 80px); }
.product-page .section-pad, .topic-index.section-pad { padding-block: clamp(48px, 5vw, 76px); }

/* ------------------------------------------------------------- AI知识（/ai-knowledge） */
/* 页面本体是普通官网页面；只有自包含的 AI 全景总表用 iframe 隔离嵌入。
   底色统一用官网暖白 --bg-warm，iframe 内部也是同一底色，接缝看不见。 */
.ai-knowledge { background: var(--bg-warm); padding-block: 16px clamp(28px, 3vw, 48px); }
.ai-knowledge__inner { width: min(1480px, calc(100% - 36px)); margin-inline: auto; }
.ai-knowledge__title { margin: 0 0 6px; font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; }
.ai-knowledge__note { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.ai-landscape { margin: 0; }
.ai-landscape__frame {
  display: block;
  width: 100%;
  height: 78vh;
  min-height: 560px;
  border: 0;
  background: var(--bg-warm);
}
.ai-landscape__caption {
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: baseline;
  margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.65;
}
.ai-landscape__caption > span { max-width: 780px; }

/* ------------------------------------------------------------- 响应式 */
/* 一级导航折叠断点单独一组：导航项已有 11 个，1180px 实测会把最右侧链接挤出换行
   并触发横向滚动；同时把链接左右内边距从 13px 收到 11px，保证 1200px 以上一屏
   放得下。因此一级导航从 1200px 起折叠为抽屉，其它双栏布局仍在 1080px 折叠。
   折叠后「积磊·社群」仍以橙色胶囊保留在头部，不随导航进抽屉。 */
@media (max-width: 1200px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; margin-inline-start: auto; }
  body.nav-open .site-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: fixed; inset: 68px 12px auto; z-index: 58; max-height: calc(100vh - 92px); overflow-y: auto;
    padding: 14px; border: 1px solid var(--line); border-radius: var(--radius);
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(18px); box-shadow: var(--shadow);
  }
  body.nav-open .site-nav__link { padding: 13px 14px; font-size: 16px; border-radius: var(--radius-sm); }
}
@media (max-width: 1080px) {
  .hero__inner, .showcase__row, .community-cta__inner, .about-hero__grid,
  .product-hero__grid, .support-section__inner, .site-footer__top { grid-template-columns: 1fr; }
  .showcase__row--reverse .showcase__copy { order: 0; }
  .universe__grid, .why__grid, .learn__grid, .guide-grid, .topic-card-grid, .tutorial-discovery,
  .article-layout, .changelog-shell { grid-template-columns: 1fr; }
  .changelog-timeline, .article-toc { position: static; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline-item { grid-template-columns: 1fr 1fr; }
  .timeline-item__body { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }
  .ai-knowledge__inner { width: calc(100% - 20px); }
  .ai-knowledge__title { font-size: 19px; }
  .ai-landscape__frame { min-height: 460px; }
  .ai-landscape__caption { justify-content: flex-start; }
  h1 { overflow-wrap: anywhere; }
  .hero__stats { gap: 18px; }
  .product-local-nav { top: 68px; }
  .product-local-nav__name { display: none; }
  .product-local-nav__inner { gap: 10px; }
  .product-local-nav__inner > .button { flex: 0 0 auto; min-height: 34px; padding: 6px 12px; font-size: 13px; }
  .product-local-nav__links { min-width: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .section-heading > p { justify-self: start; }
  .footer-links { grid-template-columns: 1fr; gap: 20px; }
  .site-footer__bottom { flex-direction: column; gap: 6px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .product-update-list article { grid-template-columns: 1fr; gap: 8px; }
  .hero__stage .window-chrome { transform: none; }
  .community-cta__inner { padding: 26px; }
  .product-hero__copy #product-downloads { margin-top: 22px; }
  .article-body h2 { font-size: 23px; }
}

/* ===== 2026-10-02：AI 知识页手机阅读优化 =====
   手机端根因是浏览器把窄视口下的文字自动放大（实测 td 13.5px 被放到 18px），
   已在 html 上关闭 text-size-adjust；这里再把卡片间距与说明文案收紧一档。
   电脑端（>640px）一行都不受影响。 ===== */
@media (max-width: 640px) {
  .ai-knowledge { padding-block: 10px 24px; }
  .ai-knowledge__inner { width: calc(100% - 16px); }
  .ai-knowledge__title { font-size: 18px; margin-bottom: 4px; }
  .ai-knowledge__note { font-size: 12.5px; line-height: 1.6; margin-bottom: 10px; }
  .ai-landscape__frame { min-height: 420px; }
  .ai-landscape__caption { font-size: 12px; line-height: 1.6; margin-top: 10px; }
}
