@charset "utf-8";
/* ==========================================================================
   Tera Term 中文站 — teraterm.cn
   设计系统：扁平 / 现代 / 专业
   主色提取自 Tera Term 官方图标（蓝 #0000F8 / 黄 #F0D030 / 机身灰 #989898）
   ========================================================================== */

:root {
  /* 品牌蓝 —— 由 logo 蓝 #0000F8 降饱和，保证正文与按钮可读性 */
  --blue-700: #0012B8;
  --blue-600: #0018E6;
  --blue-500: #2B3FF0;
  --blue-100: #DDE2FD;
  --blue-050: #EFF1FE;

  /* 深海军蓝 —— 页脚与深色区块 */
  --navy-900: #0A1240;
  --navy-800: #141C57;

  /* 品牌黄 —— logo 屏幕色 */
  --yellow-500: #E8C81A;
  --yellow-400: #F2D22E;
  --yellow-300: #F9E470;
  --yellow-050: #FDF7D6;

  /* 中性灰 —— 机身色系 */
  --gray-900: #14171F;
  --gray-800: #232833;
  --gray-700: #3D434E;
  --gray-600: #545B68;
  --gray-500: #6E7683;
  --gray-400: #8D949F;
  --gray-300: #C8CCD4;
  --gray-200: #E3E6EC;
  --gray-150: #EDEFF3;
  --gray-100: #F2F4F7;
  --gray-050: #F8FAFC;
  --white: #FFFFFF;

  --ok-600: #0F7B4F;
  --ok-050: #E6F5EE;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(10, 18, 64, .06);
  --shadow: 0 4px 16px rgba(10, 18, 64, .07);
  --shadow-lg: 0 18px 48px rgba(10, 18, 64, .14);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
    "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Cascadia Code", "JetBrains Mono", "SFMono-Regular", Consolas,
    "Liberation Mono", Menlo, monospace;

  --header-h: 68px;
  --container: 1160px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(30px, 4vw, 46px); }
h2 { font-size: clamp(24px, 2.8vw, 34px); }
h3 { font-size: clamp(18px, 1.6vw, 21px); }
h4 { font-size: 16px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color .18s ease;
}
a:hover { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }

img { max-width: 100%; height: auto; display: block; border: 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
li:last-child { margin-bottom: 0; }

code, kbd, samp, pre { font-family: var(--font-mono); font-size: .92em; }

kbd {
  display: inline-block;
  padding: .1em .38em;
  border: 1px solid var(--gray-300);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: var(--white);
  color: var(--gray-700);
  font-size: .84em;
  line-height: 1.5;
  white-space: nowrap;
}

code {
  padding: .12em .4em;
  border-radius: 4px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--navy-800);
  white-space: nowrap;
}

