@charset "utf-8";

/* =========================================================
   包子漫画 · 站点共享样式
   配色：暖橙 / 米白 / 深棕    风格：漫画分镜 + 纸质网点
   所有资源均本地化，无任何外部 CDN 依赖
   ========================================================= */

@font-face {
  font-family: 'ZCOOL KuaiLe';
  src: url(../fonts/zcool-kuaile.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Baozi Sans';
  src: url(../fonts/baozi-sans-400.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Baozi Sans';
  src: url(../fonts/baozi-sans-700.woff2) format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fff8ef;
  --cream-2: #fdf0dd;
  --cream-3: #fbe6cb;
  --paper: #ffffff;
  --ink: #3b2a20;
  --ink-2: #7b6152;
  --ink-3: #a08a7c;
  --orange: #e9762b;
  --orange-2: #f5a64b;
  --orange-3: #ffd9a8;
  --gold: #ffcd7c;
  --mint: #7fb08a;
  --line: #3b2a20;
  --shadow: 6px 6px 0 rgba(59, 42, 32, .16);
  --shadow-sm: 4px 4px 0 rgba(59, 42, 32, .14);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1160px;
  --head: 'ZCOOL KuaiLe', 'Baozi Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --body: 'Baozi Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
}

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

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

body {
  font-family: var(--body);
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(rgba(233, 118, 43, .12) 1.4px, transparent 1.5px),
    radial-gradient(rgba(59, 42, 32, .07) 1.4px, transparent 1.5px);
  background-size: 22px 22px, 22px 22px;
  background-position: 0 0, 11px 11px;
  line-height: 1.85;
  font-size: 16px;
  overflow-x: hidden;
}

/* height:auto 必须显式声明，否则 img 的 height 属性会作为呈现提示生效，
   导致按 width:100% 缩放时画面被纵向拉伸 */
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 248, 239, .96);
  backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 3px solid var(--line);
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; height: 74px;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 13px; flex: 0 0 auto;
}
.brand-name {
  font-family: var(--head);
  font-size: 25px; letter-spacing: 1px; color: var(--ink); line-height: 1;
}
.brand-sub {
  display: block; font-family: var(--body); font-size: 11px; letter-spacing: 2px;
  color: var(--ink-3); margin-top: 4px; font-weight: 400;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  display: block; padding: 9px 15px; border-radius: 999px;
  color: var(--ink-2); font-size: 15px; font-weight: 700; white-space: nowrap;
}
.nav-links a:hover { background: var(--cream-3); color: var(--ink); text-decoration: none; }
.nav-links a.is-active { background: var(--gold); color: var(--ink); box-shadow: var(--shadow-sm); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--orange); color: #fff !important;
  border: 3px solid var(--line); border-radius: 999px;
  padding: 8px 20px; font-weight: 700; font-size: 15px;
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.nav-cta:hover { background: #d5651d; text-decoration: none; transform: translate(1px, 1px); box-shadow: 3px 3px 0 rgba(59, 42, 32, .16); }

.nav-toggle {
  display: none; width: 46px; height: 42px; border: 3px solid var(--line);
  border-radius: 13px; background: var(--gold); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 20px; height: 3px; background: var(--line); border-radius: 2px; }

/* 移动端菜单：默认隐藏，仅小屏由按钮展开 */
.mobile-menu { display: none; }
.mobile-menu.show { display: block; }

/* ---------------- 通用按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--body); font-weight: 700; font-size: 16px;
  border: 3px solid var(--line); border-radius: 999px;
  padding: 13px 30px; cursor: pointer; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .18s ease;
}
.btn:hover { text-decoration: none; transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(59, 42, 32, .18); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: #d5651d; }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.btn-ghost:hover { background: var(--cream-3); }
.btn-lg { font-size: 18px; padding: 16px 40px; }
.btn .ico { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(168deg, var(--cream-2) 0%, var(--cream) 58%, var(--cream-3) 100%);
  border-bottom: 3px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; right: -110px; top: -110px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, rgba(245, 166, 75, .34), rgba(245, 166, 75, 0) 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 46px;
  align-items: center; padding: 62px 0 64px; position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 2.5px solid var(--line); border-radius: 999px;
  padding: 6px 16px; font-size: 13.5px; font-weight: 700; color: var(--ink-2);
  box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }

.hero h1 {
  font-family: var(--head); font-weight: 400;
  font-size: 56px; line-height: 1.24; letter-spacing: 1px; color: var(--ink);
  margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--orange); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 6px; height: 12px;
  background: var(--gold); border-radius: 6px; z-index: -1;
}

.hero-lead { font-size: 17px; color: var(--ink-2); max-width: 560px; margin-bottom: 26px; }
.hero-lead strong { color: var(--ink); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-note { font-size: 13.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 16px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .tick { color: var(--mint); font-weight: 700; }

.hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 16px; }
.hero-art .phone {
  width: 30%; min-width: 96px; border: 3px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); background: var(--paper); overflow: hidden;
}
.hero-art .phone.tall { width: 40%; min-width: 124px; }
.hero-art .phone img { width: 100%; height: auto; }

/* ---------------- 数据条 ---------------- */
.stats {
  background: var(--ink); color: var(--cream);
  border-bottom: 3px solid var(--line);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 30px 0; text-align: center;
}
.stat-num { font-family: var(--head); font-size: 34px; color: var(--gold); line-height: 1.2; }
.stat-label { font-size: 14px; color: #d8c6b8; letter-spacing: .5px; }

/* ---------------- 区块通用 ---------------- */
.section { padding: 74px 0; }
.section.alt { background: rgba(253, 240, 221, .72); border-top: 3px solid var(--line); border-bottom: 3px solid var(--line); }

.sec-head { margin-bottom: 40px; max-width: 780px; }
.sec-kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--orange); background: var(--orange-3);
  border-radius: 999px; padding: 4px 14px; margin-bottom: 14px;
}
.sec-head h2 {
  font-family: var(--head); font-weight: 400; font-size: 36px; line-height: 1.3;
  color: var(--ink); letter-spacing: .5px;
}
.sec-head p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------------- 功能卡片 ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px 24px; box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .16s ease;
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 rgba(59, 42, 32, .18); }
.card-ico {
  width: 52px; height: 52px; border-radius: 15px; border: 3px solid var(--line);
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card-ico svg { width: 26px; height: 26px; fill: var(--ink); }
.card h3 { font-family: var(--head); font-weight: 400; font-size: 21px; margin-bottom: 9px; letter-spacing: .5px; }
.card p { font-size: 15px; color: var(--ink-2); }
.card p + p { margin-top: 9px; }
.card .tagline { color: var(--orange); font-weight: 700; font-size: 13.5px; }

/* ---------------- 截图画廊 ---------------- */
.gallery {
  display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 22px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { height: 10px; }
.gallery::-webkit-scrollbar-track { background: var(--cream-3); border-radius: 999px; }
.gallery::-webkit-scrollbar-thumb { background: var(--orange-2); border-radius: 999px; }
.shot {
  flex: 0 0 auto; width: 236px; scroll-snap-align: center;
  background: var(--paper); border: 3px solid var(--line); border-radius: 22px;
  padding: 10px; box-shadow: var(--shadow);
}
.shot img { width: 100%; border-radius: 14px; border: 2px solid var(--cream-3); }
.shot figcaption {
  text-align: center; font-size: 14px; font-weight: 700; color: var(--ink-2);
  padding: 11px 4px 3px;
}

/* ---------------- 内页入口 ---------------- */
.entries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.entry {
  display: block; background: var(--paper); border: 3px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 26px 24px; box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink); transition: transform .16s ease, background .16s ease;
}
.entry:hover { text-decoration: none; transform: translate(-2px, -2px); background: #fffdf9; }
.entry-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.entry-no {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px;
  background: var(--orange-3); border: 3px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-size: 20px;
}
.entry h3 { font-family: var(--head); font-weight: 400; font-size: 22px; letter-spacing: .5px; }
.entry p { font-size: 15px; color: var(--ink-2); }
.entry .more { display: inline-block; margin-top: 13px; font-weight: 700; color: var(--orange); font-size: 15px; }
.entry .more::after {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px;
  border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor;
  transform: rotate(45deg); vertical-align: 1px;
}

/* ---------------- FAQ 手风琴 ---------------- */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--body); font-size: 16.5px; font-weight: 700; color: var(--ink);
  padding: 18px 58px 18px 22px; position: relative; line-height: 1.6;
}
.faq-q::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 9px; background: var(--gold);
  border: 2.5px solid var(--line); font-family: var(--head);
  display: flex; align-items: center; justify-content: center; font-size: 19px; line-height: 1;
}
.faq-item.open .faq-q::after { content: "\2212"; background: var(--orange-2); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 900px; }
.faq-a-inner { padding: 0 22px 20px; color: var(--ink-2); font-size: 15.5px; }
.faq-a-inner p + p { margin-top: 10px; }
.faq-a-inner strong { color: var(--ink); }

