/* ============================================================
   site.css —— bebubble 个人站的全站样式
   方向：纸上墨字。
   - 暖纸底 + 近黑墨字；雾蓝是唯一的强调色，朱红只标状态
   - 版面靠细线和序号分区，不靠卡片堆叠
   - 手作感只留给角色贴纸与手裁圆角
   字体自托管在 fonts/；中文走系统字（苹方 / 雅黑）。
   长文阅读版式（服务页）见 prose.css。
   ============================================================ */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/dm-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  --paper: #f3eee4;
  --paper-2: #eae3d5;
  --paper-3: #faf7f1;
  --ink: #16140f;
  --ink-2: #3d3a33;
  --ink-3: #5f5b52;
  --line: rgba(22, 20, 15, .14);
  --line-2: rgba(22, 20, 15, .3);
  --blue: #3f6a8a;
  --blue-deep: #2f5470;
  --blue-soft: rgba(63, 106, 138, .1);
  --signal: #c9431c;
  --on-ink: #f3eee4;
  --on-ink-2: #b5aea0;
  --line-on-ink: rgba(243, 238, 228, .22);

  --sans: "Schibsted Grotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, "PingFang SC", "Microsoft YaHei", monospace;

  --gutter: clamp(20px, 5vw, 96px);
  --shell: min(1280px, 100% - var(--gutter) * 2);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --cut: 26px 34px 22px 38px / 34px 22px 38px 26px;
  --grain: url("assets/felt-texture.png");

  /* 箭头统一用遮罩：字体里没有 → 字形，交给中文字体会变成全角粗箭头 */
  --arrow-r: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20d='M2.5%208h11M9.5%203.5%2014%208l-4.5%204.5'%20fill='none'%20stroke='%23000'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
  --arrow-ur: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20d='M3.5%2012.5%2012.5%203.5M5.5%203.5h7v7'%20fill='none'%20stroke='%23000'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
  --arrow-l: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20d='M13.5%208h-11M6.5%203.5%202%208l4.5%204.5'%20fill='none'%20stroke='%23000'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- 基础 ---------- */

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

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  line-break: strict;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 纸纹：固定在内容之下，不跟着滚动重绘 */
body::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  background: var(--grain) repeat 0 0 / 256px 256px;
  opacity: .5;
  mix-blend-mode: multiply;
  pointer-events: none;
}

main { position: relative; z-index: 1; flex: 1 0 auto; }
h1, h2, h3 { font-weight: 700; line-height: 1.25; letter-spacing: -.03em; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img, svg, canvas, video { display: block; max-width: 100%; }
::selection { color: var(--ink); background: rgba(63, 106, 138, .24); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -100px;
  left: 16px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--on-ink);
  background: var(--ink);
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

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

/* ---------- 文字零件 ---------- */

.kicker {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.kicker--blue { color: var(--blue); }
.kicker--signal { color: var(--signal); }
.kicker b { font-weight: 500; }

/* 呼吸的小圆点：页面上唯一的常驻动效，出现在首屏标语前 */
.pulse { position: relative; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2.8s ease-out infinite;
}
@keyframes pulse {
  from { transform: scale(1); opacity: .7; }
  to { transform: scale(3.4); opacity: 0; }
}

/* 遮罩箭头：<i class="arw">（右上）· arw-r（右）· arw-l（左） */
.arw {
  flex: none;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: var(--arrow-ur) center / contain no-repeat;
  mask: var(--arrow-ur) center / contain no-repeat;
}
.arw-r { -webkit-mask-image: var(--arrow-r); mask-image: var(--arrow-r); }
.arw-l { -webkit-mask-image: var(--arrow-l); mask-image: var(--arrow-l); }

.i {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i--l { width: 22px; height: 22px; }

/* ---------- 按钮 ---------- */

.btn {
  --mx: 0;
  --my: 0;
  --s: 1;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 22px 0 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--on-ink);
  background: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: left;
  text-decoration: none;
  transform: translate(var(--mx), var(--my)) scale(var(--s));
  transition: transform .5s var(--spring), background-color .4s ease, border-color .4s ease, color .4s ease;
}
.btn .arw { width: 18px; height: 18px; transition: transform .5s var(--spring); }
.btn:hover { border-color: var(--blue-deep); background: var(--blue-deep); }
.btn:hover .arw { transform: translateX(4px); }
.btn:active { --s: .97; }

.btn--paper { border-color: var(--paper-3); color: var(--ink); background: var(--paper-3); }
.btn--paper:hover { border-color: var(--ink); color: var(--on-ink); background: var(--ink); }

.btn--wide { width: 100%; justify-content: space-between; }

.go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: color .25s ease;
}
.go .arw { transition: transform .5s var(--spring); }
.go:hover { color: var(--blue); }
.go:hover .arw { transform: translate(3px, -3px); }
.go:hover .arw-r { transform: translateX(5px); }
.go:hover .arw-l { transform: translateX(-5px); }

.quiet {
  color: var(--ink-3);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  transition: color .25s ease, border-color .25s ease;
}
.quiet:hover { color: var(--ink); border-color: var(--ink); }
.quiet--onink { color: var(--on-ink-2); border-color: var(--line-on-ink); }
.quiet--onink:hover { color: var(--on-ink); border-color: var(--on-ink); }

.nb { white-space: nowrap; }
.br-narrow { display: none; }

.tag {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
}
.tag--live { color: var(--paper-3); background: var(--signal); }
.tag--plan { color: var(--ink-3); background: var(--paper-2); }

/* ---------- 入场 ---------- */

/* 只在脚本就绪后才隐藏内容：site.js 没加载到时，页面照常完整可读 */
.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

body.is-leaving main { opacity: 0; transform: translateY(6px); transition: opacity .22s ease, transform .3s var(--ease); }

.route-hop {
  position: fixed;
  z-index: 100;
  width: 64px;
  max-height: 64px;
  object-fit: contain;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 10px 12px rgba(22, 20, 15, .16));
  transform: translate(-50%, -50%) scale(.4) rotate(-8deg);
}
.route-hop.is-hopping { animation: route-hop .3s var(--ease) both; }

