@charset "UTF-8";
/* ==========================================================================
   AI落地 · 站点样式
   浅色 + 蓝图网格 + 电光蓝主色 + 荧光青柠强调
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 字体：不加载任何 Web 字体，全部使用系统字体
   Latin 走系统默认衬线体，中文走系统衬线体（宋体等）；
   标签与数字保留系统等宽字体，以维持技术感的排版节奏
   -------------------------------------------------------------------------- */
/* 字体栈定义见第 2 节「设计变量」，此处不再声明 @font-face */

/* --------------------------------------------------------------------------
   2. 设计变量
   -------------------------------------------------------------------------- */
:root {
  --paper: #f6f7f4;
  --surface: #ffffff;
  --surface-2: #fbfcfa;
  --ink: #0f1319;
  --ink-2: #39414d;
  --muted: #6c7583;
  --line: #e1e5df;
  --line-strong: #cfd5cc;

  --brand: #1b4dff;
  --brand-deep: #0b2a99;
  --brand-soft: #e9eeff;
  --brand-line: #c3d0ff;
  --signal: #c9f24e;
  --signal-soft: #f0fbcb;
  --teal: #0fa88f;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(15, 19, 25, .04), 0 2px 8px rgba(15, 19, 25, .04);
  --shadow: 0 2px 4px rgba(15, 19, 25, .04), 0 12px 28px rgba(15, 19, 25, .07);
  --shadow-lg: 0 4px 8px rgba(15, 19, 25, .05), 0 24px 60px rgba(15, 19, 25, .1);

  /* 全部使用系统字体：正文为系统默认衬线体，标签与数字为系统等宽字体 */
  --font-serif: "Times New Roman", "Songti SC", "SimSun", "Noto Serif SC", serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --font-body: var(--font-serif);

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

  /* 覆盖 Bootstrap 主题变量，使内建组件与站点视觉一致 */
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink-2);
  --bs-body-bg: var(--paper);
  --bs-primary: var(--brand);
  --bs-primary-rgb: 27, 77, 255;
  --bs-border-color: var(--line);
  --bs-link-color: var(--brand);
  --bs-link-hover-color: var(--brand-deep);
  --bs-border-radius: var(--radius-sm);
  --bs-focus-ring-color: rgba(27, 77, 255, .25);
}

/* --------------------------------------------------------------------------
   3. 基础
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  /* 极淡的网点底纹，营造「工程图纸」气质 */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(15, 19, 25, .05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .7;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color .18s ease;
}

a:hover {
  color: var(--brand-deep);
}

img {
  max-width: 100%;
  height: auto;
}

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

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.15em;
}

