/* ==========================================================================
   表枢阁 · 表格百宝箱 官方网站
   设计约束：所有元素一律直角（border-radius: 0），不使用圆角胶囊。
   ========================================================================== */

:root {
  --ink: #161a22;
  --ink-2: #39404e;
  --muted: #6b7280;
  --muted-2: #8b929e;
  --line: #e3e6ec;
  --line-2: #cfd5df;
  --paper: #ffffff;
  --soft: #f6f7f9;
  --soft-2: #eef1f6;
  --brand: #3b4ed9;
  --brand-2: #667eea;
  --brand-dark: #232a72;
  --navy: #0f1430;
  --navy-2: #171d42;
  --gold: #f0b429;
  --ok: #157347;
  --warn: #a85b00;
  --danger: #b42318;
  --font: "Microsoft YaHei", "PingFang SC", "Segoe UI", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --mono: Consolas, "SFMono-Regular", Menlo, "Courier New", monospace;
  --shadow: 0 1px 0 rgba(15, 20, 48, .04), 0 14px 36px rgba(15, 20, 48, .07);
  --shadow-sm: 0 1px 0 rgba(15, 20, 48, .04), 0 6px 18px rgba(15, 20, 48, .05);
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.75 var(--font);
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
svg { display: block; }

a {
  color: var(--brand);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

button, input, select, textarea { font: inherit; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }

ul, ol { padding-left: 1.4em; }

::selection { background: #cfd6ff; color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 12px; }

/* ---------- 顶部导航 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 36px;
  height: 36px;
  display: block;
}
.brand-text { line-height: 1.15; }
.brand-name {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .5px;
}
.brand-sub {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.site-nav a {
  display: block;
  padding: 9px 14px;
  color: var(--ink-2);
  font-size: 14.5px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover {
  color: var(--brand);
  background: var(--soft);
  text-decoration: none;
}
.site-nav a[aria-current="page"] {
  color: var(--brand);
  border-bottom-color: var(--brand);
  font-weight: 700;
}

.header-cta {
  display: inline-block;
  margin-left: 10px;
  padding: 9px 18px;
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.header-cta:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  margin-left: auto;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line-2);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid transparent;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
}
.btn:hover {
  background: var(--brand-dark);
  color: #fff;
  text-decoration: none;
}
.btn.ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn.ghost:hover {
  background: var(--soft);
  border-color: var(--ink-2);
  color: var(--ink);
}
.btn.light {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}
.btn.light:hover {
  background: #e9ecff;
  border-color: #e9ecff;
  color: var(--navy);
}
.btn.outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
}
.btn.outline-light:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #fff;
  color: #fff;
}
.btn.sm {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13.5px;
}
.btn.block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
}
.text-link::after { content: "→"; }

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -220px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(102, 126, 234, .34) 0%, rgba(102, 126, 234, 0) 62%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 56px;
  align-items: center;
  padding: 76px 0 68px;
}
.hero-inner > * { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .24);
  color: #c9d0ff;
  font-size: 12.5px;
  letter-spacing: .8px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--gold);
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.16;
  letter-spacing: -.5px;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-lead {
  max-width: 560px;
  color: #b9c0d8;
  font-size: 16.5px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  color: #8f98b8;
  font-size: 12.5px;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--brand-2);
}

/* 简化版首页：不要功能区示意图，首屏只留文案 */
.hero-inner.simple {
  display: block;
  max-width: 900px;
  padding: 72px 0 64px;
}
.hero-inner.simple h1 {
  max-width: 820px;
}
.hero-inner.simple .hero-lead {
  max-width: 760px;
}

.home-about {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr);
  gap: 48px;
  align-items: start;
}
.home-about h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.35;
  font-weight: 800;
}
.home-about p {
  margin-bottom: 12px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.95;
}
.home-facts {
  background: #fff;
  border: 1px solid var(--line);
}
.home-fact {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.home-fact:last-child { border-bottom: 0; }
.home-fact dt { color: var(--muted); }
.home-fact dd { margin: 0; color: var(--ink-2); }

.mini-group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.mini-group {
  display: block;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.mini-group:hover {
  border-color: var(--brand-2);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  text-decoration: none;
}
.mini-no {
  color: var(--brand-2);
  font: 700 11px/1 var(--mono);
  letter-spacing: .5px;
}
.mini-group h3 {
  margin: 7px 0 5px;
  font-size: 17px;
  font-weight: 800;
}
.mini-group p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.mini-menu {
  display: block;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.6;
}

/* ---------- 功能区模拟 ---------- */

.ribbon-wrap { position: relative; min-width: 0; max-width: 100%; }

.ribbon-mock {
  position: relative;
  min-width: 0;
  max-width: 100%;
  background: #f3f4f7;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .38);
  color: var(--ink);
  font-size: 12px;
  overflow: hidden;
}
.ribbon-mock::after {
  content: "";
  position: absolute;
  right: 0;
  top: 42px;
  bottom: 0;
  width: 46px;
  background: linear-gradient(90deg, rgba(243, 244, 247, 0), #f3f4f7 78%);
  pointer-events: none;
}
.ribbon-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: #1f6f43;
  color: #fff;
  font-size: 11.5px;
}
.ribbon-dots { display: flex; gap: 5px; margin-left: auto; }
.ribbon-dots i {
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, .35);
}
.ribbon-tabbar {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  padding: 0 8px;
  background: #217346;
  color: #fff;
  font-size: 11px;
}
.ribbon-tabbar span {
  padding: 5px 9px 6px;
  opacity: .78;
  white-space: nowrap;
  flex: 0 0 auto;
}
.ribbon-tabbar span.active {
  background: #f3f4f7;
  color: #1f2329;
  opacity: 1;
  font-weight: 700;
}
.ribbon-body {
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 0 0 2px;
}
.ribbon-body::-webkit-scrollbar { display: none; }
.ribbon-group {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-width: 124px;
  padding: 7px 7px 3px;
  border-right: 1px solid #dfe2e8;
}
.ribbon-menu {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 3px 5px;
  color: #1f2329;
  white-space: nowrap;
}
.ribbon-menu:hover { background: #e4e8f0; text-decoration: none; }
.ribbon-menu i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background: var(--brand);
  color: #fff;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}
.ribbon-menu:nth-child(2) i { background: #2b8a5b; }
.ribbon-menu:nth-child(3) i { background: #b07a17; }
.ribbon-group-name {
  margin-top: auto;
  padding: 5px 0 3px;
  border-top: 1px solid #e0e3e9;
  color: #6b7280;
  font-size: 10.5px;
  text-align: center;
}
.ribbon-caption {
  margin-top: 14px;
  color: #8f98b8;
  font-size: 12px;
  text-align: right;
}

/* ---------- 数据条 ---------- */

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font: 800 30px/1 var(--mono);
  color: var(--brand);
  letter-spacing: -1px;
}
.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- 通用区块 ---------- */

.section { padding: 76px 0; }
.section.soft { background: var(--soft); }
.section.tight { padding: 56px 0; }

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--brand);
}
.section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.3;
  letter-spacing: -.5px;
  font-weight: 800;
}
.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

/* ---------- 功能分组卡片 ---------- */

.group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.group-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 20px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.group-card:hover {
  border-color: var(--brand-2);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.group-card-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.group-no {
  color: var(--brand-2);
  font: 700 12px/1 var(--mono);
  letter-spacing: .5px;
}
.group-card h3 {
  font-size: 19px;
  line-height: 1.35;
  font-weight: 800;
}
.group-desc {
  min-height: 52px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}
.menu-list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.menu-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.6;
}
.menu-list b {
  display: inline-block;
  min-width: 76px;
  color: var(--ink);
  font-weight: 700;
}
.menu-list span { color: var(--muted); }
.group-card .text-link { margin-top: auto; }

/* ---------- 特点 ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.why-item {
  padding: 30px 28px;
  background: #fff;
}
.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}
.why-item:nth-child(2) .why-icon { background: var(--brand); }
.why-item:nth-child(3) .why-icon { background: #1f7a52; }
.why-item:nth-child(4) .why-icon { background: #a86b12; }
.why-item:nth-child(5) .why-icon { background: #6c3fb0; }
.why-item:nth-child(6) .why-icon { background: #334155; }
.why-item h3 {
  margin: 16px 0 8px;
  font-size: 17px;
  font-weight: 800;
}
.why-item p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

/* ---------- 使用场景 ---------- */

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.scene {
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
}
.scene h3 {
  font-size: 16.5px;
  font-weight: 800;
}
.scene p {
  margin: 9px 0 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.7;
}

/* ---------- 下载横幅 ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 58px 0;
  background: var(--navy);
  color: #fff;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.35;
  font-weight: 800;
}
.cta-band p {
  margin-top: 10px;
  color: #aeb6d2;
  font-size: 14px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* ---------- 内页头部 ---------- */

.page-hero {
  padding: 52px 0 46px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12.5px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb span::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.page-hero h1 {
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.25;
  letter-spacing: -.5px;
  font-weight: 800;
}
.page-hero p {
  max-width: 780px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}
.page-hero .hero-meta { color: var(--muted); }
.page-hero .hero-meta span::before { background: var(--brand-2); }

/* ---------- 关于页 ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: 48px;
  align-items: start;
}
.prose h2 {
  margin: 34px 0 14px;
  font-size: 23px;
  line-height: 1.4;
  font-weight: 800;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin: 24px 0 10px;
  font-size: 17px;
  font-weight: 800;
}
.prose p {
  margin: 0 0 14px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.95;
}
.prose ul, .prose ol {
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.95;
}
.prose li { margin: 4px 0; }
.prose strong { color: var(--ink); }

.fact-card {
  background: #fff;
  border: 1px solid var(--line);
}
.fact-card + .fact-card { margin-top: 18px; }
.fact-head {
  padding: 13px 18px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
}
.fact-body { padding: 8px 18px 16px; }
.fact-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.fact-row:last-child { border-bottom: 0; }
.fact-row dt { color: var(--muted); }
.fact-row dd { margin: 0; color: var(--ink-2); }
.qr-box {
  padding: 18px;
  text-align: center;
}
.qr-box img {
  width: 150px;
  height: 150px;
  margin: 0 auto 10px;
  border: 1px solid var(--line);
}
.qr-box p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0 8px;
}
.value-item {
  padding: 20px;
  background: var(--soft);
  border-left: 3px solid var(--brand);
}
.value-item h3 {
  margin: 0 0 7px;
  font-size: 15.5px;
  font-weight: 800;
}
.value-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* ---------- 下载页 ---------- */

.version-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--navy);
  color: #fff;
}
.version-main {
  display: flex;
  align-items: center;
  gap: 14px;
}
.version-main b {
  font: 800 26px/1 var(--mono);
  letter-spacing: -.5px;
}
.version-main > span:not(.version-badge) { color: #aeb6d2; font-size: 13px; }
.version-main .version-badge {
  padding: 5px 10px;
  background: var(--gold);
  color: #231a00;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}
.version-note { color: #aeb6d2; font-size: 12.5px; }

.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.dl-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
}
.dl-card.wps { border-top-color: #1f7a52; }
.dl-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.dl-head h3 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
}
.dl-head .plat {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
}
.arch {
  padding: 2px 8px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font: 700 12px/1.7 var(--mono);
  white-space: nowrap;
}
.dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}
.dl-meta b { color: var(--ink); font-weight: 700; }
.dl-card .btn { margin-top: auto; }
.dl-hash {
  margin-top: 12px;
  color: var(--muted-2);
  font: 11px/1.6 var(--mono);
  word-break: break-all;
}
.dl-hash b { color: var(--muted); font-weight: 700; }
.dl-hash code {
  display: block;
  margin-top: 4px;
  padding: 6px 8px;
  background: var(--soft);
  color: var(--ink-2);
  font: 12px/1.65 var(--mono);
  word-break: break-all;
}

.notice {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  background: var(--soft);
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.85;
}
.notice.warn {
  border-left-color: var(--warn);
  background: #fff8eb;
}
.notice strong { color: var(--ink); }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 0 0 24px 58px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--brand);
  color: #fff;
  font: 800 13px/1 var(--mono);
}
.steps li::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 38px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.steps li:last-child::after { display: none; }
.steps h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}
.steps p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}
.steps code, .prose code, .notice code {
  padding: 1px 5px;
  background: #eef0f4;
  color: #2d3442;
  font: 12.5px/1.6 var(--mono);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
}
.subhead {
  margin: 0 0 16px;
  font-size: 19px;
  font-weight: 800;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
}
.data-table th, .data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.data-table thead th {
  background: var(--soft);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 800;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td.mono {
  font: 12px/1.6 var(--mono);
  word-break: break-all;
}
.data-table .nowrap { white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* ---------- 教程页 ---------- */

.tut-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.search-box {
  display: flex;
  align-items: center;
  flex: 1 1 320px;
  max-width: 440px;
  border: 1px solid var(--line-2);
  background: #fff;
}
.search-box::before {
  content: "";
  width: 15px;
  height: 15px;
  margin-left: 13px;
  flex: 0 0 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='square'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.6-3.6'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
}
.search-box input {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}
.search-box input::placeholder { color: var(--muted-2); }
.tut-count {
  color: var(--muted);
  font-size: 12.5px;
}
.tut-count b { color: var(--brand); font-family: var(--mono); }

.tut-group {
  padding: 40px 0 8px;
  border-bottom: 1px solid var(--line);
}
.tut-group:last-of-type { border-bottom: 0; }
.tut-group-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}
.tut-group-no {
  flex: 0 0 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  font: 800 16px/1 var(--mono);
}
.tut-group-head h2 {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
}
.tut-group-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}
.tut-group-head .text-link { margin-left: auto; flex-shrink: 0; padding-top: 4px; }