pre {
  margin: 0 0 1em;
  padding: 18px 20px;
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: #D7DCF5;
  line-height: 1.65;
  border: 1px solid #1B2568;
}
pre code {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  white-space: pre;
  font-size: 13.5px;
}

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection { background: var(--blue-100); color: var(--navy-900); }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section--gray { background: var(--gray-050); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.section--navy { background: var(--navy-900); color: #B9C0DE; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy .checklist li { color: #C3CAE4; }
.section--navy .checklist li b { color: var(--white); }
.section--navy .checklist li::before { border-color: var(--yellow-400); }
.section--navy p { color: #B9C0DE; }
.section--navy a:not(.btn) { color: var(--yellow-300); }
.section--navy a:not(.btn):hover { color: var(--yellow-400); }
.section--navy code {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  color: #E8EBFA;
}

.section-head { max-width: 760px; margin: 0 0 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 17px; color: var(--gray-600); margin-bottom: 0; }
.section--navy .section-head p { color: #A6AECF; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--yellow-050);
  border: 1px solid #F0E3A0;
  color: #7A6410;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--yellow-500);
  border-radius: 1px;
}
.section--navy .eyebrow {
  background: rgba(242, 210, 46, .12);
  border-color: rgba(242, 210, 46, .35);
  color: var(--yellow-300);
}

.grid { display: grid; gap: 20px; }
.grid > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--wide { gap: 28px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--blue-600);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; color: #fff; text-decoration: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(20, 23, 31, .06), 0 8px 24px rgba(10, 18, 64, .06); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--navy-900);
  text-decoration: none;
}
.brand:hover { color: var(--navy-900); text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: 0 0 34px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.brand__sub { font-size: 11px; color: var(--gray-500); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list li { margin: 0; }
.nav__link {
  display: block;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.nav__link:hover { background: var(--gray-100); color: var(--navy-900); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--blue-600); background: var(--blue-050); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--navy-900);
}
.nav-toggle svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }

.btn--primary {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
  box-shadow: 0 1px 1px rgba(10, 18, 64, .12);
}
.btn--primary:hover { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }

.btn--secondary {
  background: var(--white);
  border-color: var(--gray-300);
  color: var(--navy-900);
}
.btn--secondary:hover { border-color: var(--blue-600); color: var(--blue-600); background: var(--blue-050); }

.btn--yellow {
  background: var(--yellow-400);
  border-color: var(--yellow-400);
  color: #2A2200;
}
.btn--yellow:hover { background: var(--yellow-300); border-color: var(--yellow-300); color: #2A2200; }

.btn--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); color: #fff; }

.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 84px;
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(0, 24, 230, .09), transparent 62%),
    radial-gradient(760px 420px at 6% 6%, rgba(242, 210, 46, .16), transparent 58%),
    var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(20, 23, 31, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 23, 31, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .5), transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .5), transparent 72%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 56px;
  align-items: center;
}

.hero__title { margin-bottom: 20px; letter-spacing: -.02em; }
.hero__title em {
  font-style: normal;
  color: var(--blue-600);
  border-bottom: 4px solid var(--yellow-400);
  padding-bottom: 2px;
}
.hero__lead {
  font-size: 17.5px;
  color: var(--gray-600);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero__actions { margin-bottom: 26px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 5px 11px;
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  background: var(--white);
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 500;
}
.hero__meta b { color: var(--navy-900); font-weight: 700; }
.dot-ok {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok-600);
  display: inline-block;
}