@keyframes route-hop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.4) rotate(-8deg); }
  45% { opacity: 1; transform: translate(-50%, calc(-50% - 36px)) scale(1) rotate(var(--turn, 0deg)); }
  100% { opacity: 0; transform: translate(-50%, calc(-50% - 24px)) scale(.7) rotate(0deg); }
}

/* ---------- 页头 ---------- */

.site-header {
  position: sticky;
  z-index: 60;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 238, 228, .88);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}

.bar { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-mark { flex: none; width: 24px; height: 24px; transition: transform .5s var(--spring); }
.brand strong { font-size: 21px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.brand:hover .brand-mark { transform: translateY(-1px) rotate(-8deg); }

.site-nav { position: relative; display: flex; align-items: center; gap: clamp(0px, .5vw, 8px); }
.site-nav a {
  position: relative;
  z-index: 1;
  padding: 10px 10px 8px;
  color: var(--ink-3);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.active { color: var(--ink); font-weight: 600; }

/* 滑动的墨色下划线：位置与长度都走 transform */
.nav-cursor {
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translateX(var(--x, 0)) scaleX(var(--sx, 0));
  transform-origin: 0 50%;
  transition: transform .6s var(--spring), opacity .3s ease;
}
.site-nav.is-ready .nav-cursor { opacity: 1; }
.site-nav.is-snap .nav-cursor { transition: opacity .3s ease; }

.lang {
  display: inline-flex;
  margin-left: auto;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
}
.lang a,
.lang span {
  min-width: 36px;
  padding: 5px 8px 4px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.lang span { color: var(--on-ink); background: var(--ink); }
.lang a { color: var(--ink-3); transition: color .2s ease, background-color .2s ease; }
.lang a:hover { color: var(--ink); background: var(--blue-soft); }

/* ---------- 页脚 ---------- */

.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--line); }
.site-footer--flush { border-top: 0; }
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 28px 0 40px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
}
.foot a { color: var(--ink-2); text-decoration: none; transition: color .2s ease; }
.foot a:hover { color: var(--blue); }

/* ============================================================
   首页
   ============================================================ */

.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 3vw, 48px) clamp(16px, 2vw, 32px);
  min-height: min(840px, calc(100vh - 68px));
  min-height: min(840px, calc(100svh - 68px));
  padding: clamp(40px, 7vh, 88px) 0 clamp(40px, 6vh, 72px);
}
.hero-copy { grid-column: 1 / span 7; }