.tut-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.tut-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
}
.tut-card[hidden] { display: none; }
.tut-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line);
}
.tut-card-head h3 {
  font-size: 17px;
  font-weight: 800;
}
.tut-card-head span {
  color: var(--muted-2);
  font: 11px/1.5 var(--mono);
}
.gif-slot {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(45deg, #f1f3f7 25%, transparent 25%, transparent 75%, #f1f3f7 75%),
    linear-gradient(45deg, #f1f3f7 25%, #fafbfc 25%, #fafbfc 75%, #f1f3f7 75%);
  background-size: 18px 18px;
  background-position: 0 0, 9px 9px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.gif-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .2s ease;
}
.gif-slot.has-gif img { opacity: 1; }
.gif-slot.has-gif .gif-empty { display: none; }
.gif-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}
.gif-empty b {
  display: block;
  color: var(--ink-2);
  font-size: 13px;
}
.gif-empty::before {
  content: "▶";
  display: block;
  margin-bottom: 2px;
  color: var(--brand-2);
  font-size: 16px;
}
.tut-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
}
.tut-card-body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.tut-card-body .tags { margin-top: 12px; }
.tut-empty {
  padding: 50px 20px;
  border: 1px dashed var(--line-2);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.tut-note {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 36px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tut-note > div {
  padding: 20px 22px;
  background: #fff;
}
.tut-note h3 {
  margin-bottom: 7px;
  font-size: 14.5px;
  font-weight: 800;
}
.tut-note p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

/* ---------- 常见问题 ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.faq-side {
  position: sticky;
  top: 92px;
  border: 1px solid var(--line);
  background: #fff;
}
.faq-side h2 {
  padding: 13px 16px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .6px;
}
.faq-side a {
  display: block;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
}
.faq-side a:last-child { border-bottom: 0; }
.faq-side a:hover {
  background: var(--soft);
  color: var(--brand);
  text-decoration: none;
}
.faq-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.faq-tools .search-box { max-width: 360px; }
.faq-tools button {
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  cursor: pointer;
}
.faq-tools button:hover { background: var(--soft); }

.faq-section { margin-bottom: 38px; scroll-margin-top: 92px; }
.faq-section h2 {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 800;
}
.faq-item {
  border: 1px solid var(--line);
  border-bottom: 0;
  background: #fff;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item[hidden] { display: none; }
.faq-item summary {
  position: relative;
  padding: 15px 48px 15px 18px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font: 700 20px/1 var(--mono);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { background: var(--soft); }
.faq-body {
  padding: 2px 18px 18px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.95;
  border-top: 1px solid var(--line);
}
.faq-body p { margin: 10px 0 0; }
.faq-body ul, .faq-body ol { margin: 8px 0 0; }
.faq-body li { margin: 4px 0; }
.faq-body code {
  padding: 1px 5px;
  background: #eef0f4;
  font: 12.5px/1.6 var(--mono);
}
.faq-empty {
  padding: 24px;
  border: 1px dashed var(--line-2);
  color: var(--muted);
  text-align: center;
}

/* ---------- 页脚 ---------- */

.site-footer {
  padding: 54px 0 26px;
  background: #11152b;
  color: #9aa3bd;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .7fr));
  gap: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #fff;
}
.footer-brand img { width: 32px; height: 32px; }
.footer-brand b { font-size: 18px; letter-spacing: .5px; }
.footer-about {
  max-width: 360px;
  line-height: 1.9;
  color: #8e97b0;
}
.footer-col h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 13px;
  letter-spacing: .5px;
}
.footer-col a {
  display: block;
  padding: 3px 0;
  color: #9aa3bd;
}
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid #262c4a;
  color: #747e9c;
  font-size: 12px;
  line-height: 1.8;
}
.footer-bottom a { color: #9aa3bd; }

/* ---------- 功能一览页 ---------- */

.features-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.features-side {
  position: sticky;
  top: 92px;
  border: 1px solid var(--line);
  background: #fff;
}
.features-side h2 {
  padding: 13px 16px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .6px;
}
.features-side a {
  display: block;
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12.5px;
}
.features-side a:last-child { border-bottom: 0; }
.features-side a:hover {
  background: var(--soft);
  color: var(--brand);
  text-decoration: none;
}
.features-side a.active {
  background: #eef1ff;
  color: var(--brand);
  font-weight: 700;
}
.feature-group {
  padding-bottom: 42px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 92px;
}
.feature-group:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
.feature-group-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}
.feature-group-title h2 {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 800;
}
.feature-group-title p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}
.feature-menus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-menu {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  scroll-margin-top: 92px;
}
.feature-menu h3 {
  font-size: 17px;
  font-weight: 800;
}
.feature-menu > p {
  margin: 6px 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.feature-menu .tag { font-size: 12px; }
.feature-group-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 18px;
}

