/* ==========================================================================
   汗马文化传媒 · 站点共享样式（全站复用，页面专有样式见 page-*.css）
   ========================================================================== */

:root {
  --red: #ff0000;
  --red-dark: #cc0000;
  --red-soft: rgba(255, 0, 0, 0.12);

  --ink: #0a0a0b;
  --ink-2: #121215;
  --ink-3: #1a1a1f;

  --paper: #f5f4f1;
  --paper-2: #eae8e3;

  --text: #f4f4f5;
  --text-2: rgba(244, 244, 245, 0.72);
  --muted: rgba(244, 244, 245, 0.56);
  --ink-text: #16161a;
  --ink-text-2: #4c4c55;
  --ink-muted: #6b6b74;

  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.24);
  --line-dark: rgba(10, 10, 11, 0.13);

  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "Roboto Mono", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

p,
ul,
ol,
dl,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99;
  padding: 12px 20px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

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

.wrap--narrow {
  max-width: 900px;
}

.section {
  padding: 100px 0;
}

.section--tight {
  padding: 68px 0;
}

.section--dark {
  background: var(--ink);
}

.section--dark-2 {
  background: var(--ink-2);
}

.section--paper {
  background: var(--paper);
  color: var(--ink-text);
}

.section--paper .lead {
  color: var(--ink-text-2);
}

.section--paper .eyebrow {
  color: var(--red-dark);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* 文字 ------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}

.display {
  font-size: clamp(2.1rem, 5vw, 4.1rem);
}

.h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.h3 {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 700;
}

.h4 {
  font-size: 1.0625rem;
  font-weight: 700;
}

.lead {
  max-width: 60ch;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  color: var(--text-2);
}

.small {
  font-size: 0.875rem;
  color: var(--muted);
}

.mono {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.accent {
  color: var(--red);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 52px;
}

.section-head__text {
  max-width: 720px;
}

.section-head .h2 {
  margin: 14px 0 16px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  border-bottom: 1px solid rgba(255, 0, 0, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), gap 0.2s var(--ease);
}

.link-more::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.link-more:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  gap: 12px;
}

.section--paper .link-more:hover {
  color: var(--ink-text);
  border-color: var(--ink-text);
}

/* 按钮 ------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn::after {
  content: "↗";
  font-size: 0.95em;
  transition: transform 0.2s var(--ease);
}

.btn:hover::after {
  transform: translate(2px, -2px);
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: #fff;
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-row--spaced {
  margin-top: 28px;
}

/* 入场动效的次序错印（同组卡片依次进场） */
.js [data-rise]:nth-child(2) {
  transition-delay: 0.06s;
}

.js [data-rise]:nth-child(3) {
  transition-delay: 0.12s;
}

.js [data-rise]:nth-child(4) {
  transition-delay: 0.18s;
}

.text-link {
  color: var(--text-2);
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.text-link:hover {
  color: #fff;
  border-color: var(--red);
}

/* 头部 ------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 10, 11, 0.9);
  border-top: 2px solid var(--red);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 6px 0;
  transition: opacity 0.2s var(--ease);
}

.brand:hover {
  opacity: 0.78;
}

.brand-logo {
  width: auto;
  height: 46px;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #fff;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: #fff;
}

.has-sub {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 34px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s var(--ease);
}

.nav-caret::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.2s var(--ease);
}

.has-sub:hover .nav-caret,
.has-sub.is-open .nav-caret {
  color: var(--red);
}

.has-sub.is-open .nav-caret::before {
  transform: rotate(225deg) translate(-1px, -1px);
}

.submenu {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 250px;
  padding: 10px;
  background: #111114;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.submenu a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.76);
  border-left: 2px solid transparent;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.submenu a:hover,
.submenu a:focus-visible {
  background: var(--red-soft);
  border-left-color: var(--red);
  color: #fff;
}

.submenu a[aria-current="page"] {
  color: #fff;
  border-left-color: var(--red);
}

.has-sub:hover .submenu,
.has-sub:focus-within .submenu,
.has-sub.is-open .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  background: var(--red);
  color: #fff;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.header-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 内页头图 --------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 84px 0 72px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  margin: 18px 0 20px;
}

.page-hero .lead {
  max-width: 56ch;
}

.page-hero__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.94);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero::after {
  z-index: 0;
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.18), transparent 68%);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a {
  transition: color 0.2s var(--ease);
}

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

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.28);
}

/* 面包屑条（文章等内页顶部） */
.crumb-bar {
  padding: 18px 0;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

/* 卡片通用 --------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 24px;
}

.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));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 32px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.card:hover {
  border-color: rgba(255, 0, 0, 0.5);
  background: #1e1e24;
  transform: translateY(-3px);
}

.section--paper .card {
  background: #fff;
  border-color: var(--line-dark);
  color: var(--ink-text);
}

.section--paper .card:hover {
  border-color: rgba(255, 0, 0, 0.45);
  background: #fff;
}

.card__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--red);
}

.card__title {
  margin: 14px 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.card__text {
  color: var(--text-2);
  font-size: 0.9375rem;
}

.section--paper .card__text {
  color: var(--ink-text-2);
}

.card__more {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red-dark);
}

.card--link:hover .card__title {
  color: var(--red);
}

/* 横向行列表 ------------------------------------------------------------- */
.row-list {
  border-top: 1px solid var(--line);
}

.row-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.row-item:hover {
  background: rgba(255, 255, 255, 0.03);
  padding-left: 10px;
}

.row-item__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--red);
}

