@charset "UTF-8";
/* ============================================================================
   岂几创 · 站点样式
   方向：编辑感 · 米白纸 + 墨 + 朱砂（唯一强调色）
   原则：细分割线、大留白、左侧栏注、无圆角堆叠、无阴影
   ---------------------------------------------------------------------------
   0 · 令牌   1 · 重置   2 · 排版   3 · 版心与栏
   4 · 页头   5 · 首页   6 · 组件   7 · 页脚   8 · 动效   9 · 响应式
   ========================================================================= */

/* 0 · 设计令牌 ------------------------------------------------------------- */
:root {
  --paper: #f4f1ea;
  --paper-deep: #eae4d6;
  --ink: #171614;
  --ink-2: #2f2b25;
  --muted: #5c574e;
  --rule: #d5cebe;
  --rule-soft: #e2dccc;
  --cinnabar: #9c3a27;
  --cinnabar-deep: #7d2c1d;
  --wash: rgba(156, 58, 39, 0.055);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, "Source Han Serif SC", "Songti SC", "Noto Serif CJK SC", "STSong",
    "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;

  --shell: 1160px;
  --gutter: clamp(18px, 5vw, 56px);
  --rail: clamp(112px, 15vw, 176px);
  --header-h: 66px;

  --step-1: clamp(1.02rem, 1.3vw, 1.12rem);
  --step-2: clamp(1.28rem, 2.1vw, 1.6rem);
  --step-3: clamp(1.55rem, 3vw, 2.3rem);
  --step-4: clamp(1.9rem, 3.8vw, 2.9rem);
  --step-5: clamp(2.15rem, 5.8vw, 4.4rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* 1 · 重置 ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  overflow-x: hidden;
}

/* 纸纹：极轻的颗粒，避免大色块显得塑料 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.11'/%3E%3C/svg%3E");
}

img,
svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

::selection {
  background: var(--cinnabar);
  color: #f7f3ea;
}

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

/* 2 · 排版 ---------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

em { font-style: normal; }

.muted { color: var(--muted); }

.cinnabar { color: var(--cinnabar); }

/* 段落体系：正文栏宽度控制在舒适阅读区间 */
.prose { max-width: 40em; }
.prose > * + * { margin-top: 1.1em; }
.prose p { color: var(--ink-2); }
.prose strong { font-weight: 600; color: var(--ink); }

/* 避免最后一行只剩一两个字（CJK 里很显眼） */
.prose p,
.section-intro,
.ledger p,
.feature-desc,
.hero-lead,
.scale-figure figcaption,
.table td { text-wrap: pretty; }

/* 小节序号 / 英文眉题 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0;
  font-family: var(--sans);
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cinnabar);
  flex: none;
}

.kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cinnabar);
}

/* 数字与拉丁文用旧式衬线数字，中文回落到宋体系 */
.num {
  font-family: var(--serif);
  font-variant-numeric: oldstyle-nums;
  letter-spacing: 0.02em;
}

/* 3 · 版心与栏 ------------------------------------------------------------ */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

/* 主栅格：左侧栏注 + 右侧内容 */
.spread {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 60px);
  padding-block: clamp(46px, 6.5vw, 92px);
  border-top: 1px solid var(--rule);
}

.spread:first-of-type { border-top: 0; }

.rail {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 26px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--sans);
}

.rail-num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--cinnabar);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.rail-label {
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  color: var(--ink);
  font-weight: 500;
}

.rail-en {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.75;
}

.body-col { min-width: 0; }

/* 4 · 页头 ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);                                   /* 旧内核兜底 */
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding-block: 6px;
  text-decoration: none;
  flex: none;
}

.seal {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--cinnabar);
  color: #f8f4ec;
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1;
  letter-spacing: 0;
  border-radius: 1px;
  box-shadow: inset 0 0 0 1.5px rgba(248, 244, 236, 0.3);
  transition: transform 0.5s var(--ease);
}
.brand:hover .seal { transform: rotate(-4deg); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 3px;
}
.brand-text strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.14em;
}
.brand-text em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
}

.nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  padding-block: 6px;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--cinnabar);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.nav a:hover,
.nav a[aria-current] { color: var(--ink); }
.nav a:hover::after,
.nav a[aria-current]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  padding: 8px 12px;
  border-radius: 1px;
  cursor: pointer;
}

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle-bars i {
  display: block;
  width: 14px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s linear;
}

/* 5 · 首页 ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(54px, 8vw, 108px) clamp(30px, 4vw, 48px);
  border-bottom: 1px solid var(--rule);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
}

.hero-title {
  font-size: var(--step-5);
  line-height: 1.2;
  letter-spacing: 0.005em;
  margin-top: clamp(16px, 2.2vw, 26px);
  max-width: 12em;
}
.hero-title em { color: var(--cinnabar); }

.hero-lead {
  margin-top: clamp(20px, 2.6vw, 30px);
  max-width: 34em;
  font-size: var(--step-1);
  line-height: 1.9;
  color: var(--ink-2);
}

.hero-lead .sep {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--cinnabar);
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3.4vw, 40px);
}

/* 右侧竖排小字，模拟书籍天头的地脚注 */
.hero-aside {
  padding-top: 8px;
  align-self: stretch;
  display: flex;
  justify-content: flex-end;
}
.hero-aside span {
  writing-mode: vertical-rl;
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  color: var(--muted);
  text-transform: uppercase;
  font-family: var(--sans);
}

.hero-facts {
  margin-top: clamp(38px, 5vw, 60px);
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  margin: 0;
}
.facts > div { min-width: 0; }
.facts dt {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  line-height: 1.6;
}

/* 6 · 组件 ---------------------------------------------------------------- */

/* 6.1 按钮 */
.btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 1px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}
.btn:hover {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--rule);
  color: var(--ink-2);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn .arrow,
.btn-ghost .arrow {
  font-family: var(--sans);
  transition: transform 0.4s var(--ease);
}
.btn:hover .arrow,
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* 6.2 标题组 */
.section-head { max-width: 100%; }
.section-title {
  max-width: 18em;
  font-size: var(--step-3);
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin-top: 12px;
}
.section-title em { color: var(--cinnabar); }

.section-intro {
  margin-top: 18px;
  max-width: 34em;
  color: var(--ink-2);
  font-size: 1.02rem;
}

/* 6.3 编号清单（能力 / 原则） */
.ledger {
  list-style: none;
  margin: clamp(26px, 3.4vw, 40px) 0 0;
  padding: 0;
  border-top: 1px solid var(--rule-soft);
}

.ledger > li {
  display: grid;
  grid-template-columns: clamp(52px, 6vw, 76px) minmax(0, 1fr);
  gap: clamp(12px, 2.4vw, 34px);
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-bottom: 1px solid var(--rule-soft);
  transition: background 0.4s var(--ease);
}

.ledger > li:hover { background: var(--wash); }

.ledger .idx {
  font-family: var(--serif);
  font-variant-numeric: tabular-nums;
  font-size: 0.86rem;
  color: var(--cinnabar);
  letter-spacing: 0.06em;
  padding-top: 0.35em;
}

.ledger h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.ledger p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
  max-width: 40em;
}

.ledger .tag {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--cinnabar);
  border: 1px solid rgba(156, 58, 39, 0.28);
  padding: 2px 9px;
  border-radius: 1px;
}

/* 6.4 产品跨页卡片 */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 44px);
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 60%);
  padding: clamp(24px, 3.6vw, 46px);
  position: relative;
  overflow: hidden;
}



.feature-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; }

.feature-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  letter-spacing: 0.04em;
}

.feature-latin {
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.feature-desc {
  margin-top: 16px;
  max-width: 40em;
  color: var(--ink-2);
  font-size: 1.03rem;
}

.feature-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding-top: 6px;
}

