@import url("/assets/apple-system.css?v=20261118");
/* ==========================================================================
   SgRent · 样式表
   2026-11-11 起与新版首页统一：白底、灰蓝、深灰字、蓝按钮，标题用无衬线。变量名沿用旧名（--green 实为蓝色主色，--paper 实为白底）。桌面基准 1280，手机基准 390。
   ========================================================================== */


:root {
  /* 纸张底色（浅 → 深） */
  --paper: #ffffff;
  --paper-deep: #e8e8ed;
  --paper-soft: #f5f5f7;
  --card: #ffffff;

  /* 文字阶梯：四级墨色，均在最深纸底（--paper-deep）上 ≥ 4.5:1
     ink 15.6 · ink-2 9.4 · muted 6.3 · faint 4.6（faint 不用于 --paper-deep 底） */
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --faint: #6e6e73;

  /* 深底上的文字 */
  --on-dark: var(--paper);
  --on-dark-muted: rgba(255, 255, 255, .74);

  /* 线条：line/line-strong 仅作分隔装饰；line-ui 用于输入框、单选等控件边界（≥ 3:1） */
  --line: #e5e5e8;
  --line-strong: #86868b;
  --line-ui: #86868b;

  /* 松绿点缀：green 7.1:1 on paper，可作正文链接色 */
  --green: var(--apple-blue);
  --green-deep: var(--apple-hover);
  --green-soft: #f0f7ff;

  /* 黄铜：用于章节编号、推荐标签，5.5:1 on paper / 5.1:1 on brass-soft */
  --brass: #245d9e;
  --brass-soft: #f0f7ff;
  --red: #c13933;

  --serif: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --sans: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;

  --wrap: 1240px;
  --gx: clamp(20px, 5vw, 64px);
  --header-h: 68px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(22, 43, 69, .05), 0 12px 32px -12px rgba(22, 43, 69, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.85 var(--sans);
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* 纸张微颗粒 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .32;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body > * { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
a:visited { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; margin: 0; letter-spacing: .01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure { margin: 0; }
::selection { background: var(--green-soft); color: var(--green-deep); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* 正文内链接：松绿 + 细下划线，hover 加深 */
.text-link, .price-notes a, .faq details a, .prose a, .form-foot a, .auth-foot a, .auth-row a {
  color: var(--green); border-bottom: 1px solid color-mix(in srgb, var(--green) 45%, transparent);
  transition: color .2s, border-color .2s;
}
.text-link:visited, .price-notes a:visited, .faq details a:visited, .prose a:visited, .form-foot a:visited, .auth-foot a:visited, .auth-row a:visited { color: var(--green); }
.text-link:hover, .price-notes a:hover, .faq details a:hover, .prose a:hover, .form-foot a:hover, .auth-foot a:hover, .auth-row a:hover {
  color: var(--green-deep); border-bottom-color: currentColor;
}
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .text-link, .price-notes a, .faq details a, .prose a, .form-foot a, .auth-foot a, .auth-row a { border-bottom-color: currentColor; }
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gx); }
.serif { font-family: var(--serif); }
.num { font-family: var(--serif); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 按钮 ---------- */
/* 实心（默认）：墨底纸字 15.6:1；hover 松绿深 9.6:1 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 6px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--on-dark);
  font-size: 15px; font-weight: 500; line-height: 1.4; cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), color .25s, box-shadow .25s;
}
.btn:visited { color: var(--on-dark); }
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--on-dark); transform: translateY(-1px); }
.btn:active { background: var(--ink); border-color: var(--ink); transform: translateY(0); }

/* 描边：纸底墨字，边框用控件级线色（≥ 3:1） */
.btn--ghost, .btn--ghost:visited { background: transparent; color: var(--ink); border-color: var(--line-ui); }
.btn--ghost:hover { background: var(--paper-deep); color: var(--ink); border-color: var(--ink); }
.btn--ghost:active { background: var(--paper-deep); color: var(--ink); border-color: var(--ink); }

/* 松绿实心：7.1:1 */
.btn--green, .btn--green:visited { background: var(--green); border-color: var(--green); color: var(--on-dark); }
.btn--green:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn--green:active { background: var(--green-deep); border-color: var(--green-deep); }

.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* 文字按钮：必须清掉 .btn 的墨色底，否则墨字落在墨底上（1.65:1） */
.btn--text, .btn--text:visited {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 6px; border-radius: 4px;
  background: transparent; border-color: transparent; color: var(--ink);
  font-size: 15px; font-weight: 500; box-shadow: inset 0 -1px 0 transparent;
}
.btn--text:hover, .btn--text:active {
  background: transparent; border-color: transparent; color: var(--green);
  box-shadow: inset 0 -1px 0 var(--green); transform: none;
}
.btn--text.btn--lg { padding-inline: 10px; }

.arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow, .btn--text:hover .arrow { transform: translateX(3px); }

/* ---------- 页眉 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-header { background: rgba(255, 255, 255, .92); }
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: .02em; }
.brand svg { width: 30px; height: 30px; }
.site-nav { display: flex; align-items: center; gap: 28px; flex: 1; font-size: 15px; color: var(--ink-2); }
.site-nav a { position: relative; padding: 4px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-actions { display: flex; align-items: center; gap: 14px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-actions .link { font-size: 15px; color: var(--ink-2); }
.site-actions .link:hover, .site-actions .link[aria-current="page"] { color: var(--ink); }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-ui); border-radius: 6px;
  background: transparent; cursor: pointer; place-items: center; margin-left: auto;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s var(--ease), background .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-extra { display: none; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 通用区块 ---------- */
.sec { padding-block: clamp(80px, 10vw, 136px); }
.sec--tight { padding-block: clamp(56px, 7vw, 96px); }
.sec--deep { background: var(--paper-deep); }
.sec--line { border-top: 1px solid var(--line); }
.sec-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; color: var(--green);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--green); }
.h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.3; }
.h2 + p { margin-top: 16px; font-size: 17px; color: var(--muted); }
.lead { font-size: 18px; color: var(--ink-2); line-height: 1.9; }

/* 进场动画 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap {
  min-height: calc(100svh - var(--header-h));
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px);
  align-items: center; padding-block: clamp(48px, 7vw, 96px);
}
.hero-copy { max-width: 600px; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .08em; color: var(--ink-2);
  padding: 6px 14px 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper-soft);
  margin-bottom: 28px;
}
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(8, 101, 210, .45); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(8, 101, 210, .45); } 70% { box-shadow: 0 0 0 9px rgba(8, 101, 210, 0); } 100% { box-shadow: 0 0 0 0 rgba(8, 101, 210, 0); } }
.hero h1 { font-size: clamp(42px, 5.6vw, 74px); line-height: 1.2; letter-spacing: .005em; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .lead { margin-top: 26px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 0 36px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
}
.hero-meta div { display: flex; flex-direction: column; gap: 2px; }
.hero-meta dt { font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.hero-meta dd { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 700; }
.hero-meta dd small { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 4px; }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
.hero-art figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: right; }

.scroll-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 12px; letter-spacing: .2em; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.scroll-hint::after { content: ""; width: 1px; height: 28px; background: linear-gradient(var(--muted), transparent); animation: drop 1.8s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 插图（内联 SVG） ---------- */
.art text { font-family: var(--sans); font-size: 12.5px; fill: var(--ink-2); letter-spacing: .04em; }
.art .lbl, .art .lbl text { fill: var(--muted); font-size: 12px; }
.art .t-serif { font-family: var(--serif); font-size: 14px; font-weight: 700; fill: var(--ink); }
.art .city circle { fill: var(--paper-soft); stroke: var(--ink); stroke-width: 1.5; }
.art .city text { font-size: 13px; fill: var(--ink); }
.art .flow path { stroke-dasharray: 4 6; animation: flow 3.2s linear infinite; opacity: .75; }
.art .ring { animation: ring 3s var(--ease) infinite; transform-origin: 330px 396px; }
.art .ring--2 { animation-delay: .6s; }
.art .bar { animation: bar 4s var(--ease) infinite alternate; transform-origin: 92px 151px; }
@keyframes flow { to { stroke-dashoffset: -40; } }
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes bar { from { transform: scaleX(.55); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .art .flow path, .art .ring, .art .bar, .status i, .scroll-hint::after { animation: none; } }

/* ---------- 叙事章节（粘性视觉 + 滚动文字） ---------- */
.story { border-top: 1px solid var(--line); }
.story .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.story-visual { position: sticky; top: calc(var(--header-h) + 24px); height: calc(100svh - var(--header-h) - 48px); min-height: 420px; }
.story-frame {
  position: relative; height: 100%;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-soft);
  box-shadow: var(--shadow); overflow: hidden;
}
.story-frame figure { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; padding: clamp(24px, 4vw, 48px); opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.story-frame figure.is-active { opacity: 1; transform: none; }
.story-frame svg { width: 100%; max-width: 480px; height: auto; }
.story-index { position: absolute; left: 24px; top: 20px; display: flex; gap: 8px; }
.story-index i { width: 20px; height: 2px; background: var(--line-strong); border-radius: 2px; transition: background .4s, width .4s var(--ease); }
.story-index i.on { width: 34px; background: var(--green); }
.story-steps { padding-block: 10vh; }
.chapter { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding-block: 48px; }
.chapter .no { font-family: var(--serif); font-size: 15px; color: var(--brass); letter-spacing: .12em; margin-bottom: 18px; }
.chapter h3 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.32; }
.chapter > p:not(.no) { margin-top: 20px; font-size: 17px; color: var(--muted); max-width: 440px; }
.chapter .btn--text { align-self: flex-start; margin-top: 18px; }
.chapter ul { margin-top: 22px; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.chapter li { display: flex; gap: 10px; }
.chapter li::before { content: "·"; color: var(--green); font-weight: 700; }

/* ---------- 规格表 ---------- */
.spec { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.spec-list { border-top: 1px solid var(--ink); }
.spec-list div { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-size: 13px; letter-spacing: .08em; color: var(--muted); padding-top: 4px; }
.spec-list dd { margin: 0; font-size: 16px; color: var(--ink); }
.spec-list dd small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.spec-note { margin-top: 22px; font-size: 14px; color: var(--muted); display: flex; gap: 10px; }
.spec-note::before { content: "※"; color: var(--brass); }

/* ---------- 方案与费用 ---------- */
.mobile-order { display: none; }
@media (max-width: 700px) {
  #pricing .quote-rows dd { min-width: 0; white-space: normal; overflow-wrap: anywhere; text-align: right; }
  #pricing .quote-total { flex-wrap: wrap; gap: 12px; }
  #pricing .pricing-grid > * { min-width: 0; }
  #pricing .seg { display: grid; width: 100%; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  #pricing .seg button { min-width: 0; padding: 10px 3px; font-size: 12px; }
  #pricing .seg button small { font-size: 10px; letter-spacing: 0; white-space: normal; }
  #pricing { padding-bottom: calc(var(--mobile-order-height, 120px) + 40px); }
  #pricing [data-plan-card] { padding: 18px; gap: 8px; grid-template-columns: minmax(0, 1fr); scroll-margin: 90px 0 140px; }
  #pricing [data-plan-card]:hover { transform: none; }
  #pricing [data-plan-card] h3 { font-size: 18px; line-height: 1.4; }
  #pricing [data-plan-card] .plan-head { min-width: 0; }
  #pricing [data-plan-card] .plan-price { text-align: left; margin-top: 4px; }
  #pricing [data-plan-card] .plan-price b { font-size: 26px; line-height: 1.3; overflow-wrap: anywhere; }
  #pricing [data-plan-card] .plan-price small { display: block; margin: 2px 0 0; }
  #pricing [data-plan-card]:not(.is-selected) .plan-head p,
  #pricing [data-plan-card]:not(.is-selected) [data-plan-f="features"],
  #pricing [data-plan-card]:not(.is-selected) [data-plan-f="addon"],
  #pricing [data-plan-card] [data-plan-f="terms"],
  #pricing [data-plan-card]:not(.is-selected) .plan-price > span { display: none; }
  #pricing [data-plan-card] .plan-addon-hint { font-size: 12px !important; line-height: 1.45 !important; }
  .mobile-order:not([hidden]) { display: flex; position: fixed; z-index: 110; bottom: 0; left: 0; right: 0; align-items: center; gap: 12px; padding: 12px max(16px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -4px 24px rgba(22,43,69,.1); }
  .mobile-order__summary { flex: 1; min-width: 0; font-size: 12px; line-height: 1.4; }
  .mobile-order__name { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .mobile-order__period { display: block; color: var(--muted); }
  .mobile-order__summary strong { display: block; font-size: 22px; overflow-wrap: anywhere; }
  .mobile-order__summary small { font-size: 11px; font-weight: 400; }
  .mobile-order > .btn { flex: none; min-height: 48px; padding: 12px 16px; }
  .has-mobile-order .contact-float,
  .has-mobile-order .tg-float { bottom: calc(var(--mobile-order-height, 120px) + 12px); }
  .sg-modal-open .mobile-order { visibility: hidden; }
}

.pricing-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.seg {
  display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 4px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper-soft);
  margin-bottom: 28px; width: min(100%, 420px);
}
.seg button {
  border: 0; background: transparent; padding: 9px 16px; border-radius: 5px; cursor: pointer;
  font-size: 15px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 1px; line-height: 1.3;
  transition: background .25s, color .25s, box-shadow .25s;
}
.seg button:hover { color: var(--ink); }
.seg button small { font-size: 11px; letter-spacing: .06em; color: var(--faint); }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--on-dark); box-shadow: 0 2px 8px rgba(22, 43, 69, .18); }
.seg button[aria-selected="true"] small { color: var(--on-dark-muted); }
.seg-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.seg-row .hint { font-size: 13px; color: var(--muted); margin-bottom: 28px; }

.plan-cards { display: grid; gap: 16px; }
.plan {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px 24px;
  padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card);
  cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.plan:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan.is-selected { border-color: var(--ink); box-shadow: var(--shadow); }
.plan .check {
  position: absolute; top: 22px; right: 22px; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line-ui); display: grid; place-items: center; background: var(--paper-soft); transition: .25s;
}
.plan:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 3px; }
.plan .check::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); transform: scale(0); transition: transform .25s var(--ease); }
.plan.is-selected .check { border-color: var(--green); }
.plan.is-selected .check::after { transform: scale(1); }
.plan-head { grid-column: 1 / -1; padding-right: 40px; }
.plan-head .tag { display: inline-block; font-size: 11px; letter-spacing: .1em; padding: 2px 8px; border-radius: 4px; background: var(--brass-soft); color: var(--brass); margin-left: 8px; vertical-align: 2px; }
.plan h3 { font-size: 22px; }
.plan-head p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.plan ul { display: grid; gap: 6px; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.plan li { display: flex; gap: 8px; }
.plan li::before { content: "✓"; color: var(--green); font-size: 12px; line-height: 1.9; }
.plan-price { align-self: end; text-align: right; margin-top: 10px; }
.plan-price b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 700; line-height: 1; }
.plan-price b small { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 2px; }
.plan-price span { display: block; font-size: 12px; color: var(--faint); margin-top: 6px; }