/* ---------- 手册页 ---------- */

.manual-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.manual-side {
  position: sticky;
  top: 92px;
  border: 1px solid var(--line);
  background: #fff;
}
.manual-side h2 {
  padding: 13px 16px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 800;
}
.manual-side a {
  display: block;
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.5;
}
.manual-side a:hover {
  background: var(--soft);
  color: var(--brand);
  text-decoration: none;
}
.manual-side a.active {
  background: #eef1ff;
  color: var(--brand);
  font-weight: 700;
}
.manual {
  min-width: 0;
  max-width: 860px;
}
.manual h1 {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 800;
}
.manual h2 {
  margin: 36px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 22px;
  line-height: 1.4;
  font-weight: 800;
  scroll-margin-top: 90px;
}
.manual h3 {
  margin: 26px 0 8px;
  font-size: 17px;
  font-weight: 800;
  scroll-margin-top: 90px;
}
.manual h3 code {
  margin-left: 6px;
  padding: 1px 6px;
  background: var(--soft-2);
  color: var(--muted);
  font: 11.5px/1.6 var(--mono);
  font-weight: 400;
}
.manual p {
  margin: 0 0 12px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.95;
}
.manual blockquote {
  margin: 0 0 18px;
  padding: 12px 18px;
  border-left: 3px solid var(--brand-2);
  background: var(--soft);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}
