/* ==========================================================================
   星屿·新标签页 官网
   纯静态样式，无外部依赖
   ========================================================================== */

:root {
  --deep: #070d1a;
  --deep-2: #0b1224;
  --ink: #1b2438;
  --ink-2: #3d4766;
  --muted: #66708a;
  --muted-light: #9aa8c7;
  --blue: #5b93ff;
  --blue-deep: #3b6fd8;
  --cyan: #7fd0ff;
  --violet: #9b8cff;
  --paper: #f7f9fd;
  --line: #e7ecf5;
  --line-dark: rgba(255, 255, 255, 0.1);
  --radius: 22px;
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--deep);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(91, 147, 255, 0.32);
  color: #fff;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(840px, calc(100% - 48px));
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   滚动进度条
   ========================================================================== */

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  z-index: 300;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
  box-shadow: 0 0 18px rgba(91, 147, 255, 0.65);
  pointer-events: none;
}

/* ==========================================================================
   头部
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  background: linear-gradient(180deg, rgba(7, 13, 26, 0.72), rgba(7, 13, 26, 0));
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(7, 13, 26, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 6px 18px -6px rgba(91, 147, 255, 0.7);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 17px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.brand-text small {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: #8b9bbd;
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 12px;
}

.site-nav a {
  font-size: 14px;
  color: #b6c3e0;
  transition: color 0.2s var(--ease);
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c3d0e8;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-open .nav-toggle .icon-menu {
  display: none;
}

.nav-open .nav-toggle .icon-close {
  display: block;
}

/* ==========================================================================
   按钮
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #6a9dff, #3b6fd8 62%, #315fc4);
  box-shadow: 0 16px 34px -14px rgba(59, 111, 216, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -14px rgba(59, 111, 216, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  color: #dbe6ff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.btn-light {
  color: #1c3155;
  background: #fff;
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.55);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -18px rgba(0, 0, 0, 0.6);
}

.btn-sm {
  height: 40px;
  padding: 0 18px;
  font-size: 13.5px;
}

.btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 158px 0 0;
  overflow: hidden;
  background: var(--deep);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 72% 6%, rgba(91, 147, 255, 0.28), transparent 62%),
    radial-gradient(760px 460px at 8% 18%, rgba(127, 208, 255, 0.16), transparent 64%),
    radial-gradient(620px 420px at 88% 72%, rgba(155, 140, 255, 0.16), transparent 66%),
    linear-gradient(180deg, #070d1a 0%, #081021 46%, #0a1428 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(10, 20, 40, 0.65));
  pointer-events: none;
}

.starfield {
  position: absolute;
  inset: -6% 0 auto;
  width: 100%;
  height: 112%;
  z-index: -1;
  opacity: 0.9;
  pointer-events: none;
  will-change: transform;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-copy > * {
  animation: rise-in 0.9s var(--ease) both;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.2s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.36s; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #93a8d0;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(127, 208, 255, 0.12),
    0 0 16px rgba(127, 208, 255, 0.9);
}

.hero h1 {
  margin: 22px 0 24px;
  font-size: clamp(2.5rem, 5.1vw, 4.05rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #f4f8ff;
}

.grad {
  background: linear-gradient(115deg, #b7d4ff 0%, #6fa2ff 38%, #7fd0ff 66%, #b3a6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 550px;
  font-size: 16.5px;
  line-height: 1.95;
  color: #a9b8d6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  font-size: 12.5px;
  color: #8e9dbd;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta .icon {
  width: 14px;
  height: 14px;
  color: #7fd0ff;
}

/* ---------- 浏览器窗口示意 ---------- */

.hero-visual {
  position: relative;
  perspective: 1200px;
  animation: rise-in 1.1s 0.2s var(--ease) both;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -10% -8%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(91, 147, 255, 0.24),
    rgba(127, 208, 255, 0.1) 48%,
    transparent 72%
  );
  filter: blur(26px);
  pointer-events: none;
}

@media (min-width: 1280px) {
  .hero-visual {
    width: 108%;
    margin-left: -4%;
  }
}

.mock {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  will-change: transform;
}

