/* =========================================================
   主张网 · 动感字体风 (Kinetic Typography)
   文字即主角 · 米白纸底 + 近黑 + 单一强调红 · 描边/实心交替
   走马灯分幅 · 标题逐词入场 · 滚动视差 · 全部 CSS/原生 JS 实现
   ========================================================= */
@import url('./vendor/fonts/archivo-black-v5.0.20-400.css');
@import url('./vendor/fonts/outfit-v5.3.0-500.css');
@import url('./vendor/fonts/outfit-v5.3.0-700.css');
@import url('./vendor/fonts/outfit-v5.3.0-800.css');
@import url('./vendor/fonts/jetbrains-mono-v5.0.21-400.css');
@import url('./vendor/fonts/jetbrains-mono-v5.0.21-700.css');

/* Archivo Black 仅提供 400 字重，这里以 900 重新登记同一批本地文件，
   让 900 请求精确命中，避免浏览器合成加粗破坏字形 */
@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-display: swap;
  font-weight: 900;
  src: url("./vendor/fonts/files/archivo-black-latin-400-normal.woff2") format("woff2"),
    url("./vendor/fonts/files/archivo-black-latin-400-normal.woff") format("woff");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-display: swap;
  font-weight: 900;
  src: url("./vendor/fonts/files/archivo-black-latin-ext-400-normal.woff2") format("woff2"),
    url("./vendor/fonts/files/archivo-black-latin-ext-400-normal.woff") format("woff");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #FAF7F0;
  --paper-2: #F1EBDD;
  --ink: #111111;
  --red: #E4003A;
  --muted: #5A564C;
  --line: 2px solid var(--ink);
  --r: 8px;
  --f-display: "Archivo Black", "Arial Black", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --f-body: "Outfit", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, "PingFang SC", "Microsoft YaHei", monospace;
}

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

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

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100% }
a { color: var(--ink); text-decoration: none }
a:hover { color: var(--red) }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px }
::selection { background: var(--red); color: var(--paper) }

h1, h2, h3, h4 { margin: 0 0 .5em; color: inherit }
p { margin: 0 0 1em }
b, strong { font-weight: 800 }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px }

/* ============ 标题逐词入场（JS 分词后由这里驱动） ============ */
.k-m {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .1em;
  margin-bottom: -.1em;
}
.k-w {
  display: inline-block;
  transform: translateY(115%);
  will-change: transform;
}
.k-in .k-w {
  transform: translateY(0);
  animation: k-up .9s cubic-bezier(.19, 1, .22, 1) backwards;
  animation-delay: var(--d, 0ms);
  transition: transform .28s cubic-bezier(.22, .61, .2, 1), color .22s ease;
}
@keyframes k-up {
  from { transform: translateY(115%) }
  to { transform: translateY(0) }
}
@media (hover: hover) {
  .k-in .k-w:hover { transform: translateY(0) skewX(-8deg); color: var(--red) }
}

/* ============ 描边文字工具类 ============ */
.k-o {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
@supports not (-webkit-text-stroke: 2px #000) {
  .k-o { color: var(--ink) }
}

/* ============ 顶栏 ============ */
.topbar {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .02em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 9px;
  padding-bottom: 9px;
}
.topbar b { color: var(--paper); font-weight: 700 }
.topbar .tel { color: var(--paper); border-bottom: 2px solid var(--red); padding-bottom: 1px }
.topbar .tel:hover { color: var(--paper); border-bottom-color: var(--paper) }

/* ============ 导航 ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: var(--line);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.02em;
  line-height: 1;
}
.logo:hover { color: var(--ink) }
.logo .mark-img { display: block; border-radius: 6px; transition: transform .25s ease }
.logo:hover .mark-img { transform: rotate(-6deg) scale(1.05) }
.logo small {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .34em;
  color: var(--red);
  margin-top: 5px;
}
.links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap }
.links a {
  font-weight: 700;
  font-size: 14.5px;
  padding: 8px 10px;
  position: relative;
  background-image: linear-gradient(var(--red), var(--red));
  background-repeat: no-repeat;
  background-size: 0% 3px;
  background-position: 10px calc(100% - 4px);
  transition: background-size .25s ease, color .2s ease;
}
.links a:hover { color: var(--red); background-size: calc(100% - 20px) 3px }
.links a.active { color: var(--red); background-size: calc(100% - 20px) 3px }
.menu-btn {
  display: none;
  width: 46px;
  height: 42px;
  border: var(--line);
  border-radius: var(--r);
  background: var(--paper);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg) }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0 }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  padding: .85em 1.5em;
  border: var(--line);
  border-radius: var(--r);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--ink);
}
.btn.ghost { background: transparent; color: var(--ink) }
.btn.ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper) }
.btn.lg { font-size: 17px; padding: 1em 1.8em }
.btn.sm { font-size: 13px; padding: .55em 1.1em }

/* ============ Hero ============ */
.hero { padding: clamp(64px, 9vw, 130px) 0 clamp(56px, 7vw, 96px) }
.hero .inner { max-width: 1020px }
.quality {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
  border: var(--line);
  border-radius: 0;
  padding: .5em 1em;
  margin-bottom: 30px;
  background: var(--paper);
}
.hero .quality, .hero .eyebrow { margin-right: 0 }
.hero .eyebrow { margin-bottom: 30px }
h1 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 8.5rem);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0 0 .28em;
  overflow-wrap: break-word;
}
h1 .accent { color: var(--red) }
.sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.85;
  max-width: 40em;
  color: var(--muted);
  margin-bottom: 34px;
}
.sub strong { color: var(--ink) }
.sub .accent,
.sub strong.accent {
  background: var(--red);
  color: var(--paper);
  padding: .08em .3em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 34px }