.row-item__title {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
}

.row-item__desc {
  display: block;
  margin-top: 4px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.row-item__arrow {
  font-size: 18px;
  color: var(--muted);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.row-item:hover .row-item__arrow {
  color: var(--red);
  transform: translateX(4px);
}

.section--paper .row-list,
.section--paper .row-item {
  border-color: var(--line-dark);
}

.section--paper .row-item__desc {
  color: var(--ink-muted);
}

/* 图片卡 / 场景卡 -------------------------------------------------------- */
.media-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line);
  transition: border-color 0.22s var(--ease);
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.3s var(--ease);
}

.media-card:hover {
  border-color: rgba(255, 0, 0, 0.55);
}

.media-card:hover img {
  transform: scale(1.04);
  filter: brightness(0.88);
}

.media-card__body {
  padding: 20px 22px 24px;
}

.media-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
}

.media-card__text {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--muted);
}

.media-card__tag {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

/* 场景网格 --------------------------------------------------------------- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* 图文双栏 --------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.split h2 {
  margin: 14px 0 18px;
}

.split .lead {
  margin-bottom: 26px;
}

.check-list {
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  background: var(--red);
}

.check-list strong {
  color: #fff;
}

.section--paper .check-list li {
  color: var(--ink-text-2);
}

.section--paper .check-list strong {
  color: var(--ink-text);
}

/* 流程 ------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 28px 22px 32px 0;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: #fff;
  background: var(--red);
}

.step__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step__text {
  font-size: 0.875rem;
  color: var(--muted);
}

.section--paper .steps,
.section--paper .step {
  border-color: var(--line-dark);
}

.section--paper .step__text {
  color: var(--ink-muted);
}

/* FAQ -------------------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--line);
}

.section--paper .faq,
.section--paper .faq-item {
  border-color: var(--line-dark);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 24px;
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1;
  color: var(--red);
  transition: transform 0.2s var(--ease);
}

.faq-item summary:hover {
  color: var(--red);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item__body {
  padding: 0 0 24px;
  max-width: 76ch;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.section--paper .faq-item__body {
  color: var(--ink-text-2);
}

.faq-item__body p + p {
  margin-top: 12px;
}

/* 事实点 ----------------------------------------------------------------- */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.section--paper .fact-grid {
  background: var(--line-dark);
  border-color: var(--line-dark);
}

.fact {
  padding: 26px 24px;
  background: var(--ink);
}

.section--paper .fact {
  background: #fff;
}

.fact__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.fact__text {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

/* 新闻条目 --------------------------------------------------------------- */
.post-list {
  display: grid;
  gap: 0;
}

.post {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.post:hover {
  padding-left: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.section--paper .post {
  border-color: var(--line-dark);
}

.section--paper .post:hover {
  background: rgba(10, 10, 11, 0.03);
}

.post__date {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.post__title {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  transition: color 0.2s var(--ease);
}

.post:hover .post__title {
  color: var(--red);
}

/* 列表项内文字成块，避免行内 span 无间距 */
.post__text {
  display: block;
  margin-top: 6px;
  font-size: 0.875rem;
  color: var(--muted);
}

.section--paper .post__text,
.section--paper .post__date,
.section--paper .post__arrow,
.section--paper .row-item__arrow {
  color: var(--ink-muted);
}

.section--paper .small {
  color: var(--ink-muted);
}

.section--paper .text-link {
  color: var(--ink-text);
  border-color: rgba(10, 10, 11, 0.32);
}

.section--paper .text-link:hover {
  color: var(--red-dark);
  border-color: var(--red-dark);
}

.section--paper .split__media img {
  border-color: var(--line-dark);
}

.post__arrow {
  font-size: 18px;
  color: var(--muted);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.post:hover .post__arrow {
  color: var(--red);
  transform: translateX(4px);
}

/* CTA 区块 --------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: 84px 0;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: var(--red);
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band .h2 {
  max-width: 22ch;
  margin-top: 14px;
}

.cta-band__aside {
  max-width: 380px;
}

.cta-band__aside p {
  margin-bottom: 18px;
  color: var(--text-2);
  font-size: 0.9375rem;
}

/* 页脚 ------------------------------------------------------------------- */
.site-footer {
  background: #070708;
  border-top: 1px solid var(--line);
  padding: 68px 0 26px;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.foot-logo {
  height: 52px;
  width: auto;
  margin-bottom: 20px;
}

.foot-desc {
  max-width: 34ch;
  font-size: 0.9375rem;
  color: var(--muted);
}

.foot-contact {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  font-size: 0.9375rem;
}

.foot-contact li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  color: var(--text-2);
}

.foot-contact span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.38);
  padding-top: 4px;
}

.foot-contact a {
  transition: color 0.2s var(--ease);
}

.foot-contact a:hover {
  color: var(--red);
}

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

.foot-col h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}

.foot-col li + li {
  margin-top: 10px;
}

.foot-col a {
  font-size: 0.9375rem;
  color: var(--text-2);
  transition: color 0.2s var(--ease);
}

.foot-col a:hover {
  color: var(--red);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding-top: 22px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.42);
}

.foot-bottom a {
  color: inherit;
  transition: color 0.2s var(--ease);
}

.foot-bottom a:hover {
  color: var(--red);
}

.ai-links {
  display: inline-flex;
  gap: 16px;
  margin-left: auto;
}

/* 返回顶部（放左下角，避开右下角 AI 助手保留区） ------------------------- */
.to-top {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: rgba(20, 20, 24, 0.9);
  border: 1px solid var(--line-strong);
  color: #fff;
  font-size: 17px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    border-color 0.2s var(--ease), visibility 0.25s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  border-color: var(--red);
  color: var(--red);
}

/* 入场动效（仅在脚本就绪后启用，无脚本时内容照常可见） ------------------- */
.js .rise {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js .rise.is-in {
  opacity: 1;
  transform: none;
}

/* 滚动条（站内可滚动区域统一细条） -------------------------------------- */
.scroll-thin {
  scrollbar-width: thin;
  scrollbar-color: rgba(160, 160, 170, 0.35) transparent;
}

.scroll-thin::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.scroll-thin::-webkit-scrollbar-thumb {
  background: rgba(160, 160, 170, 0.35);
  border-radius: 999px;
}

.scroll-thin::-webkit-scrollbar-track {
  background: transparent;
}

/* 响应式 ----------------------------------------------------------------- */
@media (max-width: 1080px) {
  .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .grid-4,
  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step {
    border-bottom: 1px solid var(--line);
    padding-right: 24px;
  }

  .foot-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 12px 24px 24px;
    background: #0d0d10;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list > li {
    border-bottom: 1px solid var(--line);
  }

  .nav-link {
    padding: 14px 4px;
    font-size: 16px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-caret {
    position: absolute;
    right: 0;
    top: 6px;
    width: 40px;
    height: 40px;
  }

  .has-sub {
    display: block;
    padding-right: 40px;
  }

  .submenu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 12px 8px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .has-sub:hover .submenu,
  .has-sub:focus-within .submenu {
    display: none;
  }

  .has-sub.is-open .submenu {
    display: block;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .scene-grid {
    grid-template-columns: 1fr;
  }

  .row-item {
    grid-template-columns: 44px 1fr auto;
    gap: 14px;
  }

  .post {
    grid-template-columns: 1fr auto;
    gap: 10px 16px;
  }

  .post__date {
    grid-column: 1 / -1;
  }

  .foot-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-links {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .section--tight {
    padding: 48px 0;
  }

  .brand-logo {
    height: 38px;
  }

  .steps,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .step {
    border-right: 0;
    padding-right: 0;
  }

  .header-inner {
    min-height: 66px;
  }

  .cta-band {
    padding: 60px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .rise,
  .js .rise.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card,
  .media-card img,
  .post,
  .row-item,
  .link-more::after,
  .to-top {
    transition: none;
  }

  .media-card:hover img,
  .card:hover,
  .btn-primary:hover {
    transform: none;
  }
}