.mock-window {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0a1324;
  box-shadow:
    0 50px 100px -30px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mock-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  background: rgba(8, 15, 30, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-dots {
  display: inline-flex;
  gap: 6px;
}

.mock-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a4a68;
}

.mock-dots i:nth-child(1) { background: #ff6f6a; }
.mock-dots i:nth-child(2) { background: #ffc35a; }
.mock-dots i:nth-child(3) { background: #5fd47e; }

.mock-url {
  flex: 1;
  max-width: 260px;
  margin-inline: auto;
  height: 22px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: #8fa1c3;
  font-size: 10.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.08em;
}

.mock-scene {
  position: relative;
  aspect-ratio: 1600 / 891;
  overflow: hidden;
  background: #0a1324;
}

.mock-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 数据条 ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 82px;
  padding: 30px 0 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats dt {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, #fff, #9cc4ff 70%, #b3a6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.stats dd {
  margin-top: 6px;
  font-size: 12.5px;
  color: #8e9dbd;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   主内容（浅色区域）
   ========================================================================== */

.main-light {
  position: relative;
  z-index: 3;
  margin-top: -36px;
  border-radius: 38px 38px 0 0;
  background: var(--paper);
}

/* ---------- 关键词跑马灯 ---------- */

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f7f9fd);
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 44s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  position: relative;
  padding: 0 26px;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #7d89a5;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "·";
  position: absolute;
  right: -2px;
  color: #b9c4d8;
}

/* ---------- 通用 section ---------- */

.section {
  position: relative;
  padding: 104px 0;
}

.section-white {
  background: #fff;
}

.section-head {
  max-width: 660px;
  margin-bottom: 52px;
}

.section-head h2,
.install h2 {
  margin: 16px 0 16px;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.32;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

.section-lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

.eyebrow-dark {
  color: #7d8db0;
}

.eyebrow-dark .dot {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(91, 147, 255, 0.12),
    0 0 14px rgba(91, 147, 255, 0.7);
}

.eyebrow-light {
  color: #9fb5dd;
}

/* ---------- 功能卡片 ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  position: relative;
  padding: 30px 28px 32px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  overflow: hidden;
}

.feature::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 147, 255, 0.14), transparent 68%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.feature:hover {
  transform: translateY(-6px);
  border-color: #d8e3f7;
  box-shadow: 0 30px 60px -34px rgba(23, 44, 90, 0.4);
}

.feature:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--blue-deep);
  background: linear-gradient(140deg, rgba(91, 147, 255, 0.16), rgba(127, 208, 255, 0.08));
  border: 1px solid rgba(91, 147, 255, 0.16);
}

.feature-icon .icon {
  width: 23px;
  height: 23px;
}

.feature h3 {
  margin: 20px 0 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.feature p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
  margin-top: 42px;
  padding: 26px 30px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #4c5876;
  line-height: 1.7;
}

.feature-list .icon {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  padding: 3px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #6fa2ff, #3b6fd8);
  box-sizing: content-box;
  stroke-width: 2.4;
}

/* ---------- 组件实拍 ---------- */

.gallery {
  position: relative;
  overflow: hidden;
  padding: 96px 0 100px;
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(91, 147, 255, 0.2), transparent 60%),
    radial-gradient(720px 460px at 96% 68%, rgba(155, 140, 255, 0.14), transparent 64%),
    radial-gradient(540px 360px at 70% 0%, rgba(127, 208, 255, 0.1), transparent 66%),
    linear-gradient(180deg, #080f1e, #0b1730 52%, #080f1e);
  color: #fff;
}

.gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.1;
  mask-image: radial-gradient(circle at 50% 0%, #000, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000, transparent 68%);
  pointer-events: none;
}

.gallery .wrap {
  position: relative;
  z-index: 1;
}

.gallery .section-head {
  margin-bottom: 40px;
}

.gallery .section-head h2 {
  color: #f4f8ff;
}

.gallery .section-lead {
  color: #a6b5d4;
}

.gallery-row {
  display: grid;
  gap: 28px;
}

.gallery-row--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-row--square {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 18px;
}

.gallery-card {
  margin: 0;
}

.gallery-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a1428;
  box-shadow: 0 26px 54px -34px rgba(0, 0, 0, 0.9);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease), background 0.45s var(--ease);
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-row--wide .gallery-thumb {
  aspect-ratio: 2.15 / 1;
}

.gallery-row--wide .gallery-thumb img {
  object-fit: contain;
}

.gallery-row--square .gallery-thumb {
  aspect-ratio: 1 / 1;
}

.gallery-card:hover .gallery-thumb {
  transform: translateY(-4px);
  border-color: rgba(127, 208, 255, 0.3);
  box-shadow: 0 34px 66px -32px rgba(0, 0, 0, 0.95),
    0 0 40px -18px rgba(91, 147, 255, 0.45);
}

.gallery-card:hover .gallery-thumb img {
  transform: scale(1.03);
}

.gallery-card figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 9px 2px 0;
}

.gallery-card figcaption strong {
  font-size: 12.5px;
  font-weight: 600;
  color: #e8eefc;
  letter-spacing: 0.01em;
}

.gallery-card figcaption span {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 10.5px;
  color: #8494b6;
}

.gallery-cta .gallery-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.025);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.gallery-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
}