.pills { display: flex; gap: 10px; flex-wrap: wrap }
.pills a {
  font-weight: 700;
  font-size: 14px;
  border: var(--line);
  border-radius: var(--r);
  padding: .5em 1.1em;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.pills a:hover { background: var(--ink); color: var(--paper); transform: translate(-2px, -2px) }
.eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--red);
  margin-bottom: 16px;
}
.eyebrow::before { content: "// "; color: var(--ink) }
.trustrow {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
}
.trustrow .dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--red);
  margin-right: 8px;
}

/* ============ 走马灯（JS 注入，纯 CSS 循环） ============ */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-top: var(--line);
  border-bottom: var(--line);
  padding: .4em 0;
  user-select: none;
}
.marquee.m-b { background: var(--red); color: var(--paper) }
.m-track {
  display: flex;
  width: max-content;
  animation: m-slide var(--mspeed, 30s) linear infinite;
}
.marquee.m-b .m-track { animation-duration: var(--mspeed2, 36s); animation-direction: reverse }
.m-line { display: flex; align-items: baseline; flex: none }
.m-line span {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 4.6vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: .55em;
}
.m-line span.k-o {
  color: transparent;
  -webkit-text-stroke: 2px var(--paper);
}
.marquee.m-b .m-line span.k-o { -webkit-text-stroke-color: var(--ink) }
@supports not (-webkit-text-stroke: 2px #000) {
  .m-line span.k-o { color: var(--paper) }
}
@keyframes m-slide {
  to { transform: translateX(-50%) }
}

/* ============ 区块骨架 ============ */
.section { padding: clamp(68px, 9vw, 126px) 0 }
.section.tinted {
  background: var(--paper-2);
  border-top: var(--line);
  border-bottom: var(--line);
}
.h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0 0 .4em;
  overflow-wrap: break-word;
}
.lede {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--muted);
  max-width: 44em;
  margin-bottom: 8px;
}

/* ============ 网格与卡片 ============ */
.grid { display: grid; gap: 20px }
.grid.c2 { grid-template-columns: repeat(2, 1fr) }
.grid.c3 { grid-template-columns: repeat(3, 1fr) }
.feature,
.hub-card,
.card,
.stepcard {
  display: block;
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r);
  padding: 28px;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.feature h3, .hub-card h3, .card h3, .stepcard h3, .routecard h3 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.32rem;
  letter-spacing: -.01em;
  line-height: 1.3;
  margin-bottom: .5em;
}
.feature p, .hub-card p, .card p, .stepcard p { font-size: 15px; color: var(--muted); margin-bottom: .8em }
.feature .go, .more a {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--red);
}
.feature .go::after, .more a::after { content: " →"; display: inline-block; transition: transform .25s ease }
.feature:hover .go::after, .more a:hover::after { transform: translateX(5px) }
.feature:hover, .hub-card:hover, .card:hover, .stepcard:hover, .routecard:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--red);
}
.hub-card .tag { margin-bottom: 16px }
.card .tag { margin-bottom: 12px }

.tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  padding: .4em .8em;
  border: 2px solid var(--ink);
  border-radius: 0;
}
.tag.t-brand { background: var(--red); border-color: var(--red); color: var(--paper) }
.tag.t-green { background: var(--ink); border-color: var(--ink); color: var(--paper) }
.tag.t-navy { background: transparent; color: var(--ink) }
.tag.t-amber { background: transparent; border-color: var(--red); color: var(--red) }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }
.num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2.5px var(--ink);
  margin-bottom: 14px;
}
@supports not (-webkit-text-stroke: 2px #000) {
  .num { color: var(--red) }
}