/* 6.5 尺度图（产品页） */
.scale-figure {
  margin: clamp(26px, 3.4vw, 40px) 0 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.34);
}

.scale-bar {
  position: relative;
  display: flex;
  max-width: 1000px;
  height: 5px;
  margin: 30px 0 14px;
  background: var(--rule-soft);
}

/* 17.4% = 38 亿年前，地球上出现最早的生命 */
.scale-bar .seg-dead {
  width: 17.4%;
  background: var(--rule);
  border-right: 1px solid var(--paper);
}

.scale-bar .seg-life {
  width: 82.6%;
  background: linear-gradient(90deg, var(--ink-2), var(--ink));
}

/* 「今天」的位置 */
.scale-bar .now {
  position: absolute;
  right: 0;
  top: -5px;
  width: 2px;
  height: 15px;
  background: var(--cinnabar);
}

.scale-note {
  margin: 12px 0 0;
  font-size: 0.86rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 40em;
}

.scale-axis {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.scale-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule-soft);
}

.scale-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.92rem;
}

.scale-list .k { color: var(--ink-2); }
.scale-list .v {
  font-family: var(--serif);
  font-variant-numeric: tabular-nums;
  color: var(--cinnabar);
  white-space: nowrap;
}
.scale-list li:last-child .v { font-size: 1.1rem; }

.scale-figure figcaption {
  margin-top: 18px;
  font-size: 0.86rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 40em;
}

/* 6.6 双栏卡片（形态 / 渠道） */
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: clamp(24px, 3vw, 36px);
}

