@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('../fonts/InterTight-latin.woff2') format('woff2');
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   OrianX 官网
   单一强调色（钴蓝），暖纸底，发丝线分隔，方形感边缘（圆角只给按钮）。
   ========================================================================== */

:root {
  --bg: #E3D7C7;
  --paper: #F7F2E9;
  --ink: #1E2128;
  --sub: #7C6F5F;
  --cobalt: #2C54B8;
  --rust: #B4532A;
  --line: rgba(30, 33, 40, 0.18);
  --line-soft: rgba(30, 33, 40, 0.09);
  --u: min(0.069444vw, 0.111111svh);
  --sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --tight: 'Inter Tight', 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --shell: min(1240px, 100% - 96px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.pre .filters,
body.pre .copy,
body.pre .topbar,
body.pre .leaf { opacity: 0; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

.skip {
  position: fixed;
  top: 8px;
  left: 50%;
  transform: translate(-50%, -180%);
  z-index: 90;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transition: transform 0.2s;
}
.skip:focus { transform: translate(-50%, 0); }

/* ================================ 首屏 ================================= */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--bg);
  transition: opacity 0.4s ease-out;
}

#shelf {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
  cursor: grab;
  outline: none;
}
#shelf.dragging { cursor: grabbing; }
#shelf:focus-visible { outline: 2px solid var(--cobalt); outline-offset: -4px; }

/* ---- 唱片架滚动提示 ---- */

.shelf-hint {
  position: absolute;
  z-index: 4;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(132px, 11vw);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.shelf-hint.on { opacity: 1; }

/* 右缘渐隐，暗示内容还在延续 */
.sh-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(227, 215, 199, 0) 0%,
    rgba(227, 215, 199, 0.22) 50%,
    rgba(227, 215, 199, 0.72) 82%,
    var(--bg) 100%
  );
}

/* 圆角箭头按钮 */
.sh-arrow {
  position: absolute;
  top: 44%;
  right: clamp(10px, 1.4vw, 18px);
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(30, 33, 40, 0.9);
  color: #F7F2E9;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 22px rgba(50, 40, 26, 0.22);
  pointer-events: auto;
  cursor: pointer;
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
}
.sh-arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sh-arrow:hover {
  background: var(--cobalt);
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 10px 26px rgba(44, 84, 184, 0.34);
}
.sh-arrow:active { transform: translateY(-50%) scale(0.97); }

/* 轻推一下，提示可点 */
.shelf-hint.pulse .sh-arrow { animation: shNudge 1.9s ease-in-out infinite; }
@keyframes shNudge {
  0%, 62%, 100% { transform: translateY(-50%) translateX(0); }
  74% { transform: translateY(-50%) translateX(5px); }
  86% { transform: translateY(-50%) translateX(0); }
}

/* 底部进度条 */
/* 左侧镜像：只有箭头，往左渐隐 */
.sh-left {
  right: auto;
  left: 0;
}
.sh-left .sh-fade {
  background: linear-gradient(
    to left,
    rgba(227, 215, 199, 0) 0%,
    rgba(227, 215, 199, 0.22) 50%,
    rgba(227, 215, 199, 0.72) 82%,
    var(--bg) 100%
  );
}
.sh-left .sh-arrow {
  right: auto;
  left: clamp(10px, 1.4vw, 18px);
}
.sh-left .sh-arrow:hover { background: var(--cobalt); }

/* ---- 顶部导航 ---- */