.gallery-cta .icon {
  width: 26px;
  height: 26px;
  color: #9cc4ff;
}

.gallery-cta strong {
  font-size: 13px;
  font-weight: 600;
  color: #e8eefc;
}

.gallery-cta small {
  font-size: 10.5px;
  color: #8494b6;
}

.gallery-cta:hover .gallery-thumb {
  background: rgba(91, 147, 255, 0.08);
  border-color: rgba(127, 208, 255, 0.4);
}

.gallery-icons {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-icon {
  text-align: center;
}

.gallery-icon img {
  width: 100%;
  height: auto;
  max-width: 72px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-inline: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 30px -20px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.gallery-icon:hover img {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(127, 208, 255, 0.32);
}

.gallery-icon span {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  color: #9fb0d0;
}

.gallery-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.gallery-note {
  font-size: 12px;
  color: #7485a8;
}

.gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(156, 196, 255, 0.35);
  font-size: 13px;
  color: #9cc4ff;
  transition: color 0.25s, border-color 0.25s;
}

.gallery-link .icon {
  width: 15px;
  height: 15px;
}

.gallery-link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

/* ---------- 小组件网格 ---------- */

.widget-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 14px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -50px rgba(23, 44, 90, 0.35);
}

.widget {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px 16px;
  border-radius: 16px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.widget:hover {
  background: #f4f8ff;
  transform: translateY(-2px);
}

.widget-icon {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #3b6fd8;
  background: #eef4ff;
  border: 1px solid rgba(91, 147, 255, 0.14);
}

.widget-icon .icon {
  width: 19px;
  height: 19px;
}

.widget h3 {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.5;
}

.widget p {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.65;
  color: #7b87a3;
}

/* ---------- 主题 ---------- */

.theme-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: start;
}

.theme-story-sticky {
  position: sticky;
  top: calc(50vh - 220px);
  padding-bottom: 72px;
}

.theme-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(10, 20, 40, 0.12);
  background: #0a1324;
  box-shadow:
    0 44px 90px -38px rgba(17, 34, 68, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.6);
}

.theme-frame-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  background: #0b1426;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-frame-url {
  flex: 1;
  max-width: 260px;
  margin-inline: auto;
  height: 22px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: #8fa1c3;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-screens {
  position: relative;
  aspect-ratio: 1024 / 593;
  background: #0a1324;
}

.theme-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.65s var(--ease), transform 1.4s var(--ease);
}

.theme-screen.is-active {
  opacity: 1;
  transform: scale(1);
}

.theme-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.theme-dots span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #9aa8c7;
  transition: color 0.35s var(--ease);
}

.theme-dots i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #c7d2e6;
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}

.theme-dots span.is-active {
  color: var(--blue-deep);
}