.duo > article {
  background: var(--paper);
  padding: clamp(20px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.duo h3 {
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.duo p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

.duo .chip {
  align-self: flex-start;
  margin-top: auto;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--cinnabar);
}

/* 6.7 小游戏：深色画板 + 手机截图 */
.feature + .feature { margin-top: clamp(18px, 2.6vw, 30px); }

.feature--dark {
  background: #171821;
  border-color: #2b2c3a;
  color: #ece9e0;
}
.feature--dark .feature-title { color: #f6f3e9; }
.feature--dark .feature-latin { color: rgba(236, 233, 224, 0.5); }
.feature--dark .feature-desc { color: rgba(236, 233, 224, 0.76); }
.feature--dark .kicker { color: #f6cf3f; }
.feature--dark .facts dt { color: rgba(236, 233, 224, 0.48); }
.feature--dark .facts dd { color: #ece9e0; }
.feature--dark .btn {
  background: #f6cf3f;
  border-color: #f6cf3f;
  color: #171821;
}
.feature--dark .btn:hover {
  background: #f6f3e9;
  border-color: #f6f3e9;
}
.feature--dark .link {
  color: #ece9e0;
  background-image: linear-gradient(rgba(236, 233, 224, 0.32), rgba(236, 233, 224, 0.32));
}
.feature--dark .link:hover {
  color: #f6cf3f;
  background-image: linear-gradient(#f6cf3f, #f6cf3f);
}

/* 卡片内的规格清单：窄列里改成「标签 + 值」的行式 */
.feature-split .facts {
  grid-template-columns: minmax(0, 1fr);
  gap: 11px;
  margin-top: clamp(18px, 2.4vw, 26px);
}
.feature-split .facts > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}
.feature-split .facts dt { margin-bottom: 0; }
.feature-split .feature-foot { margin-top: clamp(20px, 2.6vw, 28px); }

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(140px, 18vw, 210px);
  gap: clamp(20px, 3.4vw, 44px);
  align-items: start;
}

/* 画板：两种极性，同一套结构 —— 消消互坑用深色，人生沙盒用纸白 */
.dark-plate,
.light-plate {
  position: relative;
  padding-block: clamp(36px, 5vw, 66px);
  margin-block: clamp(26px, 3.6vw, 44px);
  overflow: hidden;
  --plate-kicker: var(--cinnabar);
  --plate-title: var(--ink);
  --shot-line: rgba(23, 22, 20, 0.14);
  --shot-bg: #fff;
  --shot-cap: var(--muted);
  --shot-cap-strong: var(--ink);
  --shot-shadow: 0 34px 64px -46px rgba(23, 22, 20, 0.6);
}

.feature--dark {
  --shot-line: rgba(240, 236, 225, 0.16);
  --shot-bg: #000;
  --shot-shadow: 0 40px 70px -52px #000;
}

.dark-plate {
  background: #171821;
  color: #ece9e0;
  --plate-kicker: #f6cf3f;
  --plate-title: #f6f3e9;
  --shot-line: rgba(240, 236, 225, 0.16);
  --shot-bg: #000;
  --shot-cap: rgba(236, 233, 224, 0.6);
  --shot-cap-strong: #ece9e0;
  --shot-shadow: 0 40px 70px -52px #000;
}
.dark-plate::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 78% at 50% -12%, rgba(246, 207, 63, 0.12), transparent 62%);
}

.light-plate {
  background: linear-gradient(180deg, #eae2d2 0%, #f0ebdf 55%, #eae2d2 100%);
  color: var(--ink);
  border-block: 1px solid #dcd3c1;
}

.dark-plate .shell,
.light-plate .shell { position: relative; z-index: 1; }

.plate-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.plate-kicker {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--plate-kicker);
}
.plate-title {
  font-family: var(--serif);
  font-size: clamp(1.24rem, 2.4vw, 1.85rem);
  color: var(--plate-title);
  letter-spacing: 0.04em;
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2.2vw, 28px);
}
.shots--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* 四联截图需要更宽的画布，否则每台手机只有 200px，看不清内容 */
.shell--wide { max-width: 1500px; }
.shot { margin: 0; min-width: 0; }
.shot-frame {
  border-radius: 15px;
  overflow: hidden;
  background: var(--shot-bg, #fff);
  border: 1px solid var(--shot-line, rgba(23, 22, 20, 0.14));
  box-shadow: var(--shot-shadow, 0 28px 56px -44px rgba(23, 22, 20, 0.6));
}
.shot-frame img { width: 100%; height: auto; display: block; }
.shot figcaption {
  margin-top: 12px;
  font-size: 0.8rem;
  line-height: 1.72;
  color: var(--shot-cap);
}
.shot figcaption b {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--shot-cap-strong);
  letter-spacing: 0.06em;
}
.shots-hint {
  display: none;
  margin: 14px 0 0;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--shot-cap);
  opacity: 0.7;
}

/* 小程序码：与文字并排的「扫码打开」块 */
.with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.qr { margin: 0; justify-self: end; text-align: center; }

.qr-frame {
  display: block;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 24px 44px -36px rgba(23, 22, 20, 0.55);
}
.qr-frame img { width: 148px; height: 148px; display: block; }

.qr figcaption {
  margin-top: 11px;
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.7;
}
.qr figcaption b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}

/* 多个码并排（联系区） */
.qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 34px);
  margin-top: clamp(26px, 3.4vw, 40px);
}
.qr-row .qr { justify-self: auto; text-align: left; }
.qr--sm .qr-frame { padding: 10px; }
.qr--sm .qr-frame img { width: 104px; height: 104px; }

/* 规则卡标签 */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.chips span {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--cinnabar);
  border: 1px solid rgba(156, 58, 39, 0.3);
  padding: 5px 12px;
  border-radius: 1px;
  background: rgba(156, 58, 39, 0.04);
}

/* 6.8 表格 */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-top: clamp(20px, 2.6vw, 30px);
}

.table th,
.table td {
  text-align: left;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}