.topbar {
  position: absolute;
  z-index: 6;
  top: calc(var(--u) * 20);
  left: calc(var(--u) * 56);
  right: calc(var(--u) * 56);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: opacity 0.4s;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 auto;
}
.brand img {
  width: auto;
  height: max(30px, calc(var(--u) * 38));
  flex: 0 0 auto;
}
.brand-name {
  font-family: var(--tight);
  font-weight: 700;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: max(16px, calc(var(--u) * 23));
  letter-spacing: -0.028em;
  white-space: nowrap;
}
.brand-cn {
  flex: 0 0 auto;
  padding: 5px 11px 6px;
  background: var(--ink);
  color: #F7F2E9;
  font-size: max(13px, calc(var(--u) * 16));
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  border-radius: 2px;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: max(14px, calc(var(--u) * 22));
  font-size: max(11.5px, calc(var(--u) * 13));
  font-weight: 500;
  color: var(--sub);
  white-space: nowrap;
}
.nav a {
  position: relative;
  flex: 0 0 auto;
  padding: 4px 0;
  transition: color 0.25s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.2, .7, .2, 1);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.nav .cta {
  padding: 8px 16px;
  border-radius: 2px;
  background: var(--ink);
  color: #F7F2E9;
  transition: background 0.25s;
}
.nav .cta::after { display: none; }
.nav .cta:hover { background: var(--cobalt); color: #fff; }

/* 中英文切换 */
.langsw {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.langsw button {
  padding: 4px 9px;
  font-size: max(10.5px, calc(var(--u) * 12));
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sub);
  background: transparent;
  line-height: 1.5;
  transition: background 0.2s, color 0.2s;
}
.langsw button + button { border-left: 1px solid var(--line); }
.langsw button:hover { color: var(--ink); background: rgba(255, 255, 255, 0.5); }
.langsw button.on { background: var(--ink); color: #F7F2E9; }

/* ---- 分类筛选 ---- */

.filters {
  position: absolute;
  z-index: 5;
  top: calc(var(--u) * 92);
  left: calc(var(--u) * 56);
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 24);
  font-size: max(11px, calc(var(--u) * 12.5));
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--sub);
  white-space: nowrap;
  transition: opacity 0.4s;
}
.filters .searchico {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
}
.filters .searchico svg { width: 14px; stroke: currentColor; stroke-width: 2; fill: none; }
.filters button {
  position: relative;
  padding: 5px 0;
  color: var(--sub);
  transition: color 0.25s;
}
.filters button span { margin-left: 0.5em; font-size: 0.85em; opacity: 0.7; }
.filters button::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--cobalt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.42s cubic-bezier(.2, .7, .2, 1);
}
.filters button:hover { color: var(--ink); }
.filters button.on { color: var(--cobalt); }
.filters button.on::after { transform: scaleX(1); }

/* ---- 大标题区 ---- */

.copy {
  position: absolute;
  z-index: 4;
  left: calc(var(--u) * 56);
  bottom: calc(var(--u) * 46);
  max-width: calc(var(--u) * 720);
  pointer-events: none;
  transition: opacity 0.4s;
}
.copy h1 {
  font-family: var(--tight);
  font-size: calc(var(--u) * 118);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 700;
}
.copy h1 .ln { display: block; }
.copy h1 .ln > span { display: block; }
.copy h1 .cn {
  font-family: var(--sans);
  font-size: 0.28em;
  line-height: 1.6;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--cobalt);
  padding-top: 0.2em;
}
.copy p {
  margin-top: calc(var(--u) * 20);
  font-size: max(13px, calc(var(--u) * 19));
  line-height: 1.5;
  color: #5C5346;
  max-width: 21em;
}
.copy .hint {
  margin-top: calc(var(--u) * 18);
  font-size: max(10px, calc(var(--u) * 11));
  letter-spacing: 0.08em;
  color: var(--sub);
  opacity: 0.8;
  max-width: 30em;
}
.copy .touch-only { display: none; }

/* ---- 首屏右下角：三个下载按钮（书架下方、标题右侧的空位）---- */

.dl-panel {
  position: absolute;
  z-index: 5;
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(24px, 3.4vw, 52px);
  width: min(660px, 58vw);
  pointer-events: none;
}

.dl {
  display: grid;
  grid-template-columns: 1.06fr 1fr 1fr;
  gap: 10px;
  pointer-events: auto;
}
.dl-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid rgba(30, 33, 40, 0.24);
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: background 0.22s, border-color 0.22s, transform 0.15s, color 0.22s;
}
.dl-btn svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dl-btn:nth-child(3) svg { fill: currentColor; stroke: none; }
.dl-btn span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl-btn b {
  font-family: var(--tight);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  white-space: nowrap;
}
.dl-btn em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--sub);
  line-height: 1.35;
  white-space: nowrap;
}
.dl-btn:hover { background: rgba(255, 255, 255, 0.62); border-color: var(--ink); }
.dl-btn:active { transform: translateY(1px); }

