/* ==========================================================================
   故事魔法师 · 官网
   设计令牌与 App 同源（design/design-tokens.json）：珊瑚橙 #F5634A → #FF993D，
   深棕文字 #4A2E26，粉橙描边 #F0DBD1。绘本气质：大圆角、柔和阴影、暖白底。
   ========================================================================== */

:root {
  --primary: #F5634A;
  --primary-end: #FF993D;
  --primary-soft: #FAA87A;
  --primary-deep: #A16B52;
  --border: #F0DBD1;
  --text: #4A2E26;
  --text-2: #B0948A;
  --text-3: #998078;
  --surface: #FFFFFF;
  --bg: #FFF8F3;
  --bg-2: #FFF1E8;
  --dark: #35201B;
  --grad: linear-gradient(135deg, #F5634A 0%, #FF993D 100%);
  --grad-soft: linear-gradient(135deg, #FFEDE4 0%, #FFF6EC 100%);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 4px 16px rgba(74, 46, 38, .06);
  --shadow-md: 0 12px 36px rgba(74, 46, 38, .10);
  --shadow-lg: 0 28px 70px rgba(74, 46, 38, .16);
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 { margin: 0; line-height: 1.22; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------------- 多语言 ----------------
   页面里每段文案都写了中英两份（data-l="zh" / data-l="en"），
   由 <html data-lang> 决定露哪一份。这样首帧就是正确语言，不闪、也不依赖 JS 加载。
   ⚠️ 默认（没拿到 data-lang，比如 JS 被禁）只显示中文 —— 宁可中文也别两份叠在一起。 */
html[data-lang="zh"] [data-l="en"],
html:not([data-lang]) [data-l="en"] { display: none; }
html[data-lang="en"] [data-l="zh"] { display: none; }

/* ---------------- 背景光斑 ---------------- */

.aurora { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.aurora span {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(90px); opacity: .55;
}
.aurora .a1 { width: 560px; height: 560px; top: -220px; right: -140px; background: #FFD9C4; }
.aurora .a2 { width: 460px; height: 460px; top: 420px; left: -200px; background: #FFE9CF; }
.aurora .a3 { width: 420px; height: 420px; top: 1500px; right: -160px; background: #FFE0D3; }

/* ---------------- 通用件 ---------------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  color: var(--primary-deep);
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 14px 6px 10px;
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--grad);
  box-shadow: 0 0 0 4px rgba(245, 99, 74, .14);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer; font-family: inherit; font-weight: 700;
  border-radius: 999px; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
  white-space: nowrap;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 17px; }

.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 26px rgba(245, 99, 74, .32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(245, 99, 74, .38); }

.btn-ghost {
  background: #fff; color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------------- 顶栏 ---------------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background .25s, box-shadow .25s, backdrop-filter .25s;
}
.nav.is-stuck {
  background: rgba(255, 248, 243, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(240, 219, 209, .9);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand img { border-radius: 10px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; font-size: 16px; }
.brand-txt em {
  font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .16em;
  color: var(--text-3); text-transform: uppercase;
}
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 15px; color: var(--text-2); font-weight: 600; transition: color .18s; }
.nav-links a:hover { color: var(--primary); }

/* 语言切换：安静一点，别跟主 CTA 抢注意力 */
.lang-switch {
  display: flex; align-items: center; gap: 2px; flex: 0 0 auto;
  padding: 3px; border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 2px rgba(122, 78, 60, .04);
}
.lang-switch button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1;
  letter-spacing: .02em; color: var(--text-3);
  padding: 6px 9px; border-radius: 999px;
  transition: background .18s, color .18s, box-shadow .18s;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button[aria-pressed="true"] {
  background: #fff; color: var(--primary);
  box-shadow: 0 1px 3px rgba(122, 78, 60, .12);
}
.lang-switch button:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }

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

.hero { position: relative; z-index: 1; padding: 56px 0 40px; }
.hero-in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 40px; align-items: center;
}
.hero-copy h1 { font-size: clamp(38px, 4.6vw, 62px); letter-spacing: -.03em; }
.lede { margin-top: 22px; font-size: 17px; color: #7C5F55; max-width: 30em; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none;
  font-size: 13.5px; color: var(--text-3); font-weight: 600;
}
.hero-tags li { display: flex; align-items: center; gap: 7px; }
.hero-tags li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary-soft);
}

/* 手机舞台 */
.hero-stage {
  position: relative; height: 560px;
  display: flex; align-items: center; justify-content: center;
}
.phone {
  margin: 0; border-radius: 34px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-lg);
  border: 7px solid #fff;
  position: relative;
}
.phone img { width: 100%; height: auto; display: block; }
.p-main { width: 250px; z-index: 3; }
.p-side { width: 196px; position: absolute; z-index: 2; opacity: .96; }
.p-side.left { transform: translate(-172px, 26px) rotate(-7deg); }
.p-side.right { transform: translate(172px, 26px) rotate(7deg); }
.p-main { transform: translateY(-6px); }

.spark {
  position: absolute; color: var(--primary-soft); font-size: 22px; z-index: 4;
  animation: twinkle 3.4s ease-in-out infinite;
}
.spark.s1 { top: 40px; left: 12%; }
.spark.s2 { bottom: 90px; right: 8%; animation-delay: .9s; font-size: 16px; }
.spark.s3 { top: 120px; right: 16%; animation-delay: 1.7s; font-size: 13px; }
@keyframes twinkle {
  0%, 100% { opacity: .35; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ---------------- 卖点条 ---------------- */

.strip { position: relative; z-index: 1; padding: 8px 0 8px; }
.strip-in {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}
.strip-item {
  background: rgba(255, 255, 255, .86); padding: 22px 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.strip-item b { font-size: 16px; }
/* 子选择器，不能写成后代 —— `<b>` 里还嵌着双语 span，后代写法会把标题也变成 13px */
.strip-item > span { font-size: 13px; color: var(--text-3); line-height: 1.5; }

/* ---------------- 区块头 ---------------- */

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-head.left { text-align: left; margin: 0 0 40px; }
.sec-head h2 { font-size: clamp(28px, 3.2vw, 42px); }
.sec-sub { margin-top: 14px; color: var(--text-3); font-size: 16px; }

.features { position: relative; z-index: 1; padding: 96px 0 40px; }

/* ---------------- 功能块 ---------------- */

.feat {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px; align-items: center;
  padding: 46px 0;
}
.feat.reverse .feat-copy { order: 2; }
.feat.reverse .feat-art { order: 1; }

.feat-no {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em;
  color: var(--primary); margin-bottom: 12px;
}
.feat-copy h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 14px; }
.feat-copy > p { color: #7C5F55; font-size: 16px; }

.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 9px; }
.ticks li {
  position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text-3);
}
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 9px; height: 9px; border-radius: 3px; background: var(--grad-soft);
  box-shadow: inset 0 0 0 2px var(--primary-soft);
}

.feat-art { position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; }
/* 手机背后的一团暖光，让画面不飘在白纸上 */
.feat-art::before {
  content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 205, 176, .95), rgba(255, 238, 224, .55) 56%, transparent 71%);
  z-index: 0;
}
.phone-img {
  border-radius: 28px; border: 6px solid #fff;
  box-shadow: var(--shadow-md); background: #fff;
  position: relative; z-index: 1;
  width: 240px; height: auto;
}
.feat-art.duo { padding-left: 24px; }
.feat-art.duo .phone-img.a {
  width: 212px; transform: rotate(-6deg); margin: 34px -54px 0 0; z-index: 1;
}
.feat-art.duo .phone-img.b {
  width: 248px; transform: rotate(5deg); margin-left: -54px;
  box-shadow: var(--shadow-lg); z-index: 2;
}
.feat-art.solo .phone-img.a { width: 298px; box-shadow: var(--shadow-lg); }
.feat-art.center { justify-content: center; }

/* ---------------- 界面墙 ---------------- */

.shots { position: relative; z-index: 1; padding: 96px 0 60px; }
.rail { overflow-x: auto; scrollbar-width: none; padding: 8px 0 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail-track {
  display: flex; gap: 20px; padding: 0 24px;
  width: max-content; margin: 0 auto;
  scroll-snap-type: x mandatory;
}
.rail-item {
  margin: 0; width: 208px; scroll-snap-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.rail-item img {
  width: 100%; border-radius: 26px; border: 5px solid #fff;
  box-shadow: var(--shadow-md); background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.rail-item:hover img { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-lg); }
.rail-item figcaption { font-size: 13px; color: var(--text-3); font-weight: 600; }
.rail-hint { text-align: center; font-size: 12.5px; color: var(--text-2); margin-top: 22px; letter-spacing: .08em; }

/* ---------------- 三步 ---------------- */

.how { position: relative; z-index: 1; padding: 90px 0; }
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  counter-reset: step;
}
.steps li {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 30px 26px 28px; position: relative;
  box-shadow: var(--shadow-sm);
}
.step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 14px;
  background: var(--grad-soft); color: var(--primary);
  font-weight: 800; font-size: 18px; margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px var(--border);
}
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { font-size: 14.5px; color: var(--text-3); }

/* ---------------- 下载 ---------------- */

.download { position: relative; z-index: 1; padding: 40px 0 90px; }
.dl-card {
  background: linear-gradient(135deg, #3C231D 0%, #55302A 55%, #6E3A2E 100%);
  border-radius: var(--r-xl); padding: 56px 56px;
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px; align-items: center;
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.dl-card::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  right: -140px; bottom: -260px; background: radial-gradient(circle, rgba(255, 153, 61, .42), transparent 66%);
  pointer-events: none;
}
.dl-left { position: relative; z-index: 2; }
.dl-icon { border-radius: 22px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); margin-bottom: 22px; }
.dl-card h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); }
.dl-sub { color: rgba(255, 245, 240, .72); margin-top: 14px; max-width: 30em; font-size: 15.5px; }
.dl-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; align-items: center; }
.dl-note { margin-top: 18px; font-size: 13.5px; color: rgba(255, 245, 240, .6); }
.dl-note a { color: #FFC79A; border-bottom: 1px dashed rgba(255, 199, 154, .5); }

.btn-store {
  height: 56px; padding: 0 22px; border-radius: 16px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; cursor: not-allowed;
}
.btn-store .store-glyph {
  width: 22px; height: 26px; border-radius: 6px;
  background: linear-gradient(160deg, #fff, #E8D9D2);
  position: relative;
}
.btn-store .store-glyph::after {
  content: ""; position: absolute; inset: 4px 4px auto 4px; height: 2px;
  background: rgba(74, 46, 38, .35); border-radius: 2px;
  box-shadow: 0 5px 0 rgba(74, 46, 38, .35), 0 10px 0 rgba(74, 46, 38, .35);
}
.btn-store .store-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn-store .store-txt em { font-style: normal; font-size: 10px; letter-spacing: .14em; opacity: .6; text-transform: uppercase; }
.btn-store .store-txt b { font-size: 16px; }
.btn-store.is-soon { opacity: .82; }
/* Android：用一个三角（Play 的剪影）区分 App Store 的「一块屏」，
   不引第三方图标库、也不加请求。 */
.btn-store .store-glyph.glyph-android {
  width: 20px; height: 24px; border-radius: 0;
  clip-path: polygon(6% 0%, 96% 50%, 6% 100%);
}
.btn-store .store-glyph.glyph-android::after { display: none; }

.dl-right { position: relative; z-index: 2; display: flex; justify-content: center; }
.dl-right .phone { width: 250px; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); border-color: #fff; }
.tilt { transform: rotate(-4deg); }

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

.faq { position: relative; z-index: 1; padding: 20px 0 90px; }
.faq-in { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 60px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 4px 22px; box-shadow: var(--shadow-sm); transition: box-shadow .2s;
}
.faq-list details[open] { box-shadow: var(--shadow-md); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 20px; color: var(--primary-soft); font-weight: 400; transition: transform .2s;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 0 20px; color: var(--text-3); font-size: 14.5px; }

/* ---------------- 合作（访客提交申请） ---------------- */

.coop { position: relative; z-index: 1; padding: 10px 0 96px; scroll-margin-top: 88px; }
.coop-in {
  display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  gap: 56px; align-items: start;
}
.coop-copy h2 { font-size: clamp(28px, 3.2vw, 40px); }
.coop-sub { margin-top: 18px; color: var(--text-3); font-size: 15.5px; max-width: 30em; }
.coop-mail { margin-top: 20px; font-size: 14px; color: var(--text-3); }
.coop-mail a { color: var(--primary); border-bottom: 1px dashed rgba(245, 99, 74, .45); }

/* 「适合谁」三行：右边表单比左边文案长得多，这组用来撑满左栏，
   也帮访客自己对号入座（比只写一句「都欢迎聊聊」有用）。 */
.coop-who { margin: 24px 0 0; padding: 0; max-width: 32em; }
.coop-who > div {
  display: grid; gap: 3px; padding: 13px 0;
  border-top: 1px solid rgba(240, 219, 209, .95);
}
.coop-who > div:last-child { border-bottom: 1px solid rgba(240, 219, 209, .95); }
.coop-who dt { font-size: 14.5px; font-weight: 700; color: var(--text); }
.coop-who dd { margin: 0; font-size: 13.5px; color: var(--text-3); }

.coop-form {
  position: relative;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 30px 30px 24px; box-shadow: var(--shadow-md);
  display: grid; gap: 16px;
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: grid; gap: 7px; }
.cf-label {
  display: flex; align-items: center; gap: 3px;
  font-size: 13.5px; font-weight: 700; color: var(--text-3);
}
.cf-label i { font-style: normal; color: var(--primary); }

.cf-field input, .cf-field select, .cf-field textarea {
  width: 100%; min-height: 46px; margin: 0;
  font: inherit; font-size: 15px; color: var(--text);
  background: #FFFDFB; border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.cf-field textarea { resize: vertical; min-height: 108px; line-height: 1.6; }
/* 下拉：去掉浏览器默认箭头，换成统一的细 chevron（否则各端长得完全不一样） */
.cf-field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23998078' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(245, 99, 74, .12);
}
.cf-field input.is-error, .cf-field textarea.is-error {
  border-color: #DB4B33; box-shadow: 0 0 0 4px rgba(219, 75, 51, .12);
}
.cf-field ::placeholder { color: #C6AEA4; }

/* 蜜罐：真人看不见。用移出视口而不是 display:none —— 部分脚本只填「看起来可填」的框 */
.cf-hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; }

.cf-submit { width: 100%; margin-top: 2px; }
.cf-submit[disabled] { opacity: .62; cursor: progress; transform: none; box-shadow: none; }
.cf-note { font-size: 12.5px; line-height: 1.6; color: var(--text-2); text-align: center; }
.cf-note.is-ok { color: #2C8A5C; font-weight: 600; }
.cf-note.is-err { color: #C0392B; font-weight: 600; }

/* ---------------- 页脚 ---------------- */

.foot { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 34px 0 44px; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.foot-brand img { border-radius: 8px; }
.foot-brand em { font-style: normal; font-weight: 600; font-size: 11px; letter-spacing: .12em; color: var(--text-3); }
.foot-links { display: flex; gap: 22px; margin-left: auto; }
.foot-links a { font-size: 14px; color: var(--text-3); }
.foot-links a:hover { color: var(--primary); }
.foot-legal { width: 100%; font-size: 12.5px; color: var(--text-2); }
.foot-legal .sep { margin: 0 8px; }
.foot-legal a:hover { color: var(--primary); }

/* ---------------- 滚动渐入 ---------------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .spark { animation: none; }
}

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

@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin-inline: auto; }
  .hero-cta, .hero-tags { justify-content: center; }
  .hero-stage { height: 460px; margin-top: 8px; }
  .p-main { width: 208px; }
  .p-side { width: 160px; }
  .p-side.left { transform: translate(-140px, 22px) rotate(-8deg); }
  .p-side.right { transform: translate(140px, 22px) rotate(8deg); }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
  .feat { gap: 36px; }
  .dl-card { grid-template-columns: 1fr; padding: 44px 36px; }
  .dl-right { display: none; }
  .faq-in { grid-template-columns: 1fr; gap: 20px; }
  /* 合作：单列。表单不跟着文案一起缩，直接铺满更好填 */
  .coop-in { grid-template-columns: 1fr; gap: 30px; }
  .coop-sub, .coop-mail { max-width: none; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  /* 链接隐掉后，由切换器把右侧那一组（切换器 + CTA）推到右边 */
  .lang-switch { margin-left: auto; }
  .nav-in { height: 64px; gap: 12px; }
  .brand-txt { font-size: 15px; }
  .hero { padding: 34px 0 24px; }
  .hero-stage { height: 400px; }
  .p-main { width: 176px; }
  .p-side { width: 138px; }
  .p-side.left { transform: translate(-116px, 18px) rotate(-8deg); }
  .p-side.right { transform: translate(116px, 18px) rotate(8deg); }
  .strip-item { padding: 18px 16px; }
  .strip-item b { font-size: 15px; }
  .features { padding: 64px 0 20px; }
  .feat { grid-template-columns: 1fr; gap: 26px; padding: 30px 0; }
  .feat.reverse .feat-copy, .feat.reverse .feat-art { order: 0; }
  .feat-art { min-height: 0; height: 400px; }
  .feat-art::before { width: 300px; height: 300px; }
  .feat-art.duo { padding-left: 0; }
  .feat-art.duo .phone-img.a { width: 158px; margin: 30px -40px 0 0; }
  .feat-art.duo .phone-img.b { width: 186px; margin-left: -40px; }
  .feat-art.solo .phone-img.a { width: 208px; }
  .shots { padding: 64px 0 40px; }
  .rail-item { width: 158px; }
  .how { padding: 56px 0; }
  .steps { grid-template-columns: 1fr; }
  .download { padding: 20px 0 56px; }
  .dl-card { padding: 34px 24px; border-radius: var(--r-lg); }
  .dl-icon { width: 76px; height: 76px; }
  .faq { padding: 10px 0 56px; }
  .coop { padding: 0 0 56px; }
  .coop-form { padding: 24px 22px 20px; }
  .foot-in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-links { margin-left: 0; }
}

/* 窄屏顶栏要塞下：品牌 + 语言切换 + CTA（英文文案比中文长，一定要收一收） */
@media (max-width: 560px) {
  .nav-in { gap: 8px; padding: 0 16px; }
  .wrap { padding: 0 18px; }
  .brand img { width: 28px; height: 28px; }
  .brand-txt { font-size: 14px; }
  .brand-txt em { font-size: 9px; letter-spacing: .1em; }
  .lang-switch { padding: 2px; }
  .lang-switch button { padding: 6px 7px; font-size: 12px; }
  .nav-cta { height: 36px; padding: 0 13px; font-size: 13px; }
  /* 英文主标题比中文长一截：窄屏必须压字号，否则 "With a little magic," 一行放不下 */
  html[data-lang="en"] .hero-copy h1 { font-size: clamp(28px, 7.6vw, 38px); }
  /* 下载区：两枚商店按钮并排占一行，网页版按钮独占下一行 */
  .dl-actions { gap: 10px; }
  .dl-actions .btn-store { padding: 0 14px; }
  .dl-actions .btn-store .store-txt b { font-size: 15px; }
  .dl-actions .btn-store .store-txt em { font-size: 9px; letter-spacing: .1em; }
  /* 合作表单：单列 + 输入框字号钉到 16px。
     ⚠️ 低于 16px 时 iOS Safari 聚焦会自动放大页面，一填表整屏乱跳。 */
  .coop-form { padding: 22px 18px 18px; }
  .cf-row { grid-template-columns: 1fr; }
  .cf-field input, .cf-field select, .cf-field textarea { font-size: 16px; }
}

@media (max-width: 420px) {
  .btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .sec-head { margin-bottom: 36px; }
  .dl-actions .btn-store { flex: 1 1 0; min-width: 0; padding: 0 10px; }
  .dl-actions .btn-store .store-txt b { font-size: 14px; }
  .dl-actions .btn-primary { width: 100%; }
}

/* ==========================================================================
   生肖全家福专题 banner
   ========================================================================== */
.topic { padding: 10px 0 6px; scroll-margin-top: 88px; }
.topic-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl);
  padding: 56px 48px; text-align: center; color: #fff;
  background:
    radial-gradient(120% 150% at 10% 0%, #6a3df0 0%, transparent 55%),
    radial-gradient(120% 150% at 100% 100%, #ff7a3d 0%, transparent 50%),
    linear-gradient(135deg, #3a1f6e 0%, #7b2ff7 45%, #ff6a3d 100%);
  box-shadow: var(--shadow-lg);
}
.topic-glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 60% at 82% 18%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(30% 50% at 16% 92%, rgba(255,210,120,.22), transparent 60%);
}
.topic-emoji { font-size: 30px; letter-spacing: 4px; margin-bottom: 18px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.topic .eyebrow { color: #fff; background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.3); margin-bottom: 16px; }
.topic .eyebrow .dot { background: #ffd36b; box-shadow: 0 0 0 4px rgba(255,211,107,.25); }
.topic-title { font-size: clamp(28px, 4.6vw, 46px); color: #fff; margin-bottom: 16px; }
.topic-title .grad { background: linear-gradient(90deg, #ffe08a, #ffb15c);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.topic-sub { font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,.92);
  max-width: 640px; margin: 0 auto 28px; }
.topic-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.topic .btn-primary { background: #fff; color: #5a2bd0; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.topic .btn-primary:hover { background: #fff8ee; }
.topic .btn-ghost { background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.4); }
.topic .btn-ghost:hover { background: rgba(255,255,255,.22); }

@media (max-width: 820px) {
  .topic-card { padding: 44px 28px; }
  .topic-emoji { font-size: 24px; }
}
@media (max-width: 560px) {
  .topic-card { padding: 36px 20px; border-radius: var(--r-lg); }
  .topic-cta .btn { flex: 1 1 auto; }
}
