/* ============================================================
   拾光手记 · 官网
   设计令牌与 App 同源：黑白灰主体 + 品牌暖金（拾光的「光」）
   ============================================================ */

:root {
  --ink: #1d1d1f;
  --ink2: #86868b;
  --ink3: #aeaeb2;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --line: #ececee;

  --dark: #131314;
  --dark-card: #1c1c1e;
  --dark-ink: #f5f5f7;
  --dark-ink2: #98989e;

  --gold: #b98a2f;
  --gold-light: #f2ce8b;
  --gold-tint: #f9f2e0;

  --teal: #2e9c94;      --teal-tint: #e7f5f4;
  --pink: #c25578;      --pink-tint: #fbe9ee;
  --green: #4c8c5c;     --green-tint: #eaf3ec;

  --radius-card: 28px;
  --shadow-card: 0 2px 6px rgba(0, 0, 0, .04), 0 24px 60px -24px rgba(0, 0, 0, .18);
  --shadow-phone: 0 4px 10px rgba(0, 0, 0, .06), 0 48px 90px -30px rgba(0, 0, 0, .35);
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro SC",
    "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 矮屏（如横屏/小窗）放宽吸附，避免内容被卡住看不全 */
@media (max-height: 620px) {
  html { scroll-snap-type: y proximity; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 通用版式 ---------- */

.section {
  min-height: 100vh;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 24px 72px;
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

/* 每屏一个主题渐变：底色随功能色走，透明度压低保持苹果式克制 */

/* 记录 · 暖金晨光 */
#record {
  background:
    radial-gradient(820px 480px at 88% 8%, rgba(242, 206, 139, .38), transparent 62%),
    linear-gradient(165deg, #fffdf8 0%, #fdf1dd 58%, #fbe7c8 100%);
}

/* 归类 · 五色粉紫青混染 */
#tags {
  background: linear-gradient(150deg, #fdeff3 0%, #f4f0fb 46%, #eaf6f5 100%);
}

/* 语音 · 青波 */
#voice {
  background:
    radial-gradient(760px 460px at 8% 90%, rgba(63, 184, 175, .20), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #eaf6f5 100%);
}

/* 日程 · 暖金 */
#schedule {
  background:
    radial-gradient(860px 520px at 86% 12%, rgba(242, 206, 139, .42), transparent 60%),
    linear-gradient(175deg, #fffdf7 0%, #f9edd0 100%);
}

/* 问答 · 晴空蓝 */
#chat {
  background:
    radial-gradient(780px 480px at 10% 88%, rgba(91, 155, 213, .20), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #ebf3fb 100%);
}

/* 隐私 · 静谧浅色（蓝 + 金微光） */
#privacy {
  background:
    radial-gradient(920px 540px at 14% 18%, rgba(91, 155, 213, .20), transparent 58%),
    radial-gradient(860px 540px at 86% 82%, rgba(242, 206, 139, .40), transparent 58%),
    linear-gradient(165deg, #f6f9fd 0%, #f7f0de 100%);
}

/* 细节 · 中性浅灰渐变 */
#more {
  background: linear-gradient(180deg, #f8f8fa 0%, #edeff3 100%);
}

/* 下载 · 金色收尾 */
#download {
  background:
    radial-gradient(1050px 580px at 50% -12%, #fbe4ae 0%, rgba(251, 228, 174, 0) 56%),
    radial-gradient(720px 440px at 88% 104%, rgba(242, 206, 139, .30), transparent 60%),
    linear-gradient(180deg, #fffcf4 0%, #f7ebcd 100%);
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.center-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink2);
  margin-bottom: 18px;
}

.eyebrow.gold {
  background: linear-gradient(120deg, #d9a84e, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 {
  /* 8 个全角字符（写一句，就完事。）在 1.2fr 左栏内单行放下 */
  font-size: clamp(34px, 6.4vw, 78px);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 800;
  white-space: nowrap;
}

h1 em {
  font-style: normal;
  background: linear-gradient(115deg, #f7e3b3 0%, var(--gold-light) 38%, #d9a84e 72%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 800;
}

.lede {
  margin-top: 26px;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.55;
  color: var(--ink2);
}

.sub {
  margin-top: 22px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  color: var(--ink2);
}

.sub + .sub { margin-top: 10px; }

/* 滚动进场动画：仅在 JS 可用时先藏后现（html.js 由 main.js 挂上） */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .6, .2, 1);
}
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .25s ease, opacity .25s ease, background .25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { opacity: .88; }

.btn.ghost {
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(29, 29, 31, .28);
}
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(29, 29, 31, .6); }

.btn.lg { padding: 17px 38px; font-size: 18px; }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.btn-row.center { justify-content: center; }

/* ---------- 顶部导航 ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 max(24px, env(safe-area-inset-left));
  height: 56px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  transition: background .4s ease;
}

.nav-logo {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(115deg, var(--ink) 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a,
.nav-cta,
.foot-links a {
  font-size: 14px;
  text-decoration: none;
  color: var(--ink2);
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-cta:hover,
.foot-links a:hover { color: var(--ink); }

.nav-cta {
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
  font-weight: 600;
}
.nav-cta:hover { opacity: .85; }

/* ---------- 右侧翻页圆点 ---------- */

.dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 55;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--ink3);
  opacity: .55;
  cursor: pointer;
  padding: 0;
  transition: height .3s ease, background .3s ease, opacity .3s ease;
}

.dots button:hover { opacity: 1; }

.dots button.active {
  height: 24px;
  background: var(--gold);
  opacity: 1;
}

/* ---------- 首屏 ---------- */

/* 首屏 · 晨光拾金：暖金为主，粉青佐光 */
.hero {
  background:
    radial-gradient(1000px 580px at 78% 14%, rgba(242, 206, 139, .45), transparent 60%),
    radial-gradient(760px 480px at 10% 84%, rgba(217, 123, 143, .16), transparent 58%),
    radial-gradient(820px 520px at 86% 90%, rgba(63, 184, 175, .18), transparent 58%),
    linear-gradient(170deg, #fffdf7 0%, #f8ecd0 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  color: var(--ink3);
  animation: hint-float 2.2s ease-in-out infinite;
}

.scroll-hint svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes hint-float {
  0%, 100% { transform: translate(-50%, 0); opacity: .55; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* ---------- 手机模型 ---------- */

/* 暖金氛围光垫在手机后面 */
.hero-visual { position: relative; }

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -8% -16%;
  background: radial-gradient(closest-side, rgba(242, 206, 139, .6), rgba(242, 206, 139, 0) 72%);
  filter: blur(26px);
  pointer-events: none;
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(356px, 82vw);
  margin: 0 auto;
  animation: phone-float 7s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* 三层机身：钛金属亮边 → 黑色正框 → 屏幕 */
.phone-body {
  position: relative;
  border-radius: 62px;
  padding: 3px;
  background: linear-gradient(155deg, #d8d8dc 0%, #7a7a7e 22%, #ececef 48%, #55555a 74%, #c2c2c6 100%);
  box-shadow: var(--shadow-phone);
}

.phone-bezel {
  border-radius: 59px;
  padding: 8px;
  background: #0e0e10;
}

/* 侧键（静音/音量/电源） */
.btn-side {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #a5a5aa, #606065);
}

.btn-side.mute   { left: -3px;  top: 18.5%; height: 26px; }
.btn-side.vol-up { left: -3px;  top: 26%;   height: 46px; }
.btn-side.vol-dn { left: -3px;  top: 35%;   height: 46px; }
.btn-side.power  { right: -3px; top: 29%;   height: 68px; }

.screen {
  background: #fff;
  color: var(--ink);   /* 首屏整体是暗色文字，手机屏内回到深色墨 */
  border-radius: 50px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.p-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
  margin-bottom: 10px;
}

.p-time { font-size: 14.5px; font-weight: 700; letter-spacing: .02em; }

.p-island {
  width: 84px; height: 24px;
  border-radius: 999px;
  background: #1a1a1c;
}

.p-right { display: inline-flex; align-items: center; gap: 6px; }

.p-sig { display: inline-flex; gap: 3px; align-items: flex-end; }
.p-sig i { width: 3.5px; background: var(--ink); border-radius: 1px; }
.p-sig i:nth-child(1) { height: 6px; }
.p-sig i:nth-child(2) { height: 9px; }
.p-sig i:nth-child(3) { height: 12px; }

.p-batt {
  position: relative;
  width: 23px; height: 12px;
  border: 1.5px solid var(--ink);
  border-radius: 3.5px;
}

.p-batt::before {
  content: "";
  position: absolute;
  inset: 1.5px 5px 1.5px 1.5px;
  background: var(--ink);
  border-radius: 1px;
}

.p-batt::after {
  content: "";
  position: absolute;
  right: -4px; top: 2.5px;
  width: 2px; height: 5px;
  background: var(--ink);
  border-radius: 0 1px 1px 0;
}

.p-head { display: flex; align-items: baseline; gap: 10px; margin: 8px 2px 14px; }
.p-head h4 { font-size: 30px; font-weight: 800; letter-spacing: -.01em; }
.p-head span { font-size: 13px; color: var(--ink2); }

.p-list { display: flex; flex-direction: column; gap: 12px; }

.p-row {
  background: #fff;
  border: 1px solid rgba(29, 29, 31, .07);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 1px 2px rgba(29, 29, 31, .04), 0 8px 18px -12px rgba(29, 29, 31, .12);
}

.p-row p { font-size: 15px; font-weight: 500; line-height: 1.4; }

.p-col { display: flex; flex-direction: column; gap: 4px; }
.p-note { font-size: 12px; color: var(--ink2); }

.p-meta { display: inline-flex; align-items: center; gap: 6px; }
.p-amt { font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; }

.p-dock {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 245, 247, .92);
  border: 1px solid rgba(29, 29, 31, .05);
  border-radius: 999px;
  padding: 9px 20px;
  box-shadow: 0 10px 24px -14px rgba(29, 29, 31, .3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.dock-ic svg, .dock-mic svg {
  width: 23px; height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.dock-ic { color: var(--ink2); }

.dock-mic {
  width: 46px; height: 46px;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--gold-light), var(--gold));
  color: #fff;
  display: grid;
  place-items: center;
  margin: -20px 0;
  box-shadow: 0 6px 16px -4px rgba(185, 138, 47, .55);
}

/* ---------- 标签胶囊 ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.chip.sm { padding: 4px 10px; font-size: 12px; }

.t-expense { background: var(--green-tint); color: var(--green); }
.t-mood    { background: var(--pink-tint); color: var(--pink); }
.t-teal    { background: var(--teal-tint); color: var(--teal); }
.t-note    { background: var(--gold-tint); color: var(--gold); }
.t-schedule{ background: var(--ink); color: #fff; }
.chip.amt  { background: var(--bg-alt); color: var(--ink); font-variant-numeric: tabular-nums; }
.chip.sub  { background: var(--bg-alt); color: var(--ink2); font-weight: 500; }
.chip.pending { background: var(--bg-alt); color: var(--ink2); animation: pulse 1.15s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

/* ---------- 第 2 屏 · 打字演示 ---------- */

.demo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 30px 30px 24px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.demo-line {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.5;
  min-height: 1.6em;
}

.caret {
  display: inline-block;
  width: 2.5px;
  height: 1.15em;
  background: var(--gold);
  vertical-align: -0.18em;
  margin-left: 3px;
  animation: caret-blink 1s steps(1) infinite;
}

@keyframes caret-blink { 50% { opacity: 0; } }

.demo-result {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 36px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}

.demo-result.show { opacity: 1; transform: none; }

/* ---------- 第 3 屏 · 五类标签 ---------- */

.tag-cards {
  margin-top: clamp(40px, 5vh, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tag-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 20px;
  text-align: left;
  transition: transform .3s ease, box-shadow .3s ease;
}

.tag-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }

.tag-ic svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tag-ic {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--bg-alt);
  margin-bottom: 14px;
}

.tag-ic.aa { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }

/* 图标章按类型着色：卡片白底，颜色集中在章上 */
.t-note-bg    .tag-ic { background: var(--gold-tint); color: var(--gold); }
.t-mood-bg    .tag-ic { background: var(--pink-tint); color: var(--pink); }
.t-teal-bg    .tag-ic { background: var(--teal-tint); color: var(--teal); }
.t-expense-bg .tag-ic { background: var(--green-tint); color: var(--green); }
.t-schedule-bg .tag-ic { background: var(--bg-alt); color: var(--ink); }
.t-custom-bg  .tag-ic { background: #efebfb; color: #8e7cc3; }

.tag-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.tag-card p { font-size: 13.5px; line-height: 1.5; color: var(--ink2); }

/* ---------- 第 4 屏 · 语音 ---------- */

.voice-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.wave {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 56px;
}

.wave i {
  width: 4px;
  border-radius: 2px;
  background: #d2d2d6;
  height: 8px;
  transition: background .3s ease;
}

/* 静态时的错落高度，避免看起来像占位符 */
.wave i:nth-child(3)  { height: 18px; }
.wave i:nth-child(5)  { height: 30px; }
.wave i:nth-child(7)  { height: 22px; }
.wave i:nth-child(9)  { height: 38px; }
.wave i:nth-child(11) { height: 16px; }
.wave i:nth-child(13) { height: 26px; }

.voice-card.live .wave i {
  background: var(--gold);
  animation: wave-jump 0.9s ease-in-out infinite;
}

.wave i:nth-child(odd)  { animation-duration: .7s !important; }
.wave i:nth-child(3n)   { animation-delay: .12s; }
.wave i:nth-child(4n)   { animation-delay: .22s; }
.wave i:nth-child(5n)   { animation-delay: .08s; }

@keyframes wave-jump {
  0%, 100% { height: 10px; }
  50% { height: 46px; }
}

.voice-status {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--ink2);
}

.live-dot {
  width: 9px; height: 9px;
  border-radius: 999px;
  background: var(--coral, #d96a6a);
  background: #d96a6a;
  animation: pulse 1s ease-in-out infinite;
}

.mic {
  position: relative;
  width: 86px; height: 86px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--gold-light), var(--gold));
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px -10px rgba(185, 138, 47, .6);
  transition: transform .2s ease;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.mic:active { transform: scale(.96); }

.mic svg {
  width: 38px; height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mic::before, .mic::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(185, 138, 47, .45);
  opacity: 0;
  pointer-events: none;
}

.voice-card.live .mic::before { animation: ring 1.6s ease-out infinite; }
.voice-card.live .mic::after  { animation: ring 1.6s ease-out .55s infinite; }

@keyframes ring {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.9); opacity: 0; }
}

.mic-hint { font-size: 13px; }

/* ---------- 第 5 屏 · 月历 ---------- */

/* 「你说的话」→「AI 的结果」抽取示意 */
.extract {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.extract-in {
  padding: 11px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(29, 29, 31, .04);
}

.extract svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--ink3);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* AI 结果：金边卡片装下类型章 + 金色时间 */
.extract-out {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 16px 7px 8px;
  background: #fff;
  border: 1.5px solid rgba(185, 138, 47, .38);
  border-radius: 999px;
  box-shadow: 0 4px 14px -6px rgba(185, 138, 47, .35);
}

.extract-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.extract-time svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px 26px 22px;
  max-width: 420px;
  margin: 0 auto;
}

.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 14px;
}