.dl-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #F7F2E9;
}
.dl-primary em { color: rgba(247, 242, 233, 0.62); }
.dl-primary:hover { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.dl-primary:hover em { color: rgba(255, 255, 255, 0.78); }

.dl-note {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--sub);
  letter-spacing: 0.02em;
  pointer-events: auto;
}

.dl-panel .hint,
.dl-panel .touch-only { display: none; }

/* ---- 静态兜底唱片架（3D 不可用时才显示）---- */

.fallback-shelf {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 12%;
  display: none;
  padding: 0 5vw;
}
html.no3d .fallback-shelf { display: block; }
html.no3d #shelf { display: none; }

.fs-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2vw;
  height: min(36vh, 290px);
}
.fs-disc {
  position: relative;
  flex: 0 0 auto;
  width: clamp(70px, 8.6vw, 124px);
  aspect-ratio: 0.7;
  box-shadow: 0 12px 24px rgba(30, 33, 40, 0.14);
  overflow: hidden;
}
.fs-disc i {
  position: absolute;
  top: 8%;
  left: 9%;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.65;
}
.fs-disc em {
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 7%;
  font-style: normal;
  font-size: clamp(9px, 0.8vw, 12px);
  font-weight: 600;
  line-height: 1.32;
}
.fs-disc.p1, .fs-disc.p4 { background: #2C54B8; color: #EFE6D6; }
.fs-disc.p2, .fs-disc.p3 { background: #F7F2E9; color: #2C54B8; }
.fs-disc.p5 { background: #F7F2E9; color: #B4532A; }
.fs-disc.p6 { background: #1E2128; color: #E9DFCF; }
.fs-disc.p7 { background: #1E2128; color: #8FA9E8; }
.fs-disc.p8 { background: #F7F2E9; color: #1E2128; }
.fs-plank {
  height: 11px;
  background: #1B3981;
  box-shadow: 0 8px 16px rgba(30, 33, 40, 0.16);
}

/* ============================== 通用排版 =============================== */

.shell {
  width: var(--shell);
  margin: 0 auto;
}

section { scroll-margin-top: 24px; }

h2 {
  font-family: var(--tight);
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 700;
  text-wrap: balance;
}
h2 em {
  font-style: normal;
  color: var(--cobalt);
}

/* ========================= 01 AI 进化（主角） ========================= */

.evolve {
  background: var(--paper);
  padding: clamp(76px, 8.6vw, 132px) 0;
}

.kicker {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--cobalt);
  margin-bottom: 20px;
}

.evolve-top h2 {
  font-size: clamp(34px, 5.2vw, 76px);
  line-height: 1.06;
  max-width: 20ch;
}
.evolve-top h2 em { font-style: normal; color: var(--cobalt); }

.evolve-lede {
  margin-top: 24px;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.78;
  color: #5C5346;
  max-width: 62ch;
}

.evolve-flow {
  list-style: none;
  margin-top: clamp(40px, 4.6vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}
.evolve-flow li {
  padding: 22px 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.evolve-flow li + li { padding-left: 24px; border-left: 1px solid var(--line-soft); }
.ef-n {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cobalt);
}
.evolve-flow b {
  font-family: var(--tight);
  font-size: clamp(16px, 1.5vw, 19px);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.3;
}
.evolve-flow p {
  font-size: 13px;
  line-height: 1.75;
  color: #5C5346;
}

/* 三张「能干什么」卡片 */
.gain {
  margin-top: clamp(40px, 4.6vw, 62px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.gain-card {
  padding: clamp(24px, 2.4vw, 34px) clamp(20px, 2vw, 28px) clamp(26px, 2.6vw, 36px);
  background: #fff;
  border-top: 3px solid var(--cobalt);
  box-shadow: 0 1px 0 rgba(30, 33, 40, 0.06);
}
.gain-card:nth-child(2) { border-top-color: var(--ink); }
.gain-card:nth-child(3) { border-top-color: var(--rust); }
.gain-card h3 {
  font-family: var(--tight);
  font-size: clamp(17px, 1.6vw, 21px);
  letter-spacing: -0.028em;
  font-weight: 700;
  line-height: 1.3;
}
.gain-card p {
  margin-top: 12px;
  font-size: clamp(13px, 1.05vw, 14.5px);
  line-height: 1.85;
  color: #5C5346;
}

/* 底部一句说明 */
.evolve-note {
  margin-top: clamp(26px, 2.8vw, 40px);
  padding: clamp(18px, 2vw, 26px) 0 0;
  border-top: 1px solid var(--line);
}
.evolve-note p {
  font-size: clamp(13px, 1.05vw, 14.5px);
  line-height: 1.85;
  color: #5C5346;
  max-width: 78ch;
}

/* ======================== 02 三种交付形态 ============================= */

.make {
  background: var(--bg);
  padding: clamp(76px, 8.6vw, 132px) 0;
}
.make h2 { font-size: clamp(32px, 4.6vw, 64px); }
.make-lede {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.74;
  color: #5C5346;
  max-width: 46ch;
}

.make-grid {
  margin-top: clamp(38px, 4.4vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.mk {
  background: var(--bg);
  padding: clamp(26px, 2.6vw, 38px);
  display: flex;
  flex-direction: column;
}
.mk-tag {
  align-self: flex-start;
  padding: 3px 9px 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  border: 1px solid currentColor;
  color: var(--cobalt);
}
.mk h3 {
  margin-top: 18px;
  font-family: var(--tight);
  font-size: clamp(19px, 1.8vw, 25px);
  letter-spacing: -0.028em;
  font-weight: 700;
}
.mk p {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.76;
  color: #5C5346;
}
.mk ul {
  list-style: none;
  margin-top: auto;
  padding-top: 20px;
  display: grid;
  gap: 8px;
}
.mk li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--sub);
}
.mk li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: currentColor;
  opacity: 0.5;
}

.mk-skill { background: var(--paper); }
.mk-skill .mk-tag { color: var(--rust); }
.mk-deliver {
  background: #1E2128;
  color: #F3EEE5;
}
.mk-deliver .mk-tag { color: #8FA9E8; }
.mk-deliver h3 { color: #F7F2E9; }
.mk-deliver p { color: #BDB4A6; }
.mk-deliver li { color: #948B7F; }

.make-foot {
  margin-top: 26px;
  font-size: 13px;
  color: var(--sub);
}

/* ======================== 03 两个真实差异 ============================= */

.diff {
  background: var(--paper);
  padding: clamp(76px, 8.6vw, 132px) 0;
}
.diff h2 { font-size: clamp(32px, 4.6vw, 64px); max-width: 20ch; }

.diff-row {
  margin-top: clamp(40px, 4.6vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: center;
  padding-top: clamp(34px, 4vw, 52px);
  border-top: 1px solid var(--line);
}
.diff-row + .diff-row { margin-top: clamp(40px, 4.6vw, 64px); }
.diff-row.flip { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr); }
.diff-row.flip .diff-copy { order: 2; }
.diff-row.flip .diff-visual { order: 1; }

.diff-copy h3 {
  font-family: var(--tight);
  font-size: clamp(21px, 2.2vw, 32px);
  letter-spacing: -0.032em;
  font-weight: 700;
  line-height: 1.26;
}
.diff-copy h3 em { font-style: normal; color: var(--cobalt); }
.diff-copy > p {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.8;
  color: #5C5346;
  max-width: 46ch;
}
.diff-copy ul {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 9px;
}
.diff-copy li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--sub);
}
.diff-copy li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--cobalt);
}

/* 后台浏览器示意图（真实界面元素，不是假截图） */
.diff-visual { position: relative; }
.bv-window {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(30, 33, 40, 0.10);
}
.bv-bar {
  display: flex;
  gap: 6px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-soft);
}
.bv-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
}
.bv-body { padding: 20px 18px 24px; display: grid; gap: 9px; }
.bv-body span {
  height: 8px;
  background: var(--line-soft);
  border-radius: 2px;
}
.bv-body span:first-child { width: 46%; background: var(--cobalt); opacity: 0.5; height: 10px; }
.bv-body .short { width: 62%; }

.bv-behind {
  position: absolute;
  inset: 26px -18px -26px 34px;
  z-index: 1;
  display: grid;
  gap: 8px;
  align-content: start;
  opacity: 0.5;
}
.bv-doc {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  padding: 14px;
  display: grid;
  gap: 7px;
}
.bv-doc i { height: 6px; background: rgba(30, 33, 40, 0.10); border-radius: 2px; }
.bv-doc i.short { width: 54%; }

/* 任务并行示意 */
.pv {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 2.2vw, 30px);
  border: 1px solid var(--line);
  background: #fff;
}
.pv-root {
  justify-self: start;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  background: var(--ink);
  color: #F7F2E9;
}
.pv-branches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
  margin-left: 6px;
}
.pv-branches span {
  position: relative;
  padding: 10px 8px;
  font-size: 11.5px;
  font-weight: 500;
  border: 1px solid var(--line-soft);
  background: var(--paper);
  color: var(--ink);
}
.pv-branches span::before {
  content: '';
  position: absolute;
  left: -17px;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--line);
}
.pv-wait { border-color: var(--cobalt) !important; color: var(--cobalt) !important; }
.pv-dep {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  opacity: 0.75;
}
.pv-out {
  justify-self: end;
  padding: 7px 13px;
  font-size: 11.5px;
  border: 1px dashed var(--line);
  color: var(--sub);
}

/* ============================ 05 能力清单 ============================= */

.catalogue-sec {
  background: var(--bg);
  padding: clamp(80px, 9vw, 140px) 0;
}
.cat-head {
  display: block;
}
.cat-head h2 {
  font-size: clamp(32px, 4.4vw, 60px);
  max-width: 22ch;
}
.cat-head p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.72;
  color: #5C5346;
  max-width: 44ch;
}

.catalogue {
  margin-top: clamp(38px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.catcard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 24px 22px 26px;
  background: var(--bg);
  text-align: left;
  transition: background 0.25s, transform 0.25s;
}
.catcard:hover { background: var(--paper); }
.catcard:active { transform: translateY(1px); }
.catcard .k {
  font-family: var(--tight);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--cobalt);
  font-variant-numeric: tabular-nums;
}
.catcard h3 {
  margin-top: 6px;
  font-family: var(--tight);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.catcard p {
  font-size: 12.8px;
  line-height: 1.62;
  color: var(--sub);
}

/* ================================ 05 FAQ =============================== */

.faq {
  background: var(--bg);
  padding: clamp(76px, 8.6vw, 132px) 0;
}

.faq-head { display: block; }
.faq-head h2 { font-size: clamp(32px, 4.6vw, 62px); max-width: 24ch; }
.faq-head p {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.74;
  color: #5C5346;
  max-width: 52ch;
}

.faq-list {
  margin-top: clamp(38px, 4.4vw, 60px);
  border-top: 1px solid var(--ink);
}

.qa { border-bottom: 1px solid var(--line-soft); }

.qa summary {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::marker { content: ''; }

.qa-q {
  flex: 1 1 auto;
  font-family: var(--tight);
  font-size: clamp(15.5px, 1.5vw, 19px);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.45;
  color: var(--ink);
  transition: color 0.2s;
}
.qa summary:hover .qa-q { color: var(--cobalt); }

/* 加号 → 减号：两条线，展开时竖线收起 */
.qa-i {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 0.36em;
}
.qa-i::before,
.qa-i::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  background: var(--cobalt);
  transform-origin: center;
}
.qa-i::after {
  transform: rotate(90deg);
  transition: transform 0.32s cubic-bezier(.2, .7, .2, 1), opacity 0.24s;
}
.qa[open] .qa-i::after { transform: rotate(0deg); opacity: 0; }

.qa-a {
  padding: 0 34px 26px 0;
  max-width: 68ch;
}
.qa-a p {
  font-size: 14px;
  line-height: 1.82;
  color: #5C5346;
}
.qa-a p + p { margin-top: 12px; }
.qa-a ul {
  list-style: none;
  margin: 12px 0;
  display: grid;
  gap: 7px;
}
.qa-a li {
  position: relative;
  padding-left: 17px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #5C5346;
}
.qa-a li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 5px;
  height: 5px;
  background: var(--cobalt);
}
.qa-a a { color: var(--cobalt); border-bottom: 1px solid currentColor; }

.faq-foot {
  margin-top: clamp(34px, 3.8vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: clamp(26px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
.faq-foot p {
  font-family: var(--tight);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.faq-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* 按钮样式（FAQ 与其它区共用） */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}
.btn.solid { background: var(--ink); color: #F7F2E9; }
.btn.solid:hover { background: var(--cobalt); color: #fff; }
.btn.ghost { border: 1px solid var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--cobalt); color: var(--cobalt); }
.btn:active { transform: translateY(1px); }

/* ============================== 页脚 ================================= */

.foot {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 44px 0 34px;
}
.foot-in {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 32px;
  align-items: center;
}
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { height: 26px; width: auto; opacity: 0.85; }
.foot-brand b {
  display: block;
  font-family: var(--tight);
  font-size: 15px;
  letter-spacing: -0.01em;
}
.foot-cn {
  display: inline-block;
  margin-top: 5px;
  padding: 2px 7px;
  background: var(--ink);
  color: #F7F2E9;
  font-size: 10px;
  letter-spacing: 0.14em;
}
.foot-nav { display: flex; gap: 22px; font-size: 13px; color: var(--sub); }
.foot-nav a:hover { color: var(--cobalt); }
.copyline {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 8px;
}
.copy-company {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.copy-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--sub);
}
.beian {
  color: var(--sub);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.beian:hover { color: var(--cobalt); border-bottom-color: var(--cobalt); }


/* ---------------- detail ---------------- */

.detail {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--u) * 18);
  padding: calc(var(--u) * 18);
  background: rgba(24, 22, 20, 0.55);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.detail.open { opacity: 1; visibility: visible; pointer-events: auto; }

.d-info {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #F7F2E9;
  background-image: radial-gradient(rgba(32, 35, 43, 0.09) 1px, transparent 1.3px);
  background-size: calc(var(--u) * 22) calc(var(--u) * 22);
  background-position: center;
  border-radius: calc(var(--u) * 30);
  padding: calc(var(--u) * 70) calc(var(--u) * 72) calc(var(--u) * 56);
  overflow: auto;
  transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(.2, .7, .2, 1);
}
.detail.open .d-info { transform: translateY(0); }

.d-top {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: max(11px, calc(var(--u) * 11.5));
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cobalt);
  font-weight: 600;
}
.d-top .d-no { color: var(--sub); font-family: var(--tight); }
.d-top .d-no::after {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--line);
  vertical-align: middle;
  margin-left: 14px;
}

.d-info h2 {
  margin-top: calc(var(--u) * 22);
  font-family: var(--tight);
  font-size: clamp(30px, calc(var(--u) * 66), 66px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
  max-width: 9em;
}

.d-sub {
  margin-top: calc(var(--u) * 14);
  font-family: var(--tight);
  font-size: max(11px, calc(var(--u) * 13));
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt);
}

.d-desc {
  margin-top: calc(var(--u) * 28);
  font-size: max(13px, calc(var(--u) * 18));
  line-height: 1.6;
  color: #4A4A50;
  max-width: 28em;
}

.d-points {
  list-style: none;
  margin-top: calc(var(--u) * 26);
  display: grid;
  gap: calc(var(--u) * 12);
  max-width: 30em;
}
.d-points li {
  position: relative;
  padding-left: 22px;
  font-size: max(12.5px, calc(var(--u) * 14.5));
  line-height: 1.55;
  color: #55555C;
}
.d-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--cobalt);
  border-radius: 50%;
}

