/* ==========================================================================
   fitness · 运动馆与健身服务
   设计语言：赛场记分牌 / 霓虹运动
   炭黑 #16171C · 电光洋红 #FF2E7E · 电光黄 #FFE500 · 浅灰 #E9EAEE · 深灰 #3A3D46
   直角无圆角 · 斜切色块 · 超大编号 · hazard 斜纹条 · 横向条形数据
   票券卡 · 背心式工牌 · 训练日志行 · 等宽读数
   ========================================================================== */

/* 1 · 变量 ---------------------------------------------------------------- */
:root {
  --ink: #16171C;
  --ink-2: #3A3D46;
  --paper: #E9EAEE;
  --accent: #FF2E7E;
  --accent-2: #FFE500;
  --line: #C9CCD5;
  --white: #FFFFFF;
  --muted: #5A5F6D;

  --text: #16171C;
  --text-inv: #E9EAEE;

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

  --wrap: 1440px;
  --pad: 40px;
  --skew: -8deg;

  --ro-line: rgba(233, 234, 238, .14);
  --ro-k: #FF2E7E;
  --ro-v: rgba(233, 234, 238, .86);
  --bar-track: rgba(233, 234, 238, .16);
  --card-bg: #1D1F26;
  --hair: rgba(233, 234, 238, .14);
}

/* 2 · 基础 ---------------------------------------------------------------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  overflow-x: clip;
  word-break: break-word;
}

@supports not (overflow: clip) {
  body { overflow-x: hidden; }
}

h1, h2, h3, h4 {
  margin: 0 0 .4em;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(34px, 4.6vw, 62px); }
h2 { font-size: clamp(26px, 3.2vw, 44px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

a { color: inherit; }

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

button { font: inherit; }

.ico { width: 18px; height: 18px; flex: none; }

.lead { font-size: 18px; line-height: 1.8; color: var(--muted); }
.muted { color: var(--muted); }

.note {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 14px;
  margin: 18px 0 0;
}

.divider { height: 2px; background: var(--ink); margin: 32px 0; }

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 3 · 容器与横幅 ---------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.demo-bar {
  background: var(--accent-2);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
}
.demo-bar-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.demo-bar-inner p { margin: 0; }
.demo-badge {
  flex: none;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  background: var(--ink);
  color: var(--accent-2);
  padding: 2px 9px;
  margin-top: 2px;
}

/* 4 · 头部 ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--ink);
  color: var(--text-inv);
  border-bottom: 1px solid var(--hair);
}
.site-header.is-scrolled {
  background: rgba(22, 23, 28, .97);
  border-bottom-color: var(--accent);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex: none;
}
.logo-mark { width: 38px; height: 38px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 19px; font-weight: 900; letter-spacing: .01em; }
.logo-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-top: 3px;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-link {
  color: rgba(233, 234, 238, .78);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text-inv); }
.nav-link.is-active { color: var(--accent-2); border-bottom-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(233, 234, 238, .82);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent-2); }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 2px solid rgba(233, 234, 238, .42);
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-inv);
  margin: 4px auto;
}

/* 5 · 抽屉与遮罩 ---------------------------------------------------------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 23, 28, .74);
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
  z-index: 90;
}
.overlay.is-open,
.overlay.is-on { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(330px, 86vw);
  background: var(--ink);
  color: var(--text-inv);
  border-left: 3px solid var(--accent);
  transform: translateX(100%);
  transition: transform .28s ease;
  z-index: 100;
  overflow-y: auto;
  padding: 18px 20px 26px;
}
.drawer.is-open { transform: none; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 6px;
}
.drawer-close {
  background: none;
  border: 0;
  color: var(--text-inv);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.drawer .nav-link {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 16px;
}
.drawer .nav-link.is-active { color: var(--accent-2); }
.drawer-cta { margin-top: 20px; display: grid; gap: 10px; }
body.is-locked { overflow: hidden; }

/* 6 · 按钮 ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--ink); }

.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--text-inv); }

.section-dark .btn-ghost,
.site-footer .btn-ghost,
.drawer .btn-ghost { border-color: var(--text-inv); color: var(--text-inv); }
.section-dark .btn-ghost:hover,
.site-footer .btn-ghost:hover,
.drawer .btn-ghost:hover { background: var(--text-inv); color: var(--ink); }

.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }

/* 7 · 区块与标题 ---------------------------------------------------------- */
.section {
  padding: 96px 0;
  position: relative;
  overflow-x: clip;
}
.section-tight { padding: 72px 0; }
.section-dark { background: var(--ink); color: var(--text-inv); }
.section-dark .section-desc,
.section-dark .lead { color: rgba(233, 234, 238, .74); }
.section-dark .note { color: rgba(233, 234, 238, .74); border-left-color: var(--accent); }

