/* ==========================================================================
   yangbyte · newui
   暗色、留白、等宽字体点缀。首页克制，产品页信息密度更高。
   仅用系统字体，不依赖任何外部资源。
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  color-scheme: dark;

  --bg:            #0c0c0e;
  --bg-soft:       #101013;
  --card:          rgba(255, 255, 255, .032);
  --card-hover:    rgba(255, 255, 255, .058);
  --line:          rgba(255, 255, 255, .075);
  --line-strong:   rgba(255, 255, 255, .16);

  --text:          #ececed;
  --muted:         #8b8b93;
  --faint:         #5d5d66;

  --accent:        #3d5afe;
  --accent-bright: #6b83ff;
  --accent-glow:   rgba(61, 90, 254, .28);

  --c-blue:   #6b8cff;
  --c-green:  #34d399;
  --c-orange: #fb923c;
  --c-cyan:   #22d3ee;
  --c-purple: #a78bfa;
  --c-pink:   #f472b6;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", Menlo,
          Consolas, monospace;

  --r:    14px;
  --r-sm: 10px;
  --maxw: 1040px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #0c0c0e;   /* i18n 未就绪时 body 会被藏起来，底色得由 html 撑住 */
}

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

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

::selection { background: var(--accent); color: #fff; }

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

/* 全站极细颗粒，避免大面积纯色显得平 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------- layout -- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap--narrow { max-width: 760px; }
.wrap--legal  { max-width: 640px; }   /* 法律条款：把行长压到易读区间 */

.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.rule { height: 1px; background: var(--line); border: 0; }

/* ------------------------------------------------------------ typography -- */
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
}

.sec-head { margin-bottom: 44px; }
.sec-head .kicker { display: block; margin-bottom: 14px; }
.sec-head h2 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.sec-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  max-width: 52ch;
  text-wrap: pretty;   /* 避免末行掉出一两个字 */
}
.sec-head--center { text-align: center; }
.sec-head--center p { margin-left: auto; margin-right: auto; }

.mono { font-family: var(--mono); }

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .18s var(--ease), border-color .18s var(--ease),
              transform .18s var(--spring), opacity .18s;
}
.btn:hover { background: var(--card-hover); border-color: var(--line-strong); }
.btn:active { transform: scale(.975); }

.btn--primary {
  background: #f4f4f5;
  border-color: transparent;
  color: #0c0c0e;
  font-weight: 600;
}
.btn--primary:hover { background: #fff; border-color: transparent; }

.btn--accent {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 28px -12px var(--accent-glow);
}
.btn--accent:hover { background: var(--accent-bright); border-color: transparent; }

.btn--lg { height: 48px; padding: 0 26px; font-size: 15px; border-radius: 12px; }
.btn--block { width: 100%; }

/* ------------------------------------------------------------------ nav -- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 14, .72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .06em;
  font-weight: 500;
}
.brand__mark {
  width: 16px;
  height: 16px;
  display: grid;
  grid-template: repeat(2, 1fr) / repeat(2, 1fr);
  gap: 2px;
}
.brand__mark i {
  background: var(--faint);
  border-radius: 2px;
  transition: background .3s var(--ease);
}
.brand__mark i:nth-child(4) { background: var(--accent); }
.brand:hover .brand__mark i { background: var(--muted); }
.brand:hover .brand__mark i:nth-child(4) { background: var(--accent-bright); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
}
.nav__links a { transition: color .18s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links .btn { height: 34px; padding: 0 15px; font-size: 13px; }

/* ------------------------------------------------------------- 多语言 -- */
/* 非默认语言时先藏住正文，等 i18n 换完再显示，避免闪一下简体。
   html 有底色，所以这段时间看到的是纯底色，不是白屏。 */
.i18n-wait body { visibility: hidden; }

/* 长篇内容（法律条款）整块切换，纯 CSS，不经过 JS */
[data-lang-block] { display: none; }
html[data-lang="zh-Hans"] [data-lang-block="zh-Hans"],
html[data-lang="zh-Hant"] [data-lang-block="zh-Hant"],
html[data-lang="en"]      [data-lang-block="en"],
html[data-lang="fr"]      [data-lang-block="fr"],
html[data-lang="de"]      [data-lang-block="de"],
html[data-lang="ja"]      [data-lang-block="ja"],
html[data-lang="ko"]      [data-lang-block="ko"] { display: block; }

/* 支付通道：大陆走支付宝，其余走 Creem */
html[data-lang="zh-Hans"] [data-pay="intl"] { display: none; }
html:not([data-lang="zh-Hans"]) [data-pay="cn"] { display: none; }

/* 语言下拉 */
.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  border-radius: var(--r-sm);
  color: var(--muted);
  font-size: 13px;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.lang__btn:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.lang__btn .chev { transition: transform .22s var(--spring); }
.lang.is-open .lang__btn { color: var(--text); background: rgba(255, 255, 255, .05); }
.lang.is-open .lang__btn .chev { transform: rotate(180deg); }

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 152px;
  padding: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(22, 22, 26, .96);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 20px 46px -18px rgba(0, 0, 0, .9);
  opacity: 0;
  transform: translateY(-6px) scale(.97);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity .16s var(--ease), transform .16s var(--spring);
  z-index: 120;
}
.lang.is-open .lang__menu { opacity: 1; transform: none; pointer-events: auto; }
.lang__menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: left;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.lang__menu button:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.lang__menu button[aria-current="true"] { color: var(--text); }
.lang__menu button[aria-current="true"]::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-bright);
  flex: none;
}