.table th {
  width: 30%;
  min-width: 118px;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.table td {
  color: var(--ink);
  letter-spacing: 0.01em;
}

.table code {
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas,
    monospace;
  font-size: 0.9em;
  letter-spacing: 0.04em;
}

/* 6.8 小引用块 */
.pullquote {
  margin: clamp(28px, 3.6vw, 44px) 0 0;
  padding-left: clamp(16px, 2vw, 26px);
  border-left: 2px solid var(--cinnabar);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  line-height: 1.8;
  color: var(--ink);
  max-width: 26em;
}

/* 6.9 联系块 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(24px, 3vw, 34px);
}

.contact-item {
  border-top: 1px solid var(--ink);
  padding-top: 14px;
}
.contact-item .label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
/* 邮箱这类串号用无衬线，宋体的旧式数字会让 0/3/4/9 上下错位，难认 */
.contact-item a[href^="mailto:"] {
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.contact-item .value {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 1.06rem;
  letter-spacing: 0.03em;
  word-break: break-word;
}

/* 行内链接：细下划线，hover 变朱砂 */
.link {
  text-decoration: none;
  color: var(--ink);
  background-image: linear-gradient(var(--rule), var(--rule));
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-image 0.35s var(--ease), color 0.35s var(--ease);
}
.link:hover {
  color: var(--cinnabar);
  background-image: linear-gradient(var(--cinnabar), var(--cinnabar));
}

.cinnabar-link {
  color: var(--cinnabar);
  text-decoration: none;
  border-bottom: 1px solid rgba(156, 58, 39, 0.35);
  padding-bottom: 1px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.cinnabar-link:hover {
  color: var(--cinnabar-deep);
  border-bottom-color: var(--cinnabar-deep);
}

/* 6.10 产品索引：目录式列表，不做成标签栏 */
.pindex {
  list-style: none;
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.pindex > li { border-bottom: 1px solid var(--rule); }

.pindex-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: clamp(16px, 2.6vw, 34px);
  align-items: center;
  padding: clamp(20px, 2.6vw, 30px) 0;
  text-decoration: none;
  transition: background 0.4s var(--ease);
}
.pindex-row:hover { background: var(--wash); }

.pindex-thumb {
  display: block;
  border-radius: 9px;
  overflow: hidden;
  /* 纸白页面上，奶油底的截图需要一点底色和更实的投影才立得住 */
  border: 1px solid #cfc6b3;
  background: var(--paper-deep);
  box-shadow: 0 18px 34px -22px rgba(23, 22, 20, 0.5);
}
.pindex-thumb img { width: 100%; height: auto; display: block; }

.pindex-main { min-width: 0; }

.pindex-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-size: clamp(1.16rem, 2vw, 1.46rem);
  letter-spacing: 0.03em;
  color: var(--ink);
}
.pindex-name em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.pindex-desc {
  display: block;
  margin-top: 9px;
  max-width: 46em;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--ink-2);
}

.pindex-meta {
  display: block;
  margin-top: 11px;
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.pindex-arrow {
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--cinnabar);
  transition: transform 0.4s var(--ease);
}
.pindex-row:hover .pindex-arrow { transform: translateX(6px); }

/* 6.11 页内页眉（子页通用） */
.page-head {
  padding-block: clamp(44px, 6vw, 84px) clamp(28px, 3.4vw, 44px);
  border-bottom: 1px solid var(--rule);
}

.page-head .hero-title {
  font-size: var(--step-4);
  margin-top: clamp(14px, 2vw, 20px);
  max-width: 16em;
}

.page-head .hero-lead { margin-top: 20px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--cinnabar); }

