/* ============================================================
   在吗校园 · 单页产品官网
   Design Tokens 继承自小程序体系（规范第 12 节）
   ============================================================ */

:root {
  /* Brand */
  --zaima-brand: #FF5A4E;
  --zaima-brand-hover: #E94C41;
  --zaima-brand-pressed: #C93E35;
  --zaima-brand-subtle: #FFF3F1;
  --zaima-brand-soft: #FFE4E0;

  /* Text */
  --text-primary: #171717;
  --text-secondary: #4A4A4A;
  --text-muted: #7A7A7A;

  /* Background */
  --bg-canvas: #F8F8F6;
  --bg-surface: #FFFFFF;
  --bg-dark: #171717;

  /* Border */
  --border-light: #EFEFEC;
  --border-default: #E4E4E0;

  /* Type */
  --font-stack: "PingFang SC", "MiSans", "HarmonyOS Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container-max: 1200px;
  --navbar-height: 72px;

  /* Radius */
  --radius-card: 20px;
  --radius-ui: 14px;

  /* Motion */
  --dur-hover: 170ms;
  --dur-micro: 200ms;
  --dur-reveal: 420ms;
  --ease-out: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: auto; /* 由 JS 控制 smooth scroll */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-stack);
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

.br-desktop { display: inline; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-head p {
  font-size: 18px;
  line-height: 30px;
  color: var(--text-secondary);
}

.eyebrow {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: .02em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  padding: 15px 30px;
  transition: background-color var(--dur-hover) var(--ease-out),
              border-color var(--dur-hover) var(--ease-out),
              transform var(--dur-hover) var(--ease-out),
              box-shadow var(--dur-hover) var(--ease-out);
}
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 17px 40px; font-size: 17px; }

.btn--primary {
  background: var(--zaima-brand);
  color: #fff;
}
.btn--primary:hover { background: var(--zaima-brand-hover); transform: translateY(-1px); }
.btn--primary:active { background: var(--zaima-brand-pressed); transform: translateY(0); }

.btn--secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-default);
}
.btn--secondary:hover { border-color: var(--text-muted); transform: translateY(-1px); }

/* ============================================================
   01 Navbar
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-height);
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-micro) var(--ease-out),
              border-color var(--dur-micro) var(--ease-out);
}
.navbar--scrolled {
  background: rgba(248, 248, 246, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border-light);
}
.navbar__inner {
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  gap: 40px;
}
.navbar__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: .01em;
}
.navbar__logo-img {
  width: 32px;
  height: 32px;
  display: block;
}
.navbar__nav {
  display: flex;
  gap: 36px;
  margin-right: auto;
}
.navbar__nav a {
  font-size: 15px;
  color: var(--text-secondary);
  transition: color var(--dur-hover) var(--ease-out);
}
.navbar__nav a:hover { color: var(--text-primary); }

/* ============================================================
   02 Hero
   ============================================================ */