.d-meta {
  margin-top: calc(var(--u) * 30);
  display: flex;
  gap: calc(var(--u) * 44);
  flex-wrap: wrap;
}
.d-meta div span {
  display: block;
  font-size: max(10px, calc(var(--u) * 11.5));
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sub);
  font-weight: 500;
}
.d-meta div b {
  display: block;
  margin-top: calc(var(--u) * 8);
  font-family: var(--tight);
  font-size: max(14px, calc(var(--u) * 21));
  letter-spacing: -0.01em;
  font-weight: 600;
}

.d-tags {
  margin-top: calc(var(--u) * 26);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.d-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: max(10.5px, calc(var(--u) * 11.5));
  letter-spacing: 0.06em;
  color: #5D554A;
  background: rgba(255, 255, 255, 0.75);
}

.d-actions {
  margin-top: auto;
  padding-top: calc(var(--u) * 34);
  display: flex;
  align-items: center;
  gap: 22px;
}
.d-link, .d-back {
  font-size: max(12px, calc(var(--u) * 14));
  font-weight: 500;
  color: var(--cobalt);
  transition: opacity 0.25s;
}
.d-link:hover, .d-back:hover { opacity: 0.65; }
.d-back { color: var(--sub); margin-left: auto; }

.d-stage {
  position: relative;
  border-radius: calc(var(--u) * 30);
  overflow: hidden;
  background: #14161C;
  cursor: grab;
  touch-action: none;
  transition: background 0.5s;
}
.d-stage.dragging { cursor: grabbing; }