.hero-title {
  margin-top: 24px;
  font-size: clamp(38px, 5.1vw, 76px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}
:root:lang(en) .hero-title { font-size: clamp(38px, 4.5vw, 66px); line-height: 1.06; letter-spacing: -.03em; }

/* 手画的下划线：载入后自己画出来 */
.mark { position: relative; z-index: 0; font-style: normal; white-space: nowrap; }
.mark svg { position: absolute; z-index: -1; bottom: -.06em; left: -2%; width: 104%; height: .3em; overflow: visible; }
.mark path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.1s var(--ease) .7s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-lede {
  max-width: 34em;
  margin-top: 28px;
  color: var(--ink-2);
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.8;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }

.proof {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 56px);
  margin-top: clamp(40px, 6vh, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.proof a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.proof b {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  transition: color .3s ease;
}
.proof span { color: var(--ink-3); font-size: 13px; line-height: 1.4; }
.proof a:hover b { color: var(--blue); }

.social-row { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 28px; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color .25s ease;
}
.social-link:hover { color: var(--ink); }

/* 首屏右半：拱形纸板 + 角色序列帧 */
.hero-stage { position: relative; grid-column: 8 / span 5; align-self: stretch; min-height: 520px; }

.hero-plate {
  position: absolute;
  inset: 0 -2% 5% 12%;
  overflow: hidden;
  border-radius: 50% 50% 28px 28px / 40% 40% 28px 28px;
  background: var(--blue-soft);
}
.hero-plate::before {
  content: "";
  position: absolute;
  top: 46%;
  left: 50%;
  width: 170%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 46px, rgba(63, 106, 138, .15) 46px 47px);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 66%);
  mask-image: radial-gradient(circle, #000 18%, transparent 66%);
  transform: translate(-50%, -50%);
  animation: ripple 10s ease-in-out infinite alternate;
}
@keyframes ripple {
  from { transform: translate(-50%, -50%) scale(1); }
  to { transform: translate(-50%, -50%) scale(1.09); }
}

.motion-sequence {
  position: absolute;
  z-index: 2;
  inset: 7% -8% 3% -16%;
  display: grid;
  place-items: center;
  border-radius: 28px;
  outline: none;
  cursor: ns-resize;
}
.motion-sequence canvas {
  width: min(100%, 660px);
  max-width: none;
  height: auto;
  opacity: 0;
  transform: translateY(14px) scale(.98);
  transition: opacity .6s ease, transform 1.1s var(--ease);
}
.motion-sequence.is-ready canvas { opacity: 1; transform: none; }

.stage-hint {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 14%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
}
.stage-hint::before { content: ""; width: 1px; height: 14px; background: var(--ink-3); }
@media (hover: none), (pointer: coarse) { .stage-hint { display: none; } }

/* 输入 → 输出 的跑马灯，内容取自 Skills 的小标签 */
.conveyor { position: relative; overflow: hidden; border-block: 1px solid var(--line); }
.conveyor-track { display: flex; width: max-content; animation: conveyor 36s linear infinite; }
.conveyor:hover .conveyor-track { animation-play-state: paused; }
.conveyor-group { display: flex; flex: none; }
.conveyor-group span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  white-space: nowrap;
}
.conveyor-group span::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 26px;
  border-radius: 50%;
  background: var(--blue);
}
.conveyor-group .arw { width: 14px; height: 14px; color: var(--ink-2); }
@keyframes conveyor { to { transform: translateX(-50%); } }

/* ---------- 首页区块 ---------- */

.section { padding: clamp(64px, 10vh, 120px) 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head .go { margin-bottom: 6px; white-space: nowrap; }

.section-title { margin-top: 14px; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
.section-lede { max-width: 26em; margin-top: 20px; color: var(--ink-2); font-size: 17px; line-height: 1.8; text-wrap: pretty; }

.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: clamp(32px, 5vw, 72px) clamp(16px, 2vw, 32px);
}
.split-aside { grid-column: 1 / span 4; position: sticky; top: 108px; }
.split-main { grid-column: 6 / span 7; }
.split-aside .go { margin-top: 32px; }

/* 索引行：序号 + 标题 + 说明，靠细线分区 */
.rows { border-top: 1px solid var(--line); }
.row {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line);
}
.row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform .5s var(--ease);
}
a.row { text-decoration: none; }
a.row:hover::before { transform: scaleY(1); }
.row-num { padding-top: 5px; color: var(--blue); font-family: var(--mono); font-size: 13px; font-weight: 500; line-height: 1.6; letter-spacing: .06em; }
.row-title { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.35; letter-spacing: -.02em; }
.row-text { margin-top: 10px; color: var(--ink-2); font-size: 16px; line-height: 1.8; text-wrap: pretty; }
a.row:hover .row-title { color: var(--blue); }

