/* =========================================================
   哇见 Wawsee · 品牌官网 Design Token
   中性基座 + Accent 强调色注入（data-product 控制）
   ========================================================= */

/* ---------- 品牌中性色（永久不变） ---------- */
:root {
  --base-bg:            #FFFFFF;
  --base-bg-alt:        #F8F8FA;
  --base-surface:       #FFFFFF;
  --base-border:        #E8E8EC;
  --base-text-primary:  #1A1A1F;
  --base-text-secondary:#6B6B72;
  --base-text-tertiary: #9A9AA1;
  --base-inverse:       #FFFFFF;

  /* ---------- 字体 ---------- */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Helvetica Neue", Helvetica, "Microsoft YaHei", Arial, sans-serif;

  --text-xs:     12px;
  --text-sm:     14px;
  --text-base:   16px;
  --text-lg:     18px;
  --text-xl:     20px;
  --text-2xl:    24px;
  --text-3xl:    30px;
  --text-4xl:    36px;
  --text-5xl:    48px;
  --text-6xl:    64px;

  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semibold:600;
  --weight-bold:    700;

  --leading-tight:   1.25;
  --leading-normal:  1.5;
  --leading-relaxed: 1.75;

  /* ---------- 间距 ---------- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* ---------- 圆角 ---------- */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* ---------- 阴影 ---------- */
  --shadow-xs:  0 1px 2px rgba(15, 15, 20, 0.04);
  --shadow-sm:  0 2px 6px rgba(15, 15, 20, 0.06);
  --shadow-md:  0 4px 16px rgba(15, 15, 20, 0.08);
  --shadow-lg:  0 8px 32px rgba(15, 15, 20, 0.10);
  --shadow-xl:  0 16px 48px rgba(15, 15, 20, 0.12);

  /* ---------- 动效 ---------- */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
}

/* ---------- Accent Token · 当前产品：色彩分析 TonePick ---------- */
[data-product="tonepick"] {
  --accent-50:  #F5F0FF;
  --accent-100: #E8DCFF;
  --accent-300: #C9B1FF;
  --accent-500: #9B7FD4;
  --accent-700: #7B5FB0;
}

/* =========================================================
   Reset & Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--base-text-primary);
  background: var(--base-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* =========================================================
   通用容器
   ========================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}
@media (min-width: 768px) { .container { padding: 0 var(--space-8); } }
@media (min-width: 1024px) { .container { padding: 0 var(--space-12); } }

/* 区块通用间距 */
.section { padding: var(--space-16) 0; }
@media (min-width: 768px) { .section { padding: var(--space-20) 0; } }
@media (min-width: 1024px) { .section { padding: var(--space-24) 0; } }

/* 区块标题 */
.section-title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  text-align: center;
  margin-bottom: var(--space-3);
}
.section-subtitle {
  font-size: var(--text-lg);
  color: var(--base-text-secondary);
  text-align: center;
  margin-bottom: var(--space-12);
}
.section-subtitle .accent { color: var(--accent-500); }

/* 通用 Accent 高亮词 */
.accent { color: var(--accent-500); }

/* =========================================================
   按钮组件
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 48px;
  padding: 0 var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-500);
  color: var(--base-inverse);
}
.btn-primary:hover {
  background: var(--accent-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--base-text-primary);
  border: 1px solid var(--base-border);
}
.btn-ghost:hover {
  background: var(--base-bg-alt);
}
.btn-accent-ghost {
  background: transparent;
  color: var(--accent-700);
  border: 1.5px solid var(--accent-500);
}
.btn-accent-ghost:hover {
  background: var(--accent-50);
}
.btn-lg { height: 52px; padding: 0 var(--space-8); font-size: var(--text-lg); }

/* =========================================================
   Header · 顶部导航
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-base) var(--ease-out);
}
.header.is-scrolled { border-bottom-color: var(--base-border); }
.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  line-height: 1; /* 统一行高，消除不同浏览器 line-height:normal 计算差异 */
  color: var(--base-text-primary);
}
.brand-logo {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-logo img { display: block; width: 32px; height: 32px; object-fit: contain; }
/* 文字容器：inline-flex + baseline 对齐，避免 CJK 与 Latin 默认 baseline 漂移 */
.brand > span {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}
.brand-en {
  margin-left: 2px;
  vertical-align: baseline; /* 显式声明，防止浏览器默认值差异 */
  line-height: 1;
}
.nav { display: none !important; }
.nav a {
  font-size: var(--text-sm);
  color: var(--base-text-secondary);
  font-weight: var(--weight-medium);
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}
.nav a:hover { color: var(--base-text-primary); }
.nav a.is-active { color: var(--base-text-primary); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--accent-500);
  border-radius: 2px;
}
.header-cta,
.header-back-home {
  display: inline-flex;
  height: 36px;
  padding: 0 var(--space-4);
  font-size: var(--text-sm);
}
.header-back-home svg { width: 16px; height: 16px; }