.quote {
  position: relative;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--paper-soft);
  padding: 28px; box-shadow: var(--shadow);
}
.pricing-grid > .quote { position: sticky; top: calc(var(--header-h) + 24px); }
.quote::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; background: var(--green); border-radius: 0 0 3px 3px; }
.quote-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.quote-head h3 { font-size: 20px; }
.quote-head span { font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.quote-rows { border-top: 1px solid var(--line); }
.quote-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.quote-rows dt { color: var(--ink-2); }
.quote-rows dt small { display: block; font-size: 12px; color: var(--faint); }
.quote-rows dd { margin: 0; font-family: var(--serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.quote-rows dd.inc { font-family: var(--sans); font-size: 13px; color: var(--green); }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 6px; }
.quote-total dt { font-size: 15px; font-weight: 500; }
.quote-total dt small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.quote-total dd { margin: 0; font-family: var(--serif); font-size: 36px; font-weight: 700; line-height: 1; }
.quote-total dd small { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.quote .btn { margin-top: 18px; }
.quote-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.quote-note b { color: var(--ink-2); font-weight: 500; }

.price-notes { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.price-notes h4 { font-size: 15px; font-family: var(--sans); font-weight: 500; }
.price-notes p, .price-notes ul { margin-top: 6px; font-size: 14px; color: var(--muted); }
.price-notes li { position: relative; padding-left: 12px; }
.price-notes li::before { content: ""; position: absolute; left: 0; top: .78em; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.price-notes ul + p { margin-top: 8px; }

/* ---------- 另售：席位卡（紧接 #pricing，虚线黄铜边框与租赁方案区分） ---------- */
.sec--addon { padding-top: 0; }
.addon {
  padding: 28px 32px; border: 1px dashed var(--brass); border-radius: var(--radius-lg); background: var(--paper-soft);
}
.addon-main { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 20px 40px; align-items: center; }
.addon-tag {
  display: inline-block; font-size: 11px; letter-spacing: .12em; padding: 3px 10px; border-radius: 4px;
  background: var(--brass-soft); color: var(--brass); border: 1px solid color-mix(in srgb, var(--brass) 35%, transparent);
}
.addon-head h3 { font-size: 24px; margin-top: 10px; }
.addon-head p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.addon-head .addon-seat { color: var(--ink-2); }
.addon-price { text-align: right; white-space: nowrap; }
.addon-price b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 700; line-height: 1; }
.addon-price b small { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 2px; }
.addon-price span { display: block; font-size: 12px; color: var(--faint); margin-top: 6px; }
.addon-cta .btn { white-space: nowrap; }
.addon-notice {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; padding: 12px 16px;
  border-left: 3px solid var(--brass); border-radius: 6px; background: var(--brass-soft); color: var(--brass); font-size: 14px; line-height: 1.7;
}
.addon-notice svg { flex: none; width: 18px; height: 18px; margin-top: 3px; }
.addon-notice b { font-weight: 700; }
.addon-foot { margin-top: 12px; font-size: 12.5px; color: var(--faint); }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.steps li { padding: 28px 28px 32px 0; border-right: 1px dashed var(--line-strong); margin-right: 28px; }
.steps li:last-child { border-right: 0; margin-right: 0; }
.steps .no { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--faint); }  /* 大号数字，4.1:1 on paper-deep（大文本 ≥ 3:1） */
.steps h3 { font-size: 20px; margin-top: 18px; }
.steps p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.steps li strong { display: block; margin-top: 12px; font-size: 13px; color: var(--green); font-weight: 500; }

/* ---------- 场景 ---------- */
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.case { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); transition: transform .3s var(--ease), box-shadow .3s; }
.case:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.case svg { width: 36px; height: 36px; color: var(--green); margin-bottom: 18px; }
.case h3 { font-size: 19px; }
.case p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- 问答 ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--serif); font-size: 19px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); font-size: 15.5px; }
.faq-aside .h2 + p { margin-top: 16px; color: var(--muted); }
.faq-aside .btn--text { margin-top: 12px; }

/* ---------- 文档入口 ---------- */
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.doc-link { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-soft); transition: border-color .25s, transform .3s var(--ease); }
.doc-link:hover { border-color: var(--ink); transform: translateY(-2px); }
.doc-link:hover span { color: var(--green-deep); }
.doc-link h3 { font-size: 20px; }
.doc-link p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.doc-link span { font-size: 14px; color: var(--green); font-weight: 500; }

