/* ==========================================================================
   jsscapp.com — 首页
   骨架：起跑线 · 深色计时塔 + 纸面直通车 + 赛道分栏 + 数据带
   ========================================================================== */

/* ---------- Hero：起跑线 ---------- */
.hm-hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  isolation: isolate;
}
.hm-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .028) 0 2px, transparent 2px 11px),
    radial-gradient(1100px 520px at 78% -10%, rgba(232, 56, 13, .3), transparent 62%),
    radial-gradient(900px 460px at 8% 108%, rgba(15, 143, 131, .22), transparent 64%);
}
.hm-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; z-index: -1;
  background: repeating-linear-gradient(90deg, #fff 0 22px, var(--ink) 22px 44px);
  opacity: .9;
}
.hm-hero .container {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 54px; align-items: center; padding-top: 74px; padding-bottom: 86px;
}
.hm-k {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--lime);
}
.hm-k i { width: 26px; height: 2px; background: var(--lime); display: block; }
.hm-title {
  margin-top: 22px; font-size: clamp(38px, 5.4vw, 72px); line-height: 1.06;
  letter-spacing: -.03em; font-weight: 900;
}
.hm-title span { display: block; font-family: var(--sans-num); font-weight: 700; color: var(--accent-2); letter-spacing: -.01em; }
.hm-title small {
  display: block; margin-top: 16px; font-size: clamp(15px, 1.5vw, 18px); font-weight: 500;
  letter-spacing: .34em; color: rgba(255, 255, 255, .52);
}
.hm-sub { margin-top: 26px; max-width: 36ch; font-size: 15.5px; line-height: 2.05; color: rgba(255, 255, 255, .72); }
.hm-sub b { color: #fff; font-weight: 700; }
.hm-hero .hero-actions { margin-top: 34px; }
.hm-hero .btn-primary { background: var(--accent); color: #fff; }
.hm-hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .04); }
.hm-hero .btn-ghost:hover { border-color: #fff; }
.hm-hero .btn-room strong { color: var(--lime); }

.hm-figure { margin: 0; position: relative; }
.hm-figure img { width: 100%; height: auto; border-radius: var(--radius-m); }
.hm-figure figcaption {
  margin-top: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em;
  color: rgba(255, 255, 255, .36); text-align: right;
}

/* Hero 下方计时条 */
.hm-strip { background: #0a0d0e; border-top: 1px solid rgba(255, 255, 255, .07); }
.hm-strip .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hm-strip div { padding: 22px 0; border-right: 1px solid rgba(255, 255, 255, .07); }
.hm-strip div:last-child { border-right: 0; }
.hm-strip b { display: block; font-family: var(--sans-num); font-size: 30px; line-height: 1; color: #fff; letter-spacing: .01em; }
.hm-strip b em { font-style: normal; font-size: .5em; color: var(--accent-2); margin-left: 2px; }
.hm-strip span { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .14em; color: rgba(255, 255, 255, .42); }

/* ---------- 关键词直通车 ---------- */
.kw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.kw-card {
  position: relative; background: var(--paper-2); padding: 30px 26px 34px;
  display: flex; flex-direction: column; gap: 10px; transition: background .2s, color .2s;
}
.kw-card .n {
  font-family: var(--sans-num); font-size: 12px; font-weight: 600; letter-spacing: .12em;
  color: var(--muted-2);
}
.kw-card h3 { font-size: 19px; letter-spacing: -.01em; }
.kw-card p { font-size: 13.5px; line-height: 1.95; color: var(--muted); }
.kw-card .go { margin-top: auto; padding-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--accent); }
.kw-card .go::after { content: " →"; }
.kw-card:hover { background: var(--ink); color: #fff; }
.kw-card:hover h3 { color: #fff; }
.kw-card:hover p { color: rgba(255, 255, 255, .58); }
.kw-card:hover .n { color: rgba(255, 255, 255, .38); }
.kw-card:hover .go { color: var(--lime); }
.kw-card.hot { background: #fff8f3; }
.kw-card.hot::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--accent); }

/* ---------- 定位 ---------- */
.pitch-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 56px; align-items: start; }
.pitch-copy h2 { font-size: clamp(25px, 3vw, 36px); letter-spacing: -.02em; line-height: 1.32; }
.pitch-copy h2 em { font-style: normal; color: var(--accent); }
.pitch-copy > p { margin-top: 20px; font-size: 15px; line-height: 2.1; color: var(--muted); }
.pitch-copy > p + p { margin-top: 14px; }
.pitch-list { margin-top: 26px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pitch-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line-2); }
.pitch-list b { font-family: var(--sans-num); font-size: 14px; color: var(--accent); font-weight: 700; }
.pitch-list span { font-size: 14px; line-height: 1.9; color: var(--ink-2); }

.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.numbers div { padding: 26px 22px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-m); }
.numbers b { display: block; font-family: var(--sans-num); font-size: 40px; line-height: 1; letter-spacing: -.01em; }
.numbers b em { font-style: normal; font-size: .44em; color: var(--accent); margin-left: 3px; }
.numbers span { display: block; margin-top: 10px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.numbers div:nth-child(2) b { color: var(--teal); }
.numbers div:nth-child(3) b { color: var(--accent); }
.numbers div:nth-child(4) b { color: var(--gold); }

/* ---------- 三条主线 ---------- */
.lanes3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lanes3 article { position: relative; padding: 34px 28px 30px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.lanes3 article::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
.lanes3 article:nth-child(2)::before { background: var(--teal); }
.lanes3 article:nth-child(3)::before { background: var(--gold); }
.lanes3 .no { font-family: var(--sans-num); font-size: 13px; letter-spacing: .16em; color: var(--muted-2); }
.lanes3 h3 { margin-top: 12px; font-size: 21px; }
.lanes3 p { margin-top: 12px; font-size: 14px; line-height: 1.95; color: var(--muted); }
.lanes3 ul { margin-top: 16px; display: grid; gap: 8px; }
.lanes3 li { position: relative; padding-left: 16px; font-size: 13.5px; color: var(--ink-2); }
.lanes3 li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.lanes3 article:nth-child(2) li::before { background: var(--teal); }
.lanes3 article:nth-child(3) li::before { background: var(--gold); }
.lanes3 a.more { display: inline-block; margin-top: 20px; font-size: 13px; font-weight: 700; color: var(--accent); border-bottom: 1px solid rgba(232, 56, 13, .3); }

/* ---------- 房间深色带 ---------- */
.room-band { background: var(--ink); color: #fff; padding: 0; }
.room-band .container { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.room-band .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .28em; color: var(--lime); text-transform: uppercase; }
.room-band h2 { margin-top: 16px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.015em; }
.room-band p { margin-top: 16px; font-size: 14.5px; line-height: 2; color: rgba(255, 255, 255, .62); }
.plate {
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-m);
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01));
  padding: 30px 32px;
}
.plate .digits {
  font-family: var(--sans-num); font-weight: 700; font-size: clamp(48px, 7vw, 86px); line-height: 1;
  letter-spacing: .06em; color: var(--lime);
}
.plate .meta { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.plate .meta div { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 12px; }
.plate .meta b { display: block; font-size: 13.5px; color: #fff; }
.plate .meta span { display: block; margin-top: 2px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: rgba(255, 255, 255, .38); text-transform: uppercase; }
.plate .tip { margin-top: 22px; font-size: 12.5px; color: rgba(255, 255, 255, .48); }
.plate .tip a { color: var(--accent-2); }

/* ---------- 竞速指标 ---------- */
.metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; background: var(--paper-2); }
.metrics div { padding: 28px 22px; border-right: 1px solid var(--line-2); }
.metrics div:last-child { border-right: 0; }
.metrics b { display: block; font-family: var(--sans-num); font-size: 13px; letter-spacing: .1em; color: var(--accent); }
.metrics h3 { margin-top: 12px; font-size: 16px; }
.metrics p { margin-top: 8px; font-size: 13px; line-height: 1.9; color: var(--muted); }

/* ---------- 核验清单 ---------- */
.check-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 50px; align-items: start; }
.check-grid h2 { font-size: clamp(24px, 2.8vw, 32px); letter-spacing: -.015em; line-height: 1.34; }
.check-grid .lead { margin-top: 16px; font-size: 14.5px; line-height: 2; color: var(--muted); }
.check-grid .lead a { color: var(--accent); border-bottom: 1px solid rgba(232, 56, 13, .3); }
.check-list { display: grid; gap: 10px; }
.check-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 16px 18px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-s); }
.check-list li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(15, 143, 131, .12); color: var(--teal); font-size: 12px; font-weight: 700; }
.check-list b { display: block; font-size: 14.5px; }
.check-list span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.85; color: var(--muted); }