.theme-dots span.is-active i {
  width: 18px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.theme-story-note {
  margin-top: 12px;
  text-align: center;
  font-size: 11.5px;
  color: #9aa8c7;
}

.theme-steps {
  padding-bottom: 24px;
}

.theme-step {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0 24px 34px;
  border-left: 1px solid var(--line);
  opacity: 0.4;
  transition: opacity 0.5s var(--ease), border-color 0.5s var(--ease);
}

.theme-step.is-active {
  opacity: 1;
  border-left-color: rgba(91, 147, 255, 0.5);
}

.theme-step .step-no {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: #93a3c4;
}

.theme-step.is-active .step-no {
  color: var(--blue-deep);
}

.theme-step h3 {
  margin: 12px 0;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}

.theme-step p {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 400px;
}

.theme-step ul {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.theme-step li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: #5a6684;
}

.theme-step li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8fb7ff;
}

.theme-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.theme-notes span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: #5d6a86;
}

.theme-notes .icon {
  width: 14px;
  height: 14px;
  padding: 2px;
  box-sizing: content-box;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #6fa2ff, #3b6fd8);
  stroke-width: 2.6;
}

/* ---------- 隐私 ---------- */

.privacy-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 60px;
  padding: 58px 56px;
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(720px 380px at 88% 0%, rgba(91, 147, 255, 0.28), transparent 62%),
    radial-gradient(520px 340px at 0% 100%, rgba(127, 208, 255, 0.14), transparent 64%),
    linear-gradient(135deg, #0c1730, #102a55 60%, #0d1f40);
  box-shadow: 0 40px 90px -50px rgba(11, 28, 60, 0.85);
}

.privacy-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.12;
  mask-image: radial-gradient(circle at 80% 20%, #000, transparent 62%);
  -webkit-mask-image: radial-gradient(circle at 80% 20%, #000, transparent 62%);
}

.privacy-copy {
  position: relative;
  z-index: 1;
}

.privacy-copy h2 {
  margin: 18px 0 18px;
  font-size: clamp(1.6rem, 2.9vw, 2.2rem);
  line-height: 1.4;
  font-weight: 750;
  text-wrap: balance;
}

.privacy-copy p {
  font-size: 14px;
  line-height: 1.95;
  color: #b7c5e2;
}

.privacy-copy .btn {
  margin-top: 28px;
}

.privacy-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.privacy-list li {
  display: flex;
  gap: 14px;
}

.privacy-icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #7fd0ff;
  background: rgba(127, 208, 255, 0.12);
  border: 1px solid rgba(127, 208, 255, 0.2);
}

.privacy-icon .icon {
  width: 20px;
  height: 20px;
}

.privacy-list h3 {
  font-size: 15px;
  font-weight: 650;
}

.privacy-list p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.8;
  color: #a6b5d4;
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 24px 46px 24px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: #8fa2c4;
  transition: transform 0.3s var(--ease), color 0.3s;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--blue-deep);
}

.faq details p {
  padding: 0 46px 26px 0;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--muted);
}

.faq code {
  padding: 1px 6px;
  border-radius: 6px;
  background: #eef3fb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: #35507f;
}

.faq a {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 安装 ---------- */

.section-dark {
  background: var(--deep);
  color: #fff;
  overflow: hidden;
}

.install {
  position: relative;
  padding: 112px 0 118px;
  text-align: center;
}

.install::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 130%;
  background:
    radial-gradient(720px 420px at 50% 0%, rgba(91, 147, 255, 0.3), transparent 64%),
    radial-gradient(520px 320px at 80% 80%, rgba(155, 140, 255, 0.16), transparent 66%),
    radial-gradient(420px 280px at 12% 70%, rgba(127, 208, 255, 0.14), transparent 66%);
  pointer-events: none;
}

.install-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.install-logo {
  border-radius: 19px;
  box-shadow: 0 20px 44px -16px rgba(91, 147, 255, 0.7);
}

.install h2 {
  margin: 26px 0 16px;
  color: #f4f8ff;
}