/* 终端窗口 mockup */
.term {
  border-radius: var(--radius);
  overflow: hidden;
  background: #0C1030;
  border: 1px solid #232A5E;
  box-shadow: var(--shadow-lg);
}
.term__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #151A44;
  border-bottom: 1px solid #232A5E;
}
.term__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3C447E;
  display: block;
}
.term__bar span {
  margin-left: 8px;
  color: #8E96C6;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .02em;
}
.term__body {
  margin: 0;
  padding: 18px 20px 22px;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #C9D0F2;
  font-size: 12.8px;
  line-height: 1.75;
  overflow-x: auto;
}
.term__body code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; white-space: pre; }
.term__body .c-dim { color: #6E77AE; }
.term__body .c-blue { color: #7E90FF; }
.term__body .c-green { color: #61D69B; }
.term__body .c-yellow { color: #F2D22E; }
.term__body .c-white { color: #FFFFFF; }
.term__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  background: #151A44;
  border-top: 1px solid #232A5E;
  color: #7E86B8;
  font-family: var(--font-mono);
  font-size: 11px;
}
.term__foot em { font-style: normal; }
.term__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(97, 214, 155, .14);
  color: #61D69B;
  font-size: 10.5px;
  letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   Stats strip
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats__item {
  padding: 22px 24px;
  background: var(--white);
}
.stats__num {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.stats__label { font-size: 13px; color: var(--gray-500); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; font-size: 18px; }
.card p { color: var(--gray-600); font-size: 14.5px; line-height: 1.7; margin: 0; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  color: var(--blue-600);
}
.card__icon svg { width: 21px; height: 21px; }
.card--yellow .card__icon { background: var(--yellow-050); border-color: #F0E3A0; color: #8A7211; }
.card--flat { padding: 22px; }
.card--navy {
  background: var(--navy-800);
  border-color: #26307A;
  color: #B9C0DE;
}
.card--navy h3 { color: #fff; }
.card--navy p { color: #A6AECF; }
.card--navy .card__icon { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); color: var(--yellow-300); }

.card__tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
}
.card__tag--blue { background: var(--blue-050); border-color: var(--blue-100); color: var(--blue-700); }

/* 场景卡（横向内容） */
.scene {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.scene:hover { border-color: var(--blue-100); box-shadow: var(--shadow); }
.scene__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--gray-100);
  color: var(--navy-900);
}
.scene__icon svg { width: 22px; height: 22px; }
.scene h3 { font-size: 17px; margin-bottom: 6px; }
.scene p { margin: 0; font-size: 14.5px; color: var(--gray-600); }
.scene__list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.scene__list li {
  margin: 0;
  padding: 2px 8px;
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  background: var(--gray-050);
  color: var(--gray-600);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

/* --------------------------------------------------------------------------
   Feature rows（左文右图 / 交替）
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
}
.split + .split { margin-top: 76px; }
.split__body h2 { margin-bottom: 14px; }
.split__body > p { color: var(--gray-600); font-size: 16px; }

.checklist {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 11px;
  font-size: 15px;
  color: var(--gray-700);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
  transform: rotate(-45deg);
}
.checklist li b { color: var(--navy-900); }

/* 代码/面板容器 */
.panel {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-050);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-600);
}
.panel__head span { font-family: var(--font-mono); font-weight: 500; letter-spacing: .02em; }
.panel pre { margin: 0; border-radius: 0; border: 0; }
.panel__body { padding: 20px 22px; }

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */
.table-wrap {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow-x: auto;
  background: var(--white);
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 560px;
}
table.data caption {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-050);
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}
table.data th,
table.data td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}
table.data thead th {
  background: var(--gray-050);
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody th {
  white-space: nowrap;
  color: var(--navy-900);
  font-weight: 700;
  background: var(--gray-050);
}
table.data tbody tr:hover { background: var(--gray-050); }
table.data td code { font-size: 12.5px; }
.td-nowrap { white-space: nowrap; }
.td-mono { font-family: var(--font-mono); font-size: 13px; color: var(--gray-700); }

/* --------------------------------------------------------------------------
   Download page
   -------------------------------------------------------------------------- */
.page-head {
  padding: 52px 0 46px;
  background:
    radial-gradient(820px 340px at 82% -20%, rgba(0, 24, 230, .08), transparent 60%),
    var(--gray-050);
  border-bottom: 1px solid var(--gray-200);
}
.page-head h1 { margin-bottom: 12px; }
.page-head__lead { max-width: 720px; font-size: 17px; color: var(--gray-600); margin: 0; }

.breadcrumb {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
}
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--gray-300); }
.breadcrumb a { color: var(--gray-500); }

.release-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 18px 22px;
  margin-bottom: 32px;
  border: 1px solid var(--blue-100);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius-sm);
  background: var(--blue-050);
}
.release-banner strong { color: var(--navy-900); font-size: 16px; }
.release-banner span { color: var(--gray-600); font-size: 14px; }
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 3px;
  background: var(--ok-050);
  color: var(--ok-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.dl-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.dl-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow); }
.dl-card--primary { border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--blue-050); }
.dl-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.dl-card h3 { margin: 0; font-size: 19px; }
.dl-card__file {
  display: block;
  margin: 6px 0 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--gray-500);
  word-break: break-all;
}
.dl-card__desc { font-size: 14px; color: var(--gray-600); margin: 0 0 18px; min-height: 44px; }
.dl-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.dl-card__meta li {
  margin: 0;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 11.5px;
  font-weight: 600;
}
.dl-card .btn { margin-top: auto; }