/* ---------- 术语 ---------- */
.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
.glossary div { padding: 20px 0; border-bottom: 1px solid var(--line-2); display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 20px; }
.glossary dt { font-size: 15px; font-weight: 700; }
.glossary dd { margin: 0; font-size: 13.5px; line-height: 1.95; color: var(--muted); }

/* ---------- 人群 ---------- */
.who-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.who-grid article { padding: 26px 22px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-m); }
.who-grid .icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: #f3f4ef; font-family: var(--sans-num); font-size: 14px; font-weight: 700; color: var(--accent); }
.who-grid h3 { margin-top: 16px; font-size: 16px; }
.who-grid p { margin-top: 8px; font-size: 13px; line-height: 1.9; color: var(--muted); }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 120px; max-width: 900px; }
.timeline::before { content: ""; position: absolute; left: 100px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline div { position: relative; padding: 0 0 26px; }
.timeline div::before { content: ""; position: absolute; left: -25px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.timeline b { position: absolute; left: -120px; top: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted-2); }
.timeline h3 { font-size: 15.5px; }
.timeline p { margin-top: 5px; font-size: 13.5px; line-height: 1.9; color: var(--muted); }

/* ---------- 站内地图 ---------- */
.map-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.map-grid a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--paper-2); font-size: 14.5px; transition: border-color .18s, transform .18s; }
.map-grid a span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--muted-2); }
.map-grid a:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .hm-hero .container { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 56px; padding-bottom: 64px; }
  .hm-figure { max-width: 560px; }
  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metrics div:nth-child(3) { border-right: 0; }
  .metrics div:nth-child(n+4) { border-top: 1px solid var(--line-2); }
  .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .kw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pitch-grid, .check-grid, .room-band .container { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lanes3 { grid-template-columns: minmax(0, 1fr); }
  .glossary { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .hm-hero .container { padding-top: 42px; padding-bottom: 52px; }
  .hm-strip .container { grid-template-columns: 1fr 1fr; }
  .hm-strip div { padding: 16px 0; }
  .hm-strip div:nth-child(2) { border-right: 0; }
  .hm-strip b { font-size: 24px; }
  .kw-grid { grid-template-columns: minmax(0, 1fr); }
  .numbers b { font-size: 32px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics div { border-top: 1px solid var(--line-2); }
  .metrics div:nth-child(odd) { border-right: 1px solid var(--line-2); }
  .metrics div:nth-child(even) { border-right: 0; }
  .metrics div:nth-child(-n+2) { border-top: 0; }
  .who-grid { grid-template-columns: minmax(0, 1fr); }
  .timeline { padding-left: 26px; }
  .timeline::before { left: 4px; }
  .timeline b { position: static; display: block; margin-bottom: 4px; }
  .glossary div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .map-grid { grid-template-columns: minmax(0, 1fr); }
  .plate .meta { grid-template-columns: minmax(0, 1fr); }
}