/* ==========================================================================
   SRACING · 首页 / · sr-home.css
   依据：视觉规格 20261023 §2（骨架 / 页头 / 首屏 / 统计条 / 核心服务 / 产品系列
        / 车型赛道精选 / 解决方案 / 博客 / 常见问题 / 页脚）
   依赖：sr-tokens.css
   ========================================================================== */

/* ---------------------------------------------------------------- 1. 首屏 */
.hm-hero {
  position: relative;
  min-height: max(720px, calc(100vh - 72px));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}
.hm-hero__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hm-hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(44% 32% at 50% 103%, rgba(0, 0, 0, .90), rgba(0, 0, 0, 0) 70%),
    linear-gradient(to top, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 46%),
    radial-gradient(120% 94% at 44% 42%, rgba(0, 0, 0, 0), rgba(0, 0, 0, .46) 100%);
}
.hm-hero__in {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--pad) clamp(64px, 8vh, 104px);
  text-align: center;
}
.hm-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 3.35vw, 57px);
  line-height: 1.12;
  font-weight: var(--w-head);
  color: var(--l1);
  letter-spacing: 0;
}
.hm-hero__sub {
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 24px;
  font-weight: var(--w-body);
  color: var(--l2);
}
.hm-hero__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hm-btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  line-height: 24px;
  font-weight: var(--w-head);
  text-decoration: none;
  transition: background var(--t-color) var(--ease), border-color var(--t-color) var(--ease),
              transform var(--t-color) var(--ease);
}
.hm-btn--solid { background: var(--accent); color: #120b07; }
.hm-btn--solid:hover { background: #ff7442; transform: translateY(-1px); }
.hm-btn--ghost { border: 1px solid var(--f3); color: var(--l1); }
.hm-btn--ghost:hover { border-color: var(--l2); transform: translateY(-1px); }

/* ---------------------------------------------------------------- 2. 统计条（通栏） */
.hm-stats {
  display: flex;
  align-items: baseline;
  border-top: 1px solid var(--f1);
  border-bottom: 1px solid var(--f1);
  padding: 26px var(--pad);
}
.hm-stats__i {
  flex: 1 1 0;
  padding: 0 24px;
  border-left: 1px solid var(--f1);
}
.hm-stats__i:first-child { padding-left: 0; border-left: 0; }
.hm-stats__n {
  display: block;
  font-size: 32px;
  line-height: 38px;
  font-weight: var(--w-head);
  color: var(--l1);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.hm-stats__l {
  display: block;
  font-size: 14px;
  line-height: 23px;
  font-weight: var(--w-body);
  color: var(--l3);
}

/* ---------------------------------------------------------------- 区块通用 */
.hm-sec { padding-top: 132px; }
.hm-sec__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.hm-sec__t {
  margin: 0;
  font-size: 32px;
  line-height: 38px;
  font-weight: var(--w-head);
  color: var(--l1);
  letter-spacing: 0;
}
.hm-sec__sub {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 28px;
  font-weight: var(--w-body);
  color: var(--l3);
}
.hm-sec__links {
  display: flex;
  gap: 24px;
  padding-bottom: 4px;
  flex: 0 0 auto;
}
.hm-sec__links a {
  font-size: 15px;
  line-height: 24px;
  color: var(--l3);
  text-decoration: none;
  transition: color var(--t-color) var(--ease);
}
.hm-sec__links a:hover { color: var(--red); }
.hm-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 16px;
  font-weight: var(--w-head);
  letter-spacing: .04em;
  color: var(--accent);
}

/* ---------------------------------------------------------------- 3. 核心服务 4 卡 1:1 */
.hm-grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hm-svc {
  display: flex;
  flex-direction: column;
  aspect-ratio: 1 / 1;
  background: var(--s1);
  border: 1px solid var(--f1);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 450ms var(--ease), background 450ms var(--ease),
              transform 450ms var(--ease);
}
.hm-svc:hover { border-color: #fff; background: rgba(255, 255, 255, .055); transform: translateY(-2px); }
.hm-svc__art {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--s2);
  overflow: hidden;
}
.hm-svc__art svg {
  width: 64%;
  height: auto;
  stroke: rgba(255, 255, 255, .30);
  stroke-width: 1.6;
  fill: none;
  transition: transform 450ms var(--ease), stroke 450ms var(--ease);
}
.hm-svc:hover .hm-svc__art svg { transform: scale(1.05); stroke: rgba(255, 255, 255, .34); }
.hm-svc__art::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.hm-svc__body {
  padding: 24px;
  border-top: 1px solid var(--f1);
}
.hm-svc__no {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 16px;
  font-weight: var(--w-head);
  letter-spacing: .04em;
  color: var(--accent);
}
.hm-svc__t {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 28px;
  font-weight: var(--w-head);
  color: var(--l1);
  letter-spacing: 0;
}
.hm-svc__d {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  font-weight: var(--w-body);
  color: var(--l3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hm-svc__go {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  line-height: 23px;
  color: var(--l1);
}
.hm-svc__go::after { content: " →"; color: var(--accent); display: inline-block; transition: transform var(--t-color) var(--ease); }
.hm-svc:hover .hm-svc__go::after { transform: translateX(4px); }

/* ---------------------------------------------------------------- 4. 产品系列 3 卡 1:1 */
.hm-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hm-fam {
  display: flex;
  flex-direction: column;
  aspect-ratio: 1 / 1;
  background: var(--s1);
  border: 1px solid var(--f1);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 450ms var(--ease), background 450ms var(--ease);
}
.hm-fam:hover { border-color: var(--f3); background: rgba(255, 255, 255, .055); }
.hm-fam__art {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(64% 58% at 50% 47%, rgba(255, 255, 255, .075), rgba(255, 255, 255, .022) 72%);
}
.hm-fam__art svg {
  width: 92%;
  height: auto;
  stroke: var(--art);
  stroke-width: 1.5;
  fill: none;
  transition: transform 450ms var(--ease);
}
.hm-fam:hover .hm-fam__art svg { transform: scale(1.04); }
.hm-fam__body { padding: 24px 26px 26px; border-top: 1px solid var(--f1); }
.hm-fam__no {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 16px;
  font-weight: var(--w-head);
  letter-spacing: 0;
  color: var(--accent);
}
.hm-fam__t {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 28px;
  font-weight: var(--w-head);
  color: var(--l1);
  letter-spacing: 0;
}
.hm-fam__d {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 24px;
  font-weight: var(--w-body);
  color: var(--l3);
}
.hm-fam__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.hm-fam__price {
  font-size: 17px;
  line-height: 28px;
  font-weight: var(--w-head);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.hm-fam__go { font-size: 14px; line-height: 23px; color: var(--l3); }
.hm-fam__go::after { content: " →"; }

/* ---------------------------------------------------------------- 5. 车型 · 赛道精选（斜向语法） */
.hm-atlas { padding-top: 152px; }
.hm-atlas__grid {
  display: grid;
  grid-template-columns: .74fr 1.26fr;
  gap: clamp(36px, 4.4vw, 76px);
  align-items: center;
  margin-top: 48px;
}
.hm-atlas__rule {
  width: 2px;
  height: 30px;
  background: rgba(255, 255, 255, .28);
  margin-bottom: 32px;
}
.hm-atlas__t {
  margin: 0 0 24px;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.1;
  font-weight: var(--w-head);
  color: var(--l1);
  letter-spacing: 0;
}
.hm-atlas__t i { font-style: normal; color: var(--l4); }
.hm-atlas__p {
  margin: 0 0 32px;
  max-width: 26em;
  font-size: 17px;
  line-height: 28px;
  font-weight: var(--w-body);
  color: var(--l3);
}

/* 三张倾斜叠层浮窗：容器用 cqw 等比缩放（规格 §2.7.3 第 4 条） */
.hm-stack {
  position: relative;
  aspect-ratio: 1080 / 590;
  container-type: inline-size;
}
.hm-stack::after {
  content: "";
  position: absolute;
  inset: 12% 6% 4% 10%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, .13), rgba(255, 90, 31, 0));
  filter: blur(44px);
  pointer-events: none;
  z-index: 0;
}
.hm-win {
  position: absolute;
  border-radius: clamp(8px, 1.15cqw, 13px);
  border: 1px solid rgba(255, 255, 255, .16);
  overflow: hidden;
  transition: transform 750ms var(--ease), border-color 250ms var(--ease);
  backdrop-filter: blur(2px);
}
.hm-win::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 78% at 4% -6%, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 58%);
  pointer-events: none;
}
.hm-win:hover { transform: translateY(-1.8%) rotate(var(--rot)); border-color: rgba(255, 255, 255, .24); }
.hm-win--a { left: 0; top: 19%; width: 56cqw; z-index: 3; --rot: 4deg; transform: rotate(4deg);
  background: linear-gradient(160deg, rgba(52, 54, 61, .96), rgba(23, 24, 29, .98)); }
.hm-win--b { left: 50.5%; top: 2%; width: 43cqw; z-index: 1; --rot: 5deg; transform: rotate(5deg);
  background: linear-gradient(160deg, rgba(38, 40, 46, .95), rgba(18, 19, 23, .97)); }
.hm-win--c { left: 54.8%; top: 56.5%; width: 35cqw; z-index: 4; --rot: 5.2deg; transform: rotate(5.2deg);
  background: linear-gradient(160deg, rgba(58, 60, 68, .96), rgba(26, 27, 32, .98)); }

.hm-win__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: clamp(11px, 1.5cqw, 17px) clamp(12px, 1.7cqw, 19px);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  background: linear-gradient(to bottom, rgba(255, 255, 255, .075), rgba(255, 255, 255, 0));
}
.hm-win__name { font-size: clamp(12px, 1.32cqw, 15px); line-height: 1.3; font-weight: var(--w-head); color: rgba(255, 255, 255, .82); }
.hm-win__cnt { font-size: clamp(10px, 1.02cqw, 11.5px); color: var(--l4); white-space: nowrap; }
.hm-win__body { padding: clamp(6px, .8cqw, 10px) clamp(12px, 1.7cqw, 19px) clamp(10px, 1.4cqw, 16px); }
.hm-win--b .hm-win__body { padding-left: clamp(42px, 6.4cqw, 68px); }