/* ============ 使命宣言（墨色海报块） ============ */
.mission {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(76px, 10vw, 140px) 0;
}
.mission h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 4.8vw, 4rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  max-width: 22em;
}
.mission > .container > p {
  color: rgba(250, 247, 240, .72);
  max-width: 44em;
  font-size: 1.05rem;
}
.quotes { margin-top: 52px }
.q-slide { display: none }
.q-slide.is-active { display: block; animation: q-in .55s ease both }
@keyframes q-in {
  from { opacity: 0; transform: translateY(16px) }
  to { opacity: 1; transform: none }
}
.q-slide p {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.7;
  color: var(--paper);
  max-width: 36em;
}
.q-slide cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(250, 247, 240, .55);
}
.q-dots { display: flex; gap: 10px; margin-top: 28px }
.q-dot {
  width: 13px;
  height: 13px;
  border: 2px solid var(--paper);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.q-dot:hover { transform: scale(1.2) }
.q-dot.is-active { background: var(--red); border-color: var(--red) }

/* ============ 数字条 ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px }
.stat b {
  display: block;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.stat:nth-child(even) b {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--ink);
}
@supports not (-webkit-text-stroke: 2px #000) {
  .stat:nth-child(even) b { color: var(--red) }
}
.stat span {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
}

/* ============ 路线卡片 / 案例 / 底线 / 期限 ============ */
.routelist { display: grid; gap: 20px; margin-top: 34px }
.routecard {
  display: flex;
  gap: 26px;
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r);
  padding: 30px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.routecard > .num { flex: none; margin-bottom: 0 }
.routecard h3 { font-size: 1.4rem }
.routecard p { font-size: 15px; color: var(--muted) }
.routecard ul { margin: 0 0 1em; padding-left: 1.25em }
.routecard li { margin: .4em 0; font-size: 15px; color: var(--muted) }
.routecard li b, .routecard p b { color: var(--ink) }
.routecard .more { display: block; margin-top: 6px }
.realcase {
  margin: 18px 0;
  background: var(--paper-2);
  border: var(--line);
  border-radius: var(--r);
  padding: 16px 20px;
  font-size: 14.5px;
  line-height: 1.8;
}
.realcase .lbl {
  font-family: var(--f-mono);
  font-weight: 700;
  color: var(--red);
  margin-right: 4px;
}
.realcase .vsrc, .realcase .vnote {
  display: block;
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}
.boundary {
  margin: 16px 0;
  background: var(--paper-2);
  border-left: 6px solid var(--red);
  padding: 14px 18px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}
.boundary b { color: var(--ink) }
.deadline {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r);
  padding: 28px 30px;
}
.deadline h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: .6em;
}
.deadline h3::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: var(--red);
}
.deadline p { font-size: 15px; color: var(--muted); margin: 0 }
.deadline b { color: var(--ink) }

/* ============ 免费模板 ============ */
.tpl {
  border: var(--line);
  border-radius: var(--r);
  background: var(--paper);
  overflow: hidden;
}
.tpl > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 13.5px;
  padding: 15px 20px;
  transition: background-color .2s ease;
}
.tpl > summary::-webkit-details-marker { display: none }
.tpl > summary::after {
  content: "+";
  margin-left: auto;
  font-size: 18px;
  transition: transform .25s ease;
}
.tpl[open] > summary::after { transform: rotate(45deg) }
.tpl > summary:hover { background: var(--red); color: var(--paper) }
.free {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  background: var(--red);
  color: var(--paper);
  padding: 2px 8px;
}
.tpl-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 20px;
  background: var(--paper-2);
  border-bottom: var(--line);
}
.tag2 {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--muted);
}
.copybtn {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 13px;
  border: var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  padding: .45em 1.1em;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.copybtn:hover { background: var(--ink); color: var(--paper) }
.tpl pre {
  margin: 0;
  padding: 22px;
  background: var(--ink);
  color: #F5EFDF;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 440px;
  overflow: auto;
}
.assist {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px dashed #D9D0BC;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============ FAQ ============ */
.faq details { border-bottom: var(--line) }
.faq details:first-child { border-top: var(--line) }
.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: 1.06rem;
  padding: 19px 2px;
  transition: color .2s ease;
}
.faq summary::-webkit-details-marker { display: none }
.faq summary::after {
  content: "+";
  font-family: var(--f-mono);
  font-size: 20px;
  color: var(--red);
  transition: transform .25s ease;
}
.faq details[open] summary { color: var(--red) }
.faq details[open] summary::after { transform: rotate(45deg) }
.faq .a { padding: 0 40px 22px 2px; font-size: 15px; color: var(--muted) }

/* ============ 大 CTA ============ */
.bigcta {
  background: var(--red);
  color: var(--paper);
  text-align: center;
  padding: clamp(80px, 11vw, 150px) 0;
}
.bigcta h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 7.5vw, 6.4rem);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: .35em;
}
.bigcta p {
  color: rgba(250, 247, 240, .92);
  max-width: 56ch;
  margin: 0 auto 8px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}