.hero {
  padding: calc(var(--navbar-height) + 72px) 0 112px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
}
.hero__copy .eyebrow { margin-bottom: 20px; }
.hero__title {
  font-size: 68px;
  line-height: 1.08;
  font-weight: 650;
  margin-bottom: 24px;
}
.hero__desc {
  font-size: 18px;
  line-height: 30px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero__meta { font-size: 13px; color: var(--text-muted); }

/* Hero 入场动画初始态（JS 加 .hero-ready 后显现） */
.hero__anim {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
}
.hero-ready .hero__anim { opacity: 1; transform: none; }
.hero-ready .hero__anim:nth-child(1) { transition-delay: 30ms; }
.hero-ready .hero__anim:nth-child(2) { transition-delay: 100ms; }
.hero-ready .hero__anim:nth-child(3) { transition-delay: 170ms; }
.hero-ready .hero__anim:nth-child(4) { transition-delay: 240ms; }
.hero-ready .hero__anim:nth-child(5) { transition-delay: 300ms; }

/* --- 手机 Mockup --- */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone {
  position: relative;
  width: 300px;
  border-radius: 36px;
  background: var(--bg-dark);
  padding: 10px;
  box-shadow: 0 24px 60px rgba(23, 23, 23, .14);
}
.phone__notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 22px;
  background: var(--bg-dark);
  border-radius: 999px;
  z-index: 2;
}
.phone__screen {
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg-canvas);
}
.app { padding: 44px 14px 0; }
.app__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.app__campus { display: flex; flex-direction: column; }
.app__campus-label { font-size: 10px; color: var(--text-muted); }
.app__campus-name { font-size: 14px; font-weight: 600; }
.app__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--zaima-brand-subtle);
  color: var(--zaima-brand);
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.app__search {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.app__search-icon { color: var(--text-muted); }
.app__entries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.app__entry {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-ui);
  padding: 10px 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 11px;
  color: var(--text-secondary);
}
.app__entry-icon {
  width: 28px; height: 28px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.app__entry-icon--house { background: var(--zaima-brand-subtle); color: var(--zaima-brand); }
.app__entry-icon--box { background: #EFF3EE; color: #4C7A4C; }
.app__entry-icon--plus { background: #F0F0FB; color: #5B5BD6; }
.app__entry-icon--chat { background: #FDF3E3; color: #C08A2D; }

.app__section-title { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.app__post {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-ui);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.app__post-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  margin-bottom: 6px;
}
.app__post-avatar {
  width: 20px; height: 20px; border-radius: 50%;
  background: #E8EEF6; color: #3D5A80;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
}
.app__post-avatar--a { background: var(--zaima-brand-subtle); color: var(--zaima-brand); }
.app__post-body { font-size: 12px; line-height: 18px; }
.app__post-tags { font-size: 10px; color: var(--zaima-brand); margin-top: 4px; }

.app__card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-ui);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.app__card-badge {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.app__card-badge--housing { background: var(--zaima-brand-subtle); color: var(--zaima-brand); }
.app__card-badge--secondhand { background: #EFF3EE; color: #4C7A4C; }
.app__card-title { font-size: 12px; font-weight: 600; }
.app__card-meta { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.app__tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 10px 0 16px;
  margin: 0 -14px;
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
}
.app__tab--active { color: var(--zaima-brand); font-weight: 600; }

/* --- 浮动卡片 --- */
.float-card {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-ui);
  padding: 12px 16px;
  box-shadow: 0 12px 32px rgba(23, 23, 23, .08);
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: float-bob 5s var(--ease-out) infinite;
}
.float-card__label {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 4px;
}
.float-card__label--community { background: #FDF3E3; color: #C08A2D; }
.float-card__label--housing { background: var(--zaima-brand-subtle); color: var(--zaima-brand); }
.float-card__label--secondhand { background: #EFF3EE; color: #4C7A4C; }
.float-card__text { font-size: 13px; color: var(--text-secondary); }
.float-card__price { font-size: 15px; font-weight: 650; }
.float-card__price small { font-weight: 400; color: var(--text-muted); font-size: 11px; }

.float-card--community { top: 8%; left: -4%; animation-delay: 0s; }
.float-card--housing { bottom: 22%; left: -10%; animation-delay: 1.4s; }
.float-card--secondhand { top: 30%; right: -6%; animation-delay: 2.6s; }

@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
   03 Product Preview
   ============================================================ */
.preview { padding: 112px 0; }
.preview .section-head { margin-bottom: 48px; }

.browser {
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(23, 23, 23, .06);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-canvas);
}
.browser__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-default);
}
.browser__address {
  margin-left: 12px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 4px 16px;
}
.browser__body { padding: 24px; }

.feed__filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.chip {
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}
.chip--active {
  background: var(--zaima-brand-subtle);
  border-color: var(--zaima-brand-soft);
  color: var(--zaima-brand);
  font-weight: 500;
}

.feed__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feed-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-ui);
  padding: 16px;
  background: var(--bg-surface);
  transition: transform var(--dur-hover) var(--ease-out),
              box-shadow var(--dur-hover) var(--ease-out);
}
.feed-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(23, 23, 23, .07);
}
.feed-card__head {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  margin-bottom: 10px;
}
.feed-card__avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--zaima-brand-subtle); color: var(--zaima-brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
}
.feed-card__avatar--b { background: #E8EEF6; color: #3D5A80; }
.feed-card__badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.feed-card__badge--housing { background: var(--zaima-brand-subtle); color: var(--zaima-brand); }
.feed-card__badge--secondhand { background: #EFF3EE; color: #4C7A4C; }
.feed-card__badge--wanted { background: #F0F0FB; color: #5B5BD6; }
.feed-card__badge--wanted-rent { background: #E9F4F8; color: #2E7FA3; }
.feed-card__title { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.feed-card__body { font-size: 13px; line-height: 21px; color: var(--text-secondary); margin-bottom: 10px; }
.feed-card__tags { font-size: 12px; color: var(--zaima-brand); margin-bottom: 10px; }
.feed-card__meta { font-size: 12px; color: var(--text-muted); }
.feed-card__actions { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   04 Core Features (Bento)
   ============================================================ */
.features { padding: 112px 0; }
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform var(--dur-hover) var(--ease-out),
              box-shadow var(--dur-hover) var(--ease-out);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(23, 23, 23, .07);
}
.bento-card h3 { font-size: 24px; line-height: 1.3; margin-bottom: 8px; }
.bento-card p { font-size: 15px; line-height: 25px; color: var(--text-secondary); }

.mini-ui {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-ui);
  background: var(--bg-canvas);
  padding: 16px;
  margin-top: auto;
}
.mini-ui__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.mini-ui__chips .chip { background: var(--bg-surface); font-size: 12px; padding: 5px 12px; }

.mini-ui__housing-card,
.mini-ui__sh-card {
  display: flex;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-ui);
  padding: 12px;
  align-items: center;
}
.mini-ui__housing-thumb {
  width: 64px; height: 64px;
  border-radius: 10px;
  background: linear-gradient(135deg, #F2D8C9 0%, #E8C3AE 100%);
  flex-shrink: 0;
}
.mini-ui__housing-title { font-size: 14px; font-weight: 600; }
.mini-ui__housing-price { font-size: 15px; font-weight: 650; color: var(--zaima-brand); }
.mini-ui__housing-price small { color: var(--text-muted); font-weight: 400; font-size: 11px; }
.mini-ui__housing-meta { font-size: 12px; color: var(--text-muted); }

.mini-ui__sh-card + .mini-ui__sh-card { margin-top: 10px; }
.mini-ui__sh-thumb {
  width: 56px; height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, #DCE4EC 0%, #BECAD8 100%);
  flex-shrink: 0;
}
.mini-ui__sh-thumb--b { background: linear-gradient(135deg, #F3E6C8 0%, #E3CF9E 100%); }
.mini-ui__sh-title { font-size: 14px; font-weight: 600; }
.mini-ui__sh-price { font-size: 14px; font-weight: 650; color: var(--zaima-brand); }
.mini-ui__sh-meta { font-size: 12px; color: var(--text-muted); }

.mini-ui__pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mini-ui__pub-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-ui);
  padding: 14px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}
.mini-ui__pub-icon { font-size: 17px; color: var(--text-primary); }
.mini-ui__pub-item--ghost {
  border-style: dashed;
  color: var(--text-muted);
  justify-content: center;
}

.mini-ui__search {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  margin-bottom: 10px;
}
.mini-ui__search-icon { color: var(--text-muted); }
.mini-ui__suggest {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-ui);
  overflow: hidden;
}
.mini-ui__suggest-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-secondary);
}
.mini-ui__suggest-row + .mini-ui__suggest-row { border-top: 1px solid var(--border-light); }
.mini-ui__suggest-row span:last-child { color: var(--text-muted); white-space: nowrap; }

/* ============================================================
   05 Community
   ============================================================ */
.community {
  background: var(--bg-surface);
  padding: 112px 0;
}
.community__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.community h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 18px;
}
.community__copy p {
  font-size: 18px;
  line-height: 30px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.scope {
  display: inline-flex;
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.scope__btn {
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 8px 22px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: background-color var(--dur-hover) var(--ease-out),
              color var(--dur-hover) var(--ease-out);
}
.scope__btn--active {
  background: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(23, 23, 23, .08);
}

.post-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 24px;
}
.post-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.post-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--zaima-brand-subtle);
  color: var(--zaima-brand);
  font-size: 17px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.post-card__id { display: flex; flex-direction: column; }