.section:not(.section-dark) {
  --ro-line: var(--line);
  --ro-k: #D1005C;
  --ro-v: #3A3D46;
  --bar-track: rgba(58, 61, 70, .16);
}

.section-head { max-width: 780px; margin-bottom: 46px; }
.section-title { margin: 0 0 14px; }
.section-desc {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 68ch;
  margin: 0;
}
.section-more { margin: 36px 0 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.section-dark .eyebrow { color: var(--accent-2); }

.banner { padding: 0 0 8px; }

/* 8 · 首屏 ---------------------------------------------------------------- */
.hero {
  background: var(--ink);
  color: var(--text-inv);
  position: relative;
  overflow-x: clip;
  border-bottom: 4px solid var(--accent);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .72fr);
  gap: 56px;
  align-items: center;
  padding: 92px 0 76px;
}
.hero-copy { max-width: 780px; }
.hero-title {
  font-size: clamp(36px, 5.2vw, 74px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.035em;
  margin: 0 0 22px;
}
.hero-title::after {
  content: "";
  display: block;
  width: 190px;
  height: 14px;
  margin-top: 22px;
  background: var(--accent);
  transform: skewX(-22deg);
}
.hero-desc {
  font-size: 17.5px;
  line-height: 1.85;
  color: rgba(233, 234, 238, .8);
  max-width: 60ch;
  margin: 0 0 24px;
}
.hero-tags { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media img { box-shadow: 18px 18px 0 var(--accent); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.tag-sm { font-size: 12px; padding: 4px 10px; }
.section-dark .tag { border-color: rgba(233, 234, 238, .4); color: rgba(233, 234, 238, .85); }
.section-dark .tag-sm { border-color: rgba(233, 234, 238, .28); }

.tag-skew { border: 0; padding: 0; transform: skewX(var(--skew)); transform-origin: 0 50%; }
.tag-skew > span {
  display: block;
  padding: 4px 12px;
  transform: skewX(8deg);
  background: var(--accent-2);
  color: var(--ink);
  font-weight: 800;
}
.section-dark .tag-skew > span { background: var(--accent-2); color: var(--ink); }

/* 9 · 事实与读数 ---------------------------------------------------------- */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.fact-card { background: var(--white); padding: 24px 26px; }
.section-dark .fact-grid { background: var(--ink-2); border-color: var(--ink-2); }
.section-dark .fact-card { background: var(--card-bg); }
.fact-k {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--accent);
  margin: 0 0 10px;
}
.section-dark .fact-k { color: var(--accent-2); }
.fact-v { font-size: 15.5px; line-height: 1.75; margin: 0; }

.hero-ledger { background: var(--accent-2); color: var(--ink); }
.ledger-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ledger-item {
  padding: 24px 26px;
  border-right: 2px solid var(--ink);
}
.ledger-item:last-child { border-right: 0; }
.ledger-num {
  font-family: var(--mono);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
}
.ledger-unit { font-size: 17px; font-weight: 700; margin-left: 4px; }
.ledger-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  margin-top: 10px;
  opacity: .78;
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { border-top: 3px solid var(--accent); padding-top: 14px; }
.stat-num { font-family: var(--mono); font-size: 34px; font-weight: 700; display: block; }
.stat-label { font-size: 13.5px; color: var(--muted); }

.readout { margin: 14px 0 0; }
.readout-row {
  display: flex;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--ro-line);
  font-size: 14px;
}
.readout-k {
  flex: 0 0 70px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ro-k);
  padding-top: 3px;
}
.readout-v {
  flex: 1 1 auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ro-v);
}

