/* ==========================================================================
   Pika 相机 · pika.yujianhd.com
   全站共用样式。两套语境：
     品牌页（深色 + 全屏调色演示） / 法务页（同款深色外壳 + 浅色正文卡片）

   字体全部使用系统栈，不引外链：中文衬线在 Apple 平台是宋体、
   在 Windows 回落到宋体/思源；少一次跨境外请求，首屏就不会白等。
   ========================================================================== */

:root {
  /* 品牌页 */
  --bg: #08080a;
  --bg-soft: #0d0d10;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hi: rgba(255, 255, 255, 0.062);
  --border: rgba(255, 255, 255, 0.09);
  --border-hi: rgba(255, 255, 255, 0.16);
  --text: #f2f2f4;
  --muted: #8b8b93;
  --muted-dim: #63636b;
  --accent: #cfa73f;
  --accent-soft: rgba(207, 167, 63, 0.14);

  /* 法务页 */
  --paper-bg: #f2f2f5;
  --paper: #ffffff;
  --ink: #1c1c1e;
  --ink-soft: #3a3a3c;
  --ink-muted: #6b6b73;
  --rule: #e5e5ea;

  --nav-h: 66px;
  --maxw: 1180px;
  --readw: 760px;
  --radius: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
             "Hiragino Sans GB", "Microsoft YaHei", Roboto, sans-serif;
  --font-display: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC",
                  "SimSun", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --font-body: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

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

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

/* ---------- 导航 ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 max(20px, 5vw);
  background: rgba(8, 8, 10, 0.6);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.site-logo {
  display: flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.site-logo .brand {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.site-logo .brand-sub {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.16em;
}

.site-nav-links { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 34px); }

.site-nav-links a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}

.site-nav-links a:not(.lang)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.site-nav-links a:hover { color: var(--text); }
.site-nav-links a:hover:not(.lang)::after,
.site-nav-links a[aria-current="page"]:not(.lang)::after { transform: scaleX(1); }
.site-nav-links a[aria-current="page"] { color: var(--text); }

.site-nav-links a.lang {
  padding: 5px 13px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.site-nav-links a.lang:hover { border-color: var(--border-hi); color: var(--text); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 52px max(20px, 5vw) 44px;
  font-size: 0.82rem;
  font-weight: 300;
}

.site-footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: flex-start;
  justify-content: space-between;
}

.site-footer p { margin-bottom: 7px; }
.site-footer .entity { color: var(--text); font-weight: 400; margin-bottom: 12px; letter-spacing: 0.02em; }
.site-footer a { color: var(--muted); text-decoration: none; transition: color 0.3s var(--ease); }
.site-footer a:hover { color: var(--text); }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }

/* ==========================================================================
   品牌首页
   ========================================================================== */
.home-body { background: var(--bg); color: var(--text); overflow-x: hidden; }

/* ---------- Hero：全屏实时调色 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(100vh, 880px);
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 56px) 22px 96px;
}

.hero-fallback,
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-canvas { opacity: 0; transition: opacity 1s var(--ease); }
.hero-canvas.is-live { opacity: 1; }
.no-webgl .hero-canvas { display: none; }

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(8, 8, 10, 0.95) 0%,
      rgba(8, 8, 10, 0.52) 30%,
      rgba(8, 8, 10, 0.50) 62%,
      rgba(8, 8, 10, 0.97) 100%),
    radial-gradient(128% 76% at 50% 46%, rgba(8, 8, 10, 0.16) 34%, rgba(8, 8, 10, 0.72) 100%);
}

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 880px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 26px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.6vw, 5rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.55);
}

.hero .lede {
  font-size: clamp(0.98rem, 1.7vw, 1.22rem);
  color: #cfcfd6;
  font-weight: 300;
  letter-spacing: 0.06em;
  margin-bottom: 38px;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.6);
}

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 32px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.btn-primary { background: var(--text); color: #0b0b0d; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(255, 255, 255, 0.16); }

.btn-outline {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(8, 8, 10, 0.28);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn-outline:hover { border-color: rgba(255, 255, 255, 0.5); transform: translateY(-2px); }

.btn-note {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.56);
  margin-top: 18px;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.7);
}

.hero-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.8);
}

.hero-hint::before,
.hero-hint::after {
  content: '';
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* ---------- 通用区块 ---------- */
.section { padding: clamp(72px, 10vw, 132px) max(20px, 5vw); max-width: var(--maxw); margin: 0 auto; }

.section-head { margin-bottom: clamp(40px, 5.4vw, 76px); max-width: 720px; }

.section-head .eyebrow { margin-bottom: 18px; }

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.8vw, 2.9rem);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.005em;
  margin-bottom: 16px;
  text-wrap: balance;
}