li {
  margin-bottom: .35em;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

code {
  font-family: var(--font-mono);
  font-size: .9em;
}

::selection {
  background: var(--signal);
  color: var(--ink);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: .7rem 1.1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

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

/* --------------------------------------------------------------------------
   4. 布局
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(56px, 8vw, 104px);
  border-top: 1px solid var(--line);
}

.section--flush {
  border-top: 0;
}

.section--paper {
  background: var(--surface-2);
}

/* 内页页头 */
.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(38px, 5vw, 68px) clamp(22px, 3vw, 34px);
  background:
    radial-gradient(760px 320px at 4% -30%, rgba(27, 77, 255, .09), transparent 60%),
    radial-gradient(620px 300px at 92% -20%, rgba(201, 242, 78, .3), transparent 58%),
    linear-gradient(180deg, #fbfcf9, var(--paper));
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  margin-bottom: .7rem;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.26;
}

.page-head__lede {
  max-width: 48em;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
}

.page-head .breadcrumb {
  margin-bottom: 1rem;
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 22px;
  padding: 0 6px;
  background: var(--brand-soft);
  border-radius: 5px;
  color: var(--brand-deep);
  font-size: .74rem;
  letter-spacing: .06em;
}

.eyebrow--muted {
  color: var(--muted);
}

.eyebrow--muted .eyebrow__num {
  background: #ecefe9;
  color: var(--ink-2);
}

.section__title {
  margin-bottom: .5rem;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
}

.section__lede {
  margin: 0;
  font-size: 1.02rem;
  color: var(--muted);
}

.lede-lg {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--ink-2);
}

/* Bootstrap 栅格间距覆盖，与站点留白节奏一致 */
.row {
  --bs-gutter-x: 20px;
  --bs-gutter-y: 20px;
}

.stack-sm > * + * { margin-top: .5rem; }

/* 手绘感高亮标记 */
.mark {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.mark::after {
  content: "";
  position: absolute;
  left: -.06em;
  right: -.06em;
  bottom: .04em;
  height: .42em;
  background: var(--signal);
  border-radius: 2px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

.is-visible .mark::after,
.mark.is-visible::after {
  transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   5. 按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .72rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn i {
  font-size: 1rem;
  line-height: 1;
  transition: transform .2s ease;
}

.btn--brand {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(27, 77, 255, .22);
}

.btn--brand:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(27, 77, 255, .28);
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

.btn--link {
  padding: .2rem 0;
  color: var(--brand);
  font-weight: 500;
}

.btn--link:hover i {
  transform: translateX(3px);
}

.btn--sm {
  padding: .48rem .85rem;
  font-size: .88rem;
  border-radius: 8px;
}

.btn:hover i.bi-arrow-right {
  transform: translateX(3px);
}

.btn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   6. 页头与导航
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(246, 247, 244, .82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(15, 19, 25, .05);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--signal);
  flex-shrink: 0;
}

.brand__mark svg {
  width: 22px;
  height: 22px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__text strong {
  font-size: 1.06rem;
  letter-spacing: .02em;
}

.brand__text small {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .04em;
  color: var(--muted);
}

.site-nav {
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list li {
  margin: 0;
}

.site-nav__link {
  position: relative;
  display: block;
  padding: .5rem .85rem;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: .95rem;
  font-weight: 500;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .28rem;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s ease;
}

.site-nav__link:hover {
  color: var(--ink);
  background: rgba(27, 77, 255, .05);
}

.site-nav__link.is-active {
  color: var(--brand);
}

.site-nav__link.is-active::after,
.site-nav__link:hover::after {
  transform: scaleX(1);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 7vw, 92px) clamp(36px, 5vw, 60px);
  background:
    radial-gradient(900px 420px at 8% -12%, rgba(27, 77, 255, .1), transparent 62%),
    radial-gradient(760px 380px at 96% 8%, rgba(201, 242, 78, .34), transparent 60%),
    linear-gradient(180deg, #fbfcf9 0%, var(--paper) 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 19, 25, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 19, 25, .05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 20%, transparent 78%);
}

.hero__scan {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 220px;
  background: linear-gradient(90deg, transparent, rgba(27, 77, 255, .07), transparent);
  animation: hero-scan 9s linear infinite;
}

@keyframes hero-scan {
  0% { transform: translateX(-30vw); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateX(115vw); opacity: 0; }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.2rem;
  padding: .34rem .7rem .34rem .5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

.hero__eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 168, 143, .16);
}

.hero__title {
  margin-bottom: 1.1rem;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.18;
  letter-spacing: -.02em;
}

.hero__lede {
  max-width: 40em;
  margin-bottom: 1.6rem;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--muted);
}

.hero__panel {
  position: relative;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero__panel::before {
  /* 蓝图角标 */
  content: "";
  position: absolute;
  top: -1px;
  left: 18px;
  width: 42px;
  height: 3px;
  background: var(--brand);
  border-radius: 0 0 3px 3px;
}

.panel__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel__rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel__rows li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 0;
  padding: .55rem 0;
  border-top: 1px dashed var(--line);
  font-size: .92rem;
}

.panel__rows li:first-child {
  border-top: 0;
}

.panel__rows i {
  margin-top: .28em;
  color: var(--brand);
  font-size: .95rem;
}

.panel__rows b {
  color: var(--ink);
  font-weight: 600;
}

.panel__foot {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--muted);
}

.facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.facts li {
  margin: 0;
  padding: 22px 24px 0 0;
}

.facts li + li {
  padding-left: 24px;
  border-left: 1px dashed var(--line-strong);
}

.facts__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.02em;
}

.facts__value small {
  margin-left: .25em;
  font-size: .42em;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0;
}

.facts__label {
  display: block;
  margin-top: .5rem;
  font-size: .9rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   8. 卡片
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .24s ease, border-color .22s ease;
}

.card::before,
.card::after {
  /* 工程图纸四角括号中的左上角 */
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--line-strong);
  border-right: 0;
  border-bottom: 0;
  border-radius: 3px 0 0 0;
  transition: border-color .22s ease;
}