/* ------------------------------------------------- 背景装饰（点阵 / 字符）-- */
.bgdots, .bgascii {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.bgdots {
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .16) 1px, transparent 0);
  background-size: 26px 26px;
  opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 38%, #000 0%, transparent 78%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 38%, #000 0%, transparent 78%);
}
.bgascii {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 18px;
  letter-spacing: .55em;
  color: #fff;
  opacity: .05;
  white-space: pre;
  overflow: hidden;
  user-select: none;
  -webkit-mask-image: radial-gradient(ellipse 78% 66% at 50% 42%, #000 0%, transparent 82%);
          mask-image: radial-gradient(ellipse 78% 66% at 50% 42%, #000 0%, transparent 82%);
}
.bgglow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 760px;
  height: 420px;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  filter: blur(28px);
  opacity: .55;
}

/* ============================================================ 首页 hero == */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 96px;
}
.home-hero .wrap { position: relative; z-index: 1; }

.home-hero h1 {
  font-size: clamp(36px, 4.9vw, 54px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.14;
  margin: 18px 0 0;
}
.home-hero h1 .dim { color: var(--faint); }
.home-hero .lede {
  margin-top: 22px;
  max-width: 46ch;
  font-size: 17px;
  color: var(--muted);
}
.home-hero .meta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 56px;
  align-items: center;
}

/* 首页 hero 的窗口吸附标记：灰色预览先到位，实体块随后吸附 */
.snapmark {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(120% 100% at 15% 0%, rgba(61, 90, 254, .1) 0%, transparent 62%),
    rgba(255, 255, 255, .018);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9);
}
.snapmark::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .13) 1px, transparent 0);
  background-size: 16px 16px;
}
.snapmark i,
.snapmark u {
  position: absolute;
  left: 6%; top: 8%; right: 50%; bottom: 6%;
  border-radius: 6px;
  animation: snapcycle 10s var(--spring) infinite;
}
.snapmark i {
  z-index: 1;
  background: linear-gradient(160deg, var(--accent-bright), var(--accent));
  box-shadow: 0 10px 30px -10px var(--accent-glow);
}
.snapmark u {
  z-index: 2;               /* 占位框压在填充框上面，挪位时才看得见 */
  background: rgba(214, 218, 230, .09);
  border: 1px solid rgba(255, 255, 255, .2);
  animation-delay: -.42s;   /* 预览先一步到位 */
}
@keyframes snapcycle {
  0%,   13% { left: 6%; top: 8%; right: 50%; bottom: 6%; }
  20%,  33% { left: 50%; top: 8%; right: 6%; bottom: 6%; }
  40%,  53% { left: 50%; top: 52%; right: 6%; bottom: 6%; }
  60%,  73% { left: 6%; top: 8%; right: 6%; bottom: 6%; }
  80%, 100% { left: 6%; top: 8%; right: 50%; bottom: 6%; }
}

/* ======================================================== 首页产品列表 == */
.plist { border-top: 1px solid var(--line); }
.plist__row {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr auto 36px;
  align-items: center;
  gap: 20px;
  padding: 30px 16px 30px 12px;
  border-bottom: 1px solid var(--line);
  transition: background .22s var(--ease);
}
.plist__row::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: -1px;
  width: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .22s var(--ease);
}
a.plist__row:hover { background: rgba(255, 255, 255, .025); }
a.plist__row:hover::before { opacity: 1; }