/* 第二屏右边那列窄，标题单独收一号，免得断在词中间 */
.device-copy .section-head h2 { font-size: clamp(1.45rem, 2.5vw, 2.05rem); }

.section-head p { color: var(--muted); font-size: clamp(0.95rem, 1.5vw, 1.06rem); font-weight: 300; line-height: 1.8; }

.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- 截图陈列 ---------- */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }

.shot {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease);
}

.shot:hover { transform: translateY(-6px); border-color: var(--border-hi); }

.shot img { width: 100%; height: auto; }

.shot figcaption {
  padding: 20px 24px 24px;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}

.shot figcaption strong {
  display: block;
  color: var(--text);
  font-weight: 500;
  font-size: 0.98rem;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

/* ---------- 功能网格：bento + 每格一个可看的小仪表 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.card {
  position: relative;
  background: var(--bg);
  padding: clamp(24px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: background 0.5s var(--ease);
}

.card.span-2 { grid-column: span 2; }
.card.span-3 { grid-column: span 3; }
.card.span-6 { grid-column: span 6; }

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 50% 0%, var(--accent-soft), transparent 68%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.card:hover { background: var(--bg-soft); }
.card:hover::before { opacity: 1; }

.card > * { position: relative; }

.card h3 {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.01em;
}

.card p { color: var(--muted); font-size: 0.92rem; font-weight: 300; line-height: 1.8; margin: 0; }

/* --- 每格的小仪表 --- */
.viz {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 10px;
  overflow: hidden;
}

/* 八款风格：八条色带 */
.viz-looks span {
  flex: 1;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(170deg, var(--c1), var(--c2));
  transition: transform 0.5s var(--ease);
}

.card:hover .viz-looks span { transform: scaleY(1.06); }

/* 按住对比：一条自动来回滑的分割线 */
.viz-compare { position: relative; }

.viz-compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viz-compare img.graded { filter: saturate(1.14) contrast(1.13) sepia(0.14) brightness(0.98); }

.viz-compare .split {
  position: absolute;
  top: 0; bottom: 0;
  left: 18%;
  width: 2px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  animation: sweep 4.5s var(--ease) infinite alternate;
}

@keyframes sweep {
  from { left: 18%; }
  to   { left: 82%; }
}

/* 原图保留：两张错开的缩略图 */
.viz-keep { position: relative; }

.viz-keep span {
  position: absolute;
  top: 50%;
  width: 84px;
  height: 52px;
  border-radius: 8px;
  background: url('coast.jpg') center / cover;
  border: 1px solid var(--border-hi);
}

.viz-keep span:nth-child(1) { left: 7%;  transform: translateY(-50%) rotate(-5deg); opacity: 0.45; }
.viz-keep span:nth-child(2) { left: 25%; transform: translateY(-50%) rotate(3deg); }

/* 人像：两条各自独立控制的滑轨 */
.viz-portrait {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  padding: 0 6%;
}

.viz-portrait i {
  position: relative;
  display: block;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.viz-portrait i::after {
  content: '';
  position: absolute;
  top: -5px;
  left: var(--at, 50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--text);
  transition: left 0.7s var(--ease);
}

.card:hover .viz-portrait i:nth-child(1)::after { left: 28%; }
.card:hover .viz-portrait i:nth-child(2)::after { left: 72%; }

/* 视频：音轨波形 */
.viz-video svg { width: 100%; height: 44px; }
.viz-video rect { fill: rgba(255, 255, 255, 0.26); transition: fill 0.5s var(--ease); }
.card:hover .viz-video rect { fill: rgba(207, 167, 63, 0.6); }

/* 离线：无云图标 */
.viz-offline { justify-content: center; gap: 16px; }
.viz-offline svg { width: 30px; height: 30px; color: var(--muted); }
.viz-offline .slash { color: var(--accent); }

/* 收尾那张横过来，当一句结语 */
.card.row { flex-direction: row; align-items: center; gap: clamp(20px, 3vw, 42px); }
.card.row .viz { flex: 0 0 auto; width: 108px; height: 54px; }
.card.row .card-copy { flex: 1; display: flex; flex-direction: column; gap: 8px; }

/* ---------- 隐私承诺：四个大号 0 ---------- */
.assure {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(76% 130% at 50% 100%, rgba(207, 167, 63, 0.07), transparent 72%),
    var(--bg-soft);
}

.assure .section { text-align: center; }
.assure .section-head { margin-bottom: clamp(34px, 4.6vw, 62px); }

.assure h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 400;
  margin-bottom: 18px;
  line-height: 1.3;
  text-wrap: balance;
}

.assure-lead {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.9;
  text-wrap: balance;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 800px;
  margin: 0 auto;
  background: var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.stat {
  background: var(--bg-soft);
  padding: clamp(20px, 2.6vw, 32px) 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.stat .n {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 400;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.stat .l {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-align: center;
}

.assure-link {
  display: inline-block;
  margin-top: clamp(28px, 3.6vw, 44px);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
  transition: color 0.35s var(--ease);
}

.assure-link:hover { color: var(--accent); }

/* ==========================================================================
   第二屏 · 滚动驱动：手机留在原地，界面随文字换
   ========================================================================== */
.device { padding: clamp(72px, 10vw, 132px) max(20px, 5vw); max-width: var(--maxw); margin: 0 auto; }

.device-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
}

.device-stage {
  position: sticky;
  top: calc(var(--nav-h) + 54px);
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(304px, 64vw);
  aspect-ratio: 1206 / 2622;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(155deg, #26262e 0%, #0b0b0e 52%, #1a1a20 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.09),
    0 42px 90px rgba(0, 0, 0, 0.62),
    0 0 90px rgba(207, 167, 63, 0.06);
  transform: perspective(1500px) rotateY(-11deg) rotateX(2.5deg);
  transition: transform 1.1s var(--ease);
}

.phone[data-tilt="1"] { transform: perspective(1500px) rotateY(-3.5deg) rotateX(1deg) translateY(-8px); }

.phone-notch {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 22px;
  border-radius: 12px;
  background: #000;
  z-index: 2;
}

.phone-screen {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: cover;
  border-radius: 37px;
  opacity: 0;
  transition: opacity 0.75s var(--ease);
}

.phone-screen.is-active { opacity: 1; }

.device-copy { padding: clamp(4px, 4vh, 42px) 0; }

.device-copy .section-head { margin-bottom: clamp(20px, 4vh, 44px); }

.device-step {
  min-height: min(56vh, 460px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.26;
  transition: opacity 0.75s var(--ease);
}

.device-step.is-active { opacity: 1; }

.step-idx {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 16px;
}

.device-step h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 15px;
}

.device-step p { color: var(--muted); font-weight: 300; line-height: 1.95; max-width: 40ch; }

/* ==========================================================================
   第三屏 · 真的可以拖的调节台
   ========================================================================== */
.studio-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 42px);
  padding: clamp(16px, 2.2vw, 26px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.studio-view {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.studio-fallback,
.studio-view canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-view canvas { opacity: 0; transition: opacity 0.8s var(--ease); }
.studio-view canvas.is-live { opacity: 1; }
.studio-view.no-webgl canvas { display: none; }

.studio-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 1.7vw, 20px);
}

.ctrl { display: grid; grid-template-columns: 3.3em 1fr; align-items: center; gap: 14px; }

.ctrl span { font-size: 0.83rem; color: var(--muted); letter-spacing: 0.05em; }

.ctrl input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 24px;
  background: transparent;
  cursor: pointer;
}

.ctrl input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.24);
}