.bigcta .actions { justify-content: center; margin: 34px 0 0 }
.bigcta .btn { background: var(--paper); color: var(--ink); border-color: var(--ink) }
.bigcta .btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 5px 5px 0 rgba(17, 17, 17, .45) }
.bigcta .hint {
  margin-top: 28px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgba(250, 247, 240, .75);
}

/* ============ 页脚 ============ */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0 0;
}
footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.brandline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.brandline .mark-img { border-radius: 6px }
footer p { color: rgba(250, 247, 240, .65) }
footer h4 {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .22em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
footer h4::before { content: ""; width: 10px; height: 10px; background: var(--red); flex: none }
footer .cols a {
  display: block;
  padding: 5px 0;
  font-size: 14.5px;
  color: rgba(250, 247, 240, .78);
  transition: color .2s ease, transform .2s ease;
}
footer .cols a:hover { color: var(--paper); transform: translateX(4px) }
footer .legal {
  border-top: 1px solid rgba(250, 247, 240, .18);
  margin-top: 54px;
  padding: 24px 0 30px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(250, 247, 240, .55);
}
footer .legal b { color: rgba(250, 247, 240, .85) }
footer .beian a { color: rgba(250, 247, 240, .75); text-decoration: underline; text-underline-offset: 3px }
footer .beian a:hover { color: var(--paper) }

/* ============ 浮层：吐司 / 回到顶部 ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--red);
  border-radius: var(--r);
  font-family: var(--f-mono);
  font-size: 13.5px;
  padding: 12px 22px;
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  transition: opacity .3s ease, transform .3s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0) }
.totop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: var(--line);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  z-index: 80;
  transition: opacity .3s ease, transform .3s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.totop.show { opacity: 1; transform: none; pointer-events: auto }
.totop:hover { background: var(--red); border-color: var(--red); color: var(--paper) }

/* ============ 滚动浮现（JS 添加，完成后移除类） ============ */
.k-rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .2, 1);
  transition-delay: var(--d, 0ms);
}
.k-rv.k-in { opacity: 1; transform: none }

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .links { display: none }
  .menu-btn { display: flex }
  .links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    background: var(--paper);
    border: var(--line);
    border-radius: var(--r);
    box-shadow: 10px 10px 0 var(--ink);
    padding: 14px;
    gap: 2px;
    z-index: 60;
  }
  .links.open a { padding: 11px 10px; background-size: 0% 3px }
  .links.open a:hover { background-size: 100% 3px; background-position: 10px calc(100% - 8px) }
  .links.open a.btn { margin-top: 10px; text-align: center }
}
@media (max-width: 1024px) {
  .grid.c3 { grid-template-columns: repeat(2, 1fr) }
  .steps { grid-template-columns: repeat(3, 1fr) }
  footer .cols { grid-template-columns: 1fr 1fr }
}
@media (max-width: 820px) {
  .grid.c2, .grid.c3, .steps { grid-template-columns: 1fr }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 20px }
  .routecard { flex-direction: column; gap: 14px }
  .routecard .num { margin-bottom: 0 }
  .faq .a { padding-right: 8px }
}
@media (max-width: 640px) {
  .container { padding: 0 18px }
  .topbar .container { justify-content: center; text-align: center }
  h1 { font-size: clamp(2.6rem, 13vw, 4.2rem) }
  .h2 { font-size: clamp(1.8rem, 8vw, 2.8rem) }
  .bigcta h2 { font-size: clamp(2rem, 10vw, 3.4rem) }
  .actions .btn { width: 100% }
  .marquee { --mspeed: 16s; --mspeed2: 19s }
  .m-line span { font-size: clamp(1.6rem, 7vw, 2.4rem) }
  .feature, .hub-card, .card, .stepcard, .routecard, .deadline { padding: 22px }
}

/* ============ 降低动效 ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .k-w { transform: none !important; animation: none !important }
  .k-in .k-w:hover { transform: none }
  .k-rv { opacity: 1 !important; transform: none !important }
  .m-track { animation: none !important }
  .q-slide.is-active { animation: none !important }
}