/* 移动端汉堡 */
.hamburger { display: none !important; }
.hamburger span {
  display: block;
  height: 2px;
  background: var(--base-text-primary);
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-out);
}

/* 移动端抽屉 */
.mobile-drawer {
  display: none !important;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--base-bg);
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all var(--duration-base) var(--ease-out);
  padding: var(--space-6);
}
.mobile-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer a {
  display: block;
  padding: var(--space-4) 0;
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  color: var(--base-text-primary);
  border-bottom: 1px solid var(--base-border);
}

/* =========================================================
   Hero 区
   ========================================================= */
.hero {
  position: relative;
  padding-top: calc(64px + var(--space-12));
  padding-bottom: var(--space-16);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero {
    padding-top: calc(64px + var(--space-16));
    padding-bottom: var(--space-20);
    min-height: 720px;
    display: flex;
    align-items: center;
  }
}

/* 背景光晕装饰 */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60%; height: 80%;
  background: radial-gradient(circle, var(--accent-50) 0%, transparent 65%);
  opacity: 0.6;
}
.hero-bg::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 50%; height: 60%;
  background: radial-gradient(circle, var(--accent-50) 0%, transparent 65%);
  opacity: 0.4;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}
@media (min-width: 1024px) {
  .hero .container {
    flex-direction: row;
    align-items: center;
    gap: var(--space-16);
  }
}

.hero-content { flex: 1; }
.hero-visual { flex: 1; display: flex; justify-content: center; }

.hero-title {
  font-size: 34px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
@media (min-width: 768px) { .hero-title { font-size: 44px; } }
@media (min-width: 1024px) { .hero-title { font-size: 48px; } }
@media (min-width: 1280px) { .hero-title { font-size: 52px; } }

.hero-subtitle {
  font-size: var(--text-base);
  color: var(--base-text-secondary);
  margin-bottom: var(--space-6);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  background: var(--accent-50);
  color: var(--accent-700);
  border-radius: var(--radius-full);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Hero QR 卡 */
.qr-card {
  position: relative;
  background: var(--base-surface);
  border: 1px solid var(--base-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  max-width: 280px;
  width: 100%;
}

/* 扫码引导：定位到 Hero 后二维码卡片边缘的流动光线 */
@property --flow-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.qr-card::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-xl) + 3px);
  padding: 3px;
  background: conic-gradient(from var(--flow-angle),
    transparent 0deg,
    transparent 250deg,
    var(--accent-500) 305deg,
    #c9b1ff 330deg,
    #ffffff 342deg,
    var(--accent-500) 354deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  filter: drop-shadow(0 0 6px rgba(155, 127, 212, 0.45));
  opacity: 0;
  pointer-events: none;
}
.qr-card.is-flowing::after {
  animation:
    qr-flow-spin 1.5s linear 4,
    qr-flow-show 6s ease forwards;
}
@keyframes qr-flow-spin { to { --flow-angle: 360deg; } }
@keyframes qr-flow-show {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; }
}
.qr-image {
  width: 200px; height: 200px;
  background: var(--base-bg-alt);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.qr-image img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 1024px) {
  .qr-image { width: 240px; height: 240px; }
}
.qr-placeholder {
  width: 100%; height: 100%;
  background:
    linear-gradient(135deg, var(--accent-50) 25%, transparent 25%),
    linear-gradient(225deg, var(--accent-50) 25%, transparent 25%),
    linear-gradient(45deg, var(--accent-50) 25%, transparent 25%),
    linear-gradient(315deg, var(--accent-50) 25%, transparent 25%);
  background-size: 12px 12px;
  background-position: 0 0, 6px 0, 6px -6px, 0px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--base-text-tertiary);
  font-size: var(--text-xs);
  text-align: center;
  padding: var(--space-4);
}
.qr-hint {
  font-size: var(--text-sm);
  color: var(--base-text-secondary);
  text-align: center;
}
.qr-product-name {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--base-text-primary);
}