.cal-nav { display: inline-flex; gap: 6px; color: var(--ink3); }

.cal-nav svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cal-week, .cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.cal-week span {
  font-size: 12px;
  color: var(--ink3);
  padding-bottom: 8px;
}

.cal-grid { row-gap: 2px; }

.cell {
  position: relative;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  padding: 7px 0;
  border-radius: 10px;
  color: var(--ink);
}

.cell.blank { visibility: hidden; }

.cell.dot-day::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--gold);
}

.cell.today {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.cell.today.dot-day::after { background: var(--gold-light); }

.cal-day {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.cal-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.cal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--bg-alt);
  margin-bottom: 8px;
}

.cal-item:last-child { margin-bottom: 0; }

.cal-item b {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.cal-item p { font-size: 13.5px; font-weight: 500; flex: 1; }

.bell svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: #5b9bd5;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

/* ---------- 第 6 屏 · 问答 ---------- */

.chat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 430px;
  margin: 0 auto;
  width: 100%;
}

.bubble {
  padding: 14px 18px;
  border-radius: 20px;
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 85%;
}

.bubble.user {
  align-self: flex-end;
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.bubble.ai {
  align-self: flex-start;
  background: var(--bg-alt);
  border-bottom-left-radius: 6px;
}

.bubble.ai b { font-variant-numeric: tabular-nums; }
.ai-dim { color: var(--ink2); font-size: 14px; margin-top: 4px; }

.star {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
}

.star svg {
  width: 14px; height: 14px;
  fill: currentColor;
  stroke: none;
}

.chat-input {
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14.5px;
  color: var(--ink3);
}

/* ---------- 第 7 屏 · 隐私 ---------- */

.priv-cards {
  margin-top: clamp(40px, 5vh, 60px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.priv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 26px;
  text-align: left;
}

.priv-ic {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--gold-tint);
  color: var(--gold);
  margin-bottom: 16px;
}

.priv-ic svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.priv-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.priv-card p { font-size: 14.5px; line-height: 1.65; color: var(--ink2); }

.priv-more { text-align: center; margin-top: 36px; }
.priv-more a {
  color: var(--gold);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
}
.priv-more a:hover { text-decoration: underline; }

/* ---------- 第 8 屏 · 更多 ---------- */

.more-grid {
  margin-top: clamp(40px, 5vh, 60px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.more-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.more-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }

.more-ic {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--gold-tint);
  color: var(--gold);
  margin-bottom: 16px;
}

.more-ic svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.more-ic.aa { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }

.more-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.more-card p { font-size: 14px; line-height: 1.6; color: var(--ink2); }

/* ---------- 第 9 屏 · 下载与页脚 ---------- */

.section.cta {
  justify-content: space-between;
  background:
    radial-gradient(900px 480px at 50% -8%, #fdefd2, transparent 60%),
    linear-gradient(180deg, #fff 0%, #fbf5e9 100%);
}

.fine {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--ink3);
}

.footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(185, 138, 47, .22);
}

.foot-logo { font-weight: 800; font-size: 15px; }

.foot-links { display: flex; gap: 22px; }

.foot-copy { font-size: 13px; color: var(--ink3); }

/* 备案号：独占一行，居中，链到工信部备案系统 */
.beian {
  flex-basis: 100%;
  margin-top: 18px;
  font-size: 12.5px;
  text-align: center;
  color: var(--ink3);
  text-decoration: none;
}

.beian:hover { color: var(--ink2); }

/* ---------- 隐私政策文档页 ---------- */

html.no-snap { scroll-snap-type: none; }
html.no-snap body { background: #fffdf9; }

.doc-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 max(24px, env(safe-area-inset-left));
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line);
}