.manual blockquote p { margin: 0; color: inherit; font-size: inherit; }
.manual ul, .manual ol {
  margin: 0 0 14px;
  padding-left: 1.5em;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.95;
}
.manual li { margin: 4px 0; }
.manual li > ul, .manual li > ol { margin: 4px 0; }
.manual strong { color: var(--ink); }
.manual code {
  padding: 1px 5px;
  background: #eef0f4;
  color: #2d3442;
  font: 12.5px/1.6 var(--mono);
}
.manual hr {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.manual-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.manual-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 13px;
}
.manual-nav a:hover {
  border-color: var(--brand);
  color: var(--brand);
  text-decoration: none;
}

/* ---------- 价格 ---------- */

#plans, #pricing { scroll-margin-top: 84px; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 780px;
  margin: 0 auto;
}
.price-card {
  position: relative;
  padding: 28px 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
}
.price-card.featured {
  border-top-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.price-badge {
  position: absolute;
  top: -1px;
  right: 18px;
  padding: 4px 10px;
  background: var(--gold);
  color: #231a00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
}
.price-card h3 {
  font-size: 19px;
  font-weight: 800;
}
.price-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0 8px;
}
.price-line b {
  font: 800 46px/1 var(--mono);
  color: var(--brand);
  letter-spacing: -2px;
}
.price-line span {
  color: var(--muted);
  font-size: 13px;
}
.price-card p {
  min-height: 48px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}