/* ---------- 结尾号召 ---------- */
.cta-band { background: var(--ink); color: var(--on-dark); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.3; }
.cta-band p { margin-top: 12px; color: var(--on-dark-muted); font-size: 16px; }  /* 9:1 on ink */
.cta-band .btn, .cta-band .btn:visited { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-band .btn:hover, .cta-band .btn:active { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band :focus-visible { outline-color: var(--paper); }  /* 墨底上松绿焦点环只有 2.2:1，改用纸色 */
.cta-band ::selection { background: var(--paper); color: var(--ink); }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--paper-deep); font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr 1.3fr; gap: 32px; padding-block: 56px 28px; }
.site-footer .brand { color: var(--ink); }
.site-footer .about p { margin-top: 14px; max-width: 320px; line-height: 1.8; }
.site-footer h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .1em; color: var(--ink); margin-bottom: 14px; font-weight: 500; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a:hover { color: var(--ink); }
.footer-bar { border-top: 1px solid var(--line); }
.footer-bar .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 18px; font-size: 13px; color: var(--muted); }  /* paper-deep 底上不用 faint */

/* ---------- 子页面：文档排版 ---------- */
.page-hero { padding-block: clamp(48px, 6vw, 88px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.25; }
.page-hero p { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 620px; }
.page-hero .crumbs { font-size: 13px; color: var(--muted); margin-bottom: 20px; display: flex; gap: 8px; }
.page-hero .crumbs a:hover { color: var(--ink); border-bottom: 1px solid currentColor; }
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(40px, 5vw, 72px) clamp(72px, 8vw, 120px); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 14px; }
.toc h4, .toc .toc-title { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.toc ul { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 14px; color: var(--muted); border-left: 1px solid transparent; margin-left: -1px; }
.toc a:hover, .toc a.on { color: var(--ink); border-left-color: var(--ink); }
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; margin-top: 48px; padding-top: 8px; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin-top: 28px; }
.prose p { margin-top: 14px; color: var(--ink-2); }
.prose ul, .prose ol { margin-top: 14px; padding-left: 22px; color: var(--ink-2); display: grid; gap: 6px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose .callout { margin-top: 20px; padding: 18px 22px; border-left: 3px solid var(--brass); background: var(--paper-soft); border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px; color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 500; color: var(--muted); font-size: 13px; letter-spacing: .06em; }
.prose .meta { font-size: 13px; color: var(--faint); }

/* ---------- 表单 ---------- */
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field label small { font-weight: 400; color: var(--faint); margin-left: 6px; }
.input, .select, .textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--card);
  border: 1px solid var(--line-ui); border-radius: 8px; padding: 12px 14px; line-height: 1.5;
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder, .textarea::placeholder { color: var(--faint); opacity: 1; }  /* 5.0:1 on card */
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.input:disabled, .select:disabled, .textarea:disabled { color: var(--muted); background: var(--paper-deep); border-color: var(--line-strong); cursor: not-allowed; }
.input:user-invalid, .textarea:user-invalid { border-color: var(--red); }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%231b1812' stroke-width='1.5'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; }
.textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .span { grid-column: 1 / -1; }
.form-foot { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.form-ok { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 8px; background: var(--green-soft); color: var(--green-deep); font-size: 14px; }
.form-ok.show { display: block; }

/* 申请页布局 */
.apply { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: clamp(32px, 5vw, 72px); padding-block: clamp(40px, 5vw, 72px) clamp(72px, 8vw, 120px); align-items: start; }
.apply-form { display: grid; gap: 28px; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; }
.fieldset legend { font-family: var(--serif); font-size: 20px; font-weight: 700; margin-bottom: 14px; padding: 0; }
.fieldset legend small { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 10px; }
.summary { position: sticky; top: calc(var(--header-h) + 24px); }
.summary-steps { margin-top: 20px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); font-size: 14px; color: var(--muted); display: grid; gap: 10px; }
.summary-steps li { display: flex; gap: 12px; }
.summary-steps li b { font-family: var(--serif); color: var(--brass); font-weight: 700; min-width: 20px; }

/* 登录页 */
.auth .wrap { min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; padding-block: clamp(40px, 6vw, 80px); }
.auth-card { width: min(100%, 440px); padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--paper-soft); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 30px; }
.auth-card > p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.auth-card form { margin-top: 28px; display: grid; gap: 18px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.auth-row label { display: flex; align-items: center; gap: 8px; }
.auth-row input { accent-color: var(--green); }
.auth-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid > .quote { position: relative; top: auto; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(2) { border-right: 0; margin-right: 0; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .site-nav, .site-actions .link { display: none; }
  .nav-toggle { display: grid; }
  .site-actions { margin-left: auto; gap: 10px; }
  .site-header .wrap { gap: 16px; }
  .nav-open .site-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49;
    background: var(--paper); padding: 16px var(--gx) 32px; border-top: 1px solid var(--line); overflow: auto;
  }
  .nav-open .site-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 22px; }
  .nav-open .site-nav a::after { display: none; }
  .nav-open .site-nav .nav-extra { display: grid; gap: 12px; margin-top: 24px; }
  .nav-open { overflow: hidden; }

  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-block: 48px 72px; }
  .hero-art { max-width: 520px; margin-top: 8px; }
  .hero-art figcaption { text-align: left; }
  .scroll-hint { display: none; }

  .story .wrap { grid-template-columns: 1fr; gap: 0; }
  .story-visual { top: var(--header-h); height: 42svh; min-height: 300px; background: var(--paper); padding-block: 14px 10px; z-index: 2; }
  .story-frame figure { padding: 20px; }
  .story-frame svg { height: 100%; width: auto; max-width: 100%; }
  .story-steps { padding-block: 0 24px; }
  .chapter { min-height: 0; padding-block: 56px 40px; }
  .chapter:first-child { padding-top: 32px; }

  .spec { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; }
  .price-notes { grid-template-columns: 1fr; gap: 18px; }
  .addon-main { grid-template-columns: 1fr; gap: 18px; }
  .addon-price { text-align: left; }
  .addon-cta .btn { width: 100%; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .toc a { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; margin: 0; }
  .toc a.on { border-color: var(--ink); background: var(--paper-soft); }
  .apply { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .addon { padding: 22px 20px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 46px); }
  .hero-meta { gap: 16px 24px; }
  .hero-meta div { min-width: 40%; }
  .hero-cta .btn { flex: 1 1 auto; }
  .chapter h3 { font-size: 28px; }
  .spec-list div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .seg { width: 100%; }
  .seg button { padding: 8px 6px; font-size: 14px; }
  .plan { grid-template-columns: 1fr; padding: 22px 20px; }
  .plan-price { text-align: left; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
  .quote { padding: 22px 20px; }
  .quote-total dd { font-size: 30px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; margin-right: 0; padding: 22px 0; border-bottom: 1px dashed var(--line-strong); }
  .steps li:last-child { border-bottom: 0; }
  .steps .no { font-size: 32px; }
  .cases { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; padding: 18px 0; }
  .faq details p { padding-right: 24px; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  .form-grid { grid-template-columns: 1fr; }
}
/* ---- 申请须知与表单（定价更新） ---- */
.notice{grid-column:1/-1;max-width:820px;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:clamp(22px,4vw,40px)}
.notice h3{font-size:17px;margin:22px 0 6px;color:var(--ink)}.notice p{color:var(--ink-2);margin:0}.notice a{color:var(--ink);text-decoration:underline}
.notice-gate{background:var(--paper-deep);border-radius:10px;padding:10px 14px;margin:12px 0 4px!important}
.notice-form{margin-top:26px;border-top:1px solid var(--line);padding-top:20px;display:grid;gap:12px}
.check-row{display:flex;gap:10px;align-items:flex-start;color:var(--ink);line-height:1.6}.check-row input{margin-top:5px;width:18px;height:18px;flex:none;accent-color:#0071e3}
.notice-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}.btn[disabled]{opacity:.45;cursor:not-allowed}
.apply-step{display:contents}.apply-step[hidden]{display:none}
.choice-list{display:grid;gap:10px}.choice-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:14px}
.choice{display:grid;grid-template-columns:auto 1fr auto;gap:2px 10px;align-items:center;border:1px solid var(--line-strong);border-radius:12px;padding:14px 16px;background:var(--card);cursor:pointer}
.choice input{accent-color:#0071e3;grid-row:span 2}.choice span{grid-column:2;color:var(--muted);font-size:14px}.choice em{grid-row:1/span 2;grid-column:3;font-style:normal;font-weight:600;color:var(--ink)}
.choice:has(input:checked){border-color:#0071e3;box-shadow:0 0 0 1px #0071e3}.choice.sm{grid-template-columns:auto 1fr}
.field-hint{color:var(--muted);font-size:14px;margin:10px 0 0}.form-err{color:#9a2f22;font-size:14px;min-height:1em}
.quote-rows s{color:var(--muted)}
@media(max-width:600px){.choice{grid-template-columns:auto 1fr}.choice em{grid-row:auto;grid-column:2}}
.plan.is-disabled,.choice.is-disabled{opacity:.5;cursor:not-allowed;filter:grayscale(1)}.plan.is-disabled:hover{transform:none;box-shadow:none}
.tag--off{background:var(--paper-deep);color:var(--muted)}.plan-price b.off{font-size:20px;color:var(--muted)}

/* story-art */
/* 首屏下方滚动插画：section 220vh，内部 sticky 舞台 100vh。
   默认样式即最终状态（无 JS / 减弱动态时直接可见），JS 仅以内联 transform/opacity 驱动。 */
.story-art {
  --sa-hand-w: clamp(180px, 32vw, 480px);
  --sa-dev-w: clamp(210px, 30vw, 400px);
  --sa-lift: clamp(24px, 4vw, 56px);
  --sa-cy: calc(50% + var(--header-h) / 2);
  position: relative; height: 220vh; height: 220svh;
  background: var(--paper); overflow-x: clip;
}
.story-art-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden;
}
.story-art-stage::before {
  content: ""; position: absolute; left: 50%; top: var(--sa-cy); z-index: 0;
  width: calc(var(--sa-dev-w) * 2.3); aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, calc(-50% - var(--sa-lift)));
  background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.sa-hand {
  position: absolute; top: var(--sa-cy); z-index: 1;
  width: var(--sa-hand-w); height: auto;
  margin-top: calc(var(--sa-hand-w) * -0.06 - var(--sa-lift));
  will-change: transform;
}
.sa-hand--l { left: calc(50% - var(--sa-hand-w) * 1.06); }
.sa-hand--r { right: calc(50% - var(--sa-hand-w) * 1.06); }
.sa-device {
  position: absolute; left: 50%; top: var(--sa-cy); z-index: 2;
  width: var(--sa-dev-w);
  margin-left: calc(var(--sa-dev-w) / -2);
  margin-top: calc(var(--sa-dev-w) * -0.325 - var(--sa-lift));
  will-change: transform, opacity;
}
.sa-device svg { display: block; width: 100%; height: auto; }
.sa-label {
  position: absolute; left: 0; right: 0; z-index: 3;
  top: calc(var(--sa-cy) - var(--sa-lift) + var(--sa-hand-w) * .45);
  padding-inline: var(--gx); text-align: center;
  will-change: transform, opacity;
}
.sa-name { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.3; letter-spacing: .02em; color: var(--ink); }
.sa-name b { font-weight: 800; }
.sa-sub { margin: 8px 0 0; font-size: clamp(12px, 1.1vw, 14px); letter-spacing: .12em; color: var(--muted); }
@media (max-width: 760px) {
  .story-art { --sa-hand-w: clamp(150px, 44vw, 220px); --sa-dev-w: clamp(190px, 56vw, 260px); }
  .sa-sub { letter-spacing: .06em; }
}

/* remote-dev */
.remote-dev-figure { margin: 0; }
.remote-dev-note { font-size: 13px; color: var(--faint); margin-top: 18px; }
@media (max-width: 760px) {
  .remote-dev-note { font-size: 12.5px; }
}

/* remote-dev: three-column net diagram */
.net {
  display: grid; grid-template-columns: 1fr auto 1.2fr auto 1fr; align-items: center; gap: 18px;
  max-width: 1180px; margin: 0 auto; padding: 28px 24px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--paper); box-shadow: var(--shadow);
}
.net-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.net-h {
  margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brass); text-align: center;
}
.net-node {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); color: var(--ink); font-size: 14.5px; line-height: 1.45; text-align: center;
  overflow-wrap: anywhere;
}
.net-node small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.net-node.primary { border: 1.5px solid var(--green); box-shadow: inset 0 0 0 1px var(--brass-soft); font-weight: 600; }
.net-node.primary small { font-weight: 400; }
.net-flow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.net-flow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); opacity: .35; }
.net-flow .dot:nth-child(2) { opacity: .6; }
.net-flow .dot:nth-child(3) { opacity: .9; }
@media (max-width: 900px) {
  .net { grid-template-columns: 1fr; gap: 14px; padding: 20px 16px; border-radius: var(--radius); }
  .net-flow { flex-direction: row; gap: 8px; }
}