/* 10 · 行业专属模块 ------------------------------------------------------- */

/* 10.1 斜切色块课程卡 */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: cnum;
}
.course-grid-full { grid-template-columns: repeat(2, 1fr); gap: 30px; }

.course-card {
  counter-increment: cnum;
  position: relative;
  background: var(--card-bg);
  box-shadow: inset 6px 0 0 var(--accent);
  padding: 30px 26px 26px;
}
.course-no {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--mono);
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-2);
  opacity: .92;
}
.course-no::before { content: counter(cnum, decimal-leading-zero); }
.course-body { position: relative; }
.course-title { font-size: 23px; font-weight: 800; margin: 0 0 10px; }
.course-desc { font-size: 14.5px; line-height: 1.8; color: rgba(233, 234, 238, .76); margin: 0 0 16px; }

.skew-card {
  counter-increment: cnum;
  background: var(--card-bg);
  box-shadow: inset 6px 0 0 var(--accent);
  transform: skewX(var(--skew));
  transform-origin: 0 50%;
}
.skew-inner {
  transform: skewX(8deg);
  transform-origin: 0 50%;
  padding: 30px 30px 28px;
}
.skew-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 12px; }
.num {
  font-family: var(--mono);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-2);
  flex: none;
}
.num::before { content: counter(cnum, decimal-leading-zero); }
.skew-head .course-title { margin: 0; }

.spec { margin: 20px 0 0; border-top: 1px solid var(--ro-line); }
.spec-row {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ro-line);
  font-size: 14px;
}
.spec-k {
  flex: 0 0 76px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ro-k);
  padding-top: 3px;
}
.spec-v { flex: 1 1 auto; color: var(--ro-v); line-height: 1.7; }

/* 10.2 横向条形数据 */
.bar {
  position: relative;
  height: 10px;
  margin: 18px 0;
  background: var(--bar-track);
}
.bar-track { position: absolute; inset: 0; background: var(--bar-track); }
.bar-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); }
.bar-fill::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -4px;
  width: 10px;
  height: 18px;
  background: var(--accent-2);
}
.bar-lv1 { width: 34%; }
.bar-lv2 { width: 67%; }
.bar-lv3 { width: 100%; }

.legend { margin-top: 22px; }
.legend-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--ro-line);
}
.legend-row .bar { margin: 0; }
.legend-tag { font-family: var(--mono); font-size: 12.5px; font-weight: 700; color: var(--ro-k); }
.legend-note { font-size: 13px; color: var(--ro-v); }

/* 10.3 hazard 斜纹条 */
.hazard {
  background-image: repeating-linear-gradient(
    45deg,
    var(--accent-2) 0 14px,
    var(--ink) 14px 28px
  );
}
.hazard-thin { height: 12px; margin: 22px 0 0; }

/* 10.4 票券卡 */
.ticket-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ticket {
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--ink-2);
  padding: 32px 26px 26px;
  display: flex;
  flex-direction: column;
}
.ticket-notch {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: var(--accent);
  transform: skewX(-20deg);
  transform-origin: 0 0;
}
.ticket::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 26px;
  border-top: 2px dashed rgba(233, 234, 238, .22);
}
.price-name { font-size: 24px; font-weight: 900; margin: 0 0 6px; }
.price-sub { font-size: 13px; color: rgba(233, 234, 238, .65); margin: 0 0 16px; }
.price { margin: 0 0 18px; }
.price-card { background: var(--card-bg); border: 1px solid var(--ink-2); padding: 26px 24px; }
.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 3px 10px;
  background: var(--accent);
  color: #fff;
}
.quote {
  margin: 0;
  padding: 20px 0 20px 24px;
  border-left: 4px solid var(--accent-2);
  font-size: 18px;
  line-height: 1.8;
  color: var(--ro-v);
}
.price-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
  background: var(--accent-2);
  color: var(--ink);
  padding: 6px 14px;
}
.checklist { margin: 0 0 18px; flex: 1 1 auto; }
.check-item {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 14px;
  line-height: 1.7;
  border-bottom: 1px solid var(--ro-line);
}
.check-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 10px;
  height: 10px;
  background: var(--accent);
}
.price-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(233, 234, 238, .6);
  margin: 0 0 18px;
}