.card::before {
  top: 10px;
  left: 10px;
}

.card::after {
  right: 10px;
  bottom: 10px;
  border: 1.5px solid var(--line-strong);
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 3px 0;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-line);
  box-shadow: var(--shadow);
}

.card:hover::before,
.card:hover::after {
  border-color: var(--brand);
}

.card__index {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--brand);
}

.card__title {
  margin-bottom: .55rem;
  font-size: 1.12rem;
}

.card__text {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

.card__list {
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
}

.card__list li {
  display: flex;
  gap: .5rem;
  margin-bottom: .35rem;
  color: var(--ink-2);
}

.card__list i {
  flex-shrink: 0;
  margin-top: .32em;
  color: var(--teal);
  font-size: .82rem;
}

.card__foot {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--muted);
}

.card--accent {
  background:
    linear-gradient(180deg, rgba(27, 77, 255, .05), rgba(27, 77, 255, 0) 60%),
    var(--surface);
}

/* 同一行内的卡片高度完全一致
   栅格列（.col）已被 flex 拉伸为等高，卡片再撑满列高即可对齐；每个列只放一张卡片 */
.row > .col > .card,
.row > .col > .dir-card,
.row > .col > .principle {
  height: 100%;
}

/* 理念卡：一条竖线 + 序号 */
.principle {
  padding: 22px 24px;
  border-left: 2px solid var(--line);
  transition: border-color .22s ease, background-color .22s ease;
}

.principle:hover {
  border-left-color: var(--signal);
  background: var(--surface-2);
}

.principle h3 {
  font-size: 1.05rem;
  margin-bottom: .4rem;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
}

/* --------------------------------------------------------------------------
   9. 流程时间轴
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 34px;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 11px;
  width: 1px;
  background: linear-gradient(180deg, var(--brand-line), var(--line) 70%, transparent);
}

.timeline__item {
  position: relative;
  padding-bottom: 26px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__node {
  position: absolute;
  left: -34px;
  top: 2px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  background: var(--surface);
  border: 1px solid var(--brand-line);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 600;
  color: var(--brand);
}

.timeline__stage {
  margin: 0 0 .3rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.timeline__title {
  margin: 0 0 .4rem;
  font-size: 1.14rem;
}

.timeline__text {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

.timeline__deliverable {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .7rem;
  padding: .28rem .6rem;
  background: var(--brand-soft);
  border-radius: 6px;
  font-size: .8rem;
  color: var(--brand-deep);
}

/* --------------------------------------------------------------------------
   10. 方向 / 标签
   -------------------------------------------------------------------------- */
.dir-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.dir-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--signal));
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

.dir-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-line);
  box-shadow: var(--shadow);
}

.dir-card:hover::before {
  transform: scaleY(1);
}

.dir-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  background: var(--brand-soft);
  border-radius: 10px;
  color: var(--brand);
  font-size: 1.15rem;
}

.dir-card h3 {
  margin-bottom: .5rem;
  font-size: 1.06rem;
}

.dir-card p {
  margin: 0 0 .7rem;
  color: var(--muted);
  font-size: .9rem;
}

.dir-card dl {
  display: grid;
  gap: .35rem;
  margin: auto 0 0;
  padding-top: .8rem;
  font-size: .86rem;
}

