/* 全站共用样式：基础、字体、按钮、占位图、页眉、手机菜单、页脚、回到顶部、奶瓶鼠标。
   7 个页面（首页、指南、价格、关于、隐私中英文、404）都先引这个文件，再写各自的样式；改页眉、按钮、页脚只改这里。
   浏览器会缓存这个文件：改完要把 7 个页面里 site.css?v= 后面的版本号一起换掉，不然回访的人还用旧样式。 */
:root {
  --bg: #FFFFFF;
  --cream: #FCF1EC;
  --cream-2: #F7F3EF;
  --ink: #33241F;
  --ink-2: #806A62;
  --line: rgba(26, 21, 19, 0.09);
  --accent: #F45D48;
  --accent-ink: #D9432F;
  --accent-soft: #FDE3DC;
  --accent-text: #C93A27;   /* 红色小字用：品牌红做字在白底、浅底上对比度不够（3.2），这个深一点的红在白底 5.1、米色底 4.6 */
  --font: "Nunito", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; font-weight: 500; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
section[id] { scroll-margin-top: 92px; }
.sec { padding: clamp(80px, 10vw, 128px) 0 0; }
.center { text-align: center; }
/* 区块标题统一左对齐；有说明的放在右侧、底部对齐，窄屏排到标题下面 */
/* 板块标题：说明一律放在标题下面（和评价区一样），不再左右排 */
.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.sec-head .lead { max-width: 640px; margin: 0; }
.sec-head .lead.two-line { max-width: none; }   /* 按句子断成两行，不让它再折行 */
@media (max-width: 860px) { .sec-head { flex-direction: column; align-items: flex-start; } .sec-head .lead { max-width: none; } }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-weight: 900; letter-spacing: -0.02em; text-wrap: balance; }
.h-hero { font-size: clamp(44px, 9vw, 132px); line-height: 1.04; letter-spacing: -0.04em; }
.h2 { font-size: clamp(34px, 5.2vw, 72px); line-height: 1.12; }
.lead { color: var(--ink-2); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.75; margin: 0; text-wrap: pretty; }
.accent { color: var(--accent); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; font-weight: 700; font-size: 16px; padding: 14px 24px; transition: transform .2s ease, background-color .2s ease; }
.btn:active { transform: scale(0.97); }
.btn-accent { background: var(--accent); color: #fff; }
/* 红色主按钮：鼠标放上去不变深，一道浅珊瑚色的光（取自首屏大字流体的高光色）从左滑到右，只滑一次，移开直接复位不倒放 */
.btn-accent { position: relative; overflow: hidden; isolation: isolate; }
.btn-accent::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 158, 126, 0) 25%, rgba(255, 158, 126, 0.95) 50%, rgba(255, 158, 126, 0) 75%);
  transform: translateX(-100%); }
@media (prefers-reduced-motion: no-preference) {
  .btn-accent:hover::before, .btn-accent:focus-visible::before { transform: translateX(100%); transition: transform .9s cubic-bezier(.3,.6,.3,1); }
}
@media (prefers-reduced-motion: reduce) { .btn-accent:hover { background: var(--accent-ink); } }   /* 不滑光时用变深表示悬停 */
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.btn-light:hover { box-shadow: 0 0 0 1px rgba(26,21,19,0.25); }
.btn .plus { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.22); display: grid; place-items: center; }
.btn-light .plus { background: var(--accent-soft); color: var(--accent); }
.btn svg { width: 12px; height: 12px; }