/* 项目大图版 */
.plate {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 3vw, 48px) clamp(16px, 2vw, 32px);
  text-decoration: none;
}
.plate-copy { grid-column: 1 / span 5; }
.plate-title { margin-top: 18px; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.04em; }
.plate-text { max-width: 26em; margin-top: 18px; color: var(--ink-2); font-size: 17px; line-height: 1.8; text-wrap: pretty; }
.plate-copy .go { margin-top: 32px; }
.plate:hover .plate-title { color: var(--blue); }
.plate-title { transition: color .3s ease; }
.plate-media {
  grid-column: 6 / span 7;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--cut);
  background: var(--paper-2);
}
.plate-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.plate:hover .plate-media img { transform: scale(1.035); }

/* Skills 与教程并排：左窄右宽 */
.duo {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px) clamp(16px, 2vw, 32px);
}
.duo-a { grid-column: 1 / span 5; }
.duo-b { grid-column: 7 / span 6; }

.list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
}
.list-title { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; letter-spacing: -.035em; }

.mini { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 20px 0 22px; border-bottom: 1px solid var(--line); text-decoration: none; }
.mini-num { padding-top: 4px; color: var(--blue); font-family: var(--mono); font-size: 12px; line-height: 1.6; }
.mini b { display: block; font-size: 19px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; transition: color .25s ease; }
.mini p { margin-top: 4px; color: var(--ink-3); font-size: 15px; line-height: 1.7; }
.mini:hover b { color: var(--blue); }

.entry { display: grid; gap: 6px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); text-decoration: none; }
.entry-top { display: flex; justify-content: space-between; gap: 16px; color: var(--ink-3); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; }
.entry-top b { color: var(--blue); font-weight: 500; }
.entry-title { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.35; letter-spacing: -.025em; transition: color .25s ease; }
.entry-text { color: var(--ink-2); font-size: 16px; line-height: 1.75; text-wrap: pretty; }
.entry:hover .entry-title { color: var(--blue); }

/* 收尾的雾蓝色带 */
.band {
  position: relative;
  overflow: hidden;
  margin-top: clamp(8px, 2vh, 24px);
  color: var(--on-ink);
  background-color: var(--blue-deep);
  background-image: repeating-radial-gradient(circle at 88% 10%, transparent 0 58px, rgba(243, 238, 228, .07) 58px 59px);
}
.band-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: clamp(32px, 5vw, 64px) clamp(16px, 2vw, 32px);
  padding: clamp(48px, 8vh, 88px) 0;
}
.band .kicker { color: var(--on-ink-2); }
.band-copy { grid-column: 1 / span 5; }
.band-title { margin-top: 16px; font-size: clamp(44px, 5.4vw, 80px); line-height: 1.04; letter-spacing: -.045em; }
.band-note { max-width: 24em; margin-top: 20px; color: var(--on-ink-2); font-size: 17px; line-height: 1.75; }

/* 角色坐在色带底边，和首屏前后呼应 */
.band-mascot {
  display: block;
  width: clamp(120px, 16vw, 210px);
  height: auto;
  margin: clamp(20px, 4vh, 44px) 0 calc(clamp(48px, 8vh, 88px) * -1) -8px;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .22));
  transform-origin: 50% 100%;
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.band-links { grid-column: 7 / span 6; align-self: center; border-top: 1px solid var(--line-on-ink); }
.band-link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line-on-ink);
  color: var(--on-ink);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .3s ease;
}
.band-link .arw { margin-left: auto; opacity: .55; transition: transform .5s var(--spring), opacity .3s ease; }
.band-link:hover { background: rgba(243, 238, 228, .08); }
.band-link:hover .arw { opacity: 1; transform: translate(3px, -3px); }

/* ============================================================
   内页通用
   ============================================================ */

.page { padding-top: clamp(40px, 7vh, 80px); padding-bottom: clamp(48px, 8vh, 96px); }