/* 10.5 背心式工牌 */
.badge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: co;
}
.badge-grid-3 { grid-template-columns: repeat(3, 1fr); }
.badge-card {
  counter-increment: co;
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--ink-2);
  padding-top: 44px;
}
.badge-no {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-2);
}
.badge-no::before { content: counter(co, decimal-leading-zero); }
.badge-bar {
  margin: -44px 0 0;
  background: var(--accent);
  transform: skewX(var(--skew));
  transform-origin: 0 50%;
}
.badge-bar > span {
  display: block;
  padding: 9px 18px;
  transform: skewX(8deg);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
}
.badge-body { padding: 20px 22px 24px; }
.badge-role {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent-2);
  margin: 0 0 10px;
}
.badge-bio { font-size: 14px; line-height: 1.75; color: rgba(233, 234, 238, .74); margin: 0 0 6px; }

/* 10.6 场馆分区卡 */
.zone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: zn; }
.zone-grid-5 { grid-template-columns: repeat(5, 1fr); }
.zone-card {
  counter-increment: zn;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ink);
  padding: 26px 22px 24px;
}
.section-dark .zone-card { background: var(--card-bg); border-color: var(--ink-2); border-top-color: var(--accent); }
.zone-no {
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}
.zone-no::before { content: counter(zn, decimal-leading-zero); }
.section-dark .zone-no { color: var(--accent-2); }
.zone-name { font-size: 20px; font-weight: 800; margin: 0 0 8px; }
.zone-summary { font-size: 14px; line-height: 1.75; color: var(--muted); margin: 0 0 6px; }
.section-dark .zone-summary { color: rgba(233, 234, 238, .72); }
.zone-note {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--ro-line);
}
.section-dark .zone-note { color: rgba(233, 234, 238, .6); }

/* 10.7 规则卡 / 梯队卡 */
.rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.rule-card { background: var(--white); padding: 24px 26px; }
.rule-k {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #D1005C;
  margin: 0 0 10px;
}
.rule-v { font-size: 14.5px; line-height: 1.8; margin: 0; }

.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tier-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: 24px 22px;
}
.section-dark .tier-card { background: var(--card-bg); border-color: var(--ink-2); border-left-color: var(--accent-2); }
.tier-title { font-size: 18px; font-weight: 800; margin: 0 0 10px; }
.tier-desc { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0; }
.section-dark .tier-desc { color: rgba(233, 234, 238, .72); }