.dir-card dt {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.dir-card dd {
  margin: 0 0 .5rem;
  color: var(--ink-2);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  margin: 0;
}

.tag {
  display: inline-block;
  padding: .22rem .6rem;
  background: #eef1ec;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--ink-2);
}

.tag--brand {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.tag--signal {
  background: var(--signal-soft);
  color: #55680f;
}

/* 滚动字幕条 */
.marquee {
  display: flex;
  gap: 0;
  padding: 14px 0;
  background: var(--ink);
  color: #e9ecf3;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  animation: marquee 34s linear infinite;
}

.marquee__track span {
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .08em;
  white-space: nowrap;
  color: #dfe4ef;
}

.marquee__track span i {
  margin-right: .5rem;
  color: var(--signal);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* --------------------------------------------------------------------------
   11. 文章列表
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-bar__item {
  padding: .42rem .85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .88rem;
  color: var(--ink-2);
  transition: all .18s ease;
}

.filter-bar__item:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.filter-bar__item.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.filter-bar__item .count {
  margin-left: .35rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  opacity: .6;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .24s ease, border-color .22s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-line);
  box-shadow: var(--shadow);
  color: inherit;
}

.post-card__cat {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: .2rem .55rem;
  background: var(--brand-soft);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--brand-deep);
}

.post-card__title {
  margin-bottom: .5rem;
  font-size: 1.1rem;
  line-height: 1.4;
}

.post-card__summary {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: auto 0 0;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--muted);
}

.post-card__meta .sep {
  width: 3px;
  height: 3px;
  background: var(--line-strong);
  border-radius: 50%;
}

.post-card--wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: 32px;
  align-items: center;
  padding: 30px 32px;
  background:
    linear-gradient(120deg, rgba(27, 77, 255, .06), rgba(201, 242, 78, .18) 88%),
    var(--surface);
}

.post-card--wide .post-card__title {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.post-card--wide .post-card__meta {
  padding-top: 20px;
}

.wide-figure {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  background: var(--surface);
  border: 1px dashed var(--brand-line);
  border-radius: var(--radius);
}

.wide-figure__stat {
  text-align: center;
}

.wide-figure__stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--brand);
}

.wide-figure__stat span {
  font-size: .84rem;
  color: var(--muted);
}

/* 文章详情 */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 80px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  font-size: .84rem;
  color: var(--muted);
}

.breadcrumb li {
  margin: 0;
}

.breadcrumb i {
  font-size: .72rem;
  color: var(--line-strong);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.article-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.article-header h1 {
  margin-bottom: .7rem;
  font-size: clamp(1.65rem, 3.4vw, 2.4rem);
  line-height: 1.28;
}

.article-header__summary {
  margin: 0 0 1.2rem;
  font-size: 1.04rem;
  color: var(--muted);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--muted);
}

.article-meta .sep {
  width: 3px;
  height: 3px;
  background: var(--line-strong);
  border-radius: 50%;
}

.article-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 18px;
}

.toc {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toc__title {
  margin: 0 0 .7rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .88rem;
  border-left: 1px solid var(--line);
}

.toc__list li {
  margin: 0;
}

.toc__list a {
  display: block;
  padding: .3rem .8rem;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--muted);
  line-height: 1.5;
}

.toc__list a:hover {
  color: var(--brand);
}

.toc__list a.is-active {
  border-left-color: var(--brand);
  color: var(--brand);
  font-weight: 500;
}

.toc__list .toc__l3 a {
  padding-left: 1.6rem;
  font-size: .84rem;
}

.toc__list .toc__l4 a {
  padding-left: 2.4rem;
  font-size: .82rem;
}

.aside-cta {
  padding: 20px;
  background: var(--ink);
  border-radius: var(--radius);
  color: #d8dde8;
}

.aside-cta h3 {
  margin-bottom: .5rem;
  color: #fff;
  font-size: 1rem;
}

.aside-cta p {
  margin: 0 0 1rem;
  font-size: .86rem;
  color: #a9b2c4;
}

.article-footer {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.author-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.author-card__avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--ink);
  border-radius: 12px;
  color: var(--signal);
  font-size: 1.25rem;
}

.author-card h3 {
  margin-bottom: .3rem;
  font-size: .98rem;
}

.author-card p {
  margin: 0;
  font-size: .88rem;
  color: var(--muted);
}

.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.post-nav a {
  display: block;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  transition: border-color .2s ease, transform .2s ease;
}