.plist__no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  letter-spacing: .1em;
}
.plist__name {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}
.plist__name b {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.plist__name span { color: var(--muted); font-size: 14px; }
.plist__desc { display: none; }
.plist__price {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
}
.plist__arrow {
  justify-self: end;
  color: var(--faint);
  transition: transform .22s var(--spring), color .22s var(--ease);
}
a.plist__row:hover .plist__arrow { transform: translateX(4px); color: var(--text); }

.plist__row--soon { opacity: .48; }
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

/* ====================================================== 首页三点小栏目 == */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.trio h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 14px 0 6px;
}
.trio p { color: var(--muted); font-size: 14px; }
.trio .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--faint);
}

/* ========================================================= 产品页 hero == */
.p-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 56px;
  text-align: center;
}
.p-hero .wrap { position: relative; z-index: 1; }
.p-hero__icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 26px;
  border-radius: 21px;
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .9),
              0 0 0 1px rgba(255, 255, 255, .06);
}
.p-hero h1 {
  font-family: var(--mono);
  font-size: clamp(46px, 9vw, 78px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1;
}
.p-hero .tagline {
  margin-top: 22px;
  font-size: clamp(20px, 3.4vw, 27px);
  font-weight: 600;
  letter-spacing: -.02em;
}
.p-hero .lede {
  text-wrap: pretty;
  margin: 14px auto 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: 16px;
}
.p-hero .cta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.p-hero .specs {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  letter-spacing: .04em;
}

/* ======================================================== 演示（窗口）== */
.demo { position: relative; max-width: 960px; margin: 0 auto; }
.screen {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #17171b;
  padding: 10px;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .95);
}
.screen__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 4px 10px;
}
.screen__bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .13);
}
.screen__bar span {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}

.stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 9px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 0%, #2a2350 0%, transparent 60%),
    radial-gradient(100% 100% at 90% 100%, #14324a 0%, transparent 55%),
    #0f0f14;
}
.stage__menubar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 12px;
  background: rgba(0, 0, 0, .34);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255, 255, 255, .45);
  z-index: 5;
}
.stage__menubar .grow { flex: 1; }

/* 目标预览（半透明灰色浮层） */
.ghost {
  position: absolute;
  border-radius: 7px;
  background: rgba(210, 214, 226, .17);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: all .34s var(--ease);
  z-index: 2;
}
.ghost.on { opacity: 1; }

/* 被吸附的窗口 */
.win {
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
  background: #1c1c22;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 22px 50px -18px rgba(0, 0, 0, .8);
  transition: all .46s var(--spring);
  z-index: 3;
}
.win__bar {
  height: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  background: rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.win__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.win__bar b {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 10px;
  color: rgba(255, 255, 255, .42);
  margin-left: 4px;
}
.win__body { padding: 12px; display: grid; gap: 7px; align-content: start; }
.win__body i {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .07);
}
.win__body i:nth-child(1) { width: 62%; background: rgba(107, 140, 255, .32); }
.win__body i:nth-child(2) { width: 88%; }
.win__body i:nth-child(3) { width: 74%; }
.win__body i:nth-child(4) { width: 46%; }

/* 双指滑动轨迹 */
.swipe-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: visible;
}
.swipe-trail path {
  fill: none;
  stroke: rgba(255, 255, 255, .55);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity .22s var(--ease);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, .28));
}
.swipe-trail.on path { opacity: 1; }
.swipe-trail.fade path { opacity: 0; transition-duration: .4s; }

/* 双指指示：位置由 JS 按轨迹驱动，CSS 只管显隐 */
.fingers {
  position: absolute;
  z-index: 6;
  display: flex;
  gap: 7px;
  transition: opacity .18s var(--ease);
  opacity: 0;
  pointer-events: none;
  will-change: left, top;
}
.fingers.on { opacity: 1; }
.fingers i {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .16);
}

/* 演示控制条 */
.demo__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  font-size: 13px;
  color: var(--muted);
  transition: all .18s var(--ease);
}
.chip em {
  font-family: var(--mono);
  font-style: normal;
  color: var(--faint);
  letter-spacing: .08em;
}
.chip:hover { background: var(--card-hover); color: var(--text); }
.chip.is-active {
  border-color: var(--accent);
  background: rgba(61, 90, 254, .14);
  color: var(--text);
}
.chip.is-active em { color: var(--accent-bright); }

.demo__note {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--faint);
}