.post-card__nickname { font-size: 15px; font-weight: 600; }
.post-card__verify {
  font-size: 11px;
  font-weight: 500;
  color: var(--zaima-brand);
  background: var(--zaima-brand-subtle);
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 4px;
}
.post-card__campus { font-size: 13px; color: var(--text-muted); }
.post-card__title { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.post-card__preview { font-size: 14px; line-height: 23px; color: var(--text-secondary); margin-bottom: 12px; }
.post-card__tags { font-size: 13px; color: var(--zaima-brand); margin-bottom: 16px; }
.post-card__actions {
  display: flex;
  gap: 24px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   06 Campus & Trust
   ============================================================ */
.trust {
  background: var(--bg-dark);
  color: #fff;
  padding: 112px 0;
}
.section-head--dark h2 { color: #fff; }
.section-head--dark p { color: rgba(255, 255, 255, .6); }

.trust__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.trust__col h3 { font-size: 24px; margin-bottom: 14px; }
.trust__lead {
  font-size: 15px;
  line-height: 25px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 28px;
}

.id-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-ui);
  padding: 18px 20px;
  margin-bottom: 20px;
  max-width: 360px;
}
.id-card__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 90, 78, .18);
  color: var(--zaima-brand);
  font-size: 18px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.id-card__info { display: flex; flex-direction: column; }