/* 10.8 步骤 */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.step { background: var(--white); padding: 26px 24px; position: relative; }
.section-dark .step { background: var(--card-bg); }
.step-no {
  display: block;
  font-family: var(--mono);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-dark .step-no { color: var(--accent-2); }
.step-title { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.step-desc { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0 0 14px; }
.section-dark .step-desc { color: rgba(233, 234, 238, .72); }
.step-note {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  background: var(--ink);
  color: var(--accent-2);
  padding: 4px 11px;
}

/* 10.9 竖向流程（7 步） */
.steps-7 { display: block; background: none; border: 0; }
.steps-7 .step {
  background: none;
  border: 0;
  border-left: 2px solid var(--ink-2);
  padding: 0 0 34px 42px;
  margin-bottom: 0;
}
.steps-7 .step:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps-7 .step::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 10px;
  width: 16px;
  height: 16px;
  background: var(--accent);
}
.steps-7 .step:last-child::before { background: var(--accent-2); }
.steps-7 .step-no { font-size: 30px; margin-bottom: 6px; }
.steps-7 .step-desc { margin-bottom: 10px; }

/* 10.10 训练日志行 */
.log-list { display: grid; gap: 1px; background: var(--ink-2); border: 1px solid var(--ink-2); }
.log-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); background: var(--ink); }
.log-thumb { overflow: hidden; }
.log-thumb img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.log-body { padding: 22px 26px; border-left: 1px solid var(--ink-2); }
.log-title { font-size: 20px; font-weight: 800; margin: 0 0 8px; }
.log-desc { font-size: 14px; line-height: 1.8; color: rgba(233, 234, 238, .74); margin: 0; }

/* 10.11 筛选 */
.filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--ink-2);
  background: var(--card-bg);
  margin-bottom: 26px;
}
.filter-group { display: flex; }
.filter-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--accent-2);
}
.filter-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 15px;
  background: transparent;
  color: rgba(233, 234, 238, .82);
  border: 1px solid rgba(233, 234, 238, .3);
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.chip:hover { border-color: var(--accent); color: #fff; }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.filter-count { font-family: var(--mono); font-size: 12px; color: rgba(233, 234, 238, .6); margin-left: auto; }
.filter-count::before { content: "命中 "; }
.is-hidden { display: none !important; }

/* 10.12 通用卡 / 网格 / 特性 */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); padding: 26px 24px; }
.card-title { font-size: 19px; font-weight: 800; margin: 0 0 10px; }
.card-desc { font-size: 14.5px; line-height: 1.8; color: var(--muted); margin: 0; }
.card-role { font-family: var(--mono); font-size: 12px; color: var(--accent); margin: 0 0 8px; }
.card-img { width: 100%; height: auto; display: block; margin-bottom: 16px; }
.feature { border-top: 3px solid var(--accent); padding-top: 16px; }
.feature h3 { font-size: 18px; }
.media { display: block; }
.media-img { width: 100%; height: auto; display: block; }

/* 10.13 页面骨架 */
.page-head {
  background: var(--ink);
  color: var(--text-inv);
  padding: 52px 0 46px;
  border-bottom: 4px solid var(--accent);
  overflow-x: clip;
}
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(233, 234, 238, .6);
  margin-bottom: 18px;
}
.crumb a { color: var(--accent-2); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.page-title { margin: 0 0 14px; max-width: 22ch; }
.page-desc {
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(233, 234, 238, .78);
  max-width: 70ch;
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.split-media { position: relative; }
.split-media img { border: 2px solid var(--ink); }
.section-dark .split-media img { border-color: var(--ink-2); }
.split-body { min-width: 0; }

/* 10.14 CTA 条 */
.cta-band {
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  background: var(--white);
  padding: 26px 28px;
  margin-top: 26px;
}
.section-dark .cta-band { background: var(--card-bg); border-color: var(--ink-2); border-left-color: var(--accent); }
.cta-band-wide { margin: 0; }
.band-title { font-size: 21px; font-weight: 900; margin: 0 0 10px; }
.band-desc { font-size: 14.5px; line-height: 1.8; color: var(--muted); margin: 0 0 18px; }
.section-dark .band-desc { color: rgba(233, 234, 238, .74); }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 10.15 手风琴 */
.accordion { border-top: 2px solid var(--ink); }
.section-dark .accordion { border-top-color: var(--ink-2); }
.acc-item { border-bottom: 1px solid var(--line); }
.section-dark .acc-item { border-bottom-color: var(--ink-2); }
.acc-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 44px 20px 0;
  font-size: 17px;
  font-weight: 800;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.acc-trigger::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 24px;
  color: var(--accent);
}
.acc-trigger[aria-expanded="true"]::after { content: "\2212"; }
.acc-trigger:hover { color: var(--accent); }
/* 手风琴：site.js 用内联 height 展开/收起，面板本体不能用 display:none（否则 scrollHeight 为 0） */
.acc-panel { height: auto; overflow: visible; }
html.js .acc-panel {
  height: 0;
  overflow: hidden;
  transition: height .28s ease;
}
html.js .acc-item.is-open .acc-trigger { color: var(--accent); }
.acc-panel-inner { padding: 0 0 22px; font-size: 15px; line-height: 1.9; color: var(--muted); }
.section-dark .acc-panel-inner { color: rgba(233, 234, 238, .76); }
.acc-panel-inner p { max-width: 78ch; }

/* 10.16 404 */
.notfound-panel {
  border: 2px solid var(--ink);
  background: var(--white);
  padding: 44px 34px;
  text-align: center;
}
.notfound-code {
  font-family: var(--mono);
  font-size: clamp(72px, 14vw, 150px);
  font-weight: 700;
  line-height: .9;
  color: var(--accent);
  margin: 0 0 18px;
}
.notfound-hint {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--muted);
  margin: 0 0 20px;
}
.notfound-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 0 26px; }