/* ===== 安全保障 ===== */
.sec-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sec-card { background: var(--card); padding: 28px 24px 30px; }
.sec-card__no { display: block; font-size: 13px; letter-spacing: .08em; color: #0071e3; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.sec-card h3 { font-size: 18px; margin: 0 0 8px; color: var(--ink); }
.sec-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
#security .spec-note { margin-top: 20px; }
@media (max-width: 960px) { .sec-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sec-cards { grid-template-columns: 1fr; } }

/* ===== 旧版 Telegram 悬浮入口 .tg-float：其余页面迁移到 .contact-float 后可整段删除 ===== */
.tg-float, .tg-float:visited {
  position: fixed; z-index: 40;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 18px 0 14px; border-radius: 999px;
  background: var(--green); color: var(--on-dark);
  font-size: 14px; font-weight: 500; letter-spacing: .04em; line-height: 1; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(22, 43, 69, .08), 0 10px 24px -8px rgba(7, 86, 180, .5);
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tg-float svg { width: 20px; height: 20px; flex: none; }
.tg-float:hover { background: var(--green-deep); color: var(--on-dark); transform: translateY(-2px); box-shadow: 0 2px 4px rgba(22, 43, 69, .1), 0 14px 28px -8px rgba(7, 86, 180, .55); }
.tg-float:active { background: var(--ink); transform: translateY(0); }
.tg-float:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 999px; }
@media (max-width: 640px) {
  .tg-float { width: 48px; height: 48px; padding: 0; gap: 0; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .tg-float svg { width: 22px; height: 22px; }
  .tg-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .tg-float { transition: none; }
  .tg-float:hover, .tg-float:active { transform: none; }
}

/* ===== 悬浮联系组件 .contact-float（上：Telegram 首选、实心主色胶囊 · 下：备用微信，半透明白底弱化） =====
   标记可原样复制到任意页面；JS 见 app.js 末尾。
   DOM 顺序：Telegram 链接 → 微信按钮 → 微信模态（.contact-float__modal，默认 hidden）。
   两颗按钮竖向排列、右对齐；容器就是两颗按钮的包围盒（JS 防遮挡用它算重叠）：
     桌面：right 22 / bottom 22，微信 36 高 + 间距 14 → Telegram 底边离视口底 72px。
     手机：right 16 / bottom 16，居中对齐：Telegram 56 圆、微信 40 圆（右侧留白 24）、Telegram 底边 64px。
   --cf-offset 由 JS 写入：页面若有底部固定下单条，组件整体上移避让。 */
.contact-float {
  --cf-offset: 0px;
  position: fixed; z-index: 40; /* 低于 .site-header(50) 及手机导航菜单(49)，远低于下单确认弹窗(1000) */
  right: calc(22px + env(safe-area-inset-right, 0px));
  bottom: calc(22px + var(--cf-offset) + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
  transition: opacity .25s var(--ease), visibility 0s linear 0s;
}
/* 微信模态打开时整组提到页面内容与页头之上（仍低于下单确认弹窗 1000） */
.contact-float.is-open { z-index: 900; }
/* 与下单按钮重叠 / 下单弹窗打开期间：淡出且不可点 */
.contact-float.is-hidden,
.sg-modal-open .contact-float {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), visibility 0s linear .2s;
}
.contact-float__btn, .contact-float__btn:visited {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 16px 0 13px; margin: 0; border: 1px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .04em; line-height: 1; white-space: nowrap;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-float__btn svg { width: 20px; height: 20px; flex: none; }
.contact-float__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* Telegram：首选，最醒目，实心松绿胶囊 */
.contact-float__btn--tg, .contact-float__btn--tg:visited {
  height: 54px; padding: 0 22px 0 16px;
  font-size: 16px; font-weight: 600;
  background: var(--green); border-color: var(--green); color: var(--on-dark);
  box-shadow: 0 1px 2px rgba(22, 43, 69, .08), 0 10px 22px -8px rgba(7, 86, 180, .5);
}
.contact-float__btn--tg svg { width: 22px; height: 22px; }
.contact-float__btn--tg:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--on-dark); transform: translateY(-2px); box-shadow: 0 2px 4px rgba(22, 43, 69, .1), 0 14px 26px -8px rgba(7, 86, 180, .55); }
.contact-float__btn--tg:active { background: var(--ink); border-color: var(--ink); transform: translateY(0); }
/* 微信：备用，小胶囊、半透明白底 + 细描边、muted 文字 */
.contact-float__btn--wechat {
  height: 36px; padding: 0 14px 0 11px; gap: 6px;
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
  background: rgba(255, 255, 255, .92); border-color: var(--line-strong); color: var(--muted);
  box-shadow: 0 1px 2px rgba(22, 43, 69, .04), 0 4px 10px -6px rgba(22, 43, 69, .12);
}
.contact-float__btn--wechat svg { width: 17px; height: 17px; opacity: .85; }
.contact-float__btn--wechat:hover,
.contact-float__btn--wechat[aria-expanded="true"] { background: #fff; border-color: var(--line-ui); color: var(--ink); }
.contact-float__btn--wechat:active { background: var(--paper-soft); }

/* 微信模态：半透明深色遮罩铺满视口，白色卡片居中。默认 hidden，JS 打开时去掉 hidden 并锁定页面滚动 */
.contact-float__modal {
  position: fixed; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(22, 43, 69, .5);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  animation: cf-modal-in .18s var(--ease) both;
}
.contact-float__modal[hidden] { display: none; }
.contact-float__dialog {
  position: relative; box-sizing: border-box;
  width: 320px; max-width: 100%; padding: 28px 28px 18px;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; /* 横屏矮视口时卡片内滚动 */
  background: #fff; color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 6px rgba(22, 43, 69, .1), 0 28px 60px -16px rgba(22, 43, 69, .45);
  text-align: center;
  animation: cf-dialog-in .22s var(--ease) both;
}
.contact-float__dialog::before { /* 左上绿色短线，呼应下单弹窗 */
  content: ""; position: absolute; top: 0; left: 28px; width: 36px; height: 2px;
  background: var(--green); border-radius: 0 0 2px 2px;
}
@keyframes cf-modal-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes cf-dialog-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.contact-float__close {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin: -4px -6px -4px 0; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.contact-float__close svg { width: 16px; height: 16px; }
.contact-float__close:hover { background: var(--paper-deep); color: var(--ink); }
.contact-float__close:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.contact-float__dialog .contact-float__close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; margin: 0; }
.contact-float__dialog .contact-float__close svg { width: 18px; height: 18px; }
.contact-float__dialog picture { display: block; }
.contact-float__dialog img {
  display: block; width: 220px; height: 220px; margin: 0 auto; padding: 6px; box-sizing: border-box;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
.contact-float__title { font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--ink-2); }
.contact-float__dialog .contact-float__title { display: block; margin: 16px 0 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.contact-float__note { margin: 8px 0 0; font-size: 12px; line-height: 1.55; text-align: center; color: var(--muted); }
.contact-float__dialog .contact-float__note { margin-top: 6px; font-size: 13px; }
.contact-float__note a, .contact-float__note a:visited { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.contact-float__note a:hover { color: var(--green-deep); }

/* 页脚底部栏为组件留位（组件高 54 + 14 + 36 = 104px + 下边距 22px） */
.footer-bar .wrap { padding-bottom: calc(18px + 118px); }

@media (max-width: 640px) {
  .contact-float {
    right: calc(16px + env(safe-area-inset-right, 0px));
    bottom: calc(16px + var(--cf-offset) + env(safe-area-inset-bottom, 0px));
    align-items: center; gap: 8px; /* 两圆钮中心对齐；微信钮右侧留白 = (56-40)/2 + 16 = 24px */
  }
  .contact-float .contact-float__btn { padding: 0; gap: 0; }
  .contact-float .contact-float__btn--tg { width: 56px; height: 56px; }      /* Telegram：大圆钮，底边离视口底 16+40+8 = 64px */
  .contact-float .contact-float__btn--wechat { width: 40px; height: 40px; }  /* 备用微信：小圆钮 */
  .contact-float__btn--tg svg { width: 26px; height: 26px; }
  .contact-float__btn--wechat svg { width: 19px; height: 19px; }
  .contact-float__btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* 文字视觉隐藏，仍可被读屏读到 */
  .contact-float__modal { padding: 16px; }
  .contact-float__dialog { width: min(320px, 100%); }
  .footer-bar .wrap { padding-bottom: calc(18px + 120px + env(safe-area-inset-bottom, 0px)); } /* 56 + 8 + 40 圆钮 + 下边距 16 */
}
@media (prefers-reduced-motion: reduce) {
  .contact-float, .contact-float__btn, .contact-float__close { transition: none; }
  .contact-float__modal, .contact-float__dialog { animation: none; }
  .contact-float__btn:hover, .contact-float__btn:active { transform: none; }
}

/* ---- 旧版微信悬浮卡片 .contact-float__card（挂在组件左侧、hover/点击展开）：
   仍用于 404 / login / pay-success / pay-cancel / refund / terms；这些页面迁移到 .contact-float__modal 后可整段删除 ---- */
.contact-float__card {
  position: absolute; right: calc(100% + 12px); bottom: 0; z-index: 1;
  box-sizing: border-box; width: 190px; padding: 12px 13px 12px;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateX(6px); pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.contact-float__card::before {
  content: ""; position: absolute; top: 0; left: 13px; width: 28px; height: 2px;
  background: var(--green); border-radius: 0 0 2px 2px;
}
.contact-float__card::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 12px; }
.contact-float.is-open .contact-float__card { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) {
  .contact-float:not(.is-hidden) .contact-float__btn--wechat:hover ~ .contact-float__card,
  .contact-float:not(.is-hidden) .contact-float__card:hover { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
}
.contact-float__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.contact-float__card picture { display: block; }
.contact-float__card img {
  display: block; width: 140px; height: 140px; margin: 0 auto; padding: 4px; box-sizing: border-box;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
@media (max-width: 640px) {
  .contact-float__card { right: calc(100% + 10px); }
  .contact-float__card::after { width: 10px; }
}
@media (prefers-reduced-motion: reduce) { .contact-float__card { transition: none; } }

/* ===== 首屏修复：1024–1440 断点标题孤字与参数区对齐 ===== */
@media (min-width: 961px) {
  .hero .wrap { align-items: center; }
  .hero-copy { container-type: inline-size; width: 100%; max-width: 640px; }
  .hero h1 { font-size: clamp(38px, 9cqi, 64px); word-break: normal; text-wrap: wrap; }
  .hero-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
  .hero-meta div { min-width: 0; }
  .hero-meta dd { font-size: clamp(16px, 3.4cqi, 20px); line-height: 1.4; }
  .hero-art { align-self: center; }
}
@media (min-width: 961px) {
  .site-nav a { white-space: nowrap; }
}
@media (min-width: 961px) and (max-width: 1199px) {
  .site-nav { gap: 16px; font-size: 14px; }
}

/* ===== 安全保障卡片：7 张，桌面按 4 + 3 两行铺满，平板 2 列、末卡通栏 ===== */
.sec-cards { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.sec-card { grid-column: span 3; }
.sec-card:nth-child(n+5) { grid-column: span 4; }
@media (max-width: 960px) {
  .sec-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-card, .sec-card:nth-child(n+5) { grid-column: auto; }
  .sec-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .sec-cards { grid-template-columns: 1fr; }
  .sec-card:last-child { grid-column: auto; }
}

/* ===== 实测优势（#proof） =====
   卡片网格 auto-fit：两张并排；只剩一张（ping0 卡片 hidden）时自动收窄并居中。 */
.proof-grid {
  display: grid; justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 640px));
  gap: 16px;
}
.proof-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 30px 28px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.proof-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.proof-card[hidden] { display: none; }
.proof-card__label { font-size: 13px; letter-spacing: .08em; color: var(--green); }
.proof-card__title { font-size: 20px; line-height: 1.4; }
.proof-card__note { display: flex; gap: 8px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.proof-card__note::before { content: "※"; color: var(--brass); flex: none; }

/* 速度卡：居中排版 + 半圆仪表 */
.proof-card--speed { text-align: center; align-items: center; }
.proof-card--speed .proof-card__note { text-align: left; }
.proof-gauge { position: relative; width: min(100%, 300px); margin-top: 6px; }
.proof-gauge svg { width: 100%; height: auto; overflow: visible; }
.proof-gauge__track { fill: none; stroke: var(--line); stroke-width: 12; stroke-linecap: round; }
.proof-gauge__fill {
  fill: none; stroke: var(--green); stroke-width: 12; stroke-linecap: round;
  stroke-dasharray: 70 100; stroke-dashoffset: 70;
  transition: stroke-dashoffset 1.4s var(--ease) .3s;
}
.proof-gauge__ticks { stroke: var(--line-strong); stroke-width: 1.5; stroke-linecap: round; }
.proof-gauge__dot { fill: var(--green); stroke: var(--card); stroke-width: 3; opacity: 0; transition: opacity .4s 1.5s; }
.reveal.in .proof-gauge__fill { stroke-dashoffset: 0; }
.reveal.in .proof-gauge__dot { opacity: 1; }
.proof-gauge__num {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: baseline; justify-content: center; gap: 6px; line-height: 1;
}
.proof-gauge__num b { font-family: var(--serif); font-size: clamp(52px, 6vw, 68px); font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.proof-gauge__num span { font-size: 15px; font-weight: 500; letter-spacing: .08em; color: var(--muted); }
.proof-card__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 14px; color: var(--ink-2); }
.proof-card__facts span { display: inline-flex; align-items: center; gap: 8px; }
.proof-card__facts span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* IP 纯净度卡：字段表 + 截图位（值由人工填入，默认整卡 hidden） */
.proof-fields { border-top: 1px solid var(--line); }
.proof-fields div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.proof-fields dt { font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.proof-fields dd { margin: 0; font-family: var(--serif); font-size: 15px; font-variant-numeric: tabular-nums; text-align: right; color: var(--ink); }
.proof-shot img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.proof-shot img[hidden] { display: none; }
.proof-shot:not(:has(img:not([hidden]))) { display: none; }

@media (max-width: 600px) {
  .proof-card { padding: 24px 20px; }
  .proof-card__title { font-size: 18px; }
  .proof-gauge { width: min(100%, 260px); }
  .proof-gauge__num b { font-size: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .proof-card { transition: none; }
  .proof-card:hover { transform: none; }
  .proof-gauge__fill, .proof-gauge__dot { transition: none; stroke-dashoffset: 0; opacity: 1; }
}

/* ===== 定价卡片库存显示位（由 app.js renderStock 控制，默认 hidden，不显示假库存） ===== */
.plan [data-stock] {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 8px;
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--ink-2);
}
.plan [data-stock][hidden], .plan [data-stock-view][hidden], .plan [data-stock-queue][hidden] { display: none; }
.plan [data-stock]::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.plan [data-stock][data-stock-state="soldout"]::before { background: var(--line-ui); }
.plan [data-stock-count] { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 2px; font-variant-numeric: tabular-nums; }
.plan [data-stock][data-stock-low] [data-stock-count] { color: #d1242f; font-weight: 800; font-size: 17px; }

/* ===== 页脚底部栏：版权行 ===== */
.footer-bar .wrap { align-items: center; }
.footer-legal { line-height: 1.9; }
.footer-note { white-space: nowrap; }
.sg-corp-badge {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: middle;
  margin: 0 6px 0 4px; padding: 1px 9px 1px 7px;
  border: 1px solid var(--line-ui); border-radius: 999px;
  font-size: 11.5px; letter-spacing: .06em; line-height: 1.7; white-space: nowrap;
  color: var(--ink-2); background: transparent; transition: border-color .2s, color .2s;
}
.sg-corp-badge::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.sg-corp-badge:hover { border-color: var(--ink); color: var(--ink); }
.sg-corp-verify { font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (max-width: 600px) {
  .footer-bar .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-note { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .sg-corp-badge { transition: none; }
}

/* ==========================================================================
   Order confirm modal  (.order-confirm-*)
   Created by order-confirm.js; relies on site tokens + existing .btn styles.
   ========================================================================== */

.order-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(22, 43, 69, .46);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .18s ease;
}

.order-confirm-backdrop[hidden] {
  display: none;
}

.order-confirm-backdrop.is-open {
  opacity: 1;
}

.order-confirm-dialog {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 30px 28px 24px;
  background: var(--card, #ffffff);
  color: var(--ink, #1d1d1f);
  border: 1px solid var(--line, #e5e5e8);
  border-radius: var(--radius, 10px);
  box-shadow: var(--shadow, 0 1px 2px rgba(22, 43, 69, .05), 0 12px 32px -12px rgba(22, 43, 69, .14));
  transform: translateY(10px) scale(.985);
  transition: transform .22s cubic-bezier(.2, .7, .2, 1);
  outline: none;
}

/* a short green rule at the top-left, like a pen mark on paper */
.order-confirm-dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 36px;
  height: 2px;
  background: var(--green, #0071e3);
  border-radius: 0 0 2px 2px;
}

.order-confirm-backdrop.is-open .order-confirm-dialog {
  transform: none;
}

.order-confirm-title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: .01em;
  color: var(--ink, #1d1d1f);
}

.order-confirm-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted, #6e6e73);
}

.order-confirm-link {
  color: var(--green, #0071e3);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(8, 101, 210, .45);
  white-space: nowrap;
}

.order-confirm-link:hover {
  text-decoration-color: currentColor;
}

.order-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line, #e5e5e8);
}

.order-confirm-actions .btn {
  margin: 0;
}

.order-confirm-dialog :focus-visible {
  outline: 2px solid var(--green, #0071e3);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .order-confirm-backdrop {
    padding: 16px;
  }

  .order-confirm-dialog {
    padding: 26px 22px 20px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
  }

  .order-confirm-dialog::before {
    left: 22px;
  }

  .order-confirm-title {
    font-size: 20px;
  }

  /* stack: confirm on top, cancel below, both full width */
  .order-confirm-actions {
    flex-direction: column-reverse;
  }

  .order-confirm-actions .btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .order-confirm-backdrop,
  .order-confirm-dialog {
    transition: none;
  }
}

/* ==========================================================================
   Contact: Telegram first, WeChat as backup (2026-10-18c)
   .footer-tg          footer: solid primary Telegram link (before .wechat-mini)
   .wechat-mini        footer: 48px backup QR, enlarges on hover / tap / keyboard
   .wechat-block       help.html #contact: 112px backup QR beside a muted note
   .order-confirm-tg   order confirm modal: primary Telegram button
   .order-confirm-wechat   order confirm modal: 88px backup QR beside a muted note
   ========================================================================== */

/* ---- footer: Telegram first ---- */
.site-footer .footer-tg, .site-footer .footer-tg:visited {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 9px 16px 9px 13px;
  border: 1px solid var(--green); border-radius: 999px;
  background: var(--green); color: var(--on-dark);
  font-size: 14px; font-weight: 600; line-height: 1.3; letter-spacing: .02em; white-space: nowrap;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.site-footer .footer-tg svg { width: 18px; height: 18px; flex: none; }
.site-footer .footer-tg:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--on-dark); transform: translateY(-1px); }
.site-footer .footer-tg:active { background: var(--ink); border-color: var(--ink); color: var(--on-dark); transform: none; }
.site-footer .footer-tg:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---- footer: small backup QR + popover ---- */
.wechat-mini {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  max-width: 320px;
}
.wechat-mini__btn {
  flex: none;
  display: block;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  padding: 2px;
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  opacity: .8;
  cursor: zoom-in;
  transition: border-color .2s, box-shadow .2s, opacity .2s;
}
.wechat-mini__btn img,
.wechat-mini__pop img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
}
.wechat-mini__btn:hover,
.wechat-mini.is-open .wechat-mini__btn { border-color: var(--ink); box-shadow: var(--shadow); opacity: 1; }
.wechat-mini__btn:focus-visible { opacity: 1; }
.wechat-mini.is-open .wechat-mini__btn { cursor: zoom-out; }
.wechat-mini__text { display: grid; gap: 1px; font-size: 12px; line-height: 1.55; color: var(--muted); }
.wechat-mini__text strong { color: var(--muted); font-weight: 500; }
.wechat-mini__pop {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  z-index: 30;
  box-sizing: border-box;
  width: 212px;
  margin: 0;
  padding: 10px 10px 8px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.wechat-mini__pop figcaption { margin-top: 6px; text-align: center; font-size: 12px; letter-spacing: .02em; color: var(--muted); }
.wechat-mini.is-open .wechat-mini__pop {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
@media (hover: hover) and (pointer: fine) {
  .wechat-mini:hover .wechat-mini__pop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}

/* ---- help.html #contact: backup WeChat, muted ---- */
.prose .wechat-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 14px 0 0;
  padding: 14px 18px;
  background: transparent;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.prose .wechat-block picture { flex: none; }
.prose .wechat-block img {
  display: block;
  width: 112px;
  height: 112px;
  padding: 3px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.prose .wechat-block figcaption { display: grid; gap: 4px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.prose .wechat-block figcaption strong { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink-2); }
@media (max-width: 560px) {
  .prose .wechat-block { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px; }
}

/* ---- order confirm modal: Telegram button first ---- */
.order-confirm-tg, .order-confirm-tg:visited {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 10px 18px 10px 14px;
  border: 1px solid var(--green, #0071e3); border-radius: 999px;
  background: var(--green, #0071e3); color: var(--on-dark, #f5f5f7);
  font-size: 15px; font-weight: 600; line-height: 1.3; white-space: nowrap;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.order-confirm-tg svg { width: 18px; height: 18px; flex: none; }
.order-confirm-tg:hover { background: var(--green-deep, #0077ed); border-color: var(--green-deep, #0077ed); color: var(--on-dark, #f5f5f7); transform: translateY(-1px); }
.order-confirm-tg:active { background: var(--ink, #1d1d1f); border-color: var(--ink, #1d1d1f); transform: none; }
.order-confirm-tg:focus-visible { outline: 2px solid var(--ink, #1d1d1f); outline-offset: 3px; }

/* ---- order confirm modal: backup WeChat, muted ---- */
.order-confirm-wechat {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 12px;
  background: transparent;
  border: 1px dashed var(--line-strong, #86868b);
  border-radius: var(--radius, 10px);
}
.order-confirm-wechat picture { flex: none; }
.order-confirm-wechat img {
  display: block;
  width: 88px;
  height: 88px;
  padding: 2px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--line, #e5e5e8);
  border-radius: 6px;
}
.order-confirm-wechat-text { display: grid; gap: 2px; min-width: 0; font-size: 13px; line-height: 1.55; color: var(--muted, #6e6e73); }
.order-confirm-wechat-text strong { font-size: 13px; font-weight: 500; color: var(--ink-2, #424245); }
@media (max-width: 480px) {
  .order-confirm-wechat { gap: 10px; padding: 10px; }
  .order-confirm-tg { width: 100%; box-sizing: border-box; justify-content: center; white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .wechat-mini__btn, .wechat-mini__pop { transition: none; }
}

/* ===== 首屏转化（2026-10-18b）：价格 + 立即订购 + Telegram 咨询，三者在 1280×800 / 390×844 首屏内可见 ===== */
.hero-offer { margin-top: 32px; }
.hero-price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; font-family: var(--serif); line-height: 1.1; }
.hero-price b { font-size: clamp(30px, 3vw, 38px); font-weight: 700; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.hero-price small { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.hero-offer .hero-cta { margin-top: 0; align-items: center; }
.hero-contact { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.hero-contact a { font-weight: 500; }
.hero-meta { margin-top: 36px; }
@media (max-width: 600px) {
  .hero .wrap { padding-block: 32px 48px; }
  .hero .status { margin-bottom: 20px; }
  .hero h1 { font-size: clamp(32px, 9.5vw, 40px); }
  .hero .lead { margin-top: 18px; font-size: 16px; line-height: 1.75; }
  .hero-offer { margin-top: 24px; }
  .hero-price { margin-bottom: 12px; }
  .hero-price b { font-size: 32px; }
  .hero-offer .hero-cta { gap: 6px 14px; }
  .hero-offer .hero-cta .btn--green { flex: 1 1 100%; }
  .hero-offer .hero-cta .btn--text { flex: 0 0 auto; padding-inline: 0; }
  .hero-contact { margin-top: 10px; }
  .hero-meta { margin-top: 28px; padding-top: 18px; gap: 12px 20px; }
  .hero-meta dd { font-size: 17px; }
  .hero-art { display: none; } /* 手机首屏只保留文案与下单入口，地球示意图不再占位 */
}

/* ===== 最新文章 + 帮助入口（#articles）：3 张文章卡 + 1 张帮助卡 ===== */
.articles { border-top: 1px solid var(--line); }
.articles-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.articles-head .sec-head { margin-bottom: 0; }
.articles-head .btn--text { margin-bottom: 4px; padding-inline: 0; }
.articles-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.article-card, .article-card:visited {
  display: flex; flex-direction: column; min-width: 0; padding: 26px; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); color: var(--ink); }
.article-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.article-card time { font-size: 12px; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.article-card h3 { margin-top: 12px; font-size: 18px; line-height: 1.45; overflow-wrap: break-word; }
.article-card p { margin-top: 10px; font-size: 14.5px; color: var(--muted); flex: 1; overflow-wrap: break-word; }
.article-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--green); }
.article-card:hover .arrow { transform: translateX(3px); }
.help-card { display: flex; flex-direction: column; min-width: 0; padding: 26px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--paper-soft); }
.help-card h3 { font-size: 18px; }
.help-card ul { margin-top: 12px; flex: 1; }
.help-card li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink); transition: color .2s; }
.help-card li a::after { content: "→"; color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.help-card li a:hover { color: var(--green); }
.help-card li a:hover::after { color: var(--green); transform: translateX(3px); }
.help-card .btn--text { align-self: flex-start; margin-top: 14px; padding-inline: 0; }
@media (max-width: 1199px) { .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* 中屏 2×2：3 文章卡 + 帮助卡 */
@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; }
  .article-card, .help-card { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .article-card, .article-card:hover, .help-card li a::after { transition: none; transform: none; }
}

/* 自有 Mac 托管：暂停接单 */
.plan.is-paused{opacity:.5;filter:grayscale(1);pointer-events:none;cursor:not-allowed}
.plan-head .tag--paused{background:var(--paper-deep);color:var(--muted)}

/* 帮助页：行内代码与命令块 */
.doc > .prose { min-width: 0; }
.prose code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .92em; padding: 1px 6px;
  background: var(--paper-deep); border-radius: 5px; color: var(--ink);
}
.prose pre.code-block {
  margin-top: 14px; padding: 14px 16px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px; line-height: 1.6; color: var(--ink);
  background: var(--paper-soft); border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto; white-space: pre; max-width: 100%;
}
.prose pre.code-block code { background: none; padding: 0; border-radius: 0; font-size: inherit; }

/* ===== 实拍：全新 Mac mini M6 现货（#stock-promo） ===== */
/* 编辑长文式：居中大标题 → 全幅大图 → 四卖点 → 三张 4:5 照片 → 居中价格与 CTA */
.stock { display: flex; flex-direction: column; align-items: stretch; }

/* 标题区：居中，宽度收窄，留白充足（不加 reveal，保证可见） */
.stock-head { max-width: 780px; margin: 0 auto; text-align: center; }
.stock-eyebrow { justify-content: center; margin-bottom: 22px; }
.stock-eyebrow::after { content: ""; width: 22px; height: 1px; background: var(--green); }
.stock-title {
  font-size: clamp(34px, 4.6vw, 60px); line-height: 1.18; letter-spacing: -.005em;
  color: var(--ink); text-wrap: balance;
}
.stock-br { display: inline; }
.stock-lead {
  margin: 22px auto 0; max-width: 620px;
  font-size: clamp(16px, 1.3vw, 18px); line-height: 1.9; color: var(--ink-2);
}

/* 全幅大图：16:9 宽幅裁切，大圆角卡片 */
.stock-hero { margin: clamp(40px, 5vw, 64px) 0 0; }
.stock-hero__img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 82%;
  border-radius: clamp(14px, 1.6vw, 22px); background: var(--paper-deep);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.stock-hero__cap {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 14px; padding-inline: 4px;
  font-size: 13px; letter-spacing: .04em; color: var(--faint);
}

/* 四个卖点：一行四列文字卡 */
.stock-points {
  list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px);
}
.stock-point {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(20px, 2.2vw, 28px) clamp(18px, 2vw, 26px) clamp(22px, 2.4vw, 30px);
  min-width: 0;
}
.stock-point__no {
  display: block; font-family: var(--serif); font-size: 13px; letter-spacing: .12em;
  color: var(--brass); margin-bottom: 18px; font-variant-numeric: tabular-nums;
}
.stock-point h3 { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.4; margin: 0 0 8px; color: var(--ink); text-wrap: balance; }
.stock-point p { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--muted); }

/* 三张照片：统一 4:5 裁切 */
.stock-strip {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px);
}
.stock-photo { margin: 0; min-width: 0; }
.stock-photo__img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 16px; background: var(--paper-deep); border: 1px solid var(--line);
}
.stock-photo__img--row  { object-position: 50% 55%; }
.stock-photo__img--grid { object-position: 50% 42%; }
.stock-photo__img--bags { object-position: 50% 48%; }
.stock-photo__cap { margin-top: 10px; padding-inline: 4px; font-size: 13px; letter-spacing: .04em; color: var(--faint); }

/* 价格与 CTA：居中 */
.stock-offer {
  margin-top: clamp(44px, 5.5vw, 72px); padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
}
.stock-price {
  margin: 0; display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 8px 10px;
  font-family: var(--serif); color: var(--ink);
}
.stock-price b { font-size: clamp(40px, 4.2vw, 56px); line-height: 1; font-weight: 700; letter-spacing: -.015em; }
.stock-price small { font-family: var(--sans); font-size: 15px; color: var(--muted); }
.stock-price__tag {
  font-family: var(--sans); font-size: 13px; letter-spacing: .06em; color: var(--brass);
  background: var(--brass-soft); border-radius: 999px; padding: 5px 12px; align-self: center;
}

/* 平板：卖点 2×2，照片仍三列 */
@media (max-width: 900px) {
  .stock-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 手机：标题不强制换行；大图改 4:3 保留全图；三张照片横向滑动（每张约 72vw） */
@media (max-width: 600px) {
  .stock-br { display: none; }
  .stock-title { font-size: clamp(30px, 8.4vw, 36px); line-height: 1.25; }
  .stock-lead { font-size: 15.5px; line-height: 1.85; }
  .stock-hero__img { aspect-ratio: 4 / 3; object-position: 50% 50%; border-radius: 14px; }
  .stock-hero__cap { font-size: 12px; margin-top: 12px; }
  .stock-points { gap: 10px; }
  .stock-point { border-radius: 14px; padding: 18px 16px 20px; }
  .stock-point__no { margin-bottom: 12px; }
  .stock-point h3 { font-size: 16px; }
  .stock-point p { font-size: 13.5px; line-height: 1.7; }
  .stock-strip {
    display: flex; gap: 12px;
    margin-inline: calc(-1 * var(--gx)); padding-inline: var(--gx);
    overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gx); scrollbar-width: none;
  }
  .stock-strip::-webkit-scrollbar { display: none; }
  .stock-photo { flex: 0 0 72vw; max-width: 320px; scroll-snap-align: start; }
  .stock-photo__img { border-radius: 14px; }
  .stock-offer { gap: 18px; }
  .stock-offer .btn { width: 100%; max-width: 360px; }
  .stock-price b { font-size: 42px; }
}
/* 友情链接 */
.site-footer .footer-friends a { overflow-wrap: anywhere; }
.site-footer .wrap.wrap--friends { grid-template-columns: 1fr; padding-block: 40px 20px; }

/* 文章页：相关文章 */
.related-articles { margin: 40px 0 28px; padding: 28px 28px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-soft); }
.related-articles h2 { font-size: 22px; margin: 0 0 14px; }
.related-articles ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.related-articles li { margin: 0; }
.related-articles a { color: var(--green-deep); font-weight: 500; }
.related-articles a:hover { color: var(--ink); }


/* 搭售：Mac mini M6 + Claude Team Premium 价格拆分 */
.plan .bundle-breakdown li{display:flex;justify-content:space-between;gap:12px}
.plan .bundle-breakdown li b{font-weight:600;font-variant-numeric:tabular-nums}
.plan--partner { margin-top: 16px; cursor: default; }

/* ===== 顶部导航防挤压（2026-10-24） ===== */
.site-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; white-space: nowrap; }
.site-actions .link, .site-actions .btn, .site-nav a { white-space: nowrap; }
.brand { flex-shrink: 0; }
.site-nav { min-width: 0; }
@media (min-width: 1100px) and (max-width: 1359px) {
  .site-header .wrap { gap: 24px; }
  .site-nav { gap: 18px; font-size: 14px; }
}
@media (max-width: 1099px) {
  .site-nav, .site-actions .link { display: none; }
  .nav-toggle { display: grid; }
  .site-actions { margin-left: auto; gap: 10px; }
  .site-header .wrap { gap: 16px; }
  .nav-open .site-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49;
    background: var(--paper); padding: 16px var(--gx) 32px; border-top: 1px solid var(--line); overflow: auto;
  }
  .nav-open .site-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 22px; }
  .nav-open .site-nav a::after { display: none; }
  .nav-open .site-nav .nav-extra { display: grid; gap: 12px; margin-top: 24px; }
  .nav-open .site-nav .nav-extra a { border-bottom: 0; font-family: inherit; font-size: 16px; text-align: center; }
}
/* backdrop-filter 会让 fixed 菜单被困在 68px 的 header 内，菜单打开时去掉 */
.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
.plan--partner .btn { grid-column: 1 / -1; margin-top: 14px; }
.plan--partner:hover { transform: none; }
/* fix2 */
.pricing-grid .plan-cards + .plan--partner, .plan.plan--partner { margin-top: 16px !important; }
.site-nav a.nav-hot, .nav-open .site-nav a.nav-hot { color: #c62828; font-weight: 700; white-space: nowrap; }
.site-nav a.nav-hot::after { background: #c62828; }

/* ===== 首页语言选择 ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.locale-select { display: inline-flex; align-items: center; flex: 0 0 auto; }
.locale-select select { appearance: none; max-width: 142px; height: 36px; padding: 0 26px 0 10px; border: 1px solid var(--line-ui); border-radius: 7px; color: var(--ink-2); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23666' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 8px center; font: inherit; font-size: 13px; cursor: pointer; }
.locale-select select:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
@media (max-width: 1099px) {
  .locale-select select { max-width: 112px; height: 34px; padding-left: 8px; font-size: 12px; }
  .site-actions { gap: 8px; }
  .site-actions > .btn { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 430px) {
  .locale-select select { max-width: 96px; }
  .site-actions > .btn { display: none; }
}

/* ===== 顶部导航：主入口 + 更多，避免与操作区重叠 ===== */
@media (min-width: 1360px) {
  .site-nav--home { gap: 18px; }
}
.site-actions { gap: 12px; }
.locale-select select { max-width: 124px; }
.nav-more { position: relative; flex: 0 0 auto; }
.nav-more__toggle { display: inline-flex; align-items: center; gap: 5px; padding: 4px 0; border: 0; color: var(--ink-2); background: transparent; font: inherit; white-space: nowrap; cursor: pointer; }
.nav-more__toggle:hover, .nav-more.is-open .nav-more__toggle { color: var(--ink); }
.nav-more__chevron { display: inline-block; font-size: 15px; line-height: 1; transition: transform .2s var(--ease); }
.nav-more.is-open .nav-more__chevron { transform: rotate(180deg); }
.nav-more__menu { position: absolute; top: calc(100% + 14px); right: 0; z-index: 2; display: grid; min-width: 176px; padding: 8px; border: 1px solid var(--line-ui); border-radius: 10px; background: var(--paper); box-shadow: 0 14px 34px rgba(22, 43, 69, .12); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-5px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s; }
.nav-more.is-open .nav-more__menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
.nav-more__menu a { display: block; padding: 10px 12px; border-radius: 6px; line-height: 1.35; }
.nav-more__menu a::after { display: none; }
.nav-more__menu a:hover { background: var(--paper-deep); }
@media (max-width: 1099px) {
  .nav-more { display: contents; }
  .nav-more__toggle { display: none; }
  .nav-more__menu { display: contents; position: static; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: none; }
  .nav-more__menu a { padding: 16px 0; }
}

/* ---------- 2026-11-11 与新版首页统一的收尾：标题字重、胶囊按钮、白色毛玻璃顶栏 ---------- */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.012em; }
.brand, .num, .plan-price b, .quote-total dd, .hero-meta dd { font-weight: 600; letter-spacing: 0; }
.btn { border-radius: 999px; font-weight: 500; }
.btn:not(.btn--ghost):not(.btn--text), .btn:not(.btn--ghost):not(.btn--text):visited { background: var(--green); border-color: var(--green); }
.btn:not(.btn--ghost):not(.btn--text):active { background: var(--green-deep); border-color: var(--green-deep); }
h1, h2, h3, .prose, .post-card { overflow-wrap: anywhere; }
.site-header { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.doc-link { min-width: 0; max-width: 100%; }
.doc-link > div { min-width: 0; }
.doc-link h3, .doc-link p { overflow-wrap: anywhere; }

/* ---------- 2026-11-11 联系方式改版：毛玻璃小面板，Telegram / 微信各一行，品牌色圆形图标 ----------
   毛玻璃画在 ::before 上，不放在容器本身：容器一旦有 backdrop-filter，里面 fixed 定位的二维码弹窗会被它框住。 */
.contact-float { gap: 2px; padding: 6px; align-items: stretch; border-radius: 20px; }
.contact-float::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(22, 43, 69, .12);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 12px 32px -12px rgba(22, 43, 69, .32), 0 1px 2px rgba(22, 43, 69, .06);
}
.contact-float .contact-float__btn, .contact-float .contact-float__btn:visited {
  display: flex; align-items: center; justify-content: flex-start; gap: 10px;
  width: auto; height: auto; min-height: 0; padding: 6px 14px 6px 6px;
  border: 0; border-radius: 14px; background: transparent; box-shadow: none; transform: none;
  color: #1d1d1f; font-size: 13.5px; font-weight: 600; line-height: 1.25; white-space: nowrap; text-align: left; text-decoration: none; cursor: pointer;
}
.contact-float .contact-float__btn:hover, .contact-float .contact-float__btn:active,
.contact-float .contact-float__btn--wechat[aria-expanded="true"] { background: rgba(22, 43, 69, .07); border: 0; color: #1d1d1f; transform: none; }
.contact-float .contact-float__btn:focus-visible { outline: 2px solid #0071e3; outline-offset: 1px; }
.contact-float .contact-float__btn svg { box-sizing: border-box; flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 50%; color: #fff; opacity: 1; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.contact-float .contact-float__btn:hover svg { transform: scale(1.08); }
.contact-float .contact-float__btn--tg svg { background: linear-gradient(180deg, #3bbcf6, #1c93d2); box-shadow: 0 4px 10px -4px rgba(28, 147, 210, .8); }
.contact-float .contact-float__btn--wechat svg { background: linear-gradient(180deg, #2bd46f, #07b457); box-shadow: 0 4px 10px -4px rgba(7, 180, 87, .8); }
.contact-float .contact-float__btn span { display: block; }
.contact-float .contact-float__btn span::after { display: block; margin-top: 1px; font-size: 11px; font-weight: 400; color: #6e6e73; }
.contact-float .contact-float__btn--tg span::after { content: "@singatao · 首选"; }
.contact-float .contact-float__btn--wechat span::after { content: "点开看二维码"; }
@media (max-width: 640px) {
  .contact-float { padding: 5px; gap: 4px; border-radius: 999px; align-items: center; }
  .contact-float .contact-float__btn.contact-float__btn--tg, .contact-float .contact-float__btn.contact-float__btn--wechat { width: auto; height: auto; padding: 0; border-radius: 50%; }
  .contact-float .contact-float__btn svg { width: 42px; height: 42px; padding: 10px; }
}
@media (prefers-reduced-motion: reduce) { .contact-float .contact-float__btn svg { transition: none; } }

/* 页脚 X / Twitter：跟在 Telegram 按钮下面的次级链接 */
.site-footer .footer-x, .site-footer .footer-x:visited { display: flex; width: fit-content; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.site-footer .footer-x svg { width: 15px; height: 15px; flex: none; }
.site-footer .footer-x:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 2026-11-11 文档页重构（帮助 / 条款 / 退款 / 文章）：浅灰蓝底，目录与正文各一张白卡，表格不再被挤成竖排 ---------- */
body:has(.page-hero) { background: var(--paper-soft); }
.page-hero { border-bottom: 0; padding-block: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 32px); }
.page-hero h1 { font-size: clamp(30px, 4vw, 50px); letter-spacing: -.02em; }
.page-hero p { max-width: 46em; }
.doc { grid-template-columns: 240px minmax(0, 1fr); gap: clamp(20px, 2.6vw, 40px); align-items: start; padding-block: 8px clamp(72px, 8vw, 120px); }
.toc { padding: 18px 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.toc h4, .toc .toc-title { padding-inline: 12px; }
.toc ul { border-left: 0; gap: 2px; }
.toc a { margin: 0; padding: 8px 12px; border: 0; border-radius: 10px; }
.toc a:hover, .toc a.on { border: 0; background: var(--paper-soft); color: var(--green); }
.prose { max-width: none; padding: clamp(22px, 3.2vw, 48px); border: 1px solid var(--line); border-radius: 24px; background: var(--card); }
.prose > p, .prose > ul, .prose > ol, .prose > h2, .prose > h3, .prose > .callout { max-width: 48em; }
.prose h2 { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); max-width: none; font-size: 24px; }
.prose h2:first-child { padding-top: 0; border-top: 0; }
.prose .callout { border-left-color: var(--green); border-radius: 0 12px 12px 0; }
.prose table { border: 1px solid var(--line); border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.prose th, .prose td { padding: 14px 16px; }
.prose thead th { background: var(--paper-soft); }
.prose tr:last-child td { border-bottom: 0; }
.prose th:first-child, .prose td:first-child { width: 26%; min-width: 10em; }
.prose td:first-child { font-weight: 500; color: var(--ink); }
.docs .doc-link, .doc-link { background: var(--card); }
@media (max-width: 900px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .toc { position: static; min-width: 0; padding: 0; border: 0; background: transparent; }
  .toc h4, .toc .toc-title { padding-inline: 0; }
  .toc ul { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .toc a { flex: none; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); white-space: nowrap; }
  .toc a:hover, .toc a.on { border: 1px solid var(--green); background: var(--card); }
}
@media (max-width: 640px) {
  .prose { padding: 20px 18px; border-radius: 18px; }
  .prose h2 { font-size: 21px; margin-top: 32px; padding-top: 26px; }
  /* 表格改成一行一块：第一格当小标题，其余格在下面，不再左右挤 */
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: auto; min-width: 0; }
  .prose thead { display: none; }
  .prose table { border: 0; border-radius: 0; overflow: visible; }
  .prose tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .prose tr:last-child { border-bottom: 0; }
  .prose td, .prose th:first-child, .prose td:first-child { width: auto; min-width: 0; padding: 0; border: 0; }
  .prose td + td { margin-top: 6px; color: var(--ink-2); }
}
.page-hero .crumbs { flex-wrap: wrap; row-gap: 2px; }
.page-hero .crumbs a, .page-hero .crumbs span { min-width: 0; }
.page-hero .crumbs a { white-space: nowrap; }

/* Public secondary pages use the same neutral palette and action treatment. */
:root{--sans:var(--apple-font);--serif:var(--apple-font);--radius:12px;--radius-lg:22px;--shadow:0 8px 32px #0000000d}
html{scroll-behavior:auto}body::before{display:none}
h1,h2,h3,h4{letter-spacing:-.025em;font-weight:600}
.site-header{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}
.site-nav{font-size:13px}.site-actions .link{font-size:13px}
.btn:not(.btn--ghost):not(.btn--text):hover{background:var(--green-deep);border-color:var(--green-deep)}
.btn--ghost,.btn--ghost:visited{color:var(--green);border-color:var(--green)}
.btn--ghost:hover{color:var(--green);border-color:var(--green);background:var(--green-soft)}
.btn--text,.btn--text:visited{color:var(--green)}
.btn:hover .arrow{transform:none}
.page-hero h1{letter-spacing:-.035em}.page-hero{background:var(--paper-soft)}
.site-footer{background:var(--paper-soft)}
.prose,.toc{box-shadow:none;border-color:var(--line)}
.nav-toggle{border:0;border-radius:50%;background:var(--paper-soft)}

.local-site-notice{background:var(--paper-soft);color:var(--muted);border-color:var(--line)}
.local-policy-note{border-radius:14px}