.hm-tbl { width: 100%; border-collapse: collapse; table-layout: fixed; }
.hm-tbl th:first-child { width: 44%; }
.hm-tbl th:nth-child(2), .hm-tbl th:nth-child(3) { width: 28%; }
.hm-tbl th {
  text-align: left;
  font-size: clamp(9px, .92cqw, 10.5px);
  font-weight: var(--w-head);
  color: var(--l3);
  padding: clamp(4px, .6cqw, 7px) 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hm-tbl th:nth-child(2), .hm-tbl th:nth-child(3) { text-align: right; }
.hm-tbl td {
  border-top: 1px solid rgba(255, 255, 255, .075);
  padding: clamp(5px, .72cqw, 9px) 0;
  vertical-align: middle;
}
.hm-tbl td:first-child {
  border-left: 2px solid rgba(255, 255, 255, .34);
  padding-left: clamp(6px, .9cqw, 11px);
}
.hm-tbl tr:first-child td:first-child { border-left-color: var(--accent); }
.hm-tbl__n { display: block; font-size: clamp(12px, 1.24cqw, 14px); line-height: 1.35; font-weight: var(--w-head); color: rgba(255, 255, 255, .92); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-tbl__s { display: block; font-size: clamp(9px, .95cqw, 10.5px); line-height: 1.4; color: var(--l3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-tbl__v { padding-left: 6px; text-align: right; font-size: clamp(12px, 1.2cqw, 13.5px); font-weight: var(--w-head); color: rgba(255, 255, 255, .86); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hm-tbl__v em { font-style: normal; font-size: clamp(9px, .9cqw, 10px); font-weight: var(--w-body); color: var(--l4); margin-left: 2px; }

/* 窗内左侧软件栏（只给车型库窗） */
.hm-win--a .hm-win__inner { display: flex; }
.hm-win__side {
  flex: 0 0 clamp(18px, 3.1cqw, 34px);
  background: rgba(0, 0, 0, .22);
  border-right: 1px solid rgba(255, 255, 255, .07);
  display: flex;
  flex-direction: column;
  gap: clamp(5px, .7cqw, 9px);
  padding: clamp(8px, 1.1cqw, 14px) 0;
  align-items: center;
}
.hm-win__side i {
  width: clamp(6px, .7cqw, 8px);
  height: clamp(6px, .7cqw, 8px);
  border-radius: 2px;
  background: rgba(255, 255, 255, .22);
}
.hm-win__side i:first-child { background: var(--accent); }

/* 解决方案窗（第三窗）：名称 + 版本号，不画圈速条（站内无圈速数据源） */
.hm-win__list { margin: 0; padding: 0; list-style: none; }
.hm-win__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: clamp(5px, .72cqw, 9px) 0;
  border-top: 1px solid rgba(255, 255, 255, .075);
}
.hm-win__list li:first-child { border-top: 0; }
.hm-win__list b { flex: 1 1 auto; min-width: 0; font-size: clamp(11px, 1.12cqw, 13px); font-weight: var(--w-head); color: rgba(255, 255, 255, .88); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-win__list em { flex: 0 0 auto; white-space: nowrap; }
.hm-win__list em { font-style: normal; font-family: var(--mono); font-size: clamp(9px, .92cqw, 10.5px); color: var(--l4); }

/* ---------------------------------------------------------------- 6. 解决方案 2 列 × 7 条 */
.hm-sols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 88px; }
.hm-sol {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--f1);
  text-decoration: none;
  color: inherit;
  transition: border-color 250ms var(--ease);
}
.hm-sol:hover { border-bottom-color: var(--f3); }
.hm-sol__cat {
  grid-column: 1 / -1;
  font-size: 12px;
  line-height: 16px;
  font-weight: var(--w-head);
  letter-spacing: 0;
  color: var(--accent);
}
.hm-sol__t { font-size: 17px; line-height: 28px; font-weight: var(--w-head); color: var(--l1); }
.hm-sol__v { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--l4); white-space: nowrap; }
.hm-sol__d { grid-column: 1 / -1; font-size: 15px; line-height: 24px; font-weight: var(--w-body); color: var(--l3); }

/* ---------------------------------------------------------------- 7. 博客 4 篇双列 */
.hm-posts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.hm-post {
  display: block;
  padding: 24px 0;
  border-bottom: 1px solid var(--f1);
  text-decoration: none;
  color: inherit;
  transition: border-color 250ms var(--ease);
}
.hm-post:hover { border-bottom-color: var(--f3); }
.hm-post__meta { display: block; margin-bottom: 8px; font-size: 12px; line-height: 16px; color: var(--l4); }
.hm-post__t {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 28px;
  font-weight: var(--w-head);
  color: var(--l1);
  transition: color 250ms var(--ease);
}
.hm-post:hover .hm-post__t { color: #fff; }
.hm-post__d {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 23px;
  font-weight: var(--w-body);
  color: var(--l3);
}

/* ---------------------------------------------------------------- 8. 常见问题 */
.hm-faq details { border-bottom: 1px solid var(--f1); }
.hm-faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  line-height: 28px;
  font-weight: var(--w-head);
  color: var(--l1);
  letter-spacing: 0;
}
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after {
  content: "＋";
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1;
  color: var(--l4);
  transition: transform 250ms var(--ease), color 250ms var(--ease);
}
.hm-faq details[open] summary::after { transform: rotate(45deg); color: var(--l1); }
.hm-faq__a {
  margin: 0;
  padding-bottom: 24px;
  max-width: 52em;
  font-size: 15px;
  line-height: 24px;
  font-weight: var(--w-body);
  color: var(--l3);
}

/* ---------------------------------------------------------------- 响应式 ≤1300 / ≤860 */
@media (max-width: 1300px) {
  .hm-atlas__grid { grid-template-columns: 1fr; }
  .hm-stack { width: 100%; }
}
@media (max-width: 1100px) {
  .hm-grid4 { grid-template-columns: 1fr 1fr; }
  .hm-grid3 { grid-template-columns: 1fr; }
  .hm-sols { grid-template-columns: 1fr; }
  .hm-posts { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hm-hero { min-height: 620px; }
  /* 竖屏只显示 SVG 中间约 31% 宽，横构图必然被裁。
     2026-10-29 换图后：-17% 的上移会把整段赛道推出画外，只剩右上角一块残片；
     赛道自身位置已经避开文案，回到 0 反而能看到完整一段弯道。
     压暗 + 底部 --bg 实色渐变仍保留，保证 h1 的对比度（规格 §2.2 首屏可读优先）。 */
  .hm-hero__art { opacity: .56; }
  .hm-hero__scrim {
    background:
      linear-gradient(to top, var(--bg) 24%, rgba(11, 12, 14, .84) 46%, rgba(11, 12, 14, .12) 82%),
      radial-gradient(88% 58% at 50% 100%, rgba(0, 0, 0, .86), rgba(0, 0, 0, 0) 74%);
  }
  .hm-hero__in { padding-bottom: 54px; }
  .hm-hero h1 { font-size: 34px; }
  .hm-stats { flex-wrap: wrap; row-gap: 20px; }
  .hm-stats__i { flex: 1 1 50%; border-left: 0; padding-left: 0; }
  .hm-stats__i:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--f1); }
  .hm-stats__i:nth-child(odd) { padding-right: 20px; }
  .hm-sec { padding-top: 96px; }
  .hm-atlas { padding-top: 104px; }
  .hm-sec__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hm-grid4 { grid-template-columns: 1fr; }
  .hm-svc, .hm-fam { aspect-ratio: auto; }
  .hm-svc__art { height: 190px; }
  .hm-fam__art { height: 232px; }
  /* 浮窗改竖排静态卡，DOM 顺序即阅读顺序 */
  .hm-stack { display: flex; flex-direction: column; gap: 12px; aspect-ratio: auto; }
  .hm-stack::after { display: none; }
  .hm-win { position: static; width: auto; transform: none; }
  .hm-win:hover { transform: none; }
  .hm-win--b .hm-win__body { padding-left: clamp(12px, 1.7cqw, 19px); }
  .hm-win__side { display: none; }
}

/* ---------------------------------------------------------------- 9. 站点索引（折叠，兜 GEO 内链） */
.hm-index { padding: 132px var(--pad) 0; }
.hm-index summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--f1);
  border-bottom: 1px solid var(--f1);
  cursor: pointer;
  list-style: none;
  font-size: 22px;
  line-height: 28px;
  font-weight: var(--w-head);
  color: var(--l1);
}
.hm-index summary::-webkit-details-marker { display: none; }
.hm-index summary::after {
  content: "＋";
  font-size: 16px;
  color: var(--l4);
  transition: transform 250ms var(--ease), color 250ms var(--ease);
}
.hm-index[open] summary::after { transform: rotate(45deg); color: var(--l1); }
.hm-index summary span { font-size: 14px; line-height: 23px; font-weight: var(--w-body); color: var(--l3); }
.hm-index__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 32px 0 8px;
}
/* 折叠必须自己兜住。
   浏览器 UA 的 `details:not([open]) > *:not(summary){display:none}` 优先级最低，
   被下面这条 `display:grid` 直接盖掉 —— 结果是 <details> 看着是关的（箭头是 ＋、
   也没有 [open] 属性），里面的索引表却一直摊在页面上，多占 1,994px。
   注意 <details> 自己**没有 class**（.hm-index 是外层 <section>，中间还隔着
   .sr-wrap），所以选择器必须走「.hm-index 下的 details」后代关系，不能写
   `.hm-index:not([open]) > .hm-index__cols` —— 那样永远匹配不到。 */