.post-nav a:hover {
  border-color: var(--brand-line);
  transform: translateY(-2px);
  color: inherit;
}

.post-nav small {
  display: block;
  margin-bottom: .3rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-nav strong {
  font-size: .96rem;
  font-weight: 500;
  line-height: 1.5;
}

.post-nav .is-empty {
  opacity: .45;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   12. 正文排版
   -------------------------------------------------------------------------- */
.prose {
  font-size: 1.03rem;
  line-height: 1.85;
  color: var(--ink-2);
}

.prose > *:first-child {
  margin-top: 0;
}

.prose h2 {
  margin: 2.4em 0 .7em;
  padding-top: .2em;
  font-size: 1.4rem;
}

.prose h2::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: .6rem;
  background: var(--brand);
  border-radius: 2px;
}

.prose h3 {
  margin: 1.9em 0 .6em;
  font-size: 1.16rem;
}

.prose h4 {
  margin: 1.6em 0 .5em;
  font-size: 1.02rem;
}

.prose a {
  border-bottom: 1px solid var(--brand-line);
}

.prose a:hover {
  border-bottom-color: var(--brand);
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li {
  margin-bottom: .5em;
}

.prose li::marker {
  color: var(--brand);
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--brand-line);
  color: var(--ink-2);
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.prose hr {
  height: 1px;
  margin: 2.4em 0;
  background: var(--line);
  border: 0;
}

.prose code {
  padding: .1em .38em;
  background: #eef1ec;
  border-radius: 4px;
  font-size: .88em;
  color: #1f3a8a;
}

.code-block {
  position: relative;
  margin: 1.6em 0;
  background: #0f1319;
  border-radius: var(--radius);
  overflow: hidden;
}

.code-block::before {
  content: attr(data-lang);
  display: block;
  padding: .5rem 1rem;
  background: rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8f9bb3;
}

.code-block pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
}

.code-block code {
  padding: 0;
  background: none;
  color: #e6eaf2;
  font-size: .85rem;
  line-height: 1.7;
}

.copy-code {
  position: absolute;
  top: 6px;
  right: 8px;
  padding: .2rem .5rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  color: #c8d0e0;
  font-family: var(--font-mono);
  font-size: .7rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease, background-color .2s ease;
}

.code-block:hover .copy-code,
.copy-code:focus-visible {
  opacity: 1;
}

.copy-code:hover {
  background: rgba(255, 255, 255, .16);
}

.table-wrap {
  margin: 1.6em 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
}

.table-wrap th,
.table-wrap td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table-wrap thead th {
  background: var(--surface-2);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.table-wrap tbody tr:hover {
  background: var(--surface-2);
}

.prose img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* 提示块 */
.callout {
  position: relative;
  margin: 1.6em 0;
  padding: 18px 20px 4px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.callout__title {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .6rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
}

.callout__title i {
  color: var(--brand);
}

.callout__body > *:last-child {
  margin-bottom: 14px;
}

.callout--tip {
  border-left-color: var(--teal);
  background: #f2fbf8;
}

.callout--tip .callout__title i {
  color: var(--teal);
}

.callout--warn {
  border-left-color: #e0912a;
  background: #fdf7ec;
}

.callout--warn .callout__title i {
  color: #c47b12;
}

.callout--quote {
  border-left-color: var(--signal);
  background: #fbfdf0;
}

.callout--quote .callout__title i {
  color: #7d9518;
}

/* 常见问题（基于 Bootstrap Accordion 定制外观） */
.faq {
  --bs-accordion-color: var(--ink-2);
  --bs-accordion-bg: var(--surface);
  --bs-accordion-border-color: var(--line);
  --bs-accordion-border-radius: var(--radius);
  --bs-accordion-inner-border-radius: var(--radius);
  --bs-accordion-btn-color: var(--ink);
  --bs-accordion-btn-bg: var(--surface);
  --bs-accordion-btn-padding-y: 1.05rem;
  --bs-accordion-btn-padding-x: 1.35rem;
  --bs-accordion-btn-icon-width: 1rem;
  --bs-accordion-btn-focus-border-color: var(--brand-line);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-color: var(--ink);
  --bs-accordion-active-bg: var(--surface);
  --bs-accordion-body-padding-x: 1.35rem;
  --bs-accordion-body-padding-y: 0;
  --bs-accordion-transition: background-color .18s ease, color .18s ease;

  display: grid;
  gap: 12px;
}

.faq .accordion-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq .accordion-button {
  font-size: 1.01rem;
  font-weight: 500;
  line-height: 1.6;
  gap: .8rem;
}

.faq .accordion-button::after {
  margin-left: auto;
  background-size: 1rem;
}

.faq .accordion-button:not(.collapsed) {
  color: var(--brand-deep);
  box-shadow: inset 0 -1px 0 var(--line);
}

.faq .accordion-button .faq__mark {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 400;
  color: var(--muted);
}

.faq .accordion-body {
  padding-top: 1rem;
  padding-bottom: 1.15rem;
  color: var(--muted);
  font-size: .96rem;
}

.faq .accordion-body > *:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   13. 表单
   -------------------------------------------------------------------------- */
.form-card {
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: .4rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink);
}

.field label .req {
  color: #d1493a;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .7rem .85rem;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--surface);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27, 77, 255, .14);
  outline: none;
}

.field__hint {
  font-size: .8rem;
  color: var(--muted);
}

.form-note {
  margin: 0;
  font-size: .82rem;
  color: var(--muted);
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: 20px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
}

.alert--ok {
  background: #eefaf3;
  border: 1px solid #b9e6cd;
  color: #1c6b45;
}

.alert--err {
  background: #fdf0ee;
  border: 1px solid #f0c6bf;
  color: #9c3427;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
}

.inline-form input {
  flex: 1 1 240px;
  padding: .68rem .85rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font-family: inherit;
  font-size: .94rem;
}

.inline-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27, 77, 255, .14);
  outline: none;
}