/* 7 · 页脚 ---------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: clamp(40px, 5vw, 70px);
  padding-block: clamp(34px, 4.4vw, 56px) 30px;
  background: linear-gradient(180deg, transparent, rgba(234, 228, 214, 0.4));
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(28px, 3.4vw, 44px);
  border-bottom: 1px solid var(--rule);
}

.footer-claim {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 16em;
  color: var(--ink);
}

.footer-col h2 {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a,
.footer-col p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--ink-2);
  text-decoration: none;
}
.footer-col a:hover { color: var(--cinnabar); }

.fineprint {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 22px;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.fineprint a { color: var(--muted); text-decoration: none; }
.fineprint a:hover { color: var(--cinnabar); }

/* 8 · 动效 ---------------------------------------------------------------- */
/* 仅在 JS 可用时才隐藏待揭示内容：脚本失效时页面仍是完整可读的 */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* 9 · 响应式 -------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  /* 纸纹从 fixed 改成 absolute：低端机上 fixed + blend 会每帧重绘 */
  body::before {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  /* 面包屑、页脚站点列的小链接加大点按面积，视觉节奏不变 */
  .breadcrumb a { padding-block: 8px; }
  .fineprint a { padding-block: 9px; }
  .footer-col ul { gap: 0; }
  .footer-col a {
    display: inline-block;
    padding-block: 7px;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 4px var(--gutter) 14px;
    box-shadow: 0 18px 30px -24px rgba(23, 22, 20, 0.5);
    display: none;
  }

  .site-header[data-nav="open"] .nav { display: flex; }

  .nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--rule-soft);
    font-size: 0.95rem;
  }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .nav a[aria-current] { color: var(--cinnabar); }

  .site-header[data-nav="open"] .nav-toggle-bars i:first-child {
    transform: translateY(2.5px) rotate(45deg);
  }
  .site-header[data-nav="open"] .nav-toggle-bars i:last-child {
    transform: translateY(-2.5px) rotate(-45deg);
  }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-aside { display: none; }

  .spread {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .rail {
    position: static;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    padding-bottom: 4px;
  }
  .rail-en { display: none; }
  .rail-label { font-size: 0.8rem; }

  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-claim { grid-column: 1 / -1; max-width: 18em; }

  /* 平板宽度下三列事实条会挤到断词，改成「标签 + 值」的行式 */
  .facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .facts > div {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: baseline;
  }
  .facts dt { margin-bottom: 0; }
}

@media (max-width: 620px) {
  body { line-height: 1.8; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .facts > div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
  }
  .facts dt { margin-bottom: 0; }

  .duo { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }

  .table th { width: 34%; white-space: normal; }
  .table th,
  .table td { padding: 11px 8px 11px 0; font-size: 0.88rem; }

  .feature { padding: 22px 18px; }
  .feature::after { display: none; }

  .fee-yes { font-size: 0.82rem; }

  .scale-figure { padding: 18px; }
  .scale-list li { font-size: 0.86rem; }

  .btn,
  .btn-ghost { padding: 11px 16px; font-size: 0.85rem; }

  .fineprint { flex-direction: column; gap: 6px; }
}

@media print {
  .site-header,
  .nav-toggle,
  .hero-aside,
  body::before { display: none !important; }
  body { background: #fff; }
  [data-reveal] { opacity: 1; transform: none; }
}
/* 10 · 小游戏截图与深色卡：窄屏适配 -------------------------------------- */
@media (max-width: 820px) {
  .feature-split { grid-template-columns: minmax(0, 1fr); }
  /* 窄屏：截图从卡片底部提到最前面，别夹在按钮后面 */
  .feature-split .shot {
    order: -1;
    max-width: 168px;
    margin: 0 auto clamp(16px, 3vw, 22px);
  }

  /* 三张手机图在窄屏改为横向滑动，避免缩成看不清的小图 */
  .shots {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 60%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .shots::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: center; }
  .shots-hint { display: block; }
}
/* 产品索引：窄屏 */
@media (max-width: 620px) {
  .pindex-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }
  .pindex-arrow { display: none; }
  .pindex-desc { font-size: 0.9rem; }
  .pindex-meta { font-size: 0.68rem; }
}
/* 小程序码：窄屏堆叠 */
@media (max-width: 720px) {
  .with-aside { grid-template-columns: minmax(0, 1fr); }
  .qr { justify-self: center; }
}