.page-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 24px clamp(16px, 2vw, 32px);
  padding-bottom: clamp(28px, 5vh, 56px);
}
.page-head-copy { grid-column: 1 / span 8; }
.page-title { margin-top: 16px; font-size: clamp(44px, 7vw, 96px); line-height: 1.04; letter-spacing: -.045em; }
:root:lang(en) .page-title { letter-spacing: -.04em; }
.page-lede { max-width: 40em; margin-top: 22px; color: var(--ink-2); font-size: 18px; line-height: 1.8; text-wrap: pretty; }
.page-sticker { grid-column: 9 / span 4; align-self: end; justify-self: end; width: clamp(120px, 15vw, 210px); }
.page-sticker--wide { width: clamp(160px, 21vw, 300px); }
.page-sticker--tall { width: clamp(110px, 13vw, 184px); }
.page-sticker img { width: 100%; height: auto; filter: drop-shadow(0 14px 16px rgba(22, 20, 15, .1)); }

.crumb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--ink-3); font-size: 14px; font-weight: 500; text-decoration: none; transition: color .25s ease; }
.crumb:hover { color: var(--blue); }
.crumb .arw { transition: transform .5s var(--spring); }
.crumb:hover .arw { transform: translateX(-4px); }

/* 内页索引 */
.index { border-top: 1px solid var(--line-2); }
.item {
  display: grid;
  grid-template-columns: 64px minmax(130px, 190px) minmax(0, 1fr) 110px;
  gap: 24px;
  align-items: start;
  padding: clamp(24px, 4vh, 36px) 0;
  border-bottom: 1px solid var(--line);
}
.item-num { color: var(--blue); font-family: var(--mono); font-size: 13px; font-weight: 500; line-height: 2; }
.item-cat { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-family: var(--mono); font-size: 12px; line-height: 2.2; letter-spacing: .12em; text-transform: uppercase; }
.item-cat .arw { width: 12px; height: 12px; color: var(--blue); }
.item-body { min-width: 0; }
.item-title { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -.03em; }
.item-text { max-width: 40em; margin-top: 10px; color: var(--ink-2); font-size: 16px; line-height: 1.75; text-wrap: pretty; }
.item-hint { display: inline-flex; align-items: center; gap: 8px; justify-self: end; padding-top: 6px; color: var(--ink-3); font-size: 14px; font-weight: 500; white-space: nowrap; }

/* ---------- 项目页 ---------- */

.showcase {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 3vw, 48px) clamp(16px, 2vw, 32px);
  margin-bottom: clamp(16px, 2vw, 28px);
  padding: clamp(24px, 3vw, 44px);
  border-radius: var(--cut);
  background: var(--paper-2);
  text-decoration: none;
}
.showcase-copy { grid-column: 1 / span 5; }
.showcase-media { grid-column: 6 / span 7; min-width: 0; }
.showcase--flip .showcase-copy { grid-column: 8 / span 5; grid-row: 1; }
.showcase--flip .showcase-media { grid-column: 1 / span 6; grid-row: 1; }
.showcase-title { margin-top: 16px; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.04em; }
.showcase-text { max-width: 24em; margin-top: 16px; color: var(--ink-2); font-size: 17px; line-height: 1.8; }
a.showcase:hover .showcase-title { color: var(--blue); }
.showcase-title { transition: color .3s ease; }

.round-go {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-top: 32px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ink);
  transition: color .35s ease, background-color .35s ease, border-color .35s ease, transform .5s var(--spring);
}
.round-go .arw { width: 18px; height: 18px; }
.round-go:hover,
a.showcase:hover .round-go { border-color: var(--ink); color: var(--on-ink); background: var(--ink); transform: translateX(6px); }