.ctrl input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px; height: 13px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 0 rgba(207, 167, 63, 0.22);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.ctrl input[type="range"]:hover::-webkit-slider-thumb,
.ctrl input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 7px rgba(207, 167, 63, 0.18);
}

.ctrl input[type="range"]::-moz-range-track {
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.24);
}

.ctrl input[type="range"]::-moz-range-thumb {
  width: 13px; height: 13px;
  border: 0;
  border-radius: 50%;
  background: var(--text);
}

.ctrl input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.studio-reset {
  align-self: flex-start;
  margin-top: 4px;
  padding: 9px 22px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.studio-reset:hover { color: var(--text); border-color: var(--border-hi); }

/* ---------- 滚动进入 ---------- */
[data-rise] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
}

[data-rise].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   法务页（隐私政策 / 技术支持）
   ========================================================================== */
.legal-body { background: var(--paper-bg); color: var(--ink-soft); font-family: var(--font-body); }

.legal-main { padding: calc(var(--nav-h) + clamp(28px, 5vw, 54px)) 20px 76px; }

.legal-card {
  max-width: var(--readw);
  margin: 0 auto;
  background: var(--paper);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 58px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 14px 40px rgba(0, 0, 0, 0.05);
}

.legal-card h1 { font-size: clamp(1.5rem, 3.6vw, 1.95rem); font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.legal-meta { color: var(--ink-muted); font-size: 0.86rem; margin-bottom: 6px; }
.legal-lang { font-size: 0.86rem; margin-bottom: 36px; }

.legal-card h2 {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  margin: 36px 0 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--rule);
}