/* 联系信息 */
.contact-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: var(--brand-soft);
  border-radius: 10px;
  color: var(--brand);
  font-size: 1.05rem;
}

.contact-item h3 {
  margin: 0 0 .2rem;
  font-size: .92rem;
}

.contact-item p {
  margin: 0;
  font-size: .95rem;
  color: var(--ink-2);
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   14. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(40px, 5vw, 64px);
  background: var(--surface-2);
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 36px;
}

.site-footer__about p {
  max-width: 34em;
  margin: .9rem 0 0;
  font-size: .9rem;
  color: var(--muted);
}

.site-footer h3 {
  margin-bottom: .9rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .92rem;
}

.site-footer li {
  margin-bottom: .5rem;
}

.site-footer a {
  color: var(--ink-2);
}

.site-footer a:hover {
  color: var(--brand);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--muted);
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   15. 滚动出现动效
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .62s cubic-bezier(.22, 1, .36, 1), transform .62s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--delay, 0) * 80ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .mark::after {
    transform: scaleX(1);
    transition: none;
  }
  .hero__scan,
  .marquee__track {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   16. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .post-card--wide {
    grid-column: span 2;
    grid-template-columns: minmax(0, 1fr);
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-aside {
    position: static;
    order: -1;
  }
  .toc {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 62px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 24px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .site-nav__link {
    padding: .7rem .8rem;
    border-radius: 8px;
  }
  .site-nav__link::after {
    display: none;
  }
  .site-nav__link.is-active {
    background: var(--brand-soft);
  }
  .site-header__actions .btn--ghost {
    display: none;
  }
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .facts li {
    padding: 16px 0;
  }
  .facts li + li {
    padding-left: 0;
    border-left: 0;
    border-top: 1px dashed var(--line-strong);
  }
  .post-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .post-card--wide {
    grid-column: span 1;
    padding: 24px;
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .post-nav {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .card,
  .dir-card {
    padding: 20px;
  }
  .article-header h1 {
    font-size: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   17. 打印
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .article-aside,
  .post-nav,
  .hero__bg,
  .marquee {
    display: none !important;
  }
  body {
    background: #fff;
  }
  body::before {
    display: none;
  }
  .prose {
    font-size: 12pt;
  }
}
