/*
 * 猫狗巷官网：与小程序同一套视觉（app/mini/consumer/miniprogram/app.wxss 的 --mb-* 令牌）
 *   纸色底、墨色字、陶土红强调；等宽小标题；砖墙 + 墙头探出来的猫和狗是品牌主视觉。
 * 纯静态，无构建步骤；改样式直接改这里。
 */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1b1a17;
  --ink-2: #4a4842;
  --muted: #8b8579;
  --line: #e9e4da;
  --line-soft: #f2eee6;
  --accent: #c05a34;
  --accent-deep: #a9482a;
  --accent-soft: #f4e9e2;
  --ochre: #c9922f;
  --success: #6f8a6a;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
    'Noto Sans CJK SC', sans-serif;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(35, 31, 25, 0.06);
  --gutter: 20px;
  --max: 1120px;
  /* 错缝砖：两排一个循环，砖缝用半透明黑叠在陶土色上（与小程序 alley-scene 相同） */
  --bricks: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='56'%3E%3Cpath d='M0 1.5h120M0 29.5h120M1.5 0v28M61.5 28v28' stroke='%23000' stroke-opacity='.13' stroke-width='3'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  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(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 620px;
  margin-bottom: 48px;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.section-head p {
  margin-top: 14px;
  color: var(--ink-2);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover {
  border-color: var(--ink-2);
}

.btn:active {
  transform: scale(0.98);
}

.btn.is-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.btn.is-primary:hover {
  border-color: var(--accent-deep);
  background: var(--accent-deep);
}

.btn.is-small {
  min-height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.topbar.is-scrolled {
  border-bottom-color: var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  padding: 4px;
  border-radius: 11px;
  background: var(--accent-soft);
}

.brand-name {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.brand-sub {
  display: block;
  margin-top: -4px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.nav a {
  color: var(--ink-2);
  font-size: 15px;
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
}

/* ---------- 邀请横幅（旧网页版分享链接落到这里） ---------- */
.invite {
  display: none;
  background: var(--ink);
  color: #f6f2ea;
}

.invite.is-open {
  display: block;
}

.invite-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 14px;
}

.invite-code {
  padding: 2px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  font-family: var(--mono);
  letter-spacing: 0.12em;
}

.invite .btn {
  min-height: 32px;
  padding: 0 14px;
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-size: 13px;
}

/* ---------- 首屏 ---------- */
.hero {
  padding: 72px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

.hero h1 {
  margin-top: 16px;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-lead {
  max-width: 520px;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 18px;
}

/* 小程序码卡片：首屏和页尾共用 */
.get {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 460px;
  margin-top: 36px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.qr {
  position: relative;
  flex: 0 0 auto;
  width: 132px;
  height: 132px;
  border-radius: 14px;
  background: var(--bg);
  overflow: hidden;
}

.qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 小程序码还没放进来时的占位：只露 logo，不画假码 */
.qr-empty {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.qr-empty img {
  width: 44px;
  height: 44px;
}

.qr.is-empty .qr-empty {
  display: flex;
}

.get-body strong {
  display: block;
  font-size: 17px;
  font-weight: 650;
}

.get-body p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}

.get-body .btn {
  margin-top: 12px;
}

.search-name {
  color: var(--accent);
  font-weight: 600;
}

/* 只在对应环境里出现的文案（site.js 给 html 打 is-wechat / is-mobile）。
 * 用 !important 压过组件自己的 display（如 .get-body strong 的 block）。
 * 电脑浏览器：only-desktop；微信内：only-wechat；手机浏览器（非微信）：only-mobile */
html:not(.is-wechat) .only-wechat,
html:not(.is-mobile) .only-mobile,
html.is-wechat .only-mobile,
html.is-mobile .only-desktop,
html.is-wechat .only-desktop,
[hidden] {
  display: none !important;
}

/* ---------- 手机样机：首页「今天」六块砖 ---------- */
.phone {
  position: relative;
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  padding: 12px;
  border-radius: 44px;
  background: var(--ink);
  box-shadow: 0 30px 60px rgba(27, 26, 23, 0.18);
}

.phone-screen {
  overflow: hidden;
  border-radius: 34px;
  background: var(--bg);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 12px 22px 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
}

.phone-body {
  padding: 14px 16px 18px;
}

.phone-greet {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.phone-title {
  margin-top: 2px;
  font-size: 19px;
  font-weight: 650;
}

.phone-pet {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.phone-pet img {
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: 12px;
  background: var(--accent-soft);
}

.phone-pet b {
  display: block;
  font-size: 14px;
}

.phone-pet small {
  color: var(--muted);
  font-size: 11px;
}

.bricks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.brick {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 4px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-size: 12px;
  color: var(--ink-2);
}

.brick img {
  width: 24px;
  height: 24px;
}

.brick.is-done {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

/* 打过卡的砖上盖一个章 */
.brick.is-done::after {
  content: attr(data-stamp);
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 0 4px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  font-size: 9px;
  line-height: 14px;
  transform: rotate(8deg);
}

.phone-feed {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--accent-soft);
  font-size: 11px;
  line-height: 1.7;
  color: var(--ink-2);
}

.phone-feed b {
  color: var(--ink);
}

/* ---------- 墙头的猫和狗（坐标与小程序 alley-scene 相同） ---------- */
.alley {
  --alley-w: 420px;
  position: relative;
  margin-top: 88px;
}

.alley-pets {
  position: relative;
  z-index: 1;
  width: var(--alley-w);
  max-width: 100%;
  aspect-ratio: 2 / 1;
  margin: 0 auto calc(var(--alley-w) / -30);
}

.alley-slot {
  position: absolute;
  top: 31.333%;
  width: 43.4%;
  height: 62%;
  overflow: hidden;
}

.alley-slot.is-left {
  left: 15.633%;
}

.alley-slot.is-right {
  left: 44.633%;
}

.alley-head {
  position: absolute;
  inset: 0;
}

/* 没有脚本时直接摆好；有脚本才先藏在墙后，等进入视口再探头 */
.js .alley-head {
  transform: translateY(120%);
}

.alley-head img,
.alley-head .alley-eyes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.alley-eyes.is-cat {
  transform-origin: 50% 73.33%;
}

.alley-eyes.is-dog {
  transform-origin: 50% 70%;
}

.alley-paws {
  position: absolute;
  top: 87.547%;
  width: 24.8%;
  height: 11.573%;
}

.js .alley-paws {
  opacity: 0;
}

.alley-paws.is-left {
  left: 24.933%;
}

.alley-paws.is-right {
  left: 53.933%;
}

/* 进入视口才探头（site.js 加 is-in）；减少动态效果时直接摆好 */
.alley.is-in .alley-head {
  animation: peek 760ms cubic-bezier(0.2, 0, 0, 1) both;
}

.alley.is-in .is-right .alley-head {
  animation-delay: 180ms;
}

.alley.is-in .alley-paws {
  animation: paws 360ms cubic-bezier(0.2, 0, 0, 1) 520ms both;
}

.alley.is-in .alley-paws.is-right {
  animation-delay: 700ms;
}

.alley.is-in .alley-eyes {
  animation: blink 5.6s ease-in-out 2.2s infinite;
}

.alley.is-in .alley-eyes.is-dog {
  animation-delay: 3.6s;
}

@keyframes peek {
  from {
    transform: translateY(120%);
  }
  to {
    transform: none;
  }
}

@keyframes paws {
  from {
    opacity: 0;
    transform: translateY(-64%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes blink {
  0%,
  93%,
  100% {
    transform: none;
  }
  96% {
    transform: scaleY(0.12);
  }
}

.wall {
  position: relative;
  background-color: var(--accent);
  background-image: var(--bricks);
  background-size: 120px 56px;
  background-position: center top;
  /* 墙帽：顶上一道略深的边 */
  box-shadow: inset 0 8px 0 rgba(0, 0, 0, 0.1);
  color: #fbf4ee;
}

.wall-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 40px;
  padding: 36px 0 32px;
  text-align: center;
}

.wall-stat {
  font-size: 15px;
}

.wall-stat b {
  display: block;
  font-size: 22px;
  font-weight: 650;
  color: #fff;
}

/* ---------- 功能：三段主打 ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 40px 0;
}

.feature + .feature {
  border-top: 1px solid var(--line);
}

.feature:nth-of-type(even) .feature-art {
  order: -1;
}

.feature-no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.12em;
}

.feature h3 {
  margin-top: 8px;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.35;
  font-weight: 650;
}

.feature p {
  margin-top: 12px;
  color: var(--ink-2);
}

.ticks {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding: 6px 0 6px 26px;
  color: var(--ink-2);
  font-size: 15px;
}

.ticks li::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 4px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.feature-art {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

/* 体重曲线示意 */
.chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.chart-head b {
  font-size: 30px;
  font-weight: 650;
}

.chart-head b small {
  margin-left: 4px;
  font-size: 14px;
  color: var(--muted);
}

.chart-head span {
  color: var(--success);
  font-size: 13px;
}

.chart {
  width: 100%;
  height: auto;
  margin-top: 16px;
}

.chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

/* 疫苗与驱虫示意 */
.records {
  margin: 0;
  padding: 0;
  list-style: none;
}

.records li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.records li:last-child {
  border-bottom: 0;
}

.records .dot {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 13px;
  background: var(--accent-soft);
}

.records b {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.records small {
  color: var(--muted);
  font-size: 12px;
}

.due {
  margin-left: auto;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--line-soft);
  color: var(--ink-2);
  font-size: 12px;
  white-space: nowrap;
}

.due.is-soon {
  background: #fbf0dc;
  color: #9a6c1c;
}

.notice {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  background: var(--bg);
  font-size: 13px;
  color: var(--ink-2);
}

.notice img {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.notice b {
  color: var(--ink);
}

/* 一起照顾示意 */
.members {
  display: flex;
  margin-bottom: 18px;
}

.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 25%;
  font-size: 12px;
  color: var(--ink-2);
}

.member span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 18px;
  font-weight: 650;
  box-shadow: 0 0 0 1px var(--line);
}

.member.is-add span {
  border: 1px dashed var(--muted);
  background: transparent;
  color: var(--muted);
  box-shadow: none;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 0 0 16px 22px;
  font-size: 14px;
  color: var(--ink-2);
}

.timeline li::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline li::after {
  content: '';
  position: absolute;
  top: 20px;
  bottom: 0;
  left: 6px;
  width: 2px;
  background: var(--line);
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li:last-child::after {
  display: none;
}

.timeline b {
  color: var(--ink);
}

.timeline time {
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

/* ---------- 功能：其余小卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card img {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  background: var(--accent-soft);
}

.card h3 {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 650;
}

.card p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 14px;
}

/* ---------- 怎么开始 ---------- */
.steps-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 24px 20px;
  border-radius: var(--radius);
  background: var(--bg);
  counter-increment: step;
}

.steps li::before {
  content: '0' counter(step);
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.steps b {
  display: block;
  margin-top: 10px;
  font-size: 17px;
  font-weight: 650;
}

.steps p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 14px;
}

.steps-note {
  margin-top: 24px;
  color: var(--ink-2);
  font-size: 15px;
}

.steps-note b {
  color: var(--ink);
}

/* ---------- 安心 ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.trust h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 650;
}

.trust h3 img {
  width: 22px;
  height: 22px;
}

.trust p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 15px;
}

/* ---------- 常见问题 ---------- */
.faq {
  max-width: 780px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 20px 40px 20px 0;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 4px;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  transform: translateY(-50%);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  padding: 0 0 20px;
  color: var(--ink-2);
}

/* ---------- 页尾召唤 + 页脚 ---------- */
.cta {
  padding: 0 0 0;
  text-align: center;
}

.cta h2 {
  margin-top: 10px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 650;
  line-height: 1.3;
}

.cta .get {
  margin: 32px auto 0;
  text-align: left;
}

.cta .alley {
  --alley-w: 360px;
  margin-top: 64px;
}

.footer {
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
  background: var(--ink);
  color: #b9b2a5;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

.footer a {
  color: #e9e2d6;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-left: auto;
}

/* ---------- 内容页（隐私政策 / 404） ---------- */
.doc {
  max-width: 760px;
  padding-top: 56px;
  padding-bottom: 96px;
}

.doc h1 {
  margin-top: 10px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.3;
  font-weight: 700;
}

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

.doc h2 {
  margin-top: 40px;
  font-size: 21px;
  font-weight: 650;
}

.doc p,
.doc li {
  color: var(--ink-2);
}

.doc p {
  margin-top: 12px;
}

.doc ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.doc li + li {
  margin-top: 6px;
}

.doc table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: 14px;
}

.doc th,
.doc td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.doc th {
  background: var(--surface);
  font-weight: 600;
  white-space: nowrap;
}

.doc li b {
  color: var(--ink);
  font-weight: 600;
}

/* 需要显著提示的条款（免责、限责、争议解决等） */
.doc strong {
  color: var(--ink);
  font-weight: 700;
}

.lost {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 96px 0;
  text-align: center;
}

.lost img {
  width: 160px;
}

.lost h1 {
  margin-top: 24px;
  font-size: 28px;
  font-weight: 650;
}

.lost p {
  margin-top: 8px;
  color: var(--ink-2);
}

.lost .btn {
  margin-top: 28px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-grid,
  .feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .feature:nth-of-type(even) .feature-art {
    order: 0;
  }

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

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    display: none;
  }

  .topbar .btn {
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 15px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .get {
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
  }

  .qr {
    width: 104px;
    height: 104px;
  }

  .alley {
    --alley-w: 300px;
    margin-top: 56px;
  }

  .cta .alley {
    --alley-w: 280px;
  }

  /* 墙上的三句话：手机上只留标题，排成一行 */
  .wall-inner {
    flex-wrap: nowrap;
    gap: 0 18px;
    padding: 28px 0 24px;
  }

  .wall-stat {
    font-size: 0;
  }

  .wall-stat b {
    font-size: 16px;
  }

  .feature {
    padding: 32px 0;
  }

  .feature-art {
    padding: 20px;
  }

  .cards,
  .trust,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards {
    margin-top: 40px;
  }

  .footer-links {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .alley-head,
  .alley.is-in .alley-head {
    animation: none;
    transform: none;
  }

  .js .alley-paws,
  .alley.is-in .alley-paws {
    animation: none;
    opacity: 1;
  }

  .alley.is-in .alley-eyes {
    animation: none;
  }
}