.controller-media { overflow: hidden; aspect-ratio: 3 / 2; border-radius: 18px; background: radial-gradient(circle at 60% 45%, #fff, transparent 62%); }
.controller-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.showcase:hover .controller-media img { transform: scale(1.03); }

/* WeBuild：手搭的浏览器缩略图 */
.browser-frame {
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: 0 30px 60px -24px rgba(22, 20, 15, .3);
  transform: translateY(10px);
  transition: transform .9s var(--ease);
}
.showcase:hover .browser-frame { transform: none; }
.browser-bar span { white-space: nowrap; }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 44px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(22, 20, 15, .07);
  color: var(--ink-3);
  font-size: 12px;
}
.browser-bar b { margin-right: 8px; color: var(--ink); font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.browser-bar em { width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: var(--blue); }
.community-preview { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; padding: 26px; }
.community-lead small { color: var(--blue); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; }
.community-lead strong { display: block; margin-top: 12px; font-size: 20px; line-height: 1.35; letter-spacing: -.03em; }
.community-lead p { max-width: 230px; margin-top: 10px; color: var(--ink-3); font-size: 12px; line-height: 1.6; }
.mock-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 9px 14px;
  border: 0;
  border-radius: 8px;
  color: var(--on-ink);
  background: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.community-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.community-cards article { min-width: 0; padding: 8px; border-radius: 12px; background: var(--paper); }
.community-cards i { display: block; height: 84px; border-radius: 8px; background: #2e3436; }
.community-cards article:nth-child(2) i { background: #4d7487; }
.community-cards article:nth-child(3) i { background: #a75345; }
.community-cards b { display: block; min-height: 30px; margin-top: 10px; font-size: 11px; line-height: 1.35; }
.community-cards span { display: block; overflow: hidden; margin-top: 2px; color: var(--ink-3); font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }

/* 工作流画布：深色，节点间有一颗流动的光点 */
.workflow-media {
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  color: #cfd6d4;
  background: #171b1c;
  box-shadow: 0 30px 60px -24px rgba(22, 20, 15, .42);
}
.workflow-toolbar { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; color: #aeb8b5; font-family: var(--mono); font-size: 11px; white-space: nowrap; }
.workflow-toolbar > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.workflow-toolbar i { width: 7px; height: 7px; border-radius: 50%; background: #6fc89c; }
.mock-run { flex: none; margin-left: auto; padding: 8px 14px; border-radius: 8px; color: #fff; background: var(--signal); font-size: 12px; font-weight: 600; }
.workflow-canvas {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 0;
  height: 236px;
  padding: 30px;
  overflow: hidden;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 18px 18px;
  container-type: inline-size;
}
.workflow-canvas::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 6%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #9cc3e6;
  box-shadow: 0 0 0 4px rgba(156, 195, 230, .22);
  animation: stream 4.2s ease-in-out infinite;
}
@keyframes stream {
  0% { transform: translateX(0) scale(.6); opacity: 0; }
  12% { opacity: 1; transform: translateX(0) scale(1); }
  88% { opacity: 1; }
  100% { transform: translateX(520px) scale(.6); opacity: 0; }
}
/* 支持容器单位时，光点的行程跟随画布实际宽度 */
@supports (width: 1cqw) {
  @keyframes stream {
    0% { transform: translateX(0) scale(.6); opacity: 0; }
    12% { opacity: 1; transform: translateX(0) scale(1); }
    88% { opacity: 1; }
    100% { transform: translateX(86cqw) scale(.6); opacity: 0; }
  }
}
.flow-node { padding: 13px 15px; border-radius: 10px; color: #c8d0ce; background: #292f30; font-size: 12px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, .16); }
.flow-node.start { background: #214637; }
.flow-node.active { background: #485f6e; box-shadow: 0 0 0 1px rgba(156, 195, 230, .5), 0 6px 18px rgba(0, 0, 0, .16); }
.flow-line { flex: none; width: 24px; height: 1px; background: #596260; }

/* ---------- 产品页 ---------- */

.product-wrap + .product-wrap { margin-top: clamp(16px, 2vw, 28px); }
.product {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 3vw, 48px) clamp(16px, 2vw, 32px);
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--cut);
  background: var(--paper-3);
  text-decoration: none;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.product:hover { box-shadow: 0 30px 60px -34px rgba(22, 20, 15, .35); transform: translateY(-4px); }
.product-cover { grid-column: 1 / span 4; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 18px; background: var(--blue-deep); }
.product-cover svg { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.product:hover .product-cover svg { transform: scale(1.04); }
.product-copy { grid-column: 5 / span 5; }
.product-side { grid-column: 10 / span 3; display: flex; align-items: center; justify-content: flex-end; gap: 14px; align-self: center; }
.product-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--ink-3); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.product-title { margin-top: 16px; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.2; letter-spacing: -.035em; }
.product-text { max-width: 32em; margin-top: 12px; color: var(--ink-2); font-size: 16px; line-height: 1.75; text-wrap: pretty; }
.product:hover .product-title { color: var(--blue); }
.product-title { transition: color .3s ease; }
.price { font-size: 28px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.product .arw { width: 20px; height: 20px; color: var(--ink-3); transition: transform .5s var(--spring), color .3s ease; }
.product:hover .arw { color: var(--ink); transform: translateX(6px); }

.product--plan { border-style: dashed; background: transparent; cursor: default; }
.product--plan:hover { box-shadow: none; transform: none; }
.product--plan .product-title,
.product--plan .product-kicker { color: var(--ink-3); }
.product--plan .product-text { color: var(--ink-3); }
.product--plan .product-cover { display: grid; place-items: center; border: 1px dashed var(--line-2); border-radius: 18px; background: transparent; color: var(--ink-3); font-family: var(--mono); font-size: clamp(28px, 3vw, 40px); letter-spacing: -.02em; }

.failover { animation: dash 1.1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -10; } }

/* ---------- 产品详情 ---------- */

.pdp {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: clamp(32px, 5vw, 72px) clamp(16px, 2vw, 32px);
}
.pdp-body { grid-column: 1 / span 7; }
.pdp-side { grid-column: 9 / span 4; position: sticky; top: 96px; display: grid; gap: 16px; }
.pdp-title { margin-top: 16px; font-size: clamp(32px, 3.8vw, 54px); line-height: 1.1; letter-spacing: -.04em; text-wrap: balance; }
.pdp-text { margin-top: 20px; color: var(--ink-2); font-size: 18px; line-height: 1.8; text-wrap: pretty; }
.pdp-list { margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.pdp-list li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.75; }
.pdp-list .n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 50%;
  color: var(--on-ink);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
}
.pdp-list b { font-weight: 700; }

.box { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper-3); }
.box--flat { border: 0; background: var(--paper-2); }
.buy-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 18px; }
.price--l { font-size: 40px; }
.price-note { color: var(--ink-3); font-size: 14px; line-height: 1.5; }
.pay-note { margin-top: 16px; color: var(--ink-3); font-size: 13.5px; line-height: 1.7; }
.faq-title { margin-bottom: 6px; font-size: 20px; }
.faq dl { margin: 0; }
.faq .qa { padding: 16px 0; border-bottom: 1px solid var(--line); }
.faq .qa:last-child { padding-bottom: 0; border-bottom: 0; }
.faq dt { font-size: 15px; font-weight: 700; line-height: 1.5; }
.faq dd { margin: 6px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }

/* ---------- 联系页 ---------- */

.contact {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: clamp(32px, 5vw, 72px) clamp(16px, 2vw, 32px);
}
.contact-main { grid-column: 1 / span 7; }
.contact-aside { grid-column: 9 / span 4; }
.contact-text { max-width: 32em; margin-top: 20px; color: var(--ink-2); font-size: 18px; line-height: 1.8; text-wrap: pretty; }
.methods { margin-top: 44px; border-top: 1px solid var(--line-2); }
.method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}
.method > span { transition: color .25s ease; }
.method span:last-child { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 14px; font-weight: 400; white-space: nowrap; }
.method .arw { transition: transform .5s var(--spring); }
.method:hover > span:first-child { color: var(--blue); }
.method:hover .arw { transform: translateX(4px); }

.wechat { padding: 32px 28px 36px; border-radius: var(--cut); background: var(--paper-2); text-align: center; }
.wechat h2 { font-size: 24px; }
.wechat p { max-width: 24em; margin: 12px auto 0; text-wrap: pretty; color: var(--ink-3); font-size: 15px; line-height: 1.7; }
/* 睡姿角色：只用静态贴纸 + CSS 呼吸，不加载 20MB 的唤醒视频 */
.wechat-mascot {
  width: min(270px, 80%);
  height: auto;
  margin: 12px auto 0;
  transform-origin: 50% 72%;
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.012); }
}
.qr-placeholder {
  display: grid;
  place-items: center;
  width: 168px;
  aspect-ratio: 1;
  margin: 20px auto 0;
  border: 1px dashed var(--line-2);
  border-radius: 16px;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ============================================================
   响应式：非对称版面在窄屏一律收成单列
   ============================================================ */

@media (max-width: 1100px) {
  .hero-copy { grid-column: 1 / span 7; }
  .hero-stage { grid-column: 8 / span 5; min-height: 440px; }
  .split-aside { grid-column: 1 / span 5; }
  .split-main { grid-column: 7 / span 6; }
  .item { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 20px; }
  .item-num { grid-column: 1; grid-row: 1 / span 2; }
  .item-cat { grid-column: 2; grid-row: 1; }
  .item-body { grid-column: 2; grid-row: 2; }
  .item-hint { grid-column: 3; grid-row: 1 / span 2; }
  .product-cover { grid-column: 1 / span 5; }
  .product-copy { grid-column: 6 / span 7; grid-row: 1; }
  .product-side { grid-column: 6 / span 7; grid-row: 2; justify-content: flex-start; margin-top: -8px; }
}

@media (max-width: 960px) {
  .bar { flex-wrap: wrap; gap: 0 20px; height: auto; padding-top: 14px; }
  .brand { padding-bottom: 10px; }
  .lang { order: 2; align-self: flex-start; }
  .site-nav { order: 3; flex: 1 0 100%; padding-bottom: 11px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav.is-overflow { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .site-nav a { padding: 8px 11px 6px; font-size: 14px; }

  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: clamp(36px, 6vh, 64px); }
  .hero-copy, .hero-stage { grid-column: 1; }
  .hero-stage { min-height: 0; aspect-ratio: 1.3 / 1; margin-top: 8px; }
  .motion-sequence { inset: 4% -4% 4% -4%; }
  .stage-hint { left: 6%; }

  .split, .duo { grid-template-columns: 1fr; }
  .split-aside, .split-main, .duo-a, .duo-b { grid-column: 1; }
  .split-aside { position: static; }
  .plate, .showcase { grid-template-columns: 1fr; }
  .plate-copy, .plate-media, .showcase-copy, .showcase-media,
  .showcase--flip .showcase-copy, .showcase--flip .showcase-media { grid-column: 1; grid-row: auto; }
  .showcase-media { margin-top: 8px; }

  .page-head-copy { grid-column: 1 / span 8; }
  .page-sticker { grid-column: 9 / span 4; }
  .item { grid-template-columns: 40px minmax(0, 1fr); }
  .item-num { grid-column: 1; grid-row: 1 / span 3; }
  .item-hint { grid-column: 2; grid-row: 3; justify-self: start; padding-top: 14px; }

  .product, .pdp, .contact { grid-template-columns: 1fr; }
  .product-cover, .product-copy, .product-side,
  .pdp-body, .pdp-side, .contact-main, .contact-aside { grid-column: 1; grid-row: auto; }
  .product-side { margin-top: 0; }
  /* 单列时「规划中」的占位封面压扁，免得一大块空框 */
  .product--plan .product-cover { aspect-ratio: 16 / 6; }
  .pdp-side { position: static; }

  .band-inner { grid-template-columns: 1fr; }
  .band-copy, .band-links { grid-column: 1; }
}

@media (max-width: 640px) {
  .page-head { grid-template-columns: 1fr; }
  .page-head-copy, .page-sticker { grid-column: 1; }
  .page-sticker { justify-self: start; width: 96px; order: -1; }
  .page-title { font-size: clamp(40px, 12vw, 56px); }
  .row, .mini { grid-template-columns: 40px 1fr; gap: 12px; }
  .proof { gap: 20px 32px; }
  .browser-bar span { display: none; }
  .community-preview { grid-template-columns: 1fr; }
  .community-cards { display: none; }
  .workflow-canvas { flex-direction: column; align-items: stretch; height: auto; min-height: 0; padding: 18px; gap: 8px; }
  .flow-line, .workflow-canvas::after { display: none; }
  .flow-node { padding: 12px 14px; text-align: center; }
  .br-narrow { display: inline; }
  .br-wide { display: none; }
  .hero-title { font-size: clamp(30px, 9.6vw, 40px); }
  :root:lang(en) .hero-title { font-size: clamp(30px, 9vw, 40px); }
  .hero-actions .btn { width: 100%; }
  .foot { flex-direction: column; }
}

/* ---------- 减少动效 ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .reveal-on [data-reveal] { opacity: 1; transform: none; }
  .mark path { stroke-dashoffset: 0; }
  .pulse::after, .hero-plate::before, .workflow-canvas::after, .band-mascot, .wechat-mascot, .failover { animation: none; }
  .pulse::after { display: none; }
  .route-hop { display: none; }
  /* 跑马灯改成自然换行 */
  .conveyor-track { width: auto; flex-wrap: wrap; animation: none; }
  .conveyor-group[aria-hidden] { display: none; }
  .conveyor-group span::after { margin-left: 20px; }
}