/* 11 · 表单 ---------------------------------------------------------------- */
.form-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 16px;
  background: var(--white);
  border: 2px solid var(--ink);
  padding: 28px 26px;
}
.form-card > .field-full,
.form-card > .btn,
.form-card > .form-status,
.form-card > .form-success { grid-column: 1 / -1; }
.form-card-entry { display: block; background: var(--card-bg); border-color: var(--ink-2); }
.entry-title { font-size: 22px; font-weight: 900; margin: 0 0 8px; }
.entry-desc { font-size: 14px; line-height: 1.75; color: rgba(233, 234, 238, .7); margin: 0 0 20px; }
.form-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
.form-inner > .field-full,
.form-inner > .btn,
.form-inner > .form-status,
.form-inner > .form-success { grid-column: 1 / -1; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; align-items: start; }

.field { display: block; min-width: 0; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: 7px;
}
.field label i { color: var(--accent); font-style: normal; }
.field-full { grid-column: 1 / -1; }

.input, .select, .textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 0;
  padding: 12px 14px;
}
.textarea { resize: vertical; min-height: 104px; line-height: 1.7; }
.select { appearance: none; background-image: none; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); }
.input[data-invalid], .select[data-invalid], .textarea[data-invalid] {
  border-color: #D1005C;
  background: #FFF1F5;
}

.form-status { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 0; }
.section-dark .form-status { color: rgba(233, 234, 238, .6); }
.form-status.is-error { color: #D1005C; font-weight: 700; }
.form-status.is-pending { color: #8A6100; }
.form-status.is-ok { color: #0B7A46; font-weight: 700; }
.section-dark .form-status.is-error { color: var(--accent-2); }
.section-dark .form-status.is-pending { color: rgba(233, 234, 238, .8); }
.section-dark .form-status.is-ok { color: var(--accent-2); }
.form-success {
  border-left: 4px solid var(--accent);
  background: var(--white);
  color: var(--ink);
  padding: 14px 16px;
}
.form-success h3 { font-size: 17px; margin: 0 0 6px; }
.form-success p { font-size: 14px; margin: 0; }

.channel-list { margin-top: 20px; }
.channel-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
}
.channel-k {
  grid-row: span 2;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent-2);
  padding-top: 3px;
}
.channel-v { font-family: var(--mono); font-size: 15px; font-weight: 700; }
.channel-note { grid-column: 2; font-size: 13px; color: rgba(233, 234, 238, .6); }

/* 12 · 页脚 ---------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--text-inv);
  border-top: 6px solid var(--accent);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo { margin-bottom: 6px; }
.footer-brand p { font-size: 13.5px; line-height: 1.85; color: rgba(233, 234, 238, .62); margin-top: 14px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; font-size: 14px; }
.footer-contact span { display: flex; align-items: center; gap: 10px; color: rgba(233, 234, 238, .82); }
.footer-contact a { color: inherit; text-decoration: none; }
.footer-contact a:hover { color: var(--accent-2); }
.footer-col h3 { font-size: 14.5px; font-weight: 800; letter-spacing: .06em; margin: 0 0 14px; }
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(233, 234, 238, .62);
  text-decoration: none;
}
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px 24px;
  border-top: 1px solid var(--hair);
  margin-top: 46px;
  padding: 20px 0 30px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(233, 234, 238, .55);
}

/* 13 · 返回顶部 ------------------------------------------------------------ */
.backtop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease, background .2s ease;
  z-index: 70;
}
.backtop.is-on { opacity: 1; visibility: visible; }
.backtop:hover { background: var(--accent-2); color: var(--ink); }