.doc-nav-label { font-size: 14px; color: var(--ink2); }

.doc-nav .nav-logo { display: inline-flex; align-items: center; gap: 8px; }
.doc-nav .nav-logo img { width: 24px; height: 24px; border-radius: 7px; display: block; }

/* 品牌横幅：App 图标 + 金色光晕大标题 */
.doc-hero {
  text-align: center;
  padding: 60px 24px 0;
  background: radial-gradient(760px 340px at 50% -10%, rgba(242, 206, 139, .5), transparent 65%);
}

.doc-hero-icon {
  width: 68px; height: 68px;
  border-radius: 17px;
  box-shadow: 0 10px 30px -10px rgba(29, 29, 31, .35), 0 0 0 1px rgba(29, 29, 31, .04);
}

.doc-hero h1 {
  margin-top: 20px;
  font-size: clamp(34px, 4.6vw, 48px);
  letter-spacing: -.02em;
  font-weight: 800;
}

.doc-main {
  max-width: 780px;
  margin: 0 auto;
  padding: 36px 24px 56px;
}

.doc-meta { margin-top: 14px; font-size: 13.5px; color: var(--ink3); }

.doc-summary {
  margin: 0;
  background: #fff;
  border: 1.5px solid rgba(185, 138, 47, .32);
  border-radius: 24px;
  padding: 28px 30px;
  box-shadow: 0 6px 30px -14px rgba(185, 138, 47, .4);
}