/* ---------- photo placeholder ---------- */
.ph { position: relative; overflow: hidden; background: repeating-linear-gradient(-45deg, #F4EDE8 0 14px, #EFE6E0 14px 28px); display: grid; place-items: center; text-align: center; color: #9B8A82; }
.ph::after { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(155, 138, 130, 0.55); border-radius: inherit; pointer-events: none; }
.ph .ph-label { position: relative; z-index: 1; padding: 16px 20px; max-width: 340px; font-size: 14px; line-height: 1.55; }
.ph .ph-label b { display: block; color: #6F5F58; font-size: 15px; margin-bottom: 2px; }
.ph .ph-label code { display: inline-block; margin-top: 8px; font-family: ui-monospace, Menlo, monospace; font-size: 12px; background: rgba(255,255,255,0.7); border-radius: 6px; padding: 2px 8px; color: #8A7870; }
.ph.has-photo::after, .ph.has-photo .ph-label { display: none; }
.ph > img, .ph > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 页眉：悬浮的圆角胶囊。压在首屏视频上时是深色玻璃 + 白字，滚下去变白色毛玻璃 ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 14px 20px 0; pointer-events: none; transition: padding .35s cubic-bezier(.2,.8,.2,1); }
.nav.scrolled { padding-top: 10px; }
/* 三栏：logo 和菜单靠左挨着，下载按钮靠右 */
.nav .wrap { pointer-events: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; max-width: 1200px; height: 62px; padding: 0 8px 0 18px; border-radius: 999px; color: var(--ink);
  background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.8); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 14px 36px -18px rgba(51, 36, 31, 0.3);
  transition: height .35s cubic-bezier(.2,.8,.2,1), background-color .35s ease, border-color .35s ease, box-shadow .35s ease, color .35s ease; }
.nav.scrolled .wrap { height: 56px; background: rgba(255, 255, 255, 0.84); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { position: relative; display: flex; gap: 2px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.nav-links a { position: relative; z-index: 1; padding: 9px 14px; border-radius: 999px; transition: color .25s ease; }
.nav-links a.active { color: var(--accent-text); }
/* 跟着鼠标滑动的浅色底块，移开后停在当前所在的那一项（位置由脚本设置） */
.nav-ind { position: absolute; z-index: 0; top: 0; bottom: 0; left: 0; width: var(--w, 0); translate: var(--x, 0) 0; border-radius: 999px; background: rgba(51, 36, 31, 0.07); opacity: 0; pointer-events: none;
  transition: translate .4s cubic-bezier(.3,1.25,.5,1), width .4s cubic-bezier(.3,1.25,.5,1), opacity .2s ease, background-color .35s ease; }
.nav-ind.on { opacity: 1; }
.nav .btn { padding: 11px 20px; font-size: 15px; }
/* 压在首页红色首屏上：页眉透明、白字，红色一直铺到最顶；滚出首屏变回白色胶囊（打开手机菜单时也恢复白底） */
/* 压在首页浅色首屏上：页眉透明，滚出首屏变回白色胶囊 */
.nav.on-hero:not(.menu-open) .wrap { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* 页眉右边的「找阿姨指南」：和菜单同样的字，挨着下载按钮（窄屏收进手机菜单） */
.nav-guide { font-size: 15px; font-weight: 700; padding: 9px 14px; border-radius: 999px; white-space: nowrap; transition: background-color .2s ease, color .25s ease; }
.nav-guide:hover { background: rgba(51, 36, 31, 0.07); }
.nav-guide.active { color: var(--accent-text); }
@media (max-width: 980px) { .nav-guide { display: none; } }
/* 小红书图标 */
.nav-right { display: flex; align-items: center; gap: 14px; }
/* 窄屏时页眉不挤：logo 不缩，按钮不折行，图标和按钮小一号 */
.nav .brand { flex: none; justify-self: start; }
.nav-right { justify-self: end; }
.nav .nav-links { justify-self: start; margin-left: 14px; }
.nav .btn { white-space: nowrap; }
@media (max-width: 620px) {
  .nav { padding: 10px 12px 0; } .nav.scrolled { padding-top: 8px; }
  .nav .wrap { gap: 12px; height: 58px; padding: 0 7px 0 14px; } .nav.scrolled .wrap { height: 54px; }
  body .mnav { left: 12px; right: 12px; top: 76px; max-height: calc(100vh - 92px); }
  .nav .brand { font-size: 20px; } .nav .brand img { width: 32px; height: 32px; }
  .nav-right { gap: 10px; }
  .xhs img { width: 30px; height: 30px; border-radius: 8px; }
  .nav .btn { padding: 9px 14px; font-size: 14px; }
}
.xhs img { width: 36px; height: 36px; border-radius: 10px; display: block; transition: transform .2s ease; }
.xhs:hover img { transform: translateY(-2px); }
.xhs-link { display: inline-flex; align-items: center; gap: 8px; }
.xhs-link img { width: 22px; height: 22px; border-radius: 6px; }


/* ---------- 手机端菜单（窄于 860 显示） ---------- */
.menu-btn { display: none; width: 42px; height: 42px; border: 0; border-radius: 999px; background: rgba(51, 36, 31, 0.06); color: var(--ink); cursor: pointer; place-items: center; transition: background-color .3s ease, color .3s ease; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mnav { position: fixed; left: 20px; right: 20px; top: 86px; z-index: 49; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 26px; box-shadow: 0 28px 56px -24px rgba(51, 36, 31, 0.4); padding: 6px 20px 20px; max-height: calc(100vh - 104px); overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav a.mlink { display: flex; align-items: center; justify-content: space-between; padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 800; color: var(--ink); }
.mnav a.mlink::after { content: "›"; color: var(--ink-2); font-weight: 600; }
.mnav a.mlink.active { color: var(--accent-text); }
.mnav-actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.mnav-actions .btn { flex: 1; justify-content: center; white-space: nowrap; padding-left: 16px; padding-right: 16px; }
.mnav-actions .xhs-link { padding: 12px 14px; border-radius: 999px; background: rgba(51, 36, 31, 0.06); font-weight: 800; font-size: 15px; }
@media (prefers-reduced-motion: no-preference) { .mnav:not([hidden]) { animation: mnav-in .28s cubic-bezier(.2,.8,.2,1); } @keyframes mnav-in { from { opacity: 0; transform: translateY(-10px) scale(.97); } } .mnav { transform-origin: 50% 0; } }
@media (max-width: 980px) { .menu-btn { display: grid; } .nav-links { display: none; } }
@media (max-width: 620px) { .nav .xhs { display: none; } }   /* 小屏页眉放不下三样，小红书挪进菜单 */

/* ---------- footer ---------- */
footer { padding: clamp(72px, 9vw, 112px) 0 36px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; align-items: start; }
.wordmark { font-size: clamp(40px, 4.6vw, 64px); font-weight: 900; letter-spacing: -0.05em; line-height: 0.95; }
.foot-tagline { margin: 14px 0 0; color: var(--ink-2); font-size: 16px; font-weight: 600; }
.foot h2 { margin: 0 0 16px; font-size: 16px; font-weight: 800; letter-spacing: normal; }   /* 页脚小标题用 h2：不管上面的标题是不是还在入场动画里，层级都不会跳 */
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); font-size: 15.5px; }
.foot ul a:hover { color: var(--accent); }
.legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--ink-2); }

/* 回到顶部：滚过大约一屏后出现，和页眉同一种白色毛玻璃 */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink);
  background: rgba(255, 255, 255, 0.84); border: 1px solid rgba(255, 255, 255, 0.8); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 14px 36px -18px rgba(51, 36, 31, 0.4); opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.8,.2,1), background-color .2s ease, color .2s ease; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 620px) { .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; } }