.id-card__name { font-size: 16px; font-weight: 600; }
.id-card__school { font-size: 13px; color: rgba(255, 255, 255, .6); }
.id-card__badge {
  margin-left: auto;
  font-size: 12px;
  color: var(--zaima-brand);
  border: 1px solid rgba(255, 90, 78, .4);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}

.campus-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.campus-tag {
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 6px 16px;
}

.safety-list { list-style: none; }
.safety-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
}
.safety-item + .safety-item { border-top: 1px solid rgba(255, 255, 255, .1); }
.safety-item__icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255, 90, 78, .14);
  color: var(--zaima-brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.safety-item__title { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.safety-item__desc { font-size: 14px; line-height: 23px; color: rgba(255, 255, 255, .6); }

/* ============================================================
   07 Final CTA
   ============================================================ */
.final { padding: 136px 0; }
.final__inner { text-align: center; }
.final h2 {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 40px;
}
/* 按钮与二维码上下堆叠（块级布局，避免并排） */
.final__desktop {
  text-align: center;
}
.final__desktop > .btn {
  display: inline-block;
  margin-bottom: 32px;
}
.final__qr img {
  margin: 0 auto 12px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: var(--bg-surface);
  padding: 8px;
}
.final__qr p { font-size: 14px; color: var(--text-secondary); }
.final__mobile { display: none; }

/* ============================================================
   08 Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 48px 0;
  background: var(--bg-canvas);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer__logo { font-size: 17px; font-weight: 650; }
.footer__slogan { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--dur-hover) var(--ease-out);
}
.footer__links a:hover { color: var(--text-primary); }
.footer__legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}
.footer__icp {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--dur-hover) var(--ease-out);
}
.footer__icp:hover { color: var(--text-primary); }

/* ---------- Toast 轻提示 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 64px;
  transform: translate(-50%, 8px);
  z-index: 300;
  max-width: 80vw;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(23, 23, 23, .88);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.toast--visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============================================================
   法律页
   ============================================================ */
.legal-nav { position: static; }
.legal-page { padding: 64px 0 112px; }
.legal-page__inner { max-width: 720px; }
.legal-page__inner h1 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.legal-page__meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.legal-page__inner h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  padding-top: 8px;
}
.legal-page__inner h3 {
  font-size: 18px;
  margin: 28px 0 10px;
}
.legal-page__inner h4 {
  font-size: 16px;
  margin: 20px 0 8px;
}
.legal-page__inner p {
  font-size: 15px;
  line-height: 26px;
  color: var(--text-secondary);
}
.legal-page__inner strong { font-weight: 600; color: var(--text-primary); }
.legal-page__inner ul,
.legal-page__inner ol {
  margin: 10px 0 16px;
  padding-left: 24px;
  font-size: 15px;
  line-height: 26px;
  color: var(--text-secondary);
}
.legal-page__inner li + li { margin-top: 4px; }
.legal-page__inner blockquote {
  margin: 16px 0;
  padding: 14px 18px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  border-radius: 12px;
}
.legal-page__inner blockquote p,
.legal-page__inner blockquote ul {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
}
.legal-page__inner blockquote ul { padding-left: 20px; margin-top: 8px; }
.legal-page__inner blockquote p + p { margin-top: 8px; }
.legal-page__inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 13px;
  line-height: 22px;
}
.legal-page__inner th,
.legal-page__inner td {
  border: 1px solid var(--border-light);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  color: var(--text-secondary);
}
.legal-page__inner th {
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-weight: 600;
}
.legal-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 36px 0;
}