/* =========================================================
   产品亮点卡片区
   ========================================================= */
.highlights { background: var(--base-bg); }
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) { .highlights-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); } }
@media (min-width: 900px) { .highlights-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  background: var(--base-surface);
  border: 1px solid var(--base-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.icon-tile {
  width: 48px; height: 48px;
  background: var(--accent-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}
.icon-tile svg { width: 24px; height: 24px; stroke: var(--accent-500); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.feature-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--base-text-primary);
  margin-bottom: var(--space-2);
}
.feature-desc {
  font-size: var(--text-sm);
  color: var(--base-text-secondary);
  white-space: nowrap;
}

/* =========================================================
   产品演示 · 步骤条
   ========================================================= */
.demo { background: var(--base-bg-alt); }

.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-6);
    position: relative;
  }
  /* 步骤间连接线（桌面） */
  .steps::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--accent-100);
    z-index: 0;
  }
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  background: var(--base-bg-alt);
}
@media (min-width: 768px) { background: transparent; }

.step-num {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: var(--accent-500);
  color: var(--base-inverse);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.step-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--base-text-primary);
  margin-bottom: var(--space-2);
}
.step-desc {
  font-size: var(--text-sm);
  color: var(--base-text-secondary);
  white-space: nowrap;
}

/* =========================================================
   CTA 扫码引导区
   ========================================================= */
.cta-section {
  background: var(--base-bg-alt);
  text-align: center;
  padding: var(--space-20) 0;
}
@media (min-width: 1024px) { .cta-section { padding: var(--space-24) 0; } }

.cta-title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-8);
}
@media (min-width: 768px) { .cta-title { font-size: var(--text-4xl); } }

.cta-qr {
  margin: 0 auto;
  max-width: 280px;
  background: var(--base-surface);
  border: 1px solid var(--base-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}
.cta-qr .qr-image { width: 200px; height: 200px; }

.cta-hint-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.cta-hint {
  font-size: var(--text-sm);
  color: var(--base-text-secondary);
}

/* =========================================================
   联系我们（复用 cta-section 底色，居中版面）
   ========================================================= */
.contact-section .cta-title { margin-bottom: var(--space-4); }
.contact-desc {
  max-width: 560px;
  margin: 0 auto var(--space-10);
  font-size: var(--text-base);
  color: var(--base-text-secondary);
  line-height: var(--leading-relaxed);
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--base-bg-alt);
  border-top: 1px solid var(--base-border);
  padding: var(--space-12) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand .brand {
  margin-bottom: var(--space-3);
}
.footer-slogan {
  font-size: var(--text-sm);
  color: var(--base-text-secondary);
  max-width: 320px;
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--base-text-primary);
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a {
  font-size: var(--text-sm);
  color: var(--base-text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}
.footer-col a:hover { color: var(--accent-500); }

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--base-border);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--base-text-tertiary);
}

.footer-record {
  margin-top: var(--space-1);
}
.footer-record a {
  transition: color var(--duration-fast) var(--ease-out);
}
.footer-record a:hover {
  color: var(--accent-500);
}

/* =========================================================
   滚动入场动效
   ========================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform: var(--duration-slow) var(--ease-out);
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 尊重减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   关于我们页
   ========================================================= */
/* Sticky footer：内容不足一屏时，footer 仍落在视口底部 */
.page-about {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page-about .about-hero { flex: 1 0 auto; }

.about-hero {
  position: relative;
  padding-top: calc(64px + var(--space-16));
  padding-bottom: var(--space-20);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .about-hero { padding-top: calc(64px + var(--space-20)); padding-bottom: var(--space-24); }
}
.about-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.about-bg::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 55%; height: 80%;
  background: radial-gradient(circle, var(--accent-50) 0%, transparent 65%);
  opacity: 0.6;
}
.about-bg::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 45%; height: 60%;
  background: radial-gradient(circle, var(--accent-50) 0%, transparent 65%);
  opacity: 0.4;
}
.about-hero .container { position: relative; z-index: 1; }