.hm-index details:not([open]) > .hm-index__cols { display: none; }
.hm-index__cols h4 {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 16px;
  font-weight: var(--w-head);
  letter-spacing: 0;
  color: var(--accent);
}
.hm-index__cols ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 24px; }
.hm-index__cols li { break-inside: avoid; }
.hm-index__cols a {
  display: block;
  padding: 4px 0;
  font-size: 15px;
  line-height: 24px;
  color: var(--l2);
  text-decoration: none;
  transition: color 250ms var(--ease);
}
.hm-index__cols a:hover { color: var(--l1); }
@media (max-width: 860px) {
  .hm-index { padding-top: 96px; }
  .hm-index__cols { grid-template-columns: 1fr; }
  .hm-index__cols ul { columns: 1; }
}

/* ==========================================================================
   Tagline 逐词点亮（2026-10-26）
   做法参考 landing-page-design skill 的 B11：文字初始 26% 不透明度，
   随滚动逐词过渡到全亮，按阅读顺序、每词错开 55ms、总延迟封顶 400ms。
   触发用 IntersectionObserver，不挂 scroll 监听（B7）。
   字号守住本站 8 档字阶的 T0（40px），不引入新档位。
   ========================================================================== */
.hm-tagline { padding-block: var(--sec-home); }
.hm-tagline__t {
  margin: 0;
  max-width: 1000px;
  /* 与首屏 h1 的 clamp(34px,3.35vw,57px) 同量级：tagline 是中段的高潮，
     不该读起来像副标题。这里比 h1 略低一档，保持层级但仍有存在感。 */
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.16;
  font-weight: var(--w-head);
  color: var(--l1);
}
.hm-tagline__w {
  display: inline-block;
  opacity: .26;
  transition: opacity 640ms var(--ease);
}
.hm-tagline__w.is-on { opacity: 1; }