/* ==================================================== 功能卡片（九宫格）== */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat {
  border: 1px solid rgba(255, 255, 255, .06);
  background: var(--card);
  border-radius: 12px;
  padding: 22px 22px 24px;
  transition: background .22s var(--ease), border-color .22s var(--ease),
              transform .22s var(--ease);
}
.feat:hover {
  background: var(--card-hover);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.feat__icon { color: var(--c-blue); margin-bottom: 14px; }
.feat h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -.005em;
}
.feat p { font-size: 12.5px; line-height: 1.62; color: var(--muted); }

/* ================================================= 手势速查（可视化）== */
.g-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.g-card {
  border: 1px solid rgba(255, 255, 255, .06);
  background: var(--card);
  border-radius: 12px;
  padding: 16px;
  transition: background .22s var(--ease), border-color .22s var(--ease);
}
.g-card:hover { background: var(--card-hover); border-color: var(--line-strong); }
.g-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .02);
  margin-bottom: 13px;
  overflow: hidden;
}
.g-frame i {
  position: absolute;
  inset: 3px;
  border-radius: 3px;
  background: linear-gradient(160deg, var(--accent-bright), var(--accent));
  opacity: .92;
}
.g-frame i.top    { inset: 3px 3px 50% 3px; }
.g-frame i.bottom { inset: 50% 3px 3px 3px; }
.g-frame i.left   { inset: 3px 50% 3px 3px; }
.g-frame i.right  { inset: 3px 3px 3px 50%; }
.g-frame i.tl     { inset: 3px 50% 50% 3px; }
.g-frame i.tr     { inset: 3px 3px 50% 50%; }
.g-frame i.bl     { inset: 50% 50% 3px 3px; }
.g-frame i.br     { inset: 50% 3px 3px 50%; }

.g-card__path {
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: .14em;
  color: var(--accent-bright);
}
.g-card__label { font-size: 13px; color: var(--muted); margin-top: 3px; }
.g-card__alt {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: .1em;
  margin-top: 6px;
}

/* ========================================================== 规格 / 表格 == */
.spec-list { border-top: 1px solid var(--line); }
.spec-list li {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 20px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.spec-list .k { font-family: var(--mono); font-size: 12.5px; color: var(--faint); letter-spacing: .04em; }
.spec-list .v { color: var(--muted); }
.spec-list .v strong { color: var(--text); font-weight: 500; }

/* ============================================================== FAQ ==== */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: color .18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-bright); }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  color: var(--faint);
  transition: transform .25s var(--spring);
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 4px 22px;
  color: var(--muted);
  font-size: 14px;
  max-width: 66ch;
}

/* =========================================================== 价格卡 ==== */
.price-card {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .018));
  padding: 32px 30px;
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
}
.price-card h3 { font-size: 15px; font-weight: 600; }
.price-card .amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 4px;
}
.price-card .amount b {
  font-family: var(--mono);
  font-size: 46px;
  font-weight: 500;
  letter-spacing: -.03em;
}
.price-card .amount span { color: var(--muted); font-size: 14px; }
.price-card .sub { color: var(--faint); font-size: 13px; }
.price-card ul { margin: 24px 0; display: grid; gap: 11px; }
.price-card li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  align-items: flex-start;
}
.price-card li svg { flex: none; margin-top: 4px; color: var(--accent-bright); }
.price-card .fine {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--faint);
}

/* ============================================================ 购买页 ==== */
.buy-card {
  max-width: 420px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  padding: 30px;
}
.buy-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.buy-card__head img { width: 46px; height: 46px; border-radius: 11px; }
.buy-card__head h1 { font-size: 18px; font-weight: 600; }
.buy-card__head p { font-size: 13px; color: var(--muted); }
.buy-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 20px 0 4px;
}
.buy-card__price b { font-family: var(--mono); font-size: 34px; font-weight: 500; letter-spacing: -.02em; }
.buy-card__price span { color: var(--muted); font-size: 13px; }
.buy-card__was {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--faint);
  text-decoration: line-through;
}
.buy-card__was[hidden] { display: none; }