/* 双列网格：左侧价值主张卡 + 右侧文字内容；移动端单列且隐藏左侧 */
.about-grid { display: block; }
@media (min-width: 768px) {
  .about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "title brand"
      "content brand";
    column-gap: var(--space-16);
    row-gap: var(--space-12);
  }
  .about-brand { grid-area: brand; align-self: center; }
  .about-title-block { grid-area: title; }
  .about-content { grid-area: content; }
}
@media (min-width: 1024px) {
  .about-grid { column-gap: var(--space-20); }
}

/* 品牌展示区：移动端居中显示在标题与内容之间；桌面端位于左列 */
.about-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  margin: var(--space-10) 0;
}
@media (min-width: 768px) {
  .about-brand { margin: 0; }
}

/* Logo + 浅紫光晕 */
.about-brand-logo {
  position: relative;
  width: 180px; height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-brand-logo::before {
  content: "";
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle, var(--accent-50) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.about-brand-logo img {
  position: relative;
  z-index: 1;
  width: 180px; height: 180px;
  object-fit: contain;
}

/* 标语：紫色文字 */
.about-brand-slogan {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--accent-700);
  letter-spacing: 0.04em;
  line-height: var(--leading-relaxed);
}

.about-content { text-align: left; }
/* 桌面/平板端收窄文字宽度（网格列已对齐，不再 margin-left:auto） */
@media (min-width: 768px) { .about-content { max-width: 640px; } }
@media (min-width: 1024px) { .about-content { max-width: 680px; } }
.about-eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-700);
  background: var(--accent-50);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}
.about-title {
  font-size: 34px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-8);
}
@media (min-width: 768px) { .about-title { font-size: var(--text-5xl); margin-bottom: 0; } }
.about-lead {
  font-size: var(--text-lg);
  color: var(--base-text-secondary);
  line-height: var(--leading-relaxed);
}
.about-slogan {
  margin-top: var(--space-10);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--accent-700);
  line-height: var(--leading-tight);
  letter-spacing: 0.06em;
  position: relative;
  padding-left: var(--space-4);
  border-left: 3px solid var(--accent-500);
}
@media (min-width: 768px) {
  .about-lead { font-size: var(--text-xl); }
  .about-slogan { font-size: var(--text-3xl); }
}

/* =========================================================
   协议页（用户协议 / 隐私政策）
   ========================================================= */
/* Sticky footer：内容不足一屏时，footer 仍落在视口底部 */
.page-legal {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page-legal .legal-main { flex: 1 0 auto; }

/* 协议页头部 */
.legal-hero {
  position: relative;
  padding-top: calc(64px + var(--space-12));
  padding-bottom: var(--space-8);
  background: var(--base-bg-alt);
  border-bottom: 1px solid var(--base-border);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .legal-hero { padding-top: calc(64px + var(--space-16)); padding-bottom: var(--space-10); }
}
.legal-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-700);
  background: var(--accent-50);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.legal-title {
  font-size: 28px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
}
@media (min-width: 768px) { .legal-title { font-size: var(--text-4xl); } }
.legal-meta {
  font-size: var(--text-sm);
  color: var(--base-text-tertiary);
}

/* 协议正文 */
.legal-body { padding: var(--space-12) 0 var(--space-20); }
@media (min-width: 1024px) { .legal-body { padding: var(--space-16) 0 var(--space-24); } }
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--base-text-primary);
}
.legal-intro {
  background: var(--accent-50);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  color: var(--base-text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-10);
}
@media (min-width: 768px) { .legal-intro { font-size: var(--text-base); } }
.legal-content h2 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--base-text-primary);
  margin: var(--space-10) 0 var(--space-4);
}
.legal-content > h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--base-text-primary);
  margin: var(--space-6) 0 var(--space-3);
}
@media (min-width: 768px) {
  .legal-content { font-size: var(--text-lg); }
  .legal-content h2 { font-size: var(--text-2xl); }
  .legal-content h3 { font-size: var(--text-lg); }
}
.legal-content p { margin-bottom: var(--space-4); }
.legal-content ul {
  margin: 0 0 var(--space-4);
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.legal-content li { list-style: disc; }
.legal-content li::marker { color: var(--accent-500); }
.legal-content strong { font-weight: var(--weight-semibold); }
.legal-content a { color: var(--accent-700); text-decoration: underline; text-underline-offset: 2px; }

/* 焦点态（无障碍） */
:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