.d-tools {
  position: absolute;
  top: calc(var(--u) * 26);
  left: calc(var(--u) * 26);
  right: calc(var(--u) * 26);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 3;
}
.d-tools-right { display: flex; gap: calc(var(--u) * 10); }

.d-tools button {
  width: max(36px, calc(var(--u) * 44));
  height: max(36px, calc(var(--u) * 44));
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  pointer-events: auto;
  transition: background 0.25s;
}
.d-tools button:hover { background: rgba(255, 255, 255, 0.28); }
.d-tools button svg {
  width: 44%;
  height: 44%;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  transition: stroke 0.3s;
}
.d-stage[data-tone='light'] .d-tools button { background: rgba(20, 22, 30, 0.08); }
.d-stage[data-tone='light'] .d-tools button:hover { background: rgba(20, 22, 30, 0.15); }
.d-stage[data-tone='light'] .d-tools button svg { stroke: var(--ink); }

.d-cap {
  position: absolute;
  bottom: calc(var(--u) * 30);
  left: 0;
  right: 0;
  text-align: center;
  font-size: max(10px, calc(var(--u) * 11.5));
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  pointer-events: none;
  transition: color 0.3s;
  z-index: 3;
}
.d-stage[data-tone='light'] .d-cap { color: rgba(32, 35, 43, 0.62); }