.legal-card h3 { font-size: 0.97rem; font-weight: 600; color: var(--ink); margin: 22px 0 6px; }
.legal-card p, .legal-card li { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.78; }
.legal-card p + p { margin-top: 10px; }
.legal-card ul, .legal-card ol { padding-left: 22px; margin: 10px 0; }
.legal-card li { margin-bottom: 7px; }
.legal-card a { color: #0066cc; text-decoration: none; }
.legal-card a:hover { text-decoration: underline; }
.legal-card strong { color: var(--ink); }
.legal-card code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: #f2f2f7;
  padding: 2px 6px;
  border-radius: 5px;
}

.callout { background: #f2f2f7; border-radius: 12px; padding: 15px 20px; margin: 16px 0; }
.callout p { margin: 0; font-size: 0.91rem; }

.contact-box { background: #f2f2f7; border-radius: 14px; padding: 20px 24px; margin-top: 16px; }
.contact-box p { margin: 7px 0; }

.step { background: #f2f2f7; border-radius: 12px; padding: 15px 20px; margin-bottom: 10px; }
.step strong { display: block; margin-bottom: 5px; color: var(--ink); }

/* ---------- 窄屏 ---------- */
@media (max-width: 900px) {
  /* 手机上不做吸顶——手机停在顶部会把滚上来的文字压住。
     改成手机在上、两步说明在下的普通排布，一屏看全。 */
  .device-inner { grid-template-columns: 1fr; gap: 0; }

  .device-stage { position: static; padding: 0 0 34px; background: none; }

  .phone {
    width: min(214px, 55vw);
    border-radius: 32px;
    padding: 7px;
    transform: perspective(1100px) rotateY(-6deg);
  }

  .phone-screen { inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); border-radius: 26px; }
  .phone-notch { width: 52px; height: 15px; top: 14px; border-radius: 8px; }

  .device-step {
    min-height: auto;
    opacity: 1;
    margin-bottom: 36px;
  }

  .device-step:last-child { margin-bottom: 0; }
  .device-step p { max-width: none; }

  .studio-panel { grid-template-columns: 1fr; }
  .studio-view { aspect-ratio: 4 / 3; }

  /* bento 收成两列 */
  .card.span-2, .card.span-3 { grid-column: span 3; }
}

@media (max-width: 760px) {
  .site-nav-links a:not(.lang):not(.keep-mobile) { display: none; }
  .hero { min-height: min(94vh, 720px); }
  .hero-hint { font-size: 0.58rem; letter-spacing: 0.2em; }
  .hero-hint::before, .hero-hint::after { width: 20px; }
  .site-footer-inner { flex-direction: column; gap: 18px; }

  /* bento 收成一列，隐私的四个 0 收成两行 */
  .card.span-2, .card.span-3, .card.span-6 { grid-column: span 6; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
  [data-rise] { opacity: 1; transform: none; }
}