.steps {
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  margin: 0;
  min-height: 36px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--navy-900);
  color: var(--yellow-400);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}
.steps h4 { margin: 0 0 4px; font-size: 16px; }
.steps p { margin: 0; font-size: 14.5px; color: var(--gray-600); }

/* --------------------------------------------------------------------------
   FAQ / details
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--gray-200); }
.faq details {
  border-bottom: 1px solid var(--gray-200);
  padding: 4px 0;
}
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-right: 2px solid var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
.faq details[open] summary { color: var(--blue-600); }
.faq__answer { padding: 0 0 20px; font-size: 15px; color: var(--gray-600); max-width: 900px; }
.faq__answer p { margin: 0 0 .8em; }
.faq__answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: 60px 0;
  background: var(--navy-900);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 300px at 88% 10%, rgba(0, 24, 230, .5), transparent 68%),
    radial-gradient(520px 260px at 8% 92%, rgba(242, 210, 46, .16), transparent 66%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(22px, 2.4vw, 30px); }
.cta-band p { color: #A6AECF; margin: 0; max-width: 560px; }

/* --------------------------------------------------------------------------
   Timeline
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 26px;
  list-style: none;
  border-left: 1px solid var(--gray-300);
}
.timeline li {
  position: relative;
  margin: 0 0 30px;
  padding-left: 4px;
}
.timeline li:last-child { margin-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-600);
}
.timeline li.is-current::before { background: var(--yellow-400); border-color: var(--yellow-500); }
.timeline__year {
  display: inline-block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: .02em;
}
.timeline h3 { font-size: 17px; margin-bottom: 4px; }
.timeline p { margin: 0; font-size: 14.5px; color: var(--gray-600); }

/* --------------------------------------------------------------------------
   Notice
   -------------------------------------------------------------------------- */
.notice {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--gray-050);
  font-size: 14px;
  color: var(--gray-600);
}
.notice--warn { border-color: #F0E3A0; background: var(--yellow-050); color: #6F5C10; }
.notice--info { border-color: var(--blue-100); background: var(--blue-050); color: #1B2B7A; }
.notice svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; }
.notice strong { color: inherit; }
.notice p { margin: 0 0 .4em; }
.notice p:last-child { margin: 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 60px 0 0;
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #A6AECF;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 44px;
}
.site-footer h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0 0 9px; }
.site-footer a { color: #A6AECF; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #fff; }
.footer-brand .brand__mark { width: 32px; height: 32px; flex-basis: 32px; }
.footer-brand span { font-size: 17px; font-weight: 700; color: #fff; }
.footer-about { max-width: 320px; color: #8E96C6; font-size: 13.5px; line-height: 1.75; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #757EAF;
  font-size: 13px;
}
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-bottom a { color: #757EAF; font-size: 13px; }

/* --------------------------------------------------------------------------
   Download modal
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 64, .58);
  backdrop-filter: blur(2px);
  animation: fade-in .18s ease;
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 32px 32px 26px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(4, 8, 40, .32);
  animation: pop-in .2s ease;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: none; }
}
.modal__dialog:focus,
.modal__dialog:focus-visible { outline: none; }
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.modal__close:hover { background: var(--gray-100); color: var(--navy-900); border-color: var(--gray-300); }
.modal__close svg { width: 16px; height: 16px; }

.modal__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 9px;
  border-radius: 3px;
  background: var(--yellow-050);
  border: 1px solid #F0E3A0;
  color: #7A6410;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.modal h2 { margin-bottom: 8px; font-size: 23px; }
.modal__desc { margin: 0 0 22px; color: var(--gray-600); font-size: 14.5px; }

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.qr-item {
  padding: 16px 14px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-050);
  text-align: center;
}
.qr-box {
  width: 100%;
  max-width: 196px;
  margin: 0 auto 12px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
}
.qr-box img {
  display: block;
  width: 100%;
  height: auto;
}
.qr-label {
  margin: 0;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 700;
}
.modal__note {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-500);
  font-size: 12.5px;
  line-height: 1.7;
  text-wrap: pretty;
}
.modal__note a { font-weight: 600; }

body.modal-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   内容核查信息（E-E-A-T 新鲜度与责任主体）
   -------------------------------------------------------------------------- */
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--gray-500);
}
.page-meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-meta a { color: var(--gray-600); text-decoration: underline; text-underline-offset: 3px; }
.page-meta__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok-600);
  flex: none;
}