.discount-note {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 13px;
  color: #4ade80;
}
.discount-note[hidden] { display: none; }
.discount-note--bad { color: #fdba74; }
.discount-note--bad code {
  background: rgba(251, 146, 60, .14);
  color: #fdba74;
  text-decoration: line-through;
}
.discount-note code {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

label {
  display: block;
  margin: 22px 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}
input[type="email"] {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font-size: 15px;
  font-family: var(--sans);
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
input[type="email"]::placeholder { color: var(--faint); }
input[type="email"]:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, .06);
}

.pay-btns { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
.pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: filter .18s var(--ease), transform .18s var(--spring);
}
.pay-btn:hover { filter: brightness(1.12); }
.pay-btn:active { transform: scale(.98); }
.pay-btn--alipay { background: #1677ff; }

.form-err { min-height: 20px; margin-top: 12px; font-size: 13px; color: #f87171; }
.form-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--faint);
}

/* ================================================ 购买页：Creem 通道 ==== */
.creem-box {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
}
.creem-box h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.creem-box h2 svg { color: var(--accent-bright); flex: none; }
.creem-box p { font-size: 13px; line-height: 1.65; color: var(--muted); }
.creem-box p strong { color: var(--text); font-weight: 600; }
.creem-box .btn { margin-top: 18px; }
.creem-box__off {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px dashed rgba(251, 146, 60, .45);
  background: rgba(251, 146, 60, .08);
  color: #fdba74;
  font-size: 13px;
}

/* ================================================ 支付结果 / 提示卡 ==== */
.result-card {
  max-width: 460px;
  margin: 0 auto;
  padding: 34px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  text-align: center;
}
.result-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
}
.result-card__icon--ok {
  color: var(--c-green);
  border-color: rgba(52, 211, 153, .32);
  background: rgba(52, 211, 153, .09);
}
.result-card__icon--pending {
  color: var(--c-orange);
  border-color: rgba(251, 146, 60, .32);
  background: rgba(251, 146, 60, .09);
}
.result-card__icon--error {
  color: #f87171;
  border-color: rgba(248, 113, 113, .32);
  background: rgba(248, 113, 113, .09);
}
.result-card h1 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.result-card p {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
  text-wrap: pretty;
}
.result-card__hint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--faint);
}
.result-card__order {
  margin-top: 18px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  word-break: break-all;
}
.result-card__actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ======================================================= 法律条款排版 ==== */
.legal-hero {
  padding: 92px 0 0;
  position: relative;
}
.legal-hero .kicker { display: block; margin-bottom: 14px; }
.legal-hero h1 {
  font-size: clamp(30px, 4.4vw, 40px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.legal-hero .updated {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  letter-spacing: .03em;
}

.prose { padding: 44px 0 88px; }
.prose h2 {
  margin: 46px 0 12px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 {
  margin: 24px 0 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}
.prose p,
.prose li {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--muted);
}
.prose p { margin-bottom: 14px; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 600; }
.prose code {
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  word-break: break-all;
}
.prose a { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--text); }
.prose ul { margin: 0 0 16px; padding-left: 2px; }
.prose li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--faint);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 18px;
  font-size: 13.5px;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.prose th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 400;
  white-space: nowrap;
}
.prose td strong { color: var(--text); }

/* 上线前必须替换的占位。醒目到不可能漏掉。 */
.todo {
  display: inline;
  padding: 1px 7px;
  border-radius: 5px;
  background: rgba(251, 146, 60, .16);
  border: 1px dashed rgba(251, 146, 60, .55);
  color: #fdba74;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .02em;
}

/* ============================================================= footer === */
.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  letter-spacing: .03em;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: flex-end; }
.footer__links a { transition: color .18s var(--ease); }
.footer__links a:hover { color: var(--text); }

/* ============================================================ 进场动画 ==
   只有在 JS 可用时才隐藏，避免脚本失效时整页空白。 */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ============================================================== 响应式 == */
@media (max-width: 900px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .g-grid { grid-template-columns: repeat(3, 1fr); }
  .trio { grid-template-columns: 1fr; gap: 26px; }
  .home-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .snapmark { max-width: 340px; }
}

@media (max-width: 680px) {
  .section { padding: 76px 0; }
  .home-hero { padding: 88px 0 68px; }
  .p-hero { padding: 84px 0 56px; }

  .nav__links { gap: 10px; }
  .nav__links a:not(.btn) { display: none; }
  .lang__btn { padding: 0 8px; }
  .footer__inner { justify-content: flex-start; }
  .footer__links { justify-content: flex-start; }

  .feat-grid, .g-grid { grid-template-columns: repeat(2, 1fr); }

  .plist__row {
    grid-template-columns: 1fr auto;
    gap: 6px 14px;
    padding: 22px 12px;
  }
  .plist__no { display: none; }
  .plist__arrow { display: none; }
  .plist__desc {
    display: block;
    grid-column: 1 / -1;
    font-size: 13.5px;
    color: var(--muted);
  }

  .spec-list li { grid-template-columns: 1fr; gap: 4px; }
  .demo__chips { gap: 6px; }
  .chip { height: 30px; padding: 0 11px; font-size: 12px; }
}

@media (max-width: 460px) {
  .g-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .pay-btns { grid-template-columns: 1fr; }
}

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