.doc-summary h2 { font-size: 17px; margin-bottom: 6px; color: var(--gold); }
.doc-summary ul { list-style: none; padding: 0; margin: 0; }
.doc-summary li {
  position: relative;
  padding-left: 26px;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}

.doc-summary li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 800;
}

.doc-toc {
  margin: 20px 0 0;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.doc-toc ol {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.doc-toc a { font-size: 14px; color: var(--ink2); text-decoration: none; }
.doc-toc a:hover { color: var(--gold); }

.doc-section { margin-top: 44px; }

.doc-section h2 {
  position: relative;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
  padding: 2px 0 12px 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.doc-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 16px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
}

.doc-section p { font-size: 15.5px; line-height: 1.9; color: var(--ink); margin-bottom: 12px; }

.doc-section ul { list-style: none; padding: 0; margin: 0 0 12px; }

.doc-section ul li {
  position: relative;
  padding-left: 18px;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink);
}

.doc-section ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .85em;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--gold-light);
}

.doc-footer {
  max-width: 780px;
  margin: 56px auto 0;
  padding: 28px 24px 48px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.doc-footer .beian { flex-basis: 100%; margin-top: 14px; }

.doc-section a { color: var(--gold); font-weight: 600; text-decoration: none; }
.doc-section a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .doc-toc ol { grid-template-columns: 1fr; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 960px) {
  html { scroll-snap-type: none; }   /* 小屏自由滚动，避免内容被截断 */

  .nav-links { display: none; }

  .dots { display: none; }

  .split, .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .section { padding: 96px 22px 64px; }

  .hero .lede br { display: none; }
  .sub .br-wide { display: none; }

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

  .priv-cards { grid-template-columns: 1fr; }
  .more-grid { grid-template-columns: repeat(2, 1fr); }

  .copy { text-align: center; }
  .copy .sub br { display: none; }
  .extract { justify-content: center; }

  .visual { order: 2; }
  .split .copy { order: 1; }
}

@media (max-width: 560px) {
  .tag-cards { grid-template-columns: 1fr 1fr; }
  .more-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .footer { justify-content: center; text-align: center; }
}