/* --------------------------------------------------------------------------
   继续阅读（正文级内链，用于主题聚合与权重传递）
   -------------------------------------------------------------------------- */
.related {
  padding: 46px 0 54px;
  border-top: 1px solid var(--gray-200);
}
.related--flush { padding-top: 0; border-top: 0; }
.related__title {
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gray-500);
}
.related__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.related__list li { margin: 0; }
.related__list a {
  display: block;
  height: 100%;
  padding: 20px 20px 22px;
  background: var(--white);
  text-decoration: none;
  transition: background .18s ease;
}
.related__list a:hover { background: var(--blue-050); }
.related__list b {
  display: block;
  margin-bottom: 6px;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--navy-900);
}
.related__list span {
  display: block;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gray-500);
}

/* --------------------------------------------------------------------------
   横向对比表（承接「与 XX 有什么区别」类查询）
   -------------------------------------------------------------------------- */
.compare th[scope="col"],
.compare tbody th {
  white-space: nowrap;
}
.compare tbody th { color: var(--navy-900); }
.compare td:first-child { font-weight: 700; color: var(--navy-900); }
.compare .is-us { background: var(--blue-050); }
.compare thead th.is-us { color: var(--blue-700); }
.compare-note { margin: 16px 0 0; font-size: 13px; color: var(--gray-500); }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.muted { color: var(--gray-500); }
.nb { white-space: nowrap; }
.small { font-size: 13px; }
.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;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero { padding: 60px 0 66px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__lead { max-width: none; }
  .split { gap: 36px; }
  .section { padding: 68px 0; }
  .related__list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 10px 16px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 11px 12px; font-size: 15.5px; }
  .nav-toggle { display: inline-flex; }
  /* 移动端：下载入口在右，汉堡置于最右 */
  .header-actions { order: 3; margin-left: auto; }
  .nav-toggle { order: 4; }
  .header-actions .btn { padding: 8px 13px; font-size: 13.5px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split + .split { margin-top: 52px; }
  .split__media { order: 2; min-width: 0; }
  .split__body { min-width: 0; }
}

@media (max-width: 900px) {
  /* 宽表格在窄屏横向滚动，给出可见提示 */
  .table-wrap::before {
    content: "左右滑动查看完整表格";
    display: block;
    padding: 9px 16px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
  }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .section { padding: 52px 0; }
  .section--tight { padding: 44px 0; }
  .related { padding: 38px 0 44px; }
  .related__list { grid-template-columns: 1fr; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 42px 0 52px; }
  .hero__title { font-size: 30px; }
  .btn-row .btn { width: 100%; }
  .cta-band { padding: 46px 0; }
  .cta-band__inner .btn-row { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-head { padding: 36px 0 34px; }
  .modal { padding: 10px; }
  .modal__dialog { padding: 26px 14px 18px; border-radius: var(--radius); }
  .qr-grid { gap: 8px; }
  .qr-item { padding: 8px 4px 8px; }
  .qr-box { padding: 3px; margin-bottom: 9px; }
  .qr-label { font-size: 12px; line-height: 1.55; letter-spacing: -.01em; text-wrap: balance; }
  .term__body { font-size: 11.5px; padding: 14px 16px 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header, .site-footer, .cta-band, .modal { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}