/* 鼠标换成小奶瓶（48px，奶嘴尖是点击位置，热点 9,9）；能点的地方也用奶瓶，输入框保留文字光标 */
:root { --bottle: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2248%22 height=%2248%22 viewBox=%220 0 32 32%22%3E%3Cg transform=%22rotate%28-45 16 16%29%22 stroke=%22%2333241F%22 stroke-width=%221.4%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M13.6 8.2V5.2a2.4 2.4 0 0 1 4.8 0v3%22 fill=%22%23FFD3BF%22/%3E%3Crect x=%2211%22 y=%228%22 width=%2210%22 height=%223.8%22 rx=%221.4%22 fill=%22%23F45D48%22/%3E%3Crect x=%2210.2%22 y=%2211.6%22 width=%2211.6%22 height=%2216.4%22 rx=%224%22 fill=%22%23fff%22/%3E%3Cpath d=%22M11 18.6h10v5.4a3.2 3.2 0 0 1-3.2 3.2h-3.6A3.2 3.2 0 0 1 11 24z%22 fill=%22%23FFE9DD%22 stroke=%22none%22/%3E%3Cpath d=%22M18.4 15h2.2M18.4 18h2.2M18.4 21h2.2%22 stroke-width=%221.2%22 stroke-linecap=%22round%22/%3E%3C/g%3E%3C/svg%3E") 9 9; }
html { cursor: var(--bottle), auto; }
a, button, summary, label, select, [role="button"], .qr-btn, .arrow, .menu-btn { cursor: var(--bottle), pointer !important; }
