/* =====================================================================
   核桃记账 · 官方网站
   Design System — 配色取自小程序默认主题「暖核桃 / caramel」
   暖棕米调 · 霞光渐变 · 多点柔光
   ===================================================================== */

:root {
  /* ---- 品牌色（暖核桃调） ---- */
  --cream:        #F5E4C2;  /* 页面底色 */
  --cream-deep:   #EFD9AE;
  --card:         #FFF9EF;  /* 暖白卡片 */
  --peach:        #F8C7A0;  /* 霞光起 */
  --orange:       #E99663;  /* 霞光落 */
  --walnut:       #6F3C1B;  /* 一级文字 / 强调 */
  --walnut-2:     #8E5A30;
  --walnut-3:     #B07C4A;
  --primary-light:#C28B5E;  /* 图标 / 加号 */
  --expense:      #B85842;  /* 支出语义红 */
  --income:       #3E9D5C;  /* 收入语义绿 */

  /* ---- 文字（暖调深棕，保证对比度 ≥ 4.5:1） ---- */
  --ink:          #3A2417;
  --ink-soft:     #6B513C;
  --ink-faint:    #9C8268;

  /* ---- 渐变 ---- */
  --grad-hero:  linear-gradient(135deg, #F8C7A0 0%, #E99663 48%, #C26B36 100%);
  --grad-soft:  linear-gradient(160deg, #FBEFD8 0%, #F4E1BD 100%);
  --grad-cta:   linear-gradient(120deg, #E99663 0%, #C26B36 55%, #8E4A1F 100%);

  /* ---- 阴影（无描边，柔光） ---- */
  --shadow-sm:  0 2px 10px rgba(111, 60, 27, 0.08);
  --shadow-md:  0 10px 30px rgba(111, 60, 27, 0.10);
  --shadow-lg:  0 24px 60px rgba(111, 60, 27, 0.14);
  --shadow-glow:0 18px 50px rgba(233, 150, 99, 0.35);

  /* ---- 圆角 ---- */
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --r-pill: 999px;

  /* ---- 节奏 ---- */
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
          "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* 全局柔光底：多层 radial-gradient 叠加，营造温暖光晕 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 12% 8%,  rgba(248, 199, 160, 0.55), transparent 60%),
    radial-gradient(50% 45% at 88% 12%, rgba(233, 150, 99, 0.40), transparent 60%),
    radial-gradient(55% 50% at 50% 100%, rgba(194, 139, 94, 0.30), transparent 65%),
    var(--cream);
}

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

/* =====================================================================
   柔光浮球（多点柔光特效）
   ===================================================================== */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
  animation: float 14s ease-in-out infinite;
}
.glow-orb.o1 { width: 420px; height: 420px; top: -120px; left: -80px;
  background: radial-gradient(circle, #F8C7A0, transparent 70%); }
.glow-orb.o2 { width: 360px; height: 360px; top: 220px; right: -100px;
  background: radial-gradient(circle, #E99663, transparent 70%); animation-delay: -4s; }
.glow-orb.o3 { width: 300px; height: 300px; bottom: 8%; left: 18%;
  background: radial-gradient(circle, #F2AC6A, transparent 70%); animation-delay: -8s; }
.glow-orb.o4 { width: 260px; height: 260px; top: 40%; right: 22%;
  background: radial-gradient(circle, #F8C99E, transparent 70%); animation-delay: -2s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(20px, -28px) scale(1.06); }
}

/* =====================================================================
   容器 & 通用
   ===================================================================== */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px; letter-spacing: 0.18em; font-weight: 600;
  color: var(--walnut-2);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(194, 139, 94, 0.25);
  padding: 6px 16px; border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.h2 {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 800; line-height: 1.25; letter-spacing: -0.01em;
  color: var(--walnut);
}
.h2 .acc { background: var(--grad-hero); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.lead { margin-top: 16px; font-size: clamp(15px, 1.6vw, 18px); color: var(--ink-soft); }

/* =====================================================================
   按钮
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 15px; font-weight: 600;
  padding: 13px 26px; border-radius: var(--r-pill);
  border: none; cursor: pointer; transition: all .28s ease; white-space: nowrap;
}
.btn-primary {
  color: #fff; background: var(--grad-cta);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 60px rgba(233,150,99,.5); }
.btn-ghost {
  color: var(--walnut); background: rgba(255,255,255,.6);
  border: 1px solid rgba(194,139,94,.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: #fff; transform: translateY(-2px); }

/* =====================================================================
   顶部导航
   ===================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: all .3s ease;
}
.nav.scrolled {
  background: rgba(245, 228, 194, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(194,139,94,.18), var(--shadow-sm);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; color: var(--walnut); }
.brand .logo {
  width: 42px; height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-glow);
  background: var(--card);
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--walnut); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--walnut); margin: 4px 0; border-radius: 2px; transition: .3s; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; padding: clamp(48px, 7vw, 90px) 0 clamp(60px, 8vw, 110px); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--walnut-2);
  background: rgba(255,255,255,.6); border: 1px solid rgba(194,139,94,.25);
  padding: 7px 16px; border-radius: var(--r-pill); margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--income); box-shadow: 0 0 0 4px rgba(62,157,92,.18); }
.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px); line-height: 1.18; font-weight: 800;
  letter-spacing: -0.02em; color: var(--walnut);
}
.hero h1 .grad {
  background: var(--grad-hero); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub { margin-top: 22px; font-size: clamp(16px, 1.8vw, 19px); color: var(--ink-soft); max-width: 30em; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { margin-top: 44px; display: flex; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; }
.hero-stats .s-num { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--walnut); line-height: 1; }
.hero-stats .s-lab { font-size: 13px; color: var(--ink-faint); margin-top: 6px; }

/* 首屏右侧悬浮联系卡 */
.hero-side-card {
  position: absolute;
  right: -168px;
  top: 50%;
  transform: translateY(-50%);
  width: 150px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: rgba(255, 249, 239, 0.9);
  border: 1px solid rgba(194, 139, 94, 0.25);
  border-radius: var(--r-md);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
  text-align: center;
}
.hero-side-card:hover { transform: translateY(-50%) translateY(-3px); box-shadow: var(--shadow-lg); }
.hero-side-card .side-qr {
  width: 118px; height: 118px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 5px;
  box-shadow: var(--shadow-sm);
}
.hero-side-card .side-text { display: flex; flex-direction: column; gap: 5px; }
.hero-side-card .side-text strong { font-size: 13px; font-weight: 700; color: var(--walnut); line-height: 1.45; }
.hero-side-card .side-text span { font-size: 12px; color: var(--ink-soft); }
.hero-side-card .side-mail {
  font-size: 12px; color: var(--orange); font-weight: 600;
  text-decoration: underline; word-break: break-all;
}

/* 手机 mockup */
.phone-stage { position: relative; display: grid; place-items: center; }
.phone-glow {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233,150,99,.55), transparent 70%);
  filter: blur(60px); z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: min(300px, 78vw); aspect-ratio: 375 / 760;
  background: var(--card); border-radius: 40px;
  box-shadow: var(--shadow-lg), 0 0 0 10px rgba(255,255,255,.55), 0 0 0 11px rgba(194,139,94,.18);
  overflow: hidden; padding: 14px;
  transition: transform .5s ease;
}
.phone:hover { transform: translateY(-8px) rotate(-1deg); }
.phone .scr { height: 100%; border-radius: 28px; overflow: hidden; background: var(--p-bg, var(--cream)); position: relative; display: flex; flex-direction: column; }
.scr-top {
  height: 150px; padding: 22px 18px 14px;
  background: linear-gradient(160deg, var(--p-glow1, #F8C7A0), var(--p-glow2, #E99663));
  color: var(--p-t1, #6F3C1B); position: relative;
}
.scr-top .t-title { font-size: 15px; font-weight: 700; opacity: .9; }
.scr-top .t-month { font-size: 13px; opacity: .75; margin-top: 4px; }
.scr-top .t-amt { font-size: 32px; font-weight: 800; margin-top: 12px; letter-spacing: -.5px; }
.scr-top .t-row { display: flex; gap: 18px; margin-top: 10px; font-size: 12px; opacity: .85; }
.scr-top .t-row b { font-weight: 700; }
.scr-body { flex: 1; padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.scr-donut {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto;
  background: conic-gradient(
    var(--p-ring1,#F8C99E) 0 35%, var(--p-ring2,#F2AC6A) 35% 60%,
    var(--p-ring3,#EC9450) 60% 78%, var(--p-ring4,#E27E3C) 78% 90%,
    var(--p-ring5,#D2682E) 90% 97%, var(--p-ring6,#BC5326) 97% 100%);
  position: relative; box-shadow: var(--shadow-sm);
}
.scr-donut::after { content: ""; position: absolute; inset: 26px; border-radius: 50%; background: var(--p-card, #FFF9EF); }
.scr-list { display: flex; flex-direction: column; gap: 9px; }
.scr-item { display: flex; align-items: center; gap: 10px; background: var(--p-card,#FFF9EF); border-radius: 12px; padding: 9px 12px; box-shadow: var(--shadow-sm); }
.scr-item .ic { width: 26px; height: 26px; border-radius: 8px; background: var(--p-icon-bg, #F1E4D2); display: grid; place-items: center; color: var(--p-icon, #B98C66); font-size: 13px; }
.scr-item .nm { font-size: 12px; font-weight: 600; color: var(--p-t1,#6F3C1B); }
.scr-item .am { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--p-exp,#B85842); }

/* =====================================================================
   功能卡片
   ===================================================================== */
.feat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.fcard {
  background: var(--card); border-radius: var(--r-md); padding: 26px 22px;
  box-shadow: var(--shadow-sm); transition: all .3s ease; position: relative; overflow: hidden;
}
.fcard::before { /* 悬停柔光 */
  content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%;
  top: -60px; right: -60px; background: radial-gradient(circle, rgba(248,199,160,.6), transparent 70%);
  opacity: 0; transition: opacity .35s; filter: blur(20px);
}
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.fcard:hover::before { opacity: 1; }
.fcard .fic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--walnut); margin-bottom: 16px;
  box-shadow: var(--shadow-sm); font-size: 22px;
}
.fcard h3 { font-size: 17px; font-weight: 700; color: var(--walnut); margin-bottom: 7px; }
.fcard p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

/* =====================================================================
   主题换肤展示
   ===================================================================== */
.theme-showcase { background: linear-gradient(180deg, rgba(255,249,239,.5), rgba(245,228,194,.2)); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-md); }
.theme-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.theme-preview { display: grid; place-items: center; position: relative; }
.theme-preview .pglow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(233,150,99,.45), transparent 70%); filter: blur(55px); }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.swatch { cursor: pointer; border-radius: 14px; padding: 12px 10px; text-align: center; background: var(--card); box-shadow: var(--shadow-sm); transition: all .25s; border: 2px solid transparent; }
.swatch:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.swatch.active { border-color: var(--orange); box-shadow: var(--shadow-glow); }
.swatch .chip { height: 40px; border-radius: 9px; margin-bottom: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.swatch .nm { font-size: 12px; font-weight: 600; color: var(--walnut); }
.swatch .tg { font-size: 10px; color: var(--ink-faint); }

/* =====================================================================
   数据可视化
   ===================================================================== */
.viz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.donut-wrap { display: grid; place-items: center; position: relative; }
.big-donut {
  width: min(300px, 72vw); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(
    var(--ring1) 0 34%, var(--ring2) 34% 58%, var(--ring3) 58% 74%,
    var(--ring4) 74% 87%, var(--ring5) 87% 95%, var(--ring6) 95% 100%);
  --ring1:#F8C99E; --ring2:#F2AC6A; --ring3:#EC9450; --ring4:#E27E3C; --ring5:#D2682E; --ring6:#BC5326;
  position: relative; box-shadow: var(--shadow-lg);
  animation: spinIn 1s ease both;
}
.big-donut::after { content: ""; position: absolute; inset: 28%; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-sm); }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-center .dc-num { font-size: 30px; font-weight: 800; color: var(--walnut); }
.donut-center .dc-lab { font-size: 12px; color: var(--ink-faint); }
.legend { display: flex; flex-direction: column; gap: 14px; }
.legend li { display: flex; align-items: center; gap: 12px; }
.legend .lg-dot { width: 14px; height: 14px; border-radius: 5px; flex: none; }
.legend .lg-nm { font-size: 15px; font-weight: 600; color: var(--walnut); }
.legend .lg-pc { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--walnut-2); }
.legend .lg-am { font-size: 13px; color: var(--ink-faint); width: 92px; text-align: right; }

@keyframes spinIn { from { transform: rotate(-22deg) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }

/* =====================================================================
   品牌故事（核桃彩蛋）
   ===================================================================== */
.story { background: var(--grad-soft); border-radius: var(--r-lg); padding: clamp(36px, 5vw, 64px); box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.story::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -90px; top: -90px; background: radial-gradient(circle, rgba(233,150,99,.4), transparent 70%); filter: blur(50px); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); position: relative; }
.egg { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.6); border-radius: var(--r-md); padding: 20px; box-shadow: var(--shadow-sm); }
.egg .eic { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center; font-size: 22px; box-shadow: var(--shadow-sm); }
.egg.good .eic { background: linear-gradient(150deg,#A6CBA0,#3E9D5C); color: #fff; }
.egg.bad  .eic { background: linear-gradient(150deg,#E99663,#B85842); color: #fff; }
.egg h4 { font-size: 16px; font-weight: 700; color: var(--walnut); }
.egg p { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.story-copy h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; color: var(--walnut); line-height: 1.3; }
.story-copy p { margin-top: 16px; color: var(--ink-soft); font-size: 15.5px; }

/* =====================================================================
   CTA
   ===================================================================== */
.cta-panel {
  position: relative; overflow: hidden;
  background: var(--grad-cta); border-radius: 28px;
  padding: clamp(44px, 6vw, 76px) var(--pad); text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-panel::before, .cta-panel::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .6;
}
.cta-panel::before { width: 320px; height: 320px; background: radial-gradient(circle, rgba(255,230,200,.8), transparent 70%); top: -120px; left: -60px; }
.cta-panel::after  { width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,200,160,.7), transparent 70%); bottom: -130px; right: -40px; }
.cta-panel h2 { position: relative; font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: #fff; line-height: 1.3; }
.cta-panel p { position: relative; color: rgba(255,255,255,.92); margin-top: 14px; font-size: 16px; }
.cta-panel .btn { position: relative; margin-top: 30px; background: #fff; color: var(--walnut); box-shadow: var(--shadow-md); }
.cta-panel .btn:hover { transform: translateY(-2px); }

/* =====================================================================
   联系我们
   ===================================================================== */
.contact-section { padding-bottom: 56px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 720px; margin: 36px auto 0; }
.contact-card {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; }
.contact-card h3 { font-size: 18px; color: var(--walnut); margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--ink-soft); word-break: break-all; }
.contact-action { display: inline-block; margin-top: 18px; padding: 10px 22px; border-radius: var(--r-pill); background: var(--grad-cta); color: #fff; font-size: 14px; font-weight: 600; transition: transform .2s ease; }
.contact-card:hover .contact-action { transform: translateY(-2px); }
.qr-img { width: 160px; height: 160px; object-fit: contain; border-radius: var(--r-sm); margin: 12px 0; box-shadow: var(--shadow-sm); background: #fff; padding: 6px; }
.qr-card p { margin-top: 4px; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-section { background: linear-gradient(180deg, rgba(255,249,239,0) 0%, rgba(255,249,239,.45) 30%, rgba(255,249,239,.45) 70%, rgba(255,249,239,0) 100%); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 960px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid rgba(194,139,94,.18); border-radius: var(--r-md); padding: 22px 24px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.faq-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.faq-item h3 { font-size: 17px; color: var(--walnut); margin-bottom: 10px; line-height: 1.4; }
.faq-item p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }

/* =====================================================================
   页脚
   ===================================================================== */
.footer { padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { margin-bottom: 14px; }
.footer p.desc { font-size: 14px; color: var(--ink-soft); max-width: 26em; }
.footer h5 { font-size: 14px; font-weight: 700; color: var(--walnut); margin-bottom: 14px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; color: var(--ink-soft); transition: color .2s; }
.footer ul a:hover { color: var(--walnut); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(194,139,94,.22); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--ink-faint); }

/* =====================================================================
   滚动入场动画
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   响应式
   ===================================================================== */
@media (max-width: 1200px) {
  .hero-side-card { display: none; }
}
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .theme-grid, .viz-grid, .story-grid { grid-template-columns: 1fr; }
  .theme-preview, .donut-wrap { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side-card { display: none; }
  .phone-stage { margin-top: 12px; }
  .feat-grid { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; max-width: 420px; }
  .faq-grid { grid-template-columns: 1fr; }
  .qr-img { width: 140px; height: 140px; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(245,228,194,.96); backdrop-filter: blur(14px);
    padding: 22px var(--pad); box-shadow: var(--shadow-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  .glow-orb, .big-donut, .phone { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