.install-lead {
  max-width: 600px;
  font-size: 14.5px;
  line-height: 1.9;
  color: #a6b5d4;
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.install-note {
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #7d8cae;
}

.install-note a {
  color: #9cc4ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   页脚
   ========================================================================== */

.site-footer {
  background: var(--deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 64px;
  color: #93a3c4;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 300px;
  font-size: 13px;
  line-height: 1.9;
  color: #7d8cae;
}

.footer-links {
  display: flex;
  gap: 76px;
}

.footer-links h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #6f7f9f;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  margin-top: 12px;
  font-size: 13.5px;
  color: #93a3c4;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #6f7f9f;
}

/* ==========================================================================
   隐私政策页
   ========================================================================== */

.legal-hero {
  position: relative;
  padding: 156px 0 76px;
  background: var(--deep);
  overflow: hidden;
  isolation: isolate;
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 150%;
  z-index: -1;
  background:
    radial-gradient(760px 440px at 78% 0%, rgba(91, 147, 255, 0.26), transparent 64%),
    radial-gradient(520px 340px at 8% 30%, rgba(127, 208, 255, 0.13), transparent 66%),
    linear-gradient(180deg, #070d1a, #0a1428);
}

.legal-back {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  font-size: 13px;
  color: #93a8d0;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.legal-back:hover {
  color: #fff;
  transform: translateX(-2px);
}

.legal-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.25;
  font-weight: 800;
  color: #f4f8ff;
  text-wrap: balance;
}

.legal-hero .legal-intro {
  max-width: 680px;
  font-size: 15px;
  line-height: 1.95;
  color: #a9b8d6;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 12px;
  color: #9fb0d0;
}

.legal-meta .icon {
  width: 14px;
  height: 14px;
  color: #7fd0ff;
}

.legal-body {
  background: var(--paper);
  padding: 64px 0 104px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 104px;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.legal-toc h2 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #93a0b9;
  text-transform: uppercase;
}

.legal-toc a {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  color: #66708a;
  transition: color 0.2s, transform 0.2s;
}

.legal-toc a:hover {
  color: var(--blue-deep);
  transform: translateX(3px);
}

.legal-toc a.is-active {
  color: var(--blue-deep);
  font-weight: 600;
  transform: translateX(3px);
}

.legal-card {
  min-width: 0;
  padding: 52px 56px 56px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -60px rgba(23, 44, 90, 0.4);
  font-size: 14.5px;
  line-height: 1.95;
  color: #3d4766;
}

.legal-card > p:first-child {
  margin-top: 0;
}

.legal-card h2 {
  margin: 46px 0 14px;
  padding-top: 8px;
  font-size: 21px;
  line-height: 1.5;
  font-weight: 750;
  color: var(--ink);
  scroll-margin-top: 100px;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card h3 {
  margin: 28px 0 8px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

.legal-card p {
  margin: 0 0 14px;
}

.legal-card ul,
.legal-card ol {
  margin: 0 0 16px;
  padding-left: 4px;
  list-style: none;
}

.legal-card ul li,
.legal-card ol li {
  position: relative;
  padding-left: 18px;
  margin: 6px 0;
}

.legal-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9db9e8;
}

.legal-card ol {
  counter-reset: legal;
}

.legal-card ol li {
  counter-increment: legal;
}

.legal-card ol li::before {
  content: counter(legal) ".";
  position: absolute;
  left: 0;
  color: var(--blue-deep);
  font-weight: 600;
}

.legal-card a {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}

.legal-card code {
  padding: 1px 6px;
  border-radius: 6px;
  background: #f0f4fb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  color: #35507f;
}

.legal-card strong {
  color: var(--ink);
}

.callout {
  margin: 24px 0;
  padding: 18px 22px;
  border-radius: 4px 14px 14px 4px;
  border-left: 3px solid var(--blue);
  background: #eef5ff;
  color: #2b4a7d;
  font-size: 13.5px;
  line-height: 1.85;
}

.callout strong {
  color: #1c3b6e;
}

.table-wrap {
  margin: 18px 0 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.legal-card table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.75;
}

.legal-card th {
  padding: 12px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #5d6a86;
  background: #f4f7fc;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.legal-card td {
  padding: 13px 14px;
  border-bottom: 1px solid #f0f3f9;
  vertical-align: top;
  color: #4c5876;
}

.legal-card tr:last-child td {
  border-bottom: 0;
}

.legal-card td code {
  white-space: nowrap;
}

.legal-foot {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: #8a95ab;
}

/* ==========================================================================
   滚动渐入 / 动效
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.feature-grid .reveal:nth-child(2),
.theme-story-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.feature-grid .reveal:nth-child(3),

.feature-grid .reveal:nth-child(4),

.feature-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.feature-grid .reveal:nth-child(6) { transition-delay: 0.4s; }

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1120px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
  .feature-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
  .feature-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
  .feature-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
  .feature-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

  .widget-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-icons {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }


  .hero-inner {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 84px;
    left: 16px;
    right: 16px;
    z-index: 130;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 10px;
    border-radius: 18px;
    background: rgba(9, 16, 32, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 13px 15px;
    border-radius: 12px;
    font-size: 15px;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .site-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 132px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-visual {
    max-width: 640px;
    width: 100%;
    margin-inline: auto;
  }

  .stats {
    margin-top: 64px;
  }

  .theme-story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .theme-story-sticky {
    position: sticky;
    top: 92px;
    z-index: 2;
    padding: 0 0 8px;
    background: var(--paper);
  }

  .theme-steps {
    padding-bottom: 0;
  }

  .theme-step {
    min-height: 0;
    padding: 40px 0 20px;
    border-left: 0;
    border-top: 1px solid var(--line);
    opacity: 1;
  }

  .theme-step.is-active {
    border-left: 0;
    border-top-color: rgba(91, 147, 255, 0.5);
  }

  .theme-step p {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .wrap,
  .wrap-narrow {
    width: calc(100% - 36px);
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .gallery-row--wide {
    grid-template-columns: 1fr;
  }

  .gallery-row--square {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-icons {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .feature-list {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .widget-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
  }

  .privacy-band {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 40px 28px;
    border-radius: 24px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 18px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 36px;
  }

  .footer-links {
    gap: 56px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    margin-top: 36px;
  }

  .legal-hero {
    padding: 132px 0 56px;
  }

  .legal-body {
    padding: 44px 0 76px;
  }

  .legal-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .legal-toc {
    position: static;
    min-width: 0;
    padding: 16px;
  }

  .legal-toc nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
  }

  .legal-toc a {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f6fc;
    font-size: 12px;
  }

  .legal-card {
    padding: 32px 24px 36px;
    border-radius: 20px;
    font-size: 14px;
  }

  .legal-card h2 {
    font-size: 19px;
  }

  .legal-table {
    overflow: visible;
    border: 0;
  }

  .legal-table table {
    display: block;
    min-width: 0;
  }

  .legal-table thead {
    display: none;
  }

  .legal-table tbody,
  .legal-table tr {
    display: block;
  }

  .legal-table tr {
    margin-bottom: 12px;
    padding: 4px 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
  }

  .legal-table td {
    display: flex;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #f0f3f9;
    font-size: 13px;
    line-height: 1.8;
    word-break: break-word;
  }

  .legal-table tr td:last-child {
    border-bottom: 0;
  }

  .legal-table td::before {
    content: attr(data-label);
    flex: 0 0 82px;
    color: #8a95ab;
    font-size: 12px;
    line-height: 1.95;
  }

  .legal-table td code {
    white-space: normal;
    word-break: break-all;
  }

  .install {
    padding: 84px 0 90px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    gap: 14px;
    height: 68px;
  }

  .brand-text small {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions > .btn {
    display: none;
  }

  .site-nav {
    top: 76px;
  }

  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-actions .btn {
    flex: 1;
    padding: 0 18px;
    font-size: 14px;
  }


  .widget-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px;
  }

  .gallery-icons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .gallery-icon img {
    max-width: 68px;
    border-radius: 17px;
  }

  .widget {
    padding: 14px 12px;
    gap: 10px;
  }

  .widget-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .widget-icon .icon {
    width: 17px;
    height: 17px;
  }

  .widget h3 {
    font-size: 13.5px;
  }

  .widget p {
    font-size: 11.5px;
  }

  .install-actions .btn {
    width: 100%;
  }

  .theme-notes {
    justify-content: flex-start;
  }

  .theme-step {
    padding-top: 30px;
  }

  .theme-story-sticky {
    top: 80px;
  }
}

/* ==========================================================================
   减少动态
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