/* 14 · 进场动画 ------------------------------------------------------------ */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px) scale(.99);
  transition: opacity .5s ease, transform .5s ease;
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
html.js [data-reveal="left"] { transform: translateX(-12px) scale(.99); }
html.js [data-reveal="left"].is-visible { transform: none; }
html.js [data-reveal="right"] { transform: translateX(12px) scale(.99); }
html.js [data-reveal="right"].is-visible { transform: none; }
html.js [data-reveal].skew-card { transform: skewX(var(--skew)) translateY(12px) scale(.99); }
html.js [data-reveal].skew-card.is-visible { transform: skewX(var(--skew)); }

/* 15 · 降低动效偏好 -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html.js [data-reveal],
  html.js [data-reveal="left"],
  html.js [data-reveal="right"] { opacity: 1; transform: none; }
  html.js [data-reveal].skew-card { opacity: 1; transform: skewX(var(--skew)); }
}

/* 16 · 断点：1280 ---------------------------------------------------------- */
@media (max-width: 1280px) {
  :root { --pad: 32px; }
  .section { padding: 84px 0; }
  .section-tight { padding: 62px 0; }
  .nav { gap: 15px; }
  .nav-link { font-size: 14px; }
  .header-phone { display: none; }
  .hero-inner { gap: 44px; padding: 76px 0 64px; }
  .course-grid { gap: 22px; }
  .badge-grid { grid-template-columns: repeat(3, 1fr); }
  .zone-grid { grid-template-columns: repeat(3, 1fr); }
  .zone-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .tier-grid { grid-template-columns: repeat(3, 1fr); }
  .ledger-num { font-size: 36px; }
}

/* 17 · 断点：1024 ---------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --pad: 28px; }
  .section { padding: 70px 0; }
  .section-tight { padding: 54px 0; }
  .nav { display: none; }
  .burger { display: block; }
  .header-inner { gap: 18px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 62px 0 56px; }
  .hero-media { max-width: 560px; }
  .hero-media img { box-shadow: 12px 12px 0 var(--accent); }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid,
  .course-grid-full { grid-template-columns: repeat(2, 1fr); }
  .ticket-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .rule-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* 18 · 断点：768 ----------------------------------------------------------- */
