/* Siqvex 网站信息 关于我们 隐私政策 服务条款 0.2
   在产品页样式之上 只有亮色 左边本页目录 右边一张白卡正文
   目录跟着阅读位置走 正文段落滚进来时轻轻浮上 页脚三个入口和群号同一行 */

html:has(.site-info) { scroll-behavior: smooth; }

.site-info {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  column-gap: 64px;
  align-items: start;
  padding-top: 56px;
  padding-bottom: 96px;
}

/* 标题 和产品页同一级 */
.site-info-heading { grid-column: 1 / -1; margin-bottom: 40px; }
.site-info-heading h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.site-info-heading p {
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
  text-wrap: pretty;
}
.site-info-heading .site-info-date {
  margin-top: 4px;
  font-size: 16px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

/* 本页目录 贴着顶部跟随 当前一节的文字变深 左边一条竖线滑到当前位置 */
.info-toc {
  position: sticky;
  top: 24px;
  padding-left: 14px;
}
.info-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line);
}
.info-toc li { margin-left: -1px; }
.info-toc a {
  display: block;
  padding: 8px 0 8px 16px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--faint);
  transition: color var(--t-color) var(--ease-out);
}
@media (hover: hover) {
  .info-toc a:hover { color: var(--text); }
}
.info-toc a[aria-current="true"] { color: var(--text); font-weight: 500; }
.info-toc a:focus-visible { outline-offset: -2px; }
.info-toc-bar {
  position: absolute;
  top: 0;
  left: 14px;
  width: 2px;
  height: 1px;
  margin-left: -1px;
  background: var(--text);
  transform-origin: 0 0;
  opacity: 0;
  transition:
    transform var(--t-size) var(--ease-in-out),
    opacity var(--t-color) var(--ease-out);
}
.info-toc.is-tracking .info-toc-bar { opacity: 1; }

/* 正文 白卡 和产品卡片同一套描边和阴影 */
.site-info-content {
  padding: 48px 56px 56px;
  background: var(--surface);
  border-radius: var(--radius-outer);
  box-shadow:
    0 0 0 1px var(--line),
    0 1px 2px rgb(40 55 80 / .04),
    0 8px 24px -12px rgb(40 55 80 / .1);
  font-size: 16px;
  line-height: 1.9;
  color: #2b3544;
  overflow-wrap: anywhere;
}
.site-info-content section { scroll-margin-top: 24px; }
.site-info-content section + section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
/* 跳到这一节时标题变成强调色再退回 */
.site-info-content h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--text);
  text-wrap: balance;
  scroll-margin-top: 24px;
}
.site-info-content h2 { transition: color 600ms var(--ease-out); }
.site-info-content section.is-target h2 { color: var(--accent); transition-duration: var(--t-color); }
.site-info-content p { margin: 0; text-wrap: pretty; }
.site-info-content p + p { margin-top: 12px; }

/* 正文链接 细下划线 悬停时变深 */
.site-info-content a {
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgb(16 23 35 / .25);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color var(--t-color) var(--ease-out);
}
@media (hover: hover) {
  .site-info-content a:hover { text-decoration-color: var(--text); }
}

/* 段落滚进来时浮上 脚本只给首屏以下的段落加armed 没有脚本时全部直接显示 */
.site-info-content section.armed {
  opacity: 0;
  transform: translateY(12px);
}
.site-info-content section.armed.shown {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--t-enter) var(--ease-out),
    transform var(--t-enter) var(--ease-strong);
}

.rise-3 { animation-delay: calc(var(--boot) + 120ms); }

/* 页脚 三个入口放在群号前面 和品牌同一行 窄屏时入口单独一行 */
footer .foot { flex-wrap: wrap; row-gap: 0; }
.site-info-links {
  order: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  font-size: inherit;
  white-space: nowrap;
}
.foot-info { order: 2; }
.site-info-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--faint);
  transition: color var(--t-color) var(--ease-out);
}
@media (hover: hover) {
  .site-info-links a:hover { color: var(--text); }
}
.site-info-links a[aria-current="page"] { color: var(--text); font-weight: 500; }
/* 和群号之间一条短竖线分开 */
.site-info-links::after {
  content: "";
  width: 1px;
  height: 14px;
  margin-left: 0;
  background: var(--line);
}

@media (max-width: 960px) {
  .site-info { grid-template-columns: minmax(0, 1fr); }
  .info-toc { display: none; }
  .site-info-content { max-width: 720px; }
}

@media (max-width: 720px) {
  .site-info { padding-top: 32px; padding-bottom: 72px; }
  .site-info-heading { margin-bottom: 28px; }
  .site-info-heading p { font-size: 16px; }
  .site-info-content { padding: 28px 20px 32px; border-radius: 16px; font-size: 16px; line-height: 1.85; }
  .site-info-content section + section { margin-top: 28px; padding-top: 28px; }
  .site-info-content h2 { font-size: 19px; }

  footer .foot { padding-top: 16px; padding-bottom: 12px; }
  .site-info-links {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 20px;
    border-top: 1px solid var(--line);
    margin-top: 16px;
  }
  .site-info-links::after { display: none; }
}