@media (max-width: 860px) {
  .hm-tagline { padding-block: var(--sec-data); }
}
@media (prefers-reduced-motion: reduce) {
  .hm-tagline__w { opacity: 1; transition: none; }
}

/* ==========================================================================
   首屏「材质显影」（2026-10-29）
   不是给整块图加一个渐变动画，而是让光标去揭示材质：光照到哪里，沥青才
   亮到哪里，像车灯掠过弯道。DOM 顺序 图 → 光 → 压暗 不可调换 —— 压暗层
   始终在光之上，所以 h1 的对比度不会被这层抢走。
   只在 (hover:hover) and (pointer:fine) 且未开启「减少动态效果」时启用；
   其余情况（触屏 / 减速偏好）看到的就是静态原图，等于这层不存在。
   ========================================================================== */
.hm-hero__glow {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(420px, 56vw, 880px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0;
  /* 只动 transform，交给合成器；不写 left/top，避免每次移动都重排 */
  transform: translate3d(var(--hm-x, 50%), var(--hm-y, 50%), 0) translate(-50%, -50%);
  transition: opacity 520ms var(--ease);
  will-change: transform, opacity;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle closest-side,
      rgba(255, 255, 255, .18), rgba(255, 255, 255, .06) 34%,
      rgba(255, 255, 255, .015) 58%, rgba(255, 255, 255, 0) 76%),
    radial-gradient(circle closest-side,
      rgba(255, 138, 60, .12), rgba(255, 138, 60, .03) 44%,
      rgba(255, 138, 60, 0) 74%);
}
.hm-hero.is-lit .hm-hero__glow { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .hm-hero__glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-hero__glow { display: none; }
}