/* ---------------- 用户评价 ---------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  position: relative; background: var(--paper); border: 3px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 24px 22px; box-shadow: var(--shadow);
}
.review::before {
  content: "\201C"; position: absolute; top: 4px; right: 20px;
  font-family: var(--head); font-size: 62px; color: var(--orange-3); line-height: 1;
}
.review-body { font-size: 15.5px; color: var(--ink-2); position: relative; z-index: 1; }
.review-meta { display: flex; align-items: center; gap: 11px; margin-top: 16px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid var(--line);
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-size: 18px; flex: 0 0 auto;
}
.review-meta .who { font-weight: 700; font-size: 15px; }

/* 评分星形与对勾：一律用本地内联 SVG 绘制，不依赖字体里的符号字形 */
:root {
  --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.09 6.26 6.91.99-5 4.87 1.18 6.88L12 17.55l-6.18 3.25L7 13.92 2 9.05l6.91-.99L12 1.8z'/%3E%3C/svg%3E");
}
.stars { display: inline-flex; gap: 2px; align-items: center; }
.st {
  display: block; width: 13px; height: 13px; background-color: var(--orange);
  -webkit-mask-image: var(--star-mask);
  mask-image: var(--star-mask);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.st.off { background-color: #ddcbba; }
.tick-ico { width: 14px; height: 14px; fill: var(--mint); flex: 0 0 auto; }

/* ---------------- 底部下载通道 ---------------- */
.cta-band {
  background: linear-gradient(150deg, var(--orange) 0%, #d5651d 100%);
  border-top: 3px solid var(--line); border-bottom: 3px solid var(--line);
  color: #fff; text-align: center; padding: 66px 0;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; left: -80px; bottom: -120px; width: 340px; height: 340px;
  border-radius: 50%; background: rgba(255, 255, 255, .1);
}
.cta-band h2 {
  font-family: var(--head); font-weight: 400; font-size: 37px; line-height: 1.3;
  margin-bottom: 12px; position: relative; z-index: 1;
}
.cta-band p { color: #ffeadb; font-size: 16.5px; margin-bottom: 28px; position: relative; z-index: 1; }
.cta-band .btn-primary { background: #fff; color: var(--ink); position: relative; z-index: 1; }
.cta-band .btn-primary:hover { background: var(--cream-3); }
.cta-band .cta-small { margin-top: 20px; font-size: 13.5px; color: #ffd8bd; position: relative; z-index: 1; }

/* ---------------- 内页正文 ---------------- */
.page-head {
  background: linear-gradient(168deg, var(--cream-2), var(--cream));
  border-bottom: 3px solid var(--line); padding: 46px 0 44px;
}
.crumb { font-size: 14px; color: var(--ink-3); margin-bottom: 14px; }
.crumb a { color: var(--ink-2); font-weight: 700; }
.page-head h1 {
  font-family: var(--head); font-weight: 400; font-size: 42px; line-height: 1.3;
  letter-spacing: 1px; margin-bottom: 12px;
}
.page-head .lede { font-size: 16.5px; color: var(--ink-2); max-width: 760px; }

.article { padding: 62px 0 70px; }
.article-inner { max-width: 900px; }
.prose h2 {
  font-family: var(--head); font-weight: 400; font-size: 29px; line-height: 1.4;
  margin: 46px 0 16px; letter-spacing: .5px; position: relative; padding-left: 20px;
}
.prose h2:first-child { margin-top: 0; }
.prose h2::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 8px; width: 9px;
  border-radius: 5px; background: var(--orange);
}
.prose h2 + p { margin-top: 0; }
.prose h3 {
  font-family: var(--head); font-weight: 400; font-size: 21px;
  margin: 28px 0 10px; color: var(--ink);
}
.prose p { margin: 14px 0; color: #4d3a2e; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { margin: 14px 0 14px 4px; }
.prose li { position: relative; padding-left: 26px; margin: 9px 0; color: #4d3a2e; }
.prose ul li::before {
  content: ""; position: absolute; left: 6px; top: 12px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--orange-2);
}
.prose ol { counter-reset: step; }
.prose ol li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  border-radius: 7px; background: var(--gold); border: 2px solid var(--line);
  font-size: 12px; font-weight: 700; font-family: var(--body);
  display: flex; align-items: center; justify-content: center; line-height: 1;
}

.note {
  background: var(--paper); border: 3px solid var(--line); border-left-width: 10px;
  border-radius: 14px; padding: 18px 22px; margin: 24px 0; box-shadow: var(--shadow-sm);
}
.note strong { display: block; margin-bottom: 4px; font-family: var(--head); font-weight: 400; font-size: 18px; }
.note p { margin: 4px 0; font-size: 15.5px; color: var(--ink-2); }

.steps { display: grid; gap: 18px; margin: 22px 0; }
.step {
  display: grid; grid-template-columns: 58px 1fr; gap: 18px;
  background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.step-no {
  width: 52px; height: 52px; border-radius: 16px; background: var(--gold);
  border: 3px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-size: 24px;
}
.step h3 { margin: 2px 0 8px; font-size: 20px; }
.step p { margin: 6px 0; font-size: 15.5px; color: var(--ink-2); }

.figure { margin: 26px 0; }
.fig-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.figure figure {
  flex: 0 0 auto; width: 200px; background: var(--paper); border: 3px solid var(--line);
  border-radius: 20px; padding: 9px; box-shadow: var(--shadow-sm);
}
.figure figure img { border-radius: 13px; border: 2px solid var(--cream-3); }
.figure figure figcaption { text-align: center; font-size: 13.5px; color: var(--ink-2); padding: 9px 2px 2px; font-weight: 700; }
.figure .wide { width: 100%; }

.table-wrap { overflow-x: auto; margin: 22px 0; }
table.cmp {
  width: 100%; border-collapse: collapse; background: var(--paper);
  border: 3px solid var(--line); border-radius: 14px; overflow: hidden; min-width: 560px;
}
table.cmp th, table.cmp td { padding: 13px 16px; text-align: left; font-size: 15px; border-bottom: 2px solid var(--cream-3); }
table.cmp th { background: var(--gold); font-family: var(--head); font-weight: 400; font-size: 17px; }
table.cmp tr:last-child td { border-bottom: 0; }
table.cmp td:first-child { font-weight: 700; white-space: nowrap; }

.related {
  margin-top: 54px; background: var(--paper); border: 3px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 28px 24px; box-shadow: var(--shadow);
}
.related h2 { font-family: var(--head); font-weight: 400; font-size: 24px; margin-bottom: 14px; padding-left: 0; }
.related h2::before { display: none; }
.related ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; }
.related li { padding-left: 24px; }
.related li::before { background: var(--orange); }
.related a { font-weight: 700; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--ink); color: #e7d8cc; border-top: 3px solid var(--line); padding: 52px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-brand img { width: 46px; height: 46px; border-radius: 13px; }
.foot-brand .brand-name { color: var(--cream); }
.foot-brand .brand-sub { color: #9e8a7c; }
.site-footer p { font-size: 14.5px; color: #b5a294; }
.site-footer h3 { font-family: var(--head); font-weight: 400; font-size: 18px; color: var(--gold); margin-bottom: 14px; }
.site-footer ul li { margin: 9px 0; }
.site-footer ul a { color: #d8c6b8; font-size: 14.5px; }
.site-footer ul a:hover { color: var(--gold); }

.disclaimer {
  margin-top: 40px; padding-top: 22px; border-top: 2px dashed rgba(216, 198, 184, .28);
  font-size: 13.5px; color: #a08a7c; line-height: 1.9;
}
.disclaimer strong { color: #cbb6a6; }
.copyright { margin-top: 14px; font-size: 13px; color: #8b7768; }

.to-top {
  position: fixed; right: 22px; bottom: 26px; z-index: 90;
  width: 48px; height: 48px; border-radius: 15px; border: 3px solid var(--line);
  background: var(--gold); cursor: pointer; display: none;
  align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.to-top.show { display: flex; }
.to-top svg { width: 20px; height: 20px; fill: var(--ink); }

/* ---------------- 滚动入场 ----------------
   仅在 <html> 带 js 类时才隐藏，保证无脚本环境内容完整可见 */
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 52px; }
  .hero-art { order: -1; }
  .hero h1 { font-size: 44px; }
  .hero-lead { max-width: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.nav-open .nav-toggle { background: var(--orange-2); }
  .mobile-menu {
    border-top: 3px solid var(--line); background: var(--cream);
    padding: 12px 20px 20px;
  }
  .mobile-menu a {
    display: block; padding: 13px 16px; border-radius: 14px; font-weight: 700;
    color: var(--ink-2); border: 2.5px solid transparent;
  }
  .mobile-menu a:hover { background: var(--cream-3); text-decoration: none; }
  .mobile-menu a.is-active { border-color: var(--line); background: var(--gold); color: var(--ink); }
  .mobile-menu .btn { width: 100%; margin-top: 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; padding: 26px 0; }
  .entries, .reviews, .related ul { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .sec-head h2 { font-size: 29px; }
  .page-head h1 { font-size: 32px; }
  .cta-band h2 { font-size: 28px; }
  .step { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .prose h2 { font-size: 25px; }
  .article { padding: 46px 0 54px; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .hero-actions .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .shot { width: 200px; }
  .figure figure { width: 46%; }
  .wrap { padding: 0 16px; }
  .brand-name { font-size: 22px; }
}