@supports (corner-shape: superellipse(1.25)) {
  .site-info-content { corner-shape: superellipse(1.25); }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.site-info) { scroll-behavior: auto; }
  .info-toc a, .info-toc-bar, .site-info-content a, .site-info-links a, .site-info-content h2 { transition: none; }
  .site-info-content section.armed { opacity: 1; transform: none; }
}

/* 关于我们 不用目录 做成一页有点意思的介绍
   右上角的标识自己画出来 i上的圆点从上面掉下来弹两下 点一下圆点会跳
   下面是几张卡片 滚进来时依次浮上 三个方向的小图进入视口时画一遍 悬停重播
   没登录时最后一张卡给出注册和登录 */
.about { padding-top: 56px; padding-bottom: 96px; }

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 48px;
}
.about-hero h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.025em;
}
.about-lede {
  margin-top: 12px;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: balance;
}
.about .site-info-date { margin-top: 8px; font-size: 16px; color: var(--faint); font-variant-numeric: tabular-nums; }

.about-mark {
  display: block;
  width: 220px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.about-mark svg { display: block; width: 100%; height: auto; overflow: visible; fill: var(--logo); }
.about-mark:focus-visible { outline-offset: 8px; border-radius: 12px; }
.about-s {
  fill: none;
  stroke: #fff;
  stroke-width: 31;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
  animation: loader-draw 520ms var(--ease-in-out) calc(var(--boot) + 200ms) backwards;
}
.about-bar { animation-duration: 220ms; animation-delay: calc(var(--boot) + 700ms); }

/* 圆点从上面掉下来 先慢后快 落到i上压扁一下 弹两次停住 */
.about-dot { animation: about-drop 900ms calc(var(--boot) + 900ms) backwards; }
.about-dot-squash {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: about-squash 900ms linear calc(var(--boot) + 900ms) backwards;
}
@keyframes about-drop {
  0% { opacity: 0; transform: translateY(-230px); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  8% { opacity: 1; }
  45% { transform: none; animation-timing-function: cubic-bezier(0, 0, .58, 1); }
  62% { transform: translateY(-42px); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  78% { transform: none; animation-timing-function: cubic-bezier(0, 0, .58, 1); }
  88% { transform: translateY(-10px); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  100% { opacity: 1; transform: none; }
}
@keyframes about-squash {
  0%, 43% { transform: none; }
  46% { transform: scale(1.22, .78); }
  54% { transform: none; }
  76% { transform: none; }
  79% { transform: scale(1.1, .9); }
  85%, 100% { transform: none; }
}
/* 点一下 圆点蹲一下再跳起来落回去 */
.about-dot.hop { animation: about-hop 620ms both; }
.about-dot.hop .about-dot-squash { animation: about-hop-squash 620ms linear both; }
@keyframes about-hop {
  0%, 14% { transform: none; animation-timing-function: cubic-bezier(0, 0, .58, 1); }
  52% { transform: translateY(-96px); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  88% { transform: none; animation-timing-function: cubic-bezier(0, 0, .58, 1); }
  100% { transform: none; }
}
@keyframes about-hop-squash {
  0% { transform: none; }
  12% { transform: scale(1.18, .8); }
  24% { transform: scale(.9, 1.12); }
  40%, 84% { transform: none; }
  89% { transform: scale(1.16, .84); }
  100% { transform: none; }
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.about-card {
  padding: 32px 32px 36px;
  background: var(--surface);
  border-radius: var(--radius-outer);
  box-shadow:
    0 0 0 1px var(--line),
    0 1px 2px rgb(40 55 80 / .04),
    0 8px 24px -12px rgb(40 55 80 / .1);
}
.about-card h2 { margin: 0 0 12px; font-size: 22px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.about-card p { margin: 0; font-size: 16px; line-height: 1.85; color: #2b3544; text-wrap: pretty; }
.about-card p + p { margin-top: 12px; }
.about-card-wide { grid-column: 1 / -1; }
.about-card-wide p { max-width: 46em; }
.about-card-products { grid-column: span 2; }

.about-title {
  grid-column: 1 / -1;
  margin: 40px 0 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}

/* 三个方向 小图沿用首页的画法 */
.about-dir { padding: 8px 8px 28px; }
.about-dir h3 { margin: 20px 20px 8px; font-size: 18px; font-weight: 600; line-height: 1.4; }
.about-dir p { margin: 0 20px; }
.dir-art {
  background: var(--art);
  border-radius: var(--radius-art);
  transition:
    filter var(--t-blur) var(--ease-in-out),
    opacity var(--t-blur) var(--ease-in-out);
}
.dir-art.blur { filter: blur(3px); opacity: .5; }
.dir-art svg { display: block; width: 100%; height: auto; }
.dir-art path, .dir-art circle, .dir-art rect { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: miter; }
.dir-art .base { stroke: var(--art-base); }
.dir-art .active { stroke: var(--art-active); }
.dir-art .result { stroke: var(--accent); }
.dir-art .node { fill: var(--art-active); stroke: none; }
.dir-art .node-result { fill: var(--accent); stroke: none; }
.dir-art .hub-box { fill: var(--surface); stroke: var(--art-active); stroke-width: 2; }
.dir-art .hub-mark { fill: var(--logo); stroke: none; }
.dir-art .check { stroke-width: 5; }
.dir-art .hub { transform-box: fill-box; transform-origin: center; }
.dir-art .draw { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.dir-art.armed .draw { opacity: 0; }
.dir-art.armed .node-result { transform: scale(0); transform-box: fill-box; transform-origin: center; }
.dir-art.armed.play .draw { animation: dir-draw var(--t, 500ms) var(--ease-in-out) var(--d, 0ms) forwards; }
.dir-art.armed.play .node-result { animation: pop 240ms var(--ease-pop) var(--d, 0ms) forwards; }
.dir-art.armed.play .hub { animation: dir-nudge 320ms var(--ease-in-out) var(--d, 0ms); }
@keyframes dir-draw {
  0% { stroke-dashoffset: 1; opacity: 0; }
  1% { stroke-dashoffset: 1; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes dir-nudge {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.07); }
}

/* 次按钮 浅色五层 和主按钮一套按压 */
.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(180deg, #fff, #f7f9fb);
  box-shadow:
    0 0 0 1px var(--line),
    inset 0 1px 0 rgb(255 255 255 / .9),
    inset 0 -1px 0 rgb(16 23 35 / .04),
    0 1px 2px rgb(16 23 35 / .06),
    0 4px 10px -4px rgb(16 23 35 / .1);
  transition:
    transform var(--t-press) var(--ease-strong),
    box-shadow var(--t-shadow) var(--ease-strong);
}
@media (hover: hover) {
  .btn-soft:hover {
    box-shadow:
      0 0 0 1px #d3dae3,
      inset 0 1px 0 rgb(255 255 255 / .9),
      inset 0 -1px 0 rgb(16 23 35 / .04),
      0 2px 3px rgb(16 23 35 / .07),
      0 8px 16px -6px rgb(16 23 35 / .14);
  }
}
.btn-soft:active {
  transform: translateY(1px);
  background: linear-gradient(180deg, #f1f4f7, #f7f9fb);
  box-shadow:
    0 0 0 1px #d3dae3,
    inset 0 1px 2px rgb(16 23 35 / .08),
    inset 0 0 0 rgb(0 0 0 / 0),
    0 0 0 rgb(16 23 35 / 0),
    0 0 0 rgb(16 23 35 / 0);
}
.about-card-products .btn-soft { margin-top: 20px; }

.about-qq { display: flex; align-items: center; gap: 2px; margin-top: 16px; font-size: 16px; color: var(--faint); }

/* 加入 登录后整块隐藏 还在确认登录状态时先透明 不让已登录的人看到一闪 */
.about-join {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: opacity var(--t-enter) var(--ease-out);
}
.about-join h2 { margin: 0; font-size: 26px; }
.about-join-actions { display: flex; gap: 12px; }
.about-join-actions .btn-order { width: auto; min-width: 132px; margin-top: 0; }
.about-join-actions .btn-soft { min-width: 132px; }
body:has([data-home-account][data-state="checking"]) .about-join,
body:has([data-home-account][data-state="unavailable"]) .about-join { opacity: 0; visibility: hidden; pointer-events: none; }
body:has([data-home-account][data-state="authenticated"]) .about-join { display: none; }

/* 卡片滚进来时依次浮上 脚本只处理首屏以下的卡片 */
.about [data-reveal].armed { opacity: 0; transform: translateY(16px); }
.about [data-reveal].armed.shown {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--t-enter) var(--ease-out) var(--stagger, 0ms),
    transform var(--t-enter) var(--ease-strong) var(--stagger, 0ms);
}

@supports (corner-shape: superellipse(1.25)) {
  .about-card, .dir-art, .btn-soft { corner-shape: superellipse(1.25); }
}

@media (max-width: 960px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-card-products { grid-column: auto; }
  .about-mark { width: 168px; }
}

@media (max-width: 720px) {
  .about { padding-top: 32px; padding-bottom: 72px; }
  /* 窄屏标识放到标题上面 说明文字不用和它挤一行 */
  .about-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 32px; }
  .about-mark { order: -1; width: 104px; }
  .about-card { padding: 24px 20px 28px; border-radius: 16px; }
  .about-card h2 { font-size: 20px; }
  .about-dir { padding: 8px 8px 24px; }
  .about-dir h3 { margin: 16px 12px 8px; }
  .about-dir p { margin: 0 12px; }
  .about-title { margin-top: 28px; font-size: 24px; }
  .about-join { flex-direction: column; align-items: stretch; gap: 20px; }
  .about-join h2 { font-size: 22px; }
  .about-join-actions .btn-order, .about-join-actions .btn-soft { flex: 1 1 0; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .about-s, .about-dot, .about-dot-squash, .about-dot.hop, .about-dot.hop .about-dot-squash { animation: none; }
  .about [data-reveal].armed { opacity: 1; transform: none; }
  .dir-art, .btn-soft, .about-join { transition: none; }
  .btn-soft:active { transform: none; }
}