@media (max-width: 768px) {
  :root { --pad: 24px; --skew: -6deg; }
  .section { padding: 56px 0; }
  .section-tight { padding: 44px 0; }
  .section-head { margin-bottom: 34px; }
  .hero-inner { padding: 52px 0 46px; }
  .hero-title::after { width: 140px; height: 11px; }
  .ledger-grid { grid-template-columns: repeat(2, 1fr); }
  .ledger-item { border-right: 2px solid var(--ink); }
  .ledger-item:nth-child(2n) { border-right: 0; }
  .ledger-item:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .fact-grid { grid-template-columns: minmax(0, 1fr); }
  .course-grid,
  .course-grid-full { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .ticket-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .badge-grid,
  .badge-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .zone-grid,
  .zone-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .rule-grid { grid-template-columns: minmax(0, 1fr); }
  .log-row { grid-template-columns: minmax(0, 1fr); }
  .log-thumb img { min-height: 210px; max-height: 260px; }
  .log-body { border-left: 0; border-top: 1px solid var(--ink-2); }
  .form-card { grid-template-columns: minmax(0, 1fr); }
  .form-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .page-head { padding: 38px 0 34px; }
  .legend-row { grid-template-columns: 78px minmax(0, 1fr); }
  .legend-note { grid-column: 1 / -1; }
  html.js [data-reveal="right"],
  html.js [data-reveal="left"] { transform: translateY(12px) scale(.99); }
}

/* 19 · 断点：520（顶栏收紧） ------------------------------------------------ */
@media (max-width: 520px) {
  .logo-sub { display: none; }
  .header-actions .btn-sm { padding: 9px 14px; font-size: 13px; }
  .header-inner { min-height: 64px; }
}

/* 20 · 断点：430 ----------------------------------------------------------- */
@media (max-width: 430px) {
  :root { --pad: 18px; --skew: 0deg; }
  .section { padding: 44px 0; }
  .section-tight { padding: 36px 0; }
  .section-head { margin-bottom: 26px; }
  .demo-bar-inner { flex-direction: column; gap: 6px; }
  .ledger-num { font-size: 30px; }
  .ledger-item { padding: 18px 16px; }
  .badge-grid,
  .badge-grid-3,
  .zone-grid,
  .zone-grid-5,
  .tier-grid { grid-template-columns: minmax(0, 1fr); }
  .course-no { font-size: 46px; }
  .num { font-size: 40px; }
  .zone-no { font-size: 34px; }
  .step-no { font-size: 34px; }
  .form-card { padding: 22px 18px; }
  .cta-band { padding: 22px 18px; }
  .band-actions .btn { width: 100%; }
  .readout-row { flex-direction: column; gap: 3px; }
  .readout-k { flex: 0 0 auto; }
  .spec-row { flex-direction: column; gap: 3px; }
  .spec-k { flex: 0 0 auto; }
  .page-title { max-width: none; }
  .notfound-panel { padding: 32px 20px; }
  .backtop { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}

/* 21 · 断点：390 ----------------------------------------------------------- */
@media (max-width: 390px) {
  :root { --pad: 14px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .btn-lg { padding: 14px 24px; font-size: 15.5px; }
  .hero-title { font-size: 30px; }
  .hero-desc { font-size: 15.5px; }
  .ledger-num { font-size: 26px; }
  .ledger-unit { font-size: 14px; }
  .ledger-label { font-size: 11px; letter-spacing: .1em; }
  .course-no { font-size: 40px; }
  .num { font-size: 34px; }
  .steps-7 .step { padding-left: 32px; }
  .log-thumb img { min-height: 170px; }
  .footer-bottom { font-size: 12px; }
}

/* 模板成交入口：页脚「模板定制咨询」CTA（scripts/dev/apply-vendor-cta.js 注入） */
.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin: 26px 0 22px;
  padding: 22px 26px;
  border: 1px solid rgba(127, 127, 127, .28);
  border-radius: 14px;
  background: rgba(127, 127, 127, .07);
}
.footer-cta-copy { flex: 1 1 420px; min-width: 0; }
.footer-cta-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .68;
}
.footer-cta-title { margin: 0 0 8px; font-size: clamp(17px, 2.2vw, 22px); line-height: 1.4; }
.footer-cta-desc { margin: 0; font-size: 14px; line-height: 1.8; opacity: .78; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .18s ease, transform .18s ease;
}
.footer-cta-btn-primary { background: var(--accent); color: #FFFFFF; }
.footer-cta-btn-ghost { border-color: currentColor; color: inherit; }
.footer-cta-btn:hover { opacity: .88; transform: translateY(-1px); }
.footer-cta-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 768px) {
  .footer-cta { padding: 20px 18px; margin: 22px 0 18px; }
  .footer-cta-actions { width: 100%; }
  .footer-cta-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-cta-btn { transition: none; }
  .footer-cta-btn:hover { transform: none; }
}