.price-card .btn { margin-top: 18px; }
.price-note {
  max-width: 780px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.9;
  text-align: center;
}

/* ---------- 404 ---------- */

.error-page {
  padding: 88px 0 104px;
  text-align: center;
}
.error-code {
  color: var(--brand);
  font: 800 clamp(72px, 12vw, 132px)/1 var(--mono);
  letter-spacing: -6px;
}
.error-page h1 {
  margin: 18px 0 10px;
  font-size: 26px;
  font-weight: 800;
}
.error-page p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- 工具类 ---------- */

.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.dim { color: var(--muted); }
.mono { font-family: var(--mono); }
.center { text-align: center; }
.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;
}
.mobile-only { display: none; }

/* ---------- 响应式 ---------- */

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 58px 0 54px; }
  .hero-inner.simple { display: block; }
  .ribbon-wrap { max-width: 760px; }
  .group-grid, .scene-grid, .tut-grid, .why-grid, .mini-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .home-about { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 62px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .header-cta { margin: 10px 0 0; text-align: center; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .faq-layout, .manual-layout, .features-layout { grid-template-columns: 1fr; gap: 24px; }
  .faq-side, .manual-side, .features-side { position: static; }
  .faq-side { display: none; }
  .manual-side { display: none; }
  .features-side { display: none; }
  .feature-menus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .tut-note { grid-template-columns: 1fr; }
  .tut-group-head { flex-wrap: wrap; }
  .tut-group-head .text-link { margin-left: 70px; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .dl-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 620px) {
  .hero h1 { font-size: 33px; }
  .hero-lead { font-size: 15px; }
  .hero-inner.simple { padding: 46px 0 44px; }
  .mobile-only { display: inline; }
  .ribbon-tabbar { overflow-x: auto; scrollbar-width: none; }
  .ribbon-tabbar::-webkit-scrollbar { display: none; }
  .ribbon-tabbar span { padding: 4px 6px 5px; font-size: 10px; }
  .hero-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px; }
  .stat b { font-size: 25px; }
  .group-grid, .scene-grid, .tut-grid, .why-grid, .value-grid, .feature-menus { grid-template-columns: 1fr; }
  .mini-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card { padding: 22px 18px 20px; }
  .price-line b { font-size: 40px; }
  .mini-group { padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; }
  .mini-group:hover { transform: none; box-shadow: none; }
  .mini-no { display: none; }
  .mini-group h3 { margin: 0 0 2px; font-size: 15px; }
  .mini-group p { font-size: 12px; line-height: 1.6; }
  .mini-menu { display: none; }
  .home-facts { display: none; }
  .section { padding: 40px 0; }
  .site-footer { padding: 36px 0 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-about { font-size: 12.5px; }
  .group-desc { min-height: 0; }
  .section-head h2 { font-size: 25px; }
  .version-banner { padding: 16px; }
  .version-main b { font-size: 22px; }
  .dl-card { padding: 20px; }
  .breadcrumb { flex-wrap: wrap; }
  .manual h1 { font-size: 26px; }
  .manual h2 { font-size: 20px; }
  .tut-group-no { flex-basis: 42px; height: 42px; font-size: 14px; }
  .tut-group-head h2 { font-size: 19px; }
  .tut-group-head .text-link { margin-left: 60px; }
  .faq-tools { flex-wrap: wrap; }
  .faq-tools .search-box { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-header, .site-footer, .faq-side, .manual-side, .manual-nav, .skip-link { display: none !important; }
  body { font-size: 12pt; }
  .manual { max-width: none; }
  a { color: inherit; text-decoration: none; }
}