#detail3d {
  position: fixed;
  inset: 0;
  z-index: 45;
  width: 100%;
  height: 100%;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s ease;
}
#detail3d.show { visibility: visible; opacity: 1; }

/* ============================ 正文响应式 ============================== */

/* 中屏：导航收敛，避免与品牌挤在一行 */
@media (max-width: 1180px) {
  .nav a[href="#catalogue"] { display: none; }
  .brand-name { font-size: 15px; }
}
@media (max-width: 1000px) {
  .nav a[href="#make"] { display: none; }
}

/* 中屏：流程 2 列、三形态 2 列 + 交付卡跨 2 列 */
@media (max-width: 1180px) {
  .catalogue { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .evolve-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evolve-flow li:nth-child(3) { padding-left: 0; border-left: 0; }
  .evolve-flow li:nth-child(n + 3) { padding-top: 26px; }
  .make-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-deliver { grid-column: span 2; }
  .mk ul { margin-top: 18px; padding-top: 0; }
  .gain { grid-template-columns: 1fr 1fr; gap: 14px; }
  .gain-card:first-child { grid-column: span 2; }
}

/* 窄屏与手机：每个多列布局都在这里显式降级 */
@media (max-width: 860px) {
  :root { --shell: calc(100% - 40px); }

  .diff-row,
  .diff-row.flip {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .diff-row.flip .diff-copy { order: 1; }
  .diff-row.flip .diff-visual { order: 2; }
  .evolve-lede, .make-lede, .diff-copy > p, .faq-head p { max-width: none; }

  .evolve-flow { grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
  .evolve-flow li {
    padding: 20px 0 20px 22px;
    border-left: 1px solid var(--line);
  }
  .evolve-flow li:nth-child(3) { padding-left: 22px; border-left: 1px solid var(--line); }
  .evolve-flow li:nth-child(n + 3) { padding-top: 20px; }

  .catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gain { grid-template-columns: 1fr; }
  .gain-card:first-child { grid-column: span 1; }
  .make-grid { grid-template-columns: 1fr; }
  .mk-deliver { grid-column: span 1; }

  .dl-wide { flex-direction: column; align-items: stretch; }
  .dl-wide .dl-btn { justify-content: flex-start; }

  .bv-behind { inset: 20px -10px -18px 22px; }
  .pv-branches { grid-template-columns: 1fr; padding-left: 14px; }

  .faq-foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .qa summary { gap: 16px; padding: 20px 0; }
  .qa-a { padding-right: 0; padding-bottom: 22px; }

  .foot-in { grid-template-columns: 1fr; gap: 18px; }
  .foot-nav { flex-wrap: wrap; gap: 16px; }
  .copy-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 520px) {
  .catalogue { grid-template-columns: 1fr; }
  .dl { flex-direction: column; align-items: stretch; }
  .dl-btn { justify-content: flex-start; }
  .btn { height: 48px; }
  .faq-cta { flex-direction: column; align-items: stretch; width: 100%; }
  .faq-cta .btn { width: 100%; display: flex; }
  .qa summary { gap: 14px; }
  .qa-a p { font-size: 13.5px; line-height: 1.8; }
}

@media (max-aspect-ratio: 1/1) {
  :root { --u: min(0.25641vw, 0.118483svh); }

  .hero { min-height: 620px; }

  .topbar {
    top: calc(var(--u) * 14);
    left: calc(var(--u) * 20);
    right: calc(var(--u) * 20);
    gap: 10px;
    align-items: flex-start;
  }
  .nav { flex: 0 0 auto; }
  .brand { gap: 6px; }
  .brand img { height: 20px; }
  .brand-name { display: none; }
  .nav { gap: 10px; }
  .langsw button { padding: 3px 7px; font-size: 10px; }
  .brand-cn { font-size: 9.5px; padding: 3px 7px 4px; letter-spacing: 0.08em; }
  .nav { gap: 14px; font-size: 11.5px; }
  .nav a:not(.cta) { display: none; }
  .nav .cta { padding: 7px 12px; font-size: 11.5px; }

  .filters {
    top: calc(var(--u) * 58);
    left: 0;
    right: 0;
    gap: calc(var(--u) * 20);
    padding: 0 calc(var(--u) * 20);
    overflow-x: auto;
    scrollbar-width: none;
    font-size: 11px;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filters > * { flex: 0 0 auto; }

  .copy {
    left: calc(var(--u) * 22);
    right: calc(var(--u) * 22);
    bottom: calc(var(--u) * 12);
    max-width: none;
  }
  .copy h1 { font-size: calc(var(--u) * 54); }
  .copy h1 .cn { font-size: 0.44em; letter-spacing: 0.12em; }
  .copy p { font-size: 13px; margin-top: 10px; max-width: none; }

  /* 手机上右侧面板改为竖排，贴在标题下面，不再压住唱片 */
  .dl-panel {
    position: absolute;
    left: calc(var(--u) * 22);
    right: calc(var(--u) * 22);
    top: auto;
    bottom: calc(var(--u) * 160);
    transform: none;
    width: auto;
  }
  .dl { gap: 7px; }
  .dl-btn {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 11px 6px;
    text-align: center;
  }
  .dl-btn svg { width: 19px; height: 19px; }
  .dl-btn b { font-size: 12px; letter-spacing: -0.01em; white-space: normal; }
  .dl-btn em { display: none; }
  .dl-note { margin-top: 8px; font-size: 9.5px; text-align: center; }

  .shelf-hint { width: 30vw; }
  .sh-arrow { width: 36px; height: 36px; right: 8px; top: 40%; }
  .sh-arrow svg { width: 16px; height: 16px; }
  .sh-left .sh-arrow { left: 8px; }

  .fs-row { gap: 1.6vw; height: min(30vh, 230px); padding: 0 3vw; }
}

@media (min-aspect-ratio: 1/1) and (max-height: 520px) {
  .copy { bottom: 14px; }
  .copy h1 { font-size: calc(var(--u) * 72); }
  .copy .hint { display: none; }
  .detail { padding: 10px; gap: 10px; }
  .d-info { padding: 20px 24px; }
  .d-info h2 { font-size: 30px; }
  .d-desc { margin-top: 12px; font-size: 13px; }
  .d-points { margin-top: 12px; }
  .d-tags { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