/* ============================================================
   Section Reveal（IntersectionObserver）
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out);
}
.reveal--visible { opacity: 1; transform: none; }

/* ============================================================
   响应式 · Tablet 768–1023
   ============================================================ */
@media (max-width: 1023px) {
  .container { padding: 0 28px; }
  .hero__grid { grid-template-columns: 1fr; gap: 64px; }
  .hero__title { font-size: 56px; }
  .hero__visual { margin-top: 8px; }
  .float-card--community { left: 4%; }
  .float-card--housing { left: 0; }
  .float-card--secondhand { right: 2%; }
  .feed__grid { grid-template-columns: 1fr 1fr; }
  .community__grid { grid-template-columns: 1fr; gap: 48px; }
  .trust__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================================
   响应式 · Mobile < 768
   ============================================================ */
@media (max-width: 767px) {
  .container { padding: 0 20px; }
  .br-desktop { display: none; }

  /* Navbar：只保留 Logo + 打开按钮 */
  .navbar__nav { display: none; }
  .navbar__inner { justify-content: space-between; gap: 0; }

  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 32px; }
  .section-head p { font-size: 16px; line-height: 27px; }

  .hero { padding: calc(var(--navbar-height) + 48px) 0 80px; }
  .hero__grid { gap: 48px; }
  .hero__title { font-size: 40px; margin-bottom: 18px; }
  .hero__desc { font-size: 16px; line-height: 27px; margin-bottom: 28px; }
  .hero__cta .btn { flex: 1 1 auto; }

  .phone { width: 272px; }
  .float-card { padding: 10px 13px; }
  .float-card--community { top: 4%; left: -2%; }
  .float-card--housing { bottom: 14%; left: -4%; }
  .float-card--secondhand { top: 34%; right: -4%; }

  .preview { padding: 80px 0; }
  .browser__body { padding: 16px; }
  .feed__grid { grid-template-columns: 1fr; }

  .features { padding: 80px 0; }
  .bento { grid-template-columns: 1fr; gap: 16px; }
  .bento-card { padding: 24px; }
  .bento-card h3 { font-size: 22px; }

  .community { padding: 80px 0; }
  .community h2 { font-size: 32px; }
  .community__copy p { font-size: 16px; line-height: 27px; }
  .post-card { padding: 20px; }
  .post-card__actions { gap: 14px; font-size: 12px; }

  .trust { padding: 80px 0; }
  .trust__grid { gap: 40px; }
  .safety-item__icon { width: 36px; height: 36px; font-size: 15px; }

  .final { padding: 88px 0; }
  .final h2 { font-size: 32px; margin-bottom: 32px; }
  .final__desktop { display: none; }
  .final__mobile { display: block; }

  .footer__links { gap: 18px; }
}

/* ============================================================
   降低动效偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .hero__anim { opacity: 1 !important; transform: none !important; }
}